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

soc: stm32h7: Fails to boot with LDO power supply, if soc has SMPS support. #38277

Closed
alexanderendian opened this issue Sep 3, 2021 · 2 comments
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32

Comments

@alexanderendian
Copy link
Contributor

Describe the bug
In soc_m7.c, SMPS is enabled if the soc has SMPS-support, without regard for the actual board design. For boards designed to use LDO, enabling SMPS causes the microcontroller to reset, presumably due to losing power.

To Reproduce
Run Zephyr on a STM32H7 design with LDO supply using a part which supports SMPS.

Expected behavior
The choice between SMPS and LDO should be configurable on a per board basis.

Impact
No impact for the moment as it can be worked around by commenting out the SMPS path in soc_m7.c.

Related issues
#34732 - also regarding power config of STM32H7.

@alexanderendian alexanderendian added the bug The issue is a bug, or the PR is fixing a bug label Sep 3, 2021
@gmarull gmarull added the platform: STM32 ST Micro STM32 label Sep 3, 2021
@erwango
Copy link
Member

erwango commented Sep 3, 2021

@ABOSTM Feel free to close if duplicate of #34732

@ABOSTM
Copy link
Collaborator

ABOSTM commented Sep 7, 2021

Duplicate of #34732

@ABOSTM ABOSTM marked this as a duplicate of #34732 Sep 7, 2021
@ABOSTM ABOSTM closed this as completed Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32
Projects
None yet
Development

No branches or pull requests

4 participants