Die Temperature component's API in PSoC 4 giving incorrect results

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi All,

   

 

   

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;".

   

Regards,

   

Asha

0 Likes
2 Replies
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored
        This looks like a software error to me - the constant DieTemp_SAR_TEMP_OFFSET_REG is defined wrong?   
Will this be solved in newer version of Creator?   
0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

 Hi,

   

This is not a software error. As you can see in the architecture TRM (Section 24), these values are stored in flash during production and cannot be changed. The value mentioned here corresponds to the multiplication factor "A".

   

Regards,

   

Asha