Writing EEPROM fails if Die Temperature is queried | Cypress Semiconductor
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:
if (DieTemp_Query(&dieTemp) == CYRET_SUCCESS)