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

PSoC™ 4

CrisV
Level 1
5 sign-ins First reply posted First question asked
Level 1

 

Hello

I have a problem, and it's that the temperature of the DIE does not change. All ADCMUX measurements are by interruption. All changes except the DIE temp.
I applied cold or hot and not change (always about 30ºC).

Any ideas?
Best regards.

0 Likes
1 Solution
Raj_JC
Moderator
Moderator 50 solutions authored 10 likes given 100 replies posted
Moderator

Hi @CrisV ,

Please try the following suggestions:

Key parameters of ADC SAR Sequencer include:

  • Channel Mode 1 – Single
  • Resolution 1 – 12 bit
  • Data format justification – Right
  • Reference – Internal, 1.024 volts
  • Sample rate – <= 100 ksps
  • Samples averaged – value >16 may be used to reduce noise
  • Averaging mode – Fixed Resolution
  • Single ended negative input – Vss.

Not following the proposed settings may lead to unexpected behaviour of the component or poor accuracy of measurements. However, the value of Vref can be different from 1024 mV. If the value of Vref in the ADC SAR Sequencer settings is different from the proposed, the value of adcCounts that is passed to DieTemp_CountsTo_Celsius API should be adjusted:

ADCCountsCorrected = (Refact /1.024) * ADCCounts

You can refer to the "Calculate Die Temperature with DieTemp Component in PSoC 4 - KBA229527" and the "ADC_SAR_Seq_DieTemp"  code example.

Please, let us know if this helps.

Thank you

Best Regards

Raj Chaudhari

View solution in original post

2 Replies
Raj_JC
Moderator
Moderator 50 solutions authored 10 likes given 100 replies posted
Moderator

Hi @CrisV ,

Please try the following suggestions:

Key parameters of ADC SAR Sequencer include:

  • Channel Mode 1 – Single
  • Resolution 1 – 12 bit
  • Data format justification – Right
  • Reference – Internal, 1.024 volts
  • Sample rate – <= 100 ksps
  • Samples averaged – value >16 may be used to reduce noise
  • Averaging mode – Fixed Resolution
  • Single ended negative input – Vss.

Not following the proposed settings may lead to unexpected behaviour of the component or poor accuracy of measurements. However, the value of Vref can be different from 1024 mV. If the value of Vref in the ADC SAR Sequencer settings is different from the proposed, the value of adcCounts that is passed to DieTemp_CountsTo_Celsius API should be adjusted:

ADCCountsCorrected = (Refact /1.024) * ADCCounts

You can refer to the "Calculate Die Temperature with DieTemp Component in PSoC 4 - KBA229527" and the "ADC_SAR_Seq_DieTemp"  code example.

Please, let us know if this helps.

Thank you

Best Regards

Raj Chaudhari

CrisV
Level 1
5 sign-ins First reply posted First question asked
Level 1
Hello Raj
Thank you very much for your answer.
Thanks to you I have realized that I made a very big mistake...
The value of DIE temperature was saturated....
The multiplier is not well adjusted (I don't understand it very well now either, but it is close to the environment)
Beginner's mistake....
Thank you and greetings.
0 Likes