This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PWM Timer 1 output for CC2530

Other Parts Discussed in Thread: CC2530

Hello

i am working on cc2530 output PWM

i use timer1 ch2 ch3 ch4( P0_4 P0_5 P0_6) 

the question i meet is :

ch2 ch3 ch4 can't generate PWM at the same time,  but ch2 ch3 can generate PWM at the same time or  ch4 can generate PWM  alone.

this is my code

P0SEL |= 0x70; //P0_4 P0_5 P0_6 
P0DIR |= 0x70; 
P2DIR = (P2DIR & ~0xC0) | 0x80;
PERCFG &= ~0x40;
PERCFG |= 0x03; 


T1CNTL= 0X00; 
T1CNTH= 0X00; 
T1CC0L= 255; 
T1CC0H= 0x00; 

T1CCTL2= 0x34; 
T1CC2L= 10;
T1CC2H= 0x00;

T1CCTL3= 0x34;
T1CC3L= 30;
T1CC3H= 0x00;

T1CCTL4= 0x34;
T1CC4L= 50;
T1CC4H= 0x00;


T1CTL = 0x02;
T1STAT = 0x21;

thanks