2020-03-11 09:41 AM
Hello,
I am trying to read some NFC tag with a X-NUCLEO-NFC03A1 attached to a NUCLEO F091RC board. I am a beginner into those technology, so basically I was trying to load the sample "NFC Detect " from the package "X-CUBE-NFC3" wich can be found on ST official website to understand how to use NFC stuff. The problem is, I tried to build the project on the STM32 IDE Cube, and it worked fine, but i can't read anything on the NFC NUcleo's antenna after running the programm.
I suppose there are problems of initialisation , but i have no idea how to debug this.
Thanks you for your time,
Best Regards,
Karim
Solved! Go to Solution.
2020-05-12 07:20 AM
Hi,
your nfcvDevice variable is not initialized... the proper way is to used nfcDevice that is initialized thanks to rfalNfcGetActiveDevice( &nfcDevice );
The proper call to demoNfcv is:
demoNfcv( &nfcDevice->dev.nfcv );
See demo.c.
Rgds
BT
2020-05-12 10:03 AM
Thanks a lot, it worked fine ! :)
Best regards,
Karim