LPC5411x I2C issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC5411x I2C issue

1,000 次查看
domneck
Contributor II

Hello,

I am using LPCXpresso5411x eval kit for my project and trying to interface I2C based sensor.
I am using MCUXpresso SDK example codes and I have just modified the slave address related stuffs. I2C Start sequence is coming properly but when I try to write byte send I am getting 'kStatus_I2C_Nak' error code and in I2C status register bit MSTSTATE is 3.

---

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

897 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi customer,

   Check the I2C bus wave, then check whether the I2C slave(sensor) give ACK?

   If the slave didn't ACK, it means the I2C baudrate or the wave or the data didn't meet the slave demand, you also need to check the slave datasheet.

Wish it helps you!
Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复