STM32G0B1 and MCO pin
Hello!
I'm working with STM32G0B1 MCU and using CubeMX, I've enabled RCC_MCO for PA9 pin (HSI 16 source, 128 as prescaler) and a simple Input for PA8 pin. The code was generated to CubeIDE and "SystemClock_Config" function calls this method at the end:
HAL_RCC_MCOConfig(RCC_MCO1, RCC_MCO1SOURCE_HSI, RCC_MCODIV_128);
But I noticed that both PA9 and PA8 outputs 0.125 MHz, even "MX_GPIO_Init" function setting correctly the pins!
Searching on HAL files, I found that "RCC_MCO1" defines to "RCC_MCO_PA8", so CubeMX should config MCO as "RCC_MCO_PA9".
Can we confirm this as a bug?
