cancel
Showing results for 
Search instead for 
Did you mean: 

ST25R3916B RFAL library question

kahlenberg
Associate II

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Brian TIDAL
ST Employee

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.

View solution in original post

2 REPLIES 2
Brian TIDAL
ST Employee

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.

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