Atmosic / hal_atmosic

Hardware Abstraction Layer for Atmosic SoCs in the Zephyr Environment
https://atmosic.com
Apache License 2.0
0 stars 0 forks source link

MCU wont enter deep sleep #2

Open edantoni96 opened 2 weeks ago

edantoni96 commented 2 weeks ago

Hi Atmosic team,

I know this project is still under development, earlier last month I contacted support and asked several things regarding the Zephyr integration. Now, I have used some of the preliminary releases to build my project. I found an issue around power management where the device won't enter deep sleep mode. For easy replication, I used the blink example and just add -DCONFIG_PM=y in my build script. The evk that I use is ATMEVK-3330e-QN-6, and I follow the jumper configuration guide for power profiling. I'm using MCUBOOT and following the guide in zephyr/board/atm33evk/doc to build the project The dts I used is ATMEVK-3330e-QN-7 I saw the application is loading correctly and the led is blinking. But here is the power consumption result that I had.

image

i saw that the power.c file is already implemented. is there a power management example that I could refer to?