LPC5411x I2C issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC5411x I2C issue

1,016件の閲覧回数
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 返信

913件の閲覧回数
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 件の賞賛
返信