English
Language : 

MC9S12T64 Datasheet, PDF (441/608 Pages) Motorola, Inc – Specification
Freescale Semiconductor, Inc.
Serial Communications Interface (SCI)
Functional Description
4. Write the first byte of the second message to SCIxDRH/L.
Break Characters
Writing a logic 1 to the send break bit, SBK, in SCI control register 2
(SCIxCR2) loads the transmit shift register with a break character. A
break character contains all logic 0s and has no start, stop, or parity bit.
Break character length depends on the M bit in SCI control register 1
(SCIxCR1). As long as SBK is at logic 1, transmitter logic continuously
loads break characters into the transmit shift register. After software
clears the SBK bit, the shift register finishes transmitting the last break
character and then transmits at least one logic 1. The automatic logic 1
at the end of a break character guarantees the recognition of the start bit
of the next frame.
The SCI recognizes a break character when a start bit is followed by
eight or nine logic 0 data bits and a logic 0 where the stop bit should be.
Receiving a break character has these effects on SCI registers:
• Sets the framing error flag, FE
• Sets the receive data register full flag, RDRF
• Clears the SCI data registers (SCIxDRH/L)
• May set the overrun flag, OR, noise flag, NF, parity error flag, PE,
or the receiver active flag, RAF (see SCI Status Register 1
(SCIxSR1) and SCI Status Register 2 (SCIxSR2))
Idle Characters
An idle character contains all logic 1s and has no start, stop, or parity bit.
Idle character length depends on the M bit in SCI control register 1
(SCIxCR1). The preamble is a synchronizing idle character that begins
the first transmission initiated after writing the TE bit from 0 to 1.
If the TE bit is cleared during a transmission, the TX output signal
becomes idle after completion of the transmission in progress. Clearing
and then setting the TE bit during a transmission queues an idle
character to be sent after the frame currently being transmitted.
NOTE:
When queueing an idle character, return the TE bit to logic 1 before the
stop bit of the current frame shifts out through the TX output signal.
Setting TE after the stop bit appears on TX output signal causes data
previously written to the SCI data register to be lost. Toggle the TE bit
Serial Communications Interface (SCI)
For More Information On This Product,
Go to: www.freescale.com
MC9S12T64Revision 1.1.1