cancel
Showing results for 
Search instead for 
Did you mean: 

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

Lukas5
Associate

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

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Ulysses HERNIOSUS
ST Employee

Hello Lukas5,

 

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

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

BR, Ulysses

View solution in original post

1 REPLY 1
Ulysses HERNIOSUS
ST Employee

Hello Lukas5,

 

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

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

BR, Ulysses