2 Replies Latest reply on Oct 17, 2014 8:16 AM by JoMe_264151

    Writing EEPROM fails if Die Temperature is queried



      I am using the DieTemp_Start and DieTemp_Query functions periodically in my main loop. If I write data to the EEPROM it fails. I have to disable the DieTemp functions to get the EEPROM written. Is there a way to get periodic Die Temperature measurement and EEPROM writing both together ? Maybe by blocking the Temp reading when accessing  the EEPROM ?


      Here is the update function from the main loop:


      void UpdateDieTemp()
        if (DieTemp_Query(&dieTemp) == CYRET_SUCCESS)
      void SecondLoop()