I'm a engineer using PN7462AU. I am developing an NFC communication program. When I remove the card (tag), I want to recognize it and stop all communication.
Now I develop my program based on NfcrdlibEx7_EMVCo_Polling.
|See NfcrdlibEx7_EMVCo_Polling.c 239 Line.|
/* Set discovery loop poll state */
/* Start Polling, Function will return once card is activated or any other error has occurred */
} while((status & PH_ERR_MASK) != PHAC_DISCLOOP_DEVICE_ACTIVATED); /* Exit on Card detection */
If RF Reset is not done in the above code, the next phacDiscLoop_Run() API does not always recognize the NFC Tag.
Question 1) Can phacDiscLoop_Run() API recognize NFC Tag without RF reset?
Question 2) Is there any other API that determines whether NFC Tag is in contact?