SLAA908A September 2019 – September 2021 MSP430FR2032 , MSP430FR2032 , MSP430FR2033 , MSP430FR2033 , MSP430FR2153 , MSP430FR2153 , MSP430FR2155 , MSP430FR2155 , MSP430FR2310 , MSP430FR2310 , MSP430FR2311 , MSP430FR2311 , MSP430FR2353 , MSP430FR2353 , MSP430FR2355 , MSP430FR2355 , MSP430FR2422 , MSP430FR2422 , MSP430FR2433 , MSP430FR2433 , MSP430FR2475 , MSP430FR2475 , MSP430FR2476 , MSP430FR2476 , MSP430FR4131 , MSP430FR4131 , MSP430FR4132 , MSP430FR4132
This register sets the UART baud rate (the default is 115200). Table 4-2 lists the supported rates.
BRG | UART Baud Rate | |
---|---|---|
(hex) | (dec) | |
0x0023 | 35 | 460800 |
0x0046 | 70 | 230400 |
0x008A | 138 | 115200 |
0x0116 | 278 | 57600 |
0x0682 | 1666 | 9600 |
The rate is programmed through the BRG register and the baud rate can be calculated as Equation 1.
For the new baud rate to take effect, both BRG0 and BRG1 must be written with new values simultaneously. The new baud rate takes effect immediately after BRG0 or BRG1 are written.