Tool to recover from an I2C bus lockup on the KL25Z
This tool allows you to recover from an I2C bus lockup on I2C0 (PTE24, PTE25) and I2C1 (PTE0, PTE1).
The reset is only carried out when the corresponding I2C bus is enabled.
Add following code to your program :
#include "I2C_busreset.h" ... ... int main (void) { I2C_busreset(); ....
History
Initial release
2014-02-19, by frankvnk [Wed, 19 Feb 2014 19:18:49 +0000] rev 0
Initial release