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,
IP178C/IP178CH jams or pauses a port, which causes output queue over the threshold. Its link partner
will defer transmission after detecting the jam or pause frame. A port of IP178C/IP178CH defers
transmission when it receives a jam or a pause frame.
IP178C/IP178CH issues pause control frame (Pause On, time slot count = 0xffff) to remote station when the
output queue of the destination port is higher than high water mark threshold. When the output queue of
the destination port is lower than low water mark threshold, IP178C/IP178CH issues pause cont rol frame
(Pause Off, time slot count = 0) to restart transmition. Besides, IP178C/IP178CH provides an additional
protect function, when it issues continuous 16 times of Pause ON frame (network abnormal), no more Pause ON frame will be send.
When CoS is enabled, IP178C/IP178CH may disable the flow control function for a short term to
guarantee the bandwidth of high priority packets. A port disables its flow control function for 2 ~ 3
seconds when it receives a high priority packet. It doesn’t transmit pause frame or jam p attern durin g the
period but it still responses to pause frame or jam pattern.
The flow control function can be enabled by pulling up pin 75 X_EN or by programming MII register
A port of IP178C/IP178CH begins to drop s broadcast p acket s if the received broadca st packet s are mo re
than the threshold defined in MII register 31.9[15:14]
10ms (100Mbps) or 100ms (10Mbps)
The function can be enabled by pulling high pin 91 BF_STM_EN or programming MII register 30.1.[6].IP178C/IP178CH handles multicast frame as a broadcast frame in broadcast storm protection function if
pin 77 BCSTF is pulled low.
or EEPROM register 83[7:6] bq_stm_thr_sel [1:0] i n
IP178C/IP178CH supports port locking. Each port can be configured individually by programming MII
register 30.31[8:0] or EEPROM 63[0] and 62[7:0]. User has to reset IP178C/IP178CH by writing
16’h55AA to MII register 3 0.0 after en abling this function. IP178C/IP178CH locks first MAC address if the
function is enabled. Any packet with MAC address not equal to the locked one will be dropped.
User has to turn off aging function when using the port locking function. Aging function can be disabled
by pulling low pin 76 AGING or programming register 30.1[3:2].
IP178C/IP178CH supports port base VLAN functions. It separates IP178C/IP178CH into some groups
(VLAN). A port is limited to communicate with other ports within the same group when the function is
enabled. Frames will be limited in a VLAN group and will not be forwarded out of this VLAN group. A port
can be assigned to one or more VLAN groups. The members (ports) of a VLAN group are assigned by
programming EEPROM register 64[7:0]~81[7:0], or MII register 31.0[8:0]~31.8[8:0].
The VLAN function can be active even if there is no EEPROM. IP178C/IP178CH supports an easy w ay
to enable a sub set VLAN function without programming registers. A default configuration of VLAN is
adopted if pin 79 VLAN_ON is pulled high. The VLAN duration is shown in the following table. The
setting in register takes precedence of the setting on pins.
Tag and un-tag function
IP178C/IP178CH inserts or removes a tag of a frame if tagging/ un-tagging function is enabled. The
operation is illustrated as follows. The tag information is defined in MII register 30.3~30.1 1 and EEPROM
register 6~22.
Frame type of the
received packet
Untagged Forward the packet without
Priority-tagged
(VLAN ID=0)
VLAN-tagged Strip tag
Forward to a untagged filed Forward to a tagged field
modification
Strip tag
Calculate new CRC
Calculate new CRC
2.6 Tag VLAN
The operation of a port which forwards the packet
Insert a tag using the default VLAN tag
value of the source port
Calculate new CRC
The default VLAN tag value is defined in
the MII register 30.3~30.11.
Keep priority field.
Replace the tag with the default VLAN tag
value of the source port
Calculate new CRC
The default VLAN tag value is defined in
the MII register 30.3~30.11.
Forward the packet without modification
If tag VLAN function is enabled (MII register 30.13[3] TAG_VLAN_EN is logic high), IP178C/IP178CH
forwards a packet according to MAC address table and one of the sixteen VLAN output port masks,
defined in MII register 30.14~30.29. One of the sixteen VLAN output mask is selected by VID index,
which is four bits selected from VID field in a tag. VID index is defined in MII register 30.13[2:0] VID_SEL.
For example, VLAN output port mask 1 is selected if VID index selected by VID_SEL is equal to 1.
IP178C/IP178CH handles an un-tagged packet using the default VLAN tag value of its source port. A
packet with VID equal to 12’b0 will be handled as un-tag frame.
In a router application, MII port is defined as a tagged port and the other ports are defined as un-tagged
ports. IP178C/IP178CH inserts VLAN tag into packets according to its source port when it forwards the
packets to MII port. The pre-defined VLAN tag value is defined in register 30.3~11. CPU can identify the
source port of a packet from MII by examining the VLAN tag.
CPU inserts VLAN tag into packets when it sends packets to MII port. IP178C/IP178CH forwards a
packet from MII to the appropriate port according to the MAC address and VLAN tag. IP178C/IP178CH
removes the VLAN tag when it forwards the packet.
IP178C/IP178CH supports two type of CoS. One is port base priority function and the other is frame
base priority function. IP178C/IP178CH supports two levels of priority queues. A high priority packet will
be queued to the high priority queue to share more bandwidth. The ratio of band width of hig h priority and
low priority queue is defined in MII register 30.1[15] or EEPROM 3[7].
2.9.1 Port base priority
The packets received from high priority port will be handled as high priority frames if the port base priority
is enabled. It is enabled by programming the corresponding bit in MII register 31.0[9]~31.8[9] or
EEPROM register 65[1] ~81[1]. Each port of IP178C/IP178CH can be configured as a high priority port
individually.
2.9.2 Frame base priority
VLAN tag and TCP/IP TOS
IP178C/IP178CH examines the specific bits of VLAN tag and TCP/IP TOS for priority frames if the frame
base priority is enabled. The packets will be handled as high priority frames if the tag value meets the
high priority requirement, that is, VLAN tag bigger than 3 or TCP/IP TOS field not equal to 3’b000. It is
enabled by programming the corresponding bit in MII register 31.0[10]~31.8[10] or EEPROM register
65[2]~81[2]. The frame base priority function of each port can be enabled individually.
IP178C/IP178CH supports an easy way to enable a sub set of CoS function without programming
EEPROM or MII registers. Port 6 and port 7 can be set as high priority ports if pin 100 P6_7_HIGH is
pulled high. Frame base priority function of all ports is enabled if pin 99 COS_EN is pulled high. The
setting in register takes precedence of the setting on pins.
VLAN field
TYPE = 8100
byte
TOS field
TYPE = 0800
byte
TCI (tag control information)
12~1314~15
IP HEADER
12~1314~15
TCI definition:
Bit[15:13]: User Priority 7~0
Bit 12: Canonical Format Indicator (CFI)
Bit[11~0]: VLAN ID.
IP178C uses bit[15:13] to define priority.
IP header definition:
Byte 14
Bit[7:0]: IP protocol version number & header length.
Byte 15: Service type
Bit[7~5]: IP Priority (Precedence ) from 7~0
Bit 4: No Delay (D)
Bit 3: High Throughput
Bit 2: High Reliability (R)
Bit[1:0]: Reserved
IP178C uses bit[4:2] to define priority.
IPv4/IPv6 DiffServ
IP178C/IP178CH checks the DiffServ field of a IPv4 frame or Tr affic class field [7:2] (TC[7:2]) of a IPv6
frame and uses them to decide the frame’s priority if MII register 31.30.[13] DIFFSERV_EN is enabled.
IP178C/IP178CH uses DiffServ or TC [7:2] as index to select one of 64 bits defined in the MII register
31.22~25 DSCP[63:0]. If the bit is “1”, the received frame is handled as a high priority frame.
IP178C/IP178CH supports spanning tree function with the following features:
1. Detect BPDU frames by examining multicast address (01-80-c2-00-00-00).
2. Forward BPDU packets to CPU through MII and add special tag for source port information.
Forward BPDU packets from CPU according to the special tag in a frame.
Please refer to section “Tag VLAN / Tag and un-tag function”.
Port states
To support spanning tree protocol, each port of IP178C/IP178CH provides five port states shown in the
following table. Port 0~7 of IP178C/IP178CH can be configured in one of the five spanning tree states
individually by programming MII register 31.13 to enable (disable) forwarding and learning function. Port
8 (MII) is dedicated for CPU.
State
Disable X (note 2) X (note 2) X X (0,0)
Blocking O X (note 3) X X (0,0)
Listening O O X X (0,0)
Learning O O O X (0,1)
Forwarding O O O O (1,1)
Fwd BPDU
packet to CPU
Fwd BPDU packet
from CPU
Address
learning
Fwd all packet
normally
(Forward enable,
Learning enable)
Note1: O: enabled, X: disabled
Note2: CPU should not send packets to IP178C/IP178CH and should discard packets from
IP178C/IP178CH.
Note3: CPU should not send packets to IP178C/IP178CH.
Special tag
IP178C/IP178CH supports special tag function to exchange switching information with CPU without
involving VLAN tag information. The special tag function is enabled by programming MII register 31.30[14]
ST AG_EN.
From CPU to switch
When special tag function is enabled, IP178C/IP178CH forwards packets from MII (CPU) by checking
special tag added by CPU. The tag definition is shown in the following table. IP178C/IP178CH will
remove the special tag 81XX and re-calculate CRC when it forwards the packet to a un-tag field.
IP178C/IP178CH will update the special tag to 81XX and re-calculate CRC when it forwards the packet
to a tag field.
Preamble SFD DA SA 81XX(special tag) Data CRC
Special tag 81XX
bit [15:12] bit[11:8] bit[7:0]
8 1 0000_0001: instruct 178C forwards the packet to port 0
0000_0010: instruct 178C forwards the packet to port 1
0000_0100: instruct 178C forwards the packet to port 2
0000_1000: instruct 178C forwards the packet to port 3
0001_0000: instruct 178C forwards the packet to port 4
0010_0000: instruct 178C forwards the packet to port 5
0100_0000: instruct 178C forwards the packet to port 6
1000_0000: instruct 178C forwards the packet to port 7
From switch to CPU
When special tag function is enabled, IP178C/IP178CH sends packets to MII (CPU) with source port
information by adding special tag to the frame. IP178C/IP178CH will add the special tag 81XX and
re-calculate CRC when it receives the packet from a un-tag field. IP178C/IP178CH will update the tag
8100 to 81XX and re-calculate CRC when it receives the packet from a tag field. The tag definition is
shown in the following table.
Bit[15:12] bit[11:8] bit[7:0]
8 1 0000 0001: the source port of the packet is port 0
0000 0010: the source port of the packet is port 1
0000 0100: the source port of the packet is port 2
0000 1000: the source port of the packet is port 3
0001 0000: the source port of the packet is port 4
0010 0000: the source port of the packet is port 5
0100 0000: the source port of the packet is port 6
1000 0000: the source port of the packet is port 7
User can setup the static MAC address table to force the switching behavior of IP178C/IP178CH by
programming MII register 31.14 ~ 30.21. When IP178C/IP178CH receives packets, which match
pre-defined MAC address in the table (static_mac_0, static_mac_1), it forwards the packet to MII port
(CPU). The static MAC address table has precedence over the dynamic DA look up result.
In a spanning tree application, the MII register 31.17[10] static_override_0 is “1”, MII register 31.17[9]
static_valid_0 is ”1”, the MII register 31.14~31.16 MAC address field is 01-80-c2-00-00-00 and the MII
register 31.17[8:0] static_port_mask_0 is 9’b1_0000_0000 (MII). That is, IP178C/IP178CH only forwards
BPDU to MII (CPU) and in spite of the port states.
MII register R/WDescription Default
31.17.10 R/W override_0
1: override the transmission, receiving and learning setting
in MII register 31.13.
0: not override
31.17.9
31.17[8:0]
31.14 – 16 R/W state_mac_0 01-80-C2-00-00-00
R/W state_valid_0
1: the entry is valid
0: the entry is not valid
R/W state_port_mask_0
Bit 8: forward to port 8 (MII)
Bit 7: forward to port 7
Bit 6: forward to port 6
Bit 5: forward to port 5
Bit 4: forward to port 4
Bit 3: forward to port 3
Bit 2: forward to port 2
Bit 1: forward to port 1
Bit 0: forward to port 0
User can access IP178C/IP178CH’s MII registers through serial management interface with pin MDC
and MDIO. Its format is shown in the following table. To access MII register in IP178C/IP178CH, MDC
should be at least one more cycle than MDIO. That is, a complete command consists of 32 bits MDIO
data and at least 33 MDC clocks. When the SMI is idle, MDIO is in high impedance.
IP178C/IP178CH performs SCA on each port and shows the test result on LED pins whenever pin SCA
is pulled high. The LED display is independent of LED_SEL pins. The following table shows the LED
behavior of a port performing SCA.
LinK_LEDSPEED_LE
SCA initiation
(under testing)
Test fail
An open cable with length shorter
than 50m open
An open cable with length
between 50m and 100m
An open cable with length
between 100m and 150m
An shorted cable with length
shorter than 50m
FDX_LED
D
Scan port by portScan port by portScan port by port
Running Horse LED:
On 286ms -> Off 2s -> On 286ms -> Off 2s
On-Off-On-Off On-Off-On-Off Off
Off
On
On On Off
Off Flash
On
Off Off
Off
Off
An shorted cable with length
between 50m and 100m
An shorted cable with length
between 100m and 150 m
Cable is normal Off Off Off
FlashOff
Flash Flash Off
Off
2.14 Bandwidth control
IP178C/IP178CH provides the bandwidth control mechanism to manage or control the data rate on a
limited bandwidth network. By controlling the ingress data rate and the egress data rate, it provides a
bandwidth management solution for local area networks and also provides quick and easy allocation of
uplink or downlink speeds to meet and guarantee a wide range of customer bandwidth requirements.
IP178C/IP178CH provides the easiest way to allocate bandwidth for each port, which defined in MII
registers 31.26 ~ 31.29 or EEPROM registers 116 ~ 123. The ingress/egress data rate control range is
from 128 kbps to 8 Mbps for each port.
1 = Loop back mode
0 = normal operation
When this bit set, IP178C/IP178CH will be isolated from the
network media, that is, the assertion of TXEN at the MII will
not transmit data on the network. All MII tran smissi on dat a will
be returned to MII receive data path in response to the
assertion of TXEN.
0 0.13 -- RW Speed Selection
1 = 100 Mbpsbps
0 = 10 Mbpsbps
It is valid only if bit 0.12 is set to be 0.
0 0.12 -- RW Auto-Negotiation Enable
1 = Auto-Negotiation Enable
0 = Auto-Negotiation Disable
0 0.11 -- R/W Power Down 0
0 0.10 -- Isolate 0
0 0.9 -- RW
0 0.8 -- R/W Duplex mode
0 0.7 -- R/W Collision test 0
0 0[6:0] -- R/W Write as 0, ignore on read -
Restart Auto- Negotiation
SC
1 = re-starting Auto-Negotiation
0 = Auto-Negotiation re-start complete
Setting this bit to logic high will cause IP178C/IP178CH to
restart an Auto-Negotiation cycle, but depending on the value
of bit 0.12 (Auto-Negotiation Enable). If bit 0.12 is cleared
then this bit has no effect, and it is Read Only. This bit is
self-clearing after Auto-Negotiation process is completed.
Stresses exceed those val ues listed under Absolute Maximum Ratings may cause permanent damage to
the device. Functional performance and device reliability are not guaranteed under these conditions. All
voltages are specified with respect to GND.
Supply Voltage –0.3V to 4.0V
Input Voltage –0.3V to 5.0V
Output Voltage –0.3V to 5.0V
Storage Temperature -65°C to 150°C
Ambient Operating Temperature (Ta) 0°C to 70°C
3.2 DC Characteristic
Operating Conditions
Parameter Sym. Min.Typ.Max.UnitConditions
Supply Voltage VCC 1.801.952.05V All ports unlink
Supply Voltage VCC_O 3.1353.3 3.465V 3.3V IO
Supply Voltage VCC_O 2.3752.5 2.625V 2.5V IO
Power Consumption 1.35W 100 Mbps full, VCC=1.95V
Input Clock
Parameter Sym. Min.Typ.Max.UnitConditions
Frequency 25 MHz
Frequency Tolerance -50 +50 PPM
I/O Electrical Characteristics
Parameter Sym. Min.Typ.Max.UnitConditions
Input Low Voltage VIL 0.8 V
Input High Voltage VIH 2.0 V
X1 Input Low Voltage VIL 0.89V
X1 Input High Voltage VIH 0.95V
Output Low Voltage VOL 0.4 V IOH=4mA, VCC_O_x=3.3V
Output High Voltage VOH 2.4 V IOL=4mA, VCC_O_x=3.3V
Dimensions In InchesDimensions In mm
Min.Nom.Max.Nom.Max.Min.
0.0100.350.450.0140.0180.25A1
0.1072.852.970.1120.1172.73A2
0.0070.220.270.0090.0110.17b
0.0040.150.200.0060.0080.09c
0.66917.2017.400.6770.68517.00HD
0.54714.0014.100.5510.55513.90D
0.90623.2023.400.9130.92123.00HE
0.78320.0020.100.7870.79119.90E
-0.50-0.020--e
0.0250.881.030.0350.0410.65L
-1.60-0.063--L1
--0.10-0.004-y
0-12-120
102
E
HE
65
GAGE
2
A
1
A
y
D
PLANE
L
Note:
1. Dimension D & E do not include mold protrusion.
2. Dimension B does not include dambar protrusion.
Total in excess of the B dimension at maximum
material condition.
Dambar cannot be located on the lower radius of
the foot.