Crcec-Crc Error Counter; E.1.1.3.2 Mrblr—Maximum Rx Buffer Length; E.1.1.3.3 Crc Mask_L And Crc Mask_H; E.1.1.3.4 Disfc—Discard Frame Counter - Motorola MC68302 User Manual

Integrated multiprotocol processor
Hide thumbs Also See for MC68302:
Table of Contents

Advertisement

SCC Programming Reference
15
14
13
12
0
FC2
FC1
FC0
E.1.1.3.2 MRBLR—Maximum Rx Buffer Length. This16-bit parameter defines the maxi-
mum receiver buffer length for each of the eight receive buffer descriptors.
E.1.1.3.3 CRC Mask_L and CRC Mask_H. This 32-bit parameter contains the constant
values used for the 16-bit and 32-bit CRC calculation. For a 16-bit CRC, CRC_MASK_L
should be set to $F0B8 and CRC_MASK_H is not used. For a 32-bit CRC, the user should
set CRC_MASK_L = $DEBB and CRC_MASK_H = $20E3.
E.1.1.3.4 DISFC—Discard Frame Counter. This 16-bit parameter is incremented when a
frame is discarded due to lack of receive buffers.
E.1.1.3.5 CRCEC—CRC Error Counter. This 16-bit parameter is incremented when a
CRC error is detected in an incoming frame.
E.1.1.3.6 ABTSC—Abort Sequence Counter. This 16-bit parameter is incremented when
an abort sequence is detected in an incoming frame,
E.1.1.3.7 NMARC—Nonmatching Address Received Counter. This 16-bit parameter is
incremented when an error-free frame that does not match the user-defined addresses is
detected.
E.1.1.3.8 RETRC—Frame Retransmission Counter. This 16-bit parameter is incre-
mented when a frame is retransmitted due to a collision.
E.1.1.3.9 MFLR—Maximum Frame Length Register. This16-bit parameter defines the
maximum length of an incoming receive frame.
E.1.1.3.10 HMASK—HDLC Frame Address Mask. This 16-bit parameter is the user-
defined frame address mask register. A one should be written to each bit for which the
address comparison is to occur. Bits 15-8 contain the least significant address byte, and bits
7-0 contain the most significant address byte.
E.1.1.3.11 HADDR1, HADDR2, HADDR3, and HADDR4—HDLC Frame Address.
These four 16-bit parameters are the user-defined frame address registers. Bits 15-8 con-
tain the least significant address byte, and bits 7-0 contain the most significant address byte.
E.1.1.4 RECEIVE BUFFER DESCRIPTORS. Each SCC has eight receive buffer descrip-
tors. Each buffer descriptor consists of four words as shown below. Reserved bits in regis-
ters should be written as zeros.
15
14
OFFSET + 0
E
X
OFFSET +2
OFFSET +4
OFFSET +6
E-10
11
10
9
0
0
0
13
12
11
10
W
I
L
F
MC68360 USER'S MANUAL
8
7
6
5
0
0
FC2
FC1
9
8
7
6
DATA LENGTH
RX BUFFER POINTER
4
3
2
FC0
0
0
5
4
3
2
LG
NO
AB
CR
MOTOROLA
1
0
0
0
1
0
OV
CD

Advertisement

Table of Contents
loading

Table of Contents