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.

CCS/MSP430FR4133: Control a SG90 servo motor with msp430fr4133

Part Number: MSP430FR4133

Tool/software: Code Composer Studio

Hello,

I want to use a SG90 servo motor with MSP430FR4133 and I dont know why don't turn on when I create a PWM at P1.6. I connect SG90 at 3V Vcc.

Need to use an external source for this?

#include "driverlib.h"

int main(void) {

WDTCTL = WDTPW + WDTHOLD;

P1DIR |= BIT7;
P1SEL0 |= BIT7;

P1DIR |= BIT6;
P1SEL0 |= BIT6;


PM5CTL0 &= ~LOCKLPM5;

TA0CCR0 = 20;
TA0CCTL1 = OUTMOD_7;
TA0CCR1 = 1;
TA0CTL = TASSEL_2 + MC_3;


__bis_SR_register(LPM0_bits);
}

**Attention** This is a public forum