am79c940 Advanced Micro Devices, am79c940 Datasheet - Page 71

no-image

am79c940

Manufacturer Part Number
am79c940
Description
Media Access Controller For Ethernet Mace
Manufacturer
Advanced Micro Devices
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
am79c940AJC
Manufacturer:
AMD
Quantity:
1 831
Part Number:
am79c940BJC
Manufacturer:
AMD
Quantity:
8 831
Part Number:
am79c940BJCT
Manufacturer:
AMD
Quantity:
20 000
Part Number:
am79c940BJI
Manufacturer:
AMD
Quantity:
1 000
Part Number:
am79c940BKC
Quantity:
6 255
Part Number:
am79c940BKC
Manufacturer:
AMD
Quantity:
1 000
Part Number:
am79c940BKC
Manufacturer:
AMD
Quantity:
20 000
Part Number:
am79c940BNI
Manufacturer:
AMD
Quantity:
20 000
Part Number:
am79c940BVC
Manufacturer:
AMD
Quantity:
8 831
Part Number:
am79c940BVC
Manufacturer:
AMD
Quantity:
1 000
Part Number:
am79c940BVC
Manufacturer:
AMD
Quantity:
20 000
Part Number:
am79c940BVI
Manufacturer:
AMD
Quantity:
1 831
Physical Address
(PADR [47–00])
This 48-bit value represents the unique node value as-
signed by the IEEE and used for internal address com-
parison. After a hardware or software reset and before
the ENRCV bit in the MAC Configuration Control regis-
ter has been set, the Physical Address can be accessed
by setting the PHYADDR bit in the Internal Address
Configuration register (REG ADDR 18) and then by per-
forming 6 reads or writes to the Physical Address. Once
ENRCV has been set, the ADDRCHG bit in the Internal
Address Configuration register must be set and be
polled until it is cleared by the MACE device before set-
ting the PHYADDR bit and before accessing of the
Physical Address is allowed. The first bit of the incoming
address must be a 0 for a physical address. The incom-
ing address is compared against the value stored in the
Physical Address register at initialization provided that
the DRCVPA bit in the MAC Configuration Control regis-
ter is cleared.
Missed Packet Count (MPC)
The Missed Packet Count (MPC) is a read only 8-bit
counter. The MPC is incremented when the receiver is
unable to respond to a packet which would have nor-
mally been passed to the host. The MPC will be reset to
zero when read. The MACE device will be deaf to re-
ceive traffic due to any of the following conditions :
If the number of received frames that have been missed
exceeds 255, the MPC will roll over and continue count-
ing from zero, the MPCO (Missed Packet Count Over-
flow) bit in the Interrupt Register will be set (at the value
255), and the INTR pin will be asserted providing that
MPCOM (Missed Packet Count Overflow Mask) in the
71
PADR [47–00]
MPC [7–0]
The host disabled the receive function by clearing
the ENRCV bit in the MAC Configuration Control
register.
A Receive FIFO overflow condition exists, and must
be cleared by reading the Receive FIFO and the Re-
ceive Frame Status.
The Receive Frame Count (RCVFC) in the FIFO
Frame Count register exceeds its maximum value,
indicating that greater than 15 frames are in the Re-
ceive FIFO.
(REG ADDR 21)
(REG ADDR 24)
Am79C940
Interrupt Mask Register is clear. MPCOM will be cleared
(the interrupt will be unmasked) after a hardware or soft-
ware reset.
Note that the following conditions apply to the MPC:
Runt Packet Count (RNTPC)
The Runt Packet Count (RNTPC) is a read only 8-bit
counter, incremented when the receiver detects a runt
packet that is addressed to this node. Runt packets are
defined as received frames which passed the internal
address match criteria but did not contain a minimum of
64-bytes of data after SFD. Note that the RNTPC value
returned in the Receive Frame Status (RFS2) will freeze
at a value of 255, whereas this register based version of
RNTPC is free running. The value will roll over after 255
runt packets have been detected, setting the RNTPCO
bit (in the Interrupt Register and asserting the INTR pin if
the corresponding mask bit (RNTPCOM in the Interrupt
Mask Register) is cleared. RNTPC will be reset to zero
when read.
RNTPC [7–0]
After hardware or software reset, the MPC will not
increment until the first time the receiver is enabled
(ENRCV = 1). Once the receiver has been enabled,
the MPC will count all missed packet events, re-
gardless of the programming of ENRCV.
The packet must pass the internal address match to
be counted. Any of the following address match
conditions will increment MPC while the receiver is
deaf :
Physical Address match;
Logical Address match;
Broadcast reception;
Any receive in promiscuous mode (PROM = 1 in the
MAC Configuration Control register);
EADI feature match mode and EAM is asserted;
EADI feature reject mode and EAR is not asserted.
Any packet which suffers a collision within the slot
time will not be counted.
Runt packets will not be counted unless RPA in the
User Test Register is enabled.
Packets which pass the address match criteria but
experience FCS or Framing errors will be counted,
since they are normally passed to the host.
(REG ADDR 26)
AMD

Related parts for am79c940