The issue of configuring i2c to work as slave in jn5169

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

The issue of configuring i2c to work as slave in jn5169

946 次查看
Chris_wn
Contributor I

Our products use Jn5169,the SDK is JN-SW-4170 v1840 and JN-AN-1218 v1008.

I had configured i2c as salve. The function  of APP_vSlaveReceive  is called in mainloop. It process the data from master according to the register of SI Slave Masked Interrupt Status(0x02007810)。

The bit of DATA0_WA_MIS in SI Slave Masked Interrupt Status always is set after master send data.Even if the master send a stop signal in i2c bus.Even if the date is read out from data buffer, and the corresponding Interrupt bit is clear.

This issue also cause that the slave can't receive any data from master any more .

Pls help me,thanks.

0 项奖励
回复
1 回复

922 次查看
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi @Chris_wn,

I hope you are doing great.

What is the initialization of the SI as a slave?

Also, what I the pins that you are using? Do you have a logic analyzer log?

Regards,

Mario

0 项奖励
回复