STM32G070. In the code generated by the CubeMX, there is the colock source is selected for the TIM1/15, TIM1CLockSelection/TIM15CLockSelection. But in datasheet, the clock source is only TIMPCLK and no other source. I think this is the tool bug.
void SystemClock_Config(void){ RCC_OscInitTypeDef RCC_OscInitStruct = {0}; RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; RCC_PeriphCLKInitTypeDef PeriphClkInit = {0}; /** Configure the main internal regulator output voltage */ HAL_PWREx_ControlVoltage...