AnsweredAssumed Answered

CubeMX 4.20 pin initialization problem in stm32f0xx_hal_msp.c

Question asked by Roman Merkin on Mar 24, 2017
Latest reply on May 4, 2017 by Jeanne Joly

CubeMX 4.20 pin initialization problem . Hi, after I installed version 4.20 (no problem on previous version), TIM1_PWM_CH1 on pin A8 din't work (MCU - stm32f030r8t6, IDE - KEIL 5.20 ).

I found that in the file stm32f0xx_hal_msp.c in HAL_TIM_MspPostInit function, not generated string: GPIO_InitStruct.Alternate = GPIO_AF2_TIM1; 

Outcomes