JN5189THN: internal EEPROM API manual or examples

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

JN5189THN: internal EEPROM API manual or examples

跳至解决方案
1,875 次查看
usaygo
Contributor III

Hello,

How can I find the API of internal EEPROM usage or example codes for JN5189THN?

I tried to look over header files in SDK2_6_3 or 4, however I could not find such kind of definitions.

Thanks.

0 项奖励
回复
1 解答
1,865 次查看
nxf56274
NXP Employee
NXP Employee

Hi,

Please check the co-ordinator example.

nxf56274_0-1634092690921.png

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,866 次查看
nxf56274
NXP Employee
NXP Employee

Hi,

Please check the co-ordinator example.

nxf56274_0-1634092690921.png

 

0 项奖励
回复
1,853 次查看
usaygo
Contributor III

Hello,

Thank for the quick response.

The coordinator's code is using internal flash as EEPROM emulation.

I totally misunderstood about internal EEPROM, which I thought the EEPROM was direct function of MCU. Correctly the EEPROM is connected through I2C2 bus.

Now I could managed to control Flash and NTAG's I2C2 EEPROM. Thanks!

Information pointer:

internal flash: easy to find information in `fsl_flash.[ch]'.
NTAG eeprom: From NTAG example, the file `i2c_jn_fsl.[ch]' is low level access for reading,writing data to EEPROM. The ntag_driver.[ch] provide higher level of read/write of eeprom and register access.
By seeing the code from `ntag_i2c_plus', these files are not considered about C++. (#if defined __cplusplus extern "C" ...). Hope to add this issue into the problem management.

Thanks!

0 项奖励
回复