2022-02-28 03:11 PM
Does anyone get good results in current consumption with STM32G0C1?
I'm using stop mode 1, HSI as clock source and can't get below 1mA on current consumption.
2022-02-28 11:57 PM
Hello,
May you check you have no PLL ON? It is not switched off by the stop entry if I remember correctly.
Regards,
Antoine
2022-03-01 02:41 PM
Thanks Antoine.
Still can get less than 1mA consumption in stop mode.
Looks like PLL Disable doesn't help.
This is how I am switching to Stop Mode 1:
HAL_SuspendTick();
LL_RCC_PLL_Disable();
HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);
BTW it goes to Shutdown Mode very well (consumption below 1uA).
Any ideas what I'm doing wrong?
Regards,
Lyubomyr
2022-03-02 12:18 AM
Maybe you should check that PWR controller clock is ON. If not clocked I think product only goes to sleep as just core can pass the information. You can switch ON this clock through LL or by hitting the bit.
I think the example in cube library should be properly tested and lead you to Stop 1 correctly. May you test this if you fail with clock activation?
Thank you and regards,
Antoine