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

Exception for I2C NACK handling/signalling #9765

Open
bludin opened this issue Oct 28, 2024 · 0 comments
Open

Exception for I2C NACK handling/signalling #9765

bludin opened this issue Oct 28, 2024 · 0 comments

Comments

@bludin
Copy link

bludin commented Oct 28, 2024

Some I2C devices, e.g. the newer Sensirion sensors, use NACK for specific signaling. For instance, upon an I2C write, the CRC byte is NACKed when incorrect. Or an I2C read header is NACKed when no data is available (yet). Therefore, it would be helpful, if a specific exception would be raised that would further indicate the byte of the transmission that got NACKed. Currently, there's a generic OSError No5 that indicates a failure of the I2C transmission.

@dhalbert dhalbert added this to the Long term milestone Oct 28, 2024
@dhalbert dhalbert added the busio label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants