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

Check if power source is already configured on STM32H7 #428

Closed
wants to merge 1 commit into from

Conversation

opkaizen
Copy link

@opkaizen opkaizen commented Apr 8, 2024

If the power source is already configured, writing on the register can cause a deadlock if the configuration does not match, which can be tricky to fix. This is the check that is done in the STM32 HAL library to avoid this.

I got this issue because the STM32H757 demo board and the STM32H745XI discovery board use the SMPS, and even though the power on reset configuration is LDO|SMPS, writing on LDO deadlocked my boards.

If the power source is already configured, writing on the register can
cause a deadlock if the configuration does not match, which can be
tricky to fix. This is the check that is done in the STM32 HAL library
to avoid this.
@danielinux
Copy link
Member

Hi @opkaizen, thanks for spotting this. Could you please get in touch with [email protected] to set up a contributor agreement?

@danielinux
Copy link
Member

hi @opkaizen did you get in touch with us yet regarding the CA?

@opkaizen
Copy link
Author

Hi, not yet, I will soon :)

@danielinux
Copy link
Member

The CA process did not go through. See zd17861.

@danielinux danielinux closed this May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants