OM2NTP5332 I2C Read session register all value is 0xFF

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

OM2NTP5332 I2C Read session register all value is 0xFF

739 次查看
Libaiyi
Contributor I

Directly reading data from address 0000h (EEPROM) using I2C and reading data from address 0000h (EEPROM) through NFC via a mobile app are corresponding. But when using I2C to read the session register address from 10A0h-10ADh, the values obtained are all 0xFF.

From the perspective of session registers, some registers should not default to 0XFF. How can I read the value of the session register?

0 项奖励
回复
3 回复数

720 次查看
KaiLi
NXP TechSupport
NXP TechSupport

Hello @Libaiyi 

Please try to the below logic:

KellyLi_0-1725531427504.png

BR

kelly

0 项奖励
回复

699 次查看
Libaiyi
Contributor I

This is a Configuration memory with a starting address of 1000h.

The data captured here corresponds to the data that can be read by mobile app

Libaiyi_0-1725623786756.png 

Libaiyi_2-1725623864961.png

 

This is a session register with a starting address of 10A0h, all  value is 0xff.

Libaiyi_1-1725623825055.png

 

0 项奖励
回复

632 次查看
KaiLi
NXP TechSupport
NXP TechSupport

Hello @Libaiyi 

From the I2C timing logic of your side, the reading the logic of the register is not correct. NTAG5 has two type of reading, one is to read the entire field of the register that is 4 bytes, the other is to read any field of the register, please refer to the following example to adjust your read logic.

KellyLi_0-1725850959019.pngKellyLi_1-1725850987609.png

 

0 项奖励
回复