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.

IWR6843ISK: Radar Firmware - Sensor Stop

Part Number: IWR6843ISK

Hi Team,

The idea is to stop the Radar module from the firmware, without issuing "sensorStop" from the external host.

Flow Description :

1. Radar will stream the number of frames configured in "frameCfg"

2. After streaming, the radar firmware should handle the sensor stop.

3. Thus in the next iteration, We'll issue only "sensorStart 0" for triggering the radar.

Test Case Done:

1. We tried to issue "sensorStart", without giving the "sensorStop" command. 

     --> ACK from radar "sensor is already started"

2. Identified the async event (MmwDemo_eventCallbackFxn) arising for frame done from BSS in main.c

     --> Tried to invoke sensor stop API from the async event.

     --> But the sensor stop got failed in the mmwavelink layer

Could you please suggest some ideas for stopping the radar from firmware? as well as some suggestions for debugging the low-level layer (mmwavelink and mmwave)

 

  • Hi Balaji,

    You should be able to set the number of loops in your configuration file. See the fourth argument in the frameCfg documented at C:/ti/mmwave_sdk_03_06_00_00-LTS/docs/mmwave_sdk_user_guide.pdf

    Best,

    Nate

  • Are you sure you're failing on sensorStop? Can you place a breakpoint immediately after it to confirm?

    Best,

    Nate

  • Hi Nathan,

    Thank you for the response.

    Added the breakpoint next to the sensor stop API. But in the CSS debugger, the logs are not getting for the async event.

    Below is the CSS debugger console output.

    ____________________________________________________________


    [Cortex_R4_0] **********************************************
    Debug: Launching the MMW HWA Demo
    **********************************************
    Debug: Launched the Initialization Task
    Debug: EDMA instance 0 has been initialized
    Debug: EDMA instance 1 has been initialized
    Debug: UART Instance @0802117c has been opened successfully
    Debug: UART Instance @08021188 has been opened successfully
    Debug: mmWave Control Initialization was successful
    Debug: mmWave Control Synchronization was successful
    Debug: CLI is operational
    Start MmwDemo_openSensor
    End MmwDemo_openSensor
    Start MmwDemo_configSensor
    End MmwDemo_configSensor - 1
    DPC_OBJDET_IOCTL__STATIC_PRE_START_COMMON_CFG
    DPC_OBJDET_IOCTL__STATIC_PRE_START_CFG
    ========== Memory Stats ==========
    Size Used Free DPCUsed
    System Heap(TCM) 65536 25304 40232 0
    L3 786432 0 786432
    TCM 50176 0 50176
    Configuring HW LDVS
    Configuring HW LDVS DONE
    CBUFF HW LVDS session activated.
    End MmwDemo_dataPathConfig End MmwDemo_configSensor - 2
    start MmwDemo_startSensor
    Starting Sensor (issuing MMWave_start)
    End MmwDemo_startSensor

    ____________________________________________________________

    In the logic analyzer, I'm able to see the logs "async event"

    But when I try to issue sensorStart 0 after this, I'm getting the below ACK from the radar

    The radar is still in the "sensor start" state, not changed to the "sensor stop" state.

    Could you please suggest some suggestions to stop the radar module from the radar firmware?

    Thus, we can directly issue "sensor start 0" to trigger the radar module

    Thanks,

    Balaji

  • Hi,

    This thread appears to be a duplicate of: https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1176446/iwr6843isk-radar-firmware 

    I will close this thread and we can continue discussion on the other thread.

    Regards,

    Josh