Skip to main content
elb-lab
Associate II
October 28, 2021
Question

Hello to all. I just wanted to mention that the calculation of the working frequency of the USB port, in the library module "stm32f3xx_hal_rcc_ex.c", line 1228, in the function "HAL_RCCEx_GetPeriphCLKFreq", in case the USB prescaler is set as PLLfreq

  • October 28, 2021
  • 1 reply
  • 738 views

..

This topic has been closed for replies.

1 reply

elb-lab
elb-labAuthor
Associate II
October 28, 2021

Hello to all. I just wanted to mention that the calculation of the working frequency of the USB port, in the library module "stm32f3xx_hal_rcc_ex.c", line 1228, in the function "HAL_RCCEx_GetPeriphCLKFreq", in case the USB prescaler is set as PLLfreq / 1.5, the frequency of the PLL is MULTIPLIED by 1.5 instead of divided.