cancel
Showing results for 
Search instead for 
Did you mean: 

Facing an issue while interfacing st nucleo expansion board NFC08A1 with another microcontroller

cGosa.1
Senior

Hello,

I'm using NFC08A1 Nucleo expansion board. I am trying to interface this board with another renesas microcontroller via SPI.I have connected the expansion board through jumper wires on SPI lines,IRQ,and GND ,VCC.

I'm using RFAL stack for 3916B IC.

Currently I'm facing issue in IC initialisation DemoIni() function, the code is getting stuck at

 EXIT_ON_ERR( err, st25r3916Initialize() ); inside rfalInitialize() function. Can you please suggest how this issue can be solved.

21 REPLIES 21
Brian TIDAL
ST Employee

Hi,

having the oscillator being enabled is mandatory for using the reader mode. Therefore lines 291-294 should not be commented out.

I would suggest to check that the X-NUCLEO-NFC08A1 board is not broken: can you check on a second board? Can you inspect the Y200 crystal solders? Can you try the board on a NUCLEO-L476RG?

Can you also check the power supplies on the board (VBUS and 3V3)?

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.

Hi,

I have checkked the crystal it was soldering issue now i'm able to get interrupt as well.

For SPI communication i have maintained a flag in spi interrupt until this flag is not set the code is in while loop. so right now the card gets detected sometimes only if i put too many breakpoints but mostly the SPI interrupt TX RX flag is not set from NFC IC so how this issue can be solved.

I have done this because the maximum baud rate available is 8000000 bps and previously i was not receiving complete data.