Closed sunnyguhz closed 9 months ago
Could you try without LTO.
Could you try without LTO.
I'm sorry,the previous current data was incorrect because I had previously modified the operating frequency. I reinstalled the development board. I try it again with LTO, It's consumes 3433uA of electric curren in shutdown mode. And It consumes 3268uA of electric curren without LTO in shutdown mode, more than deepsleep mode.
So, it is obvious that there is a problem with STM32G030C8T6 in shutdown mode.
Hi @sunnyguhz I've tested and shutdown works. Some point to pay attention:
I've made a PR to enhance this mode but there is no issue.
I take a lowpower test with STM32G030C8T6, idle/sleep/deepsleep is all right. It consumes 7uA of electric current when I use deepsleep mode. But It consumes 1520-2200uA of electric current when I use shutdown mode, I think smomething wrong with it.
Desktop (please complete the following information):
include "STM32LowPower.h"