Library that allows for higher resolution and speed than standard mbed PWM library using same syntax (drop-in replacement).

Dependents:   PwmOscillator FastStepDriver TLC5940 CameraTest ... more

Issue: FastPWM problem on NucleoF401RE

Hi, I need to generate a 1Mhz PWM on my NucleoF401RE board. I've imported your library but if I set mypwm.period_us(2) and mypwm.pulsewidth(1) the code doesn't works.

Can you please help me?

2 comments:

20 Mar 2017

It works, sorry. I've adjusted prescaler setup.

02 Nov 2017

Hi,

I'm also experiencing problems on NucleoF401. I can't see any waveform on output, I'm on mbed classic r151. Using PwmOut object it works well. Can you help me in anyway? Thanks in advance!