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.

Compiler/DRA829V: How to read Temperature sensor data of j7

Part Number: DRA829V
Other Parts Discussed in Thread: DRA829

Tool/software: TI C/C++ Compiler

Hi,

We can see Voltage and Thermal Manager reference in DRA829 Technical Manual.

is there any reference document to read the temperature data of J7 ?

can you please share the procedure or sample code to read the temperature sensor data.?

Thanks,

Muthu

  • Hi Muthu,

    Please refer to the FAQ here: https://e2e.ti.com/support/processors/f/791/t/922224.

    It has all the details that you asked for.

    Regards

    Karthik

  • Hi Karthik,

    Thanks a lot for your response,

    we updated the patch file and vtm_sensor read file to our program.

    we got below response, looks like improper value from the temperature sensor.,

    can you please share any other configuration is required to get the proper temperature sensor data.?

    0051: [1] <2020-08-10> <14:14:51.880> sensor id : 0 adc_code : 0 temp in milli degree celcius : -41523
    0052: [1] <2020-08-10> <14:14:51.923> sensor id : 1 adc_code : 0 temp in milli degree celcius : -41523
    0053: [1] <2020-08-10> <14:14:51.989> sensor id : 2 adc_code : 0 temp in milli degree celcius : -41523
    0054: [1] <2020-08-10> <14:14:52.053> sensor id : 3 adc_code : 495 temp in milli degree celcius : 84875
    0055: [1] <2020-08-10> <14:14:52.117> sensor id : 4 adc_code : 495 temp in milli degree celcius : 84875
    0056: [1] <2020-08-10> <14:14:52.161> sensor id : 0 adc_code : 0 temp in milli degree celcius : -41523
    0057: [1] <2020-08-10> <14:14:52.226> sensor id : 1 adc_code : 0 temp in milli degree celcius : -41523
    0058: [1] <2020-08-10> <14:14:52.293> sensor id : 2 adc_code : 0 temp in milli degree celcius : -41523
    0059: [1] <2020-08-10> <14:14:52.336> sensor id : 3 adc_code : 495 temp in milli degree celcius : 84875
    0060: [1] <2020-08-10> <14:14:52.401> sensor id : 4 adc_code : 495 temp in milli degree celcius : 84875

  • Hi Muthushankar,

    Please paste the complete log & also let me know which SDK version are you using?

    - Keerthy

  • Hi,

    Thanks for your reponse,

    We did one time initialization for temperature sensor.

    After that we start read the temperature value periodically

    so we did not get proper response.

    We init the sensor and read the temperature value periodically.

    Then its started working fine.