Report
11 months, 3 weeks ago.

Inverting a PWM signal

Hi,

I want to have 2 PWM outputs; one inverted from the other, preferably without any external hardware. I am using the NUCLEOF401RE board. Is there a way to do this just by using the inverted channel on the same timer? (I have tried this to no luck) If not, whats the best way to approach this?

The pictures below are from the MBED site.

/media/uploads/dnonoo/pwm_description.jpg

/media/uploads/dnonoo/nucleo_pins.jpg

Thanks for any advice,

Dan

Comment on this question

1 Answer

11 months, 3 weeks ago.

Your idea is correct but I'm not sure why "no luck". Can you post up your code so we can see how you enabled the "N" channel of the same PWM?


To post an answer, please log in.