Hi, I have calculated the same but when i am checking on that pin 14Khz frequency it's showing. I have configured as below: P1DIR |= BIT2; // P1.2 output P1SEL |= BIT2; // P1.2 options select TA0CCR0 = 1111-1; // PWM Period TA0CCTL1 = OUTMOD_7; // CCR1 reset/set TA0CCR1 = 555; // CCR1 PWM duty cycle TA0CTL = TASSEL_1 + MC_1 + TACLR; // ACLK, up mode, clear TAR Am i doing anything wrong?
↧