SPRUI33H November 2015 – June 2024 TMS320F280040-Q1 , TMS320F280040C-Q1 , TMS320F280041 , TMS320F280041-Q1 , TMS320F280041C , TMS320F280041C-Q1 , TMS320F280045 , TMS320F280048-Q1 , TMS320F280048C-Q1 , TMS320F280049 , TMS320F280049-Q1 , TMS320F280049C , TMS320F280049C-Q1
SCI data, both receive and transmit, is in NRZ (non-return-to-zero) format. The NRZ data format, shown in Figure 23-3, consists of:
The basic unit of data is called a character and is one to eight bits in length. Each character of data is formatted with a start bit, one or two stop bits, and optional parity and address bits. A character of data with formatting information is called a frame and is shown in Figure 23-3.
To program the data format, use the SCICCR register. The bits used to program the data format are shown in Table 23-2.
Bits | Bit Name | Designation | Functions |
---|---|---|---|
2-0 | SCICHAR | SCICCR.2:0 | Select the character (data) length (one to eight bits). |
5 | PARITYENA (ENABLE) | SCICCR.5 | Enables the parity function if set to 1, or disables the parity function if cleared to 0. |
6 | PARITY (EVEN/ODD) |
SCICCR.6 | If parity is enabled, selects odd parity if cleared to 0; even parity if set to 1. |
7 | STOPBITS | SCICCR.7 | Determines the number of stop bits transmitted—one stop bit if cleared to 0 or two stop bits if set to 1. |