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.

IWR6843AOP: IWR6843AOP Temperature

Part Number: IWR6843AOP

Hi,

How do I get the internal temperature sensor data?  Is there an API call for this?

Regards,

-Mike

  • Hello

    Hello this feature is accessible via Radar subsystem  (RadarSS) API call which is provided via the DFP firmware running on the Radar Subsystem core.

    For IWR68xx devices this is made available mmWave link layer functions  which are part of mmWave SDK

    Please take a look at rlReturnVal_t rlRfGetTemperatureReport  function in  SDK doxygen : Typically in SDK installation path file:///C:/ti/<mmwave_sdk_03_04_00_03  version >/packages/ti/control/mmwavelink/docs/doxygen/html/group___sensor.html#ga335113f6e1e6c260dcd03e03a0932a1b

    For other functions available via Link layer please see the following example path:

    file:///C:/ti/mmwave_sdk_03_04_00_03/packages/ti/control/mmwavelink/docs/doxygen/html/modules.html

    Please note you will have to change the above path to match the appropriate SDK installation path.

    Thank you,

    Vaibhav

  • Thanks Vaibhav.  Which data field in rlRfTempData_t would I monitor for Operating condition?

  • Hi Mike,

    Please search for rlRfGetTemperatureReport and refer to the definition of rlRfTempData_t at the following page (you can also navigate to this page y clicking the Sensor API links in mmwave_link doxygen):

    file:///C:/ti/mmwave_sdk_03_04_00_03/packages/ti/control/mmwavelink/docs/doxygen/html/group___sensor.html#ga335113f6e1e6c260dcd03e03a0932a1b

    Example usage of this function is show in the out of box demo in mss_main.c

        if (pGuiMonSel->statsInfo)
        {
            tl[tlvIdx].type = MMWDEMO_OUTPUT_MSG_STATS;
            tl[tlvIdx].length = sizeof(MmwDemo_output_message_stats);
            packetLen += sizeof(MmwDemo_output_message_tl) + tl[tlvIdx].length;
            tlvIdx++;
    
            MmwDemo_getTemperatureReport();
            tl[tlvIdx].type = MMWDEMO_OUTPUT_MSG_TEMPERATURE_STATS;
            tl[tlvIdx].length = sizeof(MmwDemo_temperatureStats);
            packetLen += sizeof(MmwDemo_output_message_tl) + tl[tlvIdx].length;
            tlvIdx++;
        }

    You can use tmpDig0Sens or tmpDig1Sens to get the overall temperature. You can also look at the mmwaveDemoVisualizer source code to see how it prints out the values from this structure.

    Regards

    -Nitin