2025-07-16 6:15 AM
Hi all
For some reason my MCO(PA8) only outputting 8MHz despite me configuring it for 60MHz
I am completely baffled because I have followed all the correct register settings(as far as I am aware) for the clock configuration, and have followed the clock diagram from the stm32cubeide
I'm working on an STM32U5G9x and its my first time working on such an advanced topic, so apologies beforehand.
Kind regards
2025-07-16 8:55 AM
How do i do this?
2025-07-16 8:57 AM
Why you didn't attach your ioc file?
2025-07-16 9:08 AM
@Maaz1 wrote:This is my ioc file
No, it's just an incomplete screenshot.
You still haven't shown the MCO configuration!
@mƎALLEm showed you where it is:
2025-07-16 9:09 AM
@Maaz1 wrote:How do i do this?
Which part(s) ?
2025-07-16 1:19 PM
>>How do i do this?
Perhaps answer some questions, because we've no idea what you're actually working with.
What Board is this?
Does it have a USART? Do you have that working yet?
I tend to get a USART working first, get HardFault_Handler and Error_Handler to present actionable data if it finds itself there.
Decode registers of interest, read the Reference Manual, and unpack the content, this will allow you to confirm things are functioning internally as you expect / anticipate them to be.
2025-07-17 12:38 AM - edited 2025-07-17 12:41 AM
2025-07-17 12:42 AM
2025-07-17 12:43 AM
2025-07-17 1:31 AM - edited 2025-07-17 1:31 AM
@Maaz1 wrote:
Hi
I have attached my ioc file
Hello,
I've generated a project based on your ioc file and tested it and I can see 60Mhz on PA8 with a STM32U5G9J-DK2 board:
2025-07-17 1:51 AM
Everyone can see every post - there's no need to make separate identical replies!
You can use '@' to mention multiple people in one post - like this: @Maaz1 @Andrew Neil