Dear all,
I am currently developing a project based on the **MCXA153** microprocessor. The system includes an I2C EEPROM (24C02) connected to the microprocessor I2C bus (P3_28 SDA Pin33 , P3_27 SCL Pin34)
I am looking for the best way to perform a recovery of the I2C peripheral. In the Reference Manual (Rev. 7, 2024-10-22), I found the following note:
> "You can use MCFGR0[RELAX] to attempt to recover a target with SDA stuck low. If MCFGR0[RELAX] is 1, the LPI2C controller does not wait for the I2C bus to be idle before starting a transfer. Initiating a Start command with address FFh, then the Stop condition, should generate sufficient SCL clock edges to cause the target to release SDA."
Could you provide a code example or a more detailed description of how to implement this specific procedure?
Thank you for your help and cooperation.
Best regards,