Skip to content

drivers/ioexpander/iso1i813t.c: fix error startup condition - #19571

Merged
linguini1 merged 1 commit into
apache:masterfrom
michallenc:iso-expander-fix
Jul 28, 2026
Merged

drivers/ioexpander/iso1i813t.c: fix error startup condition#19571
linguini1 merged 1 commit into
apache:masterfrom
michallenc:iso-expander-fix

Conversation

@michallenc

Copy link
Copy Markdown
Contributor

Summary

The reference manual (section 3.2.1) states the user has to read GLERR and INTERR registers to clear their bits and release ERR pin after the startup sequence. Error bits are set to 1 after the startup if external power supply is used.

Not clearing the bits leads to subsequent read call errors if VBB errors are checked.

Impact

Reading the data after startup doesn't return error for first two calls (one clears GLERR, other INTERR) anymore.

Testing

With a simple application that reads from the expander. First two reads after the boot failed before the change, the issue is not present anymore.

The reference manual (section 3.2.1) states the user has to
read GLERR and INTERR registers to clear their bits and release
ERR pin after the startup sequence. Error bits are set to 1 after
the startup if external power supply is used.

Not clearing the bits leads to subsequent read call errors if VBB
errors are checked.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
@github-actions github-actions Bot added Area: Drivers Drivers issues Size: S The size of the change in this PR is small labels Jul 28, 2026
@github-actions

Copy link
Copy Markdown

MemBrowse Memory Report

No memory changes detected for:

@linguini1
linguini1 merged commit 69249fc into apache:master Jul 28, 2026
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Drivers Drivers issues Size: S The size of the change in this PR is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants