Hi, fellow developers,
I'm going to implement I2C feature on Kinetis-serise MCUs.
As its Slave-behaving control, how can I know the STOP condition on the bus ?
Furtherly, how about detecting ReSTART condition ?
Such event is not listed in possible causes of IICIF=1.
Regards,
Solved! Go to Solution.
Hello Shoichi,
You can check the stop condition register with I2Cx_FLT STOPF bit. The description is in the image below.
Try using an Oscilloscope and check that the frame is right or if something is lost.
Hope this helps.
Hello Shoichi,
You can check the stop condition register with I2Cx_FLT STOPF bit. The description is in the image below.
Try using an Oscilloscope and check that the frame is right or if something is lost.
Hope this helps.