Motorola MPC823e Reference Manual page 631

Microprocessor for mobile computing
Table of Contents

Advertisement

16.9.4 Data Synchronization Register
Each serial communication controller has a 16-bit, memory-mapped, read/write data
synchronization register (DSR) that specifies the pattern used in the frame synchronization
procedure of the synchronous protocols. In the UART protocol, it is used to configure
fractional stop bit transmission. In the Transparent protocol, it must be programmed with the
preferred Sync pattern. In the Ethernet protocol, it must be programmed with 0xD555. At
reset, it defaults to 0x7E7E (two HDLC flags), so it does not need to be written for HDLC
mode. When the DSR is used to send out syncs (such as in transparent mode), the contents
of the DSR are always transmitted least-significant bit first.
DSR
BIT
0
1
2
FIELD
RESET
0
1
1
R/W
ADDR
16.9.5 Transmit-on-Demand Register
If no frame is currently being transmitted by a serial communication controller, the RISC
microcontroller periodically polls the R bit of the next transmit (TX) buffer descriptor to see
if you have requested a new frame/buffer to be transmitted. This polling algorithm depends
on the configuration of the serial communication controller, but it occurs every 8 to 32 serial
transmit clocks. You can, however, request that the RISC microcontroller begin processing
the new frame/buffer immediately, without waiting until the normal polling time. To obtain
immediate processing, set the TOD bit in the transmit-on-demand register (TODR) after you
set the R bit in the TX buffer descriptor.
This feature, which decreases the transmission latency of the transmit buffer/frame, is
particularly useful for LAN-type protocols in which maximum interframe GAP times are
limited by the protocol specification. Since the transmit-on-demand feature gives high
priority to the specified TX buffer descriptor, it can affect the servicing of the receive FIFO.
Therefore, it is recommended that you only use the transmit-on-demand feature when a
high-priority TX buffer descriptor has been prepared and if a sufficient amount of time has
passed since a serial communication controller was transmitted.
MOTOROLA
3
4
5
6
7
SYN2
1
1
1
1
0
R/W
(IMMR & 0xFFF0000) + 0xA2E
MPC823e REFERENCE MANUAL
Communication Processor Module
8
9
10
11
12
13
SYN1
0
1
1
1
1
R/W
14
15
1
1
0
16-177

Advertisement

Table of Contents
loading

Table of Contents