BCM5222KPFa [BOARDCOM]
Dual Port 10/100BASE-TX IEEE 802.3u Fast Ethernet Transceiver;![BCM5222KPFa](http://pdffile.icpdf.com/pdf2/p00334/img/icpdf/BCM5222KPFA_2056233_icpdf.jpg)
型号: | BCM5222KPFa |
厂家: | ![]() |
描述: | Dual Port 10/100BASE-TX IEEE 802.3u Fast Ethernet Transceiver 局域网(LAN)标准 |
文件: | 总76页 (文件大小:1084K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
Preliminary Data Sheet
BCM5222
Dual Port 10/100BASE-TX IEEE 802.3u Fast Ethernet Transceiver
GENERAL DESCRIPTION
FEATURES
The BCM5222 is a dual-port, low-power, 10/100BASE-
TX transceiver targeting a number of applications
requiring intelligent power management and robust
network tolerance. The BCM5222 operates using a 1.8V
and 3.3V supply. The devices contain two full-duplex
10BASE-T/100BASE-TX Fast Ethernet transceivers,
which perform all of the physical layer interface functions
for 10BASE-T Ethernet on CAT 3, 4, and 5 unshielded
twisted pair (UTP) cable and 100BASE-TX Fast Ethernet
on CAT 5 UTP cable.
•
Dual Port 10/100BASE-TX IEEE 802.3u Fast
Ethernet Transceiver
•
•
Power Consumption: <180 mW/port
Unique Energy Detection Circuit to Enable Intelligent
Power Management
•
•
•
•
•
•
•
•
•
•
HP Auto-MDIX
Cable Length Indication
Cable Noise Level Indication
Cable length greater than 140 meters
Well Under 10 PPM defect ratio quality
Industrial Temperature Range (-40 to 85C)
MII/7-wire serial interface
The BCM5222 is a highly integrated solution combining
a digital adaptive equalizer, ADC, phase lock loop, line
driver, encoder, decoder and all the required support
circuitry into a single monolithic CMOS chip. It complies
fully with the IEEE 802.3u specification, including the
Media Independent Interface (MII) and Auto-Negotiation
subsections.
IEEE 1149.1 (JTAG) Scan Chain Support
MII Management Via Serial Port
100-pin PQFP and 100-pin fpBGA packages
APPLICATIONS
The effective use of digital technology in the BCM5222
design results in robust performance over a broad range
of operating scenarios. Problems inherent to mixed-
signal implementations, such as analog offset and on-
chip noise, are eliminated by employing field proven
digital adaptive equalization and digital clock recovery
techniques.
•
•
•
•
IP Phones
Backplane Bus Communication
Embedded Telecom
Print Servers
TXD[1:2]
TXEN[1:2]
TXER[1:2]
TXC[1:2]
4
Multimode
Xmt DAC
TD±[1:2]
10BASE-T
PCS
Auto
MDIX
Baseline
Wander
COL[1:2]
RXC[1:2]
Correction
100BASE-TX
PCS
CRS[1:2]
RXDV[1:2]
RXER[1:2]
RXD[1:2]
Digital
Adaptive
Equalizer
RD±[1:2]
ADC
4
CRS/Link
Detection
ACTLED#[1:2]
LNKLED#[1:2]
SPDLED#[1:2]
FDXLED#[1:2]
Auto-Negotiation
/Link Integrity
LED
Drivers
Clock
Generator
XTALO
XTALI
Clock
Recovery
MODES
Bias
Generator
RDAC
JTAG
MII
MDC
MII
Registers
Mgmt
JTAG
Test Logic
MDIO
Control
5
Figure 1: Functional Block Diagram
5222-DS02-405-R
7/20/04
16215 Alton Parkway • P.O. Box 57013 • Irvine, CA 92619-7013 • Phone: 949-450-8700 • Fax: 949-450-8710
REVISION HISTORY
Revision
Date
Change Description
5222-DS02-R
5222-DS01-R
5222-DS00-R
7/20/04
10/12/01
3/1/01
Revised pin assignments, signal definitions, added new characterizations.
Updated clock information.
Initial Release
Broadcom Corporation
P.O. Box 57013
16215 Alton Parkway
Irvine, CA 92619-7013
© 2003 by Broadcom Corporation
All rights reserved
Printed in the U.S.A.
Broadcom® and the pulse logo are registered trademarks of Broadcom Corporation and/or its subsidiaries in the United
States and certain other countries. All other trademarks mentioned are the property of their respective owners.
This data sheet (including, without limitation, the Broadcom component(s) identified herein) is not designed, intended,
or certified for use in any military, nuclear, medical, mass transportation, aviation, navigations, pollution control,
hazardous substances management, or other high risk application. BROADCOM PROVIDES THIS DATA SHEET "AS-
IS", WITHOUT WARRANTY OF ANY KIND. BROADCOM DISCLAIMS ALL WARRANTIES, EXPRESSED AND
IMPLIED, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
Preliminary Data Sheet
BCM5222
7/20/04
Table of Contents
Section 1: Functional Description......................................................................................1
Overview ....................................................................................................................................................... 1
Encoder/Decoder ......................................................................................................................................... 1
Link Monitor.................................................................................................................................................. 2
Carrier Sense................................................................................................................................................ 2
Collision Detection....................................................................................................................................... 2
Auto-Negotiation .......................................................................................................................................... 2
Digital Adaptive Equalizer........................................................................................................................... 3
ADC ............................................................................................................................................................... 3
Digital Clock Recovery/Generator.............................................................................................................. 3
Baseline Wander Correction ....................................................................................................................... 3
Multimode Transmit DAC ............................................................................................................................ 3
Stream Cipher............................................................................................................................................... 4
MII Management ........................................................................................................................................... 4
Section 2: Hardware Signal Definitions.............................................................................6
Section 3: Pinout Diagram ................................................................................................10
Section 4: Operational Description..................................................................................12
Reset ........................................................................................................................................................... 12
Clock ........................................................................................................................................................... 12
Isolate Mode ............................................................................................................................................... 12
Loopback Mode.......................................................................................................................................... 12
Full-Duplex Mode ....................................................................................................................................... 13
Auto-MDIX................................................................................................................................................... 13
10BASE-T Mode ......................................................................................................................................... 13
10BASE-T Serial Mode............................................................................................................................... 14
Special LED Modes .................................................................................................................................... 14
Force LEDs On ..................................................................................................................................... 14
Disable LEDs ........................................................................................................................................ 14
Interrupt Mode............................................................................................................................................ 14
Power Saving Modes ................................................................................................................................. 15
Broadcom Corporation
Document 5222-DS02-405-R
Page iii
BCM5222
Preliminary Data Sheet
7/20/04
Section 5: Register Summary .......................................................................................... 16
Media Independent Interface (MII) Management Interface: Register Programming.............................16
Preamble (PRE) ....................................................................................................................................16
Start of Frame (ST)................................................................................................................................16
Operation Code (OP).............................................................................................................................16
PHY Address (PHYAD) .........................................................................................................................16
Register Address (REGAD)...................................................................................................................16
Turnaround (TA)....................................................................................................................................17
Data.......................................................................................................................................................17
Idle.........................................................................................................................................................17
MII Control Register....................................................................................................................................17
Reset .....................................................................................................................................................18
Loopback...............................................................................................................................................18
Forced Speed Selection ........................................................................................................................18
Auto-Negotiation Enable........................................................................................................................18
Power Down ..........................................................................................................................................19
Isolate....................................................................................................................................................19
Restart Auto-Negotiation .......................................................................................................................19
Duplex Mode .........................................................................................................................................19
Collision Test.........................................................................................................................................19
Reserved Bits ........................................................................................................................................19
MII Status Register .....................................................................................................................................20
100BASE-T4 Capability.........................................................................................................................20
100BASE-TX Full-Duplex Capability .....................................................................................................20
100BASE-TX Half-Duplex Capability.....................................................................................................20
10BASE-T Full-Duplex Capability..........................................................................................................20
10BASE-T Half-Duplex Capability.........................................................................................................21
Reserved Bits ........................................................................................................................................21
Preamble Suppression ..........................................................................................................................21
Auto-Negotiation Complete ...................................................................................................................21
Remote Fault.........................................................................................................................................21
Auto-Negotiation Capability...................................................................................................................21
Link Status.............................................................................................................................................21
Jabber Detect ........................................................................................................................................21
Broadcom Corporation
Page iv
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
Extended Capability.............................................................................................................................. 21
PHY Identifier Registers ............................................................................................................................ 22
Auto-Negotiation Advertisement Register............................................................................................... 22
Next Page ............................................................................................................................................. 23
Reserved Bits........................................................................................................................................ 23
Remote Fault ........................................................................................................................................ 23
Reserved Bits........................................................................................................................................ 23
Pause.................................................................................................................................................... 23
Advertisement Bits ................................................................................................................................ 23
Selector Field........................................................................................................................................ 23
Auto-Negotiation Link Partner (LP) Ability Register............................................................................... 24
LP Next Page........................................................................................................................................ 24
LP Acknowledge ................................................................................................................................... 24
LP Remote Fault................................................................................................................................... 24
Reserved Bits ................................................................................................................................ 24
LP Advertise Pause ....................................................................................................................... 24
LP Advertise Bits ........................................................................................................................... 25
LP Selector Field ........................................................................................................................... 25
Auto-Negotiation Expansion Register...................................................................................................... 25
Reserved Bits........................................................................................................................................ 25
Parallel Detection Fault......................................................................................................................... 25
Link Partner Next Page Able................................................................................................................. 25
Next Page Able..................................................................................................................................... 26
Page Received...................................................................................................................................... 26
Link Partner Auto-Negotiation Able....................................................................................................... 26
Auto-Negotiation Next Page Register ...................................................................................................... 26
Next Page ............................................................................................................................................. 26
Message Page...................................................................................................................................... 26
Acknowledge 2...................................................................................................................................... 27
Toggle................................................................................................................................................... 27
Message Code Field ............................................................................................................................. 27
Unformatted Code Field........................................................................................................................ 27
Auto-Negotiation Link Partner (LP) Next Page Transmit Register ........................................................ 27
Next Page ............................................................................................................................................. 27
Message Page...................................................................................................................................... 28
Broadcom Corporation
Document 5222-DS02-405-R
Page v
BCM5222
Preliminary Data Sheet
7/20/04
Acknowledge 2 ......................................................................................................................................28
Toggle....................................................................................................................................................28
Message Code Field..............................................................................................................................28
Unformatted Code Field ........................................................................................................................28
100BASE-TX Auxiliary Control Register...................................................................................................28
Transmit Disable....................................................................................................................................29
Bypass 4B5B Encoder/Decoder............................................................................................................29
Bypass Scrambler/Descrambler............................................................................................................29
Bypass NRZI Encoder/Decoder ............................................................................................................29
Bypass Receive Symbol Alignment.......................................................................................................29
Baseline Wander Correction Disable.....................................................................................................29
Reserved Bits ........................................................................................................................................29
100BASE-TX Auxiliary Status Register ....................................................................................................30
Locked...................................................................................................................................................30
Current 100BASE-TX Link Status .........................................................................................................30
Remote Fault.........................................................................................................................................30
False Carrier Detected ..........................................................................................................................30
Bad ESD Detected ................................................................................................................................31
Receive Error Detected .........................................................................................................................31
Transmit Error Detected ........................................................................................................................31
Lock Error Detected...............................................................................................................................31
MLT3 Code Error Detected ...................................................................................................................31
100BASE-TX Receive Error Counter.........................................................................................................31
Receive Error Counter [15:0].................................................................................................................31
100BASE-TX False Carrier Sense Counter...............................................................................................32
False Carrier Sense Counter [7:0].........................................................................................................32
Auxiliary Control/Status Register .............................................................................................................32
Jabber Disable.......................................................................................................................................33
Force Link..............................................................................................................................................33
10M Transmit Power Mode ...................................................................................................................33
HSQ and LSQ........................................................................................................................................33
Edge Rate..............................................................................................................................................33
Auto-Negotiation Indication ...................................................................................................................33
Force100/10 Indication..........................................................................................................................33
Speed Indication....................................................................................................................................34
Broadcom Corporation
Page vi
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
Full-Duplex Indication ........................................................................................................................... 34
Auxiliary Status Summary Register ......................................................................................................... 34
Interrupt Register....................................................................................................................................... 35
Interrupt Enable .................................................................................................................................... 35
FDX Mask ............................................................................................................................................. 35
SPD Mask............................................................................................................................................. 36
Link Mask.............................................................................................................................................. 36
Interrupt Mask ....................................................................................................................................... 36
FDX Change ......................................................................................................................................... 36
SPD Change......................................................................................................................................... 36
Link Change.......................................................................................................................................... 36
Interrupt Status ..................................................................................................................................... 36
Auxiliary Mode 2 Register ......................................................................................................................... 36
10BT Dribble Bit Correct ....................................................................................................................... 37
Jumbo Packet Enable........................................................................................................................... 37
TXC Invert............................................................................................................................................. 37
Block 10BT Echo Mode ........................................................................................................................ 37
Qualified Parallel Detect Mode ............................................................................................................. 37
10BASE-T Auxiliary Error and General Status Register......................................................................... 38
MDIX Status.......................................................................................................................................... 38
MDIX Manual Swap .............................................................................................................................. 38
HP Auto-MDIX Disable ......................................................................................................................... 38
Manchester Code Error......................................................................................................................... 39
End of Frame Error ............................................................................................................................... 39
Auto-Negotiation Indication................................................................................................................... 39
Force 100/10 Indication ........................................................................................................................ 39
Speed Indication ................................................................................................................................... 39
Full-Duplex Indication ........................................................................................................................... 39
Auxiliary Mode Register ............................................................................................................................ 40
Link LED Disable .................................................................................................................................. 40
Block TXEN Mode................................................................................................................................. 40
Auxiliary Multiple PHY Register................................................................................................................ 40
HCD Bits ............................................................................................................................................... 41
Restart Auto-Negotiation....................................................................................................................... 41
Auto-Negotiation Complete................................................................................................................... 41
Broadcom Corporation
Document 5222-DS02-405-R
Page vii
BCM5222
Preliminary Data Sheet
7/20/04
Acknowledge Complete.........................................................................................................................41
Acknowledge Detected..........................................................................................................................41
Ability Detect..........................................................................................................................................42
Super Isolate .........................................................................................................................................42
10BASE-T Serial Mode .........................................................................................................................42
Broadcom Test Register ............................................................................................................................42
Shadow Register Enable.......................................................................................................................42
Auxiliary Mode 4 Register (Shadow Register) .........................................................................................43
Force LED [1:0] .....................................................................................................................................43
Enable Clock During Low Power...........................................................................................................43
Force IDDQ Mode .................................................................................................................................43
Auxiliary Status 2 Register (Shadow Register)........................................................................................44
MLT3 Detected......................................................................................................................................44
Cable Length 100X [2:0]........................................................................................................................44
ADC Peak Amplitude [5:0].....................................................................................................................44
Auxiliary Status 3 Register (Shadow Register)........................................................................................45
Noise [7:0] .............................................................................................................................................45
FIFO Consumption [3:0] ........................................................................................................................45
Auxiliary Mode 3 Register (Shadow Register) .........................................................................................45
FIFO Size Select [3:0] ...........................................................................................................................45
Auxiliary Status 4 Register (Shadow Register)........................................................................................46
Packet Length Counter [15:0]................................................................................................................46
Section 6: Timing and AC Characteristics...................................................................... 47
Section 7: Electrical Characteristics ............................................................................... 58
Section 8: Application Example....................................................................................... 60
Section 9: Mechanical Information.................................................................................. 61
Section 10: Ordering Information .................................................................................... 63
Broadcom Corporation
Page viii
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
LIST OF FIGURES
Figure 1: Functional Block Diagram .....................................................................................................................i
Figure 2: BCM5222KQM Pinout Diagram ........................................................................................................ 10
Figure 3: BCM5222KPF Pinout Diagram.......................................................................................................... 11
Figure 4: Clock and Reset Timing .................................................................................................................... 47
Figure 5: MII Transmit Start of Packet Timing (100BASE-TX) ......................................................................... 48
Figure 6: MII Transmit End of Packet Timing (100BASE-TX) .......................................................................... 49
Figure 7: MII Receive Start of Packet Timing (100BASE-TX) .......................................................................... 50
Figure 8: MII Receive End of Packet Timing (100BASE-TX............................................................................. 51
Figure 9: MII Receive Packet Premature End (100BASE-TX) ......................................................................... 51
Figure 10: MII Link Failure or Stream Cipher Error During Receive Packet..................................................... 52
Figure 11: MII False Carrier Sense Timing (100BASE-TX).............................................................................. 52
Figure 12: MII 10BASE-T Transmit Start of Packet Timing.............................................................................. 53
Figure 13: 10BASE-T Serial Transmit Timing .................................................................................................. 55
Figure 14: 10BASE-T Serial Receive Timing ................................................................................................... 56
Figure 15: Management Interface Timing......................................................................................................... 57
Figure 16: Management Interface Timing (with Preamble Suppression On).................................................... 57
Figure 17: BCM5222 1.8V and 3.3V Power Connections in 100 MQFP Package ........................................... 60
Figure 18: 100-Pin MQFP Package.................................................................................................................. 61
Figure 19: 100-Pin FBGA Package .................................................................................................................. 62
Broadcom Corporation
Document 5222-DS02-405-R
Page ix
BCM5222
Preliminary Data Sheet
7/20/04
LIST OF TABLES
Table 1: 4B5B Encoding .....................................................................................................................................4
Table 2: Receive Error Encoding........................................................................................................................5
Table 3: Pin Descriptions....................................................................................................................................6
Table 4: 10BASE-T Serial Mode (7-Wire) Signals ............................................................................................14
Table 5: Low Power Modes ..............................................................................................................................15
Table 6: MII Management Frame Format .........................................................................................................16
Table 7: MII Control Register (Address 00000b, 0d, 00h) ................................................................................17
Table 8: MII Status Register (Address 00001B, 01d, 01h) ...............................................................................20
Table 9: PHY Indentifier Registers (Addresses 00010 and 00011b, 02 and 03b, 02 and 03h) ........................22
Table 10: Auto-Negotiation Advertisement Register (Address 04d, 04h) .........................................................22
Table 11: Auto-Negotiation Link Partner Ability Register (Address 05d, 05h) ..................................................24
Table 12: Auto-Negotiation Expansion Register (Address 00110b, 6d, 06h) ...................................................25
Table 13: Next Page Transmit Register (Address 07d, 07h) ............................................................................26
Table 14: Next Page Transmit Register (Address 08d, 08h) ............................................................................27
Table 15: 100BASE-TX Auxiliary Control Register (Address 16d, 10h)............................................................28
Table 16: 100BASE-X Auxiliary Status Register (Address 17d, 11h)...............................................................30
Table 17: 100BASE-TX Receive Error Counter (Address 18d, 12h) ................................................................31
Table 18: 100BASE-TX False Carrier Sense Counter (Address 19d, 13h) ......................................................32
Table 19: Auxiliary Control/Status Register (Address 11000b, 24d, 18h).........................................................32
Table 20: Auxiliary Status Summary Register (Address 11001b, 25d, 19h).....................................................34
Table 21: Interrupt Register (Address 26d, 1Ah) ..............................................................................................35
Table 22: Auxiliary Mode 2 Register (Address 27d, 1Bh) .................................................................................36
Table 23: 10BASE-T Auxiliary Error & General Status Register (Address 28d, 1Ch).......................................38
Table 24: Auxiliary Mode Register (Address 11101b, 29d, 1Dh)......................................................................40
Table 25: Auxiliary Multiple PHY Register (Address 30d, 1Eh) ........................................................................40
Table 26: Broadcom Test (Address 31d, 1Fh)..................................................................................................42
Table 27: Auxiliary Mode 4 Register (Shadow Register 26d, 1Ah)...................................................................43
Table 28: Auxiliary Status 2 Register (Shadow Register 27d, 1Bh)..................................................................44
Table 29: Cable Length.....................................................................................................................................44
Table 30: Auxiliary Status 3 Register (Shadow Register 28d, 1Ch)..................................................................45
Table 31: Auxiliary Mode 3 Register (Shadow Register 29d, 1Dh)...................................................................45
Table 32: Current Receive FIFO Size...............................................................................................................45
Broadcom Corporation
Page x
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
Table 33: Auxiliary Status 4 Register (Shadow Register 30d, 1Eh) ................................................................. 46
Table 34: Clock Timing..................................................................................................................................... 47
Table 35: Reset Timing .................................................................................................................................... 47
Table 36: MII 100BASE-TX Transmit Timing ................................................................................................... 48
Table 37: MII 100BASE-TX Receive Timing .................................................................................................... 49
Table 38: MII 10BASE-T Transmit Timing........................................................................................................ 53
Table 39: MII 10BASE-T Receive Timing......................................................................................................... 54
Table 40: MII 10BASE-T Collision Timing ........................................................................................................ 54
Table 41: 10BASE_T Serial Transmit Timing................................................................................................... 54
Table 42: 10BASE_T Serial Receive Timing.................................................................................................... 55
Table 43: Loopback Timing .............................................................................................................................. 56
Table 44: Auto-Negotiation Timing................................................................................................................... 56
Table 45: LED Timing....................................................................................................................................... 56
Table 46: Management Data Interface Timing ................................................................................................. 57
Table 47: Absolute Maximum Ratings.............................................................................................................. 58
Table 48: Recommended Operating Conditions for BCM5222 ........................................................................ 58
Table 49: Package Thermal Characteristics (BCM5222KQM)......................................................................... 58
Table 50: Package Thermal Characteristics (BCM5222KPF) .......................................................................... 58
Table 51: Electrical Characteristics .................................................................................................................. 59
Broadcom Corporation
Document 5222-DS02-405-R
Page xi
BCM5222
Preliminary Data Sheet
7/20/04
Broadcom Corporation
Page xii
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
Section 1: Functional Description
OVERVIEW
The BCM5222 is a dual-port, single-chip Fast Ethernet transceiver. It performs all of the physical layer interface functions
for 100BASE-TX full-or half-duplex Ethernet on CAT 5 twisted pair cable and 10BASE-T full-or half-duplex Ethernet on CAT
3, 4, or 5 cable.
The chip performs 4B5B, MLT3, NRZI, and Manchester encoding and decoding, clock and data recovery, stream cipher
scrambling/descrambling, digital adaptive equalization, line transmission, carrier sense and link integrity monitor, auto-
negotiation and Media Independent Interface (MII) management functions. Each of the two PHYs in the BCM5222 can be
connected to a MAC switch controller through the MII on one side, and can connect directly to the network media on the
other side (through isolation transformers for unshielded twisted pair (UTP)). The BCM5222 is fully compliant with the IEEE
802.3 and 802.3u standards.
ENCODER/DECODER
In 100BASE-TX mode, the BCM5222 transmits and receives a continuous data stream on twisted-pair cable. When the MII
transmit enable is asserted, nibble-wide (4-bit) data from the transmit data pins is encoded into 5-bit code groups and
inserted into the transmit data stream. The 4B5B encoding is shown in Table 1 on page 4. The transmit packet is
encapsulated by replacing the first 2 nibbles of preamble with a start of stream delimiter (J/K codes) and appending an end
of stream delimiter (T/R codes) to the end of the packet. When the MII transmit error input is asserted during a packet, the
transmit error code group (H) is sent in place of the corresponding data code group. The transmitter repeatedly sends the
idle code group between packets.
In 100BASE-TX mode, the encoded data stream is scrambled by a stream cipher block and then serialized and encoded
into MLT3 signal levels. A multi-mode transmit DAC is used to drive the MLT3 data onto the twisted pair cable.
Following baseline wander correction, adaptive equalization, and clock recovery in 100BASE-TX mode, the receive data
stream is converted from MLT3 to serial NRZ data. The NRZ data is descrambled by the stream cipher block and then
deserialized and aligned into 5-bit code groups.
The 5-bit code groups are decoded into 4-bit data nibbles, as shown in Table 1. The start of stream delimiter is replaced with
preamble nibbles and the end of stream delimiter and idle codes are replaced with all zeros. The decoded data is driven onto
the MII receive data pins. When an invalid code group is detected in the data stream, the BCM5222 asserts the MII RXER
signal. The chip also asserts RXER for several other error conditions that improperly terminate the data stream. While RXER
is asserted, the receive data pins are driven with a 4-bit code indicating the type of error detected. The error codes are listed
in Table 2 on page 5.
In 10BASE-T mode, Manchester encoding and decoding is performed on the data stream. The multimode transmit DAC
performs pre-equalization for 100 meters of CAT 3 cable.
Broadcom Corporation
Document 5222-DS02-405-R
Functional Description
Page 1
BCM5222
Preliminary Data Sheet
7/20/04
LINK MONITOR
In 100BASE-TX mode, receive signal energy is detected by monitoring the receive pair for transitions in the signal level.
Signal levels are qualified using squelch detect circuits. When no signal or certain invalid signals are detected on the receive
pair, the link monitor enters and remains in the link fail state, where only idle codes are transmitted. When a valid signal is
detected on the receive pair for a minimum period of time, the link monitor enters the link pass state and the transmit and
receive functions are enabled.
In 10BASE-T mode, a link-pulse detection circuit constantly monitors the RD± pins for the presence of valid link pulses.
CARRIER SENSE
In 100BASE-TX mode, carrier sense is asserted asynchronously on the CRS pin as soon as activity is detected in the receive
data stream. RXDV is asserted as soon as a valid Start-of-Stream Delimiter (SSD) is detected. Carrier sense and RXDV are
deasserted synchronously upon detection of a valid end of stream delimiter or two consecutive idle code groups in the
receive data stream. If carrier sense is asserted and a valid SSD is not detected immediately, then RXER is asserted in place
of RXDV. A value of 1110 is driven on the receive data pins to indicate false carrier sense.
In 10BASE-T mode, carrier sense is asserted asynchronously on the CRS pin when valid preamble activity is detected on
the RD± input pins.
In half-duplex DTE mode, the BCM5222 asserts carrier sense while transmit enable is asserted and the link monitor is in the
Pass state. In full-duplex mode, CRS is only asserted for receive activity.
COLLISION DETECTION
In half-duplex mode, collision detect is asserted on the COL pin whenever carrier sense is asserted and transmission is in
progress.
AUTO-NEGOTIATION
The BCM5222 contains the ability to negotiate its mode of operation over the twisted pair link using the auto-negotiation
mechanism defined in the IEEE 802.3u specification. Auto-negotiation can be enabled or disabled by hardware or software
control. When the auto-negotiation function is enabled, the BCM5222 automatically chooses its mode of operation by
advertising its abilities and comparing them with those received from its link partner. The BCM5222 has Next Page
capabilities. The Next Page and auto-negotiation must be enabled. Once auto-negotiation begins the pages are to be sent
by writing to Register 7 for each page.
The BCM5222 can be configured to advertise 100BASE-TX full-duplex and/or half-duplex and 10BASE-T full-and/or half-
duplex. The transceiver negotiates with its link partner and chooses the highest level of operation available for its own link.
Broadcom Corporation
Page 2
Link Monitor
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
DIGITAL ADAPTIVE EQUALIZER
The digital adaptive equalizer removes Intersymbol Interference (ISI) created by the transmission channel media. The
equalizer accepts sampled unequalized data from the ADC on each channel and produces equalized data. The BCM5222
achieves an optimum signal-to-noise ratio by using a combination of feed forward equalization and decision feedback
equalization. This powerful technique achieves a 100BASE-TX BER of less than 1 x 10-12 for transmission up to 100 meters
on CAT 5 twisted pair cable, even in harsh noise environments. The digital adaptive equalizers in the BCM5222 achieve
performance close to theoretical limits. The all-digital nature of the design makes the performance very tolerant to on-chip
noise. The filter coefficients are self-adapting to any quality of cable or cable length. Due to transmit pre-equalization in
10BASE-T mode, the adaptive equalizer is bypassed in these two modes of operation.
ADC
The receive channel has a 6-bit, 125-MHz analog-to-digital converter (ADC). The ADC samples the incoming data on the
receive channel and produces a 6-bit output. The ADC output is fed to the digital adaptive equalizer. Advanced analog circuit
techniques achieve low-offset, high-power-supply noise rejection, fast-settling time, and low-bit error rate.
DIGITAL CLOCK RECOVERY/GENERATOR
The all-digital clock recovery and generator block creates all internal transmit and receive clocks. The transmit clock is locked
to the 25-MHz clock input, while the receive clock is locked to the incoming data stream. Clock recovery circuits optimized
to MLT3 and Manchester encoding schemes are included for use with the different operating modes. The input data stream
is sampled by the recovered clock, and fed synchronously to the digital adaptive equalizer.
BASELINE WANDER CORRECTION
A 100BASE-TX data stream is not always DC balanced. Because the receive signal must pass through a transformer, the
DC offset of the differential receive input can wander. This effect, known as baseline wander, can greatly reduce the noise
immunity of the receiver. The BCM5222 automatically compensates for baseline wander by removing the DC offset from the
input signal, and thereby significantly reduces the chance of a receive symbol error.
The baseline wander correction circuit is not required, and therefore is bypassed, in 10BASE-T operating mode.
MULTIMODE TRANSMIT DAC
The multimode transmit digital-to-analog converter (DAC) transmits MLT3-coded symbols in 100BASE-TX mode and
Manchester-coded symbols in 10BASE-T mode. It allows programmable edge-rate control in TX mode, which decreases
unwanted high frequency signal components, thereby reducing EMI. High-frequency pre-emphasis is performed in
10BASE-T mode. The transmit DAC utilizes a current drive output, which is well balanced, and produces very low noise
transmit signals.
Broadcom Corporation
Document 5222-DS02-405-R
Digital Adaptive Equalizer
Page 3
BCM5222
Preliminary Data Sheet
7/20/04
STREAM CIPHER
In 100BASE-TX mode, the transmit data stream is scrambled to reduce radiated emissions on the twisted-pair cable. The
data is scrambled by exclusive ORing the NRZ signal with the output of an 11-bit-wide linear feedback shift register (LFSR),
which produces a 2047-bit non-repeating sequence. The scrambler reduces peak emissions by randomly spreading the
signal energy over the transmit frequency range and eliminating peaks at certain frequencies.
The receiver descrambles the incoming data stream by exclusive ORing it with the same sequence generated at the
transmitter. The descrambler detects the state of the transmit LFSR by looking for a sequence representing consecutive idle
codes. The descrambler locks to the scrambler state after detecting a sufficient number of consecutive idle code-groups.
The receiver does not attempt to decode the data stream unless the descrambler is locked. When locked, the descrambler
continuously monitors the data stream to make sure that it has not lost synchronization. The receive data stream is expected
to contain inter-packet idle periods. If the descrambler does not detect enough idle codes within 724µs, it becomes unlocked,
and the receive decoder is disabled. The descrambler is always forced into the unlocked state when a link failure condition
is detected.
Stream cipher scrambling/descrambling is not used in 10BASE-T mode.
MII MANAGEMENT
The BCM5222 contains two complete sets of MII management registers accessible by using the management clock line
(MDC) and the bidirectional serial data line (MDIO). Each PHY has one associated MII register which is accessed by
commands containing the corresponding PHY address. By configuring the five external PHY address input pins, the PHY
address of PHY 1 is set. PHY 2 address will be one bit higher than that of PHY 1.
Every time an MII read or write operation is executed, the BCM5222 compares the operation's PHY address with its own
PHY address definition. The operation is executed only when the addresses match.
For further details, see Section 5: “Register Summary” on page 16.
Table 1: 4B5B Encoding
Name
4B Code
5B Code
Meaning
0
1
2
3
4
5
6
7
8
9
A
B
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
11110
01001
10100
10101
01010
01011
01110
01111
10010
10011
10110
10111
Data 0
Data 1
Data 2
Data 3
Data 4
Data 5
Data 6
Data 7
Data 8
Data 9
Data A
Data B
Broadcom Corporation
Page 4
Stream Cipher
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
Table 1: 4B5B Encoding (Cont.)
Name
4B Code
5B Code
Meaning
C
D
E
F
I
1100
1101
1110
1111
0000*
0101*
0101*
0000*
0000*
1000
0111
0111
0111
0111
0111
0111
0111
0111
0111
0111
11010
11011
11100
11101
11111
11000
10001
01101
00111
00100
00000
00001
00010
00011
00101
00110
01000
011000
10000
11001
Data C
Data D
Data E
Data F
Idle
J
Start-of-Stream Delimiter, Part 1
Start-of-Stream Delimiter, Part 2
End-of-Stream Delimiter, Part 1
End-of-Stream Delimiter, Part 2
K
T
R
H
V
V
V
V
V
V
V
V
V
V
Transmit Error (used to force signalling errors)
Invalid Code
Invalid Code
Invalid Code
Invalid Code
Invalid Code
Invalid Code
Invalid Code
Invalid Code
Invalid Code
Invalid Code
* Treated as invalid code (mapped to 0111) when received in data field.
Table 2: Receive Error Encoding
Error Type
RXD[3:0]
Stream cipher error—descrambler lost lock
Link failure
0010
0011
0110
0111
1000
1110
Premature end of stream
Invalid code
Transmit error
False carrier sense
Broadcom Corporation
Document 5222-DS02-405-R
MII Management
Page 5
BCM5222
Preliminary Data Sheet
7/20/04
Section 2: Hardware Signal Definitions
Table 3 provides the pin descriptions for the BCM5222 BGA and MQFP packages.
Table 3: Pin Descriptions
BGA
MQFP
Pin Label
Type Description
MEDIA CONNECTIONS
K5, K6
K4, K7
38, 44
37, 45
RD+{2}, RD+{1}
I/O
I/O
Receive Pair. Differential data from the media is received on
the RD± signal pair. This pair will function as TX± in the MDIX
configuration.
RD−{2}, RD-{1}
K2, K9
K3, K8
35, 47
36, 46
TD+{2}, TD+{1}
Transmit Pair. Differential data is transmitted to the media on
the TD± signal pair. This pair will function as RX± in the MDIX
configuration.
TD−{2}, TD-{1}
CLOCK
H3, H4
33
32
XTALI
I/O
Crystal Input, Output. A continuous 25 MHz reference clock
must be supplied to the BCM5222 by connecting a 25 MHz
crystal between these two pins or by driving XTALI with an
external 25 MHz clock. When using a crystal, connect a
loading capacitor from each pin to ground. When using an
oscillator, leave XTALO unconnected.
XTALO
MII INTERFACE
A2, C7
97, 84
TXC{2}, TXC{1}
O3S
Transmit Clock. 25-MHz output in 100BASE-TX mode and
2.5 MHz in 10BASE-T MII mode. 10-MHz output in 10BASE-
T serial mode. This clock is a continuously driven output,
generated from the XTALI input.
D5, A8
A3, B7
D6, A7
A4, C6
C5, A9
96, 85
95, 86
94, 87
93, 88
98, 83
TXD3{2}, TXD3{1}
TXD2{2}, TXD2{1}
TXD1{2}, TXD1{1}
TXD0{2}, TXD0{1}
TXEN{2}, TXEN{1}
IPD
MII Transmit Data Input. Nibble-wide transmit data stream is
input on these pins synchronous with TXC. TXD3 is the most
significant bit. Only TXD0 is used in 10BASE-T serial mode.
IPD
IPD
O3S
MII Transmit Enable. Active high. Indicates that the data
nibble on TXD[3:0] is valid.
G8, E10 62, 65
TDI/TXER{2}, TMS/
TXER{1}
MII Transmit Error. An active high input is asserted when a
transmit error condition is requested by the MAC.
C2, D9
8, 73
RXC{2}, RXC{1}
MII Receive Clock. 25-MHz output in 100BASE-TX MII mode
and 2.5-MHz output in 10BASE-T MII mode. 10-MHz output
in 10BASE-T serial mode. This clock is recovered from the
incoming data on the cable inputs. RXC is a continuously
running output clock resynchronized at the start of each
incoming packet. This synchronization may result in an
elongated period during one cycle while RXDV is low.
A1, D7
2, 79
RXD3{2}, RXD3{1}
RXD2{2}, RXD2{1}
RXD1{2}, RXD1{1}
RXD0{2}, RXD0{1}
RXDV{2}, RXDV{1}
O3S
MII Receive Data Outputs. Nibble-wide receive data stream
is driven out on these pins synchronous with RXC. RXD3 is
the most significant bit. Only RXD0 is used in 10BASE-T
serial mode.
B2, A10 3, 78
C3, C9
B1, D8
4, 77
5, 76
D4, B10 6, 75
O3S
MII Receive Data Valid. Active high. Indicates that a receive
frame is in progress, and that the data stream present on the
RXD output pins is valid.
[MSB:LSB]; OVERLINE = active-low signal, I = input, O = output, I/O = bidirectional, IPU = input w/ internal pull-up, OOD
= open-drain output, O3S = three-state output, B = Bias, PWR = power supply, GND = ground
Broadcom Corporation
Page 6
Hardware Signal Definitions
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
Table 3: Pin Descriptions (Cont.)
Type Description
BGA
MQFP
Pin Label
C1, E6
7, 74
RXER{2}, RXER{1}
O3S
MII Receive Error Detected. Active high. Indicates that an
error is occurring during a receive frame.
E5, C10 9, 72
CRS{2}, CRS{1}
O3S
MII Carrier Sense. Active high. Indicates traffic on link. In
100BASE-TX mode, CRS is asserted when a non-idle
condition is detected in the receive data stream and
deasserted when idle or a valid end of stream delimiter is
detected. In 10BASE-T mode, CRS is asserted when a valid
preamble is detected and deasserted when end-of-file or an
idle condition is detected. CRS is also asserted during
transmission of packets except in full-duplex modes. CRS is
an asynchronous output signal.
D3, E7
A5
10, 71
91
COL{2}, COL{1}
MDIO
O3S
Collision Detect. In half-duplex modes, active high output
indicates that a collision has occurred. In full-duplex mode,
COL remains low. COL is an asynchronous output signal.
I/OPU Management Data I/O. This serial input/output bit is used to
read from and write to the MII registers of each of the PHYs.
The data value on the MDIO pin is valid and latched on the
rising edge of MDC.
B5
92
MDC
IPD
Management Data Clock. The MDC clock input must be
provided to allow MII management functions.
Clock frequencies up to 25 MHz are supported.
MODE
D10
68
RESET
IPU
IPU
Reset. Active Low. Resets the BCM5222. Also used to
enable Power Off and Low Power modes.
E1, E4
13, 14
PHYAD0, PHYAD1,
PHY Address Selects PHYAD[1:0]. These inputs set the two
least significant bits of the MII management PHY address for
PHY 1. PHY 2 address will be one greater than the PHY 1
address.These pins are sampled only during power-on reset.
E3, E2,
F1
15, 16,
17
PHYAD2, PHYAD3,
PHYAD4
IPD
PHY Address Selects PHYAD[4:2]. These inputs set the
three most significant bits of the MII management PHY
address for PHY 1. PHY 2 address will be one greater than
the PHY 1 address.These pins are sampled only during
power-on reset.
H8
F9
F6
51,
64
63
PAUSE{2},
OPD
IPU
PAUSE. Status of the link partner’s PAUSE bit, bit 10d of MII
Link Partner Ability register 05d.
TDO/PAUSE{1}
TCK/FDX
Full-Duplex Mode. When auto-negotiation is disabled, the
FDX pin is logically ORed with register 00, bit 8 to select full-
duplex (1) or half-duplex (0) operation. (This pin becomes
TCK if TRST pin is high.) When auto-negotiation is enabled,
this pin is ignored.
H2
27
LOW_PWR
IPD
Low Power Mode Enable. Active high input places the
BCM5222 into Low Power operation with the chip deactivated
except for the crystal oscillator if bit 2 of Shadow register 1Ah
is set to the non-default value of 1. When asserted with
RESET pulled low, the entire chip is deactivated (Power Off
mode).
[MSB:LSB]; OVERLINE = active-low signal, I = input, O = output, I/O = bidirectional, IPU = input w/ internal pull-up, OOD
= open-drain output, O3S = three-state output, B = Bias, PWR = power supply, GND = ground
Broadcom Corporation
Document 5222-DS02-405-R
Hardware Signal Definitions
Page 7
BCM5222
Preliminary Data Sheet
7/20/04
Table 3: Pin Descriptions (Cont.)
Type Description
BGA
MQFP
Pin Label
J1
25
F100
IPU
Force 100BASE-TX Control. When F100 is high and ANEN
is low, the transceiver is forced to 100BASE-TX operation.
When F100 is low and ANEN is low, the transceiver is forced
to 10BASE-T operation. When ANEN is high, F100 has no
effect on operation.
G2
F7
24
67
ANEN
IPU
Auto-Negotiation Enable. ANEN is active high. When pulled
high, auto-negotiation begins immediately after reset. When
low, auto-negotiation is disabled by default.
TESTEN
IPD
Test Mode Enable. Active high. Can float or be grounded for
normal operation.
J7,
H9
53,
54
ADV_PAUSE{2},
ADV_PAUSE{1}
ADV_PAUSE. Active low. During power-on reset, this pin is
sampled and causes the default value of MII auto-negotiation
Advertisement register, 4, bit 10d to be set accordingly.
IPU
J10
52
MDIX_DIS
IPD
HP Auto-MDIX Disable. Active high. During power-on reset
if this pin is high the BCM5222 disables MDI cable cross-over
detection on both ports.
A6
89
50
INTR
O3S
IPU
Interrupt. When the interrupt mode is enabled, pin becomes
INTR. This pin is shared by both PHY 1 and PHY 2.
K10
DLLTEST
DLL Test. This pin must be left unconnected during normal
operation.
BIAS
G4
29
RDAC
B
DAC Bias Resistor. Adjusts the current level of the transmit
DAC. A resistor of 1.31 kΩ ±1% must be connected between
the RDAC pin and GND.
LEDS
F5, G9
18, 60
20, 58
21, 57
LNKLED{2}, LNKLED{1}
SPDLED{2}, SPDLED{1}
O3S
O3S
Link Integrity LED. The Link Integrity LED indicates the link
status of the PHY. LNKLED is driven low when the link to the
PHY is good.
F2, G7
F3, G6
100BASE-TX LED. The 100 Base-TX LED is driven low when
operating in 100BASE-TX modes and high when operating in
10BASE-T modes.
FDXLED{2}, FDXLED{1}
ACTLED{2}, ACTLED{1}
O3S
O3S
Full-Duplex LED. Driven low when the link is full-duplex and
driven high in half-duplex.
F4, G10 19, 59
Activity LED. Active low output. The receive activity LED is
driven low for approximately 80 ms each time there is receive
or transmit activity, while in the link pass state.
JTAG
F8
66
TRST
IPD
Test Reset. Must be set low for normal operation, holding the
JTAG circuitry in reset. Transition from low to high initializes
the JTAG Tap Controller to the test-logic-reset state. Hold
high during JTAG.
F6
63
62
TCK/FDX
IPU
Test Clock. This pin becomes TCK if TRST pin is high. Clock
input used to synchronize JTAG TAP control and data
transfers.
G8
TDI/TXER{2}
IPD
Test Data Input. This pin becomes TDI if TRST is high. Data
or instruction input for JTAG test logic. Sampled on the rising
edge of TCK.
[MSB:LSB]; OVERLINE = active-low signal, I = input, O = output, I/O = bidirectional, IPU = input w/ internal pull-up, OOD
= open-drain output, O3S = three-state output, B = Bias, PWR = power supply, GND = ground
Broadcom Corporation
Page 8
Hardware Signal Definitions
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
Table 3: Pin Descriptions (Cont.)
Type Description
BGA
MQFP
Pin Label
E10
65
TMS/TXER{1}
IPD
Test Mode Select. This pin becomes TMS if TRST is high.
Single control input to the JTAG TAP controller is used to
traverse the test-logic state machine. Sampled on the rising
edge of TCK.
F9
64
TDO/PAUSE{1}
O3S
Test Data Output. This pin becomes TDO if TRST is high.
Serial data output from the JTAG TAP controller. Updated on
the falling edge of TCK.
POWER
B8, C4
99, 82
41
DVDD
AVDD
OVDD
PWR Digital VDD (1.8V). Connect these pins to decoupling
capacitors as shown in Figure 17 on page 60.
J5
PWR Analog VDD (1.8V). Connect this pin to decoupling
capacitors as shown in Figure 17 on page 60.
B3, C8, 1, 11,
D1, E8, 22, 56,
G1, H10 70, 80
PWR 3.3V Digital Periphery (Output Buffer) VDD supply.
B6, B4,
B9
100, 90, DGND
81
GND Digital Ground.
GND Analog Ground.
G5, J6,
H5, H6
39, 40,
42, 43
AGND
J2
28
BIASVDD
PWR BIAS VDD (3.3V). Connect this pin to decoupling capacitors
as shown in Figure 17 on page 60.
J3
30
BIASGND
OGND
GND Bias Ground. Connect this pin to AGND.
H7, H1, 12, 23,
GND Output Buffer Ground. Digital Periphery (Output Buffer)
D2, E9
55, 69
ground.
J4
34
PLLAGND
PLLAVDD
GND PLL Analog Ground. Phase Locked Loop ground.
K1
31
PWR PLL Analog VDD (1.8V). 1.8V, Phase Locked Loop VDD
Core. Connect this pin to decoupling capacitors as shown in
Figure 17 on page 60.
NO CONNECTS
J8, J9 26, 48,
G3, F10 49, 61
NC
NC
No Connection. Leave these pins floating.
[MSB:LSB]; OVERLINE = active-low signal, I = input, O = output, I/O = bidirectional, IPU = input w/ internal pull-up, OOD
= open-drain output, O3S = three-state output, B = Bias, PWR = power supply, GND = ground
Broadcom Corporation
Document 5222-DS02-405-R
Hardware Signal Definitions
Page 9
BCM5222
Preliminary Data Sheet
7/20/04
Section 3: Pinout Diagram
Figure 2 provides the pinout diagram for the BCM5222KQM package, and Figure 3 on page 11 provides the pinout diagram
for the BCM5222KPF package.
OVDD
RXD3{2}
RXD2{2}
RXD1{2}
RXD0{2}
RXDV{2}
RXER{2}
RXC{2}
CRS{2}
COL{2}
OVDD
OGND
1
2
3
4
5
6
7
8
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
OVDD
RXD3{1}
RXD2{1}
RXD1{1}
RXD0{1}
RXDV{1}
RXER{1}
RXC{1}
CRS{1}
COL{1}
OVDD
OGND
RESET#
TESTEN
TRST#
TMS/TXER{1}
TDO/PAUSE{1}
TCK/FDX
TDI/TXER{2}
NC
LNKLED#{1}
ACTLED#{1}
SPDLED#{1}
FDXLED#{1}
OVDD
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PHYAD0
PHYAD1
PHYAD2
PHYAD3
PHYAD4
LNKLED#{2}
ACTLED#{2}
SPDLED#{2}
FDXLED#{2}
OVDD
BCM5222
(100 pins PQFP)
OGND
ANEN
F100
NC
OGND
LOW_PWR
BIASVDD
RDAC
ADV_PAUSE{1}
ADV_PAUSE{2}
MDIX_DIS
PAUSE{2}
BIASGND
Figure 2: BCM5222KQM Pinout Diagram
Broadcom Corporation
Page 10
Pinout Diagram
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
1
2
3
4
5
6
7
8
9
10
RXD3{2} TXC{2} TXD2{2} TXD0{2}
MDIO
INTR
TXD1{1} TXD3{1} TXEN{1} RXD2{1}
A
B
C
D
E
F
A
B
RXD0{2} RXD2{2}
OVDD
DGND
DVDD
MDC
DGND TXD2{1}
DVDD
DGND
RXDV{1}
RXER{2} RXC{2} RXD1{2}
TXEN{2} TXD0{1} TXC{1}
OVDD RXD1{1} CRS{1}
C
D
E
F
OVDD
OGND
COL{2} RXDV{2} TXD3{2} TXD1{2} RXD3{1} RXD0{1} RXC{1}
RESET
TMS
TXER{1}
PHYAD0 PHYAD3 PHYAD2 PHYAD1 CRS{2} RXER{1} COL{1}
TCK
OVDD
TRST
OGND
TDO
PAUSE{1}
SPDLED{2} FDXLED{2} ACTLED{2} LNKLED{2}
PHY A D4
TESTEN
NC
FDX
TDI
TXER{2}
FDXLED{1} SPDLED{1}
LNKLED{1} ACTLED{1}
OVDD
ANEN
NC
RDAC
AGND
AGND
G
H
J
G
H
J
ADV_
OVDD
OGND LOW_PWR XTALI
XTALO
AGND
AGND
OGND PAUSE{2}
PAUSE{1}
ADV_
NC
F100
BIASVDD BIASGND PLLAGND AVDD
NC
MDIX_DIS
PAUSE{2}
PLLAVDD TD+{2}
TD-{2}
RD-{2}
RD+{2}
RD+{1}
RD-{1}
TD-{1}
TD+{1} DLLTEST
K
K
1
2
3
4
5
6
7
8
9
10
Figure 3: BCM5222KPF Pinout Diagram
Broadcom Corporation
Document 5222-DS02-405-R
Pinout Diagram
Page 11
BCM5222
RESET
Preliminary Data Sheet
7/20/04
Section 4: Operational Description
There are two ways to reset the BCM5222. A hardware reset pin is provided that resets all internal nodes in the chip to a
known state. The reset pulse must be asserted for at least 400 ns. Hardware reset should always be applied to the BCM5222
after power-up.
The BCM5222 also has a software reset capability. To perform software reset, a 1 must be written to bit 15 of the MII Control
register. This bit is self-clearing, meaning that a second write operation is not necessary to end the reset. There is no effect
if a 0 is written to the MII Control register reset bit.
CLOCK
The BCM5222 requires a 25 MHz clock reference which can be driven by attaching a 25-MHz crystal between the XTALI
and XTALO pins or by connecting an external oscillator to pin XTALI. Connect 22 pF capacitors from each pin to ground
when using a crystal. When using an oscillator, leave XTALO unconnected. The reference clock requires accuracy of at least
± 50 ppm.
ISOLATE MODE
When the BCM5222 is put into isolate mode, all MII inputs (TXD[3:0], TXEN, and TXER) are ignored, and all MII outputs
(TXC, COL, CRS, RXC, RXDV, RXER, and RXD[3:0]) are set to high impedance. Only the MII management pins (MDC,
MDIO) operate normally. Upon resetting the chip, the isolate mode is off. Writing a 1 to bit 10 of the MII Control register puts
the transceiver into isolate mode. Writing a 0 to the same bit removes it from isolate mode.
LOOPBACK MODE
Loopback mode allows in-circuit testing of the BCM5222 chip. All packets sent in through the TXD pins are looped-back
internally to the RXD pins, and are not sent out to the cable. The loopback mode is enabled by writing a 1 to bit 14 of the MII
Control register. To resume normal operation, bit 14 of the MII Control register must be 0.
Incoming packets on the cable are ignored in loopback mode. Because of this, the COL pin is normally not activated during
loopback mode. To test that the COL pin is actually working, the BCM5222 can be placed into collision test mode. This mode
is enabled by writing a 1 to bit 7 of the MII Control register. Asserting TXEN causes the COL output to go high, and
deasserting TXEN causes the COL output to go low.
While in loopback mode, several function bypass modes are also available that can provide a number of different
combinations of feedback paths during loopback testing. These bypass modes include bypass scrambler, bypass MLT3
encoder and bypass 4B5B encoder. All bypass modes can be accessed by writing bits of the Auxiliary Control register (10h).
Broadcom Corporation
Page 12
Operational Description
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
Due to the nature of the Block RXDV mode (bit 9 of MII register 1Bh), which is enabled by default, 10BASE-T loopback does
not function properly. It is necessary to first disable the Block RXDV mode by writing FD00h to the Aux Mode 2 register (1Bh).
FULL-DUPLEX MODE
The BCM5222 supports full-duplex operation. While in full-duplex mode, a transceiver can simultaneously transmit and
receive packets on the cable. The COL signal is never activated when in full-duplex mode. The CRS output is asserted only
during receive packets, not transmit packets.
By default, the BCM5222 powers up in half-duplex mode. When auto-negotiation is disabled, full-duplex operation can be
enabled either by FDX pin control or by an MII register bit (register 0h, bit 8).
When auto-negotiation is enabled in DTE mode, full-duplex capability is advertised by default, but can be overridden by a
write to the Auto-Negotiation Advertisement register (04h).
AUTO-MDIX
The BCM5222 offers Auto-MDIX functioning on both PHYs. This enables the device to automatically adapt the configuration
of the device transmit and receive pins in order to successfully link and transmit with a link partner. During auto-negotiation
and 10/100BASE-TX operation, the BCM5222 normally transmits on TD± pins and receives on RD± pins. The BCM5222
automatically switches its transmitter to the RD± pins and its receiver to the TD± pins, if required, in order to communicate
with the remote device. If two devices are connected that both have Auto-MDI/MDIX crossover capability, then a random
algorithm determines which end performs the crossover function.
The Auto-MDI/MDIX crossover feature is a function of auto-negotiation. If the BCM5222 is configured not to perform auto-
negotiation, the feature does not work, and a specific cable, either crossed or straight, is required to ensure the transmit
function at one end of the cable is connected with the receive function at the other end of the cable. This feature is enabled
by default, but can be disabled by setting the MDIX_DIS pin high during power-on reset. This will disable the function on
both PHYs. By setting bit 11 in register 1Ch to a 1, the Auto-MDIX can be disabled for an individual PHY. During operation,
the MDI state can be determined by reading bit 13 of register 1Ch, as indicated in the BCM5222 data sheet. Additionally, a
manual MDI swap can be forced by setting or clearing bit 12 of register 1Ch.
10BASE-T MODE
The same magnetics module used in 100BASE-TX mode can be used to interface to the twisted-pair cable when operating
in 10BASE-T mode. The data is two-level Manchester encoded instead of three-level MLT3, and no scrambling/
descrambling or 4B5B coding is performed. Data and clock rates are decreased by a factor of 10, with the MII interface
signals operating at 2.5 MHz.
Broadcom Corporation
Document 5222-DS02-405-R
Full-Duplex Mode
Page 13
BCM5222
Preliminary Data Sheet
7/20/04
10BASE-T SERIAL MODE
The BCM5222 supports 10BASE-T serial mode, also known as the 7-wire interface. In this mode, 10BASE-T transmit and
receive packets appear at the MII in serial fashion, at a rate of 10 MHz. Receive packet data is output on RXD0
synchronously with RXC. Transmit packet data must be input on TXD0 synchronously with TXC. Both clocks toggle at
10 MHz.
The 10BASE-T serial mode is enabled by writing a 1 to bit 1 of the Auxiliary Multiple-PHY register (1Eh). This mode is not
available in 100BASE-TX mode. Table 4 on page 14 shows the MII pins used in this mode and their direction of operation.
Table 4: 10BASE-T Serial Mode (7-Wire) Signals
pin LABEL
Type
DESCRIPTION
TXD0
TXC
I
Serial Transmit Data
Transmit Data Clock (10 MHz)
Transmit Enable
O
I
TXEN
RXD0
RXC
O
O
O
O
Serial Receive Data
Receive Data Clock (10 MHz)
Carrier Sense
CRS
COL/RXEN
Collision Detect
SPECIAL LED MODES
FORCE LEDS ON
The SPDLED, LNKLED, ACTLED, and FDXLED outputs can be forced on (0 value) by writing a 01 to bit 5 and 4 of Shadow
register 1Ah.
DISABLE LEDS
The SPDLED, LNKLED, ACTLED, and FDXLED outputs can be forced off (1 value) by writing a 10 to bit 5 and 4 of Shadow
register 1Ah.
INTERRUPT MODE
The BCM5222 can be programmed to provide an interrupt output that is shared between the two PHYs. Three conditions
can cause an interrupt to be generated: changes in the duplex mode, changes in the speed of operation or changes in the
link status. The interrupt feature is disabled by default and is enabled by setting MII register 1Ah, bit 14. The INTR pin is
open-drain and can be wire-ORed with INTR pins of other chips on a board. The status of each interrupt source is reflected
in register 1Ah, bits 1, 2 and 3. If any type of interrupt occurs, the Interrupt Status bit, register 1Ah, bit 0, is set.
Broadcom Corporation
Page 14
10BASE-T Serial Mode
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
The Interrupt register (1Ah) also contains several bits to control different facets of the interrupt function. If the interrupt enable
bit is set to 0, no status bits are set and no interrupts are generated. If the interrupt enable bit is set to 1, the following
conditions apply:
•
•
•
•
If mask status bits (bits 9,10,11) are set to 0 and the interrupt mask (bit 8) is set to 0, status bits and interrupts are
available.
If mask status bits (bits 9,10,11) are set to 0 and the interrupt mask (bit 8) is set to 1, status bits are set but no interrupts
generated.
If any mask status bit is set to 1 and the interrupt mask is set to 0, that status bit is not set and no hardware interrupt of
that type is generated.
If any mask status bit is set to 1 and the interrupt mask is set to 1, that status bit is not set and no interrupt of any kind is
generated.
POWER SAVING MODES
Several power saving modes are implemented in the BCM5222. Table 5 shows low power modes available in the BCM5222.
Low power modes can be achieved either by hardware pin or MII register programming. The table shows both hardware pin
and software bits that determine the low power modes and whether the BCM5222 keeps the clocks active. The BCM5222
requires a hard reset to return to normal mode from a low power mode if the clocks are not running. Allow at least 2 ms
before resuming normal operation with the BCM5222 after the device is set to run in normal mode from a low power mode.
Table 5: Low Power Modes
Hardware Settings
Software Setting
Chip Operation
AUTO
MDIX
FORCE LOW_PWR ENABLE
LOW_PWR
RESET
CLOCKS
COMMENT
IDDQ
MODE
CLOCK
1
0
0
1
X
0
1
0
X
X
OFF
ON
NO
Reset State.
Avail
Normal operation without any power saving
modes active.
X
1
1
0
0
X
1
1
1
1
1
0
0
0
0
X
0
0
1
1
X
0
1
0
1
OFF
OFF
ON
NO
NO
Force Iddq register serves as a software
induced power-down mode.
Low Power Mode without CLK functioning,
induced through hardware.
Avail
NO
Low Power Mode with CLK functioning, induced
through hardware.
OFF
ON
Low Power Mode without CLK functioning,
induced through software.
Avail
Low Power Mode with CLK functioning, induced
through software.
LOW_PWR: Pin 27 (Active high)
RESET: Pin 68 (Active Low)
Force Iddq: Bit 0 of Shadow register 1Ah (0−Normal Op. 1−Power down)
Low Power Mode: Bit 1 of Shadow register 1Ah(0−Normal Op. 1−Low Power Mode)
Enable Clock: Bit 2 of Shadow register 1Ah(0−Disabled in LP mode 1−Enabled)
Clock Operation: If clock is off, additional power is saved.
Auto-MDIX Operation: Only available if device has clock running.
X=1/0 or Don’t Care
Broadcom Corporation
Document 5222-DS02-405-R
Power Saving Modes
Page 15
BCM5222
Preliminary Data Sheet
7/20/04
Section 5: Register Summary
MEDIA INDEPENDENT INTERFACE (MII) MANAGEMENT INTERFACE:
REGISTER PROGRAMMING
The BCM5222 fully complies with the IEEE 802.3u Media Independent Interface (MII) specification. The MII management
interface registers are serially written to and read from using the MDIO and MDC pins. A single clock waveform must be
provided to the BCM5222 at a rate of 0–25MHz through the MDC pin. The serial data is communicated on the MDIO pin.
Every MDIO bit must have the same period as the MDC clock. The MDIO bits are latched on the rising edge of the MDC
clock.
See Table 6 for the fields in every MII instruction’s read or write packet frame.
Table 6: MII Management Frame Format
Operation
PRE
ST
OP
PHYAD Regad
TA
Data
idle
Direction
READ
1 ... 1
01
10
AAAAA RRRRR ZZ
Z0
Z ... Z
D ... D
Z
Z
Driven to BCM5222
Driven by BCM5222
WRITE
1 ... 1
01
01
AAAAA RRRRR 10
D ... D
Z
Driven to BCM5222
PREAMBLE (PRE)
32 consecutive 1 bits must be sent through the MDIO pin to the BCM5222 to signal the beginning of an MII instruction. Fewer
than 32 1 bits causes the remainder of the instruction to be ignored, unless the Preamble Suppression mode is enabled
(register 01, bit 6).
START OF FRAME (ST)
A 01 pattern indicates that the start of the instruction follows.
OPERATION CODE (OP)
A read instruction is indicated by 10, while a write instruction is indicated by 01.
PHY ADDRESS (PHYAD)
A 5-bit PHY address follows next, with the MSB transmitted first. The PHY address allows a single MDIO bus to access
multiple transceivers. The BCM5222 supports the full 32-PHY address space.
REGISTER ADDRESS (REGAD)
A 5-bit register address follows, with the MSB transmitted first. The register map of the BCM5222, containing register
addresses and bit definitions, are provided on the following pages.
Broadcom Corporation
Page 16
Register Summary
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
TURNAROUND (TA)
The next two bit times are used to avoid contention on the MDIO pin when a read operation is performed. For a write
operation, 10 must be sent to the chip during these two bit times. For a read operation, the MDIO pin must be placed into
high-impedance during these two bit times. The chip drives the MDIO pin to 0 during the second bit time.
DATA
The last 16 bits of the frame are the actual data bits. For a write operation, these bits are sent to the BCM5222. For a read
operation, these bits are driven by the BCM5222. In either case, the MSB is transmitted first.
When writing to the BCM5222, the data field bits must be stable 10 ns before the rising-edge of MDC, and must be held valid
for 10 ns after the rising edge of MDC. When reading from the BCM5222, the data field bits are valid after the rising edge of
MDC until the next rising edge of MDC.
IDLE
A high-impedance state of the MDIO line. All drivers are disabled and the PHY’s pull-up resistor pulls the line high. At least
one or more clocked idle states are required between frames. Following are two examples of MII write and read instructions.
To put a chip with PHY address 00001 into loopback mode, the following MII write instruction must be issued:
1111 1111 1111 1111 1111 1111 1111 1111 0101 00001 00000 10 0100 0000 0000 0000 1...
To determine whether a PHY is in the link pass state, the following MII read instruction must be issued:
1111 1111 1111 1111 1111 1111 1111 1111 0110 00001 00001 ZZ ZZZZ ZZZZ ZZZZ ZZZZ 1...
For the MII read operation, the BCM5222 drives the MDIO line during the TA and Data fields (the last 17 bit times). A final
65th clock pulse must be sent to close the transaction and cause a write operation.
MII CONTROL REGISTER
The MII Control register bit descriptions are shown in Table 7.
Table 7: MII Control Register (Address 00000b, 0d, 00h)
Bit
Name
R/W
Description
Default
15
Reset
R/W
(SC)
1 = PHY reset
0 = Normal operation
0
14
13
12
11
Loopback
R/W
R/W
R/W
RO
1 = Loopback mode
0 = Normal operation
0
1
1
0
Forced Speed Selection
Auto-Negotiation Enable
Power Down
1 = 100 Mbps
0 = 10 Mbps
1 = Auto-negotiation enable
0 = Auto-negotiation disable
0 = Normal operation
Broadcom Corporation
Document 5222-DS02-405-R
MII Control Register
Page 17
BCM5222
Preliminary Data Sheet
7/20/04
Table 7: MII Control Register (Address 00000b, 0d, 00h)
Bit
Name
R/W
Description
Default
10
Isolate
R/W
1 = Electrically isolate PHY from MII
0 = Normal operation
0
9
Restart Auto-Negotiation
Duplex Mode
R/W
(SC)
1 = Restart Auto-negotiation process
0 = Normal operation
0
0
0
0
8
R/W
R/W
RO
1 = Full-duplex
0 = Half-duplex
7
Collision Test Enable
Reserved
1 = Enable the collision test mode
0 = Disable the collision test mode
6:0
Ignore when read
Note: R/W = Read/Write, RO = Read only, SC = Self Clear, LL = latched low, LH = latched high (LL and LH are cleared
after read operation)
RESET
To reset the BCM5222 by software control, a 1 must be written to bit 15 of the Control register using an MII write operation.
The bit clears itself after the reset process is complete, and need not be cleared using a second MII write. Writes to other
Control register bits has no effect until the reset process is completed, which requires approximately 1 µs. Writing a 0 to this
bit has no effect. Since this bit is self-clearing, within a few cycles after a write operation, it returns a 0 when read.
LOOPBACK
The BCM5222 may be placed into loopback mode by writing a 1 to bit 14 of the Control register. Clear the loopback mode
by writing a 0 to bit 14 of the Control register, or by resetting the chip. When this bit is read, it returns a 1 when the chip is in
loopback mode, otherwise it returns a 0.
FORCED SPEED SELECTION
If auto-negotiation is enabled (both auto-negotiation pin and bit are enabled) or disabled by hardware control (auto-
negotiation pin is pulled-low), this bit has no effect on the speed selection. However, if auto-negotiation is enabled by
hardware, but is disabled by software control, the operating speed of the BCM5222 can be forced by writing the appropriate
value to bit 13 of the Control register. In this state, the speed is not affected by the F100 hardware pin. Writing a 1 to this bit
forces 100BASE-TX operation, while writing a 0 forces 10BASE-T operation. When this bit is read, it returns the value of the
software-controlled forced speed selection only. To read the overall state of forced speed selection, including both hardware
and software control, use bit 2 of the Auxiliary Control register (18h).
AUTO-NEGOTIATION ENABLE
Auto-negotiation can be disabled by one of two methods: hardware or software control. If the ANEN input pin is driven to a
logic 0, auto-negotiation is disabled by hardware control. If bit 12 of the Control register is written with a value of 0, auto-
negotiation is disabled by software control. When auto-negotiation is disabled in this manner, writing a 1 to the same bit of
the Control register or resetting the chip re-enables auto-negotiation. Writing to this bit has no effect when auto-negotiation
has been disabled by hardware control. When read, this bit returns the value most recently written to this location, or 1 if it
has not been written since the last chip reset.
Broadcom Corporation
Page 18
MII Control Register
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
POWER DOWN
The power modes of the BCM5222 are not accessible by this MII register bit. Use Shadow register control instead.
ISOLATE
The PHY can be isolated from its Media Independent Interface by writing a 1 to bit 10 of the Control register. All MII outputs
are tri-stated and all MII inputs are ignored. Because the MII management interface is still active, the isolate mode can be
cleared by writing a 0 to bit 10 of the Control register, or by resetting the chip. When this bit is read, it returns a 1 when the
chip is in isolate mode; otherwise it returns a 0.
RESTART AUTO-NEGOTIATION
Bit 9 of the Control register is a self-clearing bit that allows the auto-negotiation process to be restarted, regardless of the
current status of the auto-negotiation state machine. For this bit to have an effect, auto-negotiation must be enabled. Writing
a 1 to this bit restarts the auto-negotiation, while writing a 0 to this bit has no effect. Because the bit is self-clearing after only
a few cycles, it always returns a 0 when read. The operation of this bit is identical to bit 8 of the Auxiliary Multiple PHY register
(1Eh).
Duplex Mode
This bit is logically or'd with the hardware pin, FDX, whenever Auto-negotiation is disabled.
COLLISION TEST
Test the COL pin by activating the collision test mode. While in this mode, asserting TXEN causes the COL output to go high
within 512 bit times. Deasserting TXEN causes the COL output to go low within 4 bit times. Writing a 1 to bit 7 of the Control
register enables the collision test mode. Writing a 0 to this bit or resetting the chip disables the collision test mode. When
this bit is read, it returns a 1 when the collision test mode has been enabled; otherwise it returns a 0. This bit should only be
set while in loopback test mode.
RESERVED BITS
All reserved MII register bits must be written as 0 at all times. Ignore the BCM5222 output when these bits are read.
Broadcom Corporation
Document 5222-DS02-405-R
MII Control Register
Page 19
BCM5222
Preliminary Data Sheet
7/20/04
MII STATUS REGISTER
The MII status register bit descriptions are shown in Table 8.
Table 8: MII Status Register (Address 00001B, 01d, 01h)
Bit
Name
R/W
Description
Default
15
100BASE-T4 Capability
100BASE-TX FDX Capability
100BASE-TX Capability
10BASE-T FDX Capability
10BASE-T Capability
Reserved
RO
RO
RO
RO
RO
RO
0 = Not 100BASE-T4 capable
0
14
1 = 100BASE-TX full-duplex capable
1 = 100BASE-TX half-duplex capable
1 = 10BASE-T full-duplex capable
1 = 10BASE-T half-duplex capable
Ignore when read
1
1
1
1
0
13
12
11
10:7
Ignore when read
6
5
4
MF Preamble Suppression
Auto-Negotiation Complete
Remote Fault
R/W
RO
RO
RO
1 = Preamble may be suppressed
0 = Preamble always required
0
0
0
1 = Auto-negotiation process completed
0 = Auto-negotiation process not completed
1 = Far-end fault condition detected
0 = No far-end fault condition detected
3
2
Auto-Negotiation Capability
Link Status
1 = Auto-negotiation capable
1
0
RO
LL
1 = Link is up (link pass state)
0 = Link is down (link fail state)
1
0
Jabber Detect
RO
LL
1 = Jabber condition detected
0 = No jabber condition detected
0
Extended Capability
RO
1 = Extended register capable
1
Note: R/W = Read/Write, RO = Read only, SC = Self Clear, LL = latched low, LH = latched high (LL and LH are cleared
after read operation)
100BASE-T4 CAPABILITY
The BCM5222 is not capable of 100BASE-T4 operation, and returns a 0 when bit 15 of the status register is read.
100BASE-TX FULL-DUPLEX CAPABILITY
The BCM5222 is capable of 100BASE-TX full-duplex operation, and returns a 1 when bit 14 of the Status register is read.
100BASE-TX HALF-DUPLEX CAPABILITY
The BCM5222 is capable of 100BASE-TX half-duplex operation, and returns a 1 when bit 13 of the Status register is read.
10BASE-T FULL-DUPLEX CAPABILITY
The BCM5222 is capable of 10BASE-T full-duplex operation, and returns a 1 when bit 12 of the Status register is read.
Broadcom Corporation
Page 20
MII Status Register
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
10BASE-T HALF-DUPLEX CAPABILITY
The BCM5222 is capable of 10BASE-T half-duplex operation, and returns a 1 when bit 11 of the Status register is read.
RESERVED BITS
Ignore the BCM5222 output when these bits are read.
PREAMBLE SUPPRESSION
This bit is the only writable bit in the Status register. Setting this bit to a 1 allows subsequent MII management frames to be
accepted with or without the standard preamble pattern. When preamble suppression is enabled, only 2 preamble bits are
required between successive management commands, instead of the normal 32.
AUTO-NEGOTIATION COMPLETE
Returns a 1 if auto-negotiation process has been completed and the contents of registers 4, 5, and 6 are valid.
REMOTE FAULT
The PHY returns a 1 on bit 4 of the status register when its link partner has signalled a far-end fault condition. When a far-
end fault occurs, the bit is latched at 1 and remains so until the register is read and the remote fault condition has been
cleared.
AUTO-NEGOTIATION CAPABILITY
The BCM5222 is capable of performing IEEE auto-negotiation, and returns a 1 when bit 4 of the Status register is read,
regardless of whether the auto-negotiation function has been disabled.
LINK STATUS
The BCM5222 returns a 1 on bit 2 of the Status register when the link state machine is in link pass, indicating that a valid
link has been established. Otherwise, it returns 0. When a link failure occurs after the link pass state has been entered, the
link status bit is etched at 0 and remains so until the bit is read. After the bit is read, it becomes 1 when the link pass state
is entered again.
JABBER DETECT
10BASE-T operation only. The BCM5222 returns a 1 on bit 1 of the Status register if a jabber condition has been detected.
After the bit is read once, or if the chip is reset, it reverts to 0.
EXTENDED CAPABILITY
The BCM5222 supports extended capability registers, and returns a 1 when bit 0 of the Status register is read. Several
extended registers have been implemented in the BCM5222, and their bit functions are defined later in this section.
Broadcom Corporation
Document 5222-DS02-405-R
MII Status Register
Page 21
BCM5222
Preliminary Data Sheet
7/20/04
PHY IDENTIFIER REGISTERS
The physical indentifier registers bit descriptions are shown in Table 9.
Table 9: PHY Indentifier Registers (Addresses 00010 and 00011b, 02 and 03b, 02 and 03h)
Bit
Name
R/W
Description
Value
15:0
15:0
MII Address 02h
MII Address 03h
RO
RO
PHYID HIGH
PHYID LOW
0040h
632n (Hex)
Note: The revision number (n) changes with each silicon revision.
Broadcom Corporation has been issued an Organizationally Unique Identifier (OUI) by the IEEE. It is a 24-bit number, 00-
10-18, expressed as hex values. That number, along with the Broadcom Model Number for the BCM5222 part, 32h, and
Broadcom Revision number (n), is placed into two MII Registers. The translation from OUI, Model Number and Revision
Number to PHY Identifier register occurs as follows:
•
•
PHYID HIGH [15:0] = OUI[21:6]
PHY LOW [15:0] = OUI[5:0] + MODEL[5:0] + REV[3:0]
The 2 most significant bits of the OUI are not represented (OUI[23:22]).
Table 9 shows the result of concatenating these values to form MII Identifier Registers PHYID HIGH and PHYID LOW.
AUTO-NEGOTIATION ADVERTISEMENT REGISTER
Table 10: Auto-Negotiation Advertisement Register (Address 04d, 04h)
Bit
Name
R/W
Description
Default
15
Next Page
R/W
1 = Next page ability is enabled
0 = Next page ability is disabled
Ignore when read
0
14
13
12:11
10
9
Reserved
RO
Remote Fault
Reserved
R/W
RO
1 = Transmit remote fault
Ignore when read
0
00
0
Pause
R/W
RO
1 = Pause operation for full-duplex
0 = Do not advertise T4 capability
Advertise 100BASE-T4
0
8
Advertise 100BASE-TX FDX R/W
1 = Advertise 100BASE-TX full-duplex
0 = Do not advertise 100BASE-TX full-duplex
1
7
6
Advertise 100BASE-TX
R/W
R/W
1 = Advertise 100BASE-TX
1
1
Advertise 10BASE-T FDX
1 = Advertise 10BASE-T full-duplex
0 = Do not advertise 10BASE-T full-duplex
Note: R/W = Read/Write, RO = Read only, SC = Self Clear, LL = Latched Low, LH = Latched High, LL & LH Clear after
read operation. Use default values of reserved bit(s) when writing to reserved bit(s).
Broadcom Corporation
Page 22
PHY Identifier Registers
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
Table 10: Auto-Negotiation Advertisement Register (Address 04d, 04h) (Cont.)
Bit
Name
R/W
Description
Default
5
Advertise 10BASE-T
R/W
R/W
1 = Advertise 10BASE-T
Indicates 802.3
1
4:0
Advertise Selector Field
00001
Note: R/W = Read/Write, RO = Read only, SC = Self Clear, LL = Latched Low, LH = Latched High, LL & LH Clear after
read operation. Use default values of reserved bit(s) when writing to reserved bit(s).
NEXT PAGE
Writing a 1 to bit 15 of the Advertisement register enables the next page functioning. Writing a 0 to this bit or resetting the
chip clears the next page enable bit. This bit returns the value last written to it, or else 0 if no write has been completed since
the last chip reset.
RESERVED BITS
Ignore output when read.
REMOTE FAULT
Writing a 1 to bit 13 of the Advertisement register causes a remote fault indicator to be sent to the link partner during auto-
negotiation. Writing a 0 to this bit or resetting the chip clears the remote fault transmission bit. This bit returns the value last
written to it, or else 0 if no write has been completed since the last chip reset.
RESERVED BITS
Ignore output when read.
PAUSE
Pause operation for full-duplex links. The use of this bit is independent of the negotiated data rate, medium, or link
technology. The setting of this bit indicates the availability of additional DTE capability when full-duplex operation is in use.
This bit is used by one MAC to communicate pause capability to its link partner and has no effect on PHY operation.
ADVERTISEMENT BITS
Use bits 9:5 of the Advertisement register to customize the ability information transmitted to the link partner. The default
value for each bit reflects the abilities of the BCM5222. By writing a 1 to any of the bits, the corresponding ability can be
transmitted to the link partner. Writing a 0 to any bit causes the corresponding ability to be suppressed from transmission.
Resetting the chip restores the default bit values. Reading the register returns the values last written to the corresponding
bits, or else the default values if no write has been completed since the last chip reset.
SELECTOR FIELD
Bits 4:0 of the Advertisement register contain the value 00001, indicating that the chip belongs to the 802.3 class of PHY
transceivers.
Broadcom Corporation
Document 5222-DS02-405-R
Auto-Negotiation Advertisement Register
Page 23
BCM5222
Preliminary Data Sheet
7/20/04
AUTO-NEGOTIATION LINK PARTNER (LP) ABILITY REGISTER
Table 11: Auto-Negotiation Link Partner Ability Register (Address 05d, 05h)
Bit
Name
R/W
Description
Default
15
14
13
12:11
10
9
LP Next Page
RO
RO
RO
RO
RO
RO
Link partner next page bit
0
LP Acknowledge
LP Remote Fault
Reserved
Link partner acknowledge bit
0
Link partner remote fault indicator
Ignore when read
0
00
LP Advertise Pause
LP Advertise 100BASE-T4
Link partner has pause capability
Link partner has 100BASE-T4 capability
Link partner has 100BASE-TX FDX capability
Link partner has 100BASE-TX capability
Link partner has 10BASE-T FDX capability
Link partner has 10BASE-T capability
Link partner selector field
0
0
8
LP Advertise 100BASE-TX FDX RO
0
7
LP Advertise 100BASE-TX
LP Advertise 10BASE-T FDX
LP Advertise 10BASE-T
RO
RO
RO
RO
0
6
0
5
0
4:0
Link Partner Selector Field
00000
Note: R/W = Read/Write, RO = Read only, SC = Self Clear, LL = Latched Low, LH = Latched High, LL & LH Clear after
read operation. Use default values of reserved bit(s) when writing to reserved bit(s).
The values contained in the Auto-Negotiation Link Partner Ability register are only guaranteed to be valid after auto-
negotiation has successfully completed, as indicated by bit 5 of the MII Status register.
LP NEXT PAGE
Bit 15 of the Link Partner Ability register returns a value of 1 when the link partner implements the next page function and
has next page information that it wants to transmit.
LP ACKNOWLEDGE
Bit 14 of the Link Partner Ability register is used by auto-negotiation to indicate that a device has successfully received its
link partner’s link code word.
LP REMOTE FAULT
Bit 13 of the Link Partner Ability register returns a value of 1 when the link partner signals that a remote fault has occurred.
The BCM5222 simply copies the value to this register and does not act upon it.
Reserved Bits
Ignore when read.
LP Advertise Pause
Indicates that the Link Partner Pause bit is set.
Broadcom Corporation
Page 24
Auto-Negotiation Link Partner (LP) Ability Register
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
LP Advertise Bits
Bits 9:5 of the Link Partner Ability register reflect the abilities of the link partner. A 1 on any of these bits indicates that the
link partner is capable of performing the corresponding mode of operation. Bits 9:5 are cleared any time auto-negotiation is
restarted or the BCM5222 is reset.
LP Selector Field
Bits 4:0 of the Link Partner Ability register reflect the value of the link partner’s selector field. These bits are cleared any time
auto-negotiation is restarted or the chip is reset.
AUTO-NEGOTIATION EXPANSION REGISTER
Table 14 shows the Auto-Negotiation Expansion register bit descriptions.
Table 12: Auto-Negotiation Expansion Register (Address 00110b, 6d, 06h)
Bit
Name
R/W
Description
Default
15:5
4
Reserved
RO
Ignore when read
Parallel Detection Fault
RO
LH
1 = Parallel detection fault
0 = No parallel detection fault
0
0
3
Link Partner Next Page Able RO
1 = Link partner has next page capability
0 = Link partner does not have next page
2
1
Next Page Able
Page Received
RO
RO
1 = BCM5222 does have next page capability
1
0
1 = New page has been received
0 = New page has not been received
0
Link Partner Auto-
Negotiation Able
RO
LH
1 = Link partner has auto-negotiation capability
0 = Link partner does not have auto-negotiation
0
Note: R/W = Read/Write, RO = Read only, SC = Self Clear, LL = latched low, LH = latched high (LL and LH are cleared
after read operation)
RESERVED BITS
Ignore when read.
PARALLEL DETECTION FAULT
Bit 4 of the Auto-Negotiation Expansion register is a read-only bit that gets latched high when a parallel detection fault occurs
in the auto-negotiation state machine. For further details, refer to the IEEE standard. The bit is reset to 0 after the register is
read, or when the chip is reset.
LINK PARTNER NEXT PAGE ABLE
Bit 3 of the Auto-Negotiation Expansion register returns a 1 when the link partner has next page capabilities. It has the same
value as bit 15 of the Link Partner Ability register.
Broadcom Corporation
Document 5222-DS02-405-R
Auto-Negotiation Expansion Register
Page 25
BCM5222
Preliminary Data Sheet
7/20/04
NEXT PAGE ABLE
The BCM5222 returns 1 when bit 2 of the Auto-Negotiation Expansion register is read, indicating that it has next page
capabilities.
PAGE RECEIVED
Bit 1 of the Auto-Negotiation Expansion register is latched high when a new link code word is received from the link partner,
checked, and acknowledged. It remains high until the register is read, or until the chip is reset.
LINK PARTNER AUTO-NEGOTIATION ABLE
Bit 0 of the Auto-Negotiation Expansion register returns a 1 when the link partner is known to have auto-negotiation
capability. Before any auto-negotiation information is exchanged, or if the link partner does not comply with IEEE auto-
negotiation, the bit returns a value of 0.
AUTO-NEGOTIATION NEXT PAGE REGISTER
Table 13: Next Page Transmit Register (Address 07d, 07h)
Bit
Name
R/W
Description
Default
15
Next Page
R/W
1 = Additional next page(s) will follow
0 = Last page
0
14
13
Reserved
R/W
R/W
Ignore when read
0
1
Message Page
1= Message page
0 = Unformatted page
12
11
Acknowledge 2
Toggle
R/W
RO
1 = Will comply with message
0 = Cannot comply with message
0
0
1 = Previous value of the transmitted link code word
equalled logic zero
0 = Previous value of the transmitted link code word
equalled logic one
10:0
Message/Unformatted Code
Field
R/W
1
Note: R/W = Read/Write, RO = Read only, SC = Self Clear, LL = Latched Low, LH = Latched High, LL & LH Clear after
read operation. Use default values of reserved bit(s) when writing to reserved bit(s).
NEXT PAGE
Indicates whether this is the last next page to be transmitted.
MESSAGE PAGE
Differentiates a Message Page from an Unformatted Page.
Broadcom Corporation
Page 26
Auto-Negotiation Next Page Register
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
ACKNOWLEDGE 2
Indicates that a device has the ability to comply with the message.
TOGGLE
Used by the Arbitration function to ensure synchronization with the link partner during next page exchange.
MESSAGE CODE FIELD
An 11-bit-wide field, encoding 2048 possible messages.
UNFORMATTED CODE FIELD
An 11-bit-wide field, which may contain an arbitrary value.
AUTO-NEGOTIATION LINK PARTNER (LP) NEXT PAGE TRANSMIT
REGISTER
Table 14: Next Page Transmit Register (Address 08d, 08h)
Bit
Name
R/W
Description
Default
15
Next Page
RO
1 = Additional next page(s) will follow
0 = Last page
0
14
13
Reserved
RO
RO
Ignore when read
0
0
Message Page
1= Message page
0 = Unformatted page
12
11
Acknowledge 2
Toggle
RO
RO
1 = Will comply with message
0 = Cannot comply with message
0
0
1 = Previous value of the transmitted link code word
equalled logic zero
0 = Previous value of the transmitted link code word
equalled logic one
10:0
Message/Unformatted Code
Field
RO
0
Note: R/W = Read/Write, RO = Read only, SC = Self Clear, LL = Latched Low, LH = Latched High, LL & LH Clear after
read operation. Use default values of reserved bit(s) when writing to reserved bit(s).
NEXT PAGE
Indicates whether this is the last next page.
Broadcom Corporation
Document 5222-DS02-405-R
Auto-Negotiation Link Partner (LP) Next Page Transmit Register
Page 27
BCM5222
Preliminary Data Sheet
7/20/04
MESSAGE PAGE
Differentiates a Message Page from an Unformatted Page.
ACKNOWLEDGE 2
Indicates that link partner has the ability to comply with the message.
TOGGLE
Used by the Arbitration function to ensure synchronization with the link partner during next page exchange.
MESSAGE CODE FIELD
An 11-bit-wide field, encoding 2048 possible messages.
UNFORMATTED CODE FIELD
An 11-bit-wide field, which may contain an arbitrary value.
100BASE-TX AUXILIARY CONTROL REGISTER
Table 15: 100BASE-TX Auxiliary Control Register (Address 16d, 10h)
Bit
Name
R/W
Description
Default
15:14
13
Reserved
Write as 0, Ignore when read
0
0
Transmit Disable
R/W
1 = Transmitter disabled in PHY
0 = Normal operation
12:11
10
Reserved
R/W
R/W
Write as 0, Ignore when read
00
0
Bypass 4B5B Encoder/
Decoder
1 = Transmit and receive 5B codes over MII pins
0 = Normal MII interface
9
Bypass Scrambler/
Descrambler
R/W
R/W
R/W
1 = Scrambler and descrambler disabled
0 = Scrambler and descrambler enabled
0
8
Bypass NRZI Encoder/
Decoder
1 = NRZI encoder and decoder is disabled
0 = NRZI encoder and decoder is enabled
0
7
Bypass Receive Symbol
Alignment
1 = 5B receive symbols not aligned
0 = Receive symbols aligned to 5B boundaries
0
6
Baseline Wander Correction R/W
Disable
1 = Baseline wander correction disabled
0 = Baseline wander correction enabled
0
5:0
Reserved
R/W
Write as 0, Ignore when read
00000
Note: R/W = Read/Write, RO = Read only, SC = Self Clear, LL = Latched Low, LH = Latched High, LL & LH Clear after
read operation. Use default values of reserved bit(s) when writing to reserved bit(s).
Broadcom Corporation
Page 28
100BASE-TX Auxiliary Control Register
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
TRANSMIT DISABLE
The transmitter can be disabled by writing a 1 to bit 13 of MII register 10h. The transmitter output (TD±) is forced into a high
impedance state.
BYPASS 4B5B ENCODER/DECODER
The 4B5B encoder and decoder can be bypassed by writing a 1 to bit 10 of MII register 10h. The transmitter sends 5B codes
from the TXER and TXD[3:0] pins directly to the scrambler. TXEN must be active and frame encapsulation (insertion of J/K
and T/R codes) is not performed. The receiver places descrambled and aligned 5B codes onto the RXER and RXD[3:0] pins.
CRS can be asserted when a valid frame is received.
BYPASS SCRAMBLER/DESCRAMBLER
The stream cipher function can be disabled by writing a 1 to bit 9 of MII register 10h. The stream cipher function is re-enabled
by writing a 0 to this bit.
BYPASS NRZI ENCODER/DECODER
The NRZI encoder and decoder can be bypassed by writing a 1 to bit 8 of MII register 10h, causing 3-level NRZ data to be
transmitted and received on the cable. Normal operation (3-level NRZI encoding and decoding) can be re-enabled by writing
a 0 to this bit.
BYPASS RECEIVE SYMBOL ALIGNMENT
Receive symbol alignment can be bypassed by writing a 1 to bit 7 of MII register 10h. When used in conjunction with the
bypass 4B5B encoder/decoder bit, unaligned 5B codes are placed directly on the RXER and RXD[3:0] pins.
BASELINE WANDER CORRECTION DISABLE
The baseline wander correction circuit can be disabled by writing a 1 to bit 6 of MII register 10h. The BCM5222 corrects for
baseline wander on the receive data signal when this bit is cleared.
RESERVED BITS
The reserved bits of the 100BASE-TX Auxiliary Control register must be written as 0 at all times. Ignore the BCM5222
outputs when these bits are read.
Broadcom Corporation
Document 5222-DS02-405-R
100BASE-TX Auxiliary Control Register
Page 29
BCM5222
Preliminary Data Sheet
7/20/04
100BASE-TX AUXILIARY STATUS REGISTER
Table 16: 100BASE-X Auxiliary Status Register (Address 17d, 11h)
Bit
Name
R/W
Description
Default
15:10
9
Reserved
Locked
RO
RO
Ignore when read
00h
0
1 = Descrambler locked
0 = Descrambler unlocked
8
7
Current 100BASE-X
Link Status
RO
1 = Link pass
0 = Link fail
0
0
Remote Fault
RO
RO
1 = Remote fault detected
0 = No remote fault detected
6
5
Reserved
Ignore when read
0
0
False Carrier Detected
RO
LH
1 = False carrier detected since last read
0 = No false carrier since last read
4
3
2
1
0
Bad ESD Detected
RO
LH
1 = ESD error detected since last read
0 = No ESD error since last read
0
0
0
0
0
Receive Error Detected
Transmit Error Detected
Lock Error Detected
RO
LH
1 = Receive error detected since last read
0 = No receive error since last read
RO
LH
1 = Transmit error code received since last read
0 = No transmit error code received since last read
RO
LH
1 = Lock error detected since last read
0 = No lock error since last read
MLT3 Code Error Detected
RO
LH
1 = MLT3 code error detected since last read
0 = No MLT3 code error since last read
Note: R/W = Read/Write, RO = Read only, SC = Self Clear, LL = Latched Low, LH = Latched High, LL & LH Clear after
read operation. Use default values of reserved bit(s) when writing to reserved bit(s).
LOCKED
The PHY returns a 1 in bit 9 when the descrambler is locked to the incoming data stream. Otherwise it returns a 0.
CURRENT 100BASE-TX LINK STATUS
The PHY returns a 1 in bit 8 when the 100BASE-TX link status is good. Otherwise it returns a 0.
REMOTE FAULT
The PHY returns a 1 while its link partner is signalling a far-end fault condition. Otherwise it returns a 0.
FALSE CARRIER DETECTED
The PHY returns a 1 in bit 5 of the Extended Status register if a false carrier has been detected since the last time this register
was read. Otherwise it returns a 0.
Broadcom Corporation
Page 30
100BASE-TX Auxiliary Status Register
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
BAD ESD DETECTED
The PHY returns a 1 in bit 4 if an end of stream delimiter error has been detected since the last time this register was read.
Otherwise it returns a 0.
RECEIVE ERROR DETECTED
The PHY returns a 1 in bit 3 if a packet was received with an invalid code since the last time this register was read. Otherwise
it returns a 0.
TRANSMIT ERROR DETECTED
The PHY returns a 1 in bit 2 if a packet was received with a transmit error code since the last time this register was read.
Otherwise it returns a 0.
LOCK ERROR DETECTED
The PHY returns a 1 in bit 1 if the descrambler has lost lock since the last time this register was read. Otherwise it returns a 0.
MLT3 CODE ERROR DETECTED
The PHY returns a 1 in bit 0 if an MLT3 coding error has been detected in the receive data stream since the last time this
register was read. Otherwise it returns a 0.
100BASE-TX RECEIVE ERROR COUNTER
Table 17: 100BASE-TX Receive Error Counter (Address 18d, 12h)
Bit
Name
R/W
Description
Default
15:0
Receive Error Counter [15:0] R/W
Number of non-collision packets with receive errors 0000h
since last read
RECEIVE ERROR COUNTER [15:0]
This counter increments each time the BCM5222 receives a non-collision packet containing at least one receive error. The
counter automatically clears itself when read. When the counter reaches its maximum value, FFh, it stops counting receive
errors until cleared.
Broadcom Corporation
Document 5222-DS02-405-R
100BASE-TX Receive Error Counter
Page 31
BCM5222
Preliminary Data Sheet
7/20/04
100BASE-TX FALSE CARRIER SENSE COUNTER
Table 18: 100BASE-TX False Carrier Sense Counter (Address 19d, 13h)
Bit
Name
R/W
Description
Default
15:8
7:0
Reserved
RO
Ignore these bits
00h
00h
False Carrier Sense Counter R/W
[7:0]
Number of false carrier sense events since last read
FALSE CARRIER SENSE COUNTER [7:0]
This counter increments each time the BCM5222 detects a false carrier on the receive input. This counter automatically
clears itself when read. When the counter reaches its maximum value, FFh, it stops counting False Carrier Sense Errors
until cleared.
AUXILIARY CONTROL/STATUS REGISTER
The Auxiliary Control/Status register bit descriptions are shown in Table 19.
Table 19: Auxiliary Control/Status Register (Address 11000b, 24d, 18h)
Bit
Name
R/W
Description
Default
15
Jabber Disable
R/W
1 = Jabber function disabled
0 = Jabber function enabled
0
14
Force Link
R/W
1 = Force link pass
0 = Normal link operation
0
13:9
8
Reserved
RO
Ignore when read
000000
0
10M Transmit Power Mode
R/W
1 = 10BASE-T Full Power Mode
0 = 10BASE-T Low Power Mode
7:6
5:4
HSQ : LSQ
R/W
R/W
These two bits define the squelch mode of the
10BASE-T Carrier Sense mechanism
00 = Normal Squelch
01 = Low Squelch
10 = High Squelch
00
11 = Not Allowed
Edge Rate [1:0]
00 = 1 ns
01 = 2 ns
10 = 3 ns
11 = 4 ns
11
3
2
1
0
Auto-Negotiation Indication
Force 100/10 Indication
Speed Indication
RO
RO
RO
RO
1 = Auto-negotiation activated
0 = Speed forced manually
ANEN Pin
1 = Speed forced to 100BASE-TX
0 = Speed forced to 10BASE-T
1 = 100BASE-TX
0 = 10BASE-T
Full-Duplex Indication
1 = Full-duplex active
0 = Full-duplex not active
Broadcom Corporation
Page 32
100BASE-TX False Carrier Sense Counter
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
JABBER DISABLE
10BASE-T operation only. Bit 15 of the Auxiliary Control register allows the user to disable the jabber detect function, defined
in the IEEE standard. This function shuts off the transmitter when a transmission request has exceeded a maximum time
limit. By writing a 1 to bit 15 of the Auxiliary Control register, the jabber detect function is disabled. Writing a 0 to this bit or
resetting the chip restores normal operation. Reading this bit returns the value of jabber detect disable.
FORCE LINK
Writing a 1 to bit 14 of the Auxiliary Control register allows the user to disable the link integrity state machines, and place the
BCM5222 into forced link pass status. Writing a 0 to this bit or resetting the chip restores the link integrity functions. Reading
this bit returns the value of the force link bit.
10M TRANSMIT POWER MODE
Writing a 1 to bit 8 of the Auxiliary Control register allows the user to enable the 10BASE-T Full Power Mode. Writing a 0 to
this bit or resetting the chip restores the setting to the 10BASE-T Low Power Mode.
HSQ AND LSQ
Extend or decrease the squelch levels for detection of incoming 10BASET data packets. The default squelch levels
implemented are those defined in the IEEE standard. The high-and low-squelch levels are useful for situations where the
IEEE-prescribed levels are inadequate. The squelch levels are used by the CRS/LINK block to filter out noise and recognize
only valid packet preambles and link integrity pulses. Extending the squelch levels allows the BCM5222 to operate properly
over longer cable lengths. Decreasing the squelch levels can be useful in situations where there is a high level of noise
present on the cables. Reading these 2 bits returns the value of the squelch levels.
EDGE RATE
Control bits used to program the transmit DAC output edge rate in both 10BASE-T and 100BASE-TX mode. A larger value
on these bits produces slower transitions on the transmit waveform.
AUTO-NEGOTIATION INDICATION
This read-only bit indicates whether auto-negotiation has been enabled or disabled on the BCM5222. A combination of a 1
in bit 12 of the Control register and a logic 1 on the ANEN input pin is required to enable auto-negotiation. When auto-
negotiation is disabled, bit 3 of the Auxiliary Control register (18h) returns a 0. At all other times, it returns a 1.
FORCE100/10 INDICATION
This read-only bit returns a value of 0 when one of following cases is true:
•
•
The ANEN pin is low AND the F100 pin is low.
The ANEN pin is high AND bit 12 of the Control register has been written 0 and bit 13 of the Control register has been
written 0.
Broadcom Corporation
Document 5222-DS02-405-R
Auxiliary Control/Status Register
Page 33
BCM5222
Preliminary Data Sheet
7/20/04
When bit 2 of the Auxiliary Control register (18h) is 0, the speed of the chip is 10BASE-T. In all other cases, either the speed
is not forced (auto-negotiation is enabled), or the speed is forced to 100BASE-TX.
SPEED INDICATION
This read-only bit shows the true current operation speed of the BCM5222. A 1 indicates 100BASE-TX operation, and a 0
indicates 10BASE-T. While the auto-negotiation exchange is performed, the BCM5222 is always operating at 10BASE-T
speed.
FULL-DUPLEX INDICATION
This read-only bit returns a 1 when the BCM5222 is in full-duplex mode. In all other modes, it returns a 0.
AUXILIARY STATUS SUMMARY REGISTER
The Auxiliary Status Summary register contains copies of redundant status bits found elsewhere within the MII register
space. Descriptions for each of these individual bits can be found associated with their primary register descriptions.
Table 20 indicates the bits found in this register.
Table 20: Auxiliary Status Summary Register (Address 11001b, 25d, 19h)
Bit
Name
R/W
Description
Default
15
14
Auto-Negotiation Complete
RO
1 = Auto-negotiation process completed
0
0
Auto-Negotiation Complete
Acknowledge
RO
LH
1 = Auto-negotiation completed acknowledge state
13
12
Auto-Negotiation
Acknowledge Detected
RO
LH
1 = Auto-negotiation acknowledge detected
1 = Auto-negotiation for link partner ability
BCM5222 and link partner pause operation bit
0
0
Auto-Negotiation Ability
Detect
RO
LH
11
Auto-Negotiation Pause
Auto-Negotiation HCD
RO
RO
0
10:8
000 = No highest common denominator
001 = 10BASE-T
000
010 = 10BASE-T Full-Duplex
011 = 100BASE-TX
100 = 100BASE-T4
101 = 100BASE-TX Full-Duplex
11x = Undefined
7
Auto-Negotiation Parallel
Detection Fault
RO
LH
1 = Parallel detection fault
0
6
5
Link Partner Remote Fault
Link Partner Page Received
RO
1 = Link partner remote fault
0
0
RO
LH
1 = New page has been received
4
3
Link Partner Auto-
Negotiation Able
RO
1 = Link partner is auto-negotiation capable
0
Speed Indicator
RO
1 = 100 Mbps
0 = 10 Mbps
Broadcom Corporation
Page 34
Auxiliary Status Summary Register
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
Table 20: Auxiliary Status Summary Register (Address 11001b, 25d, 19h) (Cont.)
Bit
Name
R/W
Description
Default
2
Link Status
RO
LL
1 = Link is up (link pass state)
0
1
0
Auto-Negotiation Enabled
Jabber Detect
RO
1 = Auto-negotiation enabled
1 = Jabber condition detected
ANEN pin
0
RO
LH
Note: R/W = Read/Write, RO = Read only, SC = Self Clear, LL = latched low, LH = latched high (LL and LH are cleared
after read operation)
INTERRUPT REGISTER
Table 21: Interrupt Register (Address 26d, 1Ah)
BIt
Name
R/W
Description
Default
15
14
13:12
11
10
9
Reserved
R/W
R/W
RO
R/W
R/W
R/W
R/W
RO
RO
LH
Ignore when read
0
INTR Enable
Reserved
Interrupt enable
0
Ignore when read
00
FDX Mask
SPD Mask
LINK Mask
INTR Mask
Reserved
Full-Duplex interrupt mask
SPEED interrupt mask
LINK interrupt mask
Master interrupt mask
Ignore when read
1
1
1
8
1
7:4
3
0000
0
FDX Change
Duplex change interrupt
2
1
0
SPD Change
LINK Change
INTR Status
RO
LH
Speed change interrupt
Link change interrupt
Interrupt status
0
0
0
RO
LH
RO
LH
Note: R/W = Read/Write, RO = Read only, SC = Self Clear, LL = Latched Low, LH = Latched High, LL & LH Clear after
read operation. Use default values of reserved bit(s) when writing to reserved bit(s).
INTERRUPT ENABLE
Writing a 1 to bit 14 of the Interrupt register will enable the Interrupt function. By writing to bits [11:8] of the Interrupt register,
the INTR pin will signal when the corresponding interrupt events occur. Writing a 0 to bit 14, or resetting the device will
disable the Interrupt function.
FDX MASK
When this bit is set, changes in Duplex mode will not generate a hardware or software interrupt.
Broadcom Corporation
Document 5222-DS02-405-R
Interrupt Register
Page 35
BCM5222
Preliminary Data Sheet
7/20/04
SPD MASK
When this bit is set, changes in operating speed will not generate a a hardware or software interrupt.
LINK MASK
When this bit is set, changes in Link status will not generate a a hardware or software interrupt.
INTERRUPT MASK
Master Interrupt Mask. When this bit is set, no interrupts will be hardware generated, regardless of the state of the other
MASK bits.
FDX CHANGE
A “1” indicates a change of Duplex status since last register read. register read clears the bit.
SPD CHANGE
A “1” indicates a change of Speed status since last register read. register read clears the bit.
LINK CHANGE
A “1” indicates a change of Link status since last register read. register read clears the bit.
INTERRUPT STATUS
Represents status of the INTR pin. A “1” indicates that the Interrupt Mask is off and that one or more of the change bits are
set. A register read clears the bit.
AUXILIARY MODE 2 REGISTER
Table 22: Auxiliary Mode 2 Register (Address 27d, 1Bh)
BIt
Name
R/W
Description
Default
15:12
11
10
9
Reserved
RO
Ignore when read
0
10BT Dribble Bit Correct
Jumbo Packet Enable
Reserved
R/W
R/W
R/W
R/W
R/W
R/W
1 = Enable, 0 = Disable
1 = Enable, 0 = Disable
Write as 0, Ignore when read
1= invert clock
0
0
00
0
8
TXC Invert
7
Block 10BT Echo Mode
Reserved
1 = Enable, 0 = Disable
Write as 0, Ignore when read
1
6:4
000
Broadcom Corporation
Page 36
Auxiliary Mode 2 Register
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
Table 22: Auxiliary Mode 2 Register (Address 27d, 1Bh)
BIt
Name
R/W
Description
Default
3
2
1
0
Reserved
R/W
R/W
R/W
RO
Write as 1, Ignore when read
Write as 0, Ignore when read
1 = Enable, 0 = Disable
Ignore when read
1
0
1
0
Reserved
Qual Parallel Detect Mode
Reserved
Note: R/W = Read/Write, RO = Read only, SC = Self Clear, LL = Latched Low, LH = Latched High, LL & LH Clear after
read operation. Use default values of reserved bit(s) when writing to reserved bit(s).
10BT DRIBBLE BIT CORRECT
When enabled, the PHY rounds down to the nearest nibble when dribble bits are present on the 10Base-T input stream.
JUMBO PACKET ENABLE
Writing a 1 to this bit enables jumbo sized packets to be received and transmitted.
TXC INVERT
Writing a 1 to bit 8 of the Auxiliary Mode 2 register will invert the TXC clock.
BLOCK 10BT ECHO MODE
When enabled, during 10BASE-T half-duplex transmit operation, the TXEN signal does not echo onto the RXDV pin. The
TXEN echoes onto the CRS pin and the CRS deassertion directly follows the TXEN deassertion.
QUALIFIED PARALLEL DETECT MODE
This bit allows the auto-negotiation/parallel detection process to be qualified with information in the Advertisement register.
If this bit is not set, the local BCM5222 device is enabled to Auto-Negotiate. If the far-end device is a 10BASE-T or 100BASE-
TX non-Auto-Negotiating legacy type, the local device Auto-Negotiate/Parallel detects the far-end device, regardless of the
Advertisement register (04h) contents.
If this bit is set, the local device compares the link speed detected to the contents of its Advertisement register. If the
particular link speed is enabled in the Advertisement register, the local device asserts link. If the link speed is disabled in this
register, then the local device does not assert link and continues monitoring for a matching capability link speed.
Broadcom Corporation
Document 5222-DS02-405-R
Auxiliary Mode 2 Register
Page 37
BCM5222
Preliminary Data Sheet
7/20/04
10BASE-T AUXILIARY ERROR AND GENERAL STATUS REGISTER
Table 23: 10BASE-T Auxiliary Error & General Status Register (Address 28d, 1Ch)
Bit
Name
R/W
Description
Default
15:14
13
Reserved
RO
RO
Ignore when read
0 = MDI is in use
1 = MDIX is in use
0
0
MDIX Status
12
11
MDIX Manual Swap
RW
0 = MDI or MDIX if MDIX is not disabled
1 = Force MDIX
0
0
HP Auto-MDIX disable
R/W
0 = Enable HP Auto-MDIX
1 = Disable HP Auto-MDIX
1 = Manchester code error (10BASE-T)
1 = EOF detection error (10BASE-T)
Ignore when read
10
9
Manchester Code Error
End Of Frame Error
Reserved
RO
RO
RO
RO
0
0
8:4
3
00000
1
Auto-Negotiation Indication
1 = Auto-negotiation activated
0 = Speed forced manually
2
1
0
Force 100/10 Indication
Speed Indication
RO
RO
RO
1 = Speed forced to 100BASE-TX
0 = Speed forced to 10BASE-T
1
0
0
1 = 100BASE-TX
0 = 10BASE-T
Full-duplex Indication
1 = Full-duplex active
0 = Full-duplex not active
Note: All Error bits in the Auxiliary Error and General Status Register are read-only and are latched high. When certain
types of errors occur in the BCM5222, one or more corresponding error bits become “1”. They remain so until the register
is read, or until a chip reset occurs. All such errors necessarily result in data errors, and are indicated by a high value
on the RXER output pin at the time the error occurs.
R/W = Read/Write, RO = Read only, SC = Self Clear, LL = Latched Low, LH = Latched High, LL & LH Clear after read
operation. Use default values of reserved bit(s) when writing to reserved bit(s).
MDIX STATUS
When read as a 1, this bit indicates that the BCM5222 has its MDI TD+ and RD+ signals swapped either due to manually
setting MDIX Swap bit to a 1 or through HP Auto-MDIX function if it is enabled and the BCM5222 has detected a MDI cross-
over cable.
MDIX MANUAL SWAP
When this bit is set to a 1, the BCM5222 forces its MDI TD+ and RD+ signals to be swapped.
HP AUTO-MDIX DISABLE
When this bit is set to a 1, then the BCM5222 disables the HP Auto-MDIX function.
Broadcom Corporation
Page 38
10BASE-T Auxiliary Error and General Status Register
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
MANCHESTER CODE ERROR
Indicates that a Manchester code violation was received. This bit is only valid during 10BASE-T operation.
END OF FRAME ERROR
Indicates that the End Of Frame (EOF) sequence was improperly received, or not received at all. This error bit is only valid
during 10BASE-T operation.
AUTO-NEGOTIATION INDICATION
This read-only bit indicates whether auto-negotiation has been enabled or disabled on the BCM5222. A combination of a 1
in bit 12 of the Control register and a logic 1 on the ANEN input pin is required to enable auto-negotiation. When auto-
negotiation is disabled, bit 15 of the Auxiliary Mode register returns a 0. At all other times, it returns a 1.
FORCE 100/10 INDICATION
This read-only bit returns a value of 0 when one of following two cases is true:
•
•
The ANEN pin is low AND the F100 pin is low. (or)
Bit 12 of the Control register has been written 0 AND bit 13 of the Control register has been written 0.
When bit 2 of the Auxiliary Control register is 0, the speed of the chip is 10BASE-T. In all other cases, either the speed is
not forced (auto-negotiation is enabled), or the speed is forced to 100BASE-TX.
SPEED INDICATION
This read-only bit shows the true current operation speed of the BCM5222. A 1 bit indicates 100BASE-TX operation, while
a 0 indicates 10BASE-T. While the auto-negotiation exchange is performed, the BCM5222 is always operating at 10BASE-
T speed.
FULL-DUPLEX INDICATION
This read-only bit returns a 1 when the BCM5222 is in full-duplex mode. In all other modes, it returns a 0.
Broadcom Corporation
Document 5222-DS02-405-R
10BASE-T Auxiliary Error and General Status Register
Page 39
BCM5222
Preliminary Data Sheet
7/20/04
AUXILIARY MODE REGISTER
Table 24 shows the bit descriptions for the Auxiliary Mode register.
Table 24: Auxiliary Mode Register (Address 11101b, 29d, 1Dh)
Bit
Name
R/W
Description
Default
15:5
4
Reserved
RO
Ignore when read
Reserved
R/W
R/W
Write as 0, Ignore when Read
0
0
3
Link LED Disable
1 = Disable link LED output
0 = Enable link LED output
2
1
Reserved
RO
Ignore when read
0
0
Block TXEN Mode
R/W
1 = Enable block TXEN mode
0 = Disable block TXEN mode
0
Reserved
RO
Ignore when read
0
LINK LED DISABLE
When set to 1, disables the Link LED output pin. When 0, Link LED output is enabled.
BLOCK TXEN MODE
When this mode is enabled, short IPGs of 1, 2, 3 or 4 TXC cycles results in the insertion of two IDLEs before the beginning
of the next packet’s JK symbols.
AUXILIARY MULTIPLE PHY REGISTER
Table 25: Auxiliary Multiple PHY Register (Address 30d, 1Eh)
Bit
Name
R/W
Description
Default
15
14
13
12
11
10:9
8
HCD_TX_FDX
HCD_T4
RO
RO
RO
RO
RO
RO
1 = Auto-negotiation result is 100BASE-TX full-duplex
1 = Auto-negotiation result is 100BASE-T4
1 = Auto-negotiation result is 100BASE-TX
1 = Auto-negotiation result is 10BASE-T full-duplex
1 = Auto-negotiation result is 10BASE-T
Ignore when read
0
0
HCD_TX
0
HCD_10BASE-T_FDX
HCD_10BASE-T
Reserved
0
0
00
0
Restart Auto-Negotiation
R/W
(SC)
1 = Restart auto-negotiation process
0 = (No effect)
7
6
Auto-Negotiation Complete
Acknowledge Complete
RO
1 = Auto-negotiation process completed
0 = Auto-negotiation process not completed
0
RO
1 = Auto-negotiation acknowledge completed
0
Note: R/W = Read/Write, RO = Read only, SC = Self Clear, LL = Latched Low, LH = Latched High, LL & LH Clear after
read operation. Use default values of reserved bit(s) when writing to reserved bit(s).
Broadcom Corporation
Page 40
Auxiliary Mode Register
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
Table 25: Auxiliary Multiple PHY Register (Address 30d, 1Eh)
Bit
Name
R/W
Description
Default
5
4
3
Acknowledge Detected
Ability Detect
RO
RO
R/W
1 = Auto-negotiation acknowledge detected
1 = Auto-negotiation waiting for LP ability
0
0
0
Super Isolate
1 = Super isolate mode
0 = Normal operation
2
1
Reserved
RO
Ignore when read
0
0
10BASE-T Serial Mode
R/W
1 = Enable 10BASE-T serial mode
0 = Disable 10BASE-T serial mode
0
Reserved
R/W
Write as 0, Ignore when read
0
Note: R/W = Read/Write, RO = Read only, SC = Self Clear, LL = Latched Low, LH = Latched High, LL & LH Clear after
read operation. Use default values of reserved bit(s) when writing to reserved bit(s).
HCD BITS
Bits 15:11 of the Auxiliary Multiple PHY register are 5 read-only bits that report the Highest Common Denominator (HCD)
result of the auto-negotiation process. Immediately upon entering the link pass state after each reset or restart auto-
negotiation, only 1 of these 5 bits is 1. The link pass state is identified by a 1 in bit 6 or 7 of this register. The HCD bits are
reset to 0 every time auto-negotiation is restarted or the BCM5222 is reset. For their intended application, these bits uniquely
identify the HCD only after the first link pass after reset or restart of auto-negotiation. On later Link Fault and subsequent re-
negotiations, if the ability of the link partner is different, more than 1 of the above bits can be active.
RESTART AUTO-NEGOTIATION
This self-clearing bit allows the auto-negotiation process to be restarted, regardless of the current status of the state
machine. For this bit to work, auto-negotiation must be enabled. Writing a 1 to this bit restarts auto-negotiation. Since the bit
is self-clearing, it always returns a 0 when read. The operation of this bit is identical to bit 9 of the Control register.
Auto-Negotiation Complete
This read-only bit returns a 1 after the auto-negotiation process has been completed. It remains 1 until the auto-negotiation
process is restarted, a Link Fault occurs, or the chip is reset. If auto-negotiation is disabled or the process is still in progress,
the bit returns a 0.
ACKNOWLEDGE COMPLETE
This read-only bit returns a 1 after the acknowledgment exchange portion of the auto-negotiation process has been
completed and the Arbitrator state machine has exited the Complete Acknowledge state. It remains this value until the auto-
negotiation process is restarted, a Link Fault occurs, auto-negotiation is disabled, or the BCM5222 is reset.
ACKNOWLEDGE DETECTED
This read-only bit is set to 1 when the arbitrator state machine exits the acknowledged detect state. It remains high until the
auto-negotiation process is restarted, or the BCM5222 is reset.
Broadcom Corporation
Document 5222-DS02-405-R
Auxiliary Multiple PHY Register
Page 41
BCM5222
Preliminary Data Sheet
7/20/04
ABILITY DETECT
This read-only bit returns a 1 when the auto-negotiation state machine is in the Ability Detect state. It enters this state a
specified time period after the auto-negotiation process begins, and exits after the first FLP burst or link pulses are detected
from the link partner. This bit returns a 0 any time the auto-negotiation state machine is not in the Ability Detect state.
SUPER ISOLATE
Writing a 1 to this bit places the BCM5222 into the Super Isolate mode. Similar to the Isolate mode, all MII inputs are ignored,
and all MII outputs are tri-stated. Additionally, all link pulses are suppressed. This allows the BCM5222 to coexist with
another PHY on the same adapter card, with only one being activated at any time.
10BASE-T SERIAL MODE
Writing a 1 to bit 1 of the Auxiliary Mode register enables the 10BASE-T Serial mode. In the normal 10BASE-T mode of
operation, as defined by the MII standard, transmit and receive data packets traverse the TXD[3:0] and RXD[3:0] busses at
a rate of 2.5 MHz. In the special 10BASE-T Serial mode, data packets traverse to the MAC layer across only TXD0 and
RXD0 at a rate of 10 MHz. Serial operation is not available in 100BASE-TX mode.
BROADCOM TEST REGISTER
Table 26: Broadcom Test (Address 31d, 1Fh)
BIt
Name
R/W
Description
Default
15:8
7
Reserved
RO
Ignore when read
00h
0
Shadow Register Enable
R/W
1 = Enable Shadow registers
0 = Disable Shadow registers
Ignore when read
6
Reserved
Reserved
Reserved
RO
0
5
R/W
R/W
Write as 0, Ignore when read
Write as 0Bh, Ignore when read
0
4:0
0Bh
Note: R/W = Read/Write, RO = Read only, SC = Self Clear, LL = Latched Low, LH = Latched High, LL & LH Clear after
read operation. Use default values of reserved bit(s) when writing to reserved bit(s).
SHADOW REGISTER ENABLE
Writing a 1 to bit 7 of register 1Fh allows R/W access to the Shadow registers.
Broadcom Corporation
Page 42
Broadcom Test Register
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
AUXILIARY MODE 4 REGISTER (SHADOW REGISTER)
Table 27: Auxiliary Mode 4 Register (Shadow Register 26d, 1Ah)
BIt
Name
R/W
Description
Default
15:6
5:4
Reserved
R/W
R/W
Write as 30h, Ignore when read
30h
00
Force LED [1:0]
01 = Force all LED status to on 0 state
10 = Force all LED status to off 1 state
Write as 0, Ignore when read
3
2
Reserved
R/W
R/W
0
0
Enable Clock During Low
Power
0 = Disables clock during low power modes
1 = Enables clock during low power modes
0 = Normal operation
1
0
Force Low Power Mode
R/W
R/W
0
0
1 = Forces the 5222 to enter the low power mode
0 = Normal operation
Force IDDQ Mode
1 = Causes the BCM5222 to go to IDDQ mode
Note: R/W = Read/Write, RO = Read only, SC = Self Clear, LL = Latched Low, LH = Latched High, LL & LH Clear after
read operation. Use default values of reserved bit(s) when writing to reserved bit(s). MII Shadow register bank 1 is
accessed by setting MII register 1Fh bit 7 to a 1.
FORCE LED [1:0]
The SPDLED, LNKLED, ACTLED and FDXLED outputs can be forced to on state (0) by writing a value of 01 to Force LED
[1:0]. These LEDs can be forced to off state (1) by writing a value of 10 to Force LED {1:0].
ENABLE CLOCK DURING LOW POWER
If this bit is set to a 1 then the clocks are running in low mode.
FORCE IDDQ MODE
If this bit is set to a 1, then the BCM5222 enters IDDQ mode. When the device is in IDDQ mode, everything is disabled. The
BCM5222 requires a hard reset to return to normal mode.
Broadcom Corporation
Document 5222-DS02-405-R
Auxiliary Mode 4 Register (Shadow Register)
Page 43
BCM5222
Preliminary Data Sheet
7/20/04
AUXILIARY STATUS 2 REGISTER (SHADOW REGISTER)
Table 28: Auxiliary Status 2 Register (Shadow Register 27d, 1Bh)
BIt
Name
R/W
Description
Default
15
MLT3 Detected
R/O
R/O
1 = MLT3 Detected
0h
14:12
Cable Length 100X [2:0]
The BCM5222 shows the cable length in 20 meters 000
increment as shown in the table below
11:6
5:0
ADC Peak Amplitude [5:0]
Reserved
R/O
R/W
A to D peak amplitude seen
Write as 0, Ignore when read
00h
01h
Note: R/W = Read/Write, RO = Read only, SC = Self Clear, LL = Latched Low, LH = Latched High, LL & LH Clear after
read operation. Use default values of reserved bit(s) when writing to reserved bit(s). MII Shadow register bank 1 is
accessed by setting MII register 1Fh bit 7 to a 1.
MLT3 DETECTED
The BCM5222 returns a 1 in this bit whenever MLT3 signaling is detected.
CABLE LENGTH 100X [2:0]
The BCM5222 provides the cable length for each port when a 100TX link is established.
Table 29: Cable Length
Cable Length 100x [2:0]
Cable Length in Meters
000
001
010
011
100
101
110
111
< 20
20 to <40
40 to <60
60 to < 80
80 to < 100
100 to < 120
120 to < 140
> 140
ADC PEAK AMPLITUDE [5:0]
The BCM5222 returns the AD converter’s 6-bit peak amplitude seen during this link.
Broadcom Corporation
Page 44
Auxiliary Status 2 Register (Shadow Register)
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
AUXILIARY STATUS 3 REGISTER (SHADOW REGISTER)
Table 30: Auxiliary Status 3 Register (Shadow Register 28d, 1Ch)
BIt
Name
R/W
Description
Default
15:8
Noise [7:0]
R/O
Current mean square error value, valid only if link is 00h
established
7:4
3:0
Reserved
R/W
R/O
Write as 0, ignore when read
0h
FIFO Consumption [3:0]
Currently utilized number of nibbles in the receive
FIFO
0000
Note: MII Shadow register bank 1 is accessed by setting MII register 1Fh bit 7 to a 1
NOISE [7:0]
The BCM5222 provides the current mean squared error value for noise when a valid link is established.
FIFO CONSUMPTION [3:0]
The BCM5222 indicates the number of nibbles of FIFO currently used.
AUXILIARY MODE 3 REGISTER (SHADOW REGISTER)
Table 31: Auxiliary Mode 3 Register (Shadow Register 29d, 1Dh)
BIt
Name
R/W
Description
Default
15:4
3:0
Reserved
R/W
R/W
Write as 00h, ignore when read
000h
4h
FIFO Size Select [3:0]
Currently selected receive FIFO Size
Note: R/W = Read/Write, RO = Read only, SC = Self Clear, LL = Latched Low, LH = Latched High, LL & LH Clear after
read operation. Use default values of reserved bit(s) when writing to reserved bit(s). MII Shadow register bank 1 is
accessed by setting MII register 1Fh bit 7 to a 1.
FIFO SIZE SELECT [3:0]
The BCM5222 indicates the current selection of receive FIFO size using bit 3 through 0 as shown in Table 32.
Table 32: Current Receive FIFO Size
Receive FIFO Size in Use
FIFO Size Select [3:0]
(# of Bits)
0001
0010
0011
0100
16
20
24
28
Broadcom Corporation
Document 5222-DS02-405-R
Auxiliary Status 3 Register (Shadow Register)
Page 45
BCM5222
Preliminary Data Sheet
7/20/04
Table 32: Current Receive FIFO Size (Cont.)
Receive FIFO Size in Use
(# of Bits)
FIFO Size Select [3:0]
0101
0110
0111
1000
1001
1010
1011
1100
1101
32
36
40
44
48
52
56
60
64
AUXILIARY STATUS 4 REGISTER (SHADOW REGISTER)
Table 33: Auxiliary Status 4 Register (Shadow Register 30d, 1Eh)
BIt
Name
R/W
Description
Default
15:0
Packet Length Counter[15:0] R/O
Number of bytes in the last received packet
0000h
PACKET LENGTH COUNTER [15:0]
The BCM5222 shows the number bytes in the last packet received. This is valid only when a valid link is established.
Broadcom Corporation
Page 46
Auxiliary Status 4 Register (Shadow Register)
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
Section 6: Timing and AC Characteristics
The timing information contained in this section applies to the BCM5222.
All MII Interface pins comply with IEEE 802.3u timing specifications (see Reconciliation Sublayer and Media Independent
Interface in IEEE 802.3u timing specifications). All digital output timing specified at CL = 30 pF.
Output rise/fall times measured between 10% and 90% of the output signal swing. Input rise/fall times measured between
VIL max. and VIH min. Output signal transitions referenced to the midpoint of the output signal swing. Input signal transitions
referenced to the midpoint between VIL max. and VIH min. See Table 34and Table 35 for the timing parameters. See
Figure 4 for an illustration of clock and reset timing.
Table 34: Clock Timing
Parameter
Symbol
Min
Typical
Max
Unit
XTALI Cycle Time
CK_CYCL 39.998
E
40
40.002
ns
XTALI High/Low Time
XTALI Rise/Fall Time
CK_HI
CK_LO
14
20
26
4
ns
ns
CK_EDGE
Table 35: Reset Timing
Parameter
Symbol
Min
400
Typical
Max
Unit
Reset Pulse Length with stable XTALI Input
Activity after end of Hardware Reset
RESET Rise/Fall Time
RESET_LEN
ns
µs
ns
RESET_WAIT 100
RESET_EDG
E
10
CK_EDGE
CK_EDGE
XTALI
CK_LO
CK_HI
CK_CYCLE
Normal PHY
activity begins here
RESET_EDGE
RESET
RESET_WAIT
RESET_LEN
RESET_EDGE
Figure 4: Clock and Reset Timing
Broadcom Corporation
Document 5222-DS02-405-R
Timing and AC Characteristics
Page 47
BCM5222
Preliminary Data Sheet
7/20/04
Table 36 provides the parameters for 100BASE-TX transmit timing. Figure 5 illustrates the 100BASE-TX transmit start of
packet timing and Figure 6 shows the100BASE-TX transmit end of packet timing.
Table 36: MII 100BASE-TX Transmit Timing
Parameter
Symbol
Min
Typical
Max
Unit
TXC Cycle Time
40
20
ns
ns
ns
ns
ns
ns
ns
ns
ns
TXC High/Low Time
16
2
24
5
TXC Rise/Fall Time
TXEN, TXD[3:0] Setup Time to TXC rising*
TXEN, TXD[3:0] Hold Time from TXC rising*
TD± after TXEN Assert
TXEN_SETUP
TXEN_HOLD
TXEN_TDATA
TXD_TDATA
TXEN_CRS
10
0
60
60
0
140
100
40
TXD to TD± Steady State Delay
CRS Assert after TXEN Assert
CRS Deassert after TXEN Deassert
TXEN_CRS_EO
P
0
160
COL Assert after TXEN Assert (while RX)
TXEN_COL
ns
ns
COL Deassert after TXEN Deassert (while RX)
TXEN_COL_EO
P
TXEN, TXD[3:0] Setup Time to XTALI rising*
TXEN, TXD[3:0] Hold Time from XTALI rising*
2
ns
ns
10
XTALI
or
TXC
TXEN_SETUP
TXEN_HOLD
TXEN
TXD,
TXER
5
5
X
5
5
TD±
I
I
I
I
I
I
I
I
I
I
I
I
I
J2 J1 J0
J4 J3 K4 K3 K2 K1 K0
3RD DATA
NIBBLE
SSD
CRS
TX_TDATA
TXD_TDATA
TXEN_CRS
*
COL
When receive is concurrently active
*
TXEN_COL
Figure 5: MII Transmit Start of Packet Timing (100BASE-TX)
Broadcom Corporation
Page 48
Timing and AC Characteristics
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
XTALI
or
TXC
TXEN
TXD,
DATA N
TXER
X
TD±
T4 T3 T2 T1 T0 R4 R3 R2 R1 R0
ESD
I
I
I
LAST DATA
NIBBLE
CRS
TXEN_CRS_EOP
TXEN_COL_EOP
COL
Figure 6: MII Transmit End of Packet Timing (100BASE-TX)
Table 37 below provides 100BASE-X receive timing parameters. See Figure 7 on page 50 and Figure 8 on page 51 for
illustrations of 100BASE-TX receive start of packet timing parameters and 100BASE-TX receive end of packet timing.
Figure 9 on page 51 shows 100BASE-TX receive packet premature end. See Figure 10 on page 52 for an illustration of link
failure or stream cipher error during receive packet. 100BASE-TX False carrier sense timing is shown in
Figure 11 on page 52.
Table 37: MII 100BASE-TX Receive Timing
Parameter
Symbol
Min
Typical
Max
Unit
RXC Cycle Time
40
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
RXC High/Low Time (RXDV asserted)
RXC High Time (RXDV deasserted)
RXC Low Time (RXDV deasserted)
RXC Rise/Fall Time
16
20
24
20
20
TBD
RXDV, RXER, RXD[3:0] Delay from RXC falling
CRS Deassert from RXC falling (valid EOP only)
CRS Assert after RD±
-4
4
TBD
RX_CRS
200
240
CRS Deassert after RD± (valid EOP)
CRS Deassert after RD± (premature end)
RXDV Assert after RD±
RX_CRS_EOP
RX_CRS_IDLE
RX_RXDV
60
150
160
200
60
RXDV Deassert after RD± (valid EOP)
RXDV Assert after CRS
RX_RXDV_EOP
RD± to RXD Steady State Delay
COL Assert after RD± (while TX)
COL Deassert after RD± (valid EOP)
RX_RXD
180
200
240
RX_COL
RX_COL_EOP
130
Broadcom Corporation
Document 5222-DS02-405-R
Timing and AC Characteristics
Page 49
BCM5222
Preliminary Data Sheet
7/20/04
Table 37: MII 100BASE-TX Receive Timing (Cont.)
Parameter
Symbol
Min
Typical
Max
Unit
COL Deassert after RD± (premature end)
RX_COL_IDLE
130
240
ns
Note: RXC minimum high and low times are guaranteed when RXEN is asserted or deasserted. The MII port will always
tristate while RXEN is low.
3RD DATA
NIBBLE
SSD
J4 J3 J2 J1 J0 K4 K3 K2 K1 K0
I
I
I
I
I
I
RD±
RXC
RXC_MAX_LO
RXC_MAX_HI
CRS
RX_CRS
RXDV
RX_RXDV
RXD,
RXER
5
0
COL*
RX_COL
When transmit is active
*
Figure 7: MII Receive Start of Packet Timing (100BASE-TX)
Broadcom Corporation
Page 50
Timing and AC Characteristics
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
LAST DATA
NIBBLE
ESD
N4 N3 N2 N1 N0
RD±
T4 T3 T2 T1 T0 R4 R3 R2 R1 R0
I
I
I
I
I
I
I
I
I
I
RXC
CRS
RXEN
RXDV
RXD,
RXER
DATA N
0
RX_RXD
COL
RX_CRS_EOP
RX_RXDV_EOP
RX_COL_EOP
Figure 8: MII Receive End of Packet Timing (100BASE-TX
DATA
RD±
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
RXC
CRS
RXDV
RXD
ERROR CODE (6)
0
DATA
RXER
RX_CRS_IDLE
RX_COL_IDLE
Figure 9: MII Receive Packet Premature End (100BASE-TX)
Broadcom Corporation
Document 5222-DS02-405-R
Timing and AC Characteristics
Page 51
BCM5222
Preliminary Data Sheet
7/20/04
RXC
CRS
RXDV
ERROR CODE (2 OR 3)
0
DATA
RXD
RXER
LINK/
LOCK
Figure 10: MII Link Failure or Stream Cipher Error During Receive Packet
I
I
I
I
I
I
I
I
I
I
RD±
I
I
I
I
I
I
I
I
I
I
RXC
CRS
RXDV
RXD
0
0
E
RXER
Figure 11: MII False Carrier Sense Timing (100BASE-TX)
Broadcom Corporation
Page 52
Timing and AC Characteristics
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
Table 38 provides the parameters for 10BASE-T transmit timing. Figure 12 illustrates 10BASE-T transmit start of timing
packet.
Table 38: MII 10BASE-T Transmit Timing
Parameter
Symbol
Min
Typical
Max
Unit
TXC Cycle Time (10BASE-T)
TXC High/Low Time (10BASE-T)
TXC Rise/Fall Time
TXC_CYCLE
400
200
ns
ns
ns
ns
2
5
TXC Rising edge to TXEN valid
TXC_TXEN_VALI
D
25
TXC Rising edge to TXEN hold
TXC_TXEN_HOLD 75
TXC_TXD_VALID
ns
ns
ns
ns
ns
ns
TXC Rising edge to TXD valid
25
TXC Rising edge to TXD hold
TXC_TXD_HOLD
TXEN_TDATA
TXEN_CRS
75
60
TD± after TXEN Assert
360
CRS Assert after TXEN Assert
TBD
TBD
TBD
TBD
CRS Deassert after TXEN Deassert
COL Assert after TXEN Assert (while RX)
COL Deassert after TXEN Deassert (while RX)
Idle on Twisted Pair after TXEN De-Assert
TXEN_CRS_EOP
TXEN_COL
TXEN_COL_EOP
TX_QUIET
450
800
ns
Note: TXD, TXEN delivered to the BCM5222 should be generated of the rising edge of TXC.
50 ns
400 ns
TXC
10Base-T MII Input Latch Point
TXC_TXEN_VALID
TXC_TXEN_HOLD
TXEN
5
TXD
TXC_TXD_VALID
TXC_TXD_HOLD
CRS
TXEN_CRS
Figure 12: MII 10BASE-T Transmit Start of Packet Timing
Table 39 provides the parameters for MII 10BASE-T receive timing. MII 10BASE-T collision timing is shown in Table 40.
Broadcom Corporation
Document 5222-DS02-405-R
Timing and AC Characteristics
Page 53
BCM5222
Preliminary Data Sheet
7/20/04
Table 39: MII 10BASE-T Receive Timing
Parameter
Symbol
Min
Typical
Max
Unit
RXC Cycle Time
RXC_CYCLE
400
200
ns
ns
ns
ns
ns
ns
ns
RXC High/Low Time
CRS Assert after Receive Analog Data
RXC Valid after CRS Assert
RX_CRS_BT
RXC_VALID
RX_RXDV
300
2000
2300
560
RXDV Assert after Receive Analog Data
RXDV Deassert after Receive Analog EOP ends
CRS Deassert after Receive Analog EOP ends
RX_NOT_RXDV
RX_NOT_CRS
560
Table 40: MII 10BASE-T Collision Timing
Parameter
Symbol
Min
Typical
Max
Unit
COL Assert after Receive Analog (while
transmitting)
RX_COL
TBD
ns
COL Deassert after TXEN Deassert (while
receiving)
TXEN_NOT_CO
L
TBD
ns
COL Assert after TXEN Assert (while receiving)
TXEN_COL
TBD
TBD
ns
ns
COL Deassert after Receive Analog ends (while
transmitting)
RX_NOT_COL
Table 41: 10BASE_T Serial Transmit Timing
Parameter
Symbol
Min
Typical
Max
Unit
TXC Cycle Time
TXC
95
35
100
50
105
65
ns
ns
TXC Low Time
TXC_LO
TXC High Time
TXC_HIGH
TXC_RISE
TXC_FALL
TXEN_SETUP
TXEN_HOLD
TXEN_TDATA
TXEN_QUIET
TXC Rise Time
2
10
ns
TXC Fall Time
TXEN, TXD0 to TXC Rising
TXEN, TXD0 Hold after TXC Rising
TXEN to TD± Start
TXEN to TD± End
10
4
500
500
ns
ns
Broadcom Corporation
Page 54
Timing and AC Characteristics
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
TXC_HIGH
TXC_FALL
TXC_LOW
TXC_RISE
TXC
TXEN_SETUP
TXEN_SETUP
TXEN_HOLD
TXEN_HOLD
TXEN
TXEN_TXDATA
TD+/-
TXEN_QUIET
Figure 13: 10BASE-T Serial Transmit Timing
Table 42: 10BASE_T Serial Receive Timing
Parameter
Symbol
Min
Typical
Max
Unit
RXC Cycle Time
RXC
95
35
100
50
105
65
ns
ns
RXC Low Time
RXC High Time
RXC_LO
RXC_HIGH
RXC Rise Time
RXC Fall Time
RXC_RISE
RXC_FALL
2
-
10
ns
RXC to RXD0 Output Delay
CRS Assert after RD±
RXD_DELAY
RX_CRS_DV
RX_NOT_CRS
5
ns
ns
ns
300
560
CRS Deassert after RD±, valid EOP
Broadcom Corporation
Document 5222-DS02-405-R
Timing and AC Characteristics
Page 55
BCM5222
Preliminary Data Sheet
7/20/04
RD+/-
RX_CRS_BT
RX_NOT_CRS
RX_RXDV
RXC
RXD_DELAY
RXD0
Figure 14: 10BASE-T Serial Receive Timing
Table 43, Table 44, and Table 45 provide the parameters for loopback timing, auto-negotiation timing, and LED timing.
Table 43: Loopback Timing
Parameter
Symbol
Min
Typical
Max
Max
Unit
TXD to RXD Steady State Propagation Delay
250
ns
Table 44: Auto-Negotiation Timing
Symbol Min
Parameter
Typical
Unit
Link Test Pulse Width
100
16
ns
ms
µs
µs
FLP Burst Interval
Clock Pulse to Clock Pulse
Clock Pulse to Data Pulse (Data = 1)
123
62.5
Table 45: LED Timing
Symbol Min
Parameter
Typical
Max
Unit
LED On Time (ACTLED)
LED Off Time (ACTLED)
80
80
ms
ms
Broadcom Corporation
Page 56
Timing and AC Characteristics
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
Management data interface timing parameters are described in Table 46. Figure 15 and Figure 16 illustrate two types of
management interface timing.
Table 46: Management Data Interface Timing
Parameter
Symbol
Min
Typical
Max
Unit
MDC Cycle Time
40
20
ns
ns
ns
ns
ns
ns
MDC High/Low
MDC Rise/Fall Time
10
30
MDIO Input Setup Time to MDC rising
MDIO Input Hold Time from MDC rising
MDIO Output Delay from MDC rising
10
4
0
MDC_CYCLE
MDC_RISE
MDC
MDC_FALL
MDIO_HOLD
MDIO_SETUP
MDIO_HOLD
MDIO_SETUP
MDIO (Into BCM5222)
MDIO (From BCM5222)
MDIO_DELAY
Figure 15: Management Interface Timing
MDC
SKIP
Hi-Z (PHY Pull-UP)
SKIP
MDIO
T
D1
D0
IDLE
S
Start of MDC/MDIO Cycle
End of MDC/MDIO Cycle
Note: Must wait two MDC clock cycles between MDIO commands when
preamble suppression is activated (MII Register 1, Bit 6 set to “1”).
Figure 16: Management Interface Timing (with Preamble Suppression On)
Broadcom Corporation
Document 5222-DS02-405-R
Timing and AC Characteristics
Page 57
BCM5222
Preliminary Data Sheet
7/20/04
Section 7: Electrical Characteristics
Table 47 provides the absolute maximum ratings for the BCM5222. The recommended operating conditions for the
BCM5222 are shown in Table 48. Table 49 provides the package thermal characteristics. Table 51 on page 59 gives the
electrical characteristics of the BCM5222.
Table 47: Absolute Maximum Ratings
Symbols
Parameter
Pin
Min
Max
Unit
VDD
Supply Voltage
OVDD, BIASVDD
GND - 0.3
GND - 0.3
GND - 0.3
3.465
V
V
V
DVDD, AVDD, PLLAVDD
1.89
VI
II
Input Voltage
Input Current
OVDD + 0.3
±10
mA
Note: These specifications indicate levels where permanent damage to the device may occur. Functional operation is not
guaranteed under these conditions. Operation at absolute maximum conditions for extended periods may adversely
affect long-term reliability of the device.
Table 48: Recommended Operating Conditions for BCM5222
Symbol
Parameter
Pin
Operating Mode
Min
Max
Unit
VDD
Supply Voltage
BCM5222
OVDD, BIASVDD
DVDD, AVDD, PLLAVDD
All Digital Inputs
XTALI
3.135
1.71
2.0
3.465
1.89
OVDD
2.0
V
V
VIH
High-Level
V
Input Voltage
1.2
V
VIL
Low-Level Input
Voltage
All Digital Inputs
XTALI
0.8
V
0
0.4
V
VIDIFF
VICM
TA
Differential
RD±
100BASE-TX
150
mV
Input Voltage
Common Mode
Input Voltage
RD±
RD±
3.3V Center Tap
2.5V Center Tap
1.85
1.15
-40
2.05
1.35
85
V
V
Ambient Operating Temperature - 5222
°C
Table 49: Package Thermal Characteristics (BCM5222KQM)
Ambient Air Temperature
θJA in Still Air (°C)
θJB (°C/W)
θJC (°C/W)
70
56.96
61.73
40.28
Table 50: Package Thermal Characteristics (BCM5222KPF)
Ambient Air Temperature
θJA in Still Air (°C)
θJB (°C/W)
θJC (°C/W)
70
41.00
15.68
25.56
Broadcom Corporation
Page 58
Electrical Characteristics
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
Table 51: Electrical Characteristics
Symbol Parameter
Pins
Condition
Min
Typical Max
Unit
IDD
Supply Current
AVDD, PLVDD, DVDD 100BASE-TX
109
44
mA
mA
BIASVDD, OVDD
All Digital Outputs
TD±
Hardware/
Software
VOH
High-Level
Output Voltage
IOH = −12 mA
OVDD
-0.5
V
V
driving loaded
magnetics module
AVDD
+1.5
VOL
Low-Level
Output Voltage
All Digital Outputs
IOL = 8 mA
0.4
V
V
TD±
driving loaded
magnetics module -1.5
AVDD
VODIFF
II
Differential
TD±
400
mV
Output Voltage
Input Current
Digital Inputs
w/ Pull-Up Resistors
VI = OVDD
VI = DGND
VI = OVDD
VI = DGND
+100
-200
+200
-100
µA
µA
µA
µA
Digital Inputs
w/ Pull-Down
Resistors
All Other Digital Inputs DGND ≤ VI ≤
+100
µA
µA
OVDD
IOZ
High-Impedance All Three-state
DGND ≤ VO ≤
OVDD
Output Current
Outputs
All Open-Drain
Outputs
VO = OVDD
µA
VBIAS
Bias Voltage
RDAC
1.18
1.30
V
Note: Current supplied through the center tap of the magnetics can be supplied at either 2.5V or 3.3V. Current
sunk through the BCM5222 is 90mA.
Broadcom Corporation
Document 5222-DS02-405-R
Electrical Characteristics
Page 59
BCM5222
Preliminary Data Sheet
7/20/04
Section 8: Application Example
Digital 1.8V
1000pF
3.3V
3.3V
1
2
3
4
5
6
7
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
OVDD
OVDD
0.1uF
0.1uF
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
OVDD
OGND
OVDD
BCM5222
3.3V
OVDD
OGND
OGND
Ferrite Bead
OVDD
OGND
.1uF
2.2uF
.001uF
BIASVDD
BIASGND
Analog 1.8V
Ferrite Bead
Analog 1.8V
Ferrite Bead
.1uF
.1uF
.001uF 2.2uF
2.2uF
.001uF
Figure 17: BCM5222 1.8V and 3.3V Power Connections in 100 MQFP Package
Broadcom Corporation
Page 60
Application Example
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
Section 9: Mechanical Information
Figure 18: 100-Pin MQFP Package
Broadcom Corporation
Document 5222-DS02-405-R
Mechanical Information
Page 61
BCM5222
Preliminary Data Sheet
7/20/04
Figure 19: 100-Pin FBGA Package
Broadcom Corporation
Page 62
Mechanical Information
Document 5222-DS02-405-R
Preliminary Data Sheet
BCM5222
7/20/04
Section 10: Ordering Information
Part Number
BCM5222KQM
BCM5222KPFa
Package
Ambient Temperature
100-MQFP, 14 mm x 20 mm
100-FBGA, 9 mm x 9 mm
-40° to 85° C -40° to 185° F
-40° to 85° 5222-DS02-405-RC -40° to 185° F
a. Contact Broadcom sales department for availability.
Broadcom Corporation
Document 5222-DS02-405-R
Ordering Information
Page 63
BCM5222
Preliminary Data Sheet
7/20/04
Broadcom Corporation
16215 Alton Parkway
P.O. Box 57013
Irvine, CA 92619-7013
Phone: 949-450-8700
Fax: 949-450-8710
Broadcom® Corporation reserves the right to make changes without further notice to any products or data herein to improve reliability, function, or design.
Information furnished by Broadcom Corporation is believed to be accurate and reliable. However, Broadcom Corporation
does not assume any liability arising out of the application or use of this information, nor the application or use of any product or
circuit described herein, neither does it convey any license under its patent rights nor the rights of others.
Document 5222-DS02-405-R
相关型号:
©2020 ICPDF网 联系我们和版权申明