Skip to main content
Roman Merkin
Visitor II
Mar 24, 2017 12:42 PM UTC
Solved

CubeMX 4.20 pin initialization problem in stm32f0xx_hal_msp.c

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.
    Jeanne Joly
    Jeanne JolyBest answer
    Associate
    May 4, 2017 12:50 PM UTC
    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
    Mar 24, 2017 5:05 PM UTC
    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
    Mar 28, 2017 3:08 PM UTC
    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 12:50 PM UTC
    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