Hi,
Currently, I try to start sensor without visualizer, I follow tie2e article to use bypass to start sensor.
https://e2echina.ti.com/blogs_/b/behindthewheel/posts/ti-mmwave-sensor
I adjust the CLI_open of cil.c in SDK.
int32_t CLI_open (CLI_Cfg* ptrCLICfg)
{
Task_Params taskParams;
uint32_t index;
/* Sanity Check: Validate the arguments */
if (ptrCLICfg == NULL)
return -1;
/* Initialize the CLI MCB: */
memset ((void*)&gCLI, 0, sizeof(CLI_MCB));
/* Copy over the configuration: */
memcpy ((void *)&gCLI.cfg, (void *)ptrCLICfg, sizeof(CLI_Cfg));
/* Cycle through and determine the number of supported CLI commands: */
for (index = 0; index < CLI_MAX_CMD; index++)
{
/* Do we have a valid entry? */
if (gCLI.cfg.tableEntry[index].cmd == NULL)
{
/* NO: This is the last entry */
break;
}
else
{
/* YES: Increment the number of CLI commands */
gCLI.numCLICommands = gCLI.numCLICommands + 1;
}
}
/* Is the mmWave Extension enabled? */
if (gCLI.cfg.enableMMWaveExtension == 1U)
{
/* YES: Initialize the CLI Extension: */
if (CLI_MMWaveExtensionInit (ptrCLICfg) < 0)
return -1;
}
/* Do we have a CLI Prompt specified? */
if (gCLI.cfg.cliPrompt == NULL)
gCLI.cfg.cliPrompt = "CLI:/>";
/* The CLI provides a help command by default:
* - Since we are adding this at the end of the table; a user of this module can also
* override this to provide its own implementation. */
gCLI.cfg.tableEntry[gCLI.numCLICommands].cmd = "help";
gCLI.cfg.tableEntry[gCLI.numCLICommands].helpString = NULL;
gCLI.cfg.tableEntry[gCLI.numCLICommands].cmdHandlerFxn = CLI_help;
/* Increment the number of CLI commands: */
gCLI.numCLICommands++;
/* Initialize the task parameters and launch the CLI Task: */
// Task_Params_init(&taskParams);
//taskParams.priority = gCLI.cfg.taskPriority;
//taskParams.stackSize = 4*1024;
//gCLI.cliTaskHandle = Task_create(MmwDemo_Bypass_CLI, &taskParams, NULL);
return 0;
}
Config setting: 1: 3D_People_Tracking 2: Overhead_3D_People_Tracking
sensorStop flushCfg dfeDataOutputMode 1 channelCfg 15 7 0 adcCfg 2 1 adcbufCfg -1 0 1 1 1 lowPower 0 0 profileCfg 0 60.75 30.00 25.00 59.10 657930 0 54.71 1 96 2950.00 2 1 36 chirpCfg 0 0 0 0 0 0 0 1 chirpCfg 1 1 0 0 0 0 0 2 chirpCfg 2 2 0 0 0 0 0 4 frameCfg 0 2 96 0 55.00 1 0 dynamicRACfarCfg -1 4 4 2 2 8 12 4 8 5.00 8.00 0.40 1 1 staticRACfarCfg -1 6 2 2 2 8 8 6 4 8.00 15.00 0.30 0 0 dynamicRangeAngleCfg -1 0.75 0.0010 1 0 dynamic2DAngleCfg -1 1.5 0.0300 1 0 1 0.30 0.85 8.00 staticRangeAngleCfg -1 0 8 8 antGeometry0 0 -1 -2 -3 -2 -3 -4 -5 -4 -5 -6 -7 antGeometry1 -1 -1 -1 -1 0 0 0 0 -1 -1 -1 -1 antPhaseRot 1 1 1 1 1 1 1 1 1 1 1 1 fovCfg -1 70.0 20.0 compRangeBiasAndRxChanPhase 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 boundaryBox -4 4 0 8 0 3 sensorPosition 2 0 15 gatingParam 3 2 2 2 4 stateParam 3 3 12 500 5 6000 allocationParam 40 100 0.1 20 0.5 20 maxAcceleration 0.1 0.1 0.1 trackingCfg 1 2 800 30 46 96 55 presenceBoundaryBox -3 3 0.5 7.5 0 3 sensorStart
sensorStop flushCfg dfeDataOutputMode 1 channelCfg 15 7 0 adcCfg 2 1 adcbufCfg -1 0 1 1 1 lowPower 0 0 profileCfg 0 61.2 60.00 17.00 50 328965 0 55.27 1 64 2000.00 2 1 36 chirpCfg 0 0 0 0 0 0 0 1 chirpCfg 1 1 0 0 0 0 0 2 chirpCfg 2 2 0 0 0 0 0 4 frameCfg 0 2 224 0 120.00 1 0 dynamicRACfarCfg -1 10 1 1 1 8 8 6 4 4.00 6.00 0.50 1 1 staticRACfarCfg -1 4 4 2 2 8 16 4 6 6.00 13.00 0.50 0 0 dynamicRangeAngleCfg -1 7.000 0.0010 2 0 dynamic2DAngleCfg -1 5 1 1 1.00 15.00 2 staticRangeAngleCfg -1 0 1 1 antGeometry0 0 0 0 0 -1 -1 -1 -1 -2 -2 -2 -2 antGeometry1 -3 -2 -1 0 -3 -2 -1 0 -3 -2 -1 0 antPhaseRot 1 1 1 1 1 1 1 1 1 1 1 1 fovCfg -1 64.0 64.0 compRangeBiasAndRxChanPhase 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 staticBoundaryBox -3 3 -3 3 -0.5 3 boundaryBox -4 4 -4 4 -0.5 3 sensorPosition 2.9 0 90 gatingParam 3 2 2 3 4 stateParam 3 3 6 20 3 1000 allocationParam 20 20 0.05 20 1.5 20 maxAcceleration 1 0.1 1 trackingCfg 1 4 800 20 37 33 120 1 presenceBoundaryBox -4 4 -4 4 0.5 2.5 sensorStart
The Overhead_3D_People_Tracking in RadarTool_Box can successfully start sensor with bypass manner and PC can receive data, the 3D_People_Tracking in RadarTool_box can start sensor but no data is sent to PC.I think that DSS core does not perform Pcount3DDemo_DPC_RadarProc_dpmTask,because Pcount3DDemo_DPC_RadarProc_reportFxn has not been performed after starting.
Regards,
Nick.