AnsweredAssumed Answered

KL28 LPI2C arbitration lost error

Question asked by Liangliang Ma on Jan 22, 2017
Latest reply on Jan 27, 2017 by Jorge Antonio Alcala Vazquez



I am using the LPI2C module in KL28 to read from a device whose power supply is turned off periodically. If the power losing occurred during transfer and SCL is high, the SDA will be released by the device and goes to high, and LPI2C module will recognize it as an STOP condition, it then sets the arbitration lost flag [ALF] and bus busy flag [BBF], and quit.


The ALF can be cleared by write a 1, but the BBF keeps set and cannot generate START condition anymore. Is there any way to restore the module without a soft reset?