cancel
Showing results for 
Search instead for 
Did you mean: 

ST25R3916 not responding with SPI

JonasHSLU
Visitor

Hi,

I'm trying to get the FTM examples from the STSW-ST25R-LIB to work on a ST25R3916.

I am using the following hardware:
-Mikroe NFC 4 Click Board with a ST25R3916
-STEVAL-25R3916B (I only use the reader/antenna board STEVAL-D25R3916B without the Mcu board)
-Nucleo L476RG microcontroller board (as it is the one used in the sample projects from the library)

On the software side I am using the FTM examples from the X-NUCLEO-NFC06A1 (for 3916 on Mikroe board) and X-NUCLEO-NFC08A1 (for 3916B on Steval board) folders in the lib. The programs seem to be identical, only the global definition for the HW/reader selection is different.

When I use the NFC08A1 program with the Steval, the reader works fine. But when I use the NFC06A1 example with the Mikroe board it doesn't work. When I try to read the chip ID in the initialisation process, it always reads zero. I have checked this interaction with a logic analyser in both examples and have attached the screenshots. I have tried both SW examples on both boards (I changed the reader/HW define in the compiler/preprocessor options so naturally, it should work). Both examples work on the Steval and both do not work on the Mikroe.

I have connected some jumper (supply, SPI and IRQ) cables directly to the Nucleo board and I only change them on the reader side when testing with the two boards so all the tests i did should be quite identical in HW and SW except from the used Board/Reader.


Any help would be greatly appreciated.

ST25 NFC - RFID Readers – ST25R391x Series

1 REPLY 1
Brian TIDAL
ST Employee

Hi,

make sure

  • that the "COMM SEL" properly selects the SPI interface (Lower position: SPI)
  • to connect the 2 GND pins (8 & 9)
  • to not have swapped the MISO and MOSI pins (the MISO pins is labelled SDO SPI Data Out on this board which can be misleading... this is the Data In from MCU point of view)
  • that the Power LED Indicator is ON

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.