PN7150 NCI read data error

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

PN7150 NCI read data error

621 次查看
alex-qiu
Contributor I

Dear NXP,

I am debugging the PN7150 project, and now I have encountered a problem. I read the data twice according to the SDK code, and the correct Answer[3] will not be read when reading the data. If you change it to a fixed length read, you can read it, and you can see what's causing it.

1. Data is read twice, and the first byte of the second data will be lost. Direct one-time read 258 can be read normally, but it takes too much time to verify, affecting the data reading process, and IRQ cannot be lowered, as shown below:

The real number is 40 01 19 00 03 1E 03....

The actual data read is as follows: 0x00 of Answer[3] is missing. 40 01 19 03 1E 03....

 

标记 (3)
0 项奖励
2 回复数

611 次查看
alex-qiu
Contributor I
  • Attach the code for the read section

  • Attach the data captured by LA

fw code.png

The actual data.png

0 项奖励

532 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Alex:

 

Could you please send us your full NCI logs , i2c_read function, and logic analyzer trace with SDA, SCL , VEN, IRQ for further analyzing?

 

Regards

Daniel

0 项奖励