2025-06-11 11:00 PM - last edited on 2025-06-12 1:45 AM by Andrew Neil
I have X-Nucleo-Nfc09A1 and Nucleo-L053R8. I am trying to test the kit with X-CUBE-NFC9 software. But it gets stuck with this error:
if( !st25r200CheckChipID( NULL ) )
{
platformErrorHandle();
return RFAL_ERR_HW_MISMATCH;
}
Post edited to apply source code formatting - please see How to insert source code for future reference.
2025-06-12 1:37 AM
Hi,
as far as I know, the HSE is either not used or connected to the 8MHz MCO output from the STLink. Your clock configuration uses a 2 MHz HSE. Have you done any modification on the NUCLEO-L053R8 board?
Your issue with st25r200CheckChipID is probably due to SPI communication issue.
Can you connect a logic analyzer on PA5/PA6/PA7/PB6 (SPI on CN5.6/CN5.5/CN5.4/CN5.3) + PA0 (IRQ on CN6.1) + PA9 (RESET on CN5.1) and provide the trace?
Rgds
BT