Question
STM32cubeMX generating HSE divider in wrong location
When changing the HSE clock divider to 2 in STM32cubeMX the code:
/** Enable the HSE Prescaler
*/
__HAL_RCC_HSE_DIV2_ENABLE();Is generated after the HAL_RCC_ClockConfig is called. causing the clock divider on the HSE not to be taken into account when calculation the peripheral clock dividers/periods.
