2025-03-03 4:09 AM
Hello!
I am using ST25R3916 (X-NUCLEO-NFC06A1) and RFAL Library V3.0.1. When working with STM32L4RGT3 (NUCLEO-L476RG) everything works fine, but if I use STM32L053R8 (NUCLEO-L053R8) functions rfalNfcaPollerFullCollisionResolution() and rfalISO14443ATransceiveAnticollisionFrame() regardless of MCU frequency and stack size settings all the time return RFAL_ERR_FRAMING error.
What could be the reason for this behavior depending on the MCU?
STM32L053R8 (NUCLEO-L053R8) together with ST25R3911 (X-NUCLEO-NFC05A1) works fine, but when connected to ST25R3916 (X-NUCLEO-NFC06A1) it gives this error..
Best regards, Rob.
2025-03-03 4:23 AM
Hi Rob,
have you based your application on X-CUBE-NFC6 package or do you have ported the RFAL 3.0.1 by yourself or have you used the ST25 embedded NFC library?
How are managed the analog config on the various platform (NUCLEO-L476RG and NUCLEO-L053R8)? do you use custom analog config?
Rgds
BT
2025-03-03 6:43 AM
I created my application in STM32CubeMX and using the Software Packs Conponent Selector I included the STMicroelectronics.X-CUBE-NFC6 pack in accordance with the manual "Getting started with the X-CUBE-NFC6 high performance HF reader/NFC initiator. IC software expansion for STM32Cube".
Is used the default Analog configuration for the ST25R3916. Dynamic analog configuration or user analog configuration are not used.
Maybe there are other ways of correct porting of X-CUBE-NFC6 for NUCLEO-L053R8?
For ST25R3916 (X-NUCLEO-NFC06A1) I found sample applications only for NUCLEO-L476RG and NUCLEO-G0B1RE, but there are no sample applications for NUCLEO-L053R8.
2025-03-03 8:08 AM
Hi Rob,
I've build the polling application based on NUCLEO-L053R8 and I do not face any issues. I've attached the ioc file for reference.
Can you confirm that the sample NUCLEO-L476RG application uses RFAL_ANALOG_CONFIG_CUSTOM + analogConfigTbl_NFC06A1.c? Can you confirm that the generated NUCLEO-L053R8 application also uses RFAL_ANALOG_CONFIG_CUSTOM (inrfal_defConfig.h) + analogConfigTbl_NFC06A1.c?
Can you confirm your application uses X-CUBE-NFC6 v3.1.0?
Rgds
BT
2025-03-03 10:45 AM
I built a polling project based on your file L053NFC6.ioc and the problem disappeared and now everything worked fine!
Maybe there were some errors in my project when building the project.
Thank you very much!
Best regards, Rob.