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.

IWRL6432BOOST: ccs debug and system hang on not receiving edma done Semaphore

Part Number: IWRL6432BOOST
Other Parts Discussed in Thread: AWRL6432, SYSCONFIG

Tool/software:

Hi TI engineer : 

    I'm using sampling code of Capon2D from radar_toolbox_2_10_00_04\source\ti\examples\InCabin_Sensing\AWRL6432_Life_Presence_Detection_Demo_Capon2D\src\xwrl6432, 

 we burn empty.release.appimage into 6432 BOOST,and ccs 12.6 debug with following switch pin setting

We turn on CLI_ByPassApi with .syscfg setting as following

#define FEATURE_LITE_BUILD_EN 0
#define SPI_ADC_DATA_STREAMING 0
#define QUICK_START 1
#define DYNAMIC_RECONFIG 1
#define ENABLE_MONITORS 0

char* radarCmdString[MAX_RADAR_CMD] =
{
"sensorStop 0 \r\n",
"channelCfg 7 3 0 \r\n",
"chirpComnCfg 40 0 0 128 4 61.0 1 \r\n",
"chirpTimingCfg 7 24 0 65 57.5 \r\n",
"frameCfg 2 15 4080 16 200 0 \r\n",
"guiMonitor 2 0 0 0 0 1 0 0 0 0 0 \r\n",
"sigProcChainCfg 32 16 2 0 4 16 0 20 \r\n",
"angleHeatmapGenCfg 1 1 -3 3 \r\n",
"clusterCfg 0 0.5 2 \r\n",
"cfarCfg 2 8 4 3 0 9.0 0 1 4 6 2 9.0 0.80 0 0 0 1 1 1 1 0.5 1.5 0.15 \r\n",
"aoaFovCfg -60 60 -60 60 \r\n",
"rangeSelCfg 0.2 2.0 \r\n",
"clutterRemoval 1 \r\n",
"antGeometryCfg 0 0 1 1 0 2 0 1 1 2 0 3 2.418 2.418 \r\n",
"compRangeBiasAndRxChanPhase 0.0 1.00000 0.00000 -1.00000 0.00000 1.00000 0.00000 -1.00000 0.00000 1.00000 0.00000 -1.00000 0.00000 \r\n",
"adcDataSource 0 adc_data_0001_CtestAdc6Ant.bin \r\n",
"adcLogging 0 \r\n",
"lowPowerCfg 0 \r\n",
"factoryCalibCfg 1 0 40 0 0x1ff000 \r\n",
"sensorStart 0 0 0 0 \r\n"
};

We add some debug message inside the code, and observe the system will hang in DPU_RangeProcHWA_process() waiting edma done semaphore

console debug message

6432_debug_system hang.txt
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Cortex_M4_0]
Drivers open
Get Device Version
DPC_Init begin
DPC_Init done
CLI_init begin
CLI_init done
inside powerManagementTask
Starting the Demo with Default Configurations...
InRadar: sensorStop 0
Done
CLI_MMWaveChannelCfg: 7 3 0
InRadar: channelCfg 7 3 0
Done
CLI_MMWaveChirpCommonCfg: 40 0 0 128 4 610.00 1
InRadar: chirpComnCfg 40 0 0 128 4 61.0 1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

We also add debug message inside the call back function of rangeProcHWA_EDMA_transferCompletionMMCallbackFxn(), but not print any debug information inside the call back function

Please help us

Sincerely,

Eric Syu

  • Hey Eric,

    Thanks for reaching out regarding this issue with the processing chain. One of our engineers will get back to you within a day or two.

    Thank you for your patience,

    Kristien

  • Hi Eric,

    I can start looking into this - One question I have to start, does the demo work when you are not using CLI bypass and send the config over a terminal?

    Additionally, Please check your .sysconfig parameters. I believe you should enable FEATURE_LITE_BUILD as per the following from the user's guide for motion/presence demo:

    Regards,
    Tim