PN5180 READ_DATA issue

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

PN5180 READ_DATA issue

Jump to solution
1,535 Views
izmile
Contributor III

Hi,

I am having a strange behaviour with my PN5180 device. The device received 3 bytes from the card. I read 2 bytes from the RX buffer using READ_DATA command. Now, I cannot access PN5180. The device is completely locked up. 

However, if I read all 3 bytes then device is working fine. Is there a requirement that the host should read all the received bytes in one go? I am searching the datasheet but could not locate anything in this regard. Greatly appreciate any help on this.

Thanks,

-Ismail

0 Kudos
1 Solution
1,323 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Mohamed,

Indeed, the whole received data must be read, then the host should decide what data to discard. Please see below from the PN5180 datasheet:

pastedImage_1.png

Regards!

Jorge Gonzalez

View solution in original post

0 Kudos
2 Replies
1,324 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Mohamed,

Indeed, the whole received data must be read, then the host should decide what data to discard. Please see below from the PN5180 datasheet:

pastedImage_1.png

Regards!

Jorge Gonzalez

0 Kudos
1,323 Views
izmile
Contributor III

Thanks Jorge. 

It would have been nice to flush the unwanted received data bytes after reading the first few bytes. CLRC663, MFRC632 all had this feature. 

0 Kudos