How do I generate a clock for other devices using STM32's GPIO
I 'd like to use a GPIO of STM32 to generate a clock for other peripherals. This clock should have the same precision as HSE.Also, the clock should be stable.Also, once set successfully, its stability is not disturbed by running code/interrupts.And it does not consume the MCU's computing resources.For example, I want to output a stable 12MHz MLCK for Audio Codec on any GPIO on a 72MHz general purpose STM32.
Do you have any suggestions?With timers, PWM, Memory to GPIO DMA, ?
Br