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.

AWR6843AOP: AWR6843AOPEVM

Part Number: AWR6843AOP
Other Parts Discussed in Thread: AWR6843, ,

Tool/software:

I have the AWR6843AOPEVM connected to a Jetson Nano. I have a python script running that starts reading the sensor data at Jetson Boot. When I reboot the Jetson without power cycling the AWR6843 it seems that the senor stops working. I can either not connect to the USB port, or it connects to the port but no data comes through from the sensor. 

Do I always need to power cycle  the radar every time in order for it to work with my python script or is there a config command or setting that i am missing?

  • Hey Jacques,

    Thanks for reaching out over E2E regarding your integration question. I would recommend sending the sensorStop CLI command to the AWR6843AOP before rebooting the Nano. This will halt the RF chirping, data processing chain, and data output until you resend the sensorStart command. This should give you time to reconnect the Nano to the AWR6843AOP before attempting to restart it.

    Hopefully this resolves the issue, but let me know if you have any other questions or run into further problems.

    Regards,

    Kristien

  • Hi Kristien, I appreciate the reply. I've tried the sensorStop command and I believe I am closing the ports correctly and this still doesn't work, I've also tried to reset the USB hub when I reboot or rerun the python script but it also doesn't seem to work. Additionally we need to be able to change the config of the sensor remotely without being able to power cycle the sensor, is this posssible? To give you a summary of our use cases:

    - At system power up the sensor needs to work. At the moment this is successful
    - Jetson reboots because of watchdog or something else, the sensor needs to work at reboot. At the moment this does not work.

    - Sensor config change and subsequent Jetson reboot, the sensor needs to work but we will not be able to power cycle. At the moment this does not work.

    Any additional assistance will be much appreciated.

  • Hey Jacques,

    After you stop the sensor, ensure you initiate a sensor start without any arguments - i.e., sensorStart rather than sensorStart 0. This should allow the sensor to use any new configuration parameters provided since the sensorStop.

    If that isn't working, you may also need to initiate a soft reset after the sensor has been stopped if you would like to change the sensor configuration which will reset the MSS core. This can be done by using the SOC_softReset function in passing in the socHandle. I would recommend modifying the MmwDemo_CLISensorStop function like so:

    static int32_t MmwDemo_CLISensorStop (int32_t argc, char* argv[])
    {
        int32_t             retVal = 0;
    
        if ((gMmwMCB.sensorState == MmwDemo_SensorState_STOPPED) ||
            (gMmwMCB.sensorState == MmwDemo_SensorState_INIT) ||
            (gMmwMCB.sensorState == MmwDemo_SensorState_OPENED))
        {
            CLI_write ("Ignored: Sensor is already stopped\n");
            return 0;
        }
        
        MmwDemo_stopSensor();
        
        MmwDemo_resetStaticCfgPendingState();
    
        gMmwMCB.sensorState = MmwDemo_SensorState_STOPPED;
    
        SOC_softReset(gMmwMCB.socHandle, &retVal)
    
        return 0;
    }

    Also, what demo are you running on the AWR6843AOP?

    Regards,

    Kristien

  • Hi Kristien, thanks I will have a look at the soft reset. I am running the Pedestrian counting demo

  • Understood, let me know if you have any other updates.

    Regards,

    Kristien