2016-01-26 08:17 AM
Hello,
I'm interested in the ''I2C Watchdog'' setting in the M24SR System file. There doesn't seem to be any information in the datasheet about it, and I couldn't find anything using google either. Anyone know if and how it works, what the value in this field means (is it boolean or a timeout Setting) ? I guess it could be interesting if it helps preventing I2C deadlock conditions automatically. Thanks in advance, kind regards, Chris PS Btw also thank you to ''product Support 3'' on the other thread ''how to lock for writing'' ... for some reason the Forum didn't allow me to post a reply over there... #m24sr-i2c-watchdogSolved! Go to Solution.
2016-01-27 12:22 AM
Hello,
The ''I2C Watchdog'' is indeed ensuring that the I2C host will not keep the session open, while there's no more activity on the I2C bus (between the stop bit of the previous transaction, and the start bit of the next one) By default the Watchdog is off (ie the I2C watchdog byte of the System File is 0). If programmed to a non null value N, the Watchdog is enabled and counts N * 30 ms (30ms is approximate) before releasing the I2C region. Thanks for your feed-back on the other thread. Best Regards, Have a nice day2016-01-27 12:22 AM
Hello,
The ''I2C Watchdog'' is indeed ensuring that the I2C host will not keep the session open, while there's no more activity on the I2C bus (between the stop bit of the previous transaction, and the start bit of the next one) By default the Watchdog is off (ie the I2C watchdog byte of the System File is 0). If programmed to a non null value N, the Watchdog is enabled and counts N * 30 ms (30ms is approximate) before releasing the I2C region. Thanks for your feed-back on the other thread. Best Regards, Have a nice day2016-01-27 12:50 AM
Hello,
thanks a lot for the fast reply, that's a helpful feature ! Kind regards, Chris