2024-03-29 11:06 AM
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?
Solved! Go to Solution.
2024-07-08 1:55 AM
Hi @Peaga ,
Reported issue is fixed with STM32CubeMX 6.12.0, already available for use.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-04-02 6:41 AM
Hi @Peaga,
Based on the description of HAL_RCC_MCOConfig, first parameter should have one of following values:
Could you please try replacing RCC_MCO1 by RCC_MCO_PA9?
I look forward for the result of this test on your side before making internal request for the fix.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-04-02 11:21 AM
2024-04-03 2:36 AM
Hi @Peaga ,
Thanks for your confirmation.
I reported this issue to development team.
Internal ticket number: 178119 (This is an internal tracking number and is not accessible or usable by customers).
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-07-08 1:55 AM
Hi @Peaga ,
Reported issue is fixed with STM32CubeMX 6.12.0, already available for use.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.