Hello NXP Team,
I am working on the S32K312 internal temperature sensor and need help with incorrect temperature readings.
I have reviewed similar threads and confirmed the basic configurations, but the ADC results do not reflect the ambient temperature.
What I have done so far:
(1) TEMPSENSE clock enabled-Screenshot attached
SunLucas_0-1784265425989.png
(2)ADC configuration
SunLucas_1-1784265855587.png
(3)Measurement routine
SunLucas_3-1784266057594.png
(4)Result
However, the converted temperature value does not match the actual ambient temperature.
SunLucas_4-1784266156349.png
Any guidance, clarification, or reference code for the S32K312 temperature sensor would be greatly appreciated.
Thanks in advance for your support!
Best regards,