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.

MSP430F2272 pwm timer problem.

Other Parts Discussed in Thread: MSP430F2272

Hello sir,

     I am using MSP430F2272 for generating PWM signal using TA1, but by doing so  same PWM signal is obtained at other pins also ie., P1.6 & P2.3. Whereas I want to use these pins for other applications i.e., I/O pins. Can you please help me in solving the problem.  

Thanks in Advance

-Manasa

  • Hello Manasa,

    just define P1.6 and P2.3 to be Digital IO.Then you can use it as I/O Pins.

    See Chapter 8 of the MSP430x2xx Family user's Guide ... Digital IO.

    http://www.ti.com/litv/pdf/slau144i

    e.g.

    P1SEL&=~BIT6; //Select Digital IO for P1.6

    P2SEL&=~BIT3; //Select Digital IO for P2.3

    P1DIR&=~BIT6; //P1.6 is Input

    P2DIR|=BIT3; //P2.3 is output

    Regards Marco

**Attention** This is a public forum