This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OPT3101: How do used OPT3101 to save calibration parameters in an external EEPROM

Part Number: OPT3101

Hi Team:

          In slau791.pdf,4.2.3   Per unit storing calibrating data in non-volatile memory;OPT3101 does not have non-volatile memory and needs calibration data to be stored in non-volatile memory. One option is to store these settings in an external EEPROM, which can be directly connected to OPT3101 I2C master pins;

          

         In OPT3101 SDK, OPT3101device_Function.cpp, Only write to external EEPROM; read data from external EEPROM Will be updated in future revision of the SDK;

   

        how to save calibration parameters in external EEPROM and how to Verify data?

        Thanks!

  • Pengsheng,

       The SDK does not read from the EEPROM. Instead you will have to write the calibratrion data to the EEPROM, reset the device, the opt3101 will automatically load the data from the EEPROM, then you can read the OPT3101 directly to verify the data is correct.

    Look in the data sheet at sections 7.4.2.2 External EEPROM and 7.4.2.3 External EEPROM Programming on how to use the EEPROM. 

    Let me know if you have any problems.