1 configuring the physical interface, Table 19. physical interface configuration, 2 choosing which frame types to accept – Cirrus Logic CS8900A User Manual

Page 81: Table 20. frame acceptance criteria, 3 selecting which events cause interrupts, Table 21, 4 choosing how to transfer frames, Cs8900a

Advertising
background image

DS271F5

81

CS8900A

Crystal LAN™ Ethernet Controller

CIRRUS LOGIC PRODUCT DATASHEET

5.2.2.1 Configuring the Physical Interface

Configuring the physical interface consists of
determining which Ethernet interface should
be active, and enabling the receive logic for
serial reception. This is done via the LineCTL
register (Register 13) and is described in
Table19.

5.2.2.2 Choosing which Frame Types to Ac-
cept

The RxCTL register (Register 5) is used to de-
termine which frame types will be accepted by
the CS8900A (a receive frame is said to be
"accepted" when the frame is buffered, either
on chip or in host memory via DMA). Table 20
describes the configuration bits in this register.
Refer to Section 5.2.10 on page 87 for a de-
tailed description of Destination Address filter-
ing.

5.2.2.3 Selecting which Events Cause Inter-
rupts

The RxCFG register (Register 3) and the Buf-
CFG register (Register B) are used to deter-
mine which receive events will cause
interrupts to the host processor. Table 22 de-
scribes the interrupt enable (iE) bits in these
registers.

5.2.2.4 Choosing How to Transfer Frames

The RxCFG register (Register 3) and the Bus-
CTL register (Register 17) are used to deter-

Register 13, LineCTL

Bit Bit

Name

Operation

6

SerRxON

When set, reception enabled.

8

AUIonly

When set, AUI selected (takes
precedence over AutoAUI/10BT).

9

AutoAUI/10BT When set, automatic interface

selection enabled. When both bits
8 and 9 are clear, 10BASE-T
selected.

E

LoRx Squelch When set, receiver squelch level

reduced by approximately 6 dB.

Table 19. Physical Interface Configuration

Register 5, RxCTL

Bit Bit

Name

Operation

6

IAHashA

When set, Individual Address frames
that pass the hash filter are
accepted*.

7

Promis

cuousA

When set, all frames are accepted*.

8

RxOKA

When set, frames with valid length
and CRC and that pass the DA filter
are accepted.

9

MulticastA When set, Multicast frames that pass

the hash filter are accepted*.

* Must also meet the criteria programmed into bits 8, C, D, and E.

Table 20. Frame Acceptance Criteria

A

IndividualA When set, frames with DA that

matches the IA at PacketPage base
+ 0158h are accepted*.

B

Broad-

castA

When set, all broadcast frames are
accepted*.

C CRCerrorA When set, frames with bad CRC that

pass the DA filter are accepted.

D

RuntA

When set, frames shorter than 64
bytes that pass the DA filter are
accepted.

E

ExtradataA When set, frames longer than 1518

bytes that pass the DA filter are
accepted (only the first 1518 bytes
are buffered).

Register 3, RxCFG

Bit Bit

Name

Operation

8

RxOKiE

When set, there is an interrupt if a
frame is received with valid length
and CRC*.

C CRCerroriE When set, there is an interrupt if a

frame is received with bad CRC*.

D

RuntiE

When set, there is an interrupt if a
frame is received that is shorter than
64 bytes*.

E

ExtradataiE When set, there is an interrupt if a

frame is received that is longer than
1518 bytes*.

* Must also pass the DA filter before there is an interrupt.

Table 21.

Register 5, RxCTL

Bit Bit

Name

Operation

* Must also meet the criteria programmed into bits 8, C, D, and E.

Table 20. Frame Acceptance Criteria

Advertising