17 scc uart receive buffer descriptor (rxbd), Scc uart receive buffer descriptor (rxbd) -15 – Motorola MPC8260 User Manual

Page 599

Advertising
background image

MOTOROLA

Chapter 20. SCC UART Mode

20-15

Part IV. Communications Processor Module

20.17 SCC UART Receive Buffer Descriptor (RxBD)

The CPM uses RxBDs to report on each buffer received. The CPM closes the current buffer,
generates a maskable interrupt, and starts receiving data into the next buffer after one of the
following occurs:

¥

A user-deÞned control character is received.

¥

An error occurs during message processing.

¥

A full receive buffer is detected.

¥

A MAX_IDL number of consecutive idle characters is received.

7

RZS

Receive zero stop bits.
0 The receiver operates normally, but at least one stop bit is needed between characters. A framing

error is issued if a stop bit is missing. Break status is set if an all-zero character is received with a
zero stop bit.

1 ConÞgures the receiver to receive data without stop bits. Useful in V.14 applications where SCC

UART controller data is supplied synchronously and all stop bits of a particular character can be
omitted for cross-network rate adaptation. RZS should be set only if SYN is set. The receiver
continues if a stop bit is missing. If the stop bit is a zero, the next bit is considered the Þrst data bit
of the next character. A framing error is issued if a stop bit is missing, but a break status is reported
only after two consecutive break characters have no stop bits.

8

SYN

Synchronous mode.
0 Normal asynchronous operation. GSMR_L[TENC,RENC] must select NRZ and GSMR_L[TDCR,

RDCR] select either 8

´, 16´, or 32´. 16´ is recommended for most applications.

1 Synchronous SCC UART controller using 1

´ clock (isochronous UART operation).

GSMR_L[TENC, RENC] must select NRZ and GSMR_L[RDCR, TDCR] select 1

´ mode. A bit is

transferred with each clock and is synchronous to the clock, which can be internal or external.

9

DRT

Disable receiver while transmitting.
0 Normal operation.
1 While the SCC is sending data, the internal RTS disables and gates the receiver. Useful for a

multidrop conÞguration in which the user does not want to receive its own transmission. For
multidrop UART mode, set the BDsÕ preamble bit, TxBD[P].

10

Ñ

Reserved, should be cleared.

11

PEN

Parity enable.
0 No parity.
1 Parity is enabled and determined by the parity mode bits.

12Р13,
14Р15

RPM,
TPM

Receiver/transmitter parity mode. Selects the type of parity check the receiver/transmitter performs;
can be modiÞed on-the-ßy. Receive parity errors can be ignored but not disabled.
00 Odd parity. If a transmitter counts an even number of ones in the data word, it sets the parity bit

so an odd number is sent. If a receiver receives an even number, a parity error is reported.

01 Low parity (space parity). A transmitter sends a zero in the parity bit position. If a receiver does

not read a 0 in the parity bit, a parity error is reported.

10 Even parity. Like odd parity, the transmitter adjusts the parity bit, as necessary, to ensure that the

receiver receives an even number of one bits; otherwise, a parity error is reported.

11 High parity (mark parity). The transmitter sends a one in the parity bit position. If the receiver

does not read a 1 in the parity bit, a parity error is reported.

Table 20-9. PSMR UART Field Descriptions (Continued)

Bit

Name

Description

Advertising