CPU /Thermal load for S32K328 micro controller

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

CPU /Thermal load for S32K328 micro controller

76 Views
muthukarupan
Contributor I

We need help to implement the CPU/thermal load for S32K328 microcontroller in our project. Please let me know the API's to test the CPU/thermal loading. Kindly mention all the steps to run in multiple cores. 

Tags (1)
0 Kudos
Reply
2 Replies

40 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

for S32K3, there is no dedicated single RTD API for “CPU/thermal load test”. Usually this is implemented by:

- generating CPU load on each core using application busy loops or RTOS tasks
- monitoring die temperature through the internal TempSense path via ADC APIs

For temperature monitoring, please check the ADC TempSense APIs:

Adc_Sar_Ip_TempSenseEnable()
Adc_Sar_Ip_GetConvData()
Adc_Sar_Ip_TempSenseCalculateTemp()

see more e,g on https://community.nxp.com/t5/S32K/Internal-Temperature-sensor/m-p/1688673

For multicore execution on S32K328:

- create/use an S32K3 multicore RTD project
- start the secondary core using the NXP multicore startup flow
- run a CPU stress task on each core
- periodically read TempSense and log temperature versus load

see below link for multicore project generation guide
https://community.nxp.com/t5/S32K/Multicore-applications-on-the-S32K3-series-processors/m-p/2050051

BR, Petr

0 Kudos
Reply

49 Views
db16122
Contributor III

according to the S32K UM, there are Temperature Sensor (TempSense) inside. Maybe there are some routine at S32 DESIGN STUDIO sdk

0 Kudos
Reply