Tool to recover from an I2C bus lockup on the KL25Z

Dependents:   Ejerc_slave_I2c

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();
    ....
Download repository: zip gz

Files at revision 0:e9beb537cf77

Name Size Actions
[up]
I2C_busreset.cpp 3179 Revisions Annotate
I2C_busreset.h 921 Revisions Annotate