English
Language : 

MC9S12NE64V1 Datasheet, PDF (246/554 Pages) Freescale Semiconductor, Inc – MC9S12NE64V1 Data Sheet
Chapter 8 Serial Communication Interface (SCIV3)
8.4.4 Transmitter
INTERNAL BUS
BUS
CLOCK
BAUD DIVIDER
÷ 16
SCI DATA REGISTERS
SBR12–SBR0
11-BIT TRANSMIT SHIFT REGISTER
M
H8 7 6 5 4 3 2 1 0 L
SCTXD
T8
PE
PARITY
PT
GENERATION
LOOP
CONTROL
TO RECEIVER
LOOPS
RSRC
TRANSMITTER CONTROL
TDRE INTERRUPT REQUEST
TC INTERRUPT REQUEST
TDRE
TIE
TE
SBK
TC
TCIE
Figure 8-13. Transmitter Block Diagram
8.4.4.1 Transmitter Character Length
The SCI transmitter can accommodate either 8-bit or 9-bit data characters. The state of the M bit in SCI
control register 1 (SCICR1) determines the length of data characters. When transmitting 9-bit data, bit T8
in SCI data register high (SCIDRH) is the ninth bit (bit 8).
8.4.4.2 Character Transmission
To transmit data, the MCU writes the data bits to the SCI data registers (SCIDRH/SCIDRL), which in turn
are transferred to the transmitter shift register. The transmit shift register then shifts a frame out through
the TXD pin, after it has prefaced them with a start bit and appended them with a stop bit. The SCI data
registers (SCIDRH and SCIDRL) are the write-only buffers between the internal data bus and the transmit
shift register.
The SCI also sets a flag, the transmit data register empty flag (TDRE), every time it transfers data from
the buffer (SCIDRH/L) to the transmitter shift register. The transmit driver routine may respond to this
MC9S12NE64 Data Sheet, Rev. 1.1
246
Freescale Semiconductor