This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

twi_master_with_twis_slave - incorrect EEPROM data

Greetings, I am interfacing AT24C01A(EEPROM) with nRF52 ,SDK11,PCA10040.

For writing to the EEPROM and reading data fromn EEPROM, I am using the following code,

I have attached images of read function and write function.Kindly have a look. image description image description

I am not able to write and read data to and from EEPROM device.

Thanks

Parents
  • Minimum what you shall do is to remove:

    /* Initializing simulated EEPROM */
    err_code = eeprom_simulator_init();
    APP_ERROR_CHECK(err_code);
    

    You also can remove:

    #include "eeprom_simulator.h"
    

    Unfortunately I don't have possibility to check this today but it is quite likely it will work.

Reply
  • Minimum what you shall do is to remove:

    /* Initializing simulated EEPROM */
    err_code = eeprom_simulator_init();
    APP_ERROR_CHECK(err_code);
    

    You also can remove:

    #include "eeprom_simulator.h"
    

    Unfortunately I don't have possibility to check this today but it is quite likely it will work.

Children
No Data
Related