Skip to content

STM32F4: have MCO2 output (PC9) HSE-clock #58443

Closed Answered by erwango
rjmaris asked this question in General
Discussion options

You must be logged in to vote

Thanks for this feedback.

I came to the same conclusion that pinctrl-0 prop would finaly fit nicely in rcc node. Usingit in a mco node as you propose make it clean.
It also allows to instanciate the code when 2 mcos are available.
We can get STM32 clock control drivers performing the pinctrl api call in stm32_clock_control_mco_init() if pinctrl node is present.
Once done, configuring the clock source would be an easy addition and would allow to fully remove Kconfig.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@erwango
Comment options

erwango Aug 31, 2023
Collaborator

@rjmaris
Comment options

@erwango
Comment options

erwango Sep 1, 2023
Collaborator

Answer selected by rjmaris
@rjmaris
Comment options

@joerchan
Comment options

Comment options

You must be logged in to vote
1 reply
@erwango
Comment options

erwango Jul 3, 2024
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: STM32 ST Micro STM32
3 participants