Skip to main content
f239955_stm1
Visitor II
October 14, 2016
Question

Bug of MCO Pin configuration by CubeMX

  • October 14, 2016
  • 2 replies
  • 647 views
Posted on October 14, 2016 at 09:43

Dear STMicro staff,

I found a bug in CubeMX, so I want you to fix this bug.

Device : STM32F429IEHx

Peripheral : Master Clock Output

In HAL_RCC_MCOConfig(), MCO pin's speed is set in GPIO_SPEED_FREQ_VERY_HIGH.

But after that, MX_GPIO_Init() is called, and the function changes the speed into GPIO_SPEED_FREQ_LOW.

Because of this speed change, Highly frequency clock won't be output from MCO port.

I hope this information will help you improve your products.

Yours faithfully,

F.Nimura
    This topic has been closed for replies.

    2 replies

    Nesrine M_O
    Associate
    October 14, 2016
    Posted on October 14, 2016 at 10:22

    Hi F.Nimura,

    Thank you for your feedback. The issue has been reported internally.

    -Syrine-

    Sirma Siang
    ST Employee
    October 21, 2016
    Posted on October 21, 2016 at 17:15

    Hi F.Nimura,

    GPIO_Init uses GPIO_InitStruct.

    Its settings are coming from the Configuration Tab->GPIO.

    In this window, you have to select the needed output speed for RCC_MCO_1.

    Could you please confirm which settings are in use in that window ?

    KR

    Sirma