In the PGA450-Q1 has an internal temperature sensor when I am trying to access the internal temperature value initially its giving correct value.
Later sometimes the chip is giving constant junk values from the internal register, is the internal Temperature sensor is not reliable or any other issue
I am adding my code snippet here with please provide a feedback for the same
/* In Default the temperature sensor is disabled, to enable the same we need to set the TS_DAC_EN = 1 & TS_DAC_MODE = 0 bits in TEMP_DAC_CTRL ESFR */
TEMP_DAC_CTRL = 0x01;
/* Delay for Approximately 1.4 ms */
for(Count = 0;Count <= 23000;Count++);/*1.4375 ms */
u8PGATemSenOutPut = TEMP_SENS;
TEMP_DAC_CTRL = 0x00;