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.
Solved! Go to Solution.
Hi,
Please check the co-ordinator example.
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!