9 years, 7 months ago.

Can the PwmOut (from STM32F401RE) be used as a 2MHz clock?

Can the PwmOut (from STM32F401RE) be used as a 2MHz clock? I'm trying to use to that clock a CCD camera.

Question relating to:

1 Answer

9 years, 7 months ago.

I believe the answer is no, but see here:

https://developer.mbed.org/questions/5473/High-speed-clock-signal-From-GPIO-Nucleo/

Accepted Answer

So from there the answer is yes :P. As long as you use FastPWM instead of regular pwm.

posted by Erik - 02 Apr 2015

Looks like if I use Eric Olieman's fastPWM libraries I can hit higher than 0.5MHz. Not sure how high it can hit on the STM32F401RE because I don't have an oscilloscope to check it out yet.

posted by Peter Xian 03 Apr 2015