STM32 clock frequency calculation error #54719
Labels
bug
The issue is a bug, or the PR is fixing a bug
platform: STM32
ST Micro STM32
priority: low
Low impact/importance bug
Describe the bug
Some STM32 model use a wrong pll frequency calculation which will cause an overflow.
To Reproduce
Build sample
samples/subsys/usb/console
on boardblackpill_stm32f411ce
or other stm32 board (except H7 MP1 U5) which support USB.Expected behavior
USB sample work fine.
Impact
What impact does this issue have on your progress (e.g., annoyance, showstopper)
USB clock check will not pass if
CONFIG_USB_DC_STM32_CLOCK_CHECK=y
Logs and console output
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: