![](http://datasheet.mmic.net.cn/110000/MC3S12HZ256J3CAA_datasheet_3506324/MC3S12HZ256J3CAA_402.png)
Chapter 13 Serial Communication Interface (SCIV4)
MC9S12HZ256 Data Sheet, Rev. 2.05
402
Freescale Semiconductor
Figure 13-12. SCI Data Formats
Each data character is contained in a frame that includes a start bit, eight or nine data bits, and a stop bit.
Clearing the M bit in SCI control register 1 configures the SCI for 8-bit data characters. A frame with eight
data bits has a total of 10 bits. Setting the M bit configures the SCI for nine-bit data characters. A frame
with nine data bits has a total of 11 bits
When the SCI is configured for 9-bit data characters, the ninth data bit is the T8 bit in SCI data register
high (SCIDRH). It remains unchanged after transmission and can be used repeatedly without rewriting it.
A frame with nine data bits has a total of 11 bits.
Table 13-12. Example of 9-Bit Data Formats
Table 13-11. Example of 8-bit Data Formats
Start
Bit
Data
Bits
Address
Bits
Parity
Bits
Stop
Bit
1
8001
1
7011
17
11
1 The address bit identies the frame as an address
01
Start
Bit
Data
Bits
Address
Bits
Parity
Bits
Stop
Bit
1
9001
1
8011
18
11
1 The address bit identies the frame as an address
01
BIT 5
START
BIT
BIT 0
BIT 1
NEXT
STOP
BIT
START
BIT
8-BIT DATA FORMAT
(BIT M IN SCICR1 CLEAR)
START
BIT
BIT 0
NEXT
STOP
BIT
START
BIT
9-BIT DATA FORMAT
(BIT M IN SCICR1 SET)
BIT 1
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
BIT 8
BIT 2
BIT 3
BIT 4
BIT 6
BIT 7
POSSIBLE
PARITY
BIT
POSSIBLE
PARITY
BIT
STANDARD
SCI DATA
INFRARED
SCI DATA
STANDARD
SCI DATA
INFRARED
SCI DATA