26-14
MPC860 PowerQUICC UserÕs Manual
MOTOROLA
Part V. The Communications Processor Module
The data length and buffer pointer Þelds are described in Section 22.2, ÒSCC Buffer
Descriptors (BDs).Ó
26.16 Differences between HDLC and Asynchronous
HDLC
The basic differences between HDLC and asynchronous HDLC modes are as follows:
¥
Asynchronous HDLC does not support the
GRACEFUL
STOP
TRANSMIT
command.
¥
Because asynchronous HDLC has no maximum received frame length counter, it
receives all characters between opening and closing ßags. There is no way to keep
it from writing to memory. This does not affect the number of bytes received into a
speciÞc BD. A frame over the maximum length is received into memory in its
entirety.
¥
If an error causes a frame to stop being received, the character being received at the
moment the error occurred is not written into memory. For example, if a CD lost
error occurs, the frame is closed and the partial character is not written to memory.
Thus, the octet count reßects only the number of bytes written to memory.
¥
The automatic error counters in the HDLC controller are not implemented in the
asynchronous HDLC controller.
¥
Noisy characters (characters for which all three samples are not identical) are not
accounted for in the asynchronous HDLC controller. It is assumed that the CRC
catches any data integrity problems.
26.17 SCC Asynchronous HDLC Programming
Example
The following example shows initialization for an SCC in asynchronous HDLC mode.
1. Initialize SDCR.
2. In NMSI mode, conÞgure ports A and C to enable RXD, TXD, CTS, CD, and RTS.
In other modes, conÞgure the TSA and its pins.
3. ConÞgure a baud rate generator to the appropriate channel clocking frequency.
6
CM
Continuous mode.
0 Normal operation.
1 The CP does not clear R after this BD is closed, allowing its buffer to be resent when the CP next
accesses this BD. However, R is cleared if an error occurs during transmission, regardless of CM.
7Ð14 Ñ
Reserved, should be cleared.
15
CT
CTS lost. In NMSI mode, CTS is lost during frame transmission. If more than one buffer has data in the
FIFO when this error occurs, CT is set in the currently open TxBD. Written by the asynchronous HDLC
controller after it Þnishes sending the buffer.
Table 26-11. Asynchronous HDLC TxBD Status and Control Field Descriptions (Con-
Bits
Name
Description
Summary of Contents for MPC860 PowerQUICC
Page 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Page 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Page 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Page 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Page 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Page 1106: ......