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.
Hello friends,
I'm new to TI processor. I have started to work in TI MSP430G2231 processor. My intention is to generate two PWM signal with same frequency but dutycycle of PWM signals is independently controllable through a external potentiometer. So far i achieved in generation of one PWM signal. Is is possible? Help me to achieve this.
More over, when i gone through the datasheet, the following pins are mentioned with
P1.1 ->TA0.0
P1.2 ->TA0.1
P1.5 ->TA0.0
P1.6 ->TA0.1 What does it mean?
For your purposes, TA0.1 carries the output generated according to Timer A [0] CCR 1 (TACCTL1/TACCR1). You connect the timer to the pin using P1SEL.
Similarly for CCR0. Unfortunately, CCR0 has very limited PWM capabilities (ref SLAU144J Sec 12.2.5.1), not PWM in any meaningful form.
Since the G2231 doesn't have a CCR2 (TA0.2), to get 2x (different) PWM streams you'll probably need to do PWM in software.
Is use of the G2231 a requirement?
[Edit: Added "(different)"]
**Attention** This is a public forum