2019-01-17 05:25 AM
We are trying to evaluate ST25R3911B for our application. I have installed STM32CubeExpansion_NFC5_V1.3.0 Library. I tried an example code for STM32L476RG-Nucleo from this library (\STM32CubeExpansion_NFC5_V1.3.0\Projects\Multi\Applications\Polling\SW4STM32\STM32L476RG-Nucleo\STM32L4xx-Nucleo-Polling). I can see the tag type & ID on serial terminal as shown in image.
Now I am trying to read & write the memory block of tag. But unable to find the API sequence necessary to perform read/write. can anyone please suggest?
Solved! Go to Solution.
2019-02-25 11:08 PM
Please use all the rfal files from ST25R3911B_DISCO_FW_v1_2_8 package to have a consistent package.
2019-01-28 07:14 AM
Hi RP,
how to read and write the an NFC-A card heavily depends on its subtype: e.g NFC Forum ***, T2T, T4T and a plethora of related and proprietary cards.
Please provide information on which exact type of card you are trying to read/write.
Regards, Ulysses
2019-02-06 10:35 PM
2019-02-08 04:49 AM
Hi Radhika,
APDU is a term of smartcards - used by T4T only. You may want to have a look at STSW-ST25R002 which has an updated RFAL with the source code file rfal_t2t.c.
Regards, Ulysses
2019-02-12 12:36 AM
Hi,
I have downloaded STSW-ST25R002 package. And included rfal_t2t.c & .h files in my project. The project gets build successfully. But when I debug it, it doesn't detect RFID Tag,the function rfalNfcaPollerTechnologyDetection( RFAL_COMPLIANCE_MODE_NFC, &sensRes ); returns error code 33 (ERR_WRONG_STATE). What is missing in initialization? Attaching main.c file for your reference.
I am not getting where the exact problem is.
2019-02-12 05:01 AM
Hi Radhika,
not seeing much in the main(). My guess would be that you lack either a rfalSetMode() or a rfalFieldOnAndStartGT() .
Did you only move over the rfal_t2t files? If so please use all the rfal files to have a consistent package.
Regards, Ulysses
2019-02-12 05:08 AM
2019-02-12 05:12 AM
2019-02-25 11:08 PM
Please use all the rfal files from ST25R3911B_DISCO_FW_v1_2_8 package to have a consistent package.