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

Patch for GIGA I2C quirk #135

Merged
merged 2 commits into from
Oct 24, 2024
Merged

Conversation

caternuson
Copy link
Contributor

This is a simple patch to get around this issue from the Arduino mbed OS core used by the GIGA R1:
arduino/ArduinoCore-mbed#414

Some devices will NACK the read attempt, which is equivalent to "not found".

This patch tricks the BSP logic and forces it to use a write request instead of a read request.

Example test case GIGA R1 connected to an Adafruit Arcade 1x4 Button breakout and running the example from Learn guide:
https://learn.adafruit.com/adafruit-led-arcade-button-qt/arduino

BEFORE
Screenshot from 2024-10-24 14-24-19

AFTER
Screenshot from 2024-10-24 14-24-51

Thanks to @silvan2468 for suggesting this fix here:
adafruit/Adafruit_Seesaw#84

@caternuson
Copy link
Contributor Author

@ladyada for review

Copy link
Member

@ladyada ladyada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ez pz

@ladyada ladyada merged commit 0b68c51 into adafruit:master Oct 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants