2019-08-15 05:09 PM
I found that the CubeMX 5.3 initlization code missing a part; specifically the HRTIM clock initialization where the PLL is defined. There's a related constant that also needs to be defined. In any case can someone confirm the problem and how long it may take to get the updated patch.
G474 clock initialization:
PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_USART1;
PeriphClkInit.Usart1ClockSelection = RCC_USART1CLKSOURCE_PCLK2;
F334 clock initialization:
PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_HRTIM1|RCC_PERIPHCLK_TIM1;
PeriphClkInit.Tim1ClockSelection = RCC_TIM1CLK_PLLCLK;
PeriphClkInit.Hrtim1ClockSelection = RCC_HRTIM1CLK_PLLCLK;