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.

IWRL6432: Exporting the radar cube over UART

Part Number: IWRL6432

Tool/software:

Hello TI experts,

I am using a IWRL6432BOOST and following https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1279165/faq-iwrl6432-exporting-the-radar-cube-over-uart which was on FAQ.

I am using motion and presence detection demo example in MMWAVE_L_SDK_05_05_00_02.

I followed all the steps exactly except: "1. Comment out the creation of the CLI_defaultcfg_task in the motion_detect() function of the mmw_cli.c file"

It seemed like code mentioned in step 1 was moved to motion_detect.c, so I commented out corresponding part in motion_detect.c

    /* DPC initialization*/
    DPC_Init();

    CLI_init(CLI_TASK_PRIORITY);

    // #if (CLI_REMOVAL == 0 && QUICK_START == 1)
    // // Create a Task for running default configuration
    // gDefCfgTask = xTaskCreateStatic( CLI_defaultcfg_task,      /* Pointer to the function that implements the task. */
    //                               "Run_Defaultcfg",          /* Text name for the task.  This is to facilitate debugging only. */
    //                               DEFAULT_CFG_TASK_SIZE,  /* Stack depth in units of StackType_t typically uint32_t on 32b CPUs */
    //                               NULL,            /* We are not using the task parameter. */
    //                               DEFAULT_CFG_TASK_PRI,   /* task priority, 0 is lowest priority, configMAX_PRIORITIES-1 is highest */
    //                               gDefCfgTaskStack,  /* pointer to stack base */
    //                               &gDefCfgTaskObj ); /* pointer to statically allocated task object memory */
    // #endif
    
    /* Never return for this task. */
    SemaphoreP_pend(&gMmwMssMCB.demoInitTaskCompleteSemHandle, SystemP_WAIT_FOREVER);

    Board_driversClose();
    Drivers_close();
}

I built the appimage in release mode and debug mode, but none seems to be working properly.

I am not able to send configuration with visualizer or though tera term. 

Is the most recent SDK not compatible for sending radar cube data over uart?

Has Exporting the radar cube over UART been tested in the newest SDK?

If so, I would greatly appreciate if TI experts can let me know how to export the radar cube over uart. 

Thank you,

Seho Kim

  • Hi Seho Kim, 

    I think there have been one or two SDK releases since that FAQ post was made. It's possible that one of those releases changed some things in the presence and motion detection demo code making that post outdated. I will look into this an get back to you in the next day or two with more information.

    Thanks and regards,

    Josh

  • Hi Seho Kim, 

    I have not been able to replicate the problem you see. When I modify the motion and presence detection demo the way that you mention I am able to send the configuration and see the output data streaming out over UART. Can you please confirm that the device is in functional mode when you are trying to connect and send the cfg? (Double check your switch settings based on this documentation). 

    I am using motion and presence detection demo example in MMWAVE_L_SDK_05_05_00_02.

    Can you let me know if there are other modifications present in the code you are using or only the modifications related to exporting the radar cube?

    Also what baud rate are you using to connect to the serial port in tera term? By default the motion and presence detection demo is configured for 115200 so this is what you should set in the teraterm serial port settings. 

    Best Regards,

    Josh

  • Hi Josh,

    I had the device switched according to the documentation. 

    I have not modified anything else except the mentioned changes.

    I tried both with 115200 and 1250000 which was set in https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1279165/faq-iwrl6432-exporting-the-radar-cube-over-uart

    One question I have is is this not supported on Silicon version 1?

    I am able to make it work on ES2, but not ES1

    Best Regards,

    Seho Kim

  • Hi Seho Kim, 

    I'm glad you're able to make it work. 

    One question I have is is this not supported on Silicon version 1?

    The same exporting of radar cube should also be possible on ES1 silicon; however, SDK 5.5 does not support ES1 devices. This would explain the issue you are facing. For ES1, devices you would need to use an older version of the sdk (6432 ES1 devices are not supported in any SDK 5 releases past 5.3.0.2). 

    Best Regards,

    Josh