Tag Archives: phase

Two square waves with arbitrary phase shift on dsPIC

Reader Imad wrote in with an interesting query about generating two square waves with equal frequency but an arbitrary phase shift between them using a dsPIC microcontroller. I’m still working out the fine details, but here’s the general gist of … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , | 32 Comments

PWM output on 2 channels of the dsPIC30F4011 with equal duty cycle and 180 degrees out of phase

Reader Mo Hsen wrote in with an interesting query about generating PWM output from the dsPIC30F4011 on two channels with equal duty cycle but 180 degrees out of phase (see the waveforms below for an example). I’ve created a short … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , | 50 Comments