cancel
Showing results for 
Search instead for 
Did you mean: 

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

Bastian Toulelan
Associate II
 
1 ACCEPTED SOLUTION

Accepted Solutions
S.Ma
Principal

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.

View solution in original post

2 REPLIES 2
S.Ma
Principal

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

Thank you very much