2023-06-22 01:52 AM - last edited on 2023-06-22 02:12 AM by Peter BENSCH
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.
Solved! Go to Solution.
2023-07-19 12:52 AM
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
2023-07-19 01:51 AM
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.