This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] TDA2PXEVM: Temperature calculation at runtime for hlos usecase

Hello,

I am working on hlos use case and want to calculate the temperature at runtime.

Please suggest some solution.

Thank you in advance!

  • Hi Chinmayee,

    I believe you have Linux on TDA2P. Once you have booted to Linux prompt
    you can read the temperatures of various thermal zones runtime. The below
    is how you can check various thermal zones on your SoC:

    root@am57xx-evm:~# cat /sys/class/thermal/thermal_zone*/type
    cpu_thermal
    gpu_thermal
    core_thermal
    dspeve_thermal
    iva_thmal

    Below is how you read out the temperature runtime:

    cat /sys/class/thermal/thermal_zone*/temp
    51400
    51000
    51800
    50600
    52200

    The units of above temperature is milli degree centigrade. So we can map:

    cpu_thermal zone @ 51.4 C
    gpu_thermal @ 51 C

    & so on based on the index. Hope this answers your question. Please resolve the issue if you have no further questions
    on this topic.

    Best Regards,
    Keerthy

  • Hi Chinmayee,

    Could you please resolve this if your question w.r.t temperature reading is answered?

    Best Regards,
    Keerthy

  • Thank you for the quick reply.