NFC Reader Library examples vs PSP examples

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

NFC Reader Library examples vs PSP examples

Jump to solution
1,636 Views
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 Kudos
Reply
1 Solution
1,387 Views
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

View solution in original post

0 Kudos
Reply
2 Replies
1,388 Views
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 Kudos
Reply
1,387 Views
piergiuseppe_tu
Contributor II

Dear Alexander, thank you very much for your answer.

Best regards,

Peppe

0 Kudos
Reply