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

Optimize H573RI/H503KB/H503RB clock config. #2507

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

dojyorin
Copy link
Contributor

@dojyorin dojyorin commented Aug 29, 2024

Basically same as "Optimize PLL ratio" in #2506.

Summary

This PR fixes/implements the following bugs/features

  • Optimize PLL ratio

By setting SRC / M = 2 N = 250 for PLL1/2/3 you can flexibly determine clock source frequency and easily calculate division P/Q/R.

CubeMX Screenshots
  • for H503KB/H503RB
    image

  • for H573RI
    image

variants/STM32H5xx/H503RBT/generic_clock.c Outdated Show resolved Hide resolved
variants/STM32H5xx/H503RBT/generic_clock.c Outdated Show resolved Hide resolved
variants/STM32H5xx/H503RBT/variant_NUCLEO_H503RB.cpp Outdated Show resolved Hide resolved
variants/STM32H5xx/H503RBT/variant_NUCLEO_H503RB.cpp Outdated Show resolved Hide resolved
variants/STM32H5xx/H563R(G-I)T_H573RIT/generic_clock.c Outdated Show resolved Hide resolved
variants/STM32H5xx/H563R(G-I)T_H573RIT/generic_clock.c Outdated Show resolved Hide resolved
Complement of stm32duino#2506

Signed-off-by: Kazuki Ota <[email protected]>
Co-Authored-by: Frederic Pillon <[email protected]>
@fpistm fpistm added the fix 🩹 Bug fix label Sep 3, 2024
@fpistm fpistm added this to the 2.9.0 milestone Sep 3, 2024
@fpistm fpistm merged commit 2aa4e44 into stm32duino:main Sep 3, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix 🩹 Bug fix
Projects
Development

Successfully merging this pull request may close these issues.

2 participants