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

cross mob
LuBe_4654241
Level 4
Level 4
50 sign-ins 25 replies posted 25 sign-ins

Hi,

I am testing the component Die temperature with the boad CY8CKIT-041-41XX, bur the temperature value is wrong: -30°C at 25°C ambient.

I am using your example code called CE195275 – Sequencing SAR ADC and Die
Temperature Sensor with PSoC 4.

Why is there this difference ?

 

Best regards

Luca Bernabei

0 Likes
1 Solution
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi Lube,

The example is generated for PSoC4 devices with internal reference of 1.024V. The one you are using is a PSoC4 with 1.2V internal reference. Modifications must be done  in the code to get an accurate result in this case.

Best Regards,
Vasanth

View solution in original post

0 Likes
5 Replies
LuBe_4654241
Level 4
Level 4
50 sign-ins 25 replies posted 25 sign-ins

Hi, 

Can some one answer ?

Thanks

Best regards

LuBe

0 Likes
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi LuBe,

Could you please share the project you are using? Kindly share PSoC creator and the die temperature versions you are using too.

Best Regards,
Vasanth

0 Likes
lock attach
Attachments are accessible only for community members.

Hi Vasanth,

please, see attached file.

Best regards

LuBe

0 Likes
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi Lube,

The example is generated for PSoC4 devices with internal reference of 1.024V. The one you are using is a PSoC4 with 1.2V internal reference. Modifications must be done  in the code to get an accurate result in this case.

Best Regards,
Vasanth

0 Likes

Hi Vasanth,

first test is ok with DIETEMP_VREF_MV_VALUE (1200) and ADC VRef internal setted, but if I change VRef internal in to VDDA (1V9) the value returned is complety wrong.

Best regards

LuBe

0 Likes