NXP PN512 working with IRQ

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

NXP PN512 working with IRQ

1,694 次查看
januszjonski
Contributor II

HI,

I want to use NxpRdLib in order to create mifare card reader using module PN512. All functions works fine under LPC1519JBD100e, but my program is blocked for 250 - 380 ms when I run function "status = phacDiscLoop_Run(&sDiscLoop, wEntryPoint);". 

How can I configure PN512 to receive no-blocking communication. Is there any example. 

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

1,674 次查看
januszjonski
Contributor II

None of examples is using IRQ line from PN512. Function phacDiscLoop_Run is waiting until all instruction are done. So you can't do anything else during this time. Maybe there is some example based on interrupts, but I can't find it.

0 项奖励
回复

1,682 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi

It is hard to know the root cause from your description, you can trace into function phacDiscLoop_Run.  

There is a Ex10 demo for MIFARE DESFire. It is under NDA.

Regards

Daniel

0 项奖励
回复