1984677_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

1984677_en-US

1984677_en-US

s32k118 Keep sending I2C Data when Flash operation is doing.(read/write)

I have a Host that keep sending I2C data, when I open S32K118 MCU and do flash operation.
I2C Bus abnormal condition has occurred which like picture. I don't know why I2C bus
 is affected by Flash operation. 

Re: s32k118 Keep sending I2C Data when Flash operation is doing.(read/write)

Hi@Yooyi

1. You can do some handshake operations, such as using a GPIO port to indicate the status of the Slave, and the Master can suspend sending until the Slave resumes normal operation.


2. Or the Master checks the communication failure and then suspends sending

Re: s32k118 Keep sending I2C Data when Flash operation is doing.(read/write)Once an abnormal wave pattern occurs, the I2C is likely to be damaged, causing the I2C fail to communicate normally. Is there any method which can solve it effective this problem ?Re: s32k118 Keep sending I2C Data when Flash operation is doing.(read/write)

Hi@Yooyi

Because in the I2C protocol, although the clock comes from the Master node, the Slave node may only passively receives the clock from the Master, but the Slave can hold or release the clock from the Master when working, so the Clock status is not completely determined by the Master.
When you burn the program to the MCU, Slave node cannot work normally, it may always hold or release the clock, resulting in this error condition.

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 03:36 PM
Updated by: