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.

CCS / IWR1642BOOST:IWR1642, sensorstop and re-opened, high-accurate-16xx

Part Number: IWR1642BOOST

Tool/software: Code Composer Studio

Hello, I would like to know how to turn the sensor back on after turning it off?
(do not restart the power)
I used SDK2.0.0.4, and the demo I selected was lab0005-high-accurate-16xx of toolbox2.4.0.
I turned on the sensor using this configuration:
DfeDataOutputMode 1

ChannelCfg 1 2 0

AdcCfg 2 1

AdcbufCfg 0, 1, 1, 1

ProfileCfg 0 77 77 114.4 00 33.71 1 512 5000 00 48

ChirpCfg 0, 0, 0, 0, 0, 0, 2
FrameCfg 0, 0, 10, 0, 500, 1, 0

LowPower 0 1

GuiMonitor 0, 0, 0, 0, 0, 0
HighAccCfg 2 4 40 0 0 0
sensorStart
Use the following configuration to close the sensor:
sensorStop
Failed to reopen (both tried) :
sensorStart
And:
DoReconfig 0
sensorStart
The error reported is as follows:
Error: MMWDemoMSS mmWave Configuration failed [Error code-203227134]

  • Hi 1 11,

    Have you tried running a flushCfg command after issuing the sensorStop command?

    Cheers,

    Akash

  • No, I'll try. Thanks for the answer

  • Hello, I've re-added flushCfg for configuration and found that there's still a problem with the run result.
    First configuration - successful run, sensor on
    {
    {" dfeDataOutputMode 1 \ n \ r "},
    {"channelCfg 1 2 0 \n\r"},
    {" adcCfg 2 1 \ n \ r "},
    {"adcbufCfg 0 1 1 \n\r"},
    {"profileCfg 0 77 77 114.4 00 33.71 1 512 5000 000 48 \n\r"},
    {"chirpCfg 0, 0, 0, 0, 0, 2 \n\r"},
    {"frameCfg 0, 0, 10, 500, 1, 0, n, r"},
    {"guiMonitor 0 0 0 0 0 0 \n\r"},
    {" lowPower 0 1 \ n \ r "},
    {"highAccCfg 2 4 40 0 0 0 \n\r"},
    {" sensorStart \ n \ r "},
    };
    Second configuration - successful run, sensor off
    Uint8_t * radarCmdString1 [MAX_RADAR_CMD1] =
    {
    {" sensorStop \ n \ r "},
    };
    Third configuration - failed to run, indicating configuration error
    Uint8_t * radarCmdString2 [MAX_RADAR_CMD2] =
    {
    {" flushCfg \ n \ r "},
    {" doReconfig 1 \ n \ r "},
    {" dfeDataOutputMode 1 \ n \ r "},
    {"channelCfg 1 2 0 \n\r"},
    {" adcCfg 2 1 \ n \ r "},
    {"adcbufCfg 0 1 1 \n\r"},
    {"profileCfg 0 77 77 114.4 00 33.71 1 512 5000 000 48 \n\r"},
    {"chirpCfg 0, 0, 0, 0, 0, 2 \n\r"},
    {"frameCfg 0, 0, 10, 500, 1, 0, n, r"},
    {"guiMonitor 0 0 0 0 0 0 \n\r"},
    {" lowPower 0 1 \ n \ r "},
    {"highAccCfg 2 4 40 0 0 0 \n\r"},
    {" sensorStart \ n \ r "},
    };
    The error reported is as follows:
    [Cortex_R4_0] Debug: CLI is operational
    Debug: MMWDemoMSS Received CLI sensorStart Event
    Error: MMWDemoMSS mmWave Configuration failed [Error code-203227134]

  • Hi 1 11,

    Apologies for the delay, are you still seeing this issue.

    Cheers,

    Akash