Does anyone have any idea PN5180 work simultaneously work as reader +card ?

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

Does anyone have any idea PN5180 work simultaneously work as reader +card ?

994 Views
himansudonga
Contributor I

Hi,

 

We are using PN5180 on a Development board LPC1769 connected to SPI. We have compiled the NfcrdlibEx2_AdvancedDiscoveryLoop and merge with NFC Type 4A Card Emulation application.

 

Both example separately work fine. After combine both demo code Reader functionality work fine but NFC Type Card 4A functionality not work properly. We want to develop NFC Reader + card functionality work Simultaneously.

Does anyone have any idea PN5180 work simultaneously work as reader +card ?

Thanks!

0 Kudos
1 Reply

727 Views
IvanRuiz
NXP Employee
NXP Employee

Hello,

You have to add the definitions needed in AdvancedDiscoveryLoop project to compile the code in phceT4T for Type 4 Card Emulation.

Go to the project properties, settings, pre-processor. In the Defined symbols (-D) Section, add the following Definitions:

NXPBUILD__PHCE_T4T_SW
NXPBUILD__PHPAL_I14443P4MC_SW‍‍

pastedImage_1.png

It will also be needed to add the path to the phceT4T folder NxpNfcRdLib->comps->phceT4T->src->Sw:

pastedImage_2.png

Now, the device will be able to detect tags and also be activated by a peer:

pastedImage_3.png

Until this point you can access to the phceT4T functions so that you implement any of them according to your application based on NfcrdlibEx8_HCE_T4T.

 

Regards,

Ivan.

0 Kudos