AWR2544: awr2544 frame trigger signal

Part Number: AWR2544

Tool/software:

Hello, 

I have in my design two awr2544 radars which stream raw ADC data to a central compute unit via CSI2 interface. And I'm working to enable HW_SYNC_IN, pin C17, as HW trigger pin for time synchronization between two radars.

I have updated IOMUX of syscofig to enable SYNC_IN signal, however I'm not quite sure how to link it with RadarSS over mmwavelink interface. Would you please let me know the necessary steps to enable HW_SYNC_IN for radar frame trigger?

Thanks, 

Quoc

  • Hello, 

    After setting iomux for sync_in signal, I have also changed the frameCfg->triggerSelect from 1 (SW trigger) to 2 (hardware trigger). 

    frameCfg 0 3 128 0 256 50 2 0.0000

    As I look into the source code of OOB demo, in main_mss.c, mmWaveInit() function will invoke MMwave_config() to configure the mmWave: 

        /************************************************************************
         * Configure the mmWave:
         ************************************************************************/
        if (MMWave_config (gCsiStreamMCB.mmWaveHandle, &ctrlCfg, &errCode) < 0)
        {
            /* Error: Unable to configure the mmWave control module */
            test_print ("Error: mmWave configuration failed [Error code %d]\n", errCode);
            MCPI_setFeatureTestResult ("MMWave MSS Configuration", MCPI_TestResult_FAIL);
            DebugP_assert(0);
        }

    And MMWave_config() --> MMWave_configLink() --> MMwave link will be configured within this call and finally set Frame Configuration as below: 

                /* Set the frame configuration: */
                DebugP_logInfo ("rlSetFrameConfig...\n");
                retVal = rlSetFrameConfig(ptrMMWaveMCB->deviceMap, &ptrControlCfg->u.frameCfg[0].frameCfg);

    So this makes me believe that HW trigger option in frameCfg CLI command is supported. Just change triggerSelect to 2 to make affect. Unfortunately, even though I have already provided the trigger signal at SYNC_IN pin, but still couldn't see the frame trigger to stream ADC data via CSI-TX stream. 

    Would you please hint me if anything else needs to update? 

    Thanks, 

    Quoc

  • Hi, 

    The frameCfg->triggerSelect from 1 (SW trigger) to 2 (hardware trigger) is correct change. With this it should work for you. How are you providing the pulse on the Sync in pin? 

    Can you probe the pin and provide a snap shot of the pulse train on the pin? Also what is frame periodicity you are using? 

    Can you confirm if the sensor transmits anything or not when you provide the pulse? Also do refer to the Interface control document to verify if you meet the pulse requirements or not. 

    Thanks,

    Pradipta. 

  • Hi, 

    The frame trigger signal I have is 20Hz, 50% duty cycle. Looks like it doesn't satisfy pulse width requirement (less than 4us pulse width). 

    Let me change the trigger signal and let you know if it works or not. 

    Thanks, 

    Quoc