Clock
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-15 10:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-16 12:11 AM
You can enable the pin(s) MCO in block RCC to route one of the many clock signals out of the STM32.
With STM32CubeIDE or STM32CubeMX you can then configure one of the clock options in the clock configuration tree (bottom left).
Regards
/Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-16 12:22 AM
Hi @GHARI.1​ ,
On STM32H7, clock source is available thanks to clock output MCO1 and MCO2.
You need to configure GPIO pins in alternate mode. Then select the clock source (HSI, HSE, HSI48, PLL1P, ...) and the divider.
Some examples are given with HAL packages :
- NUCLEO-H723ZG - Example LL - RCC - RCC_OutputSystemClockOnMCO
- NUCLEO-H7A3ZI-Q - Example LL- RCC - RCC_OutputSystemClockOnMCO
Please refers to Reference Manual to find clock source availability on each MCO.
Best Regards.
