PWM with timer 0/1/2/3

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by MathiasP on Thu Apr 04 23:07:24 MST 2013


I'm trying to do PWM output with the LPC4350 timers. I managed to get an output of 50 % PWM by toggling the TIM0_M0 pin on external match.

But I don't know how to create a PWM with e. g. 70 %. When I configure the match action to set the pin high on external match, the pin is always high an doesn't go low on timer reset.

Has anyone done this before? 


Best regards