JN5189THN: internal EEPROM API manual or examples

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

JN5189THN: internal EEPROM API manual or examples

Jump to solution
1,025 Views
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 Kudos
Reply
1 Solution
1,015 Views
nxf56274
NXP Employee
NXP Employee

Hi,

Please check the co-ordinator example.

nxf56274_0-1634092690921.png

 

View solution in original post

0 Kudos
Reply
2 Replies
1,016 Views
nxf56274
NXP Employee
NXP Employee

Hi,

Please check the co-ordinator example.

nxf56274_0-1634092690921.png

 

0 Kudos
Reply
1,003 Views
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 Kudos
Reply