Support 1k MAC address
512k bits packet buffer memory
Support auto-polarity for 10 Mbps
Support filter/ forward special DA option
Support broadcast storm protection
Auto MDI-MDIX option
Support port security option to lock the first
MAC address
Support one MII/RMII port, which works at 100
Mbps full duplex for router application
Support port base VLAN & tag VLAN
Support CoS
Support SMART MAC function
Support spanning tree protocol
Support max forwarding packet length 1552/
1536 bytes option
Support 8-level bandwidth control
Support SCA
Support two fiber ports with far end fault
function for IP178CH only
Built in linear regulator control circuit
Support Lead Free package (Please refer to
the Order Information)
Note – some features need CPU support, please
refer to the detail description inside this data sheet
IP178C/IP178CH integrates a 9-port switch
controller, SSRAM, and 8 10/100 Ethernet
transceivers. Each of the transceivers complies
with the IEEE802.3, IEEE802.3u, and IEEE802.3x
specifications. The transceivers are designed in
DSP approach in 0.18um technology; they have
high noise immunity and robust performance.
IP178C/IP178CH operates in store and forward
mode. It supports flow control, auto MDI/MDI-X,
CoS, port base VLAN, bandwidth control, DiffServ,
SMART MAC and LED functions, etc. Each port
can be configured as auto-negotiation or forced 10
Mbps/100 Mbps, full/half duplex mode. Using an
EEPROM or pull up/down resistors on specific
pins can configure the desired options.
Besides an 8-port switch application,
IP178C/IP178CH supports one MII/RMII ports for
router application, which supports 7 LAN port s and
one WAN port. The external MAC can monitor or
configure IP178C/IP178CH by accessing MII
registers through SMI.
MII/RMII port also can be configured to be MAC
mode. It is used to interface an external PHY to
work as an 8+1 switch.
IP178CH supports two fiber ports with far end fault
function.
Features ...................................................................................................................................................1
General Description..................................................................................................................................1
Table Of Content s.....................................................................................................................................2
IP178C-DS-R03 1. Modify FILTER_DA, 01-80-c2-00-00-00 to 01-80-c2-00-00-02 on page 19
2. Modify VLAN_ON function when Pin 53EXTMII_EN=1 on page 18
3. Modify long packet enable function description on page 55
4. Modify Backpressure type selection on page 54
5. Modify RESETB CKT on page 14
6. Modify HASH_MODE [0] to LDPS_DIS on page 17, 54
7. Modify Pin type description on page 13
8. Modify Pin 84 from SCA_DIS to LOW_10M_DIS or SCA_DIS on page 14
9. Modify Pin 73 from LINK_Q to SEL_SCA on p age 18
10. Modify Pin diagram on page 9, pin_87 from HASH_MODE [0] to LDPS_DIS,pin
84 from SCA_DIS to LOW_10M_DIS or SCA_DIS, pin_73 from LINK_Q to
SEL_SCA
IP178C-DS-R04 1. Modify broadcast storm protection function on page 18, page 30, page 75
2. Add BW control value setting on page 81
3. Add BW control description on page 45
4. Rearrange Index
5. Add special_add_forward description on page 81
6. Add “The function is valid only if pin 53 EXTMII_EN is pulled low.” To pin 75, 76,
77, 78, 85, 86, 87
7. Add Note on page 1 for CPU support
IP178C-DS-R05 1. Add the order information for lead free package
IP178C-DS-R06 1. Add IP178C.RX_DV connect to MAC.RX_DV and MAC.CRS on page 27
IP178C-DS-R07 1. All ports unlink on page 84 for VCC
2. Modify VCC min form 1.85V to 1.80V on page 84
3. Modify regulator description on page 1 & 13
IP178C-DS-R08 1. Revise the pin description.
2. Modify Pin diagram of pin 85, 86, 96 and 97.
3. Modify application diagram on page 10.
IP178C-DS-R09 1. Add FXSD7 on page 26 FXSD6 on page 15
2. Add
3.
fiber application for order information on page 90
Add IP178CH Pin diagram on page 10
IP178C-DS-R10 1. Modify Pin diagram of pin 85, 86, 96 and 97 (IP178CH)
Features comparison between IP178B and IP178C/IP178CH
Function IP178B IP178C/IP178CH
EEPROM 93C46 24C01A
SCA (Smart Cable Analysis) X O
UPDATE_R4_EN O X
8 TP + 1* MII (9 port switch) 8 TP 8 TP + 1* MII (9 port switch)
Disable MII port
(pin 53 EXTMII_EN=0)
LED pins Link, Speed,
Duplex
Link quality LED X Pin 73 Default on (note1)
VLAN_ON Pin 79 Pin 79 Default off (note1)
Filter reserved address option Fixed on Pin 78 Default off (note1)
Broadcast frame option X Pin 77 Default off (note1)
Aging option Pin 84 Pin 76 Default on (note1)
Flow control option Fixed on Pin 75 Default on (note1)
Max packet length option X Pin 101 Default off (note1)
MII port speed/ duplex X X Fixed 100 Mbps full
RMII/MII option X X Pin 72
MII MAC mode/ PHY mode X X Pin 104
MII register, MDC/MDIO X X O
Built in regulator X 2.5v Æ 1.95V 3.3V Æ 1.95V
Note1: The default value can be updated by EEPORM or MDC/MDIO.
Note2: It is UPDATE_R4_EN in IP178B.
IP178C/IP178CH applications: (continued)
An 8-port switch application
If pin 53 EXTMII_EN is pulled low, then MII/ RMII interface is disabled. IP178C/IP178CH is not
connected to a CPU and works as an 8-port switch. The ninth switch port MAC8 is unused in this
application.
IP178C/
178CH
PHY
0
switch engine
MAC0
PHY
1
.....
PHY
2
TP
MAC8
MAC7
(MAC8 is unused)
PHY
3
PHY
7
A 9-port switch application
If pin 53 EXTMII_EN is pulled high, then MII/ RMII interface is enabled. The ninth switch port MAC8 is
connected to a PHY through the MII/RMII interface. IP178C/IP178CH works as a 9-port switch. Because
IP178C/IP178CH doesn’t access the MII register of the external PHY through SMI, MII/RMII interface
should be MAC mode and full duplex in this application.
IP178C/IP178CH applications: (continued)
An 8-port router application
IF pin 53 EXTMII_EN is pulled high, then MII/RMII interface is enabled. IP178C/IP178CH is connected to
a CPU through MII/ RMII interface. IP178C/IP178CH works as an 8-port router. MII/RMII interface is set
to be PHY mode and 100 Mbps full duplex in this application.
The internal regulator uses pin83/pin92 VCC_O as reference
voltage to control external transistor to generate a voltage
source between 1.80v ~ 2.05v..
If pin 53 EXTMII_EN is pulled high, then pin83/pin92 VCC_O
should be connected to 3.3v to generate 1.80v ~ 2.05v voltage
source.
If pin 53 EXTMII_EN is pulled low, then pin83/pin92 VCC_O
should be connected to 2.5v to generate 1.80v ~ 2.05v voltage
source.
It is connected to GND through a 6.19k (1%) resistor in
application circuit.
It is recommended to connect OSCI and X2 to a 25M crystal.
If the clock source is from another chip or oscillator, the clock
should be active at least for 1ms before pin 64 RESETB
de-asserted.
Pin 55 X2 should be left open in this application.
A 25Mhz crystal can be connected to OSCI and X2.
It is low active. It must be hold for more than 1ms. It is Schmitt
trigger input. If a R/C reset circuit is used, the capacitor should
be connected to VCC_O as shown in the figure.
VCC_O
Datasheet
84 LOW_10M_DIS
Or
SCA_DIS
EEPROM
104 SCL IPL2
IPH2 LOW_10M_DIS or SCA_DIS
/O
R
RESETB
C
GND
If pin 73 SEL_SCA is pull low, then pin 84 is LOW_10M_DIS.
If pin 73 SEL_SCA is pull high, then pin 84 is SCA_DIS.
For LOW_10M_DIS
1: disable power saving mode, the 10M transmit amplitude is
depressed in this mode. (default)
0: enable power saving mode
For SCA_DIS
1: Disable smart cable analysis function (default).
0: Enable smart cable analysis function.
Clock of EEPROM
After reset, it is used as clock pin SCL of EEPROM. After
reading EEPROM, this pin becomes an input pin. Its period is
longer than 10us.
IP178C/IP178CH stops reading the rest data in EEPROM if the
first two bytes in EEPROM aren’t 55AA.
The detail functions are illustrated in the following table. It
should be connected to VCC_O through a LED and a resistor.
Application circuit
VCC_O
Datasheet
R
LINK_LED
66, 67,
68, 69,
70, 71,
72, 73
75, 76,
77, 78,
79, 85,
86, 87
80, 81 LED_SEL [1:0] IPH2LED function selection
LED_SEL [1:0] LED mode LINK_LED [7:0] SPEED_LED [7:0] FDX_LED [7:0]
00 Mode 0 Off: link fail
01 Mode 1 Off: link fail
10 Mode 2 Off: link fail
11 (default) Mode 3 Off: link fail
SPEED_LED [7:0] O SPEED LED
The detail functions are illustrated in the following table. It
should be connected to VCC_O through a LED and a resistor.
FDX_LED [7:0] O FDX LED
The detail functions are illustrated in the following table. It
should be connected to VCC_O through a LED and a resistor.
The function is valid only if pin 53 EXTMII_EN is pulled low.
The data on these pins are latched at the end of reset to
select LED modes. The default value is mode 3. The detail
functions are illustrated in the following table.
After reset, these two pins becomes MII interface TXEN and
TXD3 if pin 53 EXTMII_EN is pulled high.
1: Bi-color mode LED enabled. LED_LINK [7:0] and
LED_SPEED [7:0] are used to drive dual color LED. The
functions are defined in the following table. The behavior of
FDX_LED [7:0] is the same as that in mode3 on the previous
page.
0: Bi-color mode LED disabled. Please refer to pin description of
LED_SEL [1:0] for LED functions.
This pin takes precedence of LED_SEL [1:0].
Application circuit
Datasheet
LINK_LED
LED 1LED 2
100M link/act
SPEED_LED
Bi-color LED definition
Status LINK_LED [7:0] SPEED_LED [7:0] LED 1 LED 2
Link off 1 1 Off Off
100 Mbps link ok 1 0 On Off
100 Mbps link ok/ activity 1 Clock Flash Off
10 Mbps link ok 0 1 Off On
10 Mbps link ok/ activity Clock 1 Off Flash
1: enable, 0: disable (default)
A port begins to drop packets if it receives broadcast packets
more than the threshold defined in MII register 31.9[15:14]
bq_stm_thr_sel [1:0] or EEPROM register 83[7:6].
93 MODBCK IPH1
76 AGING IPH1 Aging enable
73 SEL_SCA IPL1 Select SCA function
75 X_EN IPH1
Aggressive back off enable
/ O
IP178C/IP178CH adopts modified (aggressive) back off
algorithm if this function is enabled. The maximum back off
period is limited to 8-slot time. It makes IP178C/IP178CH have
higher transmission priority in a collision event.
1: aggressive mode enable (default),
0: standard back off
It is link LED of port 4 after reset.
1: enable 300s aging timer (default)
0: disable aging function
The function is valid only if pin 53 EXTMII_EN is pulled low.
Function selection for PIN_84
0: PIN_84 is LOW_10M_DIS (default)
1: PIN_84 is SCA_DIS
Flow control enable
/O
1: enable IEEE802.3x & back pressure (default),
0: disable IEEE802.3x & back pressure
The function is valid only if pin 53 EXTMII_EN is pulled low.
Advance operation parameter setting of switch engine
100 P6_7_HIGH IPL1
99 COS_EN IPL1
79 VLAN_ON IPL1
Port6 port7 are set to be high priority port
/O
Packets received from port6 or port7 are handled a s high p riority
packets if the function is enabled.
1: enable,
0: disabled (default)
It is an input signal during reset and its value is latched at the
end of reset. It acts as a link LED of port 0 after reset.
Class of service enable
/O
Packets with high priority tag are handled as high priority
packets if the function is enabled.
1: enable,
0: disabled (default)
It is an input signal during reset and its value is latched at the
end of reset. It acts as a link LED of port 1 after reset.
Turn on VLAN
/O
Enable a specific configuration of port base VLAN.
0: disabled (default),
1: enable
IP178C/IP178CH are separated into 7 VLANs if this function is
enabled and MII port is disabled.
The VLAN group is as follows.
Pin 53 EXTMII_EN=0 Pin 53EXTMII_EN=1
VLAN 1 port 0, port 7 port 0~7 & MII port
VLAN 2 port 1, port 7 port 0~7 & MII port
VLAN 3 port 2, port 7 port 0~7 & MII port
VLAN 4 port 3, port 7 port 0~7 & MII port
VLAN 5 port 4, port 7 port 0~7 & MII port
VLAN 6 port 5, port 7 port 0~7 & MII port
VLAN 7 port 6, port 7 port 0~7 & MII port
VLAN 8 NA port 0~7 & MII port
It is an input signal during reset and its value is latched at the
end of reset. It acts as a full duplex LED of port 3 after reset.
The configuration can be updated by programming EEPROM
register. Please refer to EEPROM register 66~78 for detail
information.
Advance operation parameter setting of switch engine
77 BCSTF IPL1 Broadcast frame option
1: Packets with DA equal to FFFFFFFF are handled as
broadcast frame in broadcast protection function,
0: Packets with DA equal to FFFFFFFF or multi-cast frames are
handled as broadcast frame in broadcast protection function.
The function is valid only if pin 53 EXTMII_EN is pulled low.
Programming MII register 31.30.12 will overwrite the setting.
78 FILTER_DA IPL1 Reserved address forward option
Filter packets with specific DA from 01-80-c2-00-00-02 to
01-80-c2-00-00-0f. Packets with specific DA equal to
01-80-c2-00-00-01 are always filtered regardless the setting of
this pin.
1: filter, 0: forward (default)
The function is valid only if pin 53 EXTMII_EN is pulled low.
101 LONG_PKT_DIS IPH2 Max packet size option
1: Drop packets with length longer than 1536 bytes
0: Drop packets with length longer than 1552 bytes
TP/ Fiber setting
90 MDI_MDIX_EN IPH1
85 FX7_EN IPL1 Port 7 mode selection (for IP178CH only)
16 BGVCC I Power of band gap circuit
18 BGGND I Power of band gap circuit
19 PLLGND I Ground of PLL circuit
20 PLLVCC I Power of PLL circuit
59, 60,
110, 111,
112,
113,
57 GND
58 GND
61, 62,
63, 106,
107,
108,
109,
65, 94, GND_SRAM I Ground of internal SRAM
74, 98, VCC_SRAM I Power of internal SRAM
82, 88, GND_O I Ground for LED, MII and EEPROM
83, 92, VCC_O I Power for LED, MII and EEPROM
114,