ccurtis
Well-Known Member
Hey guys, any idea why the PWM output from a PIC18 is not synchronized with a strobe output I generate on a port pin on the same device? The timer driving the PWM is clocked with the instruction clock (fosc/4). But if I put the two outputs up on my scope and sync on the strobe output, the edges of the PWM output wander all over the place. The PWM output is set for 50% duty cycle and fixed frequency. I'm using the PWM output as a clock signal for an external chip along with the strobe, and they need to be in sync.
Last edited: