AnsweredAssumed Answered

PWM synchronization in ADuC7060 - need help

Question asked by Sargass on Sep 21, 2010
Latest reply on Oct 17, 2011 by MikeL
GP1CON =  BIT9;          //Select the function of the P1.2/SYNC pin.

GP2CON  = BIT5 + BIT4 + BIT1 + BIT0;                        //Enable P2.0 & P2.1 as PWM0 & PWM5 Outputs
PWMCON  = BIT14 + BIT8 + BIT7 + BIT6 + BIT0;          //SYNC + PWMEN + /256

PWM0COM0 = 0x190;
PWM0COM1 = 0xC8;
PWM0COM2 = 0x40;
PWM0LEN = 0x190;

And no synchronization at all. What is wrong?

Outcomes