cancel
Showing results for 
Search instead for 
Did you mean: 

ST25R100 on X-Nucleo-Nfc09A1 and Nucleo-L053R8: RFAL_ERR_HW_MISMATCH

SametKorur
Associate

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;
}


1.PNG2.PNG3.PNG4.PNG5.PNG6.PNG7.PNG


Post edited to apply source code formatting - please see How to insert source code for future reference.

1 REPLY 1
Brian TIDAL
ST Employee

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

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.