Skip to main content
Bastian Toulelan
Associate II
March 22, 2019
Solved

How can i supply a clock (16 Mhz for example) to an external device which has a clock_in pin using STM32Cubemx ?

  • March 22, 2019
  • 2 replies
  • 730 views

..

This topic has been closed for replies.
Best answer by S.Ma

Depends. Simple would be to use MCO output which is a specific pin alternate which output one of several internal clock source with power of 2 programmable prescaling. Otherwise, simply use a timer pwm generator channel output where frequency and duty cycle is more flexible.

2 replies

S.Ma
S.MaBest answer
Principal
March 22, 2019

Depends. Simple would be to use MCO output which is a specific pin alternate which output one of several internal clock source with power of 2 programmable prescaling. Otherwise, simply use a timer pwm generator channel output where frequency and duty cycle is more flexible.

Bastian Toulelan
Associate II
March 22, 2019

Thank you very much