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

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

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

Jump to solution
445 Views
Yooyi
Contributor I

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. 

0 Kudos
Reply
1 Solution
376 Views
Senlent
NXP TechSupport
NXP TechSupport

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

View solution in original post

3 Replies
404 Views
Senlent
NXP TechSupport
NXP TechSupport

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.

394 Views
Yooyi
Contributor I
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 ?
0 Kudos
Reply
377 Views
Senlent
NXP TechSupport
NXP TechSupport

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