SCI Baud Rate Calculations
www.ti.com
592
SPRUI07–March 2020
Submit Documentation Feedback
Copyright © 2020, Texas Instruments Incorporated
Serial Communications Interface (SCI)
NOTE: Interrupt generation due to the RXRDY and BRKDT bits is controlled by the RX/BK INT ENA
bit (SCICTL2, bit 1). Interrupt generation due to the RX ERROR bit is controlled by the RX
ERR INT ENA bit (SCICTL1, bit 6).
10.12 SCI Baud Rate Calculations
The internally generated serial clock is determined by the low-speed peripheral clock LSPCLK) and the
baud-select registers. The SCI uses the 16-bit value of the baud-select registers to select one of the 64K
different serial clock rates possible for a given LSPCLK.
See the bit descriptions in the baud-select registers, for the formula to use when calculating the SCI
asynchronous baud. Table 10-3 shows the baud-select values for common SCI bit rates.
Table 10-3. Asynchronous Baud Register Values for Common SCI Bit Rates
LSPCLK Clock Frequency, 100 MHz
Ideal Baud BRR Actual Baud % Error
2400 5207 (1457h) 2400 0
4800 2603 (A2Bh) 4800 0
9600 1301 (515h) 9601 0.01
19200 650 (28Ah) 19201 0.01
38400 324 (144h) 38462 0.16
LSPCLK/16 is the maximum baud rate. For example, if LSPCLK is 100MHz, then the maximum baud rate
is 6.25Mbps.
10.13 SCI Enhanced Features
The 28x SCI features autobaud detection and transmit/receive FIFO. The following section explains the
FIFO operation.
10.13.1 SCI FIFO Description
The following steps explain the FIFO features and help with programming the SCI with FIFOs.
1. Reset. At reset the SCI powers up in standard SCI mode and the FIFO function is disabled. The FIFO
registers SCIFFTX, SCIFFRX, and SCIFFCT remain inactive.
2. Standard SCI. The standard SCI modes will work normally with TXINT/RXINT interrupts as the
interrupt source for the module.
3. FIFO enable. FIFO mode is enabled by setting the SCIFFEN bit in the SCIFFTX register. SCIRST can
reset the FIFO mode at any stage of its operation.
4. Active registers. All the SCI registers and SCI FIFO registers (SCIFFTX, SCIFFRX, and SCIFFCT) are
active.
5. Interrupts. FIFO mode has two interrupts; one for transmit FIFO, TXINT and one for receive FIFO,
RXINT. RXINT is the common interrupt for SCI FIFO receive, receive error, and receive FIFO overflow
conditions. The TXINT of the standard SCI will be disabled and this interrupt will service as SCI
transmit FIFO interrupt.
6. Buffers. Transmit and receive buffers are supplemented with two 16-level FIFOs. The transmit FIFO
registers are 8 bits wide and receive FIFO registers are 10 bits wide. The one-word transmit buffer of
the standard SCI functions as a transition buffer between the transmit FIFO and shift register. The one-
word transmit buffer is loaded from the transmit FIFO only after the last bit of the shift register is shifted
out. With the FIFO enabled, TXSHF is directly loaded after an optional delay value (SCIFFCT), TXBUF
is not used. When FIFO mode is enabled for SCI, characters written to SCITXBUF are queued in to
SCI-TXFIFO and the characters received in SCI-RXFIFO can be read using SCIRXBUF.
7. Delayed transfer. The rate at which words in the FIFO are transferred to the transmit shift register is
programmable. The SCIFFCT register bits (7−0) FFTXDLY7−FFTXDLY0 define the delay between the
word transfer. The delay is defined in the number SCI baud clock cycles. The 8 bit register can define