NFC Reader Library examples vs PSP examples

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

NFC Reader Library examples vs PSP examples

跳至解决方案
1,338 次查看
piergiuseppe_tu
Contributor II

I'm developing a firmware application for a PN7462AU based product. I cannot understand if, as a starting point, it is suggested to select either an NFC Reader Library example (e.g. NfcrdlibEx3_NFCForum) or a PSP example (e.g. PN7462AU_ex_phExNFCCcid) and what are the pro and the cons, if any. It seems that the NFC Reader Library examples are simpler, mostly regarding NFC stack initialization which is always done by means of phNfcLib_Init function (even when NXPBUILD__PHNFCLIB_PROFILES is left undefined and other functions from simplified API, like phNfcLib_Transmit/receive, aren't used at all).

Any hints?

Thank you in advance,

Peppe

0 项奖励
1 解答
1,089 次查看
AlexanderB
NXP Employee
NXP Employee

Hello piergiuseppe.tundo@mermecgroup.com‌,

This is depends very much on the application you want to develop. All those examples are using the NFC Reader Library. But every has a dedicated purpose to showcase different functionality. 

If you want a NFC Forum compliant reader to communicate with tags as well as with mobile phones you should have a look at the example 'NfcrdlibEx3_NFCForum', but if you want to use your reader as a PC/SC CCID device it will be an easier start by looking at 'PN7462AU_ex_phExNFCCcid'.

In general examples starting with 'PN7462AU' are dedicated and only available for the PN7462. On the other hand examples starting with 'NfcrdlibEx3' are independent of the reader chip (as long as the functionality is supported) and can be used with various NXP reader chips (CLRC663, PN5180, PN7462, etc...). 

A good start to get familiar with the use of the NFC Reader Library might be the basic discovery loop example. As soon as you know what your host interface should be (USB, VCOM, UART, SPI, ....) you can look into one of those examples as well. Most probably your application in the end will use snippets from more than one example.

I hope this was helpful. Do not hesitate to ask if anything has been left unanswered :smileyhappy: 

Best regards,

Alex

在原帖中查看解决方案

0 项奖励
2 回复数
1,090 次查看
AlexanderB
NXP Employee
NXP Employee

Hello piergiuseppe.tundo@mermecgroup.com‌,

This is depends very much on the application you want to develop. All those examples are using the NFC Reader Library. But every has a dedicated purpose to showcase different functionality. 

If you want a NFC Forum compliant reader to communicate with tags as well as with mobile phones you should have a look at the example 'NfcrdlibEx3_NFCForum', but if you want to use your reader as a PC/SC CCID device it will be an easier start by looking at 'PN7462AU_ex_phExNFCCcid'.

In general examples starting with 'PN7462AU' are dedicated and only available for the PN7462. On the other hand examples starting with 'NfcrdlibEx3' are independent of the reader chip (as long as the functionality is supported) and can be used with various NXP reader chips (CLRC663, PN5180, PN7462, etc...). 

A good start to get familiar with the use of the NFC Reader Library might be the basic discovery loop example. As soon as you know what your host interface should be (USB, VCOM, UART, SPI, ....) you can look into one of those examples as well. Most probably your application in the end will use snippets from more than one example.

I hope this was helpful. Do not hesitate to ask if anything has been left unanswered :smileyhappy: 

Best regards,

Alex

0 项奖励
1,089 次查看
piergiuseppe_tu
Contributor II

Dear Alexander, thank you very much for your answer.

Best regards,

Peppe

0 项奖励