I'm trying to create a pulse train output from my TI Hercules tms570lc43x MCU. I can get a normal PWM out, but I want a pulse train that goes 10us on, 10us off,20 us on,10us off,40us on, 10us off ... I want to be able to double my on time for about ten rounds while keeping the down time the same. I was thinking of doing this by using an interrupt to turn my PWM output on and off from 100%, except i dont know how to do that. Can someone guide me into how to accomplish this?
Thanks