PN5180 READ_DATA issue

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

PN5180 READ_DATA issue

跳至解决方案
3,382 次查看
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 项奖励
回复
1 解答
3,170 次查看
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 项奖励
回复
2 回复数
3,171 次查看
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 项奖励
回复
3,170 次查看
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 项奖励
回复