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.

D3-3P-TDA3X-SK: Monitoring RX Saturation

Part Number: D3-3P-TDA3X-SK

Hi,

Can I get RX Saturation notification thru a callback provided to the monitoring function? It said somewhere in the code that RX Saturation flag will show in the CQ bit of the ADC data stream. I however, don't see any bits for CQ in the first word of the ADC data. I saw sample code below:

gAr1243RadarMonConfig.monReportCallBackFunc = MonitorRadar_Handler;
retVal = Bsp_ar12xxConfigMonitor(0, &gAr1243RadarMonConfig);
GT_assert(BspAppTrace, BSP_SOK == retVal);

However, the sample MonitorRadar_Handler() does not have code to print out when RX Saturation happens.

Please advice...

  • Hi Khai,

    Please refer to Chapter 7 in ~\ti_components\radar\radar_sdk_dfp_package\mmwave_dfp\docs\AWR1xxx_Radar_interface_Control.pdf.

    You can go thru the list of Radar Monitor APIs to see if any one of the API reports the status matches what you need.

    If you find which API is needed, you can call that API as shown in MonotorRadar_Handler().

    If you don't find any API reporting the status you need, then it is not supported by Radar firmware.

    Regards,
    Stanley

  • Hi Stanley,

    I am looking for RX Saturation Monitoring. It looks like there is an API for it to configure for monitoring described in the doc you sent. But the handler does NOT have a case statement to handle its sbid as well as not having a data structure representing the reporting info for it. Does this mean it's not supported or something we can add. If latter, how?

    Thanks,

    --Khai

  • The driver in SDK dose support rlRfRxIfSatMonConfig() to configure RX saturation monitoring.

    It is part of Bsp_ar12xxConfigMonitor().

    We don't have an example for it though.

  • Exactly. How do i know what type of reporting info comes out of it? I need to know the data structure. Can you provide?

    Thanks,

    --Khai

  • This is what I got as far as configuring it for monitoring:

    rlRxSatMonConf_t gAr1243rxSatMonCfg = {
    .profileIndx = (rlUInt8_t) 0,
    .satMonSel = (rlUInt8_t) 1,
    .reserved0 = (rlUInt16_t) 0,
    .primarySliceDuration = (rlUInt16_t) 5,
    .numSlices = (rlUInt16_t) 63,
    .rxChannelMask = (rlUInt8_t) 0,
    .reserved1 = (rlUInt8_t) 0,
    .reserved2 = (rlUInt16_t) 0,
    .reserved3 = (rlUInt32_t) 0,
    .reserved4 = (rlUInt32_t) 0
    };
    Bsp_Ar12xxMonConfigObj sensorMonCfg = {
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    &gAr1243rxSatMonCfg,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL
    };
    Bsp_ar12xxConfigMonitor(0, &sensorMonCfg);

    But I need a returned data structure defined for the reporting info so the handler can be used to receive the reporting output, right?

    Thanks,

    --Khai

  • Please refer to the API description...

    "The report is available as CQ2 (part of CQ) in CQ RAM every chirp. The application should transfer the report from CQ RAM every chirp."

    You have to set data out format to enable CQ.

    However, I haven't done this before. It will require some help from our Radar team if you need more detail.

  • Is it possible you bring them into the loop to help this ticket?

    Thanks,

    --Khai

  • Yes. I will ask Radar team to help.

  • Hello Khai,

    As stanley mentioned after enabling Rx saturation moniroting enabled, CQ data will be available along with raw ADC data.

    rlDeviceSetDataPathConfig  API enables CQ over CSI:   transferFmtPkt0 = b'110110  /*  CP_ADC_CQ_DATA */   

    And enable This particular monitoring in rlRfDigMonEnableConfig API.

    CQ data format is available in the ICD. Please search for 'Chirp Quality data' in ICD.

     

    Regards,

    Jitendra