Raef Aidibi

Output compare on Freescale 9S12P64

Discussion created by Raef Aidibi on Jun 8, 2010
Latest reply on Jun 8, 2010 by kef


Iam trying to generate 5 PWM signals using output compares, TC0-TC5,

The problem is the pulse width needed on those signals is very small (125 ns), and the period is 4us.

in addition, these PWMS has to be 0.5 us apart,

If the period and PWM were larger, I can use 4 isrs to generate them, since the period is too small (125ns), by the time the isr fires, it does not allow to generate this small duty (min it will be around 0.7us), i prefer not to use the ISRs if possible.

any suggestions