am79c972b Advanced Micro Devices, am79c972b Datasheet - Page 65

no-image

am79c972b

Manufacturer Part Number
am79c972b
Description
Pcnet?-fast+ Enhanced 10/100 Mbps Pci Ethernet Controller With Onnow Support
Manufacturer
Advanced Micro Devices
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
am79c972bKC
Manufacturer:
AMD
Quantity:
1 831
Part Number:
am79c972bKC
Manufacturer:
AMD
Quantity:
1 000
Part Number:
am79c972bKC
Manufacturer:
AMD
Quantity:
20 000
Part Number:
am79c972bKI
Manufacturer:
AMD
Quantity:
430
Part Number:
am79c972bKI/W
Manufacturer:
PANASONIC
Quantity:
201
Part Number:
am79c972bKIW
Manufacturer:
INFINEON
Quantity:
4 500
Part Number:
am79c972bVC
Manufacturer:
IDT
Quantity:
200
Part Number:
am79c972bVC
Manufacturer:
AMD
Quantity:
1 000
are both operating at the same time so that the control-
ler receives its own transmissions. The controller pro-
vides two basic types of loopback. In internal loopback
mode, the transmitted data is looped back to the re-
ceiver inside the controller without actually transmitting
any data to the external network. The receiver will
move the received data to the next receive buffer,
where it can be examined by software. Alternatively, in
external loopback mode, data can be transmitted to
and received from the external network.
Refer to Table 21 for various bit settings required for
Loopback modes.
GPSI Loopback Modes
When GPSI is the active network port, there are only
two modes of loopback operation: internal and external
loopback. Loopback operation is enabled by setting
LOOP (CSR15, bit 2) to 1.
When INTL is set to 1, internal loopback is selected.
Data coming out of the transmit FIFO is fed directly to
the receive FIFO. All GPSI outputs are inactive; inputs
are ignored.
External loopback operation is selected by setting INTL
to 0. Data is transmitted to the network and is expected
to be looped back to the GPSI receive pins outside the
chip. Collision detection is active in this mode.
Media Independent Interface Loopback Features
Loopback through the MII can be handled in two ways.
The Am79C972 controller supports an internal MII
loopback and an external MII loopback. The MII
loopback requires that the MII port be manually config-
ured through software using ASEL (BCR 2, bit 1) and
PORTSEL (CSR 15, bits 8-7).
The external loopback through the MII requires a two-
step operation. The external PHY must be placed into
a loopback mode by writing to the MII Control Register
(BCR33, BCR34). Then the Am79C972 controller must
be placed into an external loopback mode by setting
the Loop bits.
The internal loopback through the MII is controlled by
MIIILP (BCR32, bit 1). When set to 1, this bit will cause
the internal portion of the MII data port to loopback on
itself. The MII management port (MDC, MDIO) is unaf-
fected by the MIILP bit. The internal MII interface is
mapped in the following way:
n The TXD[3:0] nibble data path is looped back onto
n TX_CLK is looped back as RX_CLK;
n TX_EN is looped back as RX_DV.
n CRS is correctly OR’d with TX_EN and RX_DV and
n TX_ER is not driven by the Am79C972 and there-
the RXD[3:0] nibble data path;
always encompasses the transmit frame.
fore not looped back.
Am79C972
During the internal loopback, the TXD, TX_CLK, and
TX_EN pins will toggle appropriately with the correct
data.
Miscellaneous Loopback Features
All transmit and receive function programming, such as
automatic transmit padding and receive pad stripping,
operates identically in loopback as in normal operation.
Runt Packet Accept is internally enabled (RPA bit in
CSR124 is not affected) when any loopback mode is in-
voked. This is to be backwards compatible to the C-
LANCE (Am79C90) software.
Since the Am79C972 controller has two FCS genera-
tors, there are no more restrictions on FCS generation
or checking, or on testing multicast address detection
as they exist in the half-duplex PCnet family devices
and in the C-LANCE. On receive, the Am79C972 con-
troller now provides true FCS status. The descriptor for
a frame with an FCS error will have the FCS bit (RMD1,
bit 27) set to 1. The FCS generator on the transmit side
can still be disabled by setting DXMTFCS (CSR15, bit
3) to 1.
In internal loopback operation, the Am79C972 control-
ler provides a special mode to test the collision logic.
When FCOLL (CSR15, bit 4) is set to 1, a collision is
forced during every transmission attempt. This will re-
sult in a Retry error.
General Purpose Serial Interface
The General Purpose Serial Interface (GPSI) provides
a direct interface to the MAC section of the Am79C972
controller. All signals are digital and data is non-en-
coded. The GPSI allows use of an external Manchester
encoder/decoder such as the Am7992B Serial Inter-
face Adapter (SIA). In addition, it allows the Am79C972
controller to be used as a MAC sublayer engine in re-
p e a t e r d e s i g n s b a s e d o n t h e I M R + d e v i c e
(Am79C981).
GPSI mode is invoked by selecting the interface
through the PORTSEL bits of the Mode register
(CSR15, bits 8-7).
The GPSI interface uses some of the same pins as the
interface to the MII. Simultaneous use of both functions
is not possible.
After an H_RESET, all MII pins are internally config-
ured to function as the MII interface. When the GPSI in-
terface is selected by setting PORTSEL (CSR15, bits
8-7) to 10b, the Am79C972 controller will terminate all
further accesses to the MII.
GPSI signal functions are described in the pin descrip-
tion section under the GPSI subheading.
Full-Duplex Operation
The Am79C972 controller supports full-duplex opera-
tion on both network interfaces. Full-duplex operation
65

Related parts for am79c972b