NXP S32K324-Internal Temperature Reading Issues with ADC0 Channel 49

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NXP S32K324-Internal Temperature Reading Issues with ADC0 Channel 49

Jump to solution
3,403 Views
Ranjith_kumar
Contributor II

Dear NXP Support Team,

I am encountering issues while attempting to read the internal temperature sensor on the S32K324 microcontroller using ADC hardware instance 0, channel 49.

My VREF voltage is configured to 3.3V (0x35), but the temperature readings I am obtaining do not match my expected values.

 

Ranjith_kumar_0-1745316244411.png

 

Could you please provide any guidance or reference materials to help me resolve this issue and achieve accurate temperature readings?

 

Regards,

Ranjith kumar

 

 

 

Tags (1)
0 Kudos
Reply
1 Solution
3,333 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Ranjith_kumar

From your video, it seems that you didn't even read the raw value of the internal temperature sensor.

I made a very basic example for your reference, the hardware is S32K344, the RTD is 3.0.0+P07.

 

View solution in original post

0 Kudos
Reply
5 Replies
3,376 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Ranjith_kumar

There is a similar demo in this link for your reference

https://community.nxp.com/t5/S32K/S32K344-Temperature-Sensor/m-p/1876707#M35929

If you still have questions, please provide me with a basic project and I will help you check it

 

0 Kudos
Reply
3,338 Views
Ranjith_kumar
Contributor II

Dear Senlent,

As per your suggestion and referring to the provided link, I have attempted to read the internal temperature sensor on the NXP S32K324 controller using RTD 3.0.0. However, the values I am obtaining do not match our expected results.

Could you please share any example code or reference implementation that demonstrates the correct procedure for reading and converting the internal temperature sensor data?

Additionally, I would appreciate your guidance on how to determine appropriate threshold temperature values for our application.

I have attached the relevant document for your reference. Kindly assist me in resolving this issue.

Thank you for your support.

Best regards,

Ranjith kumar

 

Tags (1)
0 Kudos
Reply
3,334 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Ranjith_kumar

From your video, it seems that you didn't even read the raw value of the internal temperature sensor.

I made a very basic example for your reference, the hardware is S32K344, the RTD is 3.0.0+P07.

 

0 Kudos
Reply
3,281 Views
Ranjith_kumar
Contributor II

Dear Senlent,

I followed the steps you mentioned in the shared video to read the internal temperature sensor on the S32K324 controller. However, I am not obtaining stable or expected temperature values. As I mentioned in my previous post, I am reading the raw ADC values from the internal temperature sensor, but the temperature readings show sudden spikes and are not constant.

For reference, I am also using an external temperature sensor near the controller, which shows a stable temperature range of 32 to 35°C. In contrast, the internal temperature sensor readings are showing negative and fluctuating values.

I have attached a video demonstrating the issue and the software I developed for this purpose. Could you please help me verify whether the values I am getting are correct or if there might be an issue with my approach? Any guidance or example code to correctly read and interpret the internal temperature sensor data would be greatly appreciated.

Thank you for your support.

Regards,

Ranjith kumar

Tags (1)
0 Kudos
Reply
3,275 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Ranjith_kumar

I don't quite understand what your new question is?

In my previous reply, I have provided you with a test demo, and I haven't seen any of your projects.

0 Kudos
Reply