Motorola PowerQUICC II MPC8280 Series Reference Manual page 984

Table of Contents

Advertisement

MCC Buffer Descriptors
Table 29-21. RxBD Field Descriptions (continued)
Bits
Name
6
CM
Continuous mode
0 Normal operation (The empty bit (bit 0) is cleared by the CP after this BD is closed).
1 The empty bit (bit 0) is not cleared by the CP after this BD is closed, allowing the associated data
buffer to be overwritten automatically when the CP next accesses this BD. However, if an error
occurs during reception, the empty bit is cleared regardless of the CM bit setting.
7
Reserved, should be cleared.
8
UB
User bit. UB is a user-defined bit that the CPM never sets nor clears. The user determines how this
bit is used.
9
Reserved, should be cleared.
10
LG
Rx frame length violation (HDLC mode only). Indicates that a frame length greater than the
maximum value was received in this channel. Only the maximum-allowed number of bytes, MFLR
rounded to the nearest higher word alignment, are written to the data buffer. This event is recognized
as soon as the MFLR value is exceeded when data is word-aligned. When data is not word-aligned,
this interrupt occurs when the SDMA writes 64 bits to memory. The worst-case latency from MFLR
violation until detected is 7 bytes timing for this channel. When MFLR violation is detected, the
receiver is still receiving even though the data is discarded. The buffer is closed upon detecting a
flag, and this is considered to be the closing flag for this buffer. At this point, LG is set (1) and an
interrupt may be generated. The length field for this buffer is everything between the opening flag
and this last identifying flag.
11
NO
Rx nonoctet-aligned frame. A frame of bits not divisible exactly by eight was received. NO = 1 for
any type of nonalignment regardless of frame length. The shortest frame that can be detected is of
type FLAG-BIT-FLAG, which causes the buffer to be closed with NO error indicated.
The following shows how the nonoctet alignment is reported and where data can be found.
To accommodate the extra word of data that may be written at the end of the frame, it is
recommended to reserve MFLR + 8 bytes for each buffer data.
12
AB
Rx abort sequence. A minimum of seven consecutive 1s was received during frame reception. Abort
is not detected between frames. The sequence
Closing-Flag, data, CRC, AB, data, opening-flag...
does not cause an abort error. If the abort is long enough to be an idle, an idle line interrupt may be
generated. An abort within the frame is not reported by a unique interrupt but rather with a RXF
interrupt and the user has to examine the BD.
13
CR
Rx CRC error. This frame contains a CRC error. The received CRC bytes are always written to the
receive buffer.
14
Reserved, should be cleared.
SF
SS7 mode only: Short frame indication. Set if the received frame is less than 5 octets.
15
Reserved, should be cleared.
The data length and buffer pointer are described as follows:
• Data length. Data length is the number of octets written by the CP into this BD's data
buffer. It is written by the CP when the BD is closed. When this is the last BD in the
29-46
Freescale Semiconductor, Inc.
msb
xxx .................................... xx
Valid data
MPC8280 PowerQUICC II Family Reference Manual
For More Information On This Product,
Go to: www.freescale.com
Description
1
000...... 0
Invalid data
lsb
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Powerquicc ii mpc8270Powerquicc ii mpc8275Powerquicc ii mpc8280

Table of Contents