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.

The Data Data to External

Other Parts Discussed in Thread: AWR1843

Hello, I am trying to output data to the outside after performing Range-FFT and Doppler-FFT on the DSP side with AWR1843.

At this time, I want to calculate the distance and angle from the frequency and phase difference and output the data to the outside. Is this possible?

  • Hi,

    You can send any type of data or results outside from AWR1843 via UART or CAN/CANFD interface.

    If you refer mmw demo from SDK 3.5

    dss_main.c -->>>

    /* Copy result data to HSRAM */
    if ((retVal = MmwDemo_copyResultToHSRAM(&gHSRAM, result, &gMmwDssMCB.dataPathObj.subFrameStats[result->subFrameIdx])) >= 0)
    {
    /* Update interframe margin with HSRAM copy time */
    gHSRAM.outStats.interFrameProcessingMargin -= ((Cycleprofiler_getTimeStamp() - startTime)/DSP_CLOCK_MHZ);

    /* Update DPM buffer */
    resultBuffer.ptrBuffer[0] = (uint8_t *)&gHSRAM.result;
    resultBuffer.ptrBuffer[1] = (uint8_t *)&gHSRAM.outStats;
    resultBuffer.size[1] = sizeof(MmwDemo_output_message_stats);

    /* YES: Results are available send them. */
    retVal = DPM_sendResult (gMmwDssMCB.dataPathObj.objDetDpmHandle, true, &resultBuffer);

    Here using MmwDemo_copyResultToHSRAM function you can copy your desired result data to HSRAM (handshake RAM) and then pass that result data location and size to MSS using DPM_sendResult.

    On MSS end, which has access to all the external interfaces (UART/CAN/CANFD), you need to read those result data and copy to this interface.

    mss_main.c -->

    MmwDemo_handleObjectDetResult  ->  MmwDemo_transmitProcessedOutput

    Hope these source code pointers will help you to proceed.

    Regards,

    Jitendra

  • Hi Jitendra

    Thank you for your kindness.

    I still have some doubts.
    The first is that when you use dss_main.c, you will eventually need mss memory to transfer data to the outside world.
    Does this end up interfering with mmWaveFrontEnd from DPM or mmWavelink?

    The second is whether to output numerically or by coordinates when the output destination is decided. Is this something that the user makes?

  • Hi,

    This transfer mechanism will not affect the mmWave front end or the DPM.

    This mechanism of data transfer is already used in the OOB demo, as Jitendra mentioned. You can have a look at how the data export over UART is implemented by the OOB demo in the SDK.

    The second is whether to output numerically or by coordinates when the output destination is decided. Is this something that the user makes?

    I am not sure what you mean by this. Could you elaborate?

    Regards,

    Aayush

  • Hello

    Thank you for answering my question.

    What I wanted to ask is whether the person who creates mmWaveRadar can decide whether to display the numerical value by using the GUI externally or to display the processing calculated by DPU in coordinates.

  • Hi Hiroyuki,

    To my knowledge, no lab offers the option to switch between displaying the range/doppler value in SI units and the detected indices. Some software offerings like the OOB demo export the data in SI units itself.

    Regards,

    Aayush

  • Hi, Aayush.

    Thank you for your answering.