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
Содержание MPC860 PowerQUICC
Страница 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Страница 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Страница 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Страница 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Страница 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Страница 1106: ......