Part Number: MSP430F5419A
Other Parts Discussed in Thread: MSP430F413, UNIFLASH
Hello ,
I'm facing a problem with changing baud rate of an UART from 9600 to 115200 with frequency of an 1MHZ
i have written the below code
UCA0CTL1 |= UCSWRST;
UCA0CTL1 |= UCSSEL_2;
UCA0BR0 = 8; // 1MHz 115200
UCA0BR1 = 0; // 1MHz 115200
// UCA1BR0 = 0; //1MHZ 115200
// UCA1BR1 = 0; //1MHZ 115200
UCA0MCTL = UCBRS_0 + UCBRF_13 + UCOS16; // Modln UCBRSx=0, UCBRFx=0,
UCA0CTL1 &= ~UCSWRST; // **Initialize USCI state machine**
__no_operation();
UCA0IE |= UCTXIE;
UCA0IE |= UCRXIE;


