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.
Hi
I'm using MSP430FR5739 Experimenter's board. I'm developing code which creates a PWM signal using timer A. I want to know how to configure the Pin 1 and 2 to get the PWM output.
Hi Thilesh!
This information can be found in table 6-39 in the datasheet:
You have to set P1DIR, clear P1SEL1 and set P1SEL0. For both pins this would mean:
P1DIR |= (0x01 | 0x02); P1SEL0 |= (0x01 | 0x02); P1SEL1 &= ~(0x01 | 0x02); // Not really necessary since it is 0 after power up
Dennis
**Attention** This is a public forum