BCM53128
BCM53128
BCM53128
BCM53128
Multiport Gigabit Ethernet Switches
GENERAL DESCRIPTION
The Broadcom® BCM53128 is a highly integrated, • Port-based VLAN
cost-effective unmanaged-smart gigabit switch. The • IEEE 802.1Q-based VLAN with 4K entries
switch design is based on the field-proven, industry- • MAC-based trunking with automatic link failover
leading ROBO architecture. This device combines • Port-based rate control
all the functions of a high-speed switch system
• Port mirroring
including packet buffers, PHY transceivers, media
access controllers (MACs), address management, • BroadSync® HD for IEEE 802.1AS support
port-based rate control, and a non-blocking switch – Timestamp tagging at MAC interface
fabric into a single 65-nm CMOS device. Designed – Time-aware egress scheduler
to be fully compliant with the IEEE 802.3™ and • DOS attack prevention
l
tia
IEEE 802.3x specifications, including the MAC- – Support IPv6
control PAUSE frame, the BCM53128 provides
• IGMP snooping, MLD snooping support
compatibility with all industry-standard Ethernet,
en
Fast Ethernet, and Gigabit Ethernet (GbE) devices. • Green mode support
• Spanning tree support (multiple spanning trees–
The BCM53128 has a rich feature set suitable for
not only standard GbE connectivity for desktop and
laptop PCs, but also for next-generation gaming • fid
up to eight)
Loop detection for unmanaged configurations
with Broadcom’s patented LoopDTech™
on
consoles, set-top boxes, networked DVD players,
and home theater receivers. It is also specifically technology
designed for next generation SOHO/SMB routers • CableChecker™ with unmanaged mode support
C
temperature (C-Temp) and industrial temperature (I- • EEPROM, MDC/MDIO, and SPI Interfaces
Temp) rated packages. The BCM53128 is provided • Serial Flash Interface for accessing embedded
Br
53128-DS07-R
l
tia
en
fid
on
C
om
dc
oa
Br
Revision History
Updated:
• “Transmit Output Port Queues” on Corrected typo for entries No action required.
page 90 number.
• Table 291: “EEE GLB Congst TH Corrected typo for entries No action required.
Register (Page 92h: Address C4h),” on number.
page 293
• Table 293: “EEE TXQ Cong TH Register Corrected typo for entries No action required.
(Page 92h: Address C6h),” on page 293 number.
l
Added:
tia
• Table 324: “BCM53128IQLE Package – No action required.
with Heat Sink, 4-layer Board, P=3.1W,”
en
on page 315
Revision: 53128-DS06-R
Date: 06/02/14
fid
on
Updated:
• Table 324: “Ordering Information,” on Added ordering information for No action required.
C
Revision: 53128-DS05-R
Date: 02/18/13
dc
Updated:
• Default bits 13, 12, 8, and 6 in Table 128
oa
on page 197.
• Default bits 11, 10, 8, 7, 6, and 5 in
Br
Updated:
• General Description Updated the general No action required.
description.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 3
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Revision History
Updated:
• “IGMP Snooping” on page 49 None. No action required.
• “Loop Detection” on page 52 Updated referenced document. No action required.
• “Address Resolution and Frame Edited the forward field. Corrected typo.
Forwarding” on page 59
• “Multicast Addresses” on page 61 Removed reference to No action required.
IP_MULTICAST bit.
l
• Table 8: “Multicast Forward Field Replaced IP_MULTICAST No action required.
tia
Definitions,” on page 61 column with UNICAST/
MULTICAST column and
en
updated the forwarding field.
• Table 9: “Address Table Entry for Replaced IPMCO with No action required.
Multicast Address,” on page 61 FWD_PRT_MAP.
• “Energy Efficient Ethernet Mode” on
page 66
fid
Updated referenced document. No action required.
on
• “Serial Flash Interface” on page 95 Updated SRAM value. No action required.
• Figure 44: “Write Access to the Register Changed Read MII Register 27 Corrected typo.
C
• Table 29: “Signal Type Definitions,” on Updated XTALO signal No action required.
page 126 description and added GPIO
pins.
dc
• Section 6: “Pin Assignment,” on page Updated pin assignments to New feature option available.
139 include GPIO pins.
oa
• “BCM53128KQLE Pin List by Ball Updated pin list to include GPIO New feature option available.
Name” on page 141 pins
• Table 31: “Control Registers (Page Added addresses B0h-B7h and No action required.
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 4
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Revision History
Updated:
• “Deep Green Mode” on page 66. None. No action required.
• Figure 45: “LED Interface Register Correct editing errors. No action required.
Structure Diagram,” on page 121.
• Table 29: “Signal Type Definitions,” on Power interface description Suggest a review of the
page 125. update to change core power schematics.
from 1.1V to 1.2V.
• Table 82: “Aging Time Control Register Descriptions updated. Typo correction.
(Page 02h: Address 06h–09h),” on
l
page 169.
tia
• “Absolute Maximum Ratings” on Updated core value absolute Suggest a review of the
page 297. maximum rating value. schematics.
en
• “Recommended Operating Conditions” Updated core voltage 1.2V Suggest a review of the
on page 297. minimum and maximum value schematics.
of recommended operating
•
conditions.
fid
“Electrical Characteristics” on page 298. Updated maximum power Suggest a review of the
on
consumption by core 1.2V and schematics.
IO 3.3V.
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 5
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Table of Contents
Table of Contents
About This Document ................................................................................................................................ 30
Purpose and Audience .......................................................................................................................... 30
Acronyms and Abbreviations................................................................................................................. 30
Document Conventions ......................................................................................................................... 30
References ............................................................................................................................................ 31
Technical Support ...................................................................................................................................... 31
Section 1: Introduction ..................................................................................................... 32
Overview...................................................................................................................................................... 32
Section 2: Features and Operation .................................................................................. 33
Overview of Features and Operation........................................................................................................ 33
l
tia
Quality of Service ....................................................................................................................................... 34
Egress Transmit Queues....................................................................................................................... 35
en
Port-Based QoS .................................................................................................................................... 35
IEEE 802.1p QoS .................................................................................................................................. 35
fid
MACDA-Based QoS.............................................................................................................................. 36
TOS/DSCP QoS.................................................................................................................................... 36
on
TC Decision Tree .................................................................................................................................. 36
Non-BroadSync HD Frame ............................................................................................................ 36
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 6
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Table of Contents
l
IEEE 802.1x Port-Based Security .............................................................................................................. 50
tia
DoS Attack Prevention............................................................................................................................... 51
en
MSTP Multiple Spanning Tree ................................................................................................................... 52
Software Reset............................................................................................................................................ 52
fid
Loop Detection ........................................................................................................................................... 52
BroadSync HD ............................................................................................................................................ 53
on
Time Base and Slot Generation ............................................................................................................ 53
Transmission Shaping and Scheduling ................................................................................................. 54
C
CableChecker™ .......................................................................................................................................... 56
Egress PCP Remarking.............................................................................................................................. 57
dc
Broadcom®
April 6, 2016 • 53128-DS07-R Page 7
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Table of Contents
l
tia
10/100/1000 Mbps Full-Duplex ...................................................................................................... 69
Integrated 10/100/1000 PHY....................................................................................................................... 70
en
Encoder ................................................................................................................................................. 70
Decoder................................................................................................................................................. 71
fid
Link Monitor........................................................................................................................................... 71
Digital Adaptive Equalizer ..................................................................................................................... 72
on
Echo Canceler....................................................................................................................................... 72
Cross Talk Canceler.............................................................................................................................. 72
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 8
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Table of Contents
l
Transmit Output Port Queues ............................................................................................................... 90
tia
Section 4: System Interfaces............................................................................................ 92
en
Overview of System Interfaces ................................................................................................................. 92
Copper Interface ......................................................................................................................................... 92
fid
Auto-Negotiation.................................................................................................................................... 92
Line-side (Remote) Loopback Mode ..................................................................................................... 93
on
Frame Management Port Interface............................................................................................................ 93
MII Interface .......................................................................................................................................... 93
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 9
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Table of Contents
l
tia
BCM53128KQLE Pin List by Ball Number .............................................................................................. 140
Section 7: Register Definitions ...................................................................................... 142
en
Register Definition.................................................................................................................................... 142
Register Notations.................................................................................................................................... 142
fid
Global Page Register ............................................................................................................................... 142
on
Page 00h: Control Registers ................................................................................................................... 144
Port Traffic Control Register (Page 00h: Address 00h)....................................................................... 146
C
IMP Port Control Register (Page 00h: Address 08h) .......................................................................... 147
Switch Mode Register (Page 00h: Address 0Bh) ................................................................................ 148
om
IMP Port State Override Register (Page 00h: Address 0Eh) .............................................................. 148
LED Control Register (Page 00h: Address 0Fh–1Bh)......................................................................... 149
dc
Broadcom®
April 6, 2016 • 53128-DS07-R Page 10
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Table of Contents
Multicast Lookup Failed Forward Map Register (Page 00h: Address 34h–35h) ................................. 157
MLF IPMC Forward Map Register (Page 00h: Address 36h–37h)...................................................... 158
Pause Pass Through for RX Register (Page 00h: Address 38h–39h) ................................................ 158
Pause Pass Through for TX Register (Page 00h: Address 3Ah–3Bh)................................................ 158
Disable Learning Register (Page 00h: Address 3Ch–3Dh)................................................................. 159
Software Learning Register (Page 00h: Address 3Eh–3Fh) ............................................................... 159
Port State Override Register (Page 00h: Address 58h) ...................................................................... 160
IMP RGMII Control Register (Page 00h: Address 60h)....................................................................... 161
MDIO IMP Port Address Register (Page 00h: Address 78h) .............................................................. 161
Software Reset Control Register (Page 00h: Address 79h)................................................................ 161
Pause Frame Detection Control Register (Page 00h: Address 80h)................................................... 162
Fast-Aging Control Register (Page 00h: Address 88h) ....................................................................... 162
l
Fast-Aging Port Control Register (Page 00h: Address 89h) ............................................................... 162
tia
Fast-Aging VID Control Register (Page 00h: Address 8Ah–8Bh) ....................................................... 163
en
CPU Data 0 Share Register (Page 00h: Address B0h-B7h) ............................................................... 163
CPU Data 1 Share Register (Page 00h: Address B8h-BFh) .............................................................. 163
fid
Page 01h: Status Registers ..................................................................................................................... 164
Link Status Summary (Page 01h: Address 00h) ................................................................................. 164
on
Link Status Change (Page 01h: Address 02h) .................................................................................... 165
Port Speed Summary (Page 01h: Address 04h) ................................................................................. 165
C
Source Address Change Register (Page 01h: Address 0Eh) ............................................................. 167
Last Source Address Register (Page 01h: Address 10h).................................................................... 167
dc
RMON MIB Steering Register (Page 02h: Address 04h) .................................................................... 170
Aging Time Control Register (Page 02h: Address 06h) ...................................................................... 170
Mirror Capture Control Register (Page 02h: Address 10h) ................................................................. 171
Ingress Mirror Control Register (Page 02h: Address 12h) .................................................................. 171
Ingress Mirror Divider Register (Page 02h: Address 14h)................................................................... 172
Ingress Mirror MAC Address Register (Page 02h: Address 16h)........................................................ 172
Egress Mirror Control Register (Page 02h: Address 1Ch) .................................................................. 173
Egress Mirror Divider Register (Page 02h: Address 1Eh)................................................................... 174
Egress Mirror MAC Address Register (Page 02h: Address 20h) ........................................................ 174
Device ID Register (Page 02h: Address 30h–33h) ............................................................................. 174
Revision Number Register (Page 02h: Address 40h) ......................................................................... 174
Broadcom®
April 6, 2016 • 53128-DS07-R Page 11
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Table of Contents
High-Level Protocol Control Register (Page 02h: Address 50h–53h) ................................................. 175
Page 03h: Interrupt Control Register...................................................................................................... 177
Interrupt Status Register (Page 03h: Address 00h) ............................................................................ 177
Interrupt Enable Register (Page 03h: Address 08h) ........................................................................... 177
IMP Sleep Timer Register (Page 03h: Address 10h) .......................................................................... 178
Sleep Status Register (Page 03h: Address 18h)................................................................................. 178
External CPU Interrupt Trigger Register (Page 03h: Address 20h) .................................................... 178
Page 04h: ARL Control Register ............................................................................................................. 179
Global ARL Configuration Register (Page 04h: Address 00h) ............................................................ 180
BPDU Multicast Address Register (Page 04h: Address 04h).............................................................. 180
Multiport Control Register (Page 04h: Address 0Eh–0Fh) .................................................................. 181
Multiport Address N (N=0–5) Register (Page 04h: Address 10h) ....................................................... 182
l
Multiport Vector N (N = 0–5) Register (Page 04h: Address 18h) ........................................................ 183
tia
Page 05h: ARL/VTBL Access Registers................................................................................................. 184
en
ARL Table Read/Write Control Register (Page 05h: Address 00h) .................................................... 185
MAC Address Index Register (Page 05h: Address 02h) ..................................................................... 185
fid
VLAN ID Index Register (Page 05h: Address 08h) ............................................................................. 186
ARL Table MAC/VID Entry N (N=0-3) Register (Page 05h: Address 10h).......................................... 186
on
ARL Table Data Entry N (N = 0–3) Register (Page 05h: Address 18h) .............................................. 187
ARL Table Search Control Register (Page 05h: Address 50h) ........................................................... 188
C
ARL Search Address Register (Page 05h: Address 51h) ................................................................... 189
ARL Table Search MAC/VID Result N (N=0-1) Register (Page 05h: Address 60h) ........................... 189
om
ARL Table Search Data Result N (N = 0-1) Register (Page 05h: Address 68h) ................................. 190
VLAN Table Read/Write/Clear Control Register (Page 05h: Address 80h) ........................................ 191
dc
VLAN Table Address Index Register (Page 05h: Address 81h).......................................................... 192
VLAN Table Entry Register (Page 05h: Address 83h–86h) ................................................................ 192
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 12
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Table of Contents
l
Copper Local Receiver NOT_OK Counter ................................................................................... 210
tia
Copper Remote Receiver NOT_OK Counter ............................................................................... 210
en
Receive CRC Counter Register (Page 10h–17h: Address 28h) ......................................................... 211
Copper CRC Counter................................................................................................................... 211
fid
Expansion Register Access Register (Page 10h–17h: Address 2Eh)................................................. 211
Expansion Register Select ........................................................................................................... 211
on
Expansion Register Accessed ..................................................................................................... 212
Auxiliary Control Shadow Value Access Register (Page 10h–17h: Address 30h) .............................. 212
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 13
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Table of Contents
l
Page 30h: QoS Registers......................................................................................................................... 235
tia
QoS Global Control Register (Page 30h: Address 00h)...................................................................... 236
en
QoS IEEE 802.1p Enable Register (Page 30h: Address 04h) ............................................................ 236
QoS DiffServ Enable Register (Page 30h: Address 06h).................................................................... 237
fid
Port N (N = 0-7, 8) PCP_To_TC Register (Page 30h: Address 10h) .................................................. 237
DiffServ Priority Map 0 Register (Page 30h: Address 40h) ................................................................. 238
on
DiffServ Priority Map 1 Register (Page 30h: Address 46h) ................................................................. 239
DiffServ Priority Map 2 Register (Page 30h: Address 4Ch) ................................................................ 239
C
DiffServ Priority Map 3 Register (Page 30h: Address 52h) ................................................................. 240
TC_To_COS Mapping Register (Page 30h: Address 62h–63h) ......................................................... 241
om
Broadcom®
April 6, 2016 • 53128-DS07-R Page 14
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Table of Contents
VLAN Multiport Address Control Register (Page 34h: Address 0Ah–0Bh) ......................................... 254
Default IEEE 802.1Q Tag Register (Page 34h: Address 10h) ............................................................ 255
Double Tagging TPID Register (Page 34h: Address 30h–31h) .......................................................... 256
ISP Port Selection Portmap Register (Page 34h: Address 32h–33h) ................................................. 256
Page 36h: DOS Prevent Register ............................................................................................................ 257
DOS Control Register (Page 36h: Address 00h–03h)......................................................................... 257
Minimum TCP Header Size Register (Page 36h: Address 04h) ......................................................... 259
Maximum ICMPv4 Size Register (Page 36h: Address 08h–0Bh) ....................................................... 259
Maximum ICMPv6 Size Register (Page 36h: Address 0Ch–0Fh)....................................................... 259
DOS Disable Learn Register (Page 36h: Address 10h) ...................................................................... 259
Page 40h: Jumbo Frame Control Register............................................................................................. 260
Jumbo Frame Port Mask Register (Page 40h: Address 01h).............................................................. 260
l
Standard Max Frame Size Register (Page 40h: Address 05h) ........................................................... 261
tia
Page 41h: Broadcast Storm Suppression Register .............................................................................. 262
en
Ingress Rate Control Configuration Register (Page 41h: Address 00h).............................................. 262
Port Receive Rate Control Register (Page 41h: Address 10h) ........................................................... 264
fid
Port Egress Rate Control Configuration Register (Page 41h: Address 80h–91h)............................... 266
IMP Port Egress Rate Control Configuration Register (Page 41h: Address C0h)............................... 267
on
Page 42h: EAP Register........................................................................................................................... 268
EAP Global Control Register (Page 42h: Address 00h)...................................................................... 269
C
EAP Multiport Address Control Register (Page 42h: Address 01h) .................................................... 269
EAP Destination IP Register 0 (Page 42h: Address 02h) ................................................................... 270
om
MSPT Aging Control Register (Page 43h: Address 02h) .................................................................... 272
MSPT Table Register (Page 43h: Address 10h) ................................................................................. 273
Br
SPT Multiport Address Bypass Control Register (Page 43h: Address 50h–51h)................................ 274
Page 70h: MIB Snapshot Control Register ............................................................................................ 275
MIB Snapshot Control Register (Page 70h: Address 00h).................................................................. 275
Page 71h: Port Snapshot MIB Control Register .................................................................................... 275
Page 72h: Loop Detection Register ........................................................................................................ 276
Loop Detection Control Register (Page 72h: Address 00h) ................................................................ 276
Discovery Frame Timer Control Register (Page 72h: Address 02h) ................................................... 276
LED Warning Port Map Register (Page 72h: Address 03h) ................................................................ 277
Module ID 0 Register (Page 72h: Address 05h).................................................................................. 277
Module ID 1 Register (Page 72h: Address 0Bh) ................................................................................. 278
Loop Detect Source Address Register (Page 72h: Address 11h) ....................................................... 278
Broadcom®
April 6, 2016 • 53128-DS07-R Page 15
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Table of Contents
Page 88h: IMP Port External PHY MII Registers Page Summary ......................................................... 278
Page 90h: BroadSync HD Register ......................................................................................................... 279
BroadSync HD Enable Control Register (Page 90h: Address 00h–01h) ............................................ 280
BroadSync HD Time Stamp Report Control Register (Page 90h: Address 02h) ................................ 280
BroadSync HD PCP Value Control Register (Page 90h: Address 03h) .............................................. 280
BroadSync HD Max Packet Size Register (Page 90h: Address 04h) ................................................. 281
BroadSync HD Time Base Register (Page 90h: Address 10h–13h) ................................................... 281
BroadSync HD Time Base Adjustment Register (Page 90h: Address 14h–17) .................................. 281
BroadSync HD Slot Number and Tick Counter Register (Page 90h: Address 18h–1Bh) ................... 282
BroadSync HD Slot Adjustment Register (Page 90h: Address 1Ch–1Fh) .......................................... 282
BroadSync HD Class 5 Bandwidth Control Register (Page 90h: Address 30h).................................. 283
BroadSync HD Class 4 Bandwidth Control Register (Page 90h: Address 60h).................................. 283
l
BroadSync HD Egress Time Stamp Register (Page 90h: Address 90h)............................................. 284
tia
BroadSync HD Egress Time Stamp Status Register (Page 90h: Address D0h)................................. 284
en
BroadSync HD Link Status Register (Page 90h: Address E0h–E1h).................................................. 285
Page 91h: Traffic Remarking Register.................................................................................................... 286
fid
Traffic Remarking Control Register (Page 91h: Address 00h) ............................................................ 286
Egress Non-BroadSync HD Packet TC to PCP Mapping Register (Page 91h: Address 10h) ............ 287
on
Page 92h: EEE Control Register ............................................................................................................. 288
EEE Enable Control Register (Page 92h: Address 00h) ..................................................................... 288
C
EEE LPI Assert Register (Page 92h: Address 02h) ............................................................................ 289
EEE LPI Indicate Register (Page 92h: Address 04h).......................................................................... 289
om
EEE RX Idle Symbol Register (Page 92h: Address 06h) .................................................................... 289
EEE Pipeline Timer Register (Page 92h: Address 0Ch) ..................................................................... 290
dc
EEE Sleep Timer Gig Register (Page 92h: Address 10h)................................................................... 290
EEE Sleep Timer FE Register (Page 92h: Address 34h).................................................................... 291
oa
EEE Min LP Timer Gig Register (Page 92h: Address 58h)................................................................. 291
EEE Min LP Timer FE Register (Page 92h: Address 7Ch) ................................................................. 292
Br
EEE Wake Timer Gig Register (Page 92h: Address A0h) .................................................................. 292
EEE Wake Timer FE Register (Page 92h: Address B2h) ................................................................... 293
EEE GLB Congst TH Register (Page 92h: Address C4h)................................................................... 293
EEE TXQ Cong TH Register (Page 92h: Address C6h) ..................................................................... 293
Global Registers ....................................................................................................................................... 295
SPI Data I/O Register (Global, Address F0h)...................................................................................... 295
SPI Status Register (Global, Address FEh) ........................................................................................ 295
Page Register (Global, Address FFh) ................................................................................................. 296
Section 8: Electrical Characteristics ............................................................................. 297
Absolute Maximum Ratings .................................................................................................................... 297
Recommended Operating Conditions .................................................................................................... 297
Broadcom®
April 6, 2016 • 53128-DS07-R Page 16
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Table of Contents
l
tia
RGMII Interface Timing ............................................................................................................................ 304
RGMII Output Timing (Normal Mode) ................................................................................................. 304
en
RGMII Output Timing (Delayed Mode)................................................................................................ 305
RGMII Input Timing (Normal Mode) .................................................................................................... 306
fid
RGMII Input Timing (Delayed Mode)................................................................................................... 307
GMII Interface Timing ............................................................................................................................... 308
on
GMII Interface Output Timing .............................................................................................................. 308
GMII Interface Input Timing................................................................................................................. 308
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 17
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet List of Figures
List of Figures
Figure 1: Functional Block Diagram ................................................................................................................... 2
Figure 2: QoS Program Flow ........................................................................................................................... 34
Figure 3: VLAN Table Organization ................................................................................................................. 39
Figure 4: ISP Tag Diagram .............................................................................................................................. 41
Figure 5: Trunking............................................................................................................................................ 44
Figure 6: Bucket Flow ...................................................................................................................................... 45
Figure 7: Mirror Filter Flow ............................................................................................................................... 48
Figure 8: BroadSync HD Shaping and Scheduling .......................................................................................... 54
Figure 9: Address Table Organization ............................................................................................................. 58
Figure 10: IMP Packet Encapsulation Format ................................................................................................. 80
l
tia
Figure 11: TXQ and Buffer Tag Structure ........................................................................................................ 91
Figure 12: RvMII Port Connection.................................................................................................................... 94
en
Figure 13: Normal SPI Command Byte............................................................................................................ 97
Figure 14: Fast SPI Command Byte ................................................................................................................ 97
fid
Figure 15: SPI Serial Interface Write Operation............................................................................................... 98
on
Figure 16: SPI Serial Interface Read Operation .............................................................................................. 98
Figure 17: SPI Interface Without External PHY Device ................................................................................... 98
C
Figure 20: Normal Read Mode to Check the SPIF Bit of SPI Status Register ............................................... 102
Figure 21: Normal Read Mode to Setup the Accessed Register Page Value................................................ 102
dc
Figure 22: Normal Read Mode to Setup the Accessed Register Address Value (Dummy Read).................. 103
Figure 23: Normal Read Mode to Check the SPI Status for Completion of Read ......................................... 103
oa
Figure 24: Normal Read Mode to Obtain the Register Content ..................................................................... 104
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 18
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet List of Figures
Figure 36: PseudoPHY MII Register 16: Register Set Access Control Bit Definition..................................... 114
Figure 37: PseudoPHY MII Register 17: Register Set Read/Write Control Bit Definition .............................. 114
Figure 38: PseudoPHY MII Register 18: Register Access Status Bit Definition ............................................ 115
Figure 39: PseudoPHY MII Register 24: Access Register Bit Definition........................................................ 115
Figure 40: PseudoPHY MII Register 25: Access Register Bit Definition........................................................ 115
Figure 41: PseudoPHY MII Register 26: Access Register Bit Definition........................................................ 116
Figure 42: PseudoPHY MII Register 27: Access Register Bit Definition........................................................ 116
Figure 43: Read Access to the Register Set Using the PseudoPHY (PHYAD = 11110) MDC/MDIO Path ... 117
Figure 44: Write Access to the Register Set Using the PseudoPHY (PHYAD = 11110) MDC/MDIO Path ... 118
Figure 45: LED Interface Register Structure Diagram ................................................................................... 121
Figure 46: LED Interface Block Diagram ....................................................................................................... 122
Figure 47: Dual LED Usage Example ............................................................................................................ 122
l
tia
Figure 48: LED Circuit for Dual Input Configuration/LED Output Pins ........................................................... 123
Figure 49: Reset and Clock Timing................................................................................................................ 299
en
Figure 50: MII Input........................................................................................................................................ 300
fid
Figure 51: MII Output Timing ......................................................................................................................... 300
Figure 52: TMII Input...................................................................................................................................... 301
on
Figure 53: TMII Output Timing ....................................................................................................................... 302
Figure 54: Reverse MII Input Timing.............................................................................................................. 302
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 19
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet List of Tables
List of Tables
Table 1: TC Decision Tree Summary............................................................................................................... 36
Table 2: Reasons to Forward a Packet to the CPU ......................................................................................... 38
Table 3: Bucket Bit Rate .................................................................................................................................. 47
Table 4: DoS Attacks Detected by BCM53128 ................................................................................................ 51
Table 5: Cable Diagnostic Output .................................................................................................................... 56
Table 6: Unicast Forward Field Definitions ...................................................................................................... 60
Table 7: Address Table Entry for Unicast Address .......................................................................................... 60
Table 8: Multicast Forward Field Definitions .................................................................................................... 61
Table 9: Address Table Entry for Multicast Address ........................................................................................ 61
Table 10: Behavior for Reserved Multicast Addresses .................................................................................... 62
l
tia
Table 11: Flow Control Modes ......................................................................................................................... 70
Table 12: 1000BASE-T External Loopback with External Loopback Plug ....................................................... 77
en
Table 13: 1000BASE-T External Loopback Without External Loopback Plug ................................................. 77
Table 14: 100BASE-TX External Loopback with External Loopback Plug ...................................................... 78
fid
Table 15: 100BASE-TX External Loopback Without External Loopback Plug................................................. 78
on
Table 16: 10BASE-T External Loopback with External Loopback Plug ........................................................... 78
Table 17: 10BASE-T External Loopback Without External Loopback Plug ..................................................... 78
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 20
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet List of Tables
Table 36: Port Control Register (Page 00h: Address 00h–07h) .................................................................... 146
Table 37: IMP Port Control Register (Page 00h: Address 08h) ..................................................................... 147
Table 38: Switch Mode Register (Page 00h: Address 0Bh)........................................................................... 148
Table 39: IMP Port State Override Register (Page 00h: Address 0Eh) ......................................................... 148
Table 40: LED Control Register Address Summary ...................................................................................... 149
Table 41: LED Refresh Register (Page 00h: Address 0Fh) ........................................................................... 149
Table 42: LED Function 0 Control Register (Page 00h: Address 10h–11h) .................................................. 150
Table 43: LED Function 1 Control Register (Page 00h: Address 12h–13h) .................................................. 151
Table 44: LED Function Map Register (Page 00h: Address 14h–15h) .......................................................... 151
Table 45: LED Enable Map Register (Page 00h: Address 16h–17h) ............................................................ 152
Table 46: LED Mode Map 0 Register (Page 00h: Address 18h–19h)............................................................ 152
Table 47: LED Function Map 1 Control Register (Page 00h: Address 1Ah–1Bh) ......................................... 152
l
tia
Table 48: LED Control Register (Page 00h: Address 1Ch) ........................................................................... 153
Table 49: PHY LED Control Register (Page 00h: Address 1Dh) ................................................................... 153
en
Table 50: Port Forward Control Register (Page 00h: Address 21h) .............................................................. 154
fid
Table 51: Protected Port Selection Register (Page 00h: Address 24h–25h) ................................................. 155
Table 52: WAN Port Select Register (Page 00h: Address 26h–27h)............................................................. 155
on
Table 53: Pause Capability Register (Page 00h: Address 28h–2Bh) ............................................................ 155
Table 54: Reserved Multicast Control Register (Page 00h: Address 2Fh) .................................................... 156
C
Table 55: Unicast Lookup Failed Forward Map Register (Page 00h: Address 32h–33h) .............................. 157
Table 56: Multicast Lookup Failed Forward Map Register (Page 00h: Address 34h–35h)............................ 157
om
Table 57: MLF IMPC Forward Map Register (Page 00h: Address 36h–37h) ................................................ 158
Table 58: Pause Pass Through for RX Register (Page 00h: Address 38h–39h) ........................................... 158
dc
Table 59: Pause Pass Through for TX Register (Page 00h: Address 3Ah–3Bh) .......................................... 158
oa
Table 60: Disable Learning Register (Page 00h: Address 3Ch–3Dh) ........................................................... 159
Table 61: Software Learning Control Register (Page 00h: Address 3Eh–3Fh) ............................................. 159
Br
Table 62: Port State Override Register Address Summary ........................................................................... 160
Table 63: Port State Override Register (Page 00h: Address 58h–5Fh)......................................................... 160
Table 64: IMP RGMII Control Register (Page 00h: Address 60h) ................................................................. 161
Table 65: MDIO IMP PORT Address Register (Page 00h: Address 78h)...................................................... 161
Table 66: Software Reset Control Register (Page 00h: Address 79h) .......................................................... 161
Table 67: Pause Frame Detection Control Register (Page 00h: Address 80h) ............................................. 162
Table 68: Fast-Aging Control Register (Page 00h: Address 88h).................................................................. 162
Table 69: Fast-Aging Port Control Register (Page 00h: Address 89h) .......................................................... 162
Table 70: Fast-Aging VID Control Register (Page 00h: Address 8Ah–8Bh) .................................................. 163
Table 71: CPU Data 0 Share Register (Page 00h: Address B0h–B7h) ......................................................... 163
Table 72: CPU Data 1 Share Register (Page 00h: Address B8h–BFh) ......................................................... 163
Broadcom®
April 6, 2016 • 53128-DS07-R Page 21
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet List of Tables
l
tia
Table 85: Broadcom Tag Control Register (Page 02h: Address 03h) ........................................................... 170
Table 86: RMON MIB Steering Register (Page 02h: Address 04h–05h) ....................................................... 170
en
Table 87: Aging Time Control Register (Page 02h: Address 06h–09h) ......................................................... 170
fid
Table 88: Mirror Capture Control Register (Page 02h: Address 10h–11h) .................................................... 171
Table 89: Ingress Mirror Control Register (Page 02h: Address 12h–13h) ..................................................... 171
on
Table 90: Ingress Mirror Divider Register (Page 02h: Address 14h–15h) ..................................................... 172
Table 91: Ingress Mirror MAC Address Register (Page 02h: Address 16h–1Bh) .......................................... 172
C
Table 92: Egress Mirror Control Register (Page 02h: Address 1Ch–1Dh) .................................................... 173
Table 93: Egress Mirror Divider Register (Page 02h: Address 1Eh–1Fh) ..................................................... 174
om
Table 94: Egress Mirror MAC Address Register (Page 02h: Address 20h–25h) ........................................... 174
Table 95: Device ID Register (Page 02h: Address 30h–33h) ........................................................................ 174
dc
Table 96: Egress Mirror MAC Address Register (Page 02h: Address 40h) ................................................... 174
oa
Table 97: High-Level Protocol Control Register (Page 02h: Address 50h–53h)............................................ 175
Table 98: Page 03h: Interrupt Control Register ............................................................................................. 177
Br
Table 99: Interrupt Status Register (Page 03h: Address 00h) ....................................................................... 177
Table 100: Interrupt Enable Register (Page 03h: Address 08h) .................................................................... 177
Table 101: IMP Sleep Timer Register (Page 03h: Address 10h) ................................................................... 178
Table 102: Sleep Status Register (Page 03h: Address 18h) ......................................................................... 178
Table 103: External CPU Interrupt Trigger Register (Page 03h: Address 20h) ............................................. 178
Table 104: ARL Control Registers (Page 04h) .............................................................................................. 179
Table 105: Global ARL Configuration Register (Page 04h: Address 00h) ..................................................... 180
Table 106: BPDU Multicast Address Register (Page 04h: Address 04h–09h) .............................................. 180
Table 107: Multiport Control Register (Page 04h: Address 0Eh–0Fh)........................................................... 181
Table 108: Multiport Address Register Address Summary ............................................................................ 182
Table 109: Multiport Address Register (Page 04h: Address 10h–17h, 20h–27h, 30h–37h, 40h–47h, 50h–57h,
Broadcom®
April 6, 2016 • 53128-DS07-R Page 22
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet List of Tables
60h–67h)....................................................................................................................................... 182
Table 110: Multiport Vector Register Address Summary ............................................................................... 183
Table 111: Multiport Vector Register (Page 04h: Address 18h–1Bh, 28h–2Bh, 38h–3Bh, 48h–4Bh, 58h–5Bh,
68h–6Bh) ...................................................................................................................................... 183
Table 112: ARL/VTBL Access Registers (Page 05h) .................................................................................... 184
Table 113: ARL Table Read/Write Control Register (Page 05h: Address 00h) ............................................. 185
Table 114: MAC Address Index Register (Page 05h: Address 02h–07h)...................................................... 185
Table 115: VLAN ID Index Register (Page 05h: Address 08h–09h) .............................................................. 186
Table 116: ARL Table MAC/VID Entry N (N=0-3) Register Address Summary............................................. 186
Table 117: ARL Table MAC/VID Entry N (N=0-3) Register (Page 05h: Address 10h–17h, 20h–27h, 30h–37h,
40h–47h)....................................................................................................................................... 186
Table 118: ARL Table Data Entry N (N=0-3) Register Address Summary .................................................... 187
l
tia
Table 119: ARL Table Data Entry N (N=0-3) Register (Page 05h: Address 18h–1Bh, 28h–2Bh, 38h–3Bh, 48h–
4Bh) .............................................................................................................................................. 187
en
Table 120: ARL Table Search Control Register (Page 05h: Address 50h).................................................... 188
Table 121: ARL Search Address Register (Page 05h: Address 51h–52h) .................................................... 189
fid
Table 122: ARL Table Search MAC/VID Result N (N=0-1) Register Address Summary............................... 189
Table 123: ARL Table Search MAC/VID Result N (N=0-1) Register (Page 05h: Address 60h–67h,
on
70h–77h)....................................................................................................................................... 189
Table 124: ARL Table Search Data Result N (N=0-1) Register Address Summary ...................................... 190
C
Table 125: ARL Table Search Data Result N (N=0-1) Register (Page 05h: Address 68h–6Bh, 78h–7Bh)... 190
om
Table 126: VLAN Table Read/Write/Clear Control Register (Page 05h: Address 80h) ................................. 191
Table 127: VLAN Table Address Index Register (Page 05h: Address 81h–82h) .......................................... 192
Table 128: VLAN Table Entry Register (Page 05h: Address 83h–86h) ......................................................... 192
dc
Table 132: MII Status Register (Page 10h–17h: Address 02h–03h) ............................................................. 197
Table 133: PHY Identifier Register MSB (Page 10h–17h: Address 04–07h)................................................. 198
Table 134: PHY Identifier Register LSB (Page 10h–17h: Address 06h–07h)................................................ 198
Table 135: Auto-Negotiation Advertisement Register (Page 10h–17h: Address 08h–09h) ........................... 199
Table 136: Auto-Negotiation Link Partner Ability Register (Page 10h–17h: Address 0Ah–0Bh) ................... 200
Table 137: Auto-Negotiation Expansion Register (Page 10h–17h: Address 0Ch–0Dh) ................................ 201
Table 138: Next Page Transmit Register (Page 10h–17h: Address 0Eh–0Fh) ............................................. 202
Table 139: Link Partner Received Next Page Register (Page 10h–17h: Address 10h–11h) ........................ 203
Table 140: 1000BASE-T Control Register (Page 10h–17h: Address 12h–13h) ............................................ 204
Table 141: 1000BASE-T Status Register (Page 10h–17h: Address 14h–15h) ............................................. 205
Broadcom®
April 6, 2016 • 53128-DS07-R Page 23
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet List of Tables
Table 142: IEEE Extended Status Register (Page 10h–17h: Address 1Eh–1Fh) ......................................... 206
Table 143: PHY Extended Control Register (Page 10h–17h: Address 20h–21h) ......................................... 207
Table 144: PHY Extended Status Register (Page 10h–17h: Address 22h–23h) ........................................... 208
Table 145: Receive Error Counter Register (Page 10h–17h: Address 24h–25h) .......................................... 209
Table 146: False Carrier Sense Counter Register (Page 10h–17h: Address 26h–27h) ................................ 209
Table 147: 10BASE-T/100BASE-TX/1000BASE-T Transmit Error Code Counter Register (Address 13h) .. 210
Table 148: Receiver NOT_OK Counter Register (Page 10h–17h: Address 28h–29h) .................................. 210
Table 149: CRC Counter Register (Page 10h–17h: Address 28h–29h) ........................................................ 211
Table 150: Expansion Register Access Register (Page 10h–17h: Address 2Eh–2Fh) ................................. 211
Table 151: Expansion Register Select Values ............................................................................................... 212
Table 152: Auxiliary Control Shadow Values Access Register (Page 10h–17h: Address 30h) ..................... 212
Table 153: Reading Register 30h .................................................................................................................. 212
l
tia
Table 154: Writing Register 30h .................................................................................................................... 213
Table 155: Auxiliary Control Register (Page 10h–17h: Address 30h, Shadow Value 000) ........................... 213
en
Table 156: 10BASE-T Register (Page 10h–17h: Address 30h, Shadow Value 001) .................................... 214
fid
Table 157: Power/MII Control Register (Page 10h–17h: Address 30h, Shadow Value 010)......................... 215
Table 158: Miscellaneous Test Register (Page 10h–17h: Address 30h, Shadow Value 100)....................... 216
on
Table 159: Miscellaneous Control Register (Page 10h–17h: Address 30h, Shadow Value 111) .................. 217
Table 160: Auxiliary Status Summary Register (Page 10h–17h: Address 32h–33h) .................................... 218
C
Table 161: Interrupt Status Register (Page 10h–17h: Address 34h–35h) ..................................................... 219
Table 162: Interrupt Mask Register (Page 10h–17h: Address 36h)............................................................... 220
om
Table 165: Auto Power-Down Register (Page 10h–17h: Address 38h, Shadow Value 01010) .................... 222
oa
Table 166: LED Selector 2 Register (Page 10h–17h: Address 38h, Shadow Value 01110) ......................... 223
Table 167: Mode Control Register (Page 10h–17h: Address 38h, Shadow Value 11111) ............................ 225
Br
Table 168: Master/Slave Seed Register (Page 10h–17h: Address 3Ah–3Bh) Bit 15 = 0 .............................. 226
Table 169: HCD Status Register (Page 10h–17h: Address 3Ah–3Bh) Bit 15 = 1.......................................... 227
Table 170: Test Register 1 (Page 10h–17h: Address 3C–3Dh) .................................................................... 228
Table 171: Expansion Register 00h: Receive/Transmit Packet Counter ....................................................... 229
Table 172: Expansion Register 01h: Expansion Interrupt Status .................................................................. 229
Table 173: Expansion Register 45h: Transmit CRC ...................................................................................... 230
Table 174: Port MIB Registers Page Summary ............................................................................................. 230
Table 175: Page 20h–28h Port MIB Registers .............................................................................................. 230
Table 176: Page 30h QoS Registers ............................................................................................................. 235
Table 177: QoS Global Control Register (Page 30h: Address 00h) .............................................................. 236
Table 178: QoS.1P Enable Register (Page 30h: Address 04h–05h) ............................................................. 236
Broadcom®
April 6, 2016 • 53128-DS07-R Page 24
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet List of Tables
Table 179: QoS DiffServ Enable Register (Page 30h: Address 06h–07h) .................................................... 237
Table 180: Port N (N=0-7,8) PCP_To_TC Register Address Summary ........................................................ 237
Table 181: Port N (N=0-7,8) PCP_To_TC Register (Page 30h: Address 10h–33h)...................................... 237
Table 182: DiffServ Priority Map 0 Register (Page 30h: Address 40h–45h).................................................. 238
Table 183: DiffServ Priority Map 1 Register (Page 30h: Address 46h–4Bh) ................................................. 239
Table 184: DiffServ Priority Map 2 Register (Page 30h: Address 4Ch–51h) ................................................. 239
Table 185: DiffServ Priority Map 3 Register (Page 30h: Address 52h–57h).................................................. 240
Table 186: TC_To_COS Mapping Register (Page 30h: Address 62h–63h) .................................................. 241
Table 187: CPU_To_COS Map Register (Page 30h: Address 64h–67h) ...................................................... 242
Table 188: TX Queue Control Register (Page 30h: Address 80h)................................................................. 243
Table 189: TX Queue Weight Register Queue[0:3] (Page 30h: Address 81h–84h) ...................................... 243
Table 190: COS4 Service Weight Register (Page 30h: Address 85h–86h)................................................... 244
l
tia
Table 191: Page 31h VLAN Registers ........................................................................................................... 245
Table 192: Port-Based VLAN Control Register Address Summary ............................................................... 245
en
Table 193: Port VLAN Control Register (Page 31h: Address 00h–11h) ........................................................ 245
fid
Table 194: Page 32h Trunking Registers ...................................................................................................... 246
Table 195: MAC Trunk Control Register (Page 32h: Address 00h) ............................................................... 246
on
Table 196: Trunk Group 0 Register (Page 32h: Address 10h–11h) .............................................................. 247
Table 197: Trunk Group 1 Register (Page 32h: Address 12h–13h) .............................................................. 247
C
Table 198: Page 34h IEEE 802.1Q VLAN Registers ..................................................................................... 248
Table 199: Global IEEE 802.1Q Register (Pages 34h: Address 00h) ........................................................... 248
om
Table 200: Global VLAN Control 1 Register (Page 34h: Address 01h) ......................................................... 250
Table 201: Global VLAN Control 2 Register (Page 34h: Address 02h) ......................................................... 251
dc
Table 202: Global VLAN Control 3 Register (Page 34h: Address 03h–04h) ................................................. 251
oa
Table 203: Global VLAN Control 4 Register (Page 34h: Address 05h) ......................................................... 252
Table 204: Global VLAN Control 5 Register (Page 34h: Address 06h) ......................................................... 253
Br
Table 205: VLAN Multiport Address Control Register (Page 34h: Address 0Ah–0Bh) .................................. 254
Table 206: Default IEEE 802.1Q Tag Register Address Summary ............................................................... 255
Table 207: Default IEEE 802.1Q Tag Register (Page 34h: Address 10h–21h) ............................................. 255
Table 208: Double Tagging TPID Register (Page 34h: Address 30h–31h) ................................................... 256
Table 209: ISP Port Selection Portmap Register (Page 34h: Address 32h–33h) .......................................... 256
Table 210: DOS Prevent Register ................................................................................................................. 257
Table 211: DOS Control Register (Page 36h: Address 00h–03h) ................................................................. 257
Table 212: Minimum TCP Header Size Register (Page 36h: Address 04h) .................................................. 259
Table 213: Maximum ICMPv4 Size Register (Page 36h: Address 08h-0Bh)................................................. 259
Table 214: Maximum ICMPv6 Size Register (Page 36h: Address 0Ch-0Fh) ................................................ 259
Table 215: DOS Disable Learn Register (Page 36h: Address 08h-0Bh) ....................................................... 259
Broadcom®
April 6, 2016 • 53128-DS07-R Page 25
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet List of Tables
Table 216: Page 40h Jumbo Frame Control Register ................................................................................... 260
Table 217: Jumbo Frame Port Mask Registers (Page 40h: Address 01h–04h) ............................................ 260
Table 218: Standard Max Frame Size Registers (Page 40h: Address 05h–06h) .......................................... 261
Table 219: Broadcast Storm Suppression Register (Page 41h) .................................................................... 262
Table 220: Ingress Rate Control Configuration Register (Page 41h: Address 00h–03h) .............................. 262
Table 221: Port Rate Control Register Address Summary ............................................................................ 264
Table 222: Port Rate Control Register (Page 41h: Address 10h–33h) .......................................................... 264
Table 223: Port Egress Rate Control Configuration Register Address Summary.......................................... 266
Table 224: Port Egress Rate Control Configuration Registers (Page 41h: Address 80h–91h) ..................... 266
Table 225: IMP Port Egress Rate Control Configuration Register Address Summary .................................. 267
Table 226: IMP Port Egress Rate Control Configuration Registers (Page 41h: Address C0h) ..................... 267
Table 227: Using Rate_Index to Configure Different Egress Rates for IMP in pps ....................................... 268
l
tia
Table 228: Broadcast Storm Suppression Register (Page 42h) .................................................................... 268
Table 229: EAP Global Control Registers (Page 42h: Address 00h)............................................................. 269
en
Table 230: EAP Multiport Address Control Register (Page 42h: Address 01h) ............................................. 269
fid
Table 231: EAP Destination IP Registers 0 (Page 42h: Address 02h–09h) .................................................. 270
Table 232: EAP Destination IP Registers 1 (Page 42h: Address 0Ah–12h) .................................................. 270
on
Table 233: Port EAP Configuration Register Address Summary ................................................................... 271
Table 234: Port EAP Configuration Registers (Page 42h: Address 20h–47h)............................................... 271
C
Table 235: Broadcast Storm Suppression Register (Page 43h) .................................................................... 272
Table 236: MSPT Control Registers (Page 43h: Address 00h–01h) ............................................................. 272
om
Table 237: MSPT Aging Control Registers (Page 43h: Address 02h–05h) ................................................... 272
Table 238: MSPT Table Register Address Summary .................................................................................... 273
dc
Table 239: MSPT Table Registers (Page 43h: Address 10h–2Fh)................................................................ 273
oa
Table 240: SPT Multiport Address Bypass Control Register (Page 43h: Address 50h–51h) ........................ 274
Table 241: MIB Snapshot Control Register ................................................................................................... 275
Br
Table 242: MIB Snapshot Control Register (Page 70h: Address 00h) .......................................................... 275
Table 243: Port Snapshot MIB Control Register ............................................................................................ 275
Table 244: Loop Detection Control Register (Page 72h) ............................................................................... 276
Table 245: Loop Detection Control Registers (Page 72h: Address 00h–01h) ............................................... 276
Table 246: Discovery Frame Timer Control Registers (Page 72h: Address 02h) .......................................... 276
Table 247: LED Warning Port Map Registers (Page 72h: Address 03h–04h) ............................................... 277
Table 248: Module ID 0 Registers (Page 72h: Address 05h–0Ah) ................................................................ 277
Table 249: Module ID 1 Registers (Page 72h: Address 0Bh–10h) ................................................................ 278
Table 250: Loop Detect Source Address Registers (Page 72h: Address 11h–16h) ...................................... 278
Table 251: IMP Port External PHY MII Registers Page Summary ................................................................ 278
Table 252: BroadSync HD Register ............................................................................................................... 279
Broadcom®
April 6, 2016 • 53128-DS07-R Page 26
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet List of Tables
Table 253: BroadSync HD Enable Control Register (Page 90h: Address 00h–01h) ..................................... 280
Table 254: BroadSync HD Time Stamp Report Control Register (Page 90h: Address 02h) ......................... 280
Table 255: BroadSync HD PCP Value Control Register (Page 90h: Address 03h)....................................... 280
Table 256: BroadSync HD Max Packet Size Register (Page 90h: Address 04h) .......................................... 281
Table 257: BroadSync HD Time Base Register (Page 90h: Address 10h–13h)............................................ 281
Table 258: BroadSync HD Time Base Adjustment Register (Page 90h: Address 14h–17h)......................... 281
Table 259: BroadSync HD Slot Number and Tick Counter Register (Page 90h: Address 18h–1Bh) ............ 282
Table 260: BroadSync HD Slot Adjustment Register (Page 90h: Address 1Ch–1Fh) ................................... 282
Table 261: BroadSync HD Class 5 Bandwidth Control Register Address Summary ..................................... 283
Table 262: BroadSync HD Class 5 Bandwidth Control Register (Page 90h: Address 30h–31h, 32h–33h, 34h–
35h, 36h–37h, 38h–39h)............................................................................................................... 283
Table 263: BroadSync HD Class 4 Bandwidth Control Register Address Summary ..................................... 283
l
tia
Table 264: BroadSync HD Class 4 Bandwidth Control Register (Page 90h: Address 60h–61h, 62h–63h, 64h–
65h, 66h–67h, 68h–69h)............................................................................................................... 284
en
Table 265: BroadSync HD Egress Time Stamp Register Address Summary................................................ 284
Table 266: BroadSync HD Egress Time Stamp Register (Page 90h: Address 90h–93h, 94h–97h, 98h–9Bh,
fid
9Ch–9Fh, A0h–A3h, A4h–A7h) .................................................................................................... 284
Table 267: BroadSync HD Egress Time Stamp Status Register (Page 90h: Address D0h) ......................... 284
on
Table 268: BroadSync HD Link Status Register (Page 90h: Address E0h–E1h) ......................................... 285
Table 269: Traffic Remarking Register .......................................................................................................... 286
C
Table 270: Traffic Remarking Control Register (Page 91h: Address 00h)..................................................... 286
om
Table 271: Egress Non-BroadSync HD Packet TC to PCP Mapping Register Address Summary ............... 287
Table 272: Egress Non-BroadSync HD Packet TC to PCP Mapping Register (Page 91h: Address 10h–17h,
18h–1Fh, 20h–27h, 28h–2Fh, 30h–37h, 38h–3Fh, 50h-57h)....................................................... 287
dc
Table 274: EEE Enable Control Register (Page 92h: Address 00h).............................................................. 288
Table 275: EEE LPI Assert Register (Page 92h: Address 02h) ..................................................................... 289
Br
Table 276: EEE LPI Indicate Register (Page 92h: Address 04h) .................................................................. 289
Table 277: EEE RX Idle Symbol Register (Page 92h: Address 06h)............................................................. 289
Table 278: EEE Pipeline Timer Register (Page 92h: Address 0Ch) .............................................................. 290
Table 279: EEE Sleep Timer Gig Register (Page 92h: Address 10h) ........................................................... 290
Table 280: EEE Sleep Timer Gig Register (Page 92h: Address 10h) ........................................................... 290
Table 281: EEE Sleep Timer FE Register (Page 92h: Address 34h) ............................................................ 290
Table 282: EEE Sleep Timer FE Register (Page 92h: Address 34h) ............................................................ 291
Table 283: EEE Min LP Timer Gig Register (Page 92h: Address 58h) ......................................................... 291
Table 284: EEE Min LP Timer Gig Register (Page 92h: Address 58h) ......................................................... 291
Table 285: EEE Min LP Timer FE Register (Page 92h: Address 7Ch) .......................................................... 291
Broadcom®
April 6, 2016 • 53128-DS07-R Page 27
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet List of Tables
Table 286: EEE Min LP Timer FE Register (Page 92h: Address 7Ch) .......................................................... 292
Table 287: EEE Wake Timer Gig Register (Page 92h: Address A0h) ........................................................... 292
Table 288: EEE Wake Timer Gig Register (Page 92h: Address A0h) ........................................................... 292
Table 289: EEE Wake Timer FE Register (Page 92h: Address B2h) ............................................................ 292
Table 290: EEE Wake Timer FE Register (Page 92h: Address B2h) ............................................................ 293
Table 291: EEE GLB Congst TH Register (Page 92h: Address C4h) ........................................................... 293
Table 292: EEE TXQ CONG TH Register (Page 92h: Address C6h) ............................................................ 293
Table 293: EEE TXQ Cong TH Register (Page 92h: Address C6h) .............................................................. 293
Table 294: Global Registers (Maps to All Pages) ......................................................................................... 295
Table 295: SPI Data I/O Register (Maps to All Registers, Address F0h–F7h) .............................................. 295
Table 296: SPI Status Register (Maps to All Registers, Address FEh) ......................................................... 295
Table 297: Page Register (Maps to All Registers, Address FFh) .................................................................. 296
l
tia
Table 298: Absolute Maximum Ratings ......................................................................................................... 297
Table 299: Recommended Operating Conditions .......................................................................................... 297
en
Table 300: Electrical Characteristics.............................................................................................................. 298
fid
Table 301: Reset and Clock Timing ............................................................................................................... 299
Table 302: MII Input Timing ........................................................................................................................... 300
on
Table 303: MII Output Timing ........................................................................................................................ 301
Table 304: TMII Input Timing ......................................................................................................................... 301
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 28
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet List of Tables
Table 323: BCM53128KQLE Package with Heat Sink, 2-Layer Board, P = 3.1W......................................... 314
Table 324: BCM53128IQLE Package with Heat Sink, 4-layer Board, P=3.1W ............................................. 315
Table 325: Ordering Information .................................................................................................................... 317
l
tia
en
fid
on
C
om
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 29
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet About This Document
For a comprehensive list of acronyms and other terms used in Broadcom documents, go to:
http://www.broadcom.com/press/glossary.php.
l
tia
Document Conventions
en
The following notational conventions are used in this document:
• Signal names are shown in uppercase letters (such as DATA).
•
•
fid
A bar over a signal name indicates that it is active low (such as CE).
In register and signal descriptions, [n:m] indicates a range from bit n to bit m (such as [7:0] indicates bits 7
on
through 0, inclusive).
• The use of R or Reserved indicates that a bit or a field is reserved by Broadcom for future use. Typically, R
C
100 Mbps [referring to fast Ethernet speed] means 100,000,000 bps, and 133 MHz means 133,000,000
Hz).
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 30
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Technical Support
References
The references in this section may be used in conjunction with this document.
Note: Broadcom provides customer access to technical documentation and software through its
Customer Support Portal (CSP) and Downloads and Support site (see Technical Support).
For Broadcom documents, replace the “xx” in the document number with the largest number available in the
repository to ensure that you have the most current version of the document.
l
[2] BCM53128 Programmer's Reference Guide 53128-PG1xx-R CSP
tia
en
Technical Support
fid
Broadcom provides customer access to a wide range of information, including technical documentation,
schematic diagrams, product bill of materials, PCB layout information, and software updates through its
on
customer support portal (https://support.broadcom.com). For a CSP account, contact your Sales or Engineering
support representative.
C
In addition, Broadcom provides other product support through its Downloads and Support site
(http://www.broadcom.com/support/).
om
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 31
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Introduction
Section 1: Introduction
Overview
The BCM53128 is a single-chip, 9-port Gigabit Ethernet (GbE) switch device. It provides:
• A 9-port nonblocking 10/100/1000-Mbps switch controller
• Eight ports with 10/100/1000BASE-TX-compatible transceivers
• Nine integrated Gigabit MACs (GMACs)
• One GMII/RGMII/MII/RvMII/TMII/RvTMII port for PHY-less connection to the management agent
• An integrated Motorola SPI-compatible interface
• High performance, integrated packet buffer memory
l
tia
• An address resolution engine
• A set of management information base (MIB) statistics registers
en
The GMACs support full-duplex and half-duplex modes for 10 Mbps and 100 Mbps and full-duplex for
1000 Mbps. Flow control is supported in the half-duplex mode with backpressure. In full-duplex mode, IEEE
fid
802.3x frame-based flow control is supported. The GMACs are IEEE 802.3-compliant and support maximum
frame sizes of 9720 bytes.
on
An integrated address management engine provides address learning and recognition functions at maximum
frame rates. The address table provides capacity for learning up to 4K unicast addresses. Addresses are added
C
The MIB statistics registers collect receive and transmit statistics for each port and provide direct hardware
support for the Ether-like MIB, MIB II (interfaces), and the first four groups of the RMON MIB. All nine groups of
RMON can be supported by using additional capabilities, such as port mirroring/snooping, together with an
dc
external microcontroller to process some MIB attributes. The MIB registers can be accessed through the Serial
Peripheral Interface Port by an external microcontroller.
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 32
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Features and Operation
l
tia
• “Port Trunking/Aggregation” on page 44
• “WAN Port” on page 45
en
• “Rate Control” on page 45
• “Protected Ports” on page 47
•
•
“Port Mirroring” on page 48
“IGMP Snooping” on page 49
fid
on
• “MLD Snooping” on page 50
• “IEEE 802.1x Port-Based Security” on page 50
C
• “CableChecker™” on page 56
• “Egress PCP Remarking” on page 57
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 33
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Quality of Service
Quality of Service
The Quality of Service (QoS) feature provides up to six internal queues per port to support six different traffic
classes (TC). The traffic classes can be programmed so that higher-priority TC in the switch experiences less
delay than lower-priority TC under congested conditions. This can be important in minimizing latency for delay-
sensitive traffic. The BCM53128 switches can assign the packet to one of the six egress transmit queues
according to information in:
• “Port-Based QoS” on page 35 (ingress port ID)
• “IEEE 802.1p QoS” on page 35
• “MACDA-Based QoS” on page 36
• “TOS/DSCP QoS” on page 36
The “TC Decision Tree” on page 36 decides which priority system is used based on three programmable register
bits detailed in Table 1: “TC Decision Tree Summary,” on page 36. The corresponding traffic class is then
l
tia
assigned to one of the six queues on a port-by-port basis.
en
fid
Port -Based Traffic Class Mapping
on
IEEE 802.1p Traffic Class Mapping
C
COS 5
Br
COS 4
BroadSync HD
traffic only
SP/WRR Algorithm
COS 3
Outgoing COS
PCP/DSCP
Queue
Packet Remarking
ID
COS 2 COS Mapping
COS 1
COS 0
Broadcom®
April 6, 2016 • 53128-DS07-R Page 34
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Quality of Service
The IMP (egress) port serves four queues (COS0–COS3) and the traffic generated by the Local Management
Packet Generator which generate management report messages back to CPU, e.g., the Time Sync TX time
stamp packets.
Each COS queue has its own dedicated counter to measure the buffer occupancy of the queue for congestion
management purpose. The IMP (ingress) port also has its own set of counters to measure the buffer occupancy
and the arrival rated to the traffic received from the port, but should be used only if it is configured as a regular
Ethernet port.
l
tia
All incoming frames are assigned to an egress transmit queue depending on their assigned TC. Each egress
transmit queue is a list specifying an order for packet transmission. The corresponding egress port transmits
en
packets from each of the queues according to a programmable algorithm, with the higher TC queues being given
greater access than the lower TC queues. Queue 0 is the lowest-TC queue.
fid
The COS0–COS3 queues are dedicated to non-BroadSync HD traffic only and as programmed in the TX Queue
Control register. The BCM53128 uses strict priority (SP) and weighted round robin (WRR) algorithm for COS0–
on
COS3 queues scheduling. The scheduling is configurable using the TX Queue Control register as one of
following combinations of SP and WRR; 4SP, 4WRR, 1SP and 3WRR, 2SP and 2WRR The WRR algorithm
C
weights for each queue can be programmed using the TX Queue Weight register.
om
Port-Based QoS
The TC of a packet received from an Ethernet (or IMP) port is assigned with the TC configured for the
dc
corresponding port. The mapping mechanism is globally enabled/disabled by programming the QoS Global
Control register; the mapping entry is also per-port configured using the Default IEEE 802.1Q Tag register.
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 35
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Quality of Service
MACDA-Based QoS
MACDA-Based QoS is enabled when the IEEE 802.1p QoS is disabled using the 802_1P_EN bit in the QoS
IEEE 802.1p Enable register. When using MACDA-based QoS, the destination address and VLAN ID is used
to index the ARL table as described in “Address Management” on page 57. The matching ARL entry contains a
3-bit TC field as shown in Table 7 on page 60. These bits set the MACDA-based TC for the frame. The MACDA-
based TC is assigned to the TC bits depending upon the result shown in Table 1. The TC for the frame is
mapped to one of the egress transmit queues base on the ingress port using the TC_To_COS Mapping register.
The TC bits for a learned ARL entry default to 0. To change the default, an ARL entry is written to the ARL table
as described in the “Writing an ARL Entry” on page 63. For more information about the egress transmit queues,
see “Egress Transmit Queues” on page 35.
TOS/DSCP QoS
The TC of a packet received from an Ethernet (or IMP) port is assigned with TC configured for the corresponding
l
IP TOS/DSCP. The mapping mechanism is per port enabled/disabled using QoS DiffServ Enable register, the
tia
mapping entries are globally configured by DiffServ Priority Map 0 register through DiffServ Priority Map 3
register. When disabled or the incoming packet is not of IPv4/v6 type, the TC resulted from this mapping is 000.
en
TC Decision Tree
fid
on
Non-BroadSync HD Frame
The TC decision tree determines which priority system is assigned to TC-mapping bits for the given frame. As
C
summarized above, the TC bits for the frame can be determined according to the ingress port-based TC, IEEE
802.1p TC, MACDA-based TC, DiffServ TC or MACSA-based TC information. The decision on which TC
om
mapping to use is based on the Port_QoS_En bit and the QoS_Layer_Sel bits of the QoS Global Control
register. Table 1 summarizes how these programmable bits affect the derived TC. The DiffServ and IEEE 802.1p
QoS TC are only available if the respective QoS is enabled, and the received packet has the appropriate
dc
tagging.
oa
Port_QoS QoS_Layer
_En _Sel Value of TC Bits
0 00 IEEE 802.1p TC mapping if available; otherwise, MACDA-based TC mapping.
0 01 DiffServ TC mapping if available; otherwise, TC = 000.
0 10 DiffServ TC mapping for IP frame; otherwise, IEEE 802.1p TC mapping if
available; otherwise, MACDA-based TC mapping.
0 11 The highest available TC of the following: IEEE 802.1p TC mapping, DiffServ
TC mapping, MACDA-based TC mapping or MACSA-based TC mapping.
1 00 MACSA-based TC mapping if available; otherwise, Port-based TC mapping.
1 01 MACSA-based TC mapping if available; otherwise, Port-based TC mapping.
1 10 MACSA-based TC mapping if available; otherwise, Port-based TC mapping.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 36
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Quality of Service
Port_QoS QoS_Layer
_En _Sel Value of TC Bits
1 11 The highest available TC of the following: Port-based TC mapping, MACSA-
based TC mapping, IEEE 802.1p TC mapping, DiffServ TC mapping or
MACDA-based TC mapping.
BroadSync HD Frame
For the BroadSync HD packet from an Ethernet port, the TC is determined directly from the explicit IEEE
802.1Q/P tag carried in the BroadSync HD packets (BroadSync HD packets are expected to always be tagged),
which is independent of Table 1 on page 36 TC mapping.
l
tia
2. The packet received is either VLAN tagged or priority tagged, with PCP = 4 or 5.
3. The MACDA is of multicast type and can be found through ARL table search.
en
fid
Note: BroadSync HD cannot be received from the IMP port.
on
Queuing Class (COS) Determination
C
The BCM53128 supports the COS mapping through the mapping mechanisms listed below.
om
• TC to COS mapping: The queuing class to forward a packet to an Ethernet port is mapped from the TC
determined for the packet. The mapping entries are globally configured using TC_To_COS Mapping
register.
dc
• BroadSync HD to COS mapping: The queuing class to forward a BroadSync HD packet to a BroadSync
HD-enabled Ethernet port is mapped from the PCP carried by the packet. PCP5 is mapped to COS5 and
oa
determined based on the reasons to forward (copy or trap) the packet to CPU. The mapping entries are
globally configured using CPU_To_COS Map register.
Note: When the BCM53128 is configured in the aggregation mode where the IMP operates as the
uplink port to the upstream network processor, the COS is decided from the TC based on the normal
packet classification flow. Otherwise, the IMP operates as the interface to the management CPU, and
the COS is decided based on the reasons for forwarding the packet to the CPU.
Table 2 shows the reasons for forwarding a packet to the CPU. The ToCPU COS values listed are the default
setting and are configurable. In order to prevent out of order delivery of the same packet flow to the CPU, the
COS for the mirroring and SA learning reasons must be programmed with a value that is lower than or equal to
the value of the other reasons.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 37
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Port-Based VLAN
l
tia
Exception Processing The packet is forwarded (trapped) through the IMP port for some 0
special processing even though the CPU is not the intended
en
destination.
fid
A packet could be forwarded to the CPU for more than one reason, therefore the COS selection is based on the
highest COS values among all the reasons for the packet.
on
C
Port-Based VLAN
om
The port-based virtual LAN (VLAN) feature partitions the switching ports into virtual private domains designated
on a per port basis. Data switching outside of the port’s private domain is not allowed. The BCM53128 provide
flexible VLAN configuration for each ingress (receiving) port.
dc
The port-based VLAN feature works as a filter, filtering out traffic destined to nonprivate domain ports. The
private domain ports are selected for each ingress port using Port-Based VLAN Control register. For each
oa
received packet, the ARL resolves the DA and obtains a forwarding vector (list of ports to which the frame will
be forwarded). The ARL then applies the VLAN filter to the forwarding vector, effectively masking out the
Br
nonprivate domain ports. The frame is only forwarded to those ports that meet the ARL table criteria, as well as
the port-based VLAN criteria.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 38
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet IEEE 802.1Q VLAN
l
• If the Ingress port is an ISP port in double-tag mode, the FWD_MODE indicates whether the packet
tia
forwarding should be based on VLAN membership or based on ARL flow.
en
The Untag map and Forward map include bit-wise representation of all the ports.
fid
on
Entry 0 FWD_MODE MSTP_Index UNTAG_MAP[8:0] FORWARD_ MAP[8 :0]
Entry 1
Entry 2
C
om
dc
oa
Entry 4095
Br
Note: When the IEEE 802.1Q feature is enabled, frames sent using the CPU must be tagged. If the
MII port is configured as a management port, then the tag is not stripped even if the untag bit is set.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 39
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Programming the VLAN Table
l
tia
Note: VLAN ID 0xFFF is reserved. However VID = 0xFFF can be forwarded if the VID_FFF_Fwding
bit is set in the Global VLAN Control 5 register.
en
3. Set bit [1:0] = 00 of the VLAN Table Read/Write/Clear Control register to indicate a write operation.
fid
4. Set bit 7 of the VLAN Table Read/Write/Clear Control register to 1, starting the write operation. This bit
returns to 0 when the write is complete.
on
The VLAN table can be read using the following steps:
C
1. Use the VLAN Table Address Index register to define from which VLAN group to read the data.
2. Set bit [1:0] = 01 of the VLAN Table Read/Write/Clear Control register to indicate a read operation.
om
3. Set bit 7 of the VLAN Table Read/Write/Clear Control register to 1 to start the read operation. This bit returns
to 0 when the read is complete.
dc
4. Read the VLAN Table Entry register to obtain the VLAN table entry information.
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 40
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Double-Tagging
Double-Tagging
The BCM53128 provide the double tagging feature, which is useful for ISP applications. When the ISP
aggregates incoming traffic from each individual customer, the extra tag (double tag) can provide an additional
layer of tagging to the existing IEEE 802.1Q VLAN. The ISP tag (extra tag) is a way of separating individual
customers from other customers. Using the IEEE 802.1Q VLAN tag, the individual customer’s traffic can be
separated.
When the double-tagging feature is enabled using the Global VLAN Control 4 register and the Enable IEEE
802.1Q (bit7) of the Global IEEE 802.1Q register, users can expect two VLAN tags in a frame: the tag close to
MAC_SA is the ISP tag, and the one following is the customer tag as shown in Figure 4.
l
tia
MAC_DA MAC_SA ISP_TAG Customer_ tag Ty/Len Payload
en
TPID VID
fid
The switch uses the ISP tag for ARL and VLAN table accesses and the customer tag as an IEEE 802.1Q tag.
on
There is a per chip programmable register Double Tagging TPID register for ISP tag (default = 9100'h). All ISP
tags will be qualified by this Tag Protocol ID (TPID) value.
C
When the double-tagging feature is enabled, all switch ports are separated into two groups, ISP ports and
customer ports. The BCM53128 performs the normalization process for all ingress frames, whether from the ISP
om
port or customer port. The normalization process is to insert an ISP tag, customer tag, or ISP + customer tag
(depending whether the ingress frame is without tags or with one tag) to allow all ingress frames with a double
tag. But if the ingress frames are with a double tag (ISP + customer tag), and the ISP tag TPID matches the
dc
TPID specified in the Double Tagging TPID register, it does not perform the normalization process. The ISP ports
are defined in the ISP Port Selection Portmap register. When the port (s) corresponding bit(s) are set, that port
oa
(s) should be connected ISP, and otherwise connected to customers. Each switch device can have multiple ports
assigned as ISP ports, and each ISP is uniquely identified using different VLAN forward maps or the port-based
VLAN feature.
Br
If the ingress frame is an untagged frame, the IEEE 802.1Q tag which can be configured by the Default IEEE
802.1Q Tag Register (Page 34h: Address 10h) will add to an incoming untagged frame. If the ingress frame is
tagged with the 802.1p tag, the default VID which can be configured by the Default IEEE 802.1Q Tag Register
(Page 34h: Address 10h) will be tagged the incoming 802.1p frame.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 41
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Double-Tagging
ISP Port
It is possible for ISP port to receive three different types of frames: untagged, ISP-tagged, and ISP+Customer-
tagged frames.
When the double-tagging feature is enabled and the received frame is untagged (or the TPID does not match
with ISP TPID specified in Double Tagging TPID register, the default ISP tag and customer tag are added, and
VLAN ID of ISP tag receives it from the port default VID. The frames are forwarded according to the VLAN table.
However, if the Port-Based VLAN Control register is enabled, the egress ports specified in the port-VLAN control
register override the VLAN table settings. If the received frame is ISP tagged (TPID matches with the ISP tag
VLAN ID specified in the double-tagging TPID register), the default customer tag (8100 + default PVID) is added,
the ISP VID is used to access the ARL table, and the ISP tag can be stripped on the way out according to the
untagged bit setting in the VLAN table. In addition, ISP port frame can forward to the destination port directly
based on forward port map of VLAN table by setting FWD_MODE bit to 1 of VLAN Table Entry register.
The VLAN ID is generated from the ISP tag, and TC is generated from the ingress frame outer tag.
l
tia
Customer Port
en
It is also possible for Customer port to receive two different types of frames: untagged and Customer-tagged
frames.
fid
When the double-tagging feature is enabled, all the ingress frames preform the normalization process to insert
on
a ISP tag or ISP + Customer tag (depending whether the ingress frame is without tags or with one tag) to allow
all ingress frames with a double tag. The VLAN ID of ISP tag receives it from the port default VID.
C
The VLAN ID is generated from the ISP tag, and the TC is generated from the ingress frame outer tag.
om
Note: It is illegal to strip out the ISP tag on the ISP egress port by using the untagged bit setting in
the VLAN table.
dc
Only the VLAN tagged or untagged packets are expected for the ingress of the customer ports. The
customer do not add the ISP tags.
oa
There are two possible traffic scenarios; one from a customer port to an ISP port, and one from an ISP port to
Br
a customer port.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 42
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Double-Tagging
However, if the ingress frame is with an 802.1p tag, the VID of 802.1p tag is changed by the VID of port default
VID tag after the customer port normalization process. The TC do not change.
Control traffic frames can be forwarded to the CPU first and then the CPU forwards to the ISP port if the switch
management mode is enabled and if the RESV_MCAST_FLOOD bit=0 in the Global VLAN Control 4 register.
In this case, the control frame adds an ISP tag by ingress port and forward to the CPU. The CPU can then
forward it to the ISP port with or without the ISP tag by using the egress-direct feature.
l
tia
Data traffic frame received from ISP port may or may not have ISP tag attached. When the received frame does
not have an ISP tag and customer tag, the ISP ingress port does a normalization process to insert double tags
en
(ISP + Customer tag), and the ISP tag VID is based on the port default VID tag. All ARL and VID table access
should be based on the new tag. The traffic is then forwarded to the customer port through proper VLAN
configuration. Usually, the software configures so the customer Egress port continuously removes the ISP tag.
However, it is based on how the untagged map is configured.
fid
on
Moreover, if the ingress frame is with an 802.1p tag, the VID of 802.1p tag is changed by the VID of port default
VID tag after the ISP port normalization process. The TC will not change.
C
The Control traffic is forwarded to the CPU when the switch management mode is enable and if the
RESV_MCAST_FLOOD bit=0 in the Global VLAN Control 4 register. The BCM53128 can also support multiple
om
ISP port configurations by enabled the FWD_MODE bit of VLAN Table Entry register. There are also two ways
to separate traffic that belongs to two different ISP customers:
dc
1. Each group (ISP, and customer) is assigned to the same VLAN group, so that traffic does not leak to other
ISP.
oa
2. Use the Port-based VLAN to separate traffic that belongs to a different ISP.
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 43
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Jumbo Frame Support
Port Trunking/Aggregation
l
tia
The BCM53128 support MAC-based trunking. The trunking feature allows up to four ports to be grouped
together as a single-link connection between two switch devices. This increases the effective bandwidth through
en
a link and provides redundancy. The BCM53128 allow up to two trunk groups. Trunks are composed of
predetermined ports and can be enabled using Trunking Group 0 register. Ports within a trunk group must be of
the same linked speed. By performing a dynamic hashing algorithm on the MAC address, each packet destined
fid
for the trunk is forwarded to one of the valid ports within the trunk group. This method has several key
advantages. By dynamically performing this function, the traffic patterns can be more balanced across the ports
on
within a trunk. In addition, the MAC-based algorithm provides dynamic failover. If a port within a trunking group
fails, the other port within the trunk automatically assumes all traffic designated for the trunk. It allows for a
C
seamless, automatic redundancy scheme. This hashing function can be performed on either the DA, SA, or DA/
SA, depending on the Trunk Hash Selector bit of MAC Trunking Control register.
om
Figure 5: Trunking
dc
Switch 1 Switch 2
oa
Port X Port 0
Frame Z Frame Y Frame X
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 44
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet WAN Port
WAN Port
The BCM53128 offers a programmable WAN port feature: it has a WAN Port Select register. Select a port as a
WAN port, then all of that port’s traffic is forwarded to the CPU port only. The non-WAN port traffic from all other
local ports does not flood to the WAN port.
Rate Control
l
tia
overabundance of broadcast or multicast traffic. This feature monitors the rate of ingressed traffic of
programmable packet types. If the rates of these packet types exceed the programmable maximum rate, the
en
packets are dropped. To enable the Broadcast Storm Suppression, pull the BC_SUPP_EN high during power-
on/reset. Alternatively, the feature can be activated in the Port Receive Rate Control register.
fid
The broadcast storm suppression mechanism works on a credit-based rate system that figuratively uses a
bucket to track the bandwidth of each port (see the figure below). Credit is continually added to the bucket at a
on
programmable bucket bit rate. Credit is decremented from the bucket whenever one of the programmable
packet types is ingressed at the port. If no packets are ingressed for a considerable length of time, the bucket
credit continues to increase up to a programmable-maximum bucket size. If a heavy burst of traffic is suddenly
C
ingressed at the port, the bucket credit becomes drained. When the bucket is emptied, incoming traffic is
constrained to the bucket bit rate (the rate at which credit is added to the bucket). At this point, excess packets
om
are either dropped or deterred using flow control, depending upon the Suppression Drop mode in the Ingress
Rate Control Configuration register.
dc
Accumulated Credit
Accumulated Credit
BUCKET 1 BUCKET 2
Broadcom®
April 6, 2016 • 53128-DS07-R Page 45
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Rate Control
Two-Bucket System
For added flexibility, the BCM53128 employ two buckets to track the rate of ingressed packets. Each of the two
buckets (Bucket 0 and Bucket 1) can be programmed to monitor different packet types. For example, Bucket 0
could monitor broadcast packets, while Bucket 1 monitors multicast packets. Multiple packet types can be
monitored by each bucket, and a packet type can be monitored by both buckets.
The rates of each bucket can be individually programmed (see “Bucket Bit Rate”). For example, the broadcast
packets of Bucket 0 could have a maximum rate of 3 Mbps, whereas the multicast packets of Bucket 1 could be
allowed up to 80 Mbps. The size of each bucket can be programmed using the Suppressed Packet Type Mask
of the Ingress Rate Control Configuration register. This determines the maximum credit than can accumulate in
each bucket. The Rate Count and Bucket Size can be individually programmed for each port, providing another
level of flexibility. Suppression control can be enabled or disabled on a per-port basis Ingress Rate Control
Configuration register. This system allows the user to control dual packet-type rates on a per-port basis.
l
Egress Rate Control
tia
The BCM53128 monitor the rate of egress traffic per port. Unlike the Ingress traffic rate control, the Egress Rate
en
Control provides only the per port rate control regardless of traffic types. This feature only uses one bucket to
track the rate of egressed packets. The Egress Rate Control feature can be enabled in the Port Egress Rate
fid
Control Configuration register and the output rate per port can be controlled by setting the bucket size and
Refresh Count in the same register. The Egress Rate Control feature only support absolute bit rate mode (Bit
Rate Mode = 0) and the bucket bit rate calculation is shown in Table 3.
on
C
om
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 46
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Protected Ports
Approximate Computed
Bit Rate Bucket Bit Rate Bucket Bit Rate
Rate Count (RC) Mode Link Speed Equation Values (As a function of RC)
l
tia
1–28 0 Any = (RC x 8 x 1M) / 125 64 KB, 128 KB, 192 KB,..., 1.792 MB
29–127 0 Any = (RC – 27) x 1M 2 MB, 3 MB, 4 MB,..., 100 MB
en
128–240 0 Any = (RC – 115) x 1M x 8 104 MB, 112 MB, 120 MB,..., 1000 MB
1–125 1 10 Mbps = (RC x 8 x 1M) / 100 0.08 MB, 0.16 MB, 0.24 MB,... 10 MB
1–125
1–125
1
1
100 Mbps
200 Mbps fid
= (RC x 8 x 1M) / 10
= (RC x 8 x 1M) / 5
0.8 MB, 1.6 MB, 2.4 MB,..., 100 MB
1.6 MB, 3.2 MB, 4.8 MB,..., 200 MB
on
1–125 1 1000 Mbps = RC x 8 x 1M 8 MB, 16 MB, 24 MB,... 1000 MB
Note: 1M represents 1 x 106.
C
The IMP port egress is configurable of rate limiting at packet-per-second (PPS) granularity, in addition to bits-
per-second (BPS) granularity. It can be configured using the IMP Port Egress Rate Control Configuration
dc
register.
oa
Protected Ports
Br
The Protected Ports feature allows certain ports to be designated as protected Protected Port Selection register.
All other ports are unprotected. Traffic between protected port group members is blocked. However, protected
ports are able to send traffic to unprotected ports. Unprotected ports can send traffic to any port. Several
applications that can benefit from protected ports:
• Aggregator: For example, all the available ports are designated as protected ports except a single
aggregator port. No traffic incoming to the protected ports is sent within the protected ports group. Any
flooded traffic is forwarded only to the aggregator port.
• To prevent nonsecured ports from monitoring important information on a server port, the server port and
nonsecured ports are designated as protected. The nonsecured ports will not be able to receive traffic from
the server port.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 47
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Port Mirroring
Port Mirroring
The BCM53128 support Port Mirroring, allowing ingress and/or egress traffic to be monitored by a single port
designated as the mirror capture port. The BCM53128 can be configured to mirror the ingress traffic and/or
egress traffic of any other port (s). Mirroring multiple ports is possible, but can create congestion at the mirror
capture port. Several filters are used to decrease congestion.
l
tia
Ingress mirror mask Ingress mirror filter Ingress mirror divider
en
Capture port
fid
on
All packets Egress mirror mask Egress mirror filter Egress mirror divider
C
om
Destination port(s)
Capture Port
dc
The capture port is capable of monitoring other specified ports. Frames transmitted and received at the other
oa
ports are forwarded to the Capture port according to the mirror filtering rules discussed below. The Capture port
is specified by the Capture Port bits of the Mirror Capture Control register.
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 48
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet IGMP Snooping
Any number of ingress/egress ports can be programmed to be mirrored, but bandwidth restrictions on the one-
mirror capture port should be taken into account to avoid congestion or packet loss.
where x is the 48-bit MAC address programmed into the Ingress Mirror MAC Address register. Likewise, the
Egress Mirror Control register is used to set the type of filtering that is applied to frames transmitted on the
egressed mirrored ports. The filtering MAC address is specified in the Egress Mirror MAC Address register.
l
tia
Packet Divider Filter
en
The IN_DIV_EN bit in the Ingress Mirror Control register allows further statistical sampling. When IN_DIV_EN
= 1, the receive frames passing the initial filter are divided by the value IN_MIRROR_DIV, which is a 10-bit value
stored in the Ingress Mirror Divider register. Only one out of every n frames is forwarded to the mirror capture
Similarly, the Egress Mirror Divide function is controlled by the Egress Mirror Control register and the Egress
om
Note: When multiple ingress ports have been enabled in the IN_MIRROR_MASK, the cumulative total
packet count received from all ingress ports is divided by the value of IN_MIRROR_DIV to deliver the
nth receive frame to the mirror capture port. Egressed frames are governed by the
oa
IGMP Snooping
The BCM53128 supports IP layer IGMP Snooping which includes IGMP unknown, query, report, and leave
messages using the High-Level Protocol Control register.
A frame with a value of 2 in the IP header protocol field and IGMP frames are forwarded to the CPU port. The
management CPU can then determine, from the IGMP control packets which port should participate in the
multigroup session. The management CPU proactively programs the multicast address in the ARL table or the
multiport address entries. If the IGMP_FWD_EN in the High-Level Protocol Control register is enabled, IGMP
frames will be trapped to the CPU port only.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 49
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet MLD Snooping
MLD Snooping
The BCM53128 supports IP layer MLD Snooping including MLD query, report, and done messages using the
High-Level Protocol Control register.
l
tia
forwarded to the CPU so it can send the frames to the authenticator server. Eventually, the CPU determines
whether the requestor is qualified or not based on its MAC_Source addresses, and frames are either accepted
en
or dropped. The per-port EAP can be programmed in the register.
BCM53128 provides three modes for implementing the IEEE 802.1x feature. Each mode can be selected by
setting the appropriate bits in the register.
fid
on
The Basic Mode (when EAP Mode = 00'b) is the standard mode, the EAP_BLK_MODE bit would be set before
authentication to block all of the incoming packets, upon authentication, the EAP_BLK_MODE bit would be
cleared to allow all the incoming packets. In this mode, the Source Address of incoming packets is not checked.
C
The second mode is Extended Mode (when EAP Mode = 10'b), where an extra filtering mechanism is
om
implemented after the port is authenticated. If the Source MAC address is unknown, the incoming packets would
be dropped and the unknown SA would not be learned. However if the incoming packet is IEEE 802.1x packet,
or special frames, the incoming packets will be forwarded. The definition of the Unknown SA in this case is when
dc
the switch cannot match the incoming Source MAC address to any of the addresses in ARL table, or the
incoming Source MAC address matches the address in ARL table, but the port number is mismatched. The third
oa
mode is Simplified Mode (when EAP Mode = 11'b). In this mode, the unknown Source MAC address packets
would be forwarded to CPU rather than dropped. Otherwise, it is same as the Extended Mode operation.
Br
Note: The BCM53128 checks only the destination addresses to qualify EAPOL frames. Ethernet type
fields, packet type fields, or non-IEEE 802.1Q frames are not checked.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 50
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet DoS Attack Prevention
l
tia
TCP_XMASScan Seq_Num = 0, FIN = 1, URG = 1, and PSH = 1 in a TCP header carried in an
unfragmented IP datagram or in the first fragment of a fragmented IP datagram
en
TCP_SYNFINScan SYN = 1 and FIN = 1 in a TCP header carried in an unfragmented IP datagram or in the
first fragment of a fragmented IP datagram
TCP_SYNError
TCP_ShortHDR
fid
SYN = 1, ACK = 0, and SRC_Port < 1024 in a TCP header carried in an unfragmented
IP datagram or in the first fragment of a fragmented IP datagram
The length of a TCP header carried in an unfragmented IP datagram or the first
on
fragment of a fragmented IP datagram is less than MIN_TCP_Header_Size
TCP_FragError The Fragment_Offset = 1 in any fragment of a fragmented IP datagram carrying part of
C
TCP data
ICMPv4_Fragment The ICMPv4 protocol data unit carried in a fragmented IPv4 datagram
om
ICMPv6_Fragment The ICMPv6 protocol data unit carried in a fragmented IPv6 datagram
ICMPv4_LongPing The ICMPv4 ping (echo request) protocol data unit carried in an unfragmented IPv4
datagram with its Total Length indicating a value greater than the MAX_ICMPv4_Size +
dc
datagram with its payload length indicating a value greater than the MAX_ICMPv6_Size
Br
• MIN_TCP_Header_Size is programmable between 0 and 255 bytes, inclusive. The default value is set to
20 bytes (TCP header without options).
• MAX_ICMPv4_Size is programmable between 0 and 9.6 KB, inclusive. The default value is set to 512
bytes.
• MIN_TCP_Header_Size is programmable between 0 and 9.6 KB, inclusive. The default value is set to 512
bytes.
• The default control setting for all types of DoS attacks is not to drop the DoS attack packet.
• It is globally configurable whether to perform the SA learning operation with the received packets of the
DoS attack type defined in the registers, regardless of the individual DoS attack types.
• Once a packet is detected as a DoS attack type that must be dropped, the packet is dropped regardless of
ARL forwarding decisions, but its forwarding based on mirroring function is not affected.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 51
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet MSTP Multiple Spanning Tree
Software Reset
The BCM53128 provide Software Resets. Software Resets can be triggered by programming the Software
Reset Control register.
Loop Detection
l
tia
The BCM53128 provide the Loop Detection feature for unmanaged environments (that is, those without a
en
management CPU). When the Loop Detection feature is enabled and activated, the switch generates Broadcom
proprietary tag frames (Loop Discovery Frames) at a programmed interval, and when it detects a loop, it gives
a loop detected warning with a blinking LED or with a sound produced by a speaker. This feature does not repair
the loop, but only issues a warning.
fid
on
The Discovery Frame is a broadcast frame, and the switch ensures the forwarding of the frame by providing
special priority for the frame by giving it a higher priority over other broadcast frames, assigning highest queue
automatically and overwriting the pause condition. The control/options over this feature are provided beginning
C
The Loop Discovery frame uses a default multicast address (01-80-C2-00-00-01) in the Loop Detect Source
Address register as a source address. Using a multicast address as a source address is illegal in the IEEE
standard; however, since this is only intended to be used in the ROBO environment only, it should be allowed.
dc
This address scheme is used to avoid a possible disruption in forwarding decision by using a regular random
Source Address.
oa
The Loop Discovery frame also uses the Module ID 0 register along with the Module ID 1 register to identify the
origin of the Discovery frame. These registers are used to define a Source Chip ID and Source Port ID to
Br
The implementation example for the Loop Detect feature is described in the Layout and Design Guide
(document number 53128-AN1xx-R).
Broadcom®
April 6, 2016 • 53128-DS07-R Page 52
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet BroadSync HD
BroadSync HD
BroadSync HD is the enhancement to IEEE 802.3 MAC and IEEE 802.1D bridges to support the kind of low-
latency isochronous services and guaranteed quality of service (QoS) that is required for many consumer
electronics applications.
The BCM53128 provides the BroadSync HD feature through the BroadSync HD Enable Control register. The
BCM53128 always forwards BPDU, MRP packets to CPU for BroadSync HD applications, and handles the IEEE
802.1 Time Sync Protocol.
The BCM53128 can identify a packet as a BroadSync HD packet if the MAC DA matches a MAC address in the
ARL table. The PCP equals four or five and the ingress port is BroadSync HD-enabled. There are two dedicated
queues for BroadSync HD Class 5 and Class 4 traffic per egress port. BCM53128 enhances shaping and
scheduling for BroadSync HD operation.
l
tia
Time Base and Slot Generation
en
For BroadSync HD applications, the BCM53128 maintains a time base (32-bit counter) running at a granularity
of 1 ns, which can be adjusted by CPU for synchronization with the BroadSync HD time master unit (Switch or
Host) through the IEEE 802.1 Time Synchronized (TS) protocol (to be standardized). The TS protocol is
•
fid
implemented by the CPU which requires the BCM53128 to perform the following operations.
A received TS protocol packet is time stamped at the ingress port when the first byte (of MACDA) arrives,
on
and is transferred along with the receiving time stamp to the CPU.
• A TS protocol packet initiated by the CPU (to be transmitted at an egress port) is time stamped at the
C
egress port when the first byte (of MACDA) is transmitted, and the transmit time stamp recorded at the
egress port is reported back to CPU.
om
It is required that the time synchronization point peers over an Ethernet link is chosen such that the link delay
is perceived as constant, and the protocol exchange occurs at least every 10 ms over every link.
dc
The CPU may be required to speed up or slow down the time base maintained in BCM53128 based on the TS
protocol execution. The BCM53128 provides the time base adjustment mechanism for graceful time changes
oa
In addition, the BCM53128 maintains counter mechanism to generate time Slot for BroadSync HD traffic
scheduling.
• A Slot is defined as 125 s, it is used to pace the BroadSync HD Class 5 traffic which has tight jitter
requirements;
• A MacroSlot is configurable as 1 ms, 2 ms, or 4 ms (binary number of Slots) using the BroadSync HD Slot
Adjustment register. It is used to pace the BroadSync HD Class 4 traffic which has relaxed jitter
requirements.
The CPU may be required to make the Slot wider or narrower based on the TS protocol execution. The
BCM53128 provides the Slot adjustment mechanism for graceful Slot width changes based on CPU
instructions.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 53
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet BroadSync HD
Shaper
COS5
A
SP/
Shaper WRR
COS4
B
COS3
l
Shaper
tia
COS2 SP/WRR C
A
COS1
en
COS0
priority to be scheduled for transmission, if it is allowed by the Shaper A that operates as follows.
• The Shaper A is an emulation of fixed bandwidth pipe for Class 5 BroadSync HD traffic with tight jitter
om
adaptively to handle interference from non-BroadSync HD or Class 4 BroadSync HD traffic. Note that the
preamble and IPG transmission are not taken into account for the pipe operation.
• Tunable parameters for the Shaper A are listed as follows:
dc
– MaxAVPacketSize indicates the maximum packet size allowed on a BroadSync HD-enabled port. It is a
global setting using the BroadSync HD Max Packet Size register.
oa
– Class5_BW indicates the reserved bandwidth for Class 5 BroadSync HD traffic at granularity of Byte
(per Slot, 125 s). It is a per-port setting using BroadSync HD Class 5 Bandwidth Control register.
Br
– Class5_Window indicates the jitter control for Class 5 BroadSync HD transmission. It is a per-port
setting using BroadSync HD Class 5 Bandwidth Control register.
• At the start of each Slot,
– Reset the credit in the shaping bucket to Class5_BW, if the queue is empty.
– Reset the credit in the shaping bucket to Class5_BW, if the queue is not empty and Class5_Window is
set to 0.
– Reset the credit in the shaping bucket to Class5_BW, if the queue is not empty, Class5_Window is set
to 1, and the credit remained in the shaping bucket is greater than MaxAVPacketSize.
– Add Class5_BW to the credit in the shaping bucket, if the queue is not empty, Class5_Window is set to
1, and the credit remained in the shaping bucket is less than or equal to MaxAVPacketSize.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 54
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet BroadSync HD
• The credit in the shaping bucket decrements for every byte transmitted for the Class 5 BroadSync HD
traffic through the port.
– If the credit reaches 0 before the end of the current Slot while transmitting a Class 5 BroadSync HD
packet, the ongoing packet transmission is not interrupted, and the credit stays at 0 until being reset at
the start of next Slot.
– The credit decrements resumes at the next Slot if the ongoing transmission continues.
As long as the credits in the shaping bucket is greater than 0, a Class 5 BroadSync HD packet is allowed to be
scheduled for transmission.
l
operates as follows.
tia
• The Shaper B is an emulation of fixed bandwidth pipe for Class 4 BroadSync HD traffic with relaxed jitter
adaptively to handle interference from non-BroadSync HD or Class 5 BroadSync HD traffic. It also
en
statistically levels the Class 4 BroadSync HD transmission bursts towards the next hop switch to reduce the
buffering requirements, by using Slot (instead of MacroSlot) as the pacing mechanism. The preamble and
• fid
IPG transmission are not accounted for in the pipe operation.
Tunable parameters for the Shaper B are listed as follows:
on
– MacroSlot_Period indicates the periodic cycle time to shape the Class 4 traffic. It is a global setting
using BroadSync HD Slot Adjustment register to indicate 1 ms, 2 ms, or 4 ms.
C
– MaxAVPacketSize indicates the maximum packet size allowed on a BroadSync HD-enabled port. It is a
global setting. (same as for BroadSync HD Class 5 setting)
om
– Class4_BW indicates the evenly divided bandwidth share per Slot, which is derived from dividing the
reserved bandwidth for Class 4 BroadSync HD traffic at granularity of Byte (per MacroSlot) by the
number of Slots within a MacroSlot. It is a per-port setting using BroadSync HD Class 4 Bandwidth
dc
Control register.
• At the start of each Slot,
oa
– If the Slot is the first one for the current MacroSlot, reset the credit bucket to
Class4_BW+MaxAVPacketSize; (MaxAVPacketSize is used as the deficit base)
Br
As long as the credits in the shaping bucket is greater than or equal to MaxAVPacketSize, a Class 4 BroadSync
HD packet is allowed to be scheduled for transmission.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 55
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet CableChecker™
CableChecker™
The BCM53128 provide the cable diagnostic capabilities for unmanaged environments. The actual cable
diagnostic feature lies in the PHY functional block. The BCM53128 devices let the user monitor the cable
diagnostic results through LED display by setting the appropriate bits in the LED refresh registers.
The BCM53128 uses the existing LED display (which is already assigned to various functions) to indicate the
cable diagnostic results. The table below shows the cable diagnostic result output for each LED function where
1 and 0 represent the LED indication pin status; 1 indicates active and 0 indicates nonactive.
Note:
• The best way for a user to visualize the cable diagnostic test result through LEDs is to bring out
the LINK status bit to the LED display along with other functions to be displayed per port. In this
way, the user can observe the cable diagnostic result from the flashing (or lit) LED of other
l
functions while LINK LED is off. The switch will turn off the LINK status LED during the cable
tia
diagnostic mode.
• The cable diagnostic is expected to be most effective when the user cannot establish the link with
en
the partner.
fid
Table 5: Cable Diagnostic Output
on
LED Function in LED Function Register Cable Diagnostic Output
C
Reserved –
LNK No output during the cable diagnostic mode
om
DPX 1: Passed
0: Failed
ACT 1: Passed
dc
0: Failed
COL 1: Passed
oa
0: Failed
LNK/ACT No output during the cable diagnostic mode
Br
DPX/COL 1: Passed
0: Failed
SPD10M 1: Failed
0: Passed
SPD100M In LED function0 map
1: Cable diagnostic passed
0: Failed
In LED function1 map
1: Cable diagnostic failed
0: Passed
SPD1G 1: Passed
0: Failed
Broadcom®
April 6, 2016 • 53128-DS07-R Page 56
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Egress PCP Remarking
l
0: Failed
tia
Reserved –
en
Egress PCP Remarking
fid
The BCM53128 provides an egress PCP remarking feature of the outer tag at each egress port which includes
on
the PCP field modification based on the internal generated TC. The Egress PCP remarking process applies to
Ethernet ports only and can be enabled by Traffic Remarking Control register. Each Ethernet port can provide
C
a 8-entry mapping table indexed by TC to map to the {New PCP} field for the outgoing packet using Egress Non-
BroadSync HD Packet TC to PCP Mapping register.
om
Note: For the BroadSync HD-enabled egress port, the egress PCP for the non-BroadSync HD class
of traffic must never be programmed with values of 100 and 101.
dc
oa
Address Management
Br
The address management unit of the BCM53128 provides wire speed learning and recognition functions. The
address table supports 4K unicast/multicast addresses using on-chip memory.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 57
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Address Management
l
tia
Hash Index [9:0]
en
4K ARL Table
000000 bin0 bin1 Four bins per index
bin2 bin3
fid
on
Unicast Address
Multicast Address
dc
The index to the address table is computed using a hash algorithm based on the MAC address and the VLAN
Br
ID (VID) if enabled.
Note: In the Enable IEEE 802.1Q and VLAN Learning Mode both the MAC address and the VLAN ID
(VID) are used to compute the hashed index. See “IEEE 802.1Q VLAN” on page 39 for more information.
The hash algorithm uses the CRC-CCITT polynomial. The input to the hash is reduced to a 16-bit CRC hash
value. Bits[9:0] of the hash are used as an index to the approximately 4K locations of the address table.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 58
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Address Management
Address Learning
Information is gathered from received unicast packets and learned or stored for the future purpose of forwarding
frames addressed to the receiving port. During the receive process, the frame information (such as the Source
Address [SA] and VID) is saved until completion of the packet. An entry is created in the ARL table memory if
the following conditions are met:
• The packet has been received without error.
• The packet is of legal length.
• The packet has a unicast SA.
• If using IEEE 802.1Q VLAN, the packet is from an SA that belongs to the indicated VLAN domain.
• The packet does not have a reserved multicast destination address. The Multicast Learning bit of the
Reserved Multicast Control register can disable this condition.
• There is free space available in memory to which the hashed index points.
When unicast packets are dynamically learned, the VALID bit is set, the AGE bit is set, and the STATIC bit is
l
tia
cleared in the entry. See Table 7 on page 60 for a description of a unicast ARL entry.
Multicast addresses are not learned into the ARL table, but must be written using one of the “Programming
en
Interfaces” on page 95. See “Writing an ARL Entry” on page 63 and Table 9 on page 61 for more information.
destination address (DA) and VID of the received packet are used to calculate a hashed index to the ARL table.
The hashed index key is used by the address resolution function to locate a matching ARL entry. The frame is
om
assigned a destination based on the forward field (PORTID or FWD_PRT_MAP) of the ARL entry. If the address
resolution function fails to return a matching ARL entry, the packet is flooded to all appropriate ports. The
following two sections describe the specifics of address resolution and frame forwarding for “Unicast Addresses”
dc
Unicast Addresses
Br
Frames containing a unicast destination address are assigned a forwarding field corresponding to a single port.
Listed below is the unicast address-resolution algorithm:
• If the multiport addressing feature is enabled and the DA matches one of the programmed multiport
addresses, then it is forwarded accordingly. See “Using the Multiport Addresses” on page 65.
• The lower 10 bits of the hashed index key are used as a pointer into the address table memory, and the
entry is retrieved.
• If the valid indicator is set and the address stored at one of the locations matches the index key of the
packet received, the forwarding field port ID is assigned to the destination port of the packet.
– If the destination port matches the source port, the packet is not forwarded.
• If the address resolution function fails to return a matching valid ARL entry and the unicast DLF forward bit
is set, the frame is forwarded according to the port map in the Unicast Lookup Failed Forward Map register.
• Otherwise, the packet is flooded to all appropriate ports.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 59
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Address Management
See Table 6 for definitions of the unicast index key and the assigned forwarding field. The forwarding field for a
unicast packet is the port ID contained in the matching ARL entry. See Table 7 for a description of a unicast ARL
entry.
Field Description
VID VLAN ID associated with the MAC address.
l
VALID 1 = Entry is valid.
tia
0 = Entry is empty.
STATIC 1 = Entry is static—Should not be aged out and is written and updated by software.
en
0 = Entry is dynamically learned and aged.
AGE 1 = Entry has been accessed or learned since last aging process.
TC fid
0 = Entry has not been accessed since last aging process.
MACDA-based TC (only valid for static entries). See “Quality of Service” on page 34 for
on
more information.
Reserved –
C
Note: The fields described in Table 7 can be written using the ARL Table MAC/VID Entry N (N=0-3)
register and the ARL Table Data Entry N (N = 0–3) register.
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 60
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Address Management
Multicast Addresses
Frames containing a multicast destination address are assigned a forwarding field corresponding to multiple
ports specified in a port map. Multicast frames are assigned a forwarding field corresponding to a multicast port
map from the matching ARL entry (see “Address Management” on page 57). If no matching ARL entry is found,
the packet is flooded to all appropriate ports. Listed below is the multicast address resolution algorithm:
• If the DA matches one of the globally assigned reserved addresses between 01-80-C2-00-00-00 and 01-
80-C2-00-00-2F, the packet is handled as described in Table 10 on page 62.
• If the multiport addressing feature is enabled and the DA matches one of the programmed Multiport
Addresses, then it is forwarded accordingly. See “Using the Multiport Addresses” on page 65.
• Otherwise, the lower 10 bits of the hashed index key are used as a pointer into the ARL table memory, and
the entry is retrieved.
• If the valid indicator is set, and the address stored at the entry locations matches the index key of the
packet received, the forwarding field port map is assigned to the destination port of the packet.
• If the address resolution function fails to return a matching valid ARL entry and the multicast DLF forward
l
tia
bit is set (see “Address Management” on page 57), the frame is forwarded according to the port map in the
Multicast Lookup Failed Forward Map register.
en
• Otherwise, all other multicast and broadcast packets are flooded to all appropriate ports.
See Table 8 for definitions of the multicast index key and the assigned forwarding field. The forwarding field for
fid
a multicast packet is the port map contained in the matching ARL entry. See Table 9 for a description of a
multicast ARL entry. See “Accessing the ARL Table Entries” on page 63 for more information.
on
Table 8: Multicast Forward Field Definitions
C
0 Multicast DA FWD_PRT_MAP
oa
Field Description
VID VLAN ID associated with the MAC address.
VALID 1 = Entry is valid.
0 = Entry is empty.
STATIC 1 = Entry is static—This entry is not aged out and is written and updated by software.
0 = Not defined.
AGE The AGE bit is ignored for static ARL table entries.
TC MACDA-based TC (only valid for static entries). See “Quality of Service” on page 34 for more
information.
Reserved –
Broadcom®
April 6, 2016 • 53128-DS07-R Page 61
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Address Management
Field Description
FWD_PRT_MAP Multicast forwarding mask.
[8:0] 1 = Forwarding enable.
0 = Forwarding disable.
MAC ADDRESS 48-bit MAC address.
Note: The fields described in Table 9 on page 61 can be written using the ARL Table MAC/VID Entry N
(N = 0-3) register and the ARL Table Data Entry N (N = 0–3) register.
l
tia
Reserved Multicast Addresses
Table 10 summarizes the actions taken for specific reserved multicast addresses. Packets identified with these
en
destination addresses are handled uniquely since they are designed for special functions. Bits[4:0] of the
Reserved Multicast Control register program groups of these addresses to be dropped or forwarded. Writing to
fid
these bits can change the default action of Unmanaged mode summarized in the following table.
on
Table 10: Behavior for Reserved Multicast Addresses
MAC Address Function Specified Action Mode Action Managed Mode Action
01-80-C2-00-00-00 Bridge group Drop frame Flood frame Forward frame to IMP only
om
address
01-80-C2-00-00-01 IEEE 802.3x MAC Drop frame Receive MAC Receive MAC determines
control frame determines if it is a if valid pause frame and
dc
01-80-C2-00-00-03 IEEE 802.1x port- Drop frame Drop frame Forward frame to
based network management port only
access control
01-80-C2-00-00-04– Reserved Drop frame Drop frame Forward frame to
01-80-C2-00-00-0F management port only
01-80-C2-00-00-10 All LANs bridge Forward frame Flood frame Forward frame to all ports
management group including management
address port
01-80-C2-00-00-11– Reserved Forward frame Flood frame Forward frame to all ports
01-80-C2-00-00-1F excluding management
port
01-80-C2-00-00-20 GMRP address Forward frame Flood frame Forward frame to all ports
excluding management
port
Broadcom®
April 6, 2016 • 53128-DS07-R Page 62
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Address Management
l
Interfaces” on page 95. These entries can contain either unicast or multicast destinations. The entries are
tia
created by writing the entry location using the Page 05h: ARL/VTBL Access registers and setting the STATIC
bit. The AGE bit is ignored. Static entries do not automatically learn MAC addresses or port associations and
en
are not aged out by the automatic internal aging process. See “Writing an ARL Entry” on page 63 for details.
MAC address. The second mechanism searches the ARL table sequentially, returning all valid entries.
om
2. Set the VLAN ID in the VLAN ID Index register. This is necessary only if the VID is used in the index key.
3. Set the ARL_R/W bit to 1 in the ARL Table Read/Write Control register.
Br
4. Set the START/DONE bit to 1 in the ARL Table Read/Write Control register. This initiates the read operation.
The MAC address and VID are used to calculate the hashed index to the ARL table. The matching ARL entry is
read. The contents of entry are stored in the ARL Table MAC/VID Entry N (N = 0-3) register and the ARL Table
Data Entry N (N = 0–3) register.
Entries that do not have the VALID bit set should be ignored. The contents of the MAC/VID registers must be
compared against the known MAC address and VID. Entries that do not match may be a valid entry, but are not
a valid match for the index key. All other read entries are considered valid ARL entries.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 63
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Address Management
1. Follow the steps in “Reading an ARL Entry” on page 63 to read the ARL entry matching the MAC address
and VID that are written to the table.
2. Keep the values that remain from the previous read operation.
• MAC Address Index register
• VLAN ID Index register
• ARL Table MAC/VID Entry N (N = 0-3) register
• ARL Table Data Entry N (N = 0–3) register
3. Modify the correct entry as necessary. Set the STATIC bit so that the entry is not aged out.
4. Set the ARL_R/W bit to 0 in the ARL Table Read/Write Control register.
5. Set the START/DONE bit to 1 in the ARL Table Read/Write Control register. This initiates the write operation.
The MAC address and VID are used to calculate the hashed index to the ARL table.
l
tia
Searching the ARL Table
The second method to access the ARL table is through the ARL search control. The entire ARL table is searched
en
sequentially, revealing each valid ARL entry. Setting the Start/Done bit in the ARL Table Search Control register
begins the search from the top of the ARL table. This bit is cleared when the search is complete. During the ARL
fid
search, the Search Valid bit indicates when a found valid entry is available in the ARL Table Search MAC/VID
Result N (N = 0–1) register and the ARL Table Search Data Result N (N = 0–1) register. When the host reads
on
the contents of the ARL Table Search Data Result 1 register which located in Page 05h: Address 78h, the search
process automatically continues to seek the next valid entry in the address table. Invalid address entries are
C
skipped, providing the host with an efficient way of searching the entire address table.
The ARL search and ARL read/write operations execute in parallel with other register accesses. This allows the
om
host processor to start a read, write, or search process and then read/write other registers, returning periodically
to see if the operation has completed.
dc
Address Aging
oa
The aging process periodically removes dynamically learned addresses from the ARL table. When an ARL entry
is learned or referenced, the AGE bit is set to 1. The aging process scans the ARL table at regular intervals,
Br
aging out entries not accessed during the previous one to two aging intervals. The aging interval is
programmable using the Aging Enable and AGE TIME bit in the Aging Time Control register.
Entries that are written and updated using one of the “Programming Interfaces” on page 95, should have the
STATIC bit set. Thus, they are not affected by the aging process.
For each entry in the ARL table, the aging process performs the following:
• If the VALID bit is not set, no further action is required.
• If the VALID bit is set and the STATIC is set, no further action is required.
• If the VALID bit is set, the STATIC bit is not set, and the AGE bit is set, then clear the AGE bit. This keeps
the entry in the table, but marks it so that it is removed if it is not accessed before the subsequent aging
scan.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 64
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Power Savings Modes
• If the VALID bit is set, the STATIC bit is not set, and the AGE bit is reset, then reset the VALID bit. This
effectively deletes the entry from the ARL table. The entry has been aged out.
Fast Aging
The fast aging function can be enabled per port or VLAN ID:
The port fast aging can be enabled by setting the Start/Done of the Fast-Aging Control register, the Fast Age All
Ports bit of the Fast-Aging Port Control register, and the appropriate port bits in the Fast-Aging Port Control
register.
The VLAN ID fast aging can be enabled by setting the Start/Done of the Fast-Aging Control register, the Fast
Age All VID bit of the Fast-Aging VID Control register, and the appropriate VLAN ID bits of the Fast-Aging VID
Control register.
l
Using the Multiport Addresses
tia
The Multiport Address N (N = 0–5) register can be used to forward a given MAC address and Ether Type to
en
multiple ports. Packets with a corresponding DA are forwarded to the port map contained in the Multiport Vector
N (N = 0–5) register. These registers must be controlled using Multiport Control register.
fid
Note: The Multiport Address N (N = 0–5) register is the only mechanism for TS Protocol qualification for
on
the BroadSync HD application. It can be enabled by Multiport Control register.
C
om
are implemented without any external CPU requirement. The various power savings modes are:
• Auto Power Down Mode: This is a stand alone PHY feature which is enabled by a register bit setting. The
oa
PHY shuts off the analog portion of the circuitry when cable is not connected or the link partner power is
down.
Br
• Energy Efficient Ethernet (EEE) Mode: Energy Efficient Ethernet is IEEE802.1az, an extension of the
IEEE802.3 standard. IEEE defines support for the PHY to operate in Low Power Idle (LPI) mode. When
enabled, this mode supports QUIET times during low link utilization, allowing the both sides of link to
disable portions of each PHY's operating circuitry and save power.
• Short Cable Mode (Green Mode): This mode requires the CPU to run the cable diagnostics, and the CPU
enables power savings mode based on the cable length measurement result.
• Deep Green Mode: This mode also requires the CPU to recognize the long period power down time and
shut off the PHY power and the PLL to the PHY core. The BCM53128 enters normal operation and
establishes a link when a signal is detected at the PHY input.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 65
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Power Savings Modes
l
tia
Energy Efficient Ethernet power savings mode saves PHY consumption while the link is up but when extended
idle periods may exist between packet traffic. In EEE power savings mode PHY power consumption is scalable
en
to the actual bandwidth utilization. The PHY can go in to “Quiet” mode (low-power idle mode) when there is no
data to be transmitted. This feature is based on the latest IEEE 802.3az standard. The EEE supporting capability
of the link partner is a must for this feature to work, and the discovery of the capability is during auto-negotiation
fid
through Link Layer Discovery Protocol (LLDP). This EEE feature is an embedded PHY feature and no external
CPU is required.
on
In this mode, the MAC determines when to enter low power mode by examining the state of the transmit queues
C
associated with each MAC. Four simple adjustments (settings) are used to trigger (optimize) the behavior of
EEE control policy. These adjustments are:
om
The two-way communication between the PHY and its link partner is required for the PHY to achieve the power
savings on both sides. The transmit PHY sends a sleep symbol to the link partner, and the link partner enters
Br
low power state. When the transmit PHY sends a wake symbol, the regular packet transfer mode resumes. For
details on how the mode works and how to set up the conditions, please refer to the Layout and Design Guide
(document number 53128-AN1xx-R).
Broadcom®
April 6, 2016 • 53128-DS07-R Page 66
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Power Savings Modes
l
tia
en
fid
on
C
om
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 67
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet System Functional Blocks
l
tia
Each of these is discussed in more detail in the following sections.
en
Media Access Controller
The BCM53128 contains six 10/100/1000 GMACs, and one MAC.
fid
on
The MAC automatically selects the appropriate speed (CSMA/CD or full-duplex) based on the PHY auto-
C
negotiation result. In full-duplex mode, IEEE 802.3x PAUSE frame-based flow control is also determined
through auto-negotiation. The MAC is IEEE 802.3-, IEEE 802.3u-, and IEEE 802.3x-compliant.
om
Receive Function
dc
The MAC initiates frame reception following the assertion of receive data valid indication from the physical layer.
The MAC monitors the frame for the following error conditions:
oa
• CRC error
• Long frame error if frame is greater than the standard maximum frame size or 9,720 bytes for jumbo-
enabled ports.
Note: Frames longer than standard max frame size which configured using Standard Max Frame Size
register are considered oversized frames. When jumbo-frame mode is enabled, only the frames longer
than 9,720 bytes are bad frames and dropped.
If no errors are detected, the frame is processed by the switch controller. Frames with errors are discarded.
Receive functions can be disabled by writing to Port Traffic Control register.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 68
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Media Access Controller
Transmit Function
Frame transmission begins with the switch controller queuing a frame to the MAC transmitter. The frame data
is transmitted as received from the switch controller. The transmit controller is responsible for preamble
insertion, carrier deferral, collision backoff, and inter-packet gap enforcement.
In 10/100 Mbps half-duplex mode, when a frame is queued for transmission, the transmit controller behaves as
specified by the IEEE 802.3 requirements for frame deferral. Following deferral, the transmitter adds 8 bytes of
preamble and SFD to the frame data received from the switch controller. If, during frame transmission, a collision
is observed and the collision window timer has not expired, the transmit controller asserts jam and then executes
the backoff algorithm. The frame is retransmitted when appropriate. On the 16th consecutive collision, the
backoff algorithm starts over at the initial state, the collision counter is reset and attempts to transmit the current
frame continue. Following a late collision, the frame is aborted, and the switch controller is allowed to queue the
next frame for transmission.
While in full-duplex mode, the transmit controller ignores carrier activity and collision indication. Transmission
l
begins after the switch controller queues the frame, and the 96-bit times of IPG have been observed. Transmit
tia
functions can be disabled by writing to Port Traffic Control register.
en
Flow Control
fid
The BCM53128 implement an intelligent flow-control algorithm to minimize the system impact resulting from
traffic congestion. Buffer memory allocation is adaptive to the status of each port’s speed and duplex mode,
on
providing an optimal balance between flow management and per-port memory depth. The BCM53128 initiate
flow control in response to buffer memory conditions on a per-port basis.
C
The MACs are capable of flow control in both full-and half-duplex modes.
om
In 10/100 half-duplex mode, the MAC back-pressures a receiving port by transmitting a 96-bit time jam packet
to the port. A single jam packet is asserted for each received packet for the duration of the time the port is in the
flow-control state.
oa
Br
When the switch controller requests flow control, the transmit controller transmits a MAC control PAUSE frame
with the pause time set to maximum. When the condition that caused the flow control state is no longer present,
a second MAC control PAUSE frame is sent with the pause time field set to 0.
The flow control capabilities of the BCM53128 are enabled based on the results of auto-negotiation and the state
of the ENFDXFLOW and ENHDXFLOW control signals loaded during reset. Flow control in half-duplex mode
is independent of the state of the link partner flow control (IEEE 802.3x) capability. See Table 11 for detailed
information.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 69
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Integrated 10/100/1000 PHY
l
tia
There are eight integrated PHY blocks in the BCM53128. For more information see “Copper Interface” on
en
page 92. The following sections describe the operations of the internal PHY block.
Encoder
fid
on
There are eight integrated PHY blocks in the BCM53128. The PHY is the Ethernet transceiver that appropriately
processes data presented by the MAC into an analog data stream to be transmitted at the MDI interface, which
performs the reverse process on data received at the MDI interface. The registers of the PHY are read using
C
the “Programming Interfaces” on page 95. The following sections describe the operations of the internal PHY
block. For more information, see “Copper Interface” on page 92.
om
In 10BASE-T mode, Manchester encoding is performed on the data stream that is transmitted on the twisted-
pair cable. The multimode transmit digital-to-analog converter (DAC) performs preequalization for 100m of
dc
Category 3 cabling.
In 100BASE-TX mode, the BCM53128 transmits a continuous data stream over the twisted-pair cable. The
oa
transmit packet is encapsulated by replacing the first two 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. The transmitter
Br
repeatedly sends the idle code group between packets. The encoded data stream is serialized and then
scrambled by the stream cipher block, as described in “Stream Cipher” on page 73. The scrambled data is then
encoded into MLT3 signal levels.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 70
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Integrated 10/100/1000 PHY
In 1000BASE-T mode, the BCM53128 simultaneously transmits and receives a continuous data stream on all
4 pairs of the Category 5 cable. Byte-wide data from the transmit data pins is scrambled when the transmit
enable is asserted, and the trellis (a PAM5 symbol on each of the four twisted-pairs) is encoded into a four-
dimensional code group and then inserted into the transmit data stream. The transmit packet is encapsulated
by replacing the first 2 bytes of the preamble with a start-of-stream delimiter, and appending an end-of-stream
delimiter to the end of the packet. When the transmit error input is asserted during a packet transmission, a
transmit error code group is sent in place of the corresponding data code group. The transmitter sends idle code
groups or carrier extend code groups between packets. Carrier extension is used by the MAC to separate
packets within a multiple-packet burst and is indicated by asserting the transmit error signal and placing 0Fh on
the transmit data pins while the transmit enable is low. A carrier extend error is indicated by replacing the
transmit data input with 1Fh during carrier extension.
The encoding complies with IEEE standard IEEE 802.3ab and is fully compatible with previous versions of the
Broadcom 1000BASE-T PHYs.
l
Decoder
tia
In 10BASE-T mode, Manchester decoding is performed on the data stream.
en
In 100BASE-TX mode, following equalization and clock recovery, the receive data stream is converted from
MLT3 to serial nonreturn-to-zero (NRZ) data. The NRZ data is descrambled by the stream cipher block, as
fid
described later in this document. The descrambled data is then deserialized and aligned into 5-bit code groups.
The 5-bit code groups are decoded into 4-bit data nibbles. The start-of-stream delimiter is replaced with
on
preamble nibbles, and the end-of-stream delimiter and idle codes are replaced with 0h. The decoded data is
driven onto the MII receive data pins. When an invalid code group is detected in the data stream, the BCM53128
C
asserts the MII receive error (RX_ER) signal. RX_ER is also asserted when the link fails, or when the
descrambler loses lock during packet reception.
om
• Descrambled
• Translated back into byte-wide data
oa
The start-of-stream delimiter is replaced with preamble bytes, and the end-of-stream delimiter and idle codes
are replaced with 00h. Carrier extend codes are replaced with 0Fh or 1Fh. Decoding complies with IEEE
Br
standard IEEE 802.3ab and is fully compatible with previous versions of Broadcom 1000BASE-T PHYs.
Link Monitor
In 10BASE-T mode, a link-pulse detection circuit constantly monitors the TRD pins for the presence of valid link
pulses.
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 is detected on the receive
pair, the link monitor enters the Link Fail state and the transmission and reception of data packets is disabled.
When a valid signal is detected on the receive pair for a minimum of 1 ms, the link monitor enters the Link Pass
state, and the transmit and receive functions are enabled.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 71
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Integrated 10/100/1000 PHY
Following auto-negotiation in 1000BASE-T mode, the master transceiver begins sending data on the media.
The slave transceiver also begins transmitting when it has recovered the master transceiver’s timing. Each end
of the link continuously monitors its local receiver status. When the local receiver status has been good for at
least 1 microsecond, the link monitor enters the Link Pass state, and the transmission and reception of data
packets are enabled. When the local receiver status is bad for more than 750 ms, the link monitor enters the
Link Fail state and the transmission and reception of data packets are disabled.
l
tia
mode). The all-digital nature of the design makes the performance very tolerant to noise. The filter coefficients
are self-adapting to accommodate varying conditions of cable quality and cable length.
en
Echo Canceler
fid
Because of the bidirectional nature of the channel in 1000BASE-T mode, an echo impairment is caused by each
transmitter. The output of the echo filter is added to the FFE output to remove the transmitted signal impairment
on
from the incoming receive signal. The echo canceler coefficients are self-adapting to manage the varying echo
impulse responses caused by different channels, transmitters, and environmental conditions.
C
The BCM53128 transmits and receives a continuous data stream on four channels. For a given channel, the
signals sent by the other three local transmitters cause impairments on the received signal because of near-end
dc
crosstalk (NEXT) between the pairs. It is possible to cancel the effect because each receiver has access to the
data for the other three pairs that cause this interference. The output of the adaptive NEXT canceling filters is
oa
Analog-to-Digital Converter
Each receive channel has its own 125-MHz analog-to-digital converter (ADC) that samples the incoming data
on the receive channel and feeds the output to the digital adaptive equalizer. Advanced analog circuit techniques
achieve the following results:
• Low offset
• High power-supply noise rejection
• Fast settling time
• Low bit error rate
Broadcom®
April 6, 2016 • 53128-DS07-R Page 72
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Integrated 10/100/1000 PHY
Clock Recovery/Generator
The clock recovery and generator block creates the transmit and receive clocks for 1000BASE-T, 100BASE-TX,
and 10BASE-T operation.
In 10BASE-T or 100BASE-TX mode, the transmit clock is locked to the 25-MHz crystal input, and the receive
clock is locked to the incoming data stream.
In 1000BASE-T mode, the two ends of the link perform loop timing. One end of the link is configured as the
master, and the other is configured as the slave. The master transmit and receive clocks are locked to the 25-
MHz crystal input. The slave transmit and receive clocks are locked to the incoming receive data stream. Loop
timing allows for the cancellation of echo and NEXT impairments by ensuring that the transmitter and receiver
at each end of the link are operating at the same frequency.
l
tia
1000BASE-T and 100BASE-TX data streams are not always DC-balanced. Because the receive signal must
pass through a transformer, the DC offset of the differential receive input can vary with data content. This effect,
en
which is known as baseline wander, can greatly reduce the noise immunity of the receiver. The BCM53128
automatically compensates for baseline wander by removing the DC offset from the input signal, thereby
significantly reducing the probability of a receive symbol error.
fid
In 10BASE-T mode, baseline wander correction is not performed because the Manchester coding provides a
on
perfect DC balance.
C
The multimode transmit digital-to-analog converter (DAC) transmits PAM5, MLT3, and Manchester coded
symbols. The transmit DAC performs signal wave shaping that decreases the unwanted high frequency signal
components, reducing electromagnetic interference (EMI). The transmit DAC uses a voltage driven output with
dc
internal terminations and hence, does not require external components or magnetic supply for operation thus
reducing system complexity for routing and bill of materials.
oa
Stream Cipher
Br
In 1000BASE-T and 100BASE-TX modes, the transmit data stream is scrambled to reduce radiated emissions
and to ensure that there are adequate transitions within the data stream. The 1000BASE-T scrambler also
ensures that there is no correlation among symbols on the four different wire pairs and in the transmit and
receive data streams. The scrambler reduces peak emissions by randomly spreading the signal energy over the
transmit frequency range and eliminating peaks at certain frequencies. The randomization of the data stream
also assists the digital adaptive equalizers and echo/crosstalk cancelers. The algorithms in these circuits require
there to be no sequential or cross-channel correlation among symbols in the various data streams.
In 100BASE-TX mode, the transmit data stream is scrambled by exclusive ORing the encoded serial data
stream. This is done with the output of an 11-bit wide linear feedback shift register (LFSR), producing a 2047-
bit nonrepeating sequence.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 73
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Integrated 10/100/1000 PHY
In 1000BASE-T mode, the transmit data stream is scrambled by exclusive ORing the input data byte with an 8-
bit wide cipher text word. The cipher text word generates each symbol period from eight uncorrelated maximal
length data sequences that are produced by linear remapping of the output of a 33-bit wide LFSR. After the
scrambled data bytes are encoded, the sign of each transmitted symbol is again randomized by a 4-bit wide
cipher text word that is generated in the same manner as the 8-bit word. The master and slave transmitters use
different scrambler sequences to generate the cipher text words. For repeater or switch applications, where all
ports can transmit the same data simultaneously, signal energy is randomized further by using a unique seed
to initialize the scrambler sequence for each PHY.
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 code groups. The descrambler locks to the scrambler state after detecting a
sufficient number of consecutive idle codes. The BCM53128 enables transmission and reception of packet data
only when the descrambler is locked. The receiver continually monitors the input data stream to ensure that it
has not lost synchronization by checking that inter-packet gaps containing idles or frame extensions are
received at expected intervals. When the BCM53128 detects loss of synchronization, it notifies the remote PHY
l
tia
of the inability to receive packets (1000BASE-T mode only) and attempts to resynchronize to the received data
stream. If the descrambler is unable to resynchronize for a period of 750 ms, the BCM53128 is forced into the
Link Fail state.
en
In 10BASE-T mode, scrambling is not required to reduce radiated emissions.
cable wiring errors. The symbol decoder detects and compensates for (internal to the BCM53128) the following
errors:
om
• Wiring errors caused by the swapping of pairs within the UTP cable.
• Polarity errors caused by the swapping of wires within a pair.
dc
The BCM53128 also automatically compensates for differences in the arrival times of symbols on the four pairs
of the UTP cable. The varying arrival times are caused by differing propagation delays (commonly referred to
oa
as delay skew) between the wire pairs. The BCM53128 can tolerate delay skews of up to 64 ns long. Auto-
negotiation must be enabled to take advantage of the wire map correction.
Br
During 10/100 Mbps operation, pair swaps are corrected. Delay skew is not an issue though, because only one
pair of wires is used in each direction.
When connecting to another device that does not perform MDI crossover, the BCM53128 automatically switches
its TRD in pairs when necessary to communicate with the remote device. When connecting to another device
that does have MDI crossover capability, an algorithm determines which end performs the crossover function.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 74
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Integrated 10/100/1000 PHY
During 1000BASE-T operation, the BCM53128 swaps the transmit symbols on pairs 0 and 1 and pairs 2 and 3
if auto-negotiation completes in the MDI crossover state. The 1000BASE-T receiver automatically detects pair
swaps on the receive inputs and aligns the symbols properly within the decoder. The automatic MDI crossover
function cannot be disabled when in 1000BASE-T mode. During 10BASE-TX and 100BASE-T operation, pair
swaps automatically occur within the device and do not require user intervention. The automatic MDI crossover
function by default only works when auto-negotiation is enabled. This function can be disabled during auto-
negotiation by writing 1 to bit 14 of the PHY Extended Control register.
Note: This function only operates when the copper auto-negotiation is enabled.
l
tia
and still take advantage of the automatic MDI crossover function. Whenever the forced link is down for at least
4 seconds, then auto-negotiation is internally enabled with its automatic MDI crossover function until link pulses
en
or 100Tx idles are detected. Once detected, the PHY returns to forced mode operation.
The user should set the same speed in register 0 and the auto-negotiation advertisement register 4.
fid
Note: This function only operates when the copper auto-negotiation is disabled.
on
C
The BCM53128 provides a hardware reset pin, RESET, which resets all internal nodes to a known state.
Hardware reset is accomplished by holding the RESET pin low for at least 1 ms. Once RESET is brought high,
the PHY will complete its reset sequence within 5 ms. All outputs will be inactive until the PHY has completed
dc
its reset sequence. The PHY will keep the inputs inactive for 5 ms after the deassertion of hardware reset. The
hardware configuration pins and the PHY address pins will be read on the deassertion of hardware reset.
oa
The BCM53128 also has a software reset capability. To enable the software reset, a 1 must be written to the bit.
This bit is self-clearing, meaning that a second write operation is not necessary to end the reset. There is no
Br
effect if 0 is written to this bit. Mode pins that are labelled sample on reset (SOR) are latched during hardware
reset. Similarly, software resets also latch new values for the SOR mode pins.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 75
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Integrated 10/100/1000 PHY
PHY Address
The BCM53128 has eight unique PHY addresses for MII management of the internal PHYs. The PHY
addresses for each port are as follows,
• PHY address for Port 0 is 0
• PHY address for Port 1 is 1
• PHY address for Port 2 is 2
• PHY address for Port 3 is 3
• PHY address for Port 4 is 4
• PHY address for Port 5 is 5
• PHY address for Port 6 is 6
• PHY address for Port 7 is 7
l
Super Isolate Mode
tia
When in Super Isolate mode, the transmit and receive functions on the Copper Media Dependent Interface are
en
disabled (No link will be established with the PHY’s copper link partner). Any data received from the switch will
be ignored by the BCM53128 and no data will be sent from the BCM53128.
functions except for the serial management interface are disabled. To enter standby power-down mode, set MII
Control register (Page 10h–17h: Address 00h), bit 11 = 1. There are three ways to exit standby power-down
om
mode:
• Clear MII Control register (address 00h), bit 11 = 0.
• Set the software RESET bit 15, MII Control register (Page 10h–17h: Address 00h).
dc
Read or write operations to any MII register, other than MII Control register, while the device is in the standby
power-down mode returns unpredictable results. Upon exiting standby power-down mode, the BCM53128
Br
remains in an internal reset state for 40 µs and then resumes normal operation.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 76
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Integrated 10/100/1000 PHY
l
The External Loopback mode allows in-circuit testing of the BCM53128 as well as the transmit path through the
tia
magnetics and the RJ-45 connector. External loopback can be performed with and without a jumper block.
External loopback with a jumper block tests the path through the magnetics and RJ-45 connector. External
en
loopback without the jumper block only tests the BCM53128’s transmit and receive circuitry. In 1000BASE-T,
100BASE-TX, and 10BASE-T modes, a jumper block must be inserted into the RJ-45 connector to support
fid
external loopback. The jumper block should have the following RJ-45 pins connected together:
1------------3
on
2------------6
4------------7
C
5------------8
Table 12 to Table 17 on page 78 describe how the external loopback is enabled for 1000BASE-T, 100BASE-TX,
om
Write 8400h to Auxiliary Control register Enable External Loopback Mode with external loopback
plug
Broadcom®
April 6, 2016 • 53128-DS07-R Page 77
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Integrated 10/100/1000 PHY
l
tia
Register Writes Comments
Write 0100h to MII Control register Enable Force 10BASE-T full-duplex mode
en
Register Writes
fid
Table 17: 10BASE-T External Loopback Without External Loopback Plug
Comments
on
Write 0100h to MII Control register Enable Force 10BASE-T full-duplex mode
Write 0014h to Auxiliary Control register Enable external loopback mode without external loopback
C
plug
om
Note: To exit the External Loopback mode, a software or hardware reset is recommended.
dc
oa
Full-Duplex Mode
Br
The BCM53128 supports full-duplex operation. While in full-duplex mode, a transceiver can simultaneously
transmit and receive packets on the cable.
Copper Mode
When auto-negotiation is disabled, full-duplex operation can be enabled by setting bit 8 of MII Control register.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 78
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Frame Management
Master/Slave Configuration
In 1000BASE-T mode, the BCM53128 and its link partner perform loop timing. One end of the link must be
configured as the timing master, and the other end as the slave. Master/slave configuration is performed by the
auto-negotiation function. The auto-negotiation function first looks at the manual master/slave configuration bits
advertised by the local PHY and the link partner. If neither PHY requests manual configuration, then the auto-
negotiation function looks at the advertised repeater/DTE settings. If one PHY is advertised as a repeater port
and the other is advertised as a DTE port, then the repeater port is configured as the master and the DTE port
as the slave. Each end generates an 11-bit random seed if the two settings are equal, and the end with the
higher seed is configured as the master. If the local PHY and the link partner generate the same random seed,
then auto-negotiation is restarted.
If both ends of the link attempt to force the same manual configuration (both master or both slave), or the random
seeds match seven consecutive times, then the BCM53128 sets the Master/Slave Configuration Fault bit in the
1000BASE-T Status register, and auto-negotiation is restarted. This is used to set the BCM53128 to manual
master/slave configuration or to set the advertised repeater/DTE configuration.
l
tia
Next Page Exchange
en
The 1000BASE-T configuration requires the exchange of three auto-negotiation next pages between the
fid
BCM53128 and its link partner. Exchange of 1000BASE-T Next Page information takes place automatically
when the BCM53128 is configured to advertise 1000BASE-T capability.
on
The BCM53128 also supports software controlled Next Page exchanges. This includes the three 1000BASE-T
Next Pages, which are always sent first. The BCM53128 automatically generates the appropriate message code
C
field for the 1000BASE-T pages. When the BCM53128 is not configured to advertise 1000BASE-T capability,
the 1000BASE-T Next Pages are not sent.
om
When the BCM53128 is not configured to advertise 1000BASE-T capability and bit 15 of the Auto-Negotiation
Advertisement register is set, the BCM53128 does not advertise Next Page ability.
dc
oa
Frame Management
Br
The BCM53128 provides a Frame Management block that works in conjunction with one of the GMII ports
operate in IMP mode as the full duplex packet streaming interface to the external CPU, with in-band messaging
mechanism for management purpose.
The IMP can be used as a full-duplex 10/100/1000-Mbps port, which can be used to forward management
information to the external management agent, such as BPDUs, mirrored frames, or frames addressed to other
static address entries that have been identified as a special interest to the management system.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 79
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Frame Management
As IMP is defined as the frame management port, normal frame data is forwarded to the port based on the state
of the RX_UCST_EN, RX_MCST_EN and RX_BCST_EN bits in the IMP Port Control register. If these bits are
cleared, no frame data will be forwarded to the Frame Management Port, with the exception that frames meeting
the mirror ingress/egress rules criteria, will always be forwarded to the designated frame management port.
Packets transferred over the IMP port are tagged with the Broadcom proprietary header to carry the necessary
information which is of interest to the management entity running on the CPU, as shown below, except for the
PAUSE frame. The IMP port must support normal Ethernet pause based flow control mechanism.
l
tia
en
fid
on
C
om
The BRCM tag is designed for asymmetric operation across the IMP port. The information carried from the
switching device to the CPU is different from the information carried from the CPU to the switching device.
dc
Similarly, the host system must insert the BRCM tag fields into frames it wished to send into the management
port, to be routed to specific egress ports. The OPCODE within the tag field determines how the frame is
handled, and allows frames to be forwarded using the normal address lookup using a port ID designation within
oa
the tag.
Br
The BRCM tag are transmitted with the convention of highest significant octet first, followed by the next lowest
significant octet, and so on, with the least significant bit of each octet transmitted out from the MAC first. So, for
the BRCM tag field in Table 18 on page 81 the most significant octet would be transmitted first (bits [24:31]), with
bit 24 being the first bit transmitted.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 80
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Frame Management
l
tia
TIME_STAMP[31:0]
en
• OPCODE 000
This indicates the packet transfer with explicit reasons to help the external CPU to direct the packet for the
•
appropriate packet processing entities.
REASON_CODE [7:0] fid
on
This indicates the reasons why the packet is forwarded to the external CPU so that the CPU can identify the
appropriate software routines for packet processing.
C
This indicates the traffic class classified by the switching device when forwarding the packet to the CPU.
• SRC_PID [4:0]
This indicates the ingress port of the switching device where the packet is received.
• OPCODE 001
This indicates a packet transfer with explicit time stamp recorded at the port where it was transmitted or
received (indicated by the T/R_PID) for IEEE 802.1as protocol implementation.
• T/R
This indicates the type of time stamp. 0 indicates the time stamp recorded when the packet was received
through the port (indicated by the T/R_PID); 1 indicates the time stamp recorded when the packet was
transmitted through the port (indicated by the T/R_PID).
Broadcom®
April 6, 2016 • 53128-DS07-R Page 81
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Frame Management
• T/R_PID [4:0]
This indicates the port through which the packet was transmitted when T/R = 1, or the port through which
the packet was received when T/R = 0.
• TIME_STAMP [31:0]
This carries the time stamp value recorded at the ingress port for a received TS protocol packet.
l
31–29 28–26 25–24 23 22–0
tia
OPCODE = 001 TC[2:0] TE[1:0] TS DST_MAP[22:0]
en
• OPCODE 000
fid
It indicates that the external CPU is not dictating how the packet is forwarded, and the packet is forwarded
by the switching device based on the original Ethernet packet information.
on
• OPCODE 001
This indicates the packet is forwarded to multiple (or single) egress ports by the switching device based on
C
This indicates the egress port bit map to which the external CPU intends to forward the packet.
• TC [2:0]
dc
This indicates the traffic class with which the external CPU intends to forward the packet.
• TS (time stamp request)
oa
This indicates whether the transmit time stamped at the egress port should be reported back to the external
CPU.
Br
• TE (tag enforcement)
This indicates the 802.1Q/P tagging/untagging encapsulation enforcement for the packet transmission.
00: No enforcement (follow VLAN untag mask rules)
01: Untag enforcement
10: Tag enforcement
11: Reserved
Broadcom®
April 6, 2016 • 53128-DS07-R Page 82
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet MIB Engine
MIB Engine
The MIB Engine is responsible for processing status words received from each port. Based on whether it is a
receive status or transmit status, appropriate MIB counters are updated. The BCM53128 implement 70-plus MIB
counters on a per-port basis. MIB counters can be categorized into three groups: receive-only counters,
transmit-only counters, and receive or transmit counters. This latter group can, as a group, be selectively
steered to the receive or transmit process on a per-port basis. The section below describes each individual
counter.
The BCM53128 offers the MIB snapshot feature per port enabled. A snapshot of a selected port MIB registers
can be captured and available to the users while MIB counters are continuing to count.
l
tia
Receive Only Counter (19) Description of Counter
en
Table 20: Receive Only Counter (19) Description of Counter
Field Description
RxDropPkts (32 bit)
fid
The number of good packets received by a port that were dropped due to a
lack of resources (e.g., lack of input buffers) or were dropped due to a lack of
on
resources before a determination of the validity of the packet was able to be
made (e.g., receive FIFO overflow). The counter is only incremented if the
receive error was not counted by the RxExcessSizeDisc, the
C
address. This counter does not include errored multicast packets or valid
broadcast packets. The maximum packet size can be programmed.
Br
RxSAChanges (32 bit) The number of times the SA of good receive packets has changed from the
previous value. A count greater than 1 generally indicates the port is
connected to a repeater-based network. The maximum packet size can be
programmed.
RxUndersizePkts (32 bit) The number of good packets received by a port that are less than 64 bytes
long (excluding framing bits, but including the FCS).
RxOversizePkts (32 bit) The number of good packets received by a port that are greater than standard
max frame size. The maximum packet size can be programmed.
RxFragments (32 bit) The number of packets received by a port that are less than 64 bytes
(excluding framing bits) and have either an FCS error or an alignment error.
RxJabbers (32 bit) The number of packets received by a port that are longer than 1522 bytes and
have either an FCS error or an alignment error.
RxUnicastPkts (32 bit) The number of good packets received by a port that are addressed to a
unicast address. The maximum packet size can be programmed.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 83
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet MIB Engine
Field Description
RxAlignmentErrors (32 bit) The number of packets received by a port that have a length (excluding
framing bits, but including FCS) between 64 and standard max frame size,
inclusive, and have a bad FCS with a nonintegral number of bytes.
RxFCSErrors (32 bit) The number of packets received by a port that have a length (excluding
framing bits, but including FCS) between 64 and standard max frame size,
inclusive, and have a bad FCS with an integral number of bytes.
RxGoodOctets (64 bit) The total number of bytes in all good packets received by a port (excluding
framing bits, but including FCS). The maximum packet size can be
programmed.
JumboPktCount (32 bit) The number of good packets received by a port that are greater than the
standard maximum size and less than or equal to the jumbo packet size,
regardless of CRC or alignment errors.
RxPausePkts (32 bit) The number of PAUSE frames received by a port. The PAUSE frame must
l
have a valid MAC Control Frame EtherType field (88–08h), have a destination
tia
MAC address of either the MAC Control frame reserved multicast address
(01-80-C2-00-00-01) or the unique MAC address associated with the specific
en
port, a valid PAUSE opcode (00–01), be a minimum of 64 bytes in length
(excluding preamble but including FCS), and have a valid CRC. Although an
IEEE 802.3-compliant MAC is only permitted to transmit PAUSE frames when
fid
in full-duplex mode with flow control enabled and with the transfer of PAUSE
frames determined by the result of auto-negotiation, an IEEE 802.3 MAC
receiver is required to count all received PAUSE frames, regardless of its half/
on
full-duplex status. An indication that a MAC is in half-duplex with the
RxPausePkts incrementing indicates a noncompliant transmitting device on
the network.
C
RxSymbolErrors (32 bit The total number of times a valid-length packet was received at a port and
at least one invalid data symbol was detected. The counter only increments
om
once per carrier event and does not increment on detection of a collision
during the carrier event.
RxDiscard (32 bit) The number of good packets received by a port that were discarded by the
dc
Forwarding Process.
InRangeErrors (32 bit) The number of packets received with good CRC and one of the following: (1)
oa
The value of length/type field is between 46 and 1500 inclusive, and does not
match the number of (MAC client data + PAD) data octets received, OR (2)
The value of length/type field is less than 46, and the number of data octets
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 84
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet MIB Engine
Field Description
TxDropPkts (32 bit) This counter is incremented every time a transmit packet is dropped due to
lack of resources (e.g., transmit FIFO underflow), or an internal MAC sublayer
transmit error not counted by either the TxLateCollision or the
TxExcessiveCollision counters.
TxOctets (64 bit) The total number of good bytes of data transmitted by a port (excluding
preamble but including FCS).
TxBroadcastPkts (32 bit) The number of good packets transmitted by a port that are directed to a
broadcast address. This counter does not include errored broadcast packets
or valid multicast packets.
TxMulticastPkts (32 bit) The number of good packets transmitted by a port that are directed to a
multicast address. This counter does not include errored multicast packets or
l
valid broadcast packets.
tia
TxCollisions (32 bit) The number of collisions experienced by a port during packet transmissions.
TxUnicastPkts (32 bit) The number of good packets transmitted by a port that are addressed to a
en
unicast address.
TxSingleCollision (32 bit) The number of packets successfully transmitted by a port that have
Broadcom®
April 6, 2016 • 53128-DS07-R Page 85
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet MIB Engine
Field Description
TxQ5PKT(32 bit) The total number of good packets transmitted on COS5, which is specified in
MIB queue select register when QoS is enabled.
Field Description
Pkts64Octets (32 bit) The number of packets (including error packets) that are 64 bytes long.
Pkts65to127Octets (32 bit) The number of packets (including error packets) that are between 65 and 127
bytes long.
Pkts128to255Octets (32 bit) The number of packets (including error packets) that are between 128 and
l
255 bytes long.
tia
Pkts256to511Octets (32 bit) The number of packets (including error packets) that are between 256 and 511
bytes long.
en
Pkts512to1023Octets (32 bit) The number of packets (including error packets) that are between 512 and
1023 bytes long.
Pkts1024toMaxPktOctets (32
bit)
fid
The number of packets that (include error packets) are between 1024 and the
standard maximum packet size inclusive.
on
The total number of counters per port is 43.
C
Table 23 identifies the mapping of the BCM53128 MIB counters and their generic mnemonics to the specific
counters and mnemonics for each of the key IETF MIBs that are supported. Direct mappings are defined.
om
However, there are several additional statistics counters, which are indirectly supported that make up the full
complement of the counters required to fully support each MIB. These are shown in Table 24 on page 88.
dc
Finally, Table 25 on page 89 identifies the additional counters supported by the BCM53128 and references the
specific standard or reason for the inclusion of the counter.
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 86
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet MIB Engine
l
tia
RxPausePkts Note 2 Note 2 Note 2 Note 2
RxSymbolErrors Note 2 Note 2 Note 2 Note 2
en
Note 1 – – ifInErrors –
Note 1 – – ifInUnknownProtos –
Note 1
TxDropPkts
–
dot3StatsInternal
MACTransmitErrors
– fid
dot1dTpPortInFrames –
ifOutDiscards
–
–
on
TxOctets – – ifOutOctets –
Note 3
C
Note 1 – dot1dTpPortOutFrame – –
s
om
TxBroadcastPkts – – ifOutBroadcastPkts –
TxMulticastPkts – – ifOutMulticastPkts –
dc
TxCollisions – – – etherStatsCollisions
TxUnicastPkts – – ifOutUcastPkts –
oa
TxSingleCollision dot3StatsSingle – – –
CollisionFrames
TxMultipleCollision dot3StatsMultiple – – –
Br
CollisionFrames
TxDeferredTransmit dot3StatsDeferred – – –
Transmissions
TxLateCollision dot3StatsLate – – –
Collision
TxExcessiveCollision dot3StatsExcessive – – –
Collision
TxFrameInDisc Note 2 Note 2 Note 2 Note 2
TxPausePkts Note 2 Note 2 Note 2 Note 2
Note 4 dot3StatsCarrier – – –
SenseErrors
Note 1 – – ifOutErrors –
Broadcom®
April 6, 2016 • 53128-DS07-R Page 87
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet MIB Engine
l
tia
Note 1 – – – etherStatsDrop
Events
en
Note 1 – – – etherStatsPkts
Note 1 – – – etherStatsCRCAlign
Errors
Note 4 dot3StatsSQETest –
Errors fid – –
on
Note 1: Derived by summing two or more of the supported counters. See Table 24 for specific details.
C
frame, this count is impossible to maintain. The TxOctets counter maintained by the BCM53128 is consistent
with good bytes transmitted, excluding preamble, but including FCS. The count can be adjusted to more closely
match the if OutOctets definition by adding the preamble for TxGoodPkts and possibly an estimate of the octets
dc
transceiver design means these error conditions are eliminated. MIBs intending to support such counters should
return a value of 0 (not supported).
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 88
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet MIB Engine
l
tia
RxAlignmentErrors
– dot3StatsSQETest – – –
Errors
en
RxFramesTooLong = dot3StatsFrameToo – – –
RxOversizePkts + Longs
RxJabber
TxGoodPkts = – dot1dTpPortOut fid – –
on
TxUnicastPkts + Frames
TxMulticastPkts +
TxBroadcastPkts
C
TxErrorPkts = – – ifOutErrors –
TxExcessiveCollision
om
+
TxLateCollision
Note 1
dc
Note 1: The number of packets transmitted from a port that experienced a late collision or excessive collisions.
oa
While some media types operate in half-duplex mode, frames that experience carrier sense errors are also
summed in this counter. The BCM53128 integrated design means this error condition is eliminated.
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 89
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Integrated High-Performance Memory
The internal RAM controller efficiently executes memory transfers and achieves nonblocking performance for
stand-alone 8-port applications.
l
tia
Switch Controller
en
The core of the BCM53128 devices is a cost-effective and high-performance switch controller. The controller
manages packet forwarding between the MAC receive and transmit ports through the frame buffer memory with
fid
a store and forward architecture. The switch controller encompasses the functions of buffer management,
memory arbitration, and transmit descriptor queueing.
on
Buffer Management
C
The frame buffer memory is divided into pages (units of data consisting of 256 bytes each). Each received
om
packet may be allocated more than one page. For example, six pages are required to store a 1522-byte frame.
Frame data is stored in the buffer memory as the packet is received. After reception, the frame is queued to the
egress port(s) transmit queue. This list tracks the transmission of the packet. After successful packet
dc
Memory Arbitration
Br
Processes requesting access to the internal memory include the receive and transmit frame data handlers,
address resolution, the VLAN lookup, learning and aging functions, egress descriptor update, and output-port
queue managers. These processes are arbitrated to provide fair access to the memory and minimize the latency
of critical processes to provide a fully nonblocking solution.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 90
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Switch Controller
Each egress port supports up to six transmit queues for servicing Quality of Service (QoS). All six transmit
queues share the 768 entries of the TXQ table. The TXQ table is maintained as a linked list, and each node in
the TXQ uses one entry in the TXQ table. The TXQ size for each priority can be programmed to up to 768
entries.
When the QoS function has been turned off, the switch controller maintains one output queue for each egress
port. The TXQ table is maintained in a per-port individual internal memory. Each node in the queue represents
a pointer that points to a frame buffer tag. Each buffer tag includes frame information and a pointer to the next
buffer tag. Each buffer tag has an associated page allocated in the frame buffer. For a packet with a frame size
larger than 256 bytes, multiple buffer tags are required. For instance, a 9720-byte jumbo frame requires 38
buffer tags for handling the frame.
l
tia
Frame 0,0 Page 0,0,0 256B
Frame 1,0 Page 1,0,0 256B
en
Frame 0,1 Page 0,1,0 256B
Priority 0 Frame 0,2 Page 0,2,0 256B
Empty Page 0,1,1 256B
fid
Priority 1
Priority 2 Frame 3,0 Page 3,0,0 256B
Priority 3
on
Frame 3,1 Page 3,1,0 256B
Empty Page 3,1,1 256B
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 91
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet System Interfaces
l
tia
Each interface is discussed in detail in these sections.
en
Copper Interface
fid
The internal PHYs transmit and receive data using the analog copper interface. This section discusses the
on
following topics:
• “Auto-Negotiation” on page 92
C
Auto-Negotiation
The BCM53128 negotiate a mode of operation over the copper media using the auto-negotiation mechanism
defined in the IEEE 802.3u and IEEE 802.3ab specifications. When the auto-negotiation function is enabled, the
BCM53128 automatically choose the mode of operation by advertising its abilities and comparing them with
those received from its link partner. The BCM53128 can be configured to advertise the following modes:
• 1000BASE-T full-duplex and/or half-duplex
• 100BASE-TX full-duplex and/or half-duplex
• 10BASE-T full-duplex and/or half-duplex
Broadcom®
April 6, 2016 • 53128-DS07-R Page 92
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Frame Management Port Interface
The transceiver negotiates with its link partner and chooses the highest common operating speed and duplex
mode, commonly referred to as highest common denominator (HCD). Auto-negotiation can be disabled by
software control, but is required for 1000BASE-T operation.
l
external management agent. For more information about frame management, see “Frame Management” on
tia
page 79. The port is configurable to Reverse MII (RvMII), GMII, or RGMII using strap pins or software
configuration.
en
MII Interface
fid
The Media Independent Interface (MII) serves as a digital data interface between the BCM53128 and an
on
external 10/100 Mbps management entity or a PHY entity. The BCM53128 provides a fully IEEE 802.3u-
compatible MII interface.
C
The TMII and RvTMII interfaces use the same hardware interface signals as the MII interface. The TMII mode
requires the SPEED setting bits in the IMP Port States Override Register (Page 00h: Address 0Eh) bits[3:2] to
dc
be set. The TMII mode supports 200 Mbps data rate over the existing MII interface by running the interface at
(up to) 50 MHz. The original MII timing is designed such that it can support 50 MHz clocking over the existing
oa
design.
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 93
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Configuration Pins
RXD[3:0] TXD[3:0]
RXC TXC
RXDV TXEN
CRS NC TXER
TXD[3:0] RXD[3:0]
TXC RXC
l
tia
TXEN RXDV
TXER NC
en
RXER
fid
on
GMII Port
C
The Gigabit Media Independent Interface (GMII) serves as a digital data interface between the BCM53128 and
an external gigabit management entity. Transmit and receive data is clocked on the rising edge of the clocks.
om
The GMII transmits data synchronously using the TXD[7:0] and RXD[7:0] data signals.
dc
RGMII Port
The Reduced Gigabit Media Independent Interface (RGMII) serves as a digital data interface between the
oa
BCM53128 and an external gigabit management entity. Transmit and receive data is clocked on the rising and
falling edge of the clocks. This reduces the number of data signals crossing the MAC interface without affecting
Br
the data transmission rate. The RGMII transmits data synchronously using the TXD[3:0] and RXD[3:0] data
signals.
Configuration Pins
Initial configuration of the BCM53128 takes place during power-on/reset by loading internal control values from
hardware strap pins. The value of the pin is loaded when the reset sequence completes, and the pin transitions
to normal operation. Pull-up or pull-down resistors can be added to these pins to control the device
configuration. If the pins are left floating, the default value is determined based on the internal pull-up or pull-
down configuration. See “Signal Descriptions” on page 125 for more information.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 94
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Programming Interfaces
Programming Interfaces
The BCM53128 can be programmed using the SPI interface or the EEPROM interface. The interfaces share a
common pin set that is configured using the CPU_EPROM_SEL strap pin. The “SPI-Compatible Programming
Interface” provides access for a general-purpose microcontroller, allowing read and write access to the internal
BCM53128 register space. It is configured to be compatible with the Motorola Serial Peripheral Interface (SPI)
protocol. Alternatively, the “EEPROM Interface” on page 110 can be connected to an external EEPROM for
writing register values upon power-up initialization.
The internal address space of the BCM53128 devices is broken into a number of pages. Each page groups a
logical set of registers associated with a specific function. Each page provides a logical address space of 256
bytes, although, in general, only a small portion of the address space in each page is utilized.
An explanation follows for using the serial interface with an SPI-compatible CPU (“SPI-Compatible
Programming Interface” on page 96) or an EEPROM (“EEPROM Interface” on page 110). Either mode can be
l
selected with the strap pin, CPU_EPROM_SEL. Either mode has access to the same register space.
tia
en
Serial Flash Interface
The BCM53128 offers a serial flash interface to store program code for the internal microcontroller (8051
fid
processor). The BCM53128 detects a flash memory device automatically and downloads the memory contents
upon power-up. The main purpose of the stored code is to configure and run the power savings mode, such as
on
Green mode or any application that the user wishes to run that can fit in the internal 8051 memory. The
embedded 8051 microcontroller has 128 KB of SRAM and 64 KB of ROM, supports receiving and transmitting
C
packets, and supports interleaved ROM/RAM access. The interface comprises four signal pins: chip select
(FCS), Flash clock (FCLK), Flash Serial Out (FSO), and Flash Serial In (FSI).
om
GPIO
dc
BCM53128 supports up to 8 GPIO pins. These GPIO pins can be used to connect to various external devices.
Upon power-up and reset, these pins become tristated. Enable GPIO pins through the GPIO Enable Register
oa
in 8051 Memory-Mapped Registers. They can be programmed to be either input or output pins via the GPIO
registers in 8051 Memory-Mapped Registers. The internal pull-up/pull-down of GPIOs is user-configurable
Br
through GPIO registers setting in 8051 Memory-Mapped Registers. Refer to the BCM53128 Programmer's
Reference Guide (document number 53128-PG1xx-R) for 8051 Memory-Mapped Registers detail information.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 95
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Programming Interfaces
Note: All the RoboSwitch™ SPI interfaces are designed to operate in slave mode. Therefore, the SCK
l
tia
and SS signals are driven by the external master host device when accessing the BCM53128
registers. For more detailed descriptions reader may refer to the Motorola SPI spec MC68HC08AS20-
en
Rev. 4.0.
byte transfers. The minimum time requirement between SS operation is 200 ns.
om
is used to clock data into and out of the Slave ROBO device. The SCK signal is expected to remain high when
the interface is idle. This is because the BCM53128 SPI design is based on CPOL = 1 (Clock Polarity = 1). This
oa
is not programmable on BCM53128. The BCM53128 is designed so that data is driving by the falling edge and
sampling by the rising edge of the SCK clock. This clock is not a free-running clock, it is generated only during
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 96
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Programming Interfaces
A layer of protocol is added to the basic SPI definition to facilitate transfers from the BCM53128. This protocol
establishes the definition of the first 2 bytes issued by the master to the BCM53128 slave during an SPI transfer.
The first byte issued from the SPI master in any transaction is defined as a command byte, which is always
followed by a register address byte, and any additional bytes are data bytes.
The SPI mode supports two different access mechanisms, normal SPI and fast SPI, determined by the content
of the command byte. Figure 13 shows the normal SPI command byte, and Figure 14 on page 97 shows the
Fast SPI command byte. These two mechanisms should not be mixed in an implementation; the CPU should
always initiate transfers consistently with only one of the two mechanisms.
l
Figure 13: Normal SPI Command Byte
tia
0 1 1 MODE = 0 CHIP ID 2 CHIP ID 1 CHIP ID 0 Read/Write
(MSB) (LSB) (0/1)
en
Figure 14: Fast SPI Command Byte
Byte Offset Byte Offset Byte Offset MODE = 1 fid
CHIP ID 2 CHIP ID 1 CHIP ID 0 Read/Write
on
(MSB) (LSB) (MSB) (LSB) (0/1)
C
The MODE bit (bit 4) of the command byte determines the meaning of bits 7:5. If bit 4 is a 0, it is a normal SPI
command byte, and bits 7:5 should be defined as 011b. If bit 4 is a 1, bits 7:5 indicate a fast SPI command byte,
om
and bits 7:5 indicate the byte offset into the register that the BCM53128 starts to read from (byte offsets are not
supported for write operations).
In command bytes, bits[3:1] indicate the CHIP ID to be accessed. Because the BCM53128 operates as a single-
dc
Note: The SS signal must also be active for any BCM53128 device to recognize that it is being
accessed.
Br
Bit 0 of the command byte is the R/W signal (0 = Read, 1 = Write) and determines the transmission direction of
the data.
The byte following the command byte is an 8-bit register address. Initially, this sets the page address, followed
by another command byte that contains the register base address in that page, which is used as the location to
store the next byte of data received in the case of a write operation, or the next address from which to retrieve
data in the case of a read operation. This base address increments as each byte of data is transmitted/received,
allowing a contiguous block data from a register to be stored/read in a single transmission. When the fast SPI
command byte mode is used, the actual start location of a read operation can be modified by the offset contained
in bits 7:5 of the command byte. Reading/writing data from/to separate registers, even if those registers are
contiguous in the current page, must be performed by supplying a new command byte and register address for
each register, with the address as defined in the appropriate page register map.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 97
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Programming Interfaces
Noncontiguous blocks are also stored/read through the use of multiple transmissions, which allow a new
command byte and register base address to be specified. The SS signal must remain low for the entire read or
write transaction, as shown in the following figures, with the transaction terminated by the deassertion of the SS
line by the master.
l
tia
en
fid
on
Figure 17 and Figure 18 on page 99 show the typical connection block diagram for SPI interface with/without
C
Slave
Br
Master
MOSI MOSI
RoboSwitch MISO MISO SPI
SCK SCK
Device
SS# SS#
Broadcom®
April 6, 2016 • 53128-DS07-R Page 98
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Programming Interfaces
RoboSwitch
Slave Master
Switch MOSI MOSI
Internal MISO MISO SPI
Registers
Switch SCK SCK Device
l
SS# SS#
tia
Includes polled
registers of
Ext PHY
en
MDC MDIO
fid
External PHY registers are accessed
on
by the SPI comaptible device via the
Slave
SPI access to the switch registers
.
Ext
C
PHY
om
dc
BCM53128 internal register read and write operations are executed by issuing a command followed by multiple
accesses of the SPI registers in the BCM53128. There are three SPI interface registers in the BCM53128 that
are used by the master device to access the internal switch registers. The SPI interface registers are:
Br
• SPI Page register (page: global, address: FFh): used to specify the value of the specific register pages.
• SPI Data I/O register (page: global, address: F0h): used to write and read the specific register’s content.
• SPI Status Register (page: global, address: FEh): used to check for an operation completion.
– Bit 7: SPIF, SPI read/write complete flag
– Bit 6: Reserved
– Bit 5: RACK, SPI read data ready acknowledgement
– Bit 4:3: Reserved
– Bit 2: MDIO_Start, Start/Done MDC/MDIO operation
– Bit 1: Reserved
– Bit 0: Reserved
Broadcom®
April 6, 2016 • 53128-DS07-R Page 99
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Programming Interfaces
l
1. Issue a Normal Read Command (opcode = 0x60) to poll the SPIF bit in the SPI Status register (0xFE) to
tia
determine the operation can start.
2. Issue a Normal Write command (opcode = 0x61) to write the register page value into the SPI Page register
en
0xFF.
3. Issue a Normal Read command (opcode = 0x60) to setup the required RoboSwitch register address.
fid
4. Issue a Normal Read command (opcode = 0x60) to poll the RACK bit in the SPI status register(0xFE) to
on
determine the completion of read (register content gets loaded in SPI Data I/O register).
5. Issue a Normal Read command (opcode = 0x60) to read the specific registers' content placed in the SPI
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 100
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Programming Interfaces
Step 1
Issue Normal Read Command
(opcode=60) to poll data from
SPI Status Register (0xFE)
No
No Software Yes
SPIF (bit 7) =0?
Timeout ?
Yes
l
tia
Is accessed Yes
Register page same as
previous?
en
No
Step 2
Issue Normal Write Command
(opcode=61) to write the
fid
on
accessed register page value
into SPI Page Register (0xFF)
C
Step 3
om
Step 4
Issue Normal Read Command
oa
No
Br
No Software
RACK (bit 5) =1?
Timeout ?
Yes
Yes
Step 5 Issue Normal Write Command
Issue Normal Read Command (opcode=61) to write the
(opcode=60) to read data from accessed register page value
SPI Data I/O Register (0xF0) into SPI Page Register (0xFF)
[MSB first, continute if more
bytes]
Broadcom®
April 6, 2016 • 53128-DS07-R Page 101
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Programming Interfaces
Example: Read from 1000BASE-T Control register (Page 10h, Offset 12h).
1. Issue a Normal Read command (opcode = 0x60) to check the SPIF bit in the SPI Status register (0xFE).
• Assert SS while SCK is high idle state
• Clock in a Normal Read Command Byte: 0 1 1 0 0 0 0 0 (opcode = 0x60)
• Clock in the SPI Status register address (0xFE)
• Clock out the SPI Status register value: 0 0 0 0 0 0 0 0 (SPIF bit 7=0)
• Deassert SS while SCK is high idle state
Figure 20: Normal Read Mode to Check the SPIF Bit of SPI Status Register
l
tia
en
fid
2. Issue a Normal Write command (opcode = 0x61) and write the accessed register page value of 0x10 into
SPI Page Reigster(0xFF)—this step is required only if previous read/write was not to/from Page 10h.
on
• Assert SS while SCK is high idle state
• Clock in a Normal Write Command Byte: 0 1 1 0 0 0 0 1 (opcode = 0x61)
C
Figure 21: Normal Read Mode to Setup the Accessed Register Page Value
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 102
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Programming Interfaces
3. Issue a Normal Read command (opcode = 0x60) and write the accessed register address value 0x12, and
clock out 8 bits to complete the read cycle, but discard result (this is where the state machine triggers a
internal data transfer from Address 0x12 to the SPI Data I/O register)
• Assert SS while SCK is high idle state
• Clock in a Normal Read Command Byte: 0 1 1 0 0 0 0 0 (opcode = 0x60)
• Clock in the address of accessed register address value (0x12)
• Clock out eight clocks for the dummy read, and discard results on MISO
• Deassert SS while SCK is high idle state
Figure 22: Normal Read Mode to Setup the Accessed Register Address Value (Dummy Read)
l
tia
en
fid
Note: This dummy read is always eight clock cycles, whether or not it is an 8-bit register.
on
C
4. Issue a Normal Read command (opcode = 0x60) to read the SPI Status to check the RACK bit for completion
of the register content transfer to the SPI Data I/O register.(this step may be repeated until the proper bit set
om
is read.)
• Assert SS while SCK is high idle state
dc
Figure 23: Normal Read Mode to Check the SPI Status for Completion of Read
Broadcom®
April 6, 2016 • 53128-DS07-R Page 103
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Programming Interfaces
5. Issue a Normal Read command (opcode = 0x60) to read the data from the SPI Data I/O register:
• Assert SS while SCK is high idle state
• Clock in Command Byte: 0 1 1 0 0 0 0 0 (opcode = 0x60)
• Clock in offset of SPI Data I/O Register (0xF0)
• Clock out first data byte on MISO line: 0 0 0 0 0 0 0 0 (Byte 0: Bit 7 to Bit 0: MSB to LSB)
• Clock out next byte (in this case, last) on MISO line: 0 0 0 0 1 1 1 0 (Byte 1: Bit 15 to Bit 8)
• [Continue if more bytes]
• Deassert SS while SCK is high idle state
l
tia
en
Fast Read Operation fid
on
Fast Read operation consists of 3 transactions (three SS operations)
C
1. Issue a Normal Read Command (opcode = 0x60) to poll the SPIF bit in the SPI Status Register (0xFE) to
determine the operation can start.
om
2. Issue a Fast Read command (opcode = 0x10) to setup the accessed Register Page value into the Page
register (0xFF).
dc
3. Issue a Fast Read command (opcode = 0x10) to setup the accessed register address value, to trigger an
actual read, and retrieve the accessed register content till the completion
oa
Fast Read mode process is different from Normal Read mode, once the switch receives a fast read command
followed by the register page and address information, the status and the data (register content) will be put on
Br
the MISO line without going through the SPI Status register or SPI Data I/O register. Once RACK bit of the bytes
following the Fast Read command with Address information is recognized the register content will be put on
MISO line immediately following the byte with RACK bit set. The Fast Read process is described in the following
paragraphs with a flowchart followed by a step by step description.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 104
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Programming Interfaces
Step 1
Issue a Normal Read
Command (opcode=60) to poll
data from SPI Status Register
(0xFE)
No
No Software Yes
SPIF (bit 7) =0?
Timeout ?
Yes
l
tia
Is accessed Yes
Register page same as
en
previous?
No
Step 2
Issue a Normal Write fid
on
Command (opcode=61) to
write the accessed register
page value into SPI Page
Register (0xFF)
C
Step 3
om
No
No Software
RACK=1
Timeout ?
Yes Yes
Task Abort
Broadcom®
April 6, 2016 • 53128-DS07-R Page 105
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Programming Interfaces
Example: Read from 1000BASE-T Control register (Page 10h, Offset 12h).
1. Issue a Normal Read command (opcode = 0x60) to check the SPIF bit in the SPI Status register (0xFE).
• Assert SS while SCK is high idle state
• Clock in a Normal Read Command Byte: 0 1 1 0 0 0 0 0(opcode = 0x60)
• Clock in the SPI Status register address (0xFE)
• Clock in the accessed register page value: 0 0 0 0 0 0 0 0 (SPIF bit 7=0)
• Deassert SS while SCK is high idle state
Figure 26: Normal Read Mode to Check the SPIF Bit of SPI Status Register
l
tia
en
fid
2. Issue a Normal Write command (opcode = 0x61) and write the accessed register page value of 0x10 in to
SPI Page Reigster(0xFF) —this step is required only if previous read/write was not to/from Page 10h.
on
• Assert SS while SCK is high idle state
• Clock in a Fast Read Command Byte: 0 11 0 0 0 0 0 1 (opcode = 0x61)
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 106
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Programming Interfaces
3. Issue a Fast Read command (opcode = 0x10), followed by the Address of the accessed register (0x12),
check for a read completion by checking the RACK bit in the SPI Status register, and finally clock out the
read data.
• Assert SS while SCK is high idle state
• Clock in a Fast Read Command Byte: 0 0 0 1 0 0 0 0 0 (opcode = 0x10)
• Clock in the Address of accessed register (0x12)
• Clock out Bytes Until Bit 0 or Bit 1 = 1 : 0 0 0 0 0 0 0 1 (RACK bit 0=1)
• Clock out first data byte: 0 0 0 0 0 0 0 0 (Byte 0: Bit 7 to Bit 0)
• Clock out next data (in this case, last) byte: 0 0 0 0 1 1 1 0 (Byte 1: Bit 15 to Bit 8)
• [Continue if more bytes]
• Deassert SS while SCK is high idle state
l
tia
en
fid
on
Note: There is an errata on the RACK output timing in Fast Read mode. The RACK (bit 0) must be
C
1. Issue a Normal Read Command (opcode = 0x60) to poll the SPIF bit in the SPI Status register (0xFE) to
oa
register (0xFF).
3. Issue a Normal Write command (opcode = 0x61) to setup the accessed register address value, followed by
the write content starting from a lower byte.
The Normal Write Mode process is described in the following paragraphs with a flowchart followed by a step by
step description.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 107
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Programming Interfaces
Step 1
Issue a Normal Read
Command (opcode=60) to poll
data from SPI Status Register
(0xFE)
No
No Software
SPIF=0?
Timeout ?
l
Yes Yes
tia
Is accessed
en
Yes
Register page same as
previous?
No
Step 2
fid
on
Issue a Normal Write
Issue a Normal Write Command (opcode=61) to
Command (opcode=61) to write the accessed register
write the accessed register
C
Step 3
dc
Task Abort
Done
Example: 0x1600h is written to 1000BASE-T Control Register (Page 0x10, Offset 0x12).
1. Issue a Normal Read command (opcode = 0x60) to check the SPIF bit in the SPI Status register (0xFE).
• Assert SS while SCK is high idle state
• Clock in a Normal Read Command Byte: 0 1 1 0 0 0 0 0 (opcode = 0x60)
• Clock in the SPI Status register address (0xFE)
• Clock in the accessed register page value,: 0 0 0 0 0 0 0 0 (SPIF bit 7=0)
• Deassert SS while SCK is high idle state
Broadcom®
April 6, 2016 • 53128-DS07-R Page 108
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Programming Interfaces
Figure 30: Normal Read Mode to Check the SPIF Bit of SPI Status Register
2. Issue a Normal Write command (opcode = 0x61) and write the accessed register page value of 0x10 into
SPI Page register (0xFF)—this step is required only if previous read/write was not from/to Page 0x10.
• Assert SS while SCK is high idle state
• Clock in a Normal Write Command Byte: 0 1 1 0 0 0 0 1 (opcode = 0x61)
• Clock in offset of Page register (0xFF)
l
tia
• Clock in 1 byte of the accessed register page value (Page register 0x10)
• Deassert SS while SCK is high idle state
en
Figure 31: Normal Write to Setup the Register Page Value
fid
on
C
om
3. Issue a Normal Write command (opcode = 0x61) and write the Address of the accessed register followed by
dc
Figure 32: Normal Write to Write the Register Address Followed by Written Data
Broadcom®
April 6, 2016 • 53128-DS07-R Page 109
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Programming Interfaces
EEPROM Interface
The BCM53128 can be connected using the serial interface to a low-cost external serial EEPROM, enabling it
to download register-programming instructions during power-on initialization. For each programming instruction
fetched from the EEPROM, the instruction executes immediately and affects the register file.
During the chip-initialization phase, the data is sequentially read-in from the EEPROM after the internal memory
has been cleared. The first data read-in is the HEADER and it matches a predefined magic code. In the case
where the HEADER data does not match the instruction fetch, the process stops, and the EEPROM controller
treats it as if no EEPROM exists. If the magic code matches, the fetch instruction process continues until it
reaches the instruction length defined in the HEADER.
Due to the different access cycles of different capacity EEPROMs, the strap pins EEPROM_TYPE[1:0] are used
to support the various EEPROM devices according to Table 26.
l
tia
EEPROM_TYPE[1:0] EEPROM
00 93C46
en
01 93C56
10 93C66
11 93C86
fid
on
Figure 33: Serial EEPROM Connection
C
BCM53128 93C46/56/66/86
SS
om
CS
SCK SK
MOSI DI
dc
MISO DO
oa
Br
EEPROM Format
The EEPROM should be configured to x16 word format. The header contains key and length information as
shown in Table 27. The actual data stored in the EEPROM is byte-swapped as shown in Table 28.
• Upper 5 bits are magic code 15h, which indicates that valid data follows.
• Bit 10 is for speed indication. A 0 means normal speed. A 1 indicates speedup. The default is 0.
• Lower 10 bits indicate the total length of all entries. For example:
– 93C46 up to 64 words
– 93C56 up to 128 words
– 93C66 up to 256 words
– 93C86 up to 1024 words
Broadcom®
April 6, 2016 • 53128-DS07-R Page 110
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Programming Interfaces
l
tia
Figure 34 shows an EEPROM programming example.
en
Figure 34: EEPROM Programming Example
00
15 7
101010101
101010001
6
0
5
000000
000010
0
A890 fid
Page:10'h
Write
Offset :30'h Data:013C’h
on
01 Page:11'h Offset :30'h Data:013C’h
FF
FF 01 FF01
02
C
00 10
02 0010 MCMC
: 101010101
: S : 0 (Normal) TOTAL
TOTAL ENTRY
ENTRY NUM
NUM : 08 'h
03 30
06 01 3001
om
FF 01 FF01
Offset 30’h Data Entry Num . # 01
06 00
22 11 0011
oa
08 01
66 3C 013C
Page # 00'h Page # 11'h
. . .
. . . Offset 30’h Data Entry Num . # 01
Broadcom®
April 6, 2016 • 53128-DS07-R Page 111
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet MDC/MDIO Interface
MDC/MDIO Interface
BCM53128 offers an MDC/MDIO interface for accessing the switch registers as well as the PHY registers. An
external management entity can access the switch registers through this interface when the SPI interface is not
used. (i.e., when the SPI clock is in idle mode.) The switch registers are accessed through the Pseudo PHY
interface, and the PHY registers are accessed directly by using PHY addresses.
External PHY can be connected to GMII interface of IMP port. Through the SPI interface, by accessing the Page
88h, the external PHY MII registers can be accessed. The actual PHY address can be assigned through the
MDIO IMP Port Address register.
Note: The PHY registers are not accessible through the Pseudo PHY operation.
l
tia
MDC/MDIO Interface Register Programming
The BCM53128 are designed to be fully compliant with the MII clause of the IEEE 802.3u Ethernet specification.
en
The MDC pin of the BCM53128 sources a 2.5-MHz clock. Serial bidirectional data transmitted using the MDIO
pin is synchronized with the MDC clock. Each MII read or write instruction is initiated by the BCM53128 and
contains the following:
• fid
Preamble (PRE). To signal the beginning of an MII instruction after reset, at least 32 consecutive 1-bits
on
must be written to the MDIO pin. A preamble of 32 1-bits is required only for the first read or write following
reset. A preamble of fewer than 32 1-bits causes the remainder of the instruction to be ignored.
C
• 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.
om
• PHY Address (PHYAD). A 5-bit PHY address follows, with the MSB transmitted first. The PHY address
allows a single MDIO bus to access multiple PHY chips.
dc
• Register Address (REGAD). A 5-bit register address follows, with the MSB transmitted first.
• Turnaround (TA). The next bit times are used to avoid contention on the MDIO pin when a read operation
oa
is performed. When a write operation is being performed, 10 must be sent by the BCM53128 chip during
these two bit times. When a read operation is being performed, the MDIO pin of the BCM53128 must be
put in a high-impedance state during these bit times. The external PHY drives the MDIO pin to 0 during the
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 112
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet MDC/MDIO Interface
PseudoPHY
The MDC/MDIO can be used by an external management entity to read/write register values internal to the
BCM53128. This mode offers an alternative programming interface to the chip. The BCM53128 operate in slave
mode with a PHY address of 30d. The following figures show the register setup flow chart for accessing the
registers using the MDC/MDIO interface.
Reg 0
IEEE Reserved
l
tia
Reg 15
en
Page Number Reserved A Reg 16
Register Address
fid
Reserved OP Reg 17
on
Access Status Reg 18
C
Reserved
om
Reserved
Reg 31
Broadcom®
April 6, 2016 • 53128-DS07-R Page 113
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet MDC/MDIO Interface
Figure 36: PseudoPHY MII Register 16: Register Set Access Control Bit Definition
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit #
l
tia
Note: The bit 0 (MDC/MDIO Access Enable) in register 16 should be released (set to 0) after a
transaction is completed. This allows the SPI interface to access the switch register if required.
en
Figure 37: PseudoPHY MII Register 17: Register Set Read/Write Control Bit Definition
15 14 13 12 11 10 9 8 7 6 5 fid 4 3 2 1 0 Bit #
on
C
10 = Read operation
11 = Reserved
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 114
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet MDC/MDIO Interface
Figure 38: PseudoPHY MII Register 18: Register Access Status Bit Definition
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit #
Reserved E P Reg 18
Figure 39: PseudoPHY MII Register 24: Access Register Bit Definition
l
tia
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit #
en
Access register bits [15:0] Reg 24
fid
on
Bits [15:0] => Access register bits [15:0] (RW)
C
om
Figure 40: PseudoPHY MII Register 25: Access Register Bit Definition
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit #
dc
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 115
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet MDC/MDIO Interface
Figure 41: PseudoPHY MII Register 26: Access Register Bit Definition
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit #
Figure 42: PseudoPHY MII Register 27: Access Register Bit Definition
l
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit #
tia
en
Access register bits [63:48] Reg 27
fid
on
Bits [15:0] => Access register bits [63:48] (RW)
C
om
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 116
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet MDC/MDIO Interface
Figure 43: Read Access to the Register Set Using the PseudoPHY (PHYAD = 11110) MDC/MDIO Path
l
tia
en
Yes
fid
Read MII register 24:
for Access register bits [15:0]
on
C
Yes
Broadcom®
April 6, 2016 • 53128-DS07-R Page 117
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet MDC/MDIO Interface
Figure 44: Write Access to the Register Set Using the PseudoPHY (PHYAD = 11110) MDC/MDIO Path
l
tia
Write MII register 26:
for Access register bits [47:32]
en
fid
Write MII register 27:
for Access register bits [63:48]
on
C
Yes
Yes
Broadcom®
April 6, 2016 • 53128-DS07-R Page 118
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet LED Interfaces
See “MDC/MDIO Interface” on page 112 for more information regarding the timing requirements.
LED Interfaces
l
The BCM53128 provides flexible visibility per-port status of various functions. The LED Interface offers an option
tia
to display different functions for each port given the number of LED bits available. The BCM53128 provides a
total of 32 LED pins. In a 5-port switch application, these are dedicated as four LED pins per port as shown in
en
Table 30 on page 120. If one or more ports are not used in an application and are disabled using LED Enable
Map register (Page 00h: Address 16h), and no more than four LED pins are to be used per port, the locations
fid
of the pins for the enabled ports are the same as if all eight ports were used, with four pins reserved per port,
regardless of whether the port is enabled.
on
For example, if Port7~2 LED displays are disabled (value of register page 00h, address 16h = 0003), Port0 and
Port1 LED display are still from LED pins LEDP28~31 (Port0), LEDP24~27 (Port1), just as if all eight ports were
C
used. If Port1 and Port0 LED displays are disabled (value of register page 00h, address 16h = 00FC), Port5,
Port6, and Port7 are still from LED pins LEDP8~11 (Port5), LEDP4~7 (Port6), and LEDP0~3 (Port7), also just
om
To set up the LED interface, configure strap pins LED_MODE[1:0] or select the desired display the functions in
dc
the LED Function 0 Control register/LED Function 1 Control register. The per-port LED display is fixed with four
functions.
oa
• To configure the strap pins, set the predefined functions to be displayed by setting the strap pins
LED_MODE[1:0]. The predefined functions are described in “Signal Descriptions” on page 125. Per-port
LED display is fixed four functions and occupy four LED pins.
Br
• To configure LED display function in the two LED Function Control registers, assign each port to one of the
LED Function 0 Control register and LED Function 1 Control register by enabling the bits in the LED
Function Map register. The LED interface shifts out the status of the selected functions for ports enabled in
the LED Enable Map register.
Only four or less than four functions can be selected, and the per-port LED display occupies four LED pins (fixed
four functions). For example, if LED display function using LED Function 1 Control register is configured and the
value is set to 0324h (four LED functions) or 0320h (three LED functions), the per-port LED display has four
fixed functions and occupies four LED pins per port, Port7 (LEDP0~3), Port6 (LEDP4~7), ....Port0
(LEDP28~31).
The status of enabled ports is sent out from a higher port number to the lowest port number. The output order
that is in the shift out is from LEDP[0], LEDP[1], LEDP[2],…..LEDP[31]. The output port order for LED is from
high port number to low port number, and the output bit order within the port LED is form MSB to LSB.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 119
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet LED Interfaces
Bit 7, LED_EN, of the LED Refresh register is default enabled. When this bit 7 is enabled, the LED display of
each port status is normal and truly reflects each port link up/link down status. If bit 7 is disabled, the LED status
is latched in its current state.
LED signals are active low, and for the dual function LEDs, LNK, DPX, and Speed state are active low. The ACT
(activity) indicator is indicated by blinking.
l
tia
Port 6 LEDP [4:7]
Port 5 LEDP [8:11]
en
Port 4 LEDP [12:15]
Port 3 LEDP [16: 19]
Port 2
Port 1 fid
LEDP [20:23]
LEDP [24:27]
on
Port 0 LEDP [28: 31]
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 120
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet LED Interfaces
15 : Reserved 15 : Reserved
14 : BroadSync HD Link 14 : BroadSync HD Link
13 : 1G/ACT 13 : 1G/ACT
12 : 10 /100 M/ACT 12 : 10/100 M/ACT
11 : 100M/ACT 11 : 100M/ACT
10 : 10M/ACT 1G/ACT 10 : 10M/ACT
9 : SPD1G LNKL/ACTG 9 : SPD1G
8 : SPDI00M DPX/COL 8 : SPDI00M
7 : SPD10M LNK 7 : SPD10M LNKG/ACTL
6 : DPX/COL 6 : DPX/COL SPD100M
5 : LNK/ACT 5 : LNK/ACT
4 : COL 4 : COL
l
tia
3 : ACT 3 : ACT
2 : DPX 2 : DPX
1 : LNK 1 : LNK
en
0 : Reserved 0 : Reserved
fid
on
Reserved 0 0 1 0 1 1 0 0 LED Function Map Register
C
Reserved
1 0 0 1 1 1 0 0 Port Mode Map 1 Register 0 0 1 1
LED AUTO
oa
The BCM53128 offers two LED Interfaces, Parallel LED Interface and Serial Interface. As shown in Figure 46
on page 122, the source of LED status stream is the same for both interfaces; the status bit stream is based on
the programmed register settings. The Parallel LED Interface provides all the shifting and storing of the status
internally, so that it does not require any external shift registers, but it requires more I/O pins to be connected
on the part.
The Serial LED Interface is being output through two pins (LEDDATA, LEDCLK). It saves the number of I/O pins,
but it requires the user to design in the external shift registers.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 121
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet LED Interfaces
LED[0] Q D
LED[1] Q D
l
tia
LED[3] Q D
en
fid
on
LED[31] Q D
C
om
dc
Dual LED is used for displaying more than one status using one LED cell. By packing two different colors LED
oa
into one holder, dual LED can display more than two states in one cell. Figure 47 shows a typical dual LED
usage. Green LED is to display LNKG/ACT status, while Yellow LED is to display LNKF/ACT status.
Br
Yellow LED
Broadcom®
April 6, 2016 • 53128-DS07-R Page 122
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet LED Interfaces
Figure 48: LED Circuit for Dual Input Configuration/LED Output Pins
l
tia
en
fid
on
C
om
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 123
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Hardware Signal Definition Table
Abbreviation Description
XYZ Active low signal
l
tia
A Analog pin type
B Bias pin type
en
CS Continuously sampled
D Digital pin type
DNC
GND fid
Do not connect
Ground
on
I Input
I/O Bidirectional
C
PD Internal pull-down
SOR Sample on reset
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 124
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Signal Descriptions
Signal Descriptions
Table 32: Signal Type Definitions
l
TRD3_1+/-
tia
TRD0_2+/-
TRD1_2+/-
en
TRD2_2+/-
TRD3_2+/-
TRD0_3+/-
TRD1_3+/- fid
on
TRD2_3+/-
TRD3_3+/-
C
TRD0_4+/-
TRD1_4+/-
om
TRD2_4+/-
TRD3_4+/-
TRD0_5+/-
dc
TRD1_5+/-
TRD2_5+/-
oa
TRD3_5+/-
TRD0_6+/-
Br
TRD1_6+/-
TRD2_6+/-
TRD3_6+/-
TRD0_7+/-
TRD1_7+/-
TRD2_7+/-
TRD3_7+/-
Clock/Reset
RESET IPU Hardware Reset Input. Active low Schmitt-triggered input. Resets the
BCM53128.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 125
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Signal Descriptions
l
synchronizes the TXD[3:0] in RvMII mode and connects to the MAC/
tia
Management Entity RXC. In 100 Mbps mode, this is 25 MHz, and in 10
Mbps mode, this is 2.5 MHz. In 200 Mbps mode (RvTMII), this is 50
MHz. This output pin has an internal 25 -series termination resistor.
en
This clock is not use in the other conditions.
IMP_TXD[3:0] O GMII Transmit Data Output (first nibble). Data bits TXD[3:0] are
fid
clocked on the rising edge of TXCLK.
RGMII Transmit Data Output. For 1000 Mbps operation, data bits
on
TXD[3:0] are clocked on the rising edge of TXCLK, and data bits
TXD[7:4] are clocked on the falling edge of TXCLK. For 10 Mbps and
100 Mbps, data bits TXD[3:0] are clocked on the rising edge of TXCLK.
C
Management entity.
MII/TMII Transmit Data Output. Clocked on the rising edge of TXCLK
supplied by MAC/Management entity.
dc
clocked on the rising edge of TXCLK. These output pins have internal
25 -series termination resistor.
IMP_TXEN O GMII/MII/TMII Transmit Enable. Active high. TXEN indicates the data
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 126
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Signal Descriptions
l
tia
This output pin has an internal 25-series termination resistor.
IMP_RXD[3:0] I GMII Receive Data Inputs (first nibble). Data bits RXD[3:0] are
clocked on the rising edge of RXCLK.
en
RGMII Receive Data Inputs. For 1000 Mbps operation, data bits
RXD[3:0] are clocked-out on the rising edge of RXCLK, and data bits
fid
RXD[7:4] are clocked on the falling edge of RXCLK. In 10 Mbps and 100
Mbps modes, data bits
on
RXD[3:0] are clocked on the rising edge of RXCLK.
RvMII/RvTMII Transmit Data Inputs. Clocked on the rising edge of
RXCLK and connected to the TXD pins of the external MAC/
C
Management entity.
MII/TMII Receive Data Input. Data bits RXD[3:0] are clocked on the
om
IMP_RXDV I GMII/MII/TMII Receive Data Valid. Active high. RXDV indicates that a
receive frame is in progress, and the data present on the RXD output
oa
pins is valid.
RGMII Receive Data Valid. Functional equivalent of GMII RXDV on the
rising edge of RXCLK and functional equivalent of a logical derivative of
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 127
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Signal Descriptions
l
tia
to the switch registers via the Pseudo-PHY. See the MDC/MDIO
interface for more information.
MDC I/OPD Management Data Clock. In master mode, this 2.5 MHz clock sourced
en
by BCM53128 to the external PHY device. In slave mode, it is sourced
by an external entity.
fid
on
C
om
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 128
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Signal Descriptions
l
CLK_FREQ1/GPIO1 IPD, SOR CLK_FREQ1 or GPIO bit 1
tia
CLK_FREQ0/GPIO0 IPU, SOR CLK_FREQ0 or GPIO bit 0
System Clock Selection. Determines rate of system clock via
en
CLK_FREQ[1:0] value.
00 = 83 MHz
fid
01 = 91 MHZ (normal operation)
10 = 100 MHz
on
11 = 111 MHz
CPU_EEPROM_SEL IPU, SOR CPU or EEPROM Interface Selection.
CPU_EEPROM_SEL = 0: Enable EEPROM interface.
C
GPIO7 HW_FWDG_EN. Forwarding Enable. Active high. If this pin is pulled low
at power-up, frame forwarding is disabled.
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 129
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Signal Descriptions
l
tia
LNK/ACT
PHYLED4
en
When LED MODE[1:0] = 01
FE configuration
100M/ACT
10M/ACT
DPX/COL
fid
on
PHYLED4
GbE configuration
C
1G/ACT
10/100M/ACT
om
DPX/COL
PHYLED4
dc
LNK/ACT
DPX
Br
GbE configuration
SPD1G
SPD100M
LNK/ACT
DPX
Broadcom®
April 6, 2016 • 53128-DS07-R Page 130
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Signal Descriptions
l
tia
01 = 100 Mbps
10 = 1000 Mbps (default)
en
11 = 200 Mbps
IMP_MODE[1]/GPIO6 Bit 0: IPU, IMP Mode[1] or GPIO bit6, IMP_MODE[0] or GPIO bit5
IMP_MODE[0]/GPIO5 Bit 1: IPU
SOR fid
IMP Port Mode. Sets the mode of the IMP port based on the value of
the pins IMP_MODE[1:0] at power-on reset.
on
00 = RGMII mode
01 = MII/TMII mode
10 = RvMII/RvTMII mode
C
11 = GMII mode
IMP_DUPLEX IPU IMP Port Duplex Mode.
om
1 = IMP link-up
IMP_PAUSE_CAP_RX IPU Enable IMP Port Pause Capable in RX.
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 131
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Signal Descriptions
l
local network connection.
tia
0 = Not detected
1 = Loop detected
en
EN_EEE IPU EN_EEE (Energy Efficient Ethernet). Enables EN_EEE feature for
switch MAC.
0 = Disable
1 = Enable fid
on
EN_8051_TxRx IPD EN_8051_TxRx. Enables 8051 transmitting and receiving packets
capability.
C
0 = Disable
1 = Enable
om
Broadcom®
April 6, 2016 • 53128-DS07-R Page 132
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Signal Descriptions
l
LEDP5 O Port 6 parallel LED Indicators. Active low.
tia
LEDP6 O Port 6 parallel LED Indicators. Active low.
LEDP7 O Port 6 parallel LED Indicators. Active high.
en
LEDP8 O Port 5 parallel LED Indicators. Active low.
LEDP9 O Port 5 parallel LED Indicators. Active low.
LEDP10/
EEPROM_TYPE0
fid
O, IPD, SOR This is a dual function pin.
Port 5 Parallel LED Indicators. Polarity determined at reset. See “Dual
on
Input Configuration/LED Output Function” on page 123.
Extended EEPROM Interface Selection. Sampled on reset.
C
EEPROM_TYPE1 Port 5 Parallel LED Indicators. Polarity determined at reset. See “Dual
Input Configuration/LED Output Function” on page 123.
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 133
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Signal Descriptions
l
Control” on page 45 for more information.
tia
0=Disable rate-based broadcast suppression.
1=Enable rate-based broadcast suppression.
en
LEDP19 O Port 3 Parallel LED Indicators. Active high.
LEDP20 O Port 2 Parallel LED Indicators. Active low.
LEDP21
LEDP22/ DIS_IMP
O
fid
Port 2 Parallel LED Indicators. Active low.
O, IPD, SOR This is a dual function pin.
on
Port 2 Parallel LED Indicators. Polarity determined at reset. See “Dual
Input Configuration/LED Output Function” on page 123.
C
When this pin is pulled up, the IMP port is not in management mode, the
IMP port is in a regular port.
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 134
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Signal Descriptions
l
Input Configuration/LED Output Function” on page 123.
tia
TXCLK Clock Timing Delay. Sampled on reset. Active high. This pin
enables the TXCLK to data timing delay in RGMII mode. See “RGMII
en
Interface Timing” on page 304.
LEDP31/ O, IPD, SOR This is a dual function pin.
IMP_RXC_DELAY
fid
Port 0 Parallel LED Indicators. Polarity determined at reset. See “Dual
Input Configuration/LED Output Function” on page 123.
RXCLK Clock Timing Delay. Sampled on reset. Active high. This pin
on
enables the RXCLK to data-sampling timing delay. See “RGMII Interface
Timing” on page 304.
C
LEDCLK OPD LED Shift Clock. This clock is periodically active to enable LEDDATA to
shift into external registers.
om
LEDDATA OPD Serial LED Data Output. Serial LED data for all ports is shifted out when
LEDCLK is active. LEDMODE[1:0] pins set the serial data content. See
“LED Interface” on page 133 for a functional description of this signal.
dc
Programming Interfaces
SCK IPD SPI Serial Clock. The clock input to the BCM53128 SPI interface is
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 135
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Signal Descriptions
l
Serial Flash Interfaces
tia
FSO OPD Serial Data Output.
en
FCSB OPD Chip Select.
FCLK O Clock Output.
FSI
Interrupt Pin
IPD Serial Data Input.
fid
on
INT O3S Interrupt. This interrupt pin generates an interrupt based on the
configuration of the Interrupt Enable Register and the Interrupt Status
Register.
C
Bias
om
Broadcom®
April 6, 2016 • 53128-DS07-R Page 136
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Signal Descriptions
l
tia
en
fid
on
C
om
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 137
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Pin Assignment
l
AVDDH 109 IMP_RXD4 155
DVDD 148
tia
LEDP12 184
AVDDH 115 IMP_RXD5 156
DVDD 162
LEDP13 185
AVDDH 121 IMP_RXD6 157
DVDD 169
en
LEDP14/ 186
AVDDH 203 IMP_RXD7 158
DVDD 183 LOOP_DETECT_EN
AVDDH 209 IMP_RXDV 149
EN_8051_TxRx 47 LEDP15/ 188
fid
AVDDH 215 IMP_RXER 147 LOOP_IMP_SEL
EN_CLK25_OUT/ 26
AVDDH 221 CLK25_OUT IMP_SPEED0 51 LEDP16 189
AVDDH 232 EN_CLK50_OUT/ 21 IMP_SPEED1 50 LEDP17 190
on
CLK50_OUT
AVDDH 238 IMP_TXCLK 141 LEDP18/ 191
EN_EEE 38 BC_SUPP_EN
AVDDH 244 IMP_TXD0 137
C
GPHY1_BVDD 227
AVDDL 95 IMP_TXD6 127 EN
GPHY1_PLLVDD 226
AVDDL 100 IMP_TXD7 126 LEDP24 198
GPHY1_RDAC 228
oa
AVDDL 118
GPHY2_RDAC 96 LEDP27/ 255
AVDDL 124 IMP_VOL_SEL0 49
GPIO2 10 ENHDXFLOW
AVDDL 200 IMP_VOL_SEL1 48
HW_FWDG_EN/ 9 LEDP28 256
AVDDL 206 INTR_B 60
GPIO7 LEDP29 1
AVDDL 212 LEDCLK 167
IMP_COL 159 LEDP30/ 2
AVDDL 218 LEDDATA 166 IMP_TXC_DELAY
IMP_CRS 143
AVDDL 224 LEDMODE0/GPIO3 12 LEDP31/ 4
IMP_DUPLEX 52
AVDDL 229 LEDMODE1/GPIO4 13 IMP_RXC_DELAY
IMP_GTXCLK 132
AVDDL 235 LEDP0 168 LOOP_DETECTED 58
IMP_LINK 54
AVDDL 241 LEDP1 170 MDC 62
IMP_MODE0/GPIO5 7
AVDDL 247 LEDP2 171 MDIO 61
IMP_MODE1/GPIO6 8
AVDDL 253 LEDP3/EN_GREEN 172 MISO 161
IMP_PAUSECAP_R 55
CLK_FREQ0/GPIO0 14 X LEDP4 174 MOSI 164
Broadcom®
April 6, 2016 • 53128-DS07-R Page 138
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet BCM53128KQLE Pin List by Signal Name
l
tia
OVDD 129 TRD[1]+{3} 248 XTALO 33
OVDD 133 TRD[1]+{4} 76 XTAL_AVDD 35
en
OVDD 138 TRD[1]+{5} 90 XTAL_AVSS 32
OVDD 142 TRD[1]+{6} 105
OVDD 145 TRD[1]+{7} 119
OVDD
OVDD2
153
3
TRD[1]-{0}
TRD[1]-{1}
204
220 fid
on
OVDD2 11 TRD[1]-{2} 233
OVDD2 19 TRD[1]-{3} 249
C
OVDD2 43 TRD[1]-{4} 75
OVDD2 44 TRD[1]-{5} 91
om
Broadcom®
April 6, 2016 • 53128-DS07-R Page 139
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet BCM53128KQLE Pin List by Ball Number
l
10 GPIO2 52 IMP_DUPLEX 94 TRD[0]+{5} 138 OVDD
tia
11 OVDD2 53 DVDD 95 AVDDL 139 IMP_TXEN
en
13 LEDMODE1/GPIO4 55 IMP_PAUSECAP_R 97 GPHY2_BVDD 141 IMP_TXCLK
X
14 CLK_FREQ0/GPIO0 98 GPHY2_PLLVDD 142 OVDD
56 IMP_PAUSECAP_T
fid
15 CLK_FREQ1/GPIO1 99 NC 143 IMP_CRS
X
16 DVDD 100 AVDDL 144 IMP_RXCLK
57 OVDD2
101 TRD[0]+{6} 145 OVDD
on
17 RESET 58 LOOP_DETECTED
18 CPU_EEPROM_SEL 102 TRD[0]-{6} 146 IMP_VOL_REF
59 ACT_LOOP_DETEC
19 OVDD2 T 103 AVDDH 147 IMP_RXER
C
69 NC
28 NC
70 NC 114 TRD[3]-{7} 158 IMP_RXD7
29 PLL_AVDD
71 AVDDL 115 AVDDH 159 IMP_COL
30 PLL_AVSS
72 TRD[0]+{4} 116 TRD[2]-{7} 160 SS
31 DVDD
73 TRD[0]-{4} 117 TRD[2]+{7} 161 MISO
32 XTAL_AVSS
74 AVDDH 118 AVDDL 162 DVDD
33 XTALO
75 TRD[1]-{4} 119 TRD[1]+{7} 163 SCK
34 XTALI
76 TRD[1]+{4} 120 TRD[1]-{7} 164 MOSI
35 XTAL_AVDD
77 AVDDL 121 AVDDH 165 OVDD2
36 TRST
78 TRD[2]+{4} 122 TRD[0]-{7} 166 LEDDATA
37 NC
79 TRD[2]-{4} 123 TRD[0]+{7} 167 LEDCLK
38 EN_EEE
80 AVDDH 124 AVDDL 168 LEDP0
39 NC
81 TRD[3]-{4} 125 OVDD 169 DVDD
40 DVDD
82 TRD[3]+{4} 126 IMP_TXD7 170 LEDP1
Broadcom®
April 6, 2016 • 53128-DS07-R Page 140
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet BCM53128KQLE Pin List by Ball Number
l
183 DVDD
tia
227 GPHY1_BVDD
184 LEDP12
228 GPHY1_RDAC
185 LEDP13
en
229 AVDDL
186 LEDP14/
LOOP_DETECT_EN 230 TRD[0]+{2}
187 OVDD2 231 TRD[0]-{2}
188 LEDP15/
LOOP_IMP_SEL
232
233
AVDDH
TRD[1]-{2} fid
on
189 LEDP16 234 TRD[1]+{2}
190 LEDP17 235 AVDDL
191 LEDP18/
C
236 TRD[2]+{2}
BC_SUPP_EN
237 TRD[2]-{2}
192 LEDP19
om
238 AVDDH
193 OVDD2
239 TRD[3]-{2}
194 LEDP20
240 TRD[3]+{2}
195 LEDP21
dc
241 AVDDL
196 LEDP22/DIS_IMP
242 TRD[3]+{3}
197 LEDP23/
243 TRD[3]-{3}
oa
IMP_DUMB_FWDG_
EN 244 AVDDH
198 LEDP24 245 TRD[2]-{3}
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 141
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Register Definitions
Register Definition
BCM53128 register sets can be accessed through the programming interfaces described on page 95. The
register space is organized into pages, each containing a certain set of registers. Table 33 lists the pages
defined in the BCM53128. To access a page, the page register (0xFF) is written with the page value. The
registers contained in the page can then be accessed by their addresses. See “Programming Interfaces” on
page 95 for more information.
l
Register Notations
tia
In the register description tables, the following notation in the R/W column is used to describe the ability to read
en
or to write:
• R/W = Read or write
•
•
RO = Read only
LH = Latched high fid
on
• LL = Latched low
• H = Fixed high
C
• L = Fixed low
om
• SC = Clear on read
Reserved bits must be written as the default value and ignored when read.
dc
oa
Page Description
00h “Page 00h: Control Registers” on page 144
01h “Page 01h: Status Registers” on page 164
02h “Page 02h: Management/Mirroring Registers” on page 168
03h “Page 03h: Interrupt Control Register” on page 177
04h “Page 03h: Interrupt Control Register” on page 177
05h “Page 05h: ARL/VTBL Access Registers” on page 184
06h, 07h Reserved
08h Reserved
09h Reserved
Broadcom®
April 6, 2016 • 53128-DS07-R Page 142
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Global Page Register
Page Description
0Ah Reserved
0Bh–0Fh Reserved
10h–17h “Page 10h–17h: Internal GPHY MII Registers” on page 194
18h–1Fh Reserved
20h–28h “Page 20h–28h: Port MIB Registers” on page 230
29h–2Fh Reserved
30h “Page 30h: QoS Registers” on page 235
31h “Page 31h: Port-Based VLAN Registers” on page 245
32h “Page 32h: Trunking Registers” on page 246
33h Reserved
34h “Page 34h: IEEE 802.1Q VLAN Registers” on page 248
l
tia
35h Reserved
36h “Page 36h: DOS Prevent Register” on page 257
en
37h–3Fh Reserved
40h “Page 40h: Jumbo Frame Control Register” on page 260
41h
fid
“Page 41h: Broadcast Storm Suppression Register” on
page 262
on
42h “Page 42h: EAP Register” on page 268
43h “Page 43h: MSPT Register” on page 272
44h–6Fh Reserved
C
73h–7Fh Reserved
80h–83h Reserved
oa
84h Reserved
85h Reserved
Br
86h–87h Reserved
88h “Page 88h: IMP Port External PHY MII Registers Page
Summary” on page 278
90h “Page 90h: BroadSync HD Register” on page 279
91h “Page 91h: Traffic Remarking Register” on page 286
92h “Page 92h: EEE Control Register” on page 288
93h-A0h Reserved
A1h Reserved
A2h–EFh Reserved
Maps to all pages “Global Registers” on page 295
Broadcom®
April 6, 2016 • 53128-DS07-R Page 143
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 00h: Control Registers
l
tia
12h–13h 16 “LED Function 1 Control Register (Page 00h: Address 12h)” on page 151
14h–15h 16 “LED Function Map Register (Page 00h: Address 14h–15h)” on page 151
en
16h–17h 16 “LED Enable Map Register (Page 00h: Address 16h–17h)” on page 152
18h–19h 16 “LED Mode Map 0 Register (Page 00h: Address 18h–19h)” on page 152
1Ah–1Bh
1Ch
16
– fid
“LED Mode Map 1 Register (Page 00h: Address 1Ah–1Bh)” on page 152
“LED Control Register (Page 00h: Address 1Ch)” on page 153
on
1Dh 8 “PHY LED Control Register (Page 00h: Address 1Dh)” on page 153
1Eh – Reserved
C
1Fh 8 Reserved
20h – Reserved
om
21h 8 “Port Forward Control Register (Page 00h: Address 21h)” on page 154
22h–23h – Reserved
24h–25h 16 “Protected Port Selection Register (Page 00h: Address 24h–25h)” on page 155
dc
26h–27h 16 “WAN Port Select Register (Page 00h: Address 26h–27h)” on page 155
28h–2Bh 32 “Pause Capability Register (Page 00h: Address 28h–2Bh)” on page 155
oa
2Ch–2Eh – Reserved
2Fh 8 “Reserved Multicast Control Register (Page 00h: Address 2Fh)” on page 156
Br
30h – Reserved
31h 8 Reserved
32h–33h 16 “Unicast Lookup Failed Forward Map Register (Page 00h: Address 32h)” on
page 157
34h–35h 16 “Multicast Lookup Failed Forward Map Register (Page 00h: Address 34h–35h)” on
page 157
36h–37h 16 “MLF IPMC Forward Map Register (Page 00h: Address 36h–37h)” on page 158
38h–39h 16 “Pause Pass Through for RX Register (Page 00h: Address 38h–39h)” on page 158
3Ah–3Bh 16 “Pause Pass Through for TX Register (Page 00h: Address 3Ah–3Bh)” on page 158
3Ch–3Dh 16 “Disable Learning Register (Page 00h: Address 3Ch–3Dh)” on page 159
3Eh–3Fh 16 “Software Learning Register (Page 00h: Address 3Eh–3Fh)” on page 159
40h–49h – Reserved
Broadcom®
April 6, 2016 • 53128-DS07-R Page 144
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 00h: Control Registers
l
tia
88h 8 “Fast-Aging Control Register (Page 00h: Address 88h)” on page 162
89h 8 “Fast-Aging Port Control Register (Page 00h: Address 89h)” on page 162
en
8Ah–8Bh 16 “Fast-Aging VID Control Register (Page 00h: Address 8Ah–8Bh)” on page 163
B0h-B7h 64 “CPU Data 0 Share Register (Page 00h: Address B0h-B7h)” on page 163
B8h-BFh
F0h–F7h
64
8 fid
“CPU Data 1 Share Register (Page 00h: Address B8h-BFh) ” on page 163
“SPI Data I/O Register (Global, Address F0h)” on page 295, bytes 0-7
on
F8h–FDh – Reserved
8Ch–EFh – Reserved
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 145
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 00h: Control Registers
Address Description
00h Port 0
01h Port 1
02h Port 2
03h Port 3
04h Port 4
05h Port 5
06h Port 6
07h Port 7
l
tia
Table 36: Port Control Register (Page 00h: Address 00h–07h)
en
BIt Name R/W Description Default
7:5 STP_STATE[2:0] R/W CPU writes the current computed states of its ~ HW_FWDG_EN
spanning tree algorithm for a given port.
fid
000 = No spanning tree (default for unmanaged
mode)
on
001 = Disabled state (default for managed mode)
010 = Blocking state
C
1 TX_DISABLE R/W 0 = Enable the transmit function of the port at the MAC 0
level.
oa
0 RX_DISABLE R/W 0 = Enable the receive function of the port at the MAC 0
level.
1 = Disable the receive function of the port at the MAC
level.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 146
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 00h: Control Registers
l
tia
when the IMP is configured as the Frame
Management Port, and the frame was flooded due to
no matching address table entry.
en
When cleared, multicast frames that meet the mirror
ingress/egress rules are forwarded to the frame
2 RX_BCST_EN R/W
management port.
fid
Receive broadcast enable 0
on
Allow broadcast frames to be forwarded to the IMP,
when the IMP is configured as the Frame
Management Port.
C
management port.
1:0 Reserved R/W – 0
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 147
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 00h: Control Registers
l
0 = Unmanaged mode.
tia
1 = Managed mode.
The ARL treats reserved multicast addresses
en
differently depending on this selection.
1 = PAUSE capable
4 Rx Flow Control Capability R/W Link partner flow control capability 0
Br
0 = Not PAUSE-capable
1 = PAUSE-capable
3:2 SPEED R/W Speed 10
00 = 10 Mbps
01 = 100 Mbps
10 = 1000 Mbps
11 = 200 Mbps
1 FDX R/W Full-duplex 1
0 = Half-duplex
1 = Full-duplex
Broadcom®
April 6, 2016 • 53128-DS07-R Page 148
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 00h: Control Registers
Table 39: IMP Port State Override Register (Page 00h: Address 0Eh) (Cont.)
Address Description
0Fh LED refresh control register
10h–11h LED function 0 control register
l
12h–13h LED function 1 control register
tia
14h–15h LED function map control register
16h–17h LED enable map register
en
18h–19h LED mode map 0 register
1Ah–1Bh LED mode map 1 register
5 POST_PSCAN_EN R/W When enabled, switch scans the port during the 0
POST period.
4 POSt_Cable_diag_en R/W Enable cable diagnostics display during POST 0
oa
2:0 LED_Refresh_rate R/W LED refresh count register (i.e., LED blinking 3h
rate)
Refresh time = (N+1) * 10 ms
• 000: Reserved
• 001: 20 ms/25 Hz
• 010: 30 ms/16 Hz
• 011: 40 ms/12 Hz
• 100: 50 ms/10 Hz
• 101: 60 ms/8 Hz
• 110: 70 ms/7 Hz
• 111: 80 ms/6 Hz
Broadcom®
April 6, 2016 • 53128-DS07-R Page 149
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 00h: Control Registers
l
tia
7: SPD10M
6: DPX/COL
en
5: LNK/ACT
4: COL
3: ACT
2: DPX
1: LNK
fid
on
0: Reserved
C
om
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 150
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 00h: Control Registers
l
tia
7: SPD10M
6: DPX/COL
en
5: LNK/ACT
4: COL
3: ACT
2: DPX
1: LNK
fid
on
0: Reserved
C
Table 44: LED Function Map Register (Page 00h: Address 14h–15h)
8:0 LED_FUNC_MAP R/W Per port select function bit. Each port LED 1FFh
follows the function table specified for each port.
1: Select Function 1.
Br
0: Select Function 0.
Bits [7:0] correspond to ports [7:0].
Broadcom®
April 6, 2016 • 53128-DS07-R Page 151
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 00h: Control Registers
l
tia
BIt Name R/W Description Default
15:9 Reserved R/W – 0
en
8:0 LED_MODE_MAP0 R/W Combine with LED_MODE_MAP1 to decide 1FFh
per port LED output mode.
fid
Bits [7:0] correspond to ports [7:0].
on
LED Mode Map 1 Register (Page 00h: Address 1Ah–1Bh)
C
Table 47: LED Function Map 1 Control Register (Page 00h: Address 1Ah–1Bh)
LED_FUNC_MAP[1:0]
00: LED off
oa
01: LED on
10: LED blinking
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 152
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 00h: Control Registers
l
tia
Port 6 LEDP[7:4]
Port 7 LEDP[3:0]
en
1: The LED pin is activated during POST.
0: The LED pin is deactivated during POST.
3 DUAL_LED_CTRL R/W Dual-color LED Test Control 0x0
fid
1: One side of the dual-color LED, which corresponding
POST_LED_CTRL bit = 1, will be tested during POST firstly,
on
and then test the other side of the dual-color LED, which
corresponding POST_LED_CTRL bit = 0.
C
Table 49: PHY LED Control Register (Page 00h: Address 1Dh)
oa
7:4 PHY_LED_FUNC1 R/W Bit 7: PHYLED4 of LED Function 1 LED Mode[1:0] = 00: 8'h88
Bit 6: PHYLED3 of LED Function 1 LED Mode[1:0] = 01: 8'h88
Bit 5: PHYLED2 of LED Function 1
Bit 4: PHYLED1 of LED Function 1
3:0 PHY_LED_FUNC0 R/W Bit 3: PHYLED4 of LED Function 0 LED Mode[1:0] = 10: 8''h00
Bit 2: PHYLED3 of LED Function 0 LED Mode[1:0] = 11: 8'h00
Bit 1: PHYLED2 of LED Function 0
Bit 0: PHYLED1 of LED Function 0
Broadcom®
April 6, 2016 • 53128-DS07-R Page 153
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 00h: Control Registers
l
tia
mismatch the frame length.
The following is the definition of InRangeErrors.
en
In-Range Errors Frames: The frames received with
good CRC and one of the following”
• The value of Length/Type field is between 46 and
fid
1500 inclusive and does not match the number of
(MAC Client Data + PAD) data octets received.
on
or
• The value of Length/Type field is less than 46,
and the number of data octets received is greater
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 154
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 00h: Control Registers
l
tia
WAN Port Select Register (Page 00h: Address 26h–27h)
en
Table 52: WAN Port Select Register (Page 00h: Address 26h–27h)
BIt
15:10
Name
Reserved
R/W
RO
Description
Reserved fid Default
0
on
9 Reserved R/W Reserved 0
8 Reserved R/W Reserved 0
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 155
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 00h: Control Registers
l
tia
01-80-C2-00-00-20 ~ 01-80-C2-00-00-2F
0 = Forward
en
1 = Drop
3 En_Mul_3 R/W Specifies if packets with the destination addresses in 0
fid
the below range are to be forwarded to the appropriate
port or dropped when operating in unmanaged mode.
01-80-C2-00-00-11 ~ 01-80-C2-00-00-1F
on
0 = Forward
1 = Drop
C
1 = Drop
1 En_mul_1 R/W Specifies if packets with the destination addresses in 1
oa
01-80-C2-00-00-02 ~ 01-80-C2-00-00-0F
0 = Forward
1 = Drop
0 En_Mul_0 R/W Specifies if packets with the destination address below 0
are to be forwarded to the appropriate port or dropped
when operating in unmanaged mode.
01-80-C2-00-00-00
0 = Forward
1 = Drop
Broadcom®
April 6, 2016 • 53128-DS07-R Page 156
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 00h: Control Registers
l
tia
0 = Do not forward a unicast lookup failure to this port.
1 = Forward a unicast lookup failure to this port.
en
See “Unicast Addresses” on page 59 for more information.
fid
Multicast Lookup Failed Forward Map Register (Page 00h: Address
on
34h–35h)
C
Table 56: Multicast Lookup Failed Forward Map Register (Page 00h: Address 34h–35h)
om
Broadcom®
April 6, 2016 • 53128-DS07-R Page 157
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 00h: Control Registers
l
tia
15:8 Reserved RO Reserved 0
7:0 IGNORE_PAUSE FRAME R/W RX pause pass through map 0
en
_RX 1: Ignore IEEE 802.3x
0: Comply with IEEE 802.3x pause frame
fid
receiving.
Bits [7:0] correspond to ports [7:0],
respectively.
on
C
Table 59: Pause Pass Through for TX Register (Page 00h: Address 3Ah–3Bh)
Broadcom®
April 6, 2016 • 53128-DS07-R Page 158
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 00h: Control Registers
l
tia
Bit Name R/W Description Default
15:9 Reserved RO Reserved –
en
8:0 SW_LEARN_CNTL R/W 1: Software learning control enabled. 0
The behaviors are as follows.
fid
• Forwarding behavior: Incoming packet with
unknown SA will be copied to CPU port.
on
• Learning behavior: Allow S/W to decide
whether incoming packet learn or not. In S/
W learning mode, the H/W learning
C
Forwarding/Learning/Refreshed behavior to
keep hardware operation.
Bit 8: IMP port
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 159
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 00h: Control Registers
Address Description
58h Port 0
59h Port 1
5Ah Port 2
5Bh Port 3
5Ch Port 4
5Dh Port 5
5Eh Port 6
5Fh Port 7
l
tia
Table 63: Port State Override Register (Page 00h: Address 58h–5Fh)
en
BIt Name R/W Description Default
7 Reserved R/W Reserved –
6 Software Override R/W
fid
Writing 1 to this bit allows the values of the bits [7:0]
to be written to the external PHY. Writing 0 to this
bit prevents these values from overriding the
0
on
present external PHY conditions.
5 TXFlow Control Enable R/W The value of this bit overrides the existing 0
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 160
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 00h: Control Registers
Table 63: Port State Override Register (Page 00h: Address 58h–5Fh) (Cont.)
l
tia
1 RGMII_DLL_RXC_ENABL R/W 1 = RGMII RXC clock delay by DLL is enabled Strap pin
E (delay mode) IMP_RXC_DELA
0 = RGMII RXC clock delay by DLL is disabled Y
en
(normal mode)
0 RGMII_DLL_TXC_ENABL R/W 1 = RGMII TXC clock delay by DLL is enabled Strap pin
E (delay mode)
fid
0 = RGMII TXC clock delay by DLL is disabled
IMP_TXC_DELA
Y
on
(normal mode)
C
Table 65: MDIO IMP PORT Address Register (Page 00h: Address 78h)
Table 66: Software Reset Control Register (Page 00h: Address 79h)
Broadcom®
April 6, 2016 • 53128-DS07-R Page 161
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 00h: Control Registers
l
7 Fast_Age_Start/Done R/W Set bit to 1 triggers the fast aging process. 0
tia
When the fast aging process is done, this bit is
cleared to 0.
en
6 Reserved R/W Reserved 0
5 EN_AGE_MCAST R/W Enable Aging Multicast Entry 0
fid
1: Aging multicast Entries in ARL Table
0: Disable Aging Multicast Entries in ARL Table
on
Note: The EN_AGE_MCAST and the EN_AGE_Port
can not enable (set to 1) at the same time.
4 EN_AGE_SPT R/W When set, check spanning tree ID. 0
C
Table 69: Fast-Aging Port Control Register (Page 00h: Address 89h)
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 162
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 00h: Control Registers
l
63:0 CPU_DATA_SHARE R/W Data to be shared by internal 8051 and external 0x0
tia
CPU
en
.
CPU
.
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 163
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 01h: Status Registers
l
46h–EFh – Reserved
tia
F0h–F7h 8 “SPI Data I/O Register (Global, Address F0h)” on page 295, bytes 0–7
F8h–FDh – Reserved
en
FEh 8 “SPI Status Register (Global, Address FEh)” on page 295
FFh 8 “Page Register (Global, Address FFh)” on page 296
fid
on
Link Status Summary (Page 01h: Address 00h)
Table 74: Link Status Summary Register (Page 01h: Address 00h–01h)
C
0 = Link fail
1 = Link pass
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 164
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 01h: Status Registers
l
tia
Table 76: Port Speed Summary Register (Page 01h: Address 04h–07h)
en
BIt Name R/W Description Default
31:18
17:0
Reserved
PORT_SPEED
PO
RO
Reserved
Port speed fid 0
0x2AAAA
on
The speed of each port is reported based on the mapping
below:
• Bits [17:16] = IMP port
C
• 00 = 10 Mbps
• 01 = 100 Mbps
• 10 = 1000 Mbps
• 11 = 200 Mbps (for IMP port only)
Broadcom®
April 6, 2016 • 53128-DS07-R Page 165
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 01h: Status Registers
l
Table 78: PAUSE Status Summary Register (Page 01h: Address 0Ah–0Dh)
tia
BIt Name R/W Description Default
en
31:18 Reserved RO Reserved 0
17:9 RECEIVE_PAUSE_STATE RO Pause state. Receive pause capability 0x100
fid
Bit 17: IMP port
Bits [16:9] correspond to ports [7:0], respectively.
on
0 = Disabled
1 = Enabled
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 166
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 01h: Status Registers
l
tia
Last Source Address Register (Page 01h: Address 10h)
en
.
Table 80: Last Source Address Register Address Summary
Address
10h–15h
fid
Description
Port 0
on
16h–1Bh Port 1
1Ch–21h Port 2
C
22h–27h Port 3
om
28h–2Dh Port 4
2Eh–33h Port 5
34h–39h Port 6
dc
3Ah–3Fh Port 7
40h–45h IMP port
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 167
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 02h: Management/Mirroring Registers
l
10h–11h 16 “Mirror Capture Control Register (Page 02h: Address 10h)” on page 171
tia
12h–13h 16 “Ingress Mirror Control Register (Page 02h: Address 12h)” on page 171
14h–15h 16 “Ingress Mirror Divider Register (Page 02h: Address 14h)” on page 172
en
16h–1Bh 48 “Ingress Mirror MAC Address Register (Page 02h: Address 16h)” on
page 172
1Ch–1Dh
1Eh–1Fh
16
16 fid
“Egress Mirror Control Register (Page 02h: Address 1Ch)” on page 173
“Egress Mirror Divider Register (Page 02h: Address 1Eh)” on page 174
on
20h–25h 48 “Egress Mirror MAC Address Register (Page 02h: Address 20h)” on
page 174
C
26h–EFh – Reserved
30h–33h 8 Device ID number
om
34h–3Fh – Reserved
40h 8 Revision ID number
41h–4Fh – Reserved
dc
F0h–F7h 8 “SPI Data I/O Register (Global, Address F0h)” on page 295, bytes 0–7
F8h–FDh – Reserved
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 168
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 02h: Management/Mirroring Registers
l
4 Reserved R/W Reserved 0
tia
3:2 Reserved R/W Reserved 0
1 En_Rx_BPDU R/W Receive BPDU enable 0
en
Enables all ports to receive BPDUs and forwards to the
IMP port. This bit must be set to globally allow BPDUs
Broadcom®
April 6, 2016 • 53128-DS07-R Page 169
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 02h: Management/Mirroring Registers
l
tia
Table 86: RMON MIB Steering Register (Page 02h: Address 04h–05h)
en
15:9 Reserved R/W Reserved 0
8:0 Override RMON R/W Override RMON receive 0
Receive
fid
Forces the RMON packet size bucket counters from the
normal default of snooping on the receive side of the MAC
on
to the transmit side. This allows the RMON bucket counters
to snoop either transmit or receive, allowing full-duplex
MAC support.
C
Table 87: Aging Time Control Register (Page 02h: Address 06h–09h)
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 170
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 02h: Management/Mirroring Registers
l
5:4 Reserved R/W Reserved 0
tia
3:0 Capture Port R/W Mirror capture port ID 0
Binary value identifies the single unique port that is
en
designated as the port where all ingress and/or egress
traffic is mirrored.
fid
For additional information about port mirroring, see “Port Mirroring” on page 48.
on
Ingress Mirror Control Register (Page 02h: Address 12h)
C
Table 89: Ingress Mirror Control Register (Page 02h: Address 12h–13h)
om
Broadcom®
April 6, 2016 • 53128-DS07-R Page 171
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 02h: Management/Mirroring Registers
Table 89: Ingress Mirror Control Register (Page 02h: Address 12h–13h) (Cont.)
For additional information about port mirroring, see “Port Mirroring” on page 48.
l
tia
Ingress Mirror Divider Register (Page 02h: Address 14h)
en
Table 90: Ingress Mirror Divider Register (Page 02h: Address 14h–15h)
For additional information about port mirroring, see “Port Mirroring” on page 48.
Br
For additional information about port mirroring, see “Port Mirroring” on page 48.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 172
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 02h: Management/Mirroring Registers
l
tia
Address Register (Page 02h: Address 20h)” on
page 174.
en
13 OUT_DIV_EN R/W Egress divider enable 0
The egress divider mirrors every nth egress frame that
has passed through the OUT_MIRROR_FILTER (n
fid
represents the OUT_MIRROR_DIV defined in “Egress
Mirror Divider Register (Page 02h: Address 1Eh)” on
on
page 174).
0 = Disable egress divider feature.
C
For additional information about port mirroring, see “Port Mirroring” on page 48.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 173
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 02h: Management/Mirroring Registers
l
tia
For additional information about port mirroring, see “Port Mirroring” on page 48.
en
Egress Mirror MAC Address Register (Page 02h: Address 20h)
fid
Table 94: Egress Mirror MAC Address Register (Page 02h: Address 20h–25h)
on
BIt Name R/W Description Default
47:0 OUT_MIRROR_MAC R/W Egress mirror MAC address 0
C
For additional information about port mirroring, see “Port Mirroring” on page 48.
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 174
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 02h: Management/Mirroring Registers
l
16 MLD_RPTDONE_FWD_MO R/W MLDReport/DoneMessageForwardingMode 0
tia
DE 1: MLD report/done message frames will be
trapped to CPU port only
en
0: MLD report/done message frames will be
forwarded by L2 result and also copied to CPU
15 MLD_RPTDONE_EN R/W
fid
MLD Report/Done Message Snooping/Redirect 0
Enable
on
1: Enable MLD report/done message snooping/
redirect
0: Disable
C
0: Disable
12 IGMP_QRY_FWD_MODE R/W IGMP Query Message Forwarding Mode 0
1: IGMP query message frames will be trapped
to CPU port only
0: IGMP query message frames will be
forwarded by L2 result and also copied to CPU
11 IGMP_QRY_EN R/W IGMP Query Message Snooping/Redirect 0
Enable
1: Enable IGMP query message Snooping/
Redirect
0: Disable
Broadcom®
April 6, 2016 • 53128-DS07-R Page 175
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 02h: Management/Mirroring Registers
Table 97: High-Level Protocol Control Register (Page 02h: Address 50h–53h) (Cont.)
l
tia
DIP with the Class D IP
address(224.0.0.0~239.255.255.255).
en
7:6 Reserved R/W Reserved 0
5 ICMPv6_FWD_MODE R/W ICMPv6 (exclude MLD) Forwarding Mode 0
1: ICMPv6 frames will be trapped to CPU port
only.
fid
0: ICMPv6 frames will be forwarded by L2 result
on
and also copied to CPU.
4 ICMPv6_EN R/W ICMPv6 (exclude MLD) Snooping/Redirect 0
C
Enable
ICMPv6, with a next header value of 58, will be
classified by IPv6 datagram.
om
Broadcom®
April 6, 2016 • 53128-DS07-R Page 176
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 03h: Interrupt Control Register
l
tia
Table 99: Interrupt Status Register (Page 03h: Address 00h)
en
BIt Name R/W Description Default
31:25 Reserved R/W Reserved –
24:16 Link Status Change
Interrupt
R/W
fid
Each bit is set when the corresponding port status is
changed.
–
on
0 = No link status change
1 = Link status change
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 177
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 03h: Interrupt Control Register
l
tia
BIt Name R/W Description Default
7:1 Reserved RO Reserved 0x0
en
0 IMP_Port_Sleep_ST RO IMP Port Sleep Status. 0x0
S 0 = IMP port is not in IMP_Sleep mode, whenever either
fid
the reset or the counter of IMP Sleep Timer is equal to
zero.
on
Note: The port is in IMP_SLEEP INIT state.
1 = IMP port is in IMP_Sleep mode, when the counter of
IMP Sleep Timer is not equal zero.
C
Table 103: External CPU Interrupt Trigger Register (Page 03h: Address 20h)
Broadcom®
April 6, 2016 • 53128-DS07-R Page 178
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 04h: ARL Control Register
l
tia
18h–1Bh 32 “Multiport Vector N (N = 0–5) Register (Page 04h: Address 18h)” on
page 183
en
1Ch–1Fh – Reserved
20h–27h 64 “Multiport Address N (N=0–5) Register (Page 04h: Address 10h)” on
page 182
28h–2Bh 32
fid
“Multiport Vector N (N = 0–5) Register (Page 04h: Address 18h)” on
page 183
on
2Ch–2Fh – Reserved
30h–37h 64 “Multiport Address N (N=0–5) Register (Page 04h: Address 10h)” on
C
page 182
38h–3Bh 32 “Multiport Vector N (N = 0–5) Register (Page 04h: Address 18h)” on
om
page 183
3Ch–3Fh – Reserved
40h–47h 64 “Multiport Address N (N=0–5) Register (Page 04h: Address 10h)” on
dc
page 182
48h–4Bh 32 “Multiport Vector N (N = 0–5) Register (Page 04h: Address 18h)” on
oa
page 183
4Ch–4Fh – Reserved
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 179
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 04h: ARL Control Register
l
1 = Accelerate the aging 128 times
tia
0 = Keep the original age process
1 Reserved RO – 1
en
0 Hash Disable R/W Hash function disable 0
Disables the hash function of the ARL table so that
fid
entries are directly mapped to the table instead of
being hashed to an index.
on
1 = Disable hash function
0 = Enable hash function
For more information see “Address Table
C
Table 106: BPDU Multicast Address Register (Page 04h: Address 04h–09h)
Broadcom®
April 6, 2016 • 53128-DS07-R Page 180
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 04h: ARL Control Register
l
tia
01: Compare MPORT_ETYPE5 only; Forward
based on MPORT_Vector 5 if matched.
11: Compare MPORT_ETYPE5 and
en
MPORT_ADD5; Forward based on MPORT_Vector
5 if matched.
9:8 MPORT_CTRL4 R/W
fid
Multiport 4 Control
00: Disable Multiport 4 Forward.
00
on
10: Compare MPORT_ADD4 only; Forward based
on MPORT_Vector 4 if matched.
01: Compare MPORT_ETYPE4 only; Forward
C
on MPORT_Vector 3 if matched.
01: Compare MPORT_ETYPE3 only; Forward
based on MPORT_Vector 3 if matched.
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 181
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 04h: ARL Control Register
Table 107: Multiport Control Register (Page 04h: Address 0Eh–0Fh) (Cont.)
l
tia
01: Compare MPORT_ETYPE0 only; Forward
based on MPORT_Vector 0 if matched.
en
11: Compare MPORT_ETYPE0 and
MPORT_ADD0; Forward based on MPORT_Vector
0 if matched.
fid
Multiport Address N (N=0–5) Register (Page 04h: Address 10h)
on
.
Table 108: Multiport Address Register Address Summary
C
Address Description
om
Table 109: Multiport Address Register (Page 04h: Address 10h–17h, 20h–27h, 30h–37h, 40h–47h, 50h–
57h, 60h–67h)
Broadcom®
April 6, 2016 • 53128-DS07-R Page 182
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 04h: ARL Control Register
Table 109: Multiport Address Register (Page 04h: Address 10h–17h, 20h–27h, 30h–37h, 40h–47h, 50h–
57h, 60h–67h) (Cont.)
Address Description
l
tia
18h–1Bh Multiport Vector 0
28h–2Bh Multiport Vector 1
en
38h–3Bh Multiport Vector 2
48h–4Bh Multiport Vector 3
58h–5Bh
68h–6Bh
fid
Multiport Vector 4
Multiport Vector 5
on
C
Table 111: Multiport Vector Register (Page 04h: Address 18h–1Bh, 28h–2Bh, 38h–3Bh, 48h–4Bh, 58h–
5Bh, 68h–6Bh)
om
the chip.
A frame with a DA matching the content of the
Multiport Address Register will be forwarded to
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 183
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 05h: ARL/VTBL Access Registers
l
tia
page 187
1Ch–1Fh – Reserved
en
20h-27h 64 “ARL Table MAC/VID Entry N (N=0-3) Register (Page 05h: Address 10h)” on
page 186
fid
28h-2Bh 32 “ARL Table Data Entry N (N = 0–3) Register (Page 05h: Address 18h)” on
page 187
2Ch-2Fh – Reserved
on
30h-37h 64 “ARL Table MAC/VID Entry N (N=0-3) Register (Page 05h: Address 10h)” on
page 186
C
38h-3Bh 32 “ARL Table Data Entry N (N = 0–3) Register (Page 05h: Address 18h)” on
page 187
om
3Ch-3Fh – Reserved
40h-47h 64 “ARL Table MAC/VID Entry N (N=0-3) Register (Page 05h: Address 10h)” on
page 186
dc
48h-4Bh 32 “ARL Table Data Entry N (N = 0–3) Register (Page 05h: Address 18h)” on
page 187
oa
4Ch-4Fh – Reserved
50h 8 “ARL Table Search Control Register (Page 05h: Address 50h)” on page 188
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 184
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 05h: ARL/VTBL Access Registers
l
tia
write operation is complete.
6:1 Reserved RO Reserved –
en
0 ARL_R/W R/W ARL table read/write bit 0
Specifies whether the ARL command is a read or
write operation.
1 = Read
0 = Write
fid
on
For more information, see “Accessing the ARL Table Entries” on page 63.
C
om
Broadcom®
April 6, 2016 • 53128-DS07-R Page 185
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 05h: ARL/VTBL Access Registers
l
ARL Table MAC/VID Entry N (N=0-3) Register (Page 05h: Address
tia
10h)
en
.
Table 116: ARL Table MAC/VID Entry N (N=0-3) Register Address Summary
Address
10h–17h fid
Description
ARL Table MAC/VID Entry 0
on
20h–27h ARL Table MAC/VID Entry 1
30h–37h ARL Table MAC/VID Entry 2
C
Table 117: ARL Table MAC/VID Entry N (N=0-3) Register (Page 05h: Address 10h–17h, 20h–27h, 30h–
37h, 40h–47h)
dc
Note: Together, the “ARL Table MAC/VID Entry N (N=0-3) Register (Page 05h: Address 10h)” on
page 186 and the “ARL Table Data Entry N (N = 0–3) Register (Page 05h: Address 18h)” on page 187
compose a complete entry in the ARL table. For more information, see “Accessing the ARL Table Entries”
on page 63.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 186
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 05h: ARL/VTBL Access Registers
ARL Table Data Entry N (N = 0–3) Register (Page 05h: Address 18h)
.
Table 118: ARL Table Data Entry N (N=0-3) Register Address Summary
Address Description
18h–1Bh ARL Table Data Entry 0
28h–2Bh ARL Table Data Entry 1
38h–3Bh ARL Table Data Entry 2
48h–4Bh ARL Table Data Entry 3
Table 119: ARL Table Data Entry N (N=0-3) Register (Page 05h: Address 18h–1Bh, 28h–2Bh, 38h–3Bh,
48h–4Bh)
l
tia
31:17 Reserved RO Reserved 0
16 VALID_N R/W Valid bit entry N 0
en
Write this bit to 1 to indicate that a valid MAC
address is stored in the MACADDR_N field
defined in the “ARL Table MAC/VID Entry N
fid
(N=0-3) Register (Page 05h: Address 10h)” on
page 186, and that the entry has not aged out.
Reset when an entry is empty.
on
This information is read from or written to the
ARL table during a read/write command.
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 187
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 05h: ARL/VTBL Access Registers
Table 119: ARL Table Data Entry N (N=0-3) Register (Page 05h: Address 18h–1Bh, 28h–2Bh, 38h–3Bh,
48h–4Bh) (Cont.)
l
PORTID_N Unicast Forward PortID entry N 0
tia
For unicast entries, these bits define the port
number associated with the entry of the ARL
en
table.
Bits [8:4]: Reserved
fid
Bits [3:0]: Port ID/Port Number which identifies
where the station with unique MACADDR_N is
connected.
on
ARL Table Search Control Register (Page 05h: Address 50h)
C
Table 120: ARL Table Search Control Register (Page 05h: Address 50h)
om
Broadcom®
April 6, 2016 • 53128-DS07-R Page 188
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 05h: ARL/VTBL Access Registers
For more information, see “Accessing the ARL Table Entries” on page 63.
l
This is not a direct address of the ARL location and is
tia
intended for factory test/diagnostic use only.
en
ARL Table Search MAC/VID Result N (N=0-1) Register (Page 05h:
Address 60h)
. fid
Table 122: ARL Table Search MAC/VID Result N (N=0-1) Register Address Summary
on
Address Description
C
Table 123: ARL Table Search MAC/VID Result N (N=0-1) Register (Page 05h: Address 60h–67h, 70h–77h)
dc
For more information, see “Accessing the ARL Table Entries” on page 63.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 189
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 05h: ARL/VTBL Access Registers
Address Description
68h–6Bh ARL Table Search Data Result 0
78h–7Bh ARL Table Search Data Result 1
Table 125: ARL Table Search Data Result N (N=0-1) Register (Page 05h: Address 68h–6Bh, 78h–7Bh)
l
tia
This bit stores the valid bit of the ARL table entry
found by the ARL table search function. Reading
this register clears the data from the register and
en
allows the ARL table search function to continue
searching.
15 ARL_SR_STATIC_N RO
fid
ARL search static bit result.
This bit stores the static bit of the ARL table entry
found by the ARL table search function. Reading
0
on
this register clears the data from the register and
allows the ARL table search function to continue
C
searching.
14 ARL_SR_AGE_N RO ARL search age bit result. 0
om
This bit stores the Age bit of the ARL table entry
found by the ARL table search function. Reading
this register clears the data from the register and
allows the ARL table search function to continue
dc
searching.
13:11 ARL_SR_TC_N RO ARL search TC bits result. 0
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 190
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 05h: ARL/VTBL Access Registers
Table 125: ARL Table Search Data Result N (N=0-1) Register (Page 05h: Address 68h–6Bh, 78h–7Bh)
l
tia
For more information, see “Accessing the ARL Table Entries” on page 63.
en
VLAN Table Read/Write/Clear Control Register (Page 05h: Address
80h) fid
on
Table 126: VLAN Table Read/Write/Clear Control Register (Page 05h: Address 80h)
C
complete.
6:2 Reserved R/W Reserved 0
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 191
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 05h: ARL/VTBL Access Registers
l
tia
Table 128: VLAN Table Entry Register (Page 05h: Address 83h–86h)
en
31:22 Reserved RO Reserved 0
21 FWD_MODE R/W This indicates whether the packet forwarding 0
fid
should be based on VLAN membership or based
on ARL flow.
on
1: Based on VLAN membership (excluding
Ingress port)
C
VLAN ports.
VLAN-tagged frames destined for these ports
are untagged before they are forwarded.
When the IEEE 802.1Q feature is enabled,
frames sent via the CPU (MII port configured as
a management port) are tagged.
Note that the packet forwarded to IMP port
should always be VLAN tagged.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 192
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 05h: ARL/VTBL Access Registers
Table 128: VLAN Table Entry Register (Page 05h: Address 83h–86h) (Cont.)
l
tia
en
fid
on
C
om
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 193
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
Page Description
10h Port 0 Internal PHY MII Registers
11h Port 1 Internal PHY MII Registers
12h Port 2 Internal PHY MII Registers
13h Port 3 Internal PHY MII Registers
14h Port 4 Internal PHY MII Registers
15h Port 5 Internal PHY MII Registers
16h Port 6 Internal PHY MII Registers
17h Port 7 Internal PHY MII Registers
l
tia
Table 130: Register Map (Page 10h–17h)
en
SPI Offset MII Number
Address Address of Bits Register Table
10BASE-T/100BASE-TX/1000BASE-T Registers fid
on
00h 00h 16 Table 131: “MII Control Register (Page 10h–17h: Address 00h–01h),” on
page 196
02h 01h 16 Table 132: “MII Status Register (Page 10h–17h: Address 02h–03h),” on
C
page 197
04h–06h 02h 32 Table 133: “PHY Identifier Register MSB (Page 10h–17h: Address 04–07h),”
om
on page 198
08h 04h 16 Table 135: “Auto-Negotiation Advertisement Register (Page 10h–17h:
Address 08h–09h),” on page 199
dc
0Ah 05h 16 Table 136: “Auto-Negotiation Link Partner Ability Register (Page 10h–17h:
Address 0Ah–0Bh),” on page 200
oa
0Ch 06h 16 Table 136: “Auto-Negotiation Link Partner Ability Register (Page 10h–17h:
Address 0Ah–0Bh),” on page 200
Br
0Eh 07h 16 Table 138: “Next Page Transmit Register (Page 10h–17h: Address 0Eh–0Fh),”
on page 202
10h 08h 16 Table 139: “Link Partner Received Next Page Register (Page 10h–17h:
Address 10h–11h),” on page 203
12h 09h 16 Table 140: “1000BASE-T Control Register (Page 10h–17h: Address 12h–
13h),” on page 204
14h 0Ah 16 Table 141: “1000BASE-T Status Register (Page 10h–17h: Address 14h–15h),”
on page 205
16h–1Dh – 16 Reserved (Do not read from or write to a reserved register.)
1Eh 0Fh 16 Table 142: “IEEE Extended Status Register (Page 10h–17h: Address 1Eh–
1Fh),” on page 206
20h 10h 16 Table 143: “PHY Extended Control Register (Page 10h–17h: Address 20h–
21h),” on page 207
Broadcom®
April 6, 2016 • 53128-DS07-R Page 194
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
tia
30h 18h 16 Table 155: “Auxiliary Control Register (Page 10h–17h: Address 30h, Shadow
Value 000),” on page 213
en
Table 156: “10BASE-T Register (Page 10h–17h: Address 30h, Shadow Value
001),” on page 214
Table 157: “Power/MII Control Register (Page 10h–17h: Address 30h, Shadow
Value 010),” on page 215
fid
Table 158: “Miscellaneous Test Register (Page 10h–17h: Address 30h,
on
Shadow Value 100),” on page 216
Table 159: “Miscellaneous Control Register (Page 10h–17h: Address 30h,
Shadow Value 111),” on page 217
C
32h 19h 16 Table 160: “Auxiliary Status Summary Register (Page 10h–17h: Address 32h–
33h),” on page 218
om
34h 1Ah 16 Table 161: “Interrupt Status Register (Page 10h–17h: Address 34h–35h),” on
page 219
36h 1Bh 16 Table 162: “Interrupt Mask Register (Page 10h–17h: Address 36h),” on
dc
page 220
38h 1Ch 16 Table 164: “Spare Control 2 Register (Page 10h–17h: Address 38h, Shadow
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 195
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
MII Control Register (Page 10h–17h: Address 00h–01h)
tia
Table 131: MII Control Register (Page 10h–17h: Address 00h–01h)
en
Bit Name R/W Description Default
15 Reset R/W
SC fid
1 = PHY reset
0 = Normal operation
0
on
14 Internal Loopback R/W 1 = Loopback mode 0
0 = Normal operation
C
10 = 1000 Mbps
01 = 100 Mbps
00 = 10 Mbps
dc
Broadcom®
April 6, 2016 • 53128-DS07-R Page 196
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
Table 131: MII Control Register (Page 10h–17h: Address 00h–01h) (Cont.)
l
14 100BASE-X Full-Duplex RO 1 = 100BASE-X full-duplex capable 1
tia
Capable H 0 = Not 100BASE-X full-duplex capable
13 100BASE-X Half-Duplex RO 1 = 100BASE-X half-duplex capable 1
en
Capable H 0 = Not 100BASE-X half-duplex capable
12 10BASE-T Full-Duplex RO 1 = 10BASE-T full-duplex capable 1
11
Capable
10BASE-T Half-Duplex
H
RO fid
0 = Not 10BASE-T full-duplex capable
1 = 10BASE-T half-duplex capable 1
on
Capable H 0 = Not 10BASE-T half-duplex capable
10 100BASE-T2 Full-Duplex RO 1 = 100BASE-T2 full-duplex capable 0
C
0 = Auto-negotiation is in progress.
4 Remote Fault RO 1 = Remote fault detected. 0
LH 0 = No remote fault detected.
3 Auto-negotiation Ability RO 1 = Auto-negotiation capable 1
H 0 = Not auto-negotiation capable
2 Link Status RO 1 = Link is up (link pass state). 0
LL 0 = Link is down (link fail state).
1 Jabber Detect RO 1 = Jabber condition detected. 0
LH 0 = No jabber condition detected.
0 Extended Capability RO 1 = Extended register capabilities 1
H 0 = No extended register capabilities
Broadcom®
April 6, 2016 • 53128-DS07-R Page 197
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
Table 134: PHY Identifier Register LSB (Page 10h–17h: Address 06h–07h)
l
tia
a. The revision number (n) changes with each silicon revision.
en
The IEEE has issued an Organizationally Unique Identifier (OUI) to Broadcom Corporation. This 24-bit number
allows devices developed by Broadcom to be distinguished from all other manufacturers. The OUI combined
fid
with model numbers and revision numbers assigned by Broadcom precisely identifies a device manufactured
by Broadcom.
on
The [15:0] bits of MII register 02h (PHYID HIGH) contain OUI bits [3:18]. The [15:0] bits of MII register 03h
(PHYID LOW) contain the most significant OUI bits [19:24], six manufacturer’s model number bits, and four
C
Broadcom Corporation's OUI is 00-1B-E9, expressed as hexadecimal values. The binary OUI is 0000-0000-
0001-1011-1110-1001. The model number for the BCM53128 is 21H. Revision numbers start with 0h and
increment by 1 for each chip modification.
dc
Broadcom®
April 6, 2016 • 53128-DS07-R Page 198
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
10 Pause Capable R/W 1 = Capable of full-duplex pause operation 1
tia
0 = Not capable of pause operation
9 100BASE-T4 Capable R/W 1 = 100BASE-T4 capable 0
en
0 = Not 100BASE-T4 capable
8 100BASE-TX Full- R/W 1 = 100BASE-TX full-duplex capable 1
7
Duplex Capable
100BASE-TX Half- R/W
fid
0 = Not 100BASE-TX full-duplex capable
1 = 100BASE-TX half-duplex capable 1
on
Duplex Capable 0 = Not 100BASE-TX half-duplex capable
6 10BASE-T Full-Duplex R/W 1 = 10BASE-T full-duplex capable 1
C
3 R/W 0
oa
2 R/W 0
1 R/W 0
Br
0 R/W 1
Broadcom®
April 6, 2016 • 53128-DS07-R Page 199
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
0 = Link partner does not want asymmetric pause.
tia
10 Pause Capable RO 1 = Link partner is capable of pause operation. 0
0 = Link partner is not capable of pause operation.
en
9 100BASE-T4 Capable RO 1 = Link partner is 100BASE-T4 capable. 0
0 = Link partner is not 100BASE-T4 capable.
8 100BASE-TX Full-Duplex
Capable
RO
fid
1 = Link partner is 100BASE-TX full-duplex capable. 0
0 = Link partner is not 100BASE-TX full-duplex
on
capable.
7 100BASE-TX Half-Duplex RO 1 = Link partner is 100BASE-TX half-duplex capable. 0
C
2 RO 0
1 RO 0
0 RO 0
Note: As indicated by bit 5 of the 10BASE-T/100BASE-TX/1000BASE-T MII Status register, the values
contained in the 10BASE-T/100BASE-TX/1000BASE-T Auto-negotiation Link Partner Ability register are
only guaranteed to be valid after auto-negotiation has successfully completed.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 200
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
Next Page
BCM53128 returns a 1 in bit 15 when the link partner wants to transmit Next Page information.
Acknowledge
BCM53128 returns a 1 in bit 14 when the link partner has acknowledged reception of the link code word;
otherwise, BCM53128 returns a 0.
l
tia
14 Reserved R0 Ignore on read. 0
13 Reserved R0 Ignore on read. 0
en
12 Reserved R0 Ignore on read. 0
11 Reserved R0 Ignore on read. 0
10
9
Reserved
Reserved
R0
R0 fid
Ignore on read.
Ignore on read.
0
0
on
8 Reserved R0 Ignore on read. 0
7 Reserved R0 Ignore on read. 0
C
6 Next Page Receive Location R/W 1 = Bit 5 in register 06h determines next page 1
Able receive location.
om
Broadcom®
April 6, 2016 • 53128-DS07-R Page 201
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
tia
pages.
10 Message/Unformatted Code R/W Next page message code or unformatted 0
en
9 Field R/W data 0
8 R/W 0
7
6
R/W
R/W fid 0
0
on
5 R/W 0
4 R/W 0
C
3 R/W 0
2 R/W 0
om
1 R/W 0
0 R/W 1
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 202
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
Note: Not used with 1000BASE-T next pages.
tia
11 Toggle RO Toggles between exchanges of different next pages. 0
10 Message Code field RO Next page message code or unformatted data 0
en
9 RO 0
8 RO 0
7
6
RO
RO
fid 0
0
on
5 RO 0
4 RO 0
C
3 RO 0
om
2 RO 0
1 RO 0
0 RO 0
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 203
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
tia
10 Repeater/DTE R/W 1 = Repeater/switch device port 1
0 = DTE device
en
9 Advertise 1000BASE- R/W 1 = Advertise 1000BASE-T full-duplex capability. 1
T 0 = Advertise no 1000BASE-T full-duplex
Full-Duplex Capability capability.
8 Advertise 1000BASE- R/W
T
fid
1 = Advertise 1000BASE-T half-duplex
capability.
1
on
Half-Duplex Capability 0 = Advertise no 1000BASE-T half-duplex
capability.
C
Test Mode
The BCM53128 can be placed in 1 of 4 transmit test modes by writing bits [15:13] of the 1000BASE-T Control
register. The transmit test modes are defined in IEEE 802.3ab. When read, these bits return the last value
written. For test modes 1, 2, and 4, the PHY must have auto-negotiation disabled and forced to 1000BASE-T
mode and Auto-MDIX disabled.
• Disable auto-negotiation and force to 1000BASE-T mode (write to register 00h = 0x0040)
• Disable Auto-MDIX (write to register 18h, shadow value 111, bit 9 = 0)
• Enter test modes (write to register 09h, bits [15:13] = the desired test mode)
Broadcom®
April 6, 2016 • 53128-DS07-R Page 204
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
tia
13 Local Receiver Status RO 1 = Local receiver is OK. 0
0 = Local receiver is not OK.
en
12 Remote Receiver Status RO 1 = Remote receiver is OK. 0
0 = Remote receiver is not OK.
11 Link Partner 1000BASE-T
Full-Duplex Capability
RO
fid
1 = Link partner is 1000BASE-T full-duplex
capable.
0
on
0 = Link partner is not 1000BASE-T full-duplex
capable.
10 Link Partner 1000BASE-T RO 1 = Link partner is 1000BASE-T half-duplex 0
C
capable.
9 Reserved RO Ignore on read. 0
8 Reserved RO Ignore on read. 0
dc
6 RO 0
CR
Br
5 RO 0
CR
4 RO 0
CR
3 RO 0
CR
2 RO 0
CR
1 RO 0
CR
0 RO 0
CR
Broadcom®
April 6, 2016 • 53128-DS07-R Page 205
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
Note: As indicated by bit 5 of the MII Status register (0h), the values contained in bits 14, 11, and 10 of
the 1000BASE-T Status register are guaranteed to be valid only after auto-negotiation has successfully
completed.
l
13 1000BASE-T Full-Duplex RO 1 = 1000BASE-T full-duplex capable 1
tia
Capable H 0 = Not 1000BASE-T full-duplex capable
12 1000BASE-T Half-Duplex RO 1 = 1000BASE-T half-duplex capable 1
en
Capable H 0 = Not 1000BASE-T half-duplex capable
11 Reserved RO Ignore on read. 0
10
9
Reserved
Reserved
RO
RO
fid
Ignore on read.
Ignore on read.
0
0
on
8 Reserved RO Ignore on read. 0
7 Reserved RO Ignore on read. 0
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 206
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
tia
(100BASE-T) 0 = Scrambler and descrambler are enabled.
8 Bypass NRZI/MLT3 Encoder/ R/W 1 = Bypass NRZI/MLT3 encoder and decoder. 0
en
Decoder (100BASE-T) 0 = Normal operation
7 Bypass Receive Symbol R/W 1 = The 5B receive symbols are not aligned. 0
6
Alignment (100BASE-T)
Reset Scrambler (100BASE-T) R/W fid
0 = Receive symbols aligned to 5B boundaries
1 = Reset scrambler to initial state. 0
on
SC 0 = Normal scrambler operation
5:3 Reserved – – –
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 207
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
tia
11 Remote Receiver Status RO 1 = Remote receiver is OK. 0
LL 0 = Remote receiver is not OK since last read
en
10 Local Receiver Status RO 1 = Local receiver is OK. 0
LL 0 = Local receiver is not OK since last read.
9 Locked RO
fid
1 = Descrambler is locked.
0 = Descrambler is unlocked.
0
on
8 Link Status RO 1 = Link pass 0
0 = Link fail
C
6 Carrier Extension Error RO 1 = Carrier extension error detected since last read. 0
Detected LH 0 = No carrier extension error since last read.
5 Bad SSD Detected RO 1 = Bad SSD error detected since last read. 0
dc
Broadcom®
April 6, 2016 • 53128-DS07-R Page 208
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
tia
False Carrier Sense Counter Register (Page 10h–17h: Address 26h)
en
Table 146: False Carrier Sense Counter Register (Page 10h–17h: Address 26h–27h)a
Bit
15:8
Name
Reserved RO
R/W
fid
Description
Ignore on read.
Default
00h
on
7:0 False Carrier Sense Counter R/W The number of false carrier sense events since last 00h
CR read.
C
a. Bits 7:0 of this register become the 10BASE-T/100BASE-TX/1000BASE-T Carrier Sense Counter when
register 38h, shadow 11011, bit 9 = 0 and register 3Ch, bit 14 = 0.
om
When bit 9 = 0 in register 1Ch, shadow value 11011 and bit 14 = 0 in register 3Ch, the False Carrier Sense
Counter increments each time the BCM53128 detects a 10BASE-T, 100BASE-TX, 1000BASE-T false carrier
oa
sense on the receive input. This counter freezes at the maximum value of FFh. The counter automatically clears
when read.
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 209
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
tia
when bit 9 = 0 in register 38h, shadow value 11011, and when bit 14 = 1 in register 1Eh, Packets Received with
Transmit Error Codes Counter increments each time. This counter freezes at the maximum value of FFh. The
en
counter automatically clears when read.
15:8 Local Receiver NOT_OK R/W The number of times local receiver was NOT_OK 00h
Counter CR since last read.
om
7:0 Remote Receiver NOT_OK R/W The number of times BCM53128 detected that the 00h
Counter CR remote receiver was NOT_OK since last read.
dc
a. Bits 15:0 of this register become the 10BASE-T, 100BASE-TX, or 1000BASE-T Receiver NOT_OK Counter
when register 38h, shadow 11011, bit 9 = 0 and register 3Ch bit 15 = 0.
oa
When bit 9 = 0 in register 38h, shadow value 11011 and bit 15 = 0 in register 3Ch, this counter increments each
time the 10BASE-T, 100BASE-TX, or 1000BASE-T local receiver enters the NOT_OK state. This counter
freezes at the maximum value of FFh. The counter automatically clears when read.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 210
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
tia
Expansion Register Access Register (Page 10h–17h: Address 2Eh)
en
Table 150: Expansion Register Access Register (Page 10h–17h: Address 2Eh–2Fh)
Bit
15
Name
Reserved
R/W
R/W
fid
Description
Write as 0, ignore on read.
Default
0
on
14 Reserved R/W Write as 0, ignore on read. 0
13 Reserved R/W Write as 0, ignore on read. 0
C
4 R/W 0
3 R/W 0
2 R/W 0
1 R/W 0
0 R/W 0
Broadcom®
April 6, 2016 • 53128-DS07-R Page 211
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
Table 152: Auxiliary Control Shadow Values Access Register (Page 10h–17h: Address 30h)
tia
Shadow Value Register Name
en
000 ”Auxiliary Control Shadow Values Access Register (Page 10h–17h: Address 30h)” on page
212
001
010 fid
”10BASE-T Register (Page 10h–17h: Address 30h, Shadow Value 001)” on page 214
”Power/MII Control Register (Page 10h–17h: Address 30h, Shadow Value 010)” on page
on
215
100 ”Miscellaneous Test Register (Page 10h–17h: Address 30h, Shadow Value 100)” on page
216
C
111 ”Miscellaneous Control Register (Page 10h–17h: Address 30h, Shadow Value 111)” on
page 217
om
Broadcom®
April 6, 2016 • 53128-DS07-R Page 212
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
Table 155: Auxiliary Control Register (Page 10h–17h: Address 30h, Shadow Value 000)
l
tia
only.
13 Edge Rate Control R/W 00 = 4.0 ns 0
(1000BASE-T)
en
12 R/W 01 = 5.0 ns 0
10 = 3.0 ns
11 = 0.0 ns
11 Reserved R/W fid
Write as 0, ignore on read. 0
on
10 Reserved R/W Write as 1, ignore on read. 1
9 Reserved R/W Write as 0, ignore on read. 0
C
10 = 3.0 ns
11 = 0.0 ns
oa
External Loopback
When bit 15 = 1, external loopback operation is enabled. When the bit is cleared, normal operation resumes.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 213
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
When the bit is cleared, the BCM53128 only receives packets up to standard maximum size in length.
l
tia
See the note on “Auxiliary Control Shadow Values Access Register (Page 10h–17h: Address 30h)” on page 212
describing reading from and writing to register 18h.
en
The register set shown above is that for normal operation obtained when the lower 3 bits are 000.
IPG.
0 = Normal operation
11 10BASE-T TXC Invert Mode R/W 1 = Invert TXC output. 0
0 = Normal operation
10 Reserved R/W Write as 0, ignore on read 0
9 Jabber Disable R/W 1 = Jabber function is disabled. 0
0 = Jabber function is enabled
8 Reserved R/W Write as 0, ignore on read. 0
7 Reserved R/W Write as 0, ignore on read. 0
6 10BASE-T Echo Mode R/W 1 = Echo transmit data to receive data 0
0 = Normal operation
Broadcom®
April 6, 2016 • 53128-DS07-R Page 214
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
Table 156: 10BASE-T Register (Page 10h–17h: Address 30h, Shadow Value 001) (Cont.)
l
Power/MII Control Register (Page 10h–17h: Address 30h)
tia
Table 157: Power/MII Control Register (Page 10h–17h: Address 30h, Shadow Value 010)
en
Bit Name R/W Description Default
15
14
Reserved
Reserved
R/W
R/W fid
Write as 0, ignore on read.
Write as 0, ignore on read.
0
0
on
13 Reserved R/W Write as 0, ignore on read. 0
12 Reserved R/W Write as 0, ignore on read. 0
C
0 = Normal operation
4 Reserved R/W Write as 0, ignore on read. 0
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 215
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
12 Reserved R/W Write as 0, ignore on read. 0
tia
11 Reserved R/W Write as 0, ignore on read. 0
10 Reserved R/W Write as 0, ignore on read. 0
en
9 Reserved R/W Write as 0, ignore on read. 0
8 Reserved R/W Write as 0, ignore on read. 0
7
6
Reserved
Reserved
R/W
R/W
fid
Write as 0, ignore on read.
Write as 0, ignore on read.
0
0
on
5 Reserved R/W Write as 0, ignore on read. 0
4 Swap RX MDIX R/W 1 = RX and TX operate on same pair. 0
C
0 = Normal operation
3 10BASE-T Halfout R/W 1 = Transmit 10BASE-T at half amplitude. 0
om
0 = Normal operation
2 Shadow Register Select R/W 000 = Auxiliary control register 1
dc
Broadcom®
April 6, 2016 • 53128-DS07-R Page 216
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
tia
11 Packet Counter Mode R/W 1 = Receive packet counter. 0
0 = Transmit packet counter.
en
10 Reserved R/W Write as 0, ignore on read. 0
9 Force Auto-MDIX Mode R/W 1 = Auto-MDIX is enabled when auto-negotiation 0
is disabled.
fid
0 = Auto-MDIX is disabled when auto-negotiation
is disabled.
on
8 Reserved R/W Write as 0, ignore on read. 0
7 Reserved R/W Write as 0, ignore on read. 0
C
3 MDIO All PHY Select R/W 1 = The PHY ports accepts MDIO writes to PHY 0
address = 00000.
0 = Normal operation
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 217
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
tia
Wait LH 0 = State not entered since last read.
10 Auto-negotiation HCD RO 111 = 1000BASE-T full-duplexa 0
en
9 Current Operating Speed and RO 0
110 = 1000BASE-T half-duplexa
8 Duplex Mode RO 0
101 = 100BASE-TX full-duplexa
fid
100 = 100BASE-T4
011 = 100BASE-TX half-duplexa
on
010 = 10BASE-T full-duplexa
C
auto-negotiation is incomplete.
7 Parallel Detection Fault RO 1 = Parallel link fault is detected. 0
LH 0 = Parallel link fault is not detected.
dc
5 Auto-negotiation Page RO 1 = New page has been received from the link partner. 0
Received LH 0 = New page has not been received.
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 218
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
tia
0 = All counters below are 128K.
10 Auto-negotiation Page Received RO 1 = Page received since last read. 0
en
LH 0 = Interrupt cleared.
9 No HCD Link RO 1 = Negotiated HCD, did not establish link. 0
8 No HCD
LH
RO fid
0 = Interrupt cleared.
1 = Auto-negotiation returned HCD = none. 0
on
LH 0 = Interrupt cleared.
7 Negotiated Unsupported HCD RO 1 = Auto-negotiation HCD is not supported by 0
C
LH BCM53128.
0 = Interrupt cleared.
om
5 Remote Receiver Status Change RO 1 = Remote receiver status changed since last 0
LH read.
oa
0 = Interrupt cleared.
4 Local Receiver Status Change RO 1 = Local receiver status changed since last read. 0
LH 0 = Interrupt cleared.
Br
The INTR LED output is asserted when any bit in 10BASE-T/100BASE-TX/1000BASE-T interrupt status register
is set and the corresponding bit in the 10BASE-T/100BASE-TX/1000BASE-T interrupt mask register is cleared.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 219
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
tia
0 = Interrupt enabled, status bits operate normally.
10 Exceeded High Counter Threshold R/W 1 = Interrupt masked, status bits operate normally. 1
en
0 = Interrupt enabled, status bits operate normally.
9 HCD No Link R/W 1 = Interrupt masked, status bits operate normally. 1
4 Local Receive Status Change R/W 1 = Interrupt masked, status bits operate normally. 1
0 = Interrupt enabled, status bits operate normally.
oa
3 Duplex Mode Change R/W 1 = Interrupt masked, status bits operate normally. 1
0 = Interrupt enabled, status bits operate normally.
Br
2 Link Speed Change R/W 1 = Interrupt masked, status bits operate normally. 1
0 = Interrupt enabled, status bits operate normally.
1 Link Status Change R/W 1 = Interrupt masked, status bits operate normally. 1
0 = Interrupt enabled, status bits operate normally.
0 CRC Error R/W 1 = Interrupt masked, status bits operate normally. 1
0 = Interrupt enabled, status bits operate normally.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 220
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
01001 –
tia
01010 ”Auto Power-Down Register (Page 10h–17h: Address 38h, Shadow Value 01010)” on page
222
en
01101 –
01110 ”LED Selector 2 Register (Page 10h–17h: Address 38h, Shadow Value 01110)” on page 223
11111
fid
”Mode Control Register (Page 10h–17h: Address 38h, Shadow Value 11111)” on page 225
on
Spare Control 2 Register (Page 10h–17h: Address 38h)
C
Table 164: Spare Control 2 Register (Page 10h–17h: Address 38h, Shadow Value 00100)
om
12 R/W 1
11 R/W 0
Br
10 R/W 0
9 Reserved R/W Write as 0, ignore when read. 0
8 Reserved – – –
7 Reserved R/W Write as 0, ignore when read. 0
6 Reserved R/W Write as 0, ignore when read. 0
5 Reserved R/W Write as 0, ignore when read. 0
Broadcom®
April 6, 2016 • 53128-DS07-R Page 221
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
Table 164: Spare Control 2 Register (Page 10h–17h: Address 38h, Shadow Value 00100) (Cont.)
l
tia
0 Reserved R/W Write as 0, ignore when read. 0
en
Auto Power-Down Register (Page 10h–17h: Address 38h)
Default
on
15 Write Enable R/W 1 = Write bits [9:0] 0
0 = Read bits [9:0]
C
12 R/W 0
11 R/W 1
dc
10 R/W 0
9 Reserved R/W Write as 0, ignore when read. 0
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 222
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
7 LED4 Selector R/W 0000 = LINKSPD[1] 0
tia
6 R/W 0001 = LINKSPD[2] 1
0010 = XMITLED
en
5 R/W 1
4 R/W 0011 = ACTIVITY 0
0100 = FDXLED
fid
0101 = SLAVE
0110 = INTR
on
0111 = QUALITY
1000 = RCVLED
C
1001 = WIRESPD_DOWNGRADE
1010 = MULTICOLOR[2]
om
Broadcom®
April 6, 2016 • 53128-DS07-R Page 223
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
Table 166: LED Selector 2 Register (Page 10h–17h: Address 38h, Shadow Value 01110) (Cont.)
l
tia
1100 = RESERVED
1101 = CRS (SGMII mode)
en
1110 = Off (high)
1111 = On (low)
fid
on
C
om
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 224
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
7 Copper Link RO 1 = Link is good on the copper interface. 0
tia
0 = Copper link is down.
6 Reserved – – –
en
5 Copper Energy Detect RO 1 = Energy detected on the copper interface. 0
0 = Energy not detected on the copper interface.
4
3
Reserved
Reserved
RO
RO
fid
Ignore on read.
Ignore on read.
0
1
on
2 Mode Select R/W 00 = GMII 0
1 01 = Reserved 0
C
10 = Reserved
11 = Reserved
om
0 Reserved – – –
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 225
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
tia
11 Link Partner Manual Master/ RO 1 = Link partner manual master/slave configuration 0
Slave Configuration Enable is enabled.
0 = Link partner manual master/slave configuration
en
is disabled.
10 Local Master/Slave Seed R/W Returns the automatically generated master/slave 0
9
8
Value R/W
R/W
fid
random seed. 0
0
on
7 R/W 0
6 R/W 0
C
5 R/W 0
4 R/W 0
om
3 R/W 0
2 R/W 0
dc
1 R/W 0
0 R/W 0
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 226
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
l
tia
11 HCD 1000BASE-T RO 1 = Gigabit full-duplex occurred since last read. 0
Full-Duplex LH 0 = HCD cleared.
en
10 HCD 1000BASE-T RO 1 = Gigabit half-duplex occurred since last read. 0
Half-Duplex LH 0 = HCD cleared.
9 HCD 100BASE-TX
Full-Duplex
RO
LH fid
1 = 100BASE-TX full-duplex occurred since last read.
0 = HCD cleared.
0
on
8 HCD 100BASE-T RO 1 = 100BASE-TX half-duplex occurred since last read. 0
Half-Duplex LH 0 = HCD cleared.
C
4 HCD 1000BASE-T RO 1 = Gigabit half-duplex HCD and link never came up occurred 0
Half-Duplex LH since the last read.
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 227
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 10h–17h: Internal GPHY MII Registers
Table 169: HCD Status Register (Page 10h–17h: Address 3Ah–3Bh) Bit 15 = 1 (Cont.)
Note: Bits [12:0] are also cleared when auto-negotiation is disabled via MII register 00h, bit 12 = 1, or
restarted via MII register 00h, bit 9 = 1.
l
tia
Bit Name R/W Description Default
15 CRC Error Counter R/W 1 = Receiver NOT_OK counters (register 14h) becomes 16 bit CRC 0
en
Selector error counter (CRC errors are counted only after this bit is set).
0 = Normal operation
14
Visibility
fid
Transmit Error Code R/W 1 = False carrier sense counters (register 13h) counts packets
received with transmit error codes.
0 = Normal operation
0
on
13 Reserved R/W Write as 0, ignore when read. 0
12 Force Link R/W 1 = Force link state machine into link pass state. 0
C
Note: Preamble is still required on the first read or write. Preamble suppression cannot be disabled.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 228
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Expansion Registers
Expansion Registers
l
Packet Counter (Copper Only)
tia
The mode of this counter is set by bit 11 of “Miscellaneous Control Register (Page 10h–17h: Address 30h,
en
Shadow Value 111)”. When bit 11 =1, then receive packets (both good and bad CRC error packets) are counted.
When bit 11 = 0, then transmit packets (both good and bad CRC error packets) are counted. This counter is
cleared on read and freezes at FFFFh.
fid
on
Expansion Register 01h: Expansion Interrupt Status
C
Expansion register 00h is enabled by writing to “Expansion Register Access Register (Page 10h–17h: Address
2Eh–2Fh)” bits [11:0] = ‘F01’h, and read/write access is through register 2Ah.
om
Broadcom®
April 6, 2016 • 53128-DS07-R Page 229
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 20h–28h: Port MIB Registers
l
Transmit CRC Checker
tia
When register 30h, Shadow Value 100, bit 15 = 1 and Expansion Register 45h, bit 12 = 1, the transmit CRC
en
checker is enabled. When a transmit CRC error occurs, Expansion Register 01h, bit 0 = 1.
Page Description
om
20h Port 0
21h Port 1
dc
22h Port 2
23h Port 3
oa
24h Port 4
25h Port 5
Br
26h Port 6
27h Port 7
28h IMP port
Broadcom®
April 6, 2016 • 53128-DS07-R Page 230
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 20h–28h: Port MIB Registers
l
18h–1Bh 32 TxUnicastPkts The number of good packets transmitted by a port that are
tia
addressed to a unicast address.
1Ch–1Fh 32 TxCollisions The number of collisions experienced by a port during packet
en
transmissions.
20h–23h 32 TxSingleCollision The number of packets successfully transmitted by a port that
experienced exactly one collision.
24h–27h 32 TxMultiple Collision fid
The number of packets successfully transmitted by a port that
experienced more than one collision.
on
28h–2Bh 32 TxDeferredTransmit The number of packets transmitted by a port for which the first
transmission attempt is delayed because the medium is busy.
C
2Ch–2Fh 32 TxLateCollision The number of times that a collision is detected later than 512
bit-times into the transmission of a packet.
om
30h–33h 32 TxExcessiveCollision The number of packets that are not transmitted from a port
because the packet experienced 16 transmission attempts.
34h–37h 32 TxFrameInDisc The number of valid packets received that are discarded by
dc
Broadcom®
April 6, 2016 • 53128-DS07-R Page 231
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 20h–28h: Port MIB Registers
l
mode with flow control enabled and with the transfer of
tia
PAUSE frames determined by the result of auto-negotiation,
an IEEE 802.3 MAC receiver is required to count all received
en
PAUSE frames, regardless of its half/full-duplex status. An
indication that a MAC is in half-duplex with the RxPausePkts
incrementing indicates a noncompliant transmitting device on
60h–63h 32 Pkts64Octets
the network.
fid
The number of packets (including error packets) that are 64
on
bytes long.
64h–67h 32 Pkts65to127Octets The number of packets (including error packets) that are
between 65 and 127 bytes long.
C
68h–6Bh 32 Pkts128to255Octets The number of packets (including error packets) that are
between 128 and 255 bytes long.
om
6Ch–6Fh 32 Pkts256to511Octets The number of packets (including error packets) that are
between 256 and 511 bytes long.
dc
70h–73h 32 Pkts512to1023Octets The number of packets (including error packets) that are
between 512 and 1023 bytes long.
74h–77h 32 Pkts1024toMaxPktOct The number of packets (including error packets) that are
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 232
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 20h–28h: Port MIB Registers
l
tia
include errored broadcast packets or valid multicast packets.
A0h–A3h 32 RxSAChanges The number of times the SA of good receive packets has
en
changed from the previous value. A count greater than 1
generally indicates the port is connected to a repeater-based
network.
A4h–A7h 32 RxFragments
fid
The number of packets received by a port that are less than 64
bytes (excluding framing bits) and have either an FCS error or
on
an alignment error.
A8h–ABh 32 JumboPkt The number of frames received with frame size greater than
the Standard Maximum Size and less than or equal to the
C
good CRC."
ACh–AFh 32 RXSymbolError The total number of times a valid length packet was received
at a port and at least one invalid data symbol was detected.
dc
Counter only increments once per carrier event and does not
increment on detection of collision during the carrier event.
oa
B0h–B3h 32 InRangeErrors The number of frames received with good CRC and the
following conditions.
The value of Length/Type field is between 46 and 1500
Br
inclusive, and does not match the number or (MAC Client Data
+ PAD) data octets received,
OR
The value of Length/Type field is less than 46, and the number
of data octets received is greater than 46 (which does not
require padding).
B4h–B7h 32 OutOfRangeErrors The number of frames received with good CRC and the value
of Length/Type field is greater than 1500 and less than 1536.
B8h-BBh 32 EEE Low-Power Idle In asymmetric mode, this is simply a count of the number of
Event times that the lowPowerAssert control signal has been
asserted for each MAC. In symmetric mode, this is the count
of the number of times both lowPowerAssert and the
lowPowerIndicate (from the receive path) are asserted
simultaneously.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 233
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 20h–28h: Port MIB Registers
l
tia
FFh 8 “Page Register –
(Global, Address FFh)”
on page 296
en
fid
on
C
om
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 234
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 30h: QoS Registers
l
tia
34h–3Fh – Reserved
40h–45h 48 “DiffServ Priority Map 0 Register (Page 30h: Address 40h)” on page 238
en
46h–4Bh 48 “DiffServ Priority Map 1 Register (Page 30h: Address 46h)” on page 239
4Ch–51h 48 “DiffServ Priority Map 2 Register (Page 30h: Address 4Ch)” on page 239
52h–57h
48h–61h
48
– fid
“DiffServ Priority Map 3 Register (Page 30h: Address 52h)” on page 240
Reserved
on
62h–63h 16 “TC_To_COS Mapping Register (Page 30h: Address 62h–63h)” on
page 241
C
68h–7Fh – Reserved
80h 8 “TX Queue Control Register (Page 30h: Address 80h)” on page 243
81h 8 “TX Queue Weight Register (Page 30h: Address 81h)” on page 243,
dc
Queue 0
82h 8 “TX Queue Weight Register (Page 30h: Address 81h)” on page 243,
oa
Queue 1
83h 8 “TX Queue Weight Register (Page 30h: Address 81h)” on page 243,
Queue 2
Br
84h 8 “TX Queue Weight Register (Page 30h: Address 81h)” on page 243,
Queue 3
85h–86h 16 “COS4 Service Weight Register (Page 30h: Address 85h–86h)” on
page 244
875h–9Fh – Reserved
A0h – Reserved
A1h – Reserved
A2h–EFh – Reserved
F0h–F7h 8 “SPI Data I/O Register (Global, Address F0h)” on page 295, bytes 0–7
F8h–FDh – Reserved
FEh 8 “SPI Status Register (Global, Address FEh)” on page 295
FFh 8 “Page Register (Global, Address FFh)” on page 296
Broadcom®
April 6, 2016 • 53128-DS07-R Page 235
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 30h: QoS Registers
l
priorities are disregarded.
tia
0 = Disable port-based QoS.
1 = Enable port-based QoS.
en
See “Quality of Service” on page 34 for more information.
5:4 Reserved R/W Reserved 0
3:2 QOS_LAYER_SEL R/W
fid
QoS priority selection
These bits determine which QoS priority scheme is
0
on
associated with the frame. See Table 1 on page 36 for more
information.
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 236
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 30h: QoS Registers
l
Port N (N = 0-7, 8) PCP_To_TC Register (Page 30h: Address 10h)
tia
.
Table 180: Port N (N=0-7,8) PCP_To_TC Register Address Summary
en
Address Description
10h–13h
14h–17h
Port 0
Port 1fid
on
18h–1Bh Port 2
1Ch–1Fh Port 3
C
20h–23h Port 4
24h–27h Port 5
om
28h–2Bh Port 6
2Ch–2Fh Port 7
dc
These bits map the IEEE 802.1p priority level to one of the eight priority ID levels in the “TC_To_COS Mapping
Register (Page 30h: Address 62h–63h)” on page 241.
Br
Table 181: Port N (N=0-7,8) PCP_To_TC Register (Page 30h: Address 10h–33h)
Broadcom®
April 6, 2016 • 53128-DS07-R Page 237
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 30h: QoS Registers
Table 182: DiffServ Priority Map 0 Register (Page 30h: Address 40h–45h)
l
35:33 DIFFSERV_ 001011_MAP R/W DiffServ DSCP priority tag field 001011 0
tia
32:30 DIFFSERV_ 001010_MAP R/W DiffServ DSCP priority tag field 001010 0
29:27 DIFFSERV_ 001001_MAP R/W DiffServ DSCP priority tag field 001001 0
en
26:24 DIFFSERV_ 001000_MAP R/W DiffServ DSCP priority tag field 001000 0
23:21 DIFFSERV_ 000111_MAP R/W DiffServ DSCP priority tag field 000111 0
20:18
17:15
DIFFSERV_ 000110_MAP
DIFFSERV_ 000101_MAP
R/W
R/W
fid
DiffServ DSCP priority tag field 000110
DiffServ DSCP priority tag field 000101
0
0
on
14:12 DIFFSERV_ 000100_MAP R/W DiffServ DSCP priority tag field 000100 0
11:9 DIFFSERV_ 000011_MAP R/W DiffServ DSCP priority tag field 000011 0
C
8:6 DIFFSERV_ 000010_MAP R/W DiffServ DSCP priority tag field 000010 0
5:3 DIFFSERV_ 000001_MAP R/W DiffServ DSCP priority tag field 000001 0
om
2:0 DIFFSERV_ 000000_MAP R/W DiffServ DSCP priority tag field 000000 0
dc
Broadcom®
April 6, 2016 • 53128-DS07-R Page 238
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 30h: QoS Registers
Table 183: DiffServ Priority Map 1 Register (Page 30h: Address 46h–4Bh)
l
tia
26:24 DIFFSERV_ 011000_MAP R/W DiffServ DSCP priority tag field 011000 0
23:21 DIFFSERV_ 010111_MAP R/W DiffServ DSCP priority tag field 010111 0
en
20:18 DIFFSERV_ 010110_MAP R/W DiffServ DSCP priority tag field 010110 0
17:15 DIFFSERV_ 010101_MAP R/W DiffServ DSCP priority tag field 010101 0
14:12
11:9
DIFFSERV_ 010100_MAP
DIFFSERV_ 010011_MAP
R/W
R/W fid
DiffServ DSCP priority tag field 010100
DiffServ DSCP priority tag field 010011
0
0
on
8:6 DIFFSERV_ 010010_MAP R/W DiffServ DSCP priority tag field 010010 0
5:3 DIFFSERV_ 010001_MAP R/W DiffServ DSCP priority tag field 010001 0
C
2:0 DIFFSERV_ 010000_MAP R/W DiffServ DSCP priority tag field 010000 0
om
These bits map the DiffServ priority level to one of the eight priority ID levels in the “TC_To_COS Mapping
Register (Page 30h: Address 62h–63h)” on page 241.
Br
Table 184: DiffServ Priority Map 2 Register (Page 30h: Address 4Ch–51h)
Broadcom®
April 6, 2016 • 53128-DS07-R Page 239
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 30h: QoS Registers
Table 184: DiffServ Priority Map 2 Register (Page 30h: Address 4Ch–51h) (Cont.)
l
tia
These bits map the DiffServ priority level to one of the eight priority ID levels in the “TC_To_COS Mapping
Register (Page 30h: Address 62h–63h)” on page 241.
en
Table 185: DiffServ Priority Map 3 Register (Page 30h: Address 52h–57h)
111011_MAP
32:30 DIFFSERV_ R/W DiffServ DSCP priority tag field 111010 0
111010_MAP
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 240
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 30h: QoS Registers
Table 185: DiffServ Priority Map 3 Register (Page 30h: Address 52h–57h) (Cont.)
l
tia
Table 186: TC_To_COS Mapping Register (Page 30h: Address 62h–63h)
en
Bit Name R/W Description Default
15:14 PRI_111_QID R/W Priority ID 111 mapped to TX Queue ID 00
13:12
11:10
PRI_110_QID
PRI_101_QID
R/W
R/W fid
Priority ID 110 mapped to TX Queue ID
Priority ID 101 mapped to TX Queue ID
00
00
on
9:8 PRI_100_QID R/W Priority ID 100 mapped to TX Queue ID 00
7:6 PRI_011_QID R/W Priority ID 011 mapped to TX Queue ID 00
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 241
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 30h: QoS Registers
l
tia
The COS selection is based on the highest COS
values among all the reasons for the packet.
en
8:6 Switching to CPU COS Map R/W The packet forwarded to the CPU for Switching 0
reason.
The COS selection is based on the highest COS
reason.
The COS selection is based on the highest COS
values among all the reasons for the packet.
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 242
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 30h: QoS Registers
l
11: COS3, COS2, COS1 and COS0 are in strict priority.
tia
Strict priority: When it is in strict priority, the priority is COS3 >
COS2 > COS1 > COS0.
en
The G_TXPORT will always serve the higher queue first if it is
not empty.
fid
In this mode, the service weight are don’t care.
Weighted round robin: When it is in weighted round robin
mode, the queues are scheduled in a round robin
on
way according to the service weight of each queue.
C
Table 189: TX Queue Weight Register Queue[0:3] (Page 30h: Address 81h–84h)
oa
The binary value of these bits sets the service weight of 0: 0001
the given queue. The value of 1 allows the queue to send 1: 0010
one packet for every round; the value of 4 allows the
2: 0100
queue to send four packets for every round. It is suggested
that the weight of each queue be Q3 > Q2 > Q1 > Q0 > 0. 3: 1000
Note: The maximum allowable transmit queue weight is
31h. Programming a higher weight than 31h can yield
unexpected results. This field must not be programmed as
zero.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 243
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 30h: QoS Registers
l
When in weighted round robin mode, it is
tia
meaningless to set this field as zero.
en
fid
on
C
om
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 244
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 31h: Port-Based VLAN Registers
l
tia
Table 192: Port-Based VLAN Control Register Address Summary
en
Address Description
00h–01h Port 0
02h–03h
04h–05h
Port 1
Port 2
fid
on
06h–07h Port 3
08h–09h Port 4
C
0Ah–0Bh Port 5
0Ch–0Dh Port 6
om
0Eh–0Fh Port 7
10h–11h IMP port
dc
oa
Table 193: Port VLAN Control Register (Page 31h: Address 00h–11h)
Broadcom®
April 6, 2016 • 53128-DS07-R Page 245
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 32h: Trunking Registers
l
tia
F8h–FDh – Reserved
FEh 8 “SPI Status Register (Global, Address FEh)” on page 295
en
FFh 8 “Page Register (Global, Address FFh)” on page 296
N
2 Reserved R/W Reserved 0
dc
Broadcom®
April 6, 2016 • 53128-DS07-R Page 246
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 32h: Trunking Registers
l
Trunking Group 1 Register (Page 32h: Address 12h)
tia
Table 197: Trunk Group 1 Register (Page 32h: Address 12h–13h)
en
Bit Name R/W Description Default
15:9
8:0
Reserved
Trunk Group Enable
R/W
R/W
Reserved
fid
Trunk group enable
0
0
on
1 = Enable trunk group.
0 = Disable trunk group.
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 247
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 34h: IEEE 802.1Q VLAN Registers
l
0Ah–0Bh 16 “” on page 254
tia
Reserved 32 Reserved
10h–21h 16/port “Default IEEE 802.1Q Tag Register (Page 34h: Address 10h)” on page 255
en
20h–2Fh – Reserved
30h–31h 16 “Double Tagging TPID Register (Page 34h: Address 30h–31h)” on page 256
32h–33h 16
fid
“ISP Port Selection Portmap Register (Page 34h: Address 32h–33h)” on
page 256
on
34h–3Fh – Reserved
40h–43h 32 Reserved
C
44h–48h 32 Reserved
49h–EFh – –
om
F0h–F7h 8 “SPI Data I/O Register (Global, Address F0h)” on page 295, bytes 0–7
F8h–FDh – Reserved
dc
Table 199: Global IEEE 802.1Q Register (Pages 34h: Address 00h)
Broadcom®
April 6, 2016 • 53128-DS07-R Page 248
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 34h: IEEE 802.1Q VLAN Registers
Table 199: Global IEEE 802.1Q Register (Pages 34h: Address 00h) (Cont.)
l
tia
the VID to PVID.
• For a double tag frame with outer VID not = 0,
en
change outer VID to PVID.
0 = No change for 1Q/ISP tag if VID is not 0.
2
1
Reserved
Reserved
R/W
R/W
Reserved
Reserved fid 0
1
on
0 Reserved R/W Reserved 1
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 249
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 34h: IEEE 802.1Q VLAN Registers
l
VLAN forward map.
tia
0 = Multicast frames are checked against the VLAN
forward map.
en
Note: Applied to 802.1Q enable and DT_Mode.
4 Reserved R/W It is illegal to set 1. 0
3 Reserved Multicast
Untag Check
R/W
fid
Reserved multicast (except GMRP and GVRP) VLAN 0
untagged map check bit
on
1 = Reserved multicast (except GMRP and GVRP)
frames are checked against the VLAN untagged map.
0 = Reserved multicast (except GMRP and GVRP)
C
2 Reserved Multicast R/W Reserved multicast (except GMRP and GVRP) VLAN 0
Forward Check forward map check bit
1 = Reserved multicast (except GMRP and GVRP)
dc
Broadcom®
April 6, 2016 • 53128-DS07-R Page 250
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 34h: IEEE 802.1Q VLAN Registers
l
0 = GMRP or GVRP frames are not checked against
tia
the VLAN forward map.
Note: Does not apply to the frame management port.
en
Applied to 802.1Q enable and DT_Mode.
4 Reserved R/W Reserved 1
3
2
Reserved
IMP Frame Forward
R/W
R/W
Reserved
fid
IMP Frame VLAN forward map check bit
0
0
on
Bypass 1 = IMP frames are not checked against the VLAN
forward map.
0 = IMP frames are checked against the VLAN
C
forward map.
Note: Applied to 802.1Q enable and DT_Mode.
om
Table 202: Global VLAN Control 3 Register (Page 34h: Address 03h–04h)
Broadcom®
April 6, 2016 • 53128-DS07-R Page 251
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 34h: IEEE 802.1Q VLAN Registers
l
tia
11 = Forward frame to IMP, but not learn.
Note: Does not apply to IMP port.
en
5 Forward GVRP to R/W Forward all GVRP frames to the frame management 0
Management port bit.
1 = GVRP frames are forwarded to the management
port.
fid
0 = GVRP frames are not forwarded to the
on
management port.
4 Forward GMRP to R/W Forward All GMRP Frames to the frame management 0
Management port bit.
C
11 = Reserved
1 RSV_MCAST_FLOO R/W When the BCM53128 is configured to operate in
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 252
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 34h: IEEE 802.1Q VLAN Registers
l
bypass trunk checking.
tia
0 = Egress directed frames issued from the IMP port
are subject to trunk checking and redirection.
en
3 Drop Invalid VID R/W Drop frames with invalid VID. 0
Frames with an invalid VID do not have a
fid
corresponding entry in the VLAN table.
1 = Ingress frames with invalid VID are dropped.
on
0 = Ingress frames with invalid VID are forwarded to
the IMP port.
2 VID_FFF_Fwding R/W Enable VID FFF forward 0
C
1 = Forward frame
0 = Comply with standard, drop frame
om
Broadcom®
April 6, 2016 • 53128-DS07-R Page 253
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 34h: IEEE 802.1Q VLAN Registers
l
9 EN_MPORT4_untagmap R/W When set to 1, MPORT_ADD4 will be checked 0
tia
by VLAN untag map.
Note: Does not apply to the frame management
en
port.
8 EN_MPORT4 _fwdmap R/W When set to 1, MPORT_ADD4 will be checked 0
fid
by VLAN forward map.
Note: Does not apply to the frame management
port.
on
7 EN_MPORT3_untagmap R/W When set to 1, MPORT_ADD3 will be checked 0
by VLAN untag map.
C
port.
5 EN_MPORT2_untagmap R/W When set to 1, MPORT_ADD2 will be checked 0
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 254
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 34h: IEEE 802.1Q VLAN Registers
Table 205: VLAN Multiport Address Control Register (Page 34h: Address 0Ah–0Bh) (Cont.)
l
tia
Address Description
10h–11h Port 0
en
12h–13h Port 1
14h–15h Port 2
16h–17h
18h–19h
Port 3
Port 4 fid
on
1Ah–1Bh Port 5
1Ch–1Dh Port 6
C
1Eh–1Fh Port 7
20h–21h IMP port
om
Table 207: Default IEEE 802.1Q Tag Register (Page 34h: Address 10h–21h)
dc
Broadcom®
April 6, 2016 • 53128-DS07-R Page 255
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 34h: IEEE 802.1Q VLAN Registers
Table 207: Default IEEE 802.1Q Tag Register (Page 34h: Address 10h–21h) (Cont.)
l
15:0 ISP_TPID R/W The TPID used to identify double tagged frame. 9100
tia
ISP Port Selection Portmap Register (Page 34h: Address 32h–33h)
en
Table 209: ISP Port Selection Portmap Register (Page 34h: Address 32h–33h)
port.
Bit 8: IMP port
om
Broadcom®
April 6, 2016 • 53128-DS07-R Page 256
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 36h: DOS Prevent Register
l
tia
FFh 8 “Page Register (Global, Address FFh)” on page 296
en
DOS Control Register (Page 36h: Address 00h–03h)
Description Default
on
31:14 Reserved RO Reserved 0
13 ICMPv6_LongPing_DROP_EN R/W The ICMPv6 ping (echo request) protocol 0
C
0= Do not drop
12 ICMPv4_LongPing_DROP_EN R/W The ICMPv4 ping (echo request) protocol 0
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 257
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 36h: DOS Prevent Register
Table 211: DOS Control Register (Page 36h: Address 00h–03h) (Cont.)
l
tia
IP datagram or in the first fragment of a
fragmented IP datagram.
1= Drop
en
0= Do not drop
6 TCP_SYNFINScan_DROP_EN R/W SYN = 1 and FIN = 1 in a TCP header 0
fid
carried in an unfragmented IP datagram or
in the first fragment of a fragmented IP
datagram.
on
1= Drop
0= Do not drop
C
0 = Do not drop
4 TCP_NULLScan_DROP_EN R/W Seq_Num = 0 and all TCP_FLAGs = 0 in a 0
oa
1= Drop
0= Do not drop
3 UDP_BLAT_DROP_EN R/W DPort = SPort in a UDP header carried in an 0
unfragmented IP datagram or in the first
fragment of a fragmented IP datagram.
1= Drop
0= Do not drop
2 TCP_BLAT_DROP_EN R/W DPort = SPort in a TCP header carried in an 0
unfragmented IP datagram or in the first
fragment of a fragmented IP datagram.
1= Drop
0= Do not drop
Broadcom®
April 6, 2016 • 53128-DS07-R Page 258
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 36h: DOS Prevent Register
Table 211: DOS Control Register (Page 36h: Address 00h–03h) (Cont.)
l
tia
Maximum ICMPv4 Size Register (Page 36h: Address 08h–0Bh)
en
Table 213: Maximum ICMPv4 Size Register (Page 36h: Address 08h-0Bh)
Bit
31:0
Name
MAX_ICMPv4_SIZE
R/W
R/W fid
Description
Max ICMPv4 size allowed (0–9.6K bytes).
Default
32'd512
on
Maximum ICMPv6 Size Register (Page 36h: Address 0Ch–0Fh)
C
Table 214: Maximum ICMPv6 Size Register (Page 36h: Address 0Ch-0Fh)
om
Table 215: DOS Disable Learn Register (Page 36h: Address 08h-0Bh)
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 259
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 40h: Jumbo Frame Control Register
l
FFh 8 “Page Register (Global, Address FFh)” on page 296
tia
en
Jumbo Frame Port Mask Register (Page 40h: Address 01h)
Table 217: Jumbo Frame Port Mask Registers (Page 40h: Address 01h–04h)
Note: When the Jumbo Frame feature is enabled, the assigned Weight value for the WRR scheduling
cannot be applied fairly over the queues. This is due to the internal Packet Buffer Memory size
limitation.
Note: The Jumbo Frame feature is only supported in 1000 Mbps mode.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 260
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 40h: Jumbo Frame Control Register
l
if the frame length is larger than 1518 bytes.
tia
• If it is configured as 2000, both tagged and
untagged frames will be dropped if the frame
en
length is larger than 2000 bytes.
When jumbo is enabled, all frames will be dropped if
fid
the frame length is larger than 9720 bytes.
The register setting affects the following MIB
parameters:
on
• RxSAChange
• RxGoodOctets
C
• RxUnicastPkts
• RxMulticastPkts
om
• RxBroadcastPkts
• RxOverSizePkts
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 261
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 41h: Broadcast Storm Suppression Register
l
92h–BFh – Reserved
tia
C0h 8 “IMP Port Egress Rate Control Configuration Register (Page 41h: Address
C0h)” on page 267
en
C2h–EFh – Reserved
F0h–F7h 8 “SPI Data I/O Register (Global, Address F0h)” on page 295, bytes 0–7
F8h–FDh
FEh
–
8
Reserved
fid
“SPI Status Register (Global, Address FEh)” on page 295
on
FFh 8 “Page Register (Global, Address FFh)” on page 296
C
Table 220: Ingress Rate Control Configuration Register (Page 41h: Address 00h–03h)
Broadcom®
April 6, 2016 • 53128-DS07-R Page 262
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 41h: Broadcast Storm Suppression Register
Table 220: Ingress Rate Control Configuration Register (Page 41h: Address 00h–03h) (Cont.)
l
tia
Bit 15: Reserved
See “Rate Control” on page 45 for more details.
en
8 BUCK0_ R/W Bit rate mode selection BC_SUPP_EN
BRM_SEL 0 = Absolute bit rate mode—The rate count in the “Port
Receive Rate Control Register (Page 41h: Address 10h)” on
fid
page 264 represents the incoming bit rate as an absolute
data rate.
on
1 = Bit rate normalized to link speed mode—The rate count
in the “Port Receive Rate Control Register (Page 41h:
Address 10h)” on page 264 represents the incoming bit rate
C
TYPE This bit mask determines the type of packets to be monitored 1: 001000
by bucket 0. 0: 000000
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 263
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 41h: Broadcast Storm Suppression Register
Address Description
10h–13h Port 0
14h–17h Port 1
18h–1Bh Port 2
1Ch–1Fh Port 3
20h–23h Port 4
24h–27h Port 5
28h–2Bh Port 6
2Ch–2Fh Port 7
30h–33h IMP port for BCM53128
l
tia
Table 222: Port Rate Control Register (Page 41h: Address 10h–33h)
en
BIt Name R/W Description Default
31:29
28
Reserved
STRM_SUPR_EN
RO
R/W
Reserved
fid
Enable storm suppression (Supported by bucket1).
0
Reflects the
on
0 = Disable strap pin
BC_SUPP_
1 = Enable EN
C
1 = Enable
26 BC_SUPR_EN R/W Enable broadcast storm suppression. 0
0 = Disable
dc
1 = Enable
25 MC_SUPR_EN R/W Enable multicast storm suppression. 0
oa
0 = Disable
1 = Enable
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 264
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 41h: Broadcast Storm Suppression Register
Table 222: Port Rate Control Register (Page 41h: Address 10h–33h) (Cont.)
l
tia
18:11 BUCK1_Rate_Cnt R/W Rate count 10h
The rate count is an integer that increments the rate at
which traffic can ingress the given port without being
en
suppressed. This value is specified on a per port basis.
The programmed values of the rate count and the bit rate
fid
mode of the “Ingress Rate Control Configuration Register
(Page 41h: Address 00h)” on page 262 determine the
bucket bit rate in kilobytes. The bucket bit rate represents
on
the average upper limit for incoming packets selected in
the suppressed packet type mask in the “Ingress Rate
Control Configuration Register (Page 41h: Address 00h)”
C
010 = 16 KB
011 = 32 KB
100 = 64 KB
101 = 500 KB
110 = 500 KB
111 = 500 KB
See “Rate Control” on page 45 for more details.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 265
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 41h: Broadcast Storm Suppression Register
Table 222: Port Rate Control Register (Page 41h: Address 10h–33h) (Cont.)
l
tia
Port Egress Rate Control Configuration Register (Page 41h: Address
80h–91h)
en
Table 223: Port Egress Rate Control Configuration Register Address Summary
Address
80h–81h
fid
Description
Port 0
on
82h–83h Port 1
84h–85h Port 2
C
86h–87h Port 3
om
88h–89h Port 4
8Ah–8Bh Port 5
8Ch–8Dh Port 6
dc
8Eh–8Fh Port 7
90h–91h IMP port
oa
Br
Table 224: Port Egress Rate Control Configuration Registers (Page 41h: Address 80h–91h)
Defaul
BIt Name R/W Description t
15:12 Reserved RO Reserved 0
11 ERC_EN R/W Egress rate control enable ((Absolute Bit Rate) 0
Broadcom®
April 6, 2016 • 53128-DS07-R Page 266
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 41h: Broadcast Storm Suppression Register
Table 224: Port Egress Rate Control Configuration Registers (Page 41h: Address 80h–91h) (Cont.)
Defaul
BIt Name R/W Description t
10:8 BKT_SZE R/W Bucket size 0
This bit determines the maximum size of bucket 0. This is
specified on a per port basis.
000 = 4 KB
001 = 8 KB
010 = 16 KB
011 = 32 KB
100 = 64 KB
101 = 500 KB
110 = 500 KB
111 = 500 KB
l
See “Rate Control” on page 45 for more details.
tia
7:0 RATE_CNT R/W Rate count for bucket 0
en
IMP Port Egress Rate Control Configuration Register (Page 41h:
Address C0h)
fid
on
Table 225: IMP Port Egress Rate Control Configuration Register Address Summary
Address Description
C
Table 226: IMP Port Egress Rate Control Configuration Registers (Page 41h: Address C0h)
dc
Defaul
BIt Name R/W Description t
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 267
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 42h: EAP Register
Table 227: Using Rate_Index to Configure Different Egress Rates for IMP in pps
l
10 2559 26 14076 42 99602 58 1086957
tia
11 2815 27 15105 43 113636 59 1136364
12 3328 28 17146 44 127551 60 1190476
en
13 3840 29 19201 45 142045 61 1250000
14 4352 30 21240 46 213675 62 1315789
15 4863 31 23299 47
fid 284091 63 1388889
on
Page 42h: EAP Register
C
om
00h 8 “EAP Global Control Register (Page 42h: Address 00h)” on page 269
01h 8 “EAP Multiport Address Control Register (Page 42h: Address 01h)” on page 269
oa
02h–09h 64 “EAP Destination IP Register 0 (Page 42h: Address 02h)” on page 270
0Ah–12h 64 “EAP Destination IP Register 1 (Page 42h: Address 0Ah)” on page 270
Br
20h–5Fh 64 “Port EAP Configuration Register (Page 42h: Address 20h)” on page 271
60h–EFh – Reserved
F0h–F7h 8 “SPI Data I/O Register (Global, Address F0h)” on page 295, bytes 0–7
F8h–FDh – Reserved
FEh 8 “SPI Status Register (Global, Address FEh)” on page 295
FFh 8 “Page Register (Global, Address FFh)” on page 296
Broadcom®
April 6, 2016 • 53128-DS07-R Page 268
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 42h: EAP Register
Defaul
BIt Name R/W Description t
7 Reserved R/W Reserved 0
6 EN_RARP R/W When EAP_BLK_MODE is set: 0
1: Allow RARP to pass.
0: Drop RARP
5 EN_BPDU R/W When EAP_BLK_MODE is set: 0
1: BPDU Addresses are allowed to pass.
0: Drop
4 EN_RMC R/W When EAP_BLK_MODE is set: 0
1: Allows DA = 01-80-C2-00-00-02, 04~0F to pass.
l
tia
0: Drop DA = 01-80-C2-00-00-02, 04~0F to pass.
3 EN_DHCP R/W When EAP_BLK_MODE is set: 0
en
1: Allows DHCP to pass
0: Drop DHCP
2 EN_ARP R/W
fid
When EAP_BLK_MODE is set:
1: Allows ARP to pass
0
on
0: Drop ARP
1 EN_2DIP R/W When EAP_BLK_MODE bit is set: 0
C
Table 230: EAP Multiport Address Control Register (Page 42h: Address 01h)
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 269
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 42h: EAP Register
Table 230: EAP Multiport Address Control Register (Page 42h: Address 01h) (Cont.)
l
tia
EAP Destination IP Register 0 (Page 42h: Address 02h)
en
Table 231: EAP Destination IP Registers 0 (Page 42h: Address 02h–09h)
Broadcom®
April 6, 2016 • 53128-DS07-R Page 270
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 42h: EAP Register
Address Description
20h–27h Port 0
28h–2Fh Port 1
30h–37h Port 2
38h–3Fh Port 3
40h–47h Port 4
48h–4Fh Port 5
50h–57h Port 6
58h–5Fh Port 7
l
tia
Table 234: Port EAP Configuration Registers (Page 42h: Address 20h–47h)
en
BIt Name R/W Description Default
63:55 Reserved RO Reserved 0
52:51 EAP_MODE R/W
fid
00 = Basic mode, do not check SA.
01 = Reserved
0
on
10 = Extend mode, check SA and port number, drop if SA
is unknown.
11 = Simplified mode, check SA and port number trap to
C
10: reserved
11: To check EAP_BLK MODE on both ingress and egress
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 271
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 43h: MSPT Register
l
52h–EFh – Reserved
tia
F0h–F7h 8 “SPI Data I/O Register (Global, Address F0h)” on page 295, bytes 0–7
F8h–FDh – Reserved
en
FEh 8 “SPI Status Register (Global, Address FEh)” on page 295
FFh 8 “Page Register (Global, Address FFh)” on page 296
fid
on
MSPT Control Register (Page 43h: Address 00h)
Table 236: MSPT Control Registers (Page 43h: Address 00h–01h)
C
Defaul
om
1: Enable
oa
Table 237: MSPT Aging Control Registers (Page 43h: Address 02h–05h)
Defaul
BIt Name R/W Description t
31:8 Reserved R/W Reserved 0
7: 0 MSPT_AGE_MAP R/W Per spanning tree aging enable 0
Broadcom®
April 6, 2016 • 53128-DS07-R Page 272
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 43h: MSPT Register
Address Description
10h–13h MSPT 0
14h–17h MSPT 1
18h–1Bh MSPT 2
1Ch–1Fh MSPT 3
20h–23h MSPT 4
24h–27h MSPT 5
28h–2Bh MSPT 6
2Ch–2Fh MSPT 7
l
tia
Table 239: MSPT Table Registers (Page 43h: Address 10h–2Fh)
en
Defaul
BIt Name R/W Description t
31:27 Reserved RO Reserved 0
26:24 Reserved R/W Reserved
fid 0
on
23:21 Reserved R/W Spanning tree state for port 7 0
20:18 Reserved R/W Spanning tree state for port 6 0
17:15 SPT_STA5 R/W Spanning tree state for port 5 0
C
011 = Listening
100 = Learning
oa
101 = Forwarding
11:9 SPT_STA3 R/W Spanning tree state for port 3 0
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 273
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 43h: MSPT Register
l
status.
tia
3 EN_MPORT3_BYPASS_SP R/W 1: The MPORT_ADD_3 of “Multiport Address N –
T (N=0–5) Register (Page 04h: Address 10h)” on
en
page 182 is not checked by SPT status.
0: The MPORT_ADD_3 is checked by SPT status.
2 EN_MPORT2_BYPASS_SP R/W
T
fid
1: The MPORT_ADD_2 of “Multiport Address N
(N=0–5) Register (Page 04h: Address 10h)” on
page 182 is not checked by SPT status.
–
on
0: The MPORT_ADD_2 is checked by SPT status.
1 EN_MPORT1_BYPASS_SP R/W 1: The MPORT_ADD_1 of “Multiport Address N –
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 274
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 70h: MIB Snapshot Control Register
l
tia
Table 242: MIB Snapshot Control Register (Page 70h: Address 00h)
en
Bit Name R/W Description Default
7 SNAPSHOT_START/ R/W Write 1'b1 to initiate MIB snapshot access, clear to 0
6
DONE
SNAPSHOT_MIRROR
SC
R/W fid
1'b0 when MIB snapshot access is done
1'b1: enable read address to port MIB, but data 0
on
from MIB snapshot memory.
1'b0: enable to read from port MIB memory
C
71h – The Port Snapshot MIB Registers are same as registers in “MII Control
Register (Page 10h–17h: Address 00h–01h)” on page 196
Broadcom®
April 6, 2016 • 53128-DS07-R Page 275
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 72h: Loop Detection Register
l
tia
F8h–FDh – Reserved
FEh 8 “SPI Status Register (Global, Address FEh)” on page 295
en
FFh 8 “Page Register (Global, Address FFh)” on page 296
0 = Disable
1 = Enable
dc
1 = Enable
10:3 LED_RST_TIMR_CTR R/W Number of missed discovery time before LED warning 0x4
L portmap to be reset.
Br
2 OV_PAUSE_ON R/W 1 = Transmit frame in highest queue even the port is in 0x1
pause on state.
0 = Transmit frame follow the pause state rule.
1:0 DISCOVERY_FRAME R/W Specifies which queue to be put for the received discovery 0x1
_QUEUE_SEL frame.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 276
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 72h: Loop Detection Register
Table 246: Discovery Frame Timer Control Registers (Page 72h: Address 02h)
l
Table 247: LED Warning Port Map Registers (Page 72h: Address 03h–04h)
tia
Defaul
BIt Name R/W Description t
en
15:9 Reserved R/O Reserved 0
8:0 LED_WARNING_POR R/O
TMAP
Bit 8: IMP port
fid
Bits [7:0] correspond to ports [7:0], respectively.
0
on
Each bit shows the status of Loop Detected on the
corresponding port.
C
47:0 Module_ID_SA RO – 0
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 277
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 88h: IMP Port External PHY MII Registers Page Summary
l
tia
Table 250: Loop Detect Source Address Registers (Page 72h: Address 11h–16h)
en
BIt Name R/W Description Default
47:0 LD_SA R/W Loop detection frame SA 01-80-C2-00-00-01
fid
on
Page 88h: IMP Port External PHY MII Registers Page Summary
C
Table 251: IMP Port External PHY MII Registers Page Summary
om
Broadcom®
April 6, 2016 • 53128-DS07-R Page 278
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 90h: BroadSync HD Register
l
10h–13h 32 “BroadSync HD Time Base Register (Page 90h: Address 10h–13h)” on
tia
page 281
14h–17h 32 “BroadSync HD Time Base Adjustment Register (Page 90h: Address 14h–17)”
en
on page 281
18h–1Bh 32 “BroadSync HD Slot Number and Tick Counter Register (Page 90h: Address
1Ch–1Fh 32
18h–1Bh)” on page 282
fid
“BroadSync HD Slot Adjustment Register (Page 90h: Address 1Ch–1Fh)” on
on
page 282
20h–2Fh – Reserved
30h–3Fh 16 “BroadSync HD Class 5 Bandwidth Control Register (Page 90h: Address 30h)”
C
on page 283
40h–5Fh – Reserved
om
60h–6Fh 16 “BroadSync HD Class 4 Bandwidth Control Register (Page 90h: Address 60h)”
on page 283
dc
70h–8Fh – Reserved
90h–AFh 32 “BroadSync HD Egress Time Stamp Register (Page 90h: Address 90h)” on
page 284
oa
B0h–CFh – Reserved
D0h 8 “BroadSync HD Egress Time Stamp Status Register (Page 90h: Address D0h)”
Br
on page 284
D1h–DFh – Reserved
E0h–E1h 16 “BroadSync HD Link Status Register (Page 90h: Address E0h–E1h)” on
page 285
B2h–EFh – Reserved
F0h–F7h 8 “SPI Data I/O Register (Global, Address F0h)” on page 295 bytes 0-7
F8h–FDh – Reserved
FEh 8 “SPI Status Register (Global, Address FEh)” on page 295
FFh 8 “Page Register (Global, Address FFh)” on page 296
Broadcom®
April 6, 2016 • 53128-DS07-R Page 279
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 90h: BroadSync HD Register
l
tia
7:1 Reserved RO Reserved 0
0 TSRPT_PKT_EN R/W This field is to allow the Time Stamp Reporting 0
en
Packet to IMP port when the time
synchronization packet transmitted on egress
port.
fid
on
BroadSync HD PCP Value Control Register (Page 90h: Address 03h)
C
Table 255: BroadSync HD PCP Value Control Register (Page 90h: Address 03h)
Broadcom®
April 6, 2016 • 53128-DS07-R Page 280
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 90h: BroadSync HD Register
l
BIt Name R/W Description Default
tia
31:0 TIME BASE RO Time Base 0
en
This is a 32-bit free running clock (running at 25 MHz) for
BroadSync HD time base. Ingress port and Egress port use it
for Time Synchronization Packet Time Stamp.
fid
BroadSync HD Time Base Adjustment Register (Page 90h: Address
on
14h–17)
C
Table 258: BroadSync HD Time Base Adjustment Register (Page 90h: Address 14h–17h)
om
Broadcom®
April 6, 2016 • 53128-DS07-R Page 281
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 90h: BroadSync HD Register
l
4:0 SLOT NUMBER R/W This field specifies the Slot Number for 8’h0
tia
BroadSync HD.
en
BroadSync HD Slot Adjustment Register (Page 90h: Address 1Ch–
1Fh)
fid
Table 260: BroadSync HD Slot Adjustment Register (Page 90h: Address 1Ch–1Fh)
on
BIt Name R/W Description Default
C
01 = 2 ms
10 = 4 ms
oa
11 = Reserved
Class 5 traffic slot time is always 125s period.
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 282
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 90h: BroadSync HD Register
Address Description
30h–31h Port 0
32h–33h Port 1
34h–35h Port 2
36h–37h Port 3
38h–39h Port 4
3Ah-3Bh Port 5
3Ch–3Dh Port 6
3Eh-3Fh Port 7
l
tia
Table 262: BroadSync HD Class 5 Bandwidth Control Register (Page 90h: Address 30h–31h, 32h–33h,
en
34h–35h, 36h–37h, 38h–39h)
14 Reserved RO Reserved 0
13:0 C5_BANDWIDTH R/W This field defines the byte count allowed for Class 5 traffic 14’h0
transmission within a slot time.
dc
oa
.
Table 263: BroadSync HD Class 4 Bandwidth Control Register Address Summary
Address Description
60h–61h Port 0
62h–63h Port 1
64h–65h Port 2
66h–67h Port 3
68h–69h Port 4
6Ah-6Bh Port 5
6Ch–6Dh Port 6
6Eh-6Fh Port 7
Broadcom®
April 6, 2016 • 53128-DS07-R Page 283
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 90h: BroadSync HD Register
Table 264: BroadSync HD Class 4 Bandwidth Control Register (Page 90h: Address 60h–61h, 62h–63h,
64h–65h, 66h–67h, 68h–69h)
Address Description
90h–93h Port 0
l
94h–97h Port 1
tia
98h–9Bh Port 2
en
9Ch–9Fh Port 3
A0h–A3h Port 4
A4h-A7h Port 5
A8h–ABh fid
Port 6
on
ACh-AFh Port 7
C
Table 266: BroadSync HD Egress Time Stamp Register (Page 90h: Address 90h–93h, 94h–97h, 98h–9Bh,
9Ch–9Fh, A0h–A3h, A4h–A7h)
om
It uses 32-bit time base as time stamping. The time between the
departure of first byte of MAC DA and the time stamping point
should be constant.
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 284
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 90h: BroadSync HD Register
l
tia
en
fid
on
C
om
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 285
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 91h: Traffic Remarking Register
l
FFh 8 “Page Register (Global, Address FFh)” on page 296
tia
en
Traffic Remarking Control Register (Page 91h: Address 00h)
Table 270: Traffic Remarking Control Register (Page 91h: Address 00h)
Broadcom®
April 6, 2016 • 53128-DS07-R Page 286
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 91h: Traffic Remarking Register
Address Description
10h-17h Port 0
18h-1Fh Port 1
20h-27h Port 2
28h-2Fh Port 3
30h-37h Port 4
38h-3Fh Port 5
40h-47h Port 6
48h-4Fh Port 7
l
tia
50h-57h IMP
en
Table 272: Egress Non-BroadSync HD Packet TC to PCP Mapping Register (Page 91h: Address 10h–
17h, 18h–1Fh, 20h–27h, 28h–2Fh, 30h–37h, 38h–3Fh, 50h-57h)
Broadcom®
April 6, 2016 • 53128-DS07-R Page 287
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 92h: EEE Control Register
l
tia
7Ch-9Ch 32 “EEE Min LP Timer FE Register (Page 92h: Address 7Ch)” on page 292
A0h-B0h 16 “EEE Wake Timer Gig Register (Page 92h: Address A0h)” on page 292
en
B2h-C2h 16 “EEE Wake Timer FE Register (Page 92h: Address B2h)” on page 293
C4h 16 “EEE GLB Congst TH Register (Page 92h: Address C4h)” on page 293
C6h-D0h 16
fid
“EEE TXQ Cong TH Register (Page 92h: Address C6h)” on page 293
on
EEE Enable Control Register (Page 92h: Address 00h)
C
Table 274: EEE Enable Control Register (Page 92h: Address 00h)
1 = Enable EEE
0 = Disable EEE
oa
Broadcom®
April 6, 2016 • 53128-DS07-R Page 288
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 92h: EEE Control Register
l
tia
EEE LPI Indicate Register (Page 92h: Address 04h)
en
Table 276: EEE LPI Indicate Register (Page 92h: Address 04h)
Bit
15:9
Name
Reserved
R/W
RO
Description
Reserved fid Default
0x033
on
8:0 LPI_Indicate RO Low Power Indicate output signal status. 0x0
1 = Low Power Indicate asserted
C
Table 277: EEE RX Idle Symbol Register (Page 92h: Address 06h)
Broadcom®
April 6, 2016 • 53128-DS07-R Page 289
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 92h: EEE Control Register
Table 279: EEE Sleep Timer Gig Register (Page 92h: Address 10h)
Address Description
10h – 13h Port 0
14h – 17h Port 1
l
18h – 1Bh Port 2
tia
1Ch – 1Fh Port 3
20h – 23h Port 4
en
24h – 27h Port 5
28h – 2Bh Port 6
2Ch – 2Fh
30h – 33h
Port 7
IMP
fid
on
C
Table 280: EEE Sleep Timer Gig Register (Page 92h: Address 10h)
31:0 Sleep Timer Gig R/W EEE sleep delay timer load value for 1G operation. 0x4
The unit is 1 sec.
oa
Table 281: EEE Sleep Timer FE Register (Page 92h: Address 34h)
Br
Address Description
34h – 37h Port 0
38h – 3Bh Port 1
3Ch – 3Fh Port 2
40h – 43h Port 3
44h – 47h Port 4
48h – 4Bh Port 5
4Ch – 4Fh Port 6
50h – 53h Port 7
54h – 57h IMP
Broadcom®
April 6, 2016 • 53128-DS07-R Page 290
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 92h: EEE Control Register
Table 283: EEE Min LP Timer Gig Register (Page 92h: Address 58h)
Address Description
58h – 5Bh Port 0
5Ch – 5Fh Port 1
60h – 63h Port 2
l
tia
64h – 67h Port 3
68h – 6Bh Port 4
en
6Ch – 6Fh Port 5
70h – 73h Port 6
74h – 77h
78h – 7Bh
Port 7
IMP fid
on
EEE Min LP Timer Gig Register (Page 92h: Address 58h)
C
Table 284: EEE Min LP Timer Gig Register (Page 92h: Address 58h)
om
Table 285: EEE Min LP Timer FE Register (Page 92h: Address 7Ch)
Br
Address Description
7Ch – 7Fh Port 0
80h – 83h Port 1
84h – 87h Port 2
88h – 8Bh Port 3
8Ch – 8Fh Port 4
90h – 93h Port 5
94h – 97h Port 6
98h – 9Bh Port 7
9Ch – 9Fh IMP
Broadcom®
April 6, 2016 • 53128-DS07-R Page 291
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 92h: EEE Control Register
Table 287: EEE Wake Timer Gig Register (Page 92h: Address A0h)
Address Description
A0h – A1h Port 0
A2h – A3h Port 1
A4h – A5h Port 2
l
A6h – A7h Port 3
tia
A8h – A9h Port 4
AAh – ABh Port 5
en
ACh – ADh Port 6
AEh – AFh Port 7
B0h – B1h IMP
fid
on
EEE Wake Timer Gig Register (Page 92h: Address A0h)
C
Table 288: EEE Wake Timer Gig Register (Page 92h: Address A0h)
om
Table 289: EEE Wake Timer FE Register (Page 92h: Address B2h)
Br
Address Description
B2h – B3h Port 0
B4h – B5h Port 1
B6h – B7h Port 2
B8h – B9h Port 3
BAh – BBh Port 4
BCh – BDh Port 5
BEh – BFh Port 6
C0h – C1h Port 7
C2h – C3h IMP
Broadcom®
April 6, 2016 • 53128-DS07-R Page 292
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 92h: EEE Control Register
l
tia
threshold is set to zero, then EEE is effectively
disabled. If this threshold is set equal to or greater
than 768 (the number of cells implemented in the
en
packet buffer), then protections against packet loss
are disable.
fid
The unit is “Buffer Cell Size”: 256-byte cell.
on
Table 292: EEE TXQ CONG TH Register (Page 92h: Address C6h)
C
Address Description
C6h C7hEEE TXQ 0 CONG TH Register
om
Broadcom®
April 6, 2016 • 53128-DS07-R Page 293
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Page 92h: EEE Control Register
Table 293: EEE TXQ Cong TH Register (Page 92h: Address C6h)
l
tia
EEE TXQ5: 0x1
en
fid
on
C
om
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 294
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Global Registers
Global Registers
Table 294: Global Registers (Maps to All Pages)
l
tia
F8–FDh – Reserved
FEh 8 “SPI Status Register (Global, Address FEh)” on page 295
en
FFh 8 “Page Register (Global, Address FFh)” on page 296
Table 296: SPI Status Register (Maps to All Registers, Address FEh)
oa
6 Reserved RO Reserved 0
5 RACK RO SPI read data ready acknowledgement (self-clearing) 0
(SC)
4:2 Reserved RO Reserved 0
1 Reserved RO Reserved 0
0 Reserved RO Reserved 0
Broadcom®
April 6, 2016 • 53128-DS07-R Page 295
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Global Registers
l
tia
en
fid
on
C
om
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 296
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Electrical Characteristics
l
VESD Electrostatic discharge – 2000 V
tia
– Input voltage: digital input pins – – V
en
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.
fid
on
Recommended Operating Conditions
C
– – – V
VIH High-level input voltage All digital inputs 2.0 – V
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 297
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Electrical Characteristics
Electrical Characteristics
Table 300: Electrical Characteristics
Symbo
l Parameter Pins Conditions Minimum Typical Maximum Units
IDD Maximum supply 1.2V power rail Estimated – 1130 – mA
current (for GMII/ 3.3V power rail Estimated – 496 – mA
RvMII/MII OVDD (3.3V for GMII/ Estimated – 36 – mA
operation) RvMII/MII)
IDD Maximum supply 1.2V power rail Estimated – 1130 – mA
current (for RGMII 3.3V power rail Estimated – 496 – mA
operation) 2.5V power rail Estimated – 26 – mA
1.5V power rail – – – – mA
l
tia
VOH High-level Digital output pins at 3.3V IOH = 8 mA 2.1 – – V
output voltage
Digital output pins at 2.5V IOH = 8 mA 2.0 – – V
en
Digital output pins at 1.5V IOH = 8 mA 1.1 – – V
VOL Low-level Digital output pins at 3.3V IOL = 8 mA – – 0.5 V
output voltage
fid
Digital output pins at 2.5V IOL = 8 mA – – 0.4 V
on
Digital output pins at 1.5V IOL = 8 mA – – 0.4 V
VIH High-level Digital input pins at 3.3V – 1.7 – – V
C
XTALI – 2.0 – – V
VIL Low-level Digital input pins at 3.3V – – – 0.9 V
input voltage Digital input pins at 2.5V – – – 0.7 V
dc
Digital inputs – – – – µA
w/ pull-up resistors
Digital inputs – – – – µA
w/ pull-down resistors
Digital inputs – – – – µA
w/ pull-down resistors
All other digital inputs – – – – µA
Broadcom®
April 6, 2016 • 53128-DS07-R Page 298
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Timing Characteristics
Power
t104 t106
Rails
t101 t103
XTALI
t102
t107 t108
l
tia
RESET
t105
t109
en
Configuration
Strap Signals Valid
fid
on
Table 301: Reset and Clock Timing
Broadcom®
April 6, 2016 • 53128-DS07-R Page 299
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet MII Interface Timing
t402
t401 t403 t404
RXC
(Input)
RXDV
l
tia
RXD
en
Parameter Description
fid
Table 302: MII Input Timing
– Duty cycle – – –
oa
t406
t405
TXC
OpP
TXEN
TXD
Broadcom®
April 6, 2016 • 53128-DS07-R Page 300
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet TMII Interface Timing
l
Figure 52: TMII Input
tia
en
t402
t401 t403 t404
RXC
(Input)
fid
on
RXDV
RXD
C
om
Broadcom®
April 6, 2016 • 53128-DS07-R Page 301
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Reverse MII/TMII Interface Timing
t406
t405
TXC
OpP
TXEN
TXD
l
tia
Table 305: TMII Output Timing
en
t405 TXC high to TXEN, TXD valid 0 ns – 12.5 ns
t406 TXC high to TXEN, TXD invalid (hold) 0 ns – –
fid
on
Reverse MII/TMII Interface Timing
C
The following specifies timing information regarding the Reverse MII/TMII Interface pins.
om
t402y
t404y
Br
t401y t403y
RXC
(Output )
RXDV
RXD
Broadcom®
April 6, 2016 • 53128-DS07-R Page 302
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Reverse MII/TMII Interface Timing
l
tia
RXC high/low time (10BASE-T mode) t403R 8 – 12 ns
RXDV, RXD to RXC rising hold time t404R 0 – – ns
en
Reverse MII Output Timing
fid
Figure 55: Reverse MII Output Timing
on
t405 R t407 R
C
t408 R t406R
TXC
(Output )
om
TXEN
dc
TXD
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 303
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet RGMII Interface Timing
l
tia
Figure 56: RGMII Output Timing (Normal Mode)
en
GTX_CLK
(at source)
fid
on
TXD [3:0]
TX_CTL
C
t201 t201
om
Note: The output timing in 10/100M operation is always as specified in the delayed mode.
Broadcom®
April 6, 2016 • 53128-DS07-R Page 304
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet RGMII Interface Timing
GTX_CLK
(internal)
Delayed
GTX_CLK
(actual output
at source)
t201D t202D
TXD [3:0]
l
TX_CTRL
tia
t202D
t201D
en
fid
Table 311: RGMII Output Timing (Delayed Mode)
on
Description Parameter Min Typ Max Units
GTX_CLK clock period (1000M mode) – 7.2 8 8.8 ns
C
mode)
Duty cycle for 1000M (GE) – 45 50 55 %
Duty cycle for 10/100M (FE) – 40 50 60 %
Broadcom®
April 6, 2016 • 53128-DS07-R Page 305
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet RGMII Interface Timing
RXCLK
t301 t302
t302 t301
RXD[3:0]
RX_CTRL
l
tia
Description Parameter Min Typ Max Units
en
RXCLK clock period (1000M mode) – 7.2 8 8.8 ns
RXCLK clock period (100M mode) – 36 40 44 ns
RXCLK clock period (10M mode)
TsetupR
Input setup time: valid data to clock
–
t301 fid 360
1.0
400
2.0
440
–
ns
ns
on
TholdR t302 1.0 2.0 – ns
Input hold time: clock to valid data
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 306
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet RGMII Interface Timing
R XCLK
Delayed RXCLK
(Actual destination) t302D
t302D
t301D
RXD [3:0]
l
RX_CTRL
tia
t301D
en
Table 313: RGMII Input Timing (Delayed Mode)
Broadcom®
April 6, 2016 • 53128-DS07-R Page 307
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet GMII Interface Timing
t 502
GTX_CLK
TXEN
t501
l
tia
TXD
en
fid
Table 314: GMII Output Timing
on
Description Parameter Min Typ Max Units
GTX_CLK clock period (1000M mode) – 7.5 8 8.5 ns
C
t503
t504
RXCLK
RXDV
RXD
Broadcom®
April 6, 2016 • 53128-DS07-R Page 308
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet MDC/MDIO Timing
MDC/MDIO Timing
The following specifies timing information regarding the MDC/MDIO interface pins.
l
tia
t401 t402
en
MDC
t402
MDIO
(Into PHY)
t403
fid
on
t404
C
MDIO
(From PHY)
om
t405
dc
MDC high/low – 30 – – ns
MDC rise/fall time t402 – – 10 ns
MDIO input setup time to MDC rising t403 7.5 – – ns
MDIO input hold time from MDC rising t404 7.5 – – ns
MDIO output delay from MDC rising t405 0 – 45 ns
Broadcom®
April 6, 2016 • 53128-DS07-R Page 309
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Serial LED Interface Timing
l
tia
t301
t302
en
t304
t303
LEDCLK fid
on
LEDDATA S0 S1 S2 SN S0
C
t305
om
Broadcom®
April 6, 2016 • 53128-DS07-R Page 310
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet SPI Timings
SPI Timings
Figure 64: SPI Timings, SS Asserted During SCK High
t601
t603 t604
t602
SCK
t608 = 20 ns
SS t607 = 10 ns
MOSI
l
t605 t606
tia
MISO
en
fid
Note: Advanced timing extracted from statistical data. It may or may not reflect the true timing of the
device.
on
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 311
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet EEPROM Timing
EEPROM Timing
Figure 65: EEPROM Timing
t701
t702
SCK
SS t703 t704
MISO
t705 t706
l
MOSI
tia
en
Table 320: EEPROM Timing
Description Parameter
fid
Minimum Typical Maximum
on
SCK clock frequency t701 – 200 kHz –
SCK high/low time t702 – 2.5 s –
C
Broadcom®
April 6, 2016 • 53128-DS07-R Page 312
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Serial Flash Timing
l
tia
en
fid
on
C
om
time - 5 ns
The falling edge of FCSB to first rising edge t805 5 ns – –
of FSCLK
The last rising edge of FSCLK to rising edge t806 5 ns – –
of FCSB
Broadcom®
April 6, 2016 • 53128-DS07-R Page 313
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Thermal Characteristics
Note: The maximum allowed junction temperature is 125 ºC. Table 322 and Table 323 on page 314
show the estimated junction temperature with heat sink.
Table 322: BCM53128KQLE Package without Heat Sink, 4-Layer Board, P = 3.1W
l
tia
JC (ºC/W) 14.12
Package Thermal Performance Data
en
Air Velocity TJ_max TT JA ȞJT ȞJB
m/s
0
ft/min
0
(ºC)
124.19
(ºC)
122.86 fid
(ºC/W)
17.48
(ºC/W)
0.43
(ºC/W)
9.35
on
0.508 100 118.59 117.26 15.67 0.43 9.38
1.016 200 115.70 114.25 14.74 0.47 9.44
C
Table 323: BCM53128KQLE Package with Heat Sink, 2-Layer Board, P = 3.1W
dc
JB (ºC/W) 0.98
JC (ºC/W) 14.12
External heat sink Heat sink: 28 mm x 28 mm x 15 mm, k = 180 (W/m*k), aluminium blade-fin.
Thermal interface: Loctite 384, 0.1 mm thick, k = 0.757 W/m-k
Package Thermal Performance Data
Broadcom®
April 6, 2016 • 53128-DS07-R Page 314
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Thermal Characteristics
Table 323: BCM53128KQLE Package with Heat Sink, 2-Layer Board, P = 3.1W
Table 324: BCM53128IQLE Package with Heat Sink, 4-layer Board, P=3.1W
l
tia
Air Velocity TJ_max TT JA ȞJT ȞJB
en
0 0 124.07 106.76 12.6 5.58 7.16
0.508 100 118.36 100.33 10.76 5.81 7.03
1.016
2.032
200
400
116.69
114.97
98.55
96.84
fid
10.22
9.67
5.85
5.85
7.03
7.03
on
3.048 600 114.25 96.12 9.43 5.85 7.02
C
om
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 315
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Mechanical Information
l
tia
en
fid
on
C
om
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 316
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet Ordering Information
l
tia
en
fid
on
C
om
dc
oa
Br
Broadcom®
April 6, 2016 • 53128-DS07-R Page 317
BROADCOM CONFIDENTIAL
BCM53128 Data Sheet
l
tia
en
fid
on
C
om
dc
oa
Br
Broadcom® 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 is believed to be accurate and reliable. However, Broadcom 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.
Broadcom
Web: www.broadcom.com
Corporate Headquarters: San Jose, CA
© 2016 by Broadcom. All rights reserved.