Due to the U.S. Thanksgiving holiday, please expect delayed responses during the week of 11/22.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OPT3001SW-LINUX: OPT3001: I2C Bus Timeout (Clock-Stretching)

Part Number: OPT3001SW-LINUX
Other Parts Discussed in Thread: OPT3001


I have a question about your OPT3001 Linux driver. Following situation:
We sometimes have a high load on the CPU. If we now go to read something over I2C, it can happen that the master (our CPU) pulls the clock very long on low (clock stretching). The timeout of 28ms from OPT3001 can be exceeded. If the master then switches on the clock again, only 0xFF would be read back (because SDA stays on high). This would lead to a wrong value.
Is such a timeout recognized/handled by your driver?

Thank you