How To Add Password Protection On NDEF Messages In NTAG I2C Plus

cancel
Showing results for 
Search instead for 
Did you mean: 

How To Add Password Protection On NDEF Messages In NTAG I2C Plus

How To Add Password Protection On NDEF Messages In NTAG I2C Plus

The demonstration aims at how to protect the NDEF messages in the NTAG, here we use OM5569-NT322ER | NTAG I2C plus Explorer Kit + reader | NXP  as this dev kit contains NTAG as well as the NFC reader.

pastedImage_6.png

The NTAG I2C plus has the unprotected memory starting from page 04h of sector 0, and NDEF messages are stored there.

pastedImage_2.png

Referring to 8.3.11 of the data sheet, AUTH0 specifies the starting page to be protected, ACCESS[NFC_PROT] enables read&write password protection from NFC interface, PWD and PACK are for password configuration, but before changing any of above , you have to do a password authentication as below:

pastedImage_7.png

pastedImage_3.png

Then you may select sector 0 and read the contents starting from E3h.

pastedImage_4.png

Here FFh is the default value for AUTH0. 

Now you may change the AUTH0,ACCESS[NFC_PROT] , PWD and PACK as you wish, for example, something like below: read the data from E3h to E6h and change the corresponding bytes in one write.

pastedImage_5.png

The video shows how to read the NDEF message under password protection.

 

Tags (2)
Version history
Revision #:
1 of 1
Last update:
‎08-23-2020 11:27 PM
Updated by: