Skip to content

I2C EEPROM write functions do not wait for end of write cycle #205

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

Open
2 tasks
paulsc96 opened this issue May 16, 2025 · 0 comments
Open
2 tasks

I2C EEPROM write functions do not wait for end of write cycle #205

paulsc96 opened this issue May 16, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@paulsc96
Copy link
Member

This cannot be fixed nicely as the OpenTitan I2C does not allow direct polling of NAKs, only awkwardly through the absence of an interrupt...

TODO:

  • Patch OpenTitan I2C to properly expose NAK events on pollable device register.
  • Fix write HAL functions to use this register to wait for end of write cycle.
@paulsc96 paulsc96 added the bug Something isn't working label May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant