how to authenticate - Ntag213 + PN532, use I2C communcation between MCU and PN532

cancel
Showing results for 
Search instead for 
Did you mean: 

how to authenticate - Ntag213 + PN532, use I2C communcation between MCU and PN532

990 Views
tsunpinyen
Contributor I

Hi,

I use I2C communcation to control PN532, Now I need to authenticate the PWD in Ntag213.

I send the command [InDataExchange] : D4  40 01 1B  XX XX XX XX DCS 00 , but PN532 send back error frame.

Can any other way to send PWD_AUTH Command to Ntag213?

0 Kudos
1 Reply

290 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hi,

You can authenticate NTAG213 using the InCommunicateThru command (0x42), like next:

// InListPassiveTarget (1 target, 106 kbps type A)
D4 4A 01 00 E1 00

// PWD_AUTH using InCommunicateThru
D4 42 1B PWD PWD PWD PWD DCS 00

Best Regards!,
Jorge Gonzalez

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------