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

STM32: Only LSE clock should be enabled in STOP mode #8284

Merged
merged 1 commit into from Oct 15, 2018

Conversation

Projects
None yet
5 participants
@Eman869
Contributor

Eman869 commented Oct 1, 2018

Check LPUART clock source before enable it in STOP mode, only LSE could be enabled in STOP mode.

Description

It is to fix the extra power consumption in STOP mode. HSI clock would cause extra power consumption if HSI clock is enabled in STOP mode. Only LSE clock could be enabled in STOP mode.

Fix #8264

Pull request type

[X] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
Check LPUART clock source in STOP mode
Check LPUART clock source before enable it in STOP mode, only LSE could be enabled in STOP mode.

@Eman869 Eman869 changed the title from Only LSE clock should be enabled in STOP mode to STM32: Only LSE clock should be enabled in STOP mode Oct 1, 2018

@0xc0170 0xc0170 requested a review from ARMmbed/team-st-mcd Oct 1, 2018

@0xc0170

0xc0170 approved these changes Oct 1, 2018

@NirSonnenschein

This comment has been minimized.

Contributor

NirSonnenschein commented Oct 11, 2018

/morph build

@cmonr cmonr merged commit c68e7c6 into ARMmbed:master Oct 15, 2018

11 checks passed

continuous-integration/jenkins/pr-head This commit looks good
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
jenkins-ci/cloud_client_smoke_test Success
Details
jenkins-ci/unittests Success
Details
travis-ci/astyle Passed, 626 files
Details
travis-ci/docs Local docs testing has passed
Details
travis-ci/events Passed, runtime is 9245 cycles (-748 cycles)
Details
travis-ci/gitattributestest Local gitattributestest testing has passed
Details
travis-ci/licence_check Local licence_check testing has passed
Details
travis-ci/littlefs Passed, code size is 8372B (+0.00%)
Details
travis-ci/tools-py2.7 Local tools-py2.7 testing has passed
Details

@Eman869 Eman869 deleted the Eman869:Eman869-fix_lpuart_hsi_power_consumption branch Oct 24, 2018

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