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.

AWR1642: How to enable and get the RF calibration/monitor and BIST info

Part Number: AWR1642

Hi,

My customer want to get the RF calibration, monitor and BIST information, they want to get such info to understand the BSS work status, would u pls help instruct me how to get such info?

Thanks & BR,

Andy

  • Andy,

    Since the features are dependent on firmware version, the first step is to check the "AWR1xx_Radar_Interface_Control.pdf" for related information.

    this document includes all the APIs available to user for specific firmware version.

    Did the customer review this document?

    Do they have specific API quesitons

    thank you
    Cesar
  • Andy,

    Take a look at MMWave_openLink() in C:\ti\mmwave_sdk_01_02_00_05\packages\ti\control\mmwave\src\mmwave_link.c.  This is the function that controls which BSS calibration tasks are run.  Current incarnations of the SDK hardcode the list of cal tasks, but this is easily changed (note, this would require rebuilding the SDK's control libs).  Other mmwavelink calls can also be added here if needed.  The results are saved in the global structures. For more information on available mmwavelink functions, refer to the ICD as Cesar mentioned.

    Next, you need to get the information out via the UART.  For this, MmwDemo_dssSendProcessOutputToMSS() in C:\ti\mmwave_sdk_01_02_00_05\packages\ti\demo\xwr16xx\mmw\dss\dss_main.c is a good place to start.  You will need to add a new TLV to the various structures and enumerations used in the functions.  This new structure would then need to be recognized and parsed on the PC side once received.

    So there are a few steps needed, but they aren't terribly difficult.

      -dave

  • Hi Cesar and Dave,

    Thanks for your comments. I found RF calibration/monitor function call in MMWave_openLink, and found msg RL_RF_AE_RUN_TIME_CALIB_REPORT_SB in MmwDemo_mssMmwaveEventCallbackFxn, but no code and guide on how to get and understand the calibration/monitor status. I read the AWR1xx_Radar_Interface_Control.pdf which describe the msg blocks, but also no guide on how to get and understand the status. Need your help provide one guide include below information:
    1 Details on which cal/monitor information can provide;
    2 How to config and enable;
    3 How to get and understand the information;
    And related unit test demo code for reference, thanks.
    Andy
  • >1 Details on which cal/monitor information can provide;
    >2 How to config and enable;

    For both of these, please examine the Doxygen user guide information for mmwavelink functions rlRfInitCalibConfig() and rlRfRunTimeCalibConfig(). By looking at the config structures that are passed to these functions, it should be clear what calibration tasks are performed and how to enable them. By looking at the demo code, you can see how they are called in an application.

    >3 How to get and understand the information;

    All calibration tasks basically return just a pass/fail bit. The bit position identifies the calibration task. I don't know of any additional information.

    With respect to BIST, search for bist in the Radar ICD document that comes in the DFP releases. You will find that BIST is performed automatically, and is tied to various CPU fault and/or power up synchronization events coming from BSS. A failure event is fatal, in that all processing is stopped. So, applications should monitor these events as illustrated in the mmw demo and respond appropriately.