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.

MSP430的定时器输出为什么会不能直接输出PWM波?而是要等待一段时间?



遇到这样一个问题:MSP430的定时器输出为什么会不能直接输出PWM波?而是要等待一段时间?
        P1DIR |= 0x08;                            // P1.3  output
        P1SEL |= 0x08;                            // P1.3 配为定时器输出
        TA0CCTL2 = OUTMOD_7 ;         // 工作模式7,
        TA0CCR0 = 40-1;                             // PWM Period
        TA0CCR2 = 39;                              // 高电平时间

        TA0CTL = TASSEL_2 + MC_1;   开启定时器   SMCLK, up mode

波形如下:有办法把这7.4us去掉吗?