Cs8900a – Cirrus Logic CS8900A User Manual

Page 61

Advertising
background image

DS271F5

61

CS8900A

Crystal LAN™ Ethernet Controller

CIRRUS LOGIC PRODUCT DATASHEET

TxUnderrun

This bit is set if CS8900A runs out of data before it reaches the end of the frame (called a trans-

mit underrun). If TxUnderruniE (Register B, BufCFG, Bit 9) is set, there is an interrupt.

RxMiss

If set, one or more receive frames have been lost due to slow movement of data out of the re-

ceive buffers. If RxMissiE (Register B, BufCFG, Bit A) is set, there is an interrupt.

Rx128

This bit is set after the first 128 bytes of an incoming frame have been received. This bit will

allow the host the option of preprocessing frame data before the entire frame is received. If
Rx128iE (Register B, BufCFG, Bit B) is set, there is an interrupt.

RxDest

When set, this bit shows that a receive frame has passed the Destination Address Filter criteria

as defined in the RxCTL register (Register 5). This bit is useful as an early indication of an in-
coming frame. It will be earlier than Rx128 (Register C, BufEvent, Bit B). If RxDestiE (Register
B, BufCFG, Bit F) is set, there is an interrupt.

Reset value is:

0000 0000 0000 1100

Notes: With any event register, like BufEvent, all bits are cleared upon readout. The host is responsible for

processing all event bits.

4.4.14 Register 10: Receiver Miss Counter

(RxMISS, Read-only, Address: PacketPage base + 0130h)

The RxMISS counter (Bits 6 through F) records the number of receive frames that are lost (missed) due to the lack
of available buffer space. If the MissOvfloiE bit (Register B, BufCFG, Bit D) is set, there is an interrupt when RxMISS
increments from 1FFh to 200h. This interrupt provides the host with an early warning that the RxMISS counter should
be read before it reaches 3FFh and starts over (by interrupting at 200h, the host has an additional 512 counts before
RxMISS actually overflows). The RxMISS counter is cleared when read.

010000

These bits provide an internal address used by the CS8900A to identify this as the Receiver

Miss Counter. When reading this register, these bits will be 010000, where the LSB corre-
sponds to Bit 0.

MissCount

The upper ten bits contain the number of missed frames.

Register’s value is: 0000 0000 0001 0000

4.4.15 Register 12: Transmit Collision Counter

(TxCOL, Read-only, Address: PacketPage base + 0132h)

The TxCOL counter (Bits 6 through F) is incremented whenever the 10BASE-T Receive Pair (RXD+ / RXD-) or AUI
Collision Pair (CI+ / CI-) becomes active while a packet is being transmitted. If the TxColOvfiE bit (Register B, Buf-

7

6

5

4

3

2

1

0

MissCount

010000

F

E

D

C

B

A

9

8

MissCount

7

6

5

4

3

2

1

0

ColCount

010010

F

E

D

C

B

A

9

8

ColCount

Advertising