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.
Tool/software:
Hi,
I tried the motion and detection demo in sdk 5.5.3.0 with lowpowercfg = 1 on AWRL6432BOOST, but I found it can't work ok. I enabled the quick eval in syscfg and changed the lowpoercfg to 1 in mmw_cli.c
It can wakeup from deepsleep mode after sleep. But during resume, it run incorrectly after calling UART driver. Pls find detail info below.
At below point, everything is ok.
Then step over, the PC goes wrong address.
Would you pls try to reproduce the problem and help to fix this issue?
Thanks,
Chris
Hi Chris,
You cannot debug the device with lowpowercfg = 1, you need to set it to 2. When you enable the low power config and try to debug, when the device enters deep sleep, the debugger circuitry shuts down, and you can't recover it.
Best,
Nate
Nathan,
I added a while loop at the beginning of power_LPDSresumehook to debug this case. Have you tried and reproduced the problem? You can use default code with lowpowercfg 1 to test.
Thanks,
Chris
Hi Chris,
I wrote a guide on it here. Did you follow the instructions?
The default code with a default config that uses lowPowerCfg 1 should work if you follow the above instructions. Did you set the gDebug flag? Perhaps that's the issue here.
Best,
Nate
Nathan,
I did more tests and found if the problem only happens with debug version of image of SDK5.5.3 motion and presence detection demo, no such issue with release version image.
You can reproduce the problem with MMWAVE_L_SDK_05_05_03_00\examples\mmw_demo\motion_and_presence_detection\prebuilt_binaries\xwrL64xx-evm\motion_and_presence_detection_demo.debug.appimage.
Would you pls kindly advise why debug version of image can't work ok and how to fix it with SDK5.5.3?
Thanks,
Chris
I can't find "Keep debug active during LPDS" in power tab of sysconfig 1.20. Is the feature removed?
Thanks,
Chris
Hi Chris,
Yes it was removed. You can just ignore that section in the guide.
Best,
Nate
I did more tests and found if the problem only happens with debug version of image of SDK5.5.3 motion and presence detection demo, no such issue with release version image.
You can reproduce the problem with MMWAVE_L_SDK_05_05_03_00\examples\mmw_demo\motion_and_presence_detection\prebuilt_binaries\xwrL64xx-evm\motion_and_presence_detection_demo.debug.appimage.
Would you pls kindly advise why debug version of image can't work ok and how to fix it with SDK5.5.3?
Nathan,
How to solve the debug version problem?
Thanks,
Chris
Hi Chris,
I have replicated your problem and filed it for the SDK team to fix. For now, please just use the release version of the code if you want to use lowPowerCfg 1, else use lowPowerCfg 2 for the debug version.
Best,
Nate