PN7150 NCI read data error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PN7150 NCI read data error

636 Views
alex-qiu
Contributor II

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....

 

Tags (3)
0 Kudos
2 Replies

626 Views
alex-qiu
Contributor II
  • Attach the code for the read section

  • Attach the data captured by LA

fw code.png

The actual data.png

0 Kudos

547 Views
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 Kudos