I would like to use the hard coded config in the mmw_cli.c file in the motion and presence demo.
I get the following error when trying to use this config.
Error: mmWave Control Initialization failed [Error code -203227134] [errorLevel 2] [mmWaveErrorCode -3101] [subsysErrorCode 0]
Exception: ../motion_detect.c, line 2522.
When inspecting the code, I have found that the gMmwMssMCB.ctrlHandle never gets set. This is checked inside of the factory config functions and ultimately results in the error.
I am using the exact same configuration as the motion demo config, which works when configuring through the visualizer.
Can you please help me identify why using the hard coded config would result in an error in the factory calibration functions?
I have gone through the following efforts in trying to debug this problem:
- stepped through the code to verify that the config commands are valid, they are
- modified the factoryCalibCfg command parameters to point to the ATE calibration location manually
- identified that SOC_XWRL64XX doesn't appear to be defined anywhere
- create a debug build and a release build, neither works
Thank you in advance.
This is an image of the radarCmdString I am using.