Dear all
please let me know how to update the pwm duty cycle in msp430g2553 in up/down mode. with duty cycle array which is like pwmduty[]={0, 31, 59, 81, 95, 100, 95, 81, 59, 31}. i am using TAIF in timer interrupt to update the duty cycle but in some points like the values from 31 to 0 it's giving invalid pwm.