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

    Writing EEPROM fails if Die Temperature is queried

    metin.bozbag

      Hi,

         

      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)
          DieTemp_Start(); 
      }
      void SecondLoop()

         

       

         

      Thanks