cancel
Showing results for 
Search instead for 
Did you mean: 

NFC V tag read via rfalNfcvPollerReadSingleBlock timeout error

Atomic1
Associate II

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.

Atomic1_1-1757418613601.png

 

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.

Atomic1_2-1757418764326.png

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

1 REPLY 1
Ulysses HERNIOSUS
ST Employee

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