2023-02-22 03:25 PM
Hello! I'm starting a project with the ST25R3920 and want to use the RFAL library. I downloaded the latest version from from here and during compilation it's asking to define either ST25R3916 _or_ ST25R16B. I guessed and tried st25R3916 (no B) and everything builds properly but it won't detect NFC cards.
I have a project using the same chip and the old RFAL library (2.2.0) that works, but after updating to the latest 2.8.0 it seems to have broken things.
Is this the correct RFAL library to use with `#define ST25R3916`?
Thanks
Solved! Go to Solution.
2023-02-23 01:36 AM
Hi,
the correct RFAL define for the ST25R3920 is ST25R3916. I would not recommend to use #define but to rather use the compiler -D option.
Can you share more details about your HW and SW:
Rgds
BT
2023-02-22 03:26 PM
this was the link I meant to include
https://www.st.com/en/embedded-software/stsw-st25rfal002.html
2023-02-23 01:36 AM
Hi,
the correct RFAL define for the ST25R3920 is ST25R3916. I would not recommend to use #define but to rather use the compiler -D option.
Can you share more details about your HW and SW:
Rgds
BT
2023-02-23 11:31 AM
Thanks for the ST25R3920 clarification.
The detection is also fixed! Turning on ST25R_SELFTEST and SELFTEST_TIMER led me to the issue which turned out to be a problem with IRQ handling. Thank you for the help