Skip to main content
SKled.1
Senior
September 4, 2020
Solved

Selecting PA8 pin function as MCO configures it with speed = LOW

  • September 4, 2020
  • 1 reply
  • 958 views

In CubeIDE 1.4 in the graphical configurator, using a STM32F091, if you select the PA8 pin function as MCO,

the generated code in main.c / GPIO init will configure the pin as AF0 with LOW speed.

This should really be HIGH speed, it doesn't get any higher than the system clock frequency ;) And you won't see much on the scope with that limited analog bandwidth, when you configure this for the purpose of checking whether the MCU really runs at the desired clock speed.

This topic has been closed for replies.
Best answer by Khouloud ZEMMELI

Hello @Community member​ 

You can change the Speed using MX under GPIO .

Thanks

Khouloud

1 reply

Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
September 4, 2020

Hello @Community member​ 

You can change the Speed using MX under GPIO .

Thanks

Khouloud