
MB86976
Fujitsu Microelectronics, Inc.
29
Advanced 11/5/98
The receive status flags are set whenever the corresponding event occurs. Once set, a flag stays set until another packet arrives. In addition,
an interrupt is generated if the corresponding enable bit in the LAN_RxControl register is set, and bit 13, MacRxInterrupt, of the
INTerruptMASK, reg 42h, is clear.
A MAC receive parity error sets RxPar, if interrupt is enabled. Note that this is an internal error, and will never assert under normal con-
ditions. Software is responsible for separating alignment, CRC, and frame too long errors, and reporting them correctly as management
information. The MAC will tolerate up to a maximum of 2 bits of dribble received after an otherwise good frame. Any frame with more
dribble is an alignment error.
ALIGN_CNT (Alignment Count. Register 34)
CRC_CNT (CRC Count. Register 38)
MISS_CNT (Missed Error Count. Register 3C)
These system error count registers provide a count of packets discarded due to various types of errors. Together with status information
for packets transmitted and received, these counters provide the information needed for station management. It is the responsibility of
software to maintain a larger global count.
The missed error count register rolling over from 7FFF h to 8000 h sets the Missed Roll bit in the MAC control register. It also generates
an interrupt if the Enable Missed Roll bit is set.
If station management software wants more frequent interrupts, the missed error count register can be set to a value closer to the roll over
value of 7FFF. For example, setting the register to 7F00 would provide for an interrupt after counting 256 occurrences.
LAN_TxStatus (LAN Transmit Status. Register DC)
This register is loaded on completion of a LAN frame transmission from MAC_TxStatus (Register 0C). The bits are exactly the same as in
that register, but are retained stable until the completion of the next transmitted frame.
Bit
Symbol
Type
Description
15:0
ALIGN_CNT
RC0
The number of packets received with Alignment error. This counter increments at the end of recep-
tion if the receive block detects an Alignment error.
Bit
Symbol
Type
Description
15:0
CRC_CNT
RC0
The number of packets received with CRC errors. It increments if the receive block detects a CRC
error at the end of reception. If the received packet contains other errors, such as Alignment, this
counter does not increment.
Bit
Symbol
Type
Description
15:0
MISS_CNT
RC0
Counts the number of valid packets which are rejected by the MAC unit because the MAC receive
FIFO overflows, a parity error occurs, or the Receive Enable bit (Rx_EN) is cleared. This count
excludes packets the SADB filter rejects.
Bit
Symbol
Type
Description
15:0
LAN_TxStatus
R0
LAN Transmit Status: Loaded from MAC_TxStatus.