nt3h211 write data to the EEPROM via I2C, but the NFC tool cannot read the written data

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

nt3h211 write data to the EEPROM via I2C, but the NFC tool cannot read the written data

跳至解决方案
937 次查看
Tzf
Contributor II

Hi

I wrote a Linux driver for the NT3H211 chip over I2C. I used an I2C write operation to write data to block address 01h, and confirmed via an I2C read that the data was successfully written. However, when testing with an Android NFC reader app on a phone, the app cannot read the written data.   know the possible reason? Could it be that the I2C-written data is not mapped to the NFC memory?

0 项奖励
回复
1 解答
816 次查看
KaiLi
NXP TechSupport
NXP TechSupport

Hello @Tzf 

Please refer SW3638 (check the attached file)to implement pass-through mode.

在原帖中查看解决方案

5 回复数
909 次查看
KaiLi
NXP TechSupport
NXP TechSupport

Hello @Tzf 

For NT3H211, the memory address mapped by the I2C and NFC interfaces is different. Please refer to the datasheet of NT3H211 Table5 and Table 6 to check whether the address is correct. 

0 项奖励
回复
874 次查看
Tzf
Contributor II

Thank .

Are the steps for the mobile device to retrieve I2C-written data as follows?

  1. The system writes data to address 01h via the I2C interface (based on the I2C address table Tables 6).

  2.  Following Contents 11.3.3 I 2C to NFC data transfer, write the data from address 01h to the NFC interface's target address (as defined in the NFC address table Tables 5).

0 项奖励
回复
863 次查看
KaiLi
NXP TechSupport
NXP TechSupport

Hello @Tzf 

There is a document that is helpful to you, please check it:

https://www.nxp.com.cn/docs/en/application-note/AN11579.pdf

0 项奖励
回复
830 次查看
Tzf
Contributor II

HI

I am developing a product with Nxp NTAG: https://www.nxp.com/docs/en/data-sheet/NT3H2111_2211.pdf 

Wiirte register:

 

write_register_operatin.png

If I want to enable pass-through mode, are the following settings correct?
MEMA0xfe (SESSION_REGS addr)
REGA0x0  (NC_REG index)
MASK0x01 << 6 (PTHRU_ON_OFF: bit 6)
REGDAT0x01

0 项奖励
回复
817 次查看
KaiLi
NXP TechSupport
NXP TechSupport

Hello @Tzf 

Please refer SW3638 (check the attached file)to implement pass-through mode.