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.

MSP430I2021: How to set UCBRSx

Genius 5340 points
Part Number: MSP430I2021

Hi experts,

Let me check the setting of the EUSCI register (UCBRSx) in the following system.

SMCLK = 16.384MHz/4 = 4.096MHz
N=4.096MHz/38400bps = 106.6666...

In the above case, which is correct?

  1. Rounding up the decimal point:        UCBRSx=D6h
  2. Rounding down the decimal point:   UCBRSx=B6h

By the way, in the simulator below, "UCBRSx=B6h" was used.

MSP430 USCI/EUSCI UART Baud Rate Calculation
:software-dl.ti.com/.../index.html

Best regards,
O.H

**Attention** This is a public forum