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.

RTOS/AWR1642BOOST: MmwDemo_waitSensorStopComplete hangs radar

Part Number: AWR1642BOOST

Tool/software: TI-RTOS

Hi E2E,

I'm using SDK2.0 for AWR1642BOOST ES2.0 EVM. In mmw/mss/mss_main.c, I'm calling MmwDemo_waitSensorStopComplete(), it hangs system. its need a reset function back. I want sensor should start after calling SensorStart.

I want to implement sensorstart and sensorstop sequence multiple time.

Please suggest  solution to achieve it.

  • Can you please send us the modified mss_main.c?

    thank you
    Cesar
  • Cesar,

    I having GPIO interrupt driver function "MmwDemo_switchPressFxn" line no. 2011. Alternatively it call sensor stop and sensorstart.

    Please suggest what API should use sensorStop and sensorStart multiple times when GPIO interrupt is triggers.

    2063.mss_main.c

  • I took a look at your code, and it seems that you started to implement a GPIO debounce mechanism, but it doesn't look complete. I would try allowing your GPIO callback to perform a sensor stop exactly one time only, and not allowing sensor start through the callback ever. If this test fails, then there is another issue. If it works (the sensor stop is successful) then the problem is likely to be debouncing.

    You should implement a scheme so that once a button press is detected, it will ignore all button presses for the next second. In addition, you should not allow multiple starts or stops in a row.

    -dave
  • Hi Dave,

    I has removed sensorStop and sensorStart function in switch function. Added simply counter, which count the switch events properly. Similar fashion I had implemented on SDK 1.1 version, it's working fine. So it's seems issue with TI functions. Similar implementation has done in cli section, same is faced.