cancel
Showing results for 
Search instead for 
Did you mean: 

High frequency PWM by SW

yellow huang
Associate
Posted on November 28, 2017 at 11:25

Hi All,

Based on STM32F072, how can I generate high-frequency PWM(41.6KHz) by software GPIO mode?

And moreover for read, how to do PWM input by software? is it possible to capture such high-frequency PWM input?

Thanks.

#pwm-stm32f072
2 REPLIES 2
Bertrand_STM
ST Employee
Posted on November 28, 2017 at 11:41

Do you want to generate or read a PWM signal?

Posted on November 28, 2017 at 11:47

Hi Bertrand,

PWM generate and read both two are all needed.

Any idea? if system-clock of STM32F072 is 48MHz.

Thanks.