Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM32L4 deepsleep broken between 132 and 133 by Jerome Countant changes #3542

Closed
helmut64 opened this issue Jan 7, 2017 · 2 comments
Closed

Comments

@helmut64
Copy link
Contributor

helmut64 commented Jan 7, 2017

The STM32L4 deeplseep in rev-133 needs 120uA instead of 7uA in rev-132 due to the changes of Jerome Countant in checkin: 8627204, see changes in sleep.c->deepsleep, restoring this changes is a workaound. I believe the "HAL_PWREx_EnableLowPowerRunMode()" enable/disable is missing.

  • Type: Bug

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

@jeromecoutant
Copy link
Collaborator

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

@helmut64
Copy link
Contributor Author

The problem is solved and I verified it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants