Basic code only for ST25R3916
I am currently using a st25r3916 chip in my application (embedded) and downloaded the ST25 Embedded NFC library (STSW-ST25R-LIB).
All I want at this point is a proof of concept that the st25r3916 chip sends an interrupt to my application each time a rfid tag is detected. I don't need to read the tag id yet at this point. From the library, the closest example is demo_polling.c but is code-heavy.
I would like to ask is the quickest and simplest way to get this working is:
1) Call rfalNfcInitialize() and rfalWakeUpModeStart(NULL)? Is there anything else needed for initialization?
2) Is interrupt already enabled after #1 (above) is performed?
3) Does that mean that if I place a rfid-enable tag near the chip, I will receive an interrupt?
4) After the interrupt, do I just call one of the rfal function (which one in particular?) to read the ID from the tag?
Thank you all
