MOTOROLA
Chapter 26. SCC Asynchronous HDLC Mode and IrDA
26-3
Part V. The Communications Processor Module
updates RxBD[Data Length] with the total frame length, including the CRC bytes. The
controller sets RxBD[L], writes the frame status bits, and clears RxBD[E] (if RxBD[CM]
is zero). It then sets SCCE[RXF], which indicates that a frame was received and is in
memory. The controller then waits for the start of the next frame, which may or may not
have an opening ßag.
26.4 Transmitter Transparency Encoding
The asynchronous HDLC transmitter encodes characters according to RFC 1549, a de facto
standard of the Internet Engineering Task Force (IETF). It examines outgoing bytes and
performs the transparency algorithm for the following conditions:
¥
The byte is a ßag (0x7E for PPP, 0xC0 or 0xC1 for IrLAP)
¥
The byte is a control-escape character (0x7D)
¥
The byte value is between 0x00 and 0x1F and the corresponding bit in the Tx control
character table is set
When a condition applies, a two-byte sequence is sent instead of the byte. The sequence
consists of the control-escape character (0x7D) followed by the original byte
exclusive-ORed with 0x20.
26.5 Receiver Transparency Decoding
The asynchronous HDLC receiver decodes characters according to RFC 1549. To recover
the original data, it examines incoming data bytes and performs the transparency algorithm
in the following ways:
¥
It discards characters whose corresponding bit is set in the Rx control character map.
This character is assumed to have been inserted in the character stream by an
intermediate device and is not part of the original frame.
¥
It reverses the transmission transparency sequence by discarding a received
control-escape character (0x7D) and exclusive-ORing the following byte with 0x20
before performing the CRC calculation and writing the byte into memory.
Figure 26-2 shows the algorithm because some cases are not covered by RFC 1549.
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: ......