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.

MSP-EXP430FR5994: Setting Baud Rate to 115200 for 8MHz DCO CLK

Part Number: MSP-EXP430FR5994

Hi, I am wondering what the config is to set the baud rate to 115200, I get 9600 working fine however when I switch it to 115200 it doesn't work. Is there something incorrect with my configurations.

CSCTL0_H = CSKEY_H; // Unlock CS registers
CSCTL1 = DCOFSEL_3 | DCORSEL; // Set DCO to 8MHz
CSCTL2 = SELA__VLOCLK | SELS__DCOCLK | SELM__DCOCLK;
CSCTL3 = DIVA__1 | DIVS__1 | DIVM__1; // Set all dividers
CSCTL0_H = 0; // Lock CS registers

UCA1CTLW0 |= UCSSEL__SMCLK; // CLK = SMCLK

UCA1BR0 = 4;
UCA1BR1 = 0;
UCA1MCTLW |= UCOS16 | UCBRF_2 | 0x49

**Attention** This is a public forum