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.

关于MSP430F5171的TimerD功耗问题。



在测试过程中,打开TimerD,输入频率为8M,16倍频,输出PWM信号,整体的功耗增加了500uA,也就是整个TimerD花了500uA,不知是否有问题?

输出的PWM信号都是正常的。

void InitializeTimerD(void)

     TD0CTL0 = 0x0200;  // Counter Length = 0xFFFF; Timer_D clock sorue is SMCLK = 14.7456MHz; Timer_D Interrupt Disable.
     TD0CTL1 = 0x0001;  // High-resolution local clock is used.
     TD0CTL2 = 0x0000;  // Single capture mode.
 

     TD0CCTL0 = 0x02E0;  // Out Mode is Reset / set
     TD0CCR0  = 55195;   
     TD0HCTL0 = 0x0017;  // High-resolution clock 16 * Timer_D clock.
                                              // High-resolution generator is on if the Timer_D counter MCx are 01, 10 or 11.
                                              // Calibration Enabled.
                                             // High-resolution mode enalbe.
     TD0HCTL1 = 0x0000;  // Timer_D input clock to the hign-resolution generator is < 15MHz.
     TD0HINT  = 0x00;  // High resolution interrupt register.
 
     TD0CTL0 |= MC_2 + TDCLR; // Continues mode: Timer counts up to the value set by CNTLx(counter length)
}

顺便问一下,MCLK,SMCLK,ACLK都可以从相应的引脚输出时钟信号,但是ACLK/n找不到在哪里,不知是哪个引脚?

非常感谢!!!