Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Robust port expander initialization #24

Open
9 tasks
Rahix opened this issue Feb 15, 2024 · 0 comments
Open
9 tasks

Robust port expander initialization #24

Rahix opened this issue Feb 15, 2024 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Rahix
Copy link
Owner

Rahix commented Feb 15, 2024

Right now, most port expander implementations assume the device to be in its reset state. They do not check that all registers actually match expected values.

This is not robust because it can break horribly when a device isn't in its reset state for some reason (glitch, bad i2c transfer from other device, bug in our code, etc.).

Thus, let's augment all port expander drivers to properly set all important registers to their reset values during startup:

  • MAX7321
  • PCA9536
  • PCA9538
  • PCA9555
  • PCF8574A
  • PCF8574
  • PCF8575
  • TCA6408A
  • PI4IOE5V6408
@Rahix Rahix added help wanted Extra attention is needed good first issue Good for newcomers labels Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant