Die Temperature component's API in PSoC 4 giving incorrect results | Cypress Semiconductor
Die Temperature component's API in PSoC 4 giving incorrect results
For your information, the Die Temperature component's API in PSoC4 (DieTemp_CountsTo_Celsius()) might return incorrect value in few of our devices. This problem has been rectified in the devices which are currently in production.
If you too experience the same problem, you do have a work-around, where you need to change the statement "offsetReg = (int16)DieTemp_SAR_TEMP_OFFSET_REG; " in DieTemp.c file to "offsetReg=0x65B4;".