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

Brzo i2c should support longer Clock Stretch Timeouts #6

Closed
pasko-zh opened this issue Aug 20, 2016 · 1 comment
Closed

Brzo i2c should support longer Clock Stretch Timeouts #6

pasko-zh opened this issue Aug 20, 2016 · 1 comment
Assignees
Milestone

Comments

@pasko-zh
Copy link
Owner

Currently, brzo i2c uses a uint16_t datatype for holding the number of iterations iteration_scl_clock_stretch for the timeout of SCL clock stretching. The maximum timeout is therefore around 5 msec (milli seconds).

There are i2c slaves, like for instance the HTU21, which stretch the clock up to 50 msec (milli seconds) or even more!

Thus, iteration_scl_clock_stretch should be of datatype uint32_t instead.

@pasko-zh pasko-zh self-assigned this Aug 20, 2016
@pasko-zh pasko-zh added this to the 1.01 milestone Aug 20, 2016
@pasko-zh
Copy link
Owner Author

Included in Version 1.01

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

1 participant