How to read whats written to the tag?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to read whats written to the tag?

518 Views
gauravbanyal
Contributor IV

Hello,

I am using the NTAG I2C Plus tag on a flex PCB that came with explorer kit. On the phone I am using the app to write NDEF messages to the tag. From the I2C side, which address do I have to read to get the bytes that were written to the tag?

Tags (1)
0 Kudos
1 Reply

346 Views
isaacavila
NXP Employee
NXP Employee

Hello Gaurav,

In NTAG I2C Plus' datasheet, you will find a section named "Memory Organization". In this section, there are some tables that show you how the memory content is accessed by NFC and I2C interfaces. (There are tables for 1k and 2k).

For example, if you are using 1k memory, user memory (888 bytes) is located from block 1d to block 55d and each block contains 16 bytes.

Memory Organization.jpg

So, imagine that 32 bytes of data were written by NFC, you can read these data (I2C interface) by using the following commands:

Reading NTAG.jpg

I hope this can help you!

Regards,

Isaac

0 Kudos