Skip to main content
Roman Merkin
Visitor II
March 24, 2017
Solved

CubeMX 4.20 pin initialization problem in stm32f0xx_hal_msp.c

  • March 24, 2017
  • 3 replies
  • 761 views
Posted on March 24, 2017 at 13:42

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; 

    This topic has been closed for replies.
    Best answer by Jeanne Joly
    Posted on May 04, 2017 at 14:50

    Hi

    merkin.roman

    ,

    I confirm that the issue you reported will be available in the next CubeMX release (4.21) that will be available soon.

    BR. Eric

    3 replies

    Khouloud GARSI
    ST Employee
    March 24, 2017
    Posted on March 24, 2017 at 18:05

    Hi

    merkin.roman

    ,

    Your feedback is reported internally for check.

    Thanks a lot for highlighting this and sorry for anyinconvenience this may have caused.

    Khouloud.

    Khouloud GARSI
    ST Employee
    March 28, 2017
    Posted on March 28, 2017 at 17:08

    Hi

    merkin.roman

    ,

    The issue is forwarded to our CubeMX team and will be fixed in the coming version.

    Thanks again

    Khouloud.

    Jeanne Joly
    Jeanne JolyBest answer
    Associate
    May 4, 2017
    Posted on May 04, 2017 at 14:50

    Hi

    merkin.roman

    ,

    I confirm that the issue you reported will be available in the next CubeMX release (4.21) that will be available soon.

    BR. Eric