AnsweredAssumed Answered

4 Channel PWM using STATES and EVENTS

Question asked by Mario Rod on Mar 27, 2017

Hello everyone I am using a LPC1549 and I am trying to create 4 PWM signals all running at the same frequency with the same duty cycle but 90 degrees out of phase from each other.

I am trying to configure the SCT to run by itself and move from state to state, and change the duty cycle by using the MATCHREL reg. But I cannot configure the SCT correctly or I am not understanding something correctly. I will paste my init file here so you guys can find what I am doing wrong.

 

Thanks in advance

Original Attachment has been moved to: LPC1549-4PWM-Init.txt.zip

Outcomes