I am trying to use the Digital Discovery as an I2C master with clock stretching enabled. The device I am talking to will hold SCL low while it processes an interrupt, and release SCL when it is ready to receive again. I am running into an issue where the device will hold SCL low for about 12s. During this time, the LabVIEW function call has already closed even though the required data has not been transmitted/received.
How long will the Digital Discovery wait for the clock/data if clock stretching is enabled?
Question
DavidLee1997
Good Afternoon!
I am trying to use the Digital Discovery as an I2C master with clock stretching enabled. The device I am talking to will hold SCL low while it processes an interrupt, and release SCL when it is ready to receive again. I am running into an issue where the device will hold SCL low for about 12s. During this time, the LabVIEW function call has already closed even though the required data has not been transmitted/received.
How long will the Digital Discovery wait for the clock/data if clock stretching is enabled?
Thank you!
Respectfully,
David Johnson
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now