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

 

  1.   Trademarks
  2. 1Introduction
  3. 2Implementation
  4. 3UART Message Format
    1. 3.1 Write N Bytes to Slave Device
    2. 3.2 Read N Bytes From Slave Device
    3. 3.3 Repeated Start (Read After Write)
    4. 3.4 Repeated Start (Write After Write)
    5. 3.5 Write to Internal Register
    6. 3.6 Read From Internal Register
  5. 4Internal Registers Available
    1. 4.1 Register Summary
    2. 4.2 Baud Rate Generator (BRG)
    3. 4.3 I2C Bus Clock Rates (I2CClk)
  6. 5Performance
  7. 6Application Examples
    1. 6.1 Test With I2C Slave Device
    2. 6.2 Read and Write EEPROM
  8. 7Reference
  9. 8Revision History

Baud Rate Generator (BRG)

This register sets the UART baud rate (the default is 115200). Table 4-2 lists the supported rates.

Table 4-2 UART Baud Rate
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.

Equation 1. B a u d   r a t e   =   16 × 10 6 ( B R G 1 , B R G 0 )
Note:

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.