Skip to main content
Graduate
May 25, 2024
Solved

ST25R3916B RFAL library question

  • May 25, 2024
  • 1 reply
  • 1178 views

Hi,

I have a X-NUCLEO-NFC08A1 and trying to use ST25R3916B RFAL library with nRF5340 from nordic semiconductor. SPI communication and initialization are working. I am running  demoCycle() function from demo_polling.c. However, in the logs, I receive always null as ID or Block Data.

 

 

D: Toggling Wake Up mode OFF
D: ISO14443A/NFC-A card found. UID: (null)
D: Read Block: OK Data: (null)
D: Toggling Wake Up mode ON

 

When I put my phone close to reader I receive following:

 

 

D: NFCA Passive ISO-DEP device found. UID: (null)
D: Select NDEF Application: OK Data: (null)
D: Select CC: OK Data: (null)
D: Read CC: OK Data: (null)
D: Toggling Wake Up mode OFF

 

Why is it not reading any data? How can I run the demo?

    This topic has been closed for replies.
    Best answer by Brian TIDAL

    Hi,

    it is likely that USE_LOGGER is not defined in your port and therefore hex2Str returns NULL.

    Make sure to add USE_LOGGER in your compiler global defines. There should be as well ST25R3916B as global define.

    Rgds

    BT

    1 reply

    Technical Moderator
    May 25, 2024

    Hi,

    it is likely that USE_LOGGER is not defined in your port and therefore hex2Str returns NULL.

    Make sure to add USE_LOGGER in your compiler global defines. There should be as well ST25R3916B as global define.

    Rgds

    BT

    Graduate
    May 25, 2024

    Jackpot! Thank you, now it is printing hex strings.