Skip to main content
kahlenberg
Associate II
May 25, 2024
Solved

ST25R3916B RFAL library question

  • May 25, 2024
  • 1 reply
  • 1180 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

Brian TIDAL
Brian TIDALBest answer
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

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.
kahlenberg
Associate II
May 25, 2024

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