In the I2C soft lib. "wait for any SCL clock stretching"/ burst read been fixed?
Slower I2C devices don't need clock stretching / burst read but the DS3231 RTC does?
In the I2C soft lib. "wait for any SCL clock stretching"/ burst read been fixed?
Slower I2C devices don't need clock stretching / burst read but the DS3231 RTC does?
Unfortunately, the current soft i2c is the same bit-banged version you and poslathian were discussing a couple of weeks ago. It's meant to be a stopgap measure until we finally get a hardware version up. For your reference, the implementation lives in:
http://github.com/leaflabs/maple-ide/tree/master/libraries/Wire/
Yea we didnt patch it at all because we were getting mixed results with the clock stretching and didnt really have the time to determine what the "right thing" was.
Ok ... so clock stretching / burst read will be fixed when the I2C DMA hardware algorithm/library is released with stable version 0.1.0?
yes, clock stretching is natively supported by the hardware, and thus the API will expose it.
You must log in to post.