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.
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:
- 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