把2553的pwm库移植到5529上现了问题,很难过。
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.
看这里
http://dev.ti.com/tirex/#/?link=Software%2FMSP430Ware%2FDevices%2FMSP430F5XX_6XX%2FMSP430F5529%2FPeripheral%20Examples%2FRegister%20Level%2FMSP430F55xx_ta0_16.c
// This program generates two PWM outputs on P1.2,P1.3 using
// Timer1_A configured for up mode. The value in CCR0, 512-1, defines the PWM
// period and the values in CCR1 and CCR2 the PWM duty cycles. Using ~1.045MHz
// SMCLK as TACLK, the timer period is ~500us with a 75% duty cycle on P1.2
// and 25% on P1.3.
// ACLK = n/a, SMCLK = MCLK = TACLK = default DCO ~1.045MHz.