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!
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
It will also be needed to add the path to the phceT4T folder NxpNfcRdLib->comps->phceT4T->src->Sw:
Now, the device will be able to detect tags and also be activated by a peer:
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.