The STM32L4 deeplseep in rev-133 needs 120uA instead of 7uA in rev-132 due to the changes of Jerome Countant in checkin: 8627204d3667dfc548c2b138d70f0bb065fdd0d0, see changes in sleep.c->deepsleep, restoring this changes is a workaound. I believe the "HAL_PWREx_EnableLowPowerRunMode()" enable/disable is missing.
I tested this with the L4 Nucleo64 board.
BTW: If there is more we can do to get the power consumption down the a few uA less, I would be interested in this. Accounting to the data sheet Stop2 with RTC should eat only 2uA. Any advise would be appreciated.
Regards Helmut
Hi
I confirm that current deepsleep consumption is 120uA with NUCLEO_L476RG
This becomes back to 7uA after adding HAL_PWREx_EnableLowPowerRunMode() call
Thanks Helmut for issue reporting
Jerome
The problem is solved and I verified it.
Most helpful comment
Hi
I confirm that current deepsleep consumption is 120uA with NUCLEO_L476RG
This becomes back to 7uA after adding HAL_PWREx_EnableLowPowerRunMode() call
Thanks Helmut for issue reporting
Jerome