Skip to main content
Visitor II
August 13, 2024
Solved

X-CUBE-NFC6 Polling demo modification and sending a custom command to NTP5332 NFCV tag

Hello,

I am working with the ST X-NUCLEO-NFC06A1, the X-Cube-NFC6, and the NTP5332 (NTAG 5) NFC V Tag from NXP. According to the NTAG’s datasheet, a "read config" is performed using the command "0xC0," and "write config" using the command "0xC1." The frame structure for these commands is described as follows:

Lukas5_0-1723552649593.png

 

 

Lukas5_1-1723552686298.png

 

The Data for reading and writing the config memory on address 0x37 should look like this:

Lukas5_2-1723552947232.png

I would like to write the value "08120F00h" to the block with the address "0x37." I have used the function "rfalNfcvPollerTransceiveReq()" to first read the data , and it looks as follows:

Lukas5_3-1723553147205.png

"err" is getting the Value "ERR_TIMEOUT" when i try to do this. Also when i try to write to that address.

What could be causing this issue?

 

Kind regards,

Lukas

 

 

This topic has been closed for replies.
Ulysses HERNIOSUS
ST Technical Moderator
August 14, 2024

Hello Lukas5,

 

I think your are not sending the Number of Blocks byte. 

Please compare e.g. the implementation of rfalNfcvPollerReadMultipleBlocks().

BR, Ulysses

1 reply

Ulysses HERNIOSUS
ST Technical Moderator
August 14, 2024

Hello Lukas5,

 

I think your are not sending the Number of Blocks byte. 

Please compare e.g. the implementation of rfalNfcvPollerReadMultipleBlocks().

BR, Ulysses