I am able to successfully run the motion and presence demo for the IWRL6432 when building the project in CSS as a release (or using the release prebuilt binary). Using the low power visualizer, I can flash, and upload radar configurations as explained in the instructions.
My problem is that when I connect through a target configuration in CSS and load the debug version of the build, I get an error when I try to send the radar config. I have tried several methods to load the radar config
- Loading the config via the visualizer (as was possible with the xWR6843)
- Loading a hard coded config
- Inputting the radar config line by line through the terminal
Using the above methods, I get the following error
" Error: mmWave Control Initialization failed [Error code -203227134] [errorLevel 2] [mmWaveErrorCode -3101] [subsysErrorCode 0] Exception: ../motion_detect.c, line 2518."
I have tracked down error -3101 which is defined as an invalid argument. This error occurs in the MMWave_factoryCalibConfig() function in mmwave.c. This error is triggered here when the mmWaveHandle is NULL.
This NULL ultimately comes from within MMWave_init() which calls MMWave_initLink() which calls rl_mmWaveLinkInit() which fails. The mmWave link is unable to be set up so an error is returned.
Here is the radar config that I am using.
Can you please give me some insight on what might cause the mmWave to not link? I find it odd that this only happens when debugging and not in a release build.
Thank you in advance.