cp2200 Silicon Laboratories, cp2200 Datasheet - Page 78

no-image

cp2200

Manufacturer Part Number
cp2200
Description
Single-chip Ethernet Controller
Manufacturer
Silicon Laboratories
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CP2200
Manufacturer:
CITIZEN
Quantity:
10 000
Part Number:
CP2200
Manufacturer:
SILICON
Quantity:
4 000
Part Number:
CP2200
Manufacturer:
SILICONLABS/芯科
Quantity:
20 000
Part Number:
cp2200-GQ
Manufacturer:
SiliconL
Quantity:
1 120
Part Number:
cp2200-GQ
Manufacturer:
NEC
Quantity:
5 871
Part Number:
cp2200-GQ
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
Part Number:
cp2200-GQ
Manufacturer:
SILICON LABS/芯科
Quantity:
20 000
Part Number:
cp2200-GQR
Manufacturer:
AD
Quantity:
8 700
Part Number:
cp2200-GQR
Manufacturer:
SILICON LABS/芯科
Quantity:
20 000
Company:
Part Number:
cp2200-GQR
Quantity:
10
CP2200/1
14. Media Access Controller (MAC)
The CP2200/1 has an IEEE 802.3 compliant Ethernet Media Access Controller (MAC). The MAC can be
configured to automatically pad short frames (full duplex mode only), append CRC, and perform frame length
checking. A loopback mode separate from PHY loopback is also provided for system debugging. The MAC is
configured through nine indirect 16-bit registers summarized in Table 20.
14.1. Initializing the MAC
MAC initialization occurs after the physical layer initialization and typically occurs once after each reset or Auto-
Negotiation Complete interrupt. Most MAC indirect registers can be left at their reset values. See “6.2. Reset
Initialization” on page 18 for the complete reset initialization procedure. The following are the steps required to
initialize the MAC:
14.2. Accessing the Indirect MAC Registers
The indirect MAC registers are accessed through four direct mapped registers: MACADDR, MACDATAH,
MACDATAL, and MACRW. The MAC registers can be accessed using the following procedure:
78
Step 1: Determine if the physical layer is set to full-duplex or half-duplex. The MAC must be set to the same
Step 2: Write 0x40B3 (full-duplex) or 0x4012 (half-duplex) to MACCF. The appropriate bits in this register
Step 3: Write 0x0015 (full-duplex) or 0x0012 (half-duplex) to IPGT.
Step 4: Write 0x0C12 to IPGR.
Step 5: Write 0x05EE to MAXLEN.
Step 6: Program the 48-bit Ethernet MAC Address by writing to MACAD0:MACAD1:MACAD2.
Step 7: Write 0x0001 to MACCN to enable reception. If loopback mode or flow control is desired, set the
Step 1: Write the address of the indirect register to MACADDR.
Step 2: If writing a value to the indirect register, write a 16-bit value to MACDATAH:MACDATAL.
Step 3: Write any value to MACRW to transfer the contents of MACDATAH:MACDATAL to the indirect
Step 4: Perform a read on MACRW to transfer the contents of the indirect register to
duplex mode as the physical layer before sending or receiving any packets.
may also be set or cleared to change padding options or MAC behavior.
appropriate bits to enable these functions.
register.
MACDATAH:MACDATAL. The MACDATAH and MACDATAL registers may now be directly read to
determine the contents of the indirect register.
Rev. 1.0

Related parts for cp2200