2025-09-09 4:58 AM
Hello,
I am using STEVAL 25R200 board to read/write NFC tags. Currently, I am using NFC V type tag which is getting detedted by the EVAL GUI software as well as by the code I implemented using RFAL layer functions through Cube IDE.
My tag UID as seen in the EVAL GUI is e002080ab3e64bc8 which matches what I am getting after rfalNfcGetActiveDevice() function executes. I have the following testReadNfcBlock() function based on the rfalNfcvPollerReadSingleBlock() function.
I am calling this function with input parameter as the dev->nfcid (that I get from the rfalNfcGetActiveDevice) inside the while loop. The read fails with a timeout error code 4. I even tried reversing the UID just to confirm that the UID handling error is not the problem.
P.S. I checked out a similar post 'https://community.st.com/t5/st25-nfc-rfid-tags-and-readers/x-cube-nfc6-polling-demo-modification-and-sending-commands-to/m-p/635714#M10285' where a similar(same?) error is discussed but the actual solution was regarding rfalNfcvPollerTransceiveReq and the command being sent to it.
Thanks & Regards
2025-09-09 5:31 AM
Hi Atomic1,
I think you are missing proper flags. Please use RFAL_NFCV_REQ_FLAG_DEFAULT for the lower layer - otherwise the response will come at wrong data rate. The ADDRESS flag will be adapted anyhow if you provide a UID.
BR, Ulysses