AnsweredAssumed Answered

How do you recover after a NAK from I2C_RTOS_Transfer?

Question asked by Anthony Fontana on Oct 26, 2018
Latest reply on Nov 1, 2018 by Jing Pan

I'm using MCUXpresso V10.2.1 and the V2.4.1 SDK for the FRDM-KL27Z.


I can't seem to re-use the I2C handle after getting a kStatus_I2C_Nak when calling I2C_RTOS_Transfer.  Each access after the NAK gives me an kStatus_I2C_ArbitrationLost.  I've tried calling I2C_RTOS_Init again and I've also tried calling I2C_RTOS_Deinit then I2C_RTOS_Init but no matter what, I always get an Arbitration Lost.


Is there some other way to reset the peripheral?  What's the recommended way to recover from a NAK or an Arbitration Loss?