cancel
Showing results for 
Search instead for 
Did you mean: 

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

SKled.1
Senior II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Khouloud ZEMMELI
ST Employee

Hello @Community member​ 

You can change the Speed using MX under GPIO .

Thanks

Khouloud

View solution in original post

1 REPLY 1
Khouloud ZEMMELI
ST Employee

Hello @Community member​ 

You can change the Speed using MX under GPIO .

Thanks

Khouloud