
Communication Processor Module
MOTOROLA
MPC823 USER’S MANUAL
16-197
SCC2
COMMUNICATION
16
PROCESSOR
MODULE
Even, odd, force, or no parity check
Frame error, noise error, break, and idle detection
Transmit preamble and break sequences
Freeze transmission option with low-latency stop
16.9.15.2 NORMAL ASYNCHRONOUS MODE. In normal asynchronous mode, the
receive shift register receives the incoming data on the RXD2 pin. The control bits in the
PSMR–SCC2 UART register define the length and format of the UART character and each
bit is received in the following order:
1. Start bit
2. 5–8 data bits (LSB first)
3. Address/data bit (optional)
4. Parity bit (optional)
5. Stop bits
The receiver uses a clock 8
×, 16×, or 32× faster than the baud rate and samples each bit of
the incoming data three times around its center. The value of the bit is determined by the
majority of those samples and if they do not all agree, a noise indication counter is
incremented. When a complete byte has been clocked in, the contents of the shift register
are transferred to a UART receive data buffer. If there is an error in this character, the
appropriate error bits are set by the communication processor module.
The SCC2 UART controller can receive fractional stop bits. The next character’s start bit can
begin any time after the three middle samples are taken. The UART transmit shift register
transmits the outgoing data on the TXD2 pin. Data is then clocked synchronously with the
transmit clock, which may have either an internal or external source. The bit transmission
order is LSB first, but only the data portion of the UART frame is actually stored in the data
buffers. The start and stop bits are always generated and stripped by the SCC2 UART
controller. The parity bit can also be generated in transmission and checked during
reception and although it is not stored in the data buffer, its value can be inferred from the
reporting mechanism of the data buffer. Similarly, the optional address bit is not stored in
the transmit or receive data buffer, but is implied from the buffer descriptor itself. Parity is
generated and checked for the address bit. The RFW bit of the GSMR_H must be set for an
8-bit receive FIFO.
16.9.15.3 SYNCHRONOUS MODE. In synchronous mode, the SCC2 UART controller
uses a 1
× data clock for timing. The receive shift register receives the incoming data on the
RXD2 pin synchronously to the clock. The length and format of the serial word in bits are
defined by the control bits in the PSMR–SCC2 UART register in the same way they were in
asynchronous mode. When a complete byte has been clocked in, the contents of the shift
register are transferred to a UART receive data buffer. If there is an error in this character,
then the appropriate error bits are set by the communication processor module.