IP1718LF-DS-R02 [ETC]

18-port 10/100Mbps Smart Switch Controller;
IP1718LF-DS-R02
型号: IP1718LF-DS-R02
厂家: ETC    ETC
描述:

18-port 10/100Mbps Smart Switch Controller

局域网(LAN)标准
文件: 总33页 (文件大小:774K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
IP1718 LF  
Preliminary Data Sheet  
18-port 10/100Mbps Smart Switch Controller  
Features  
General Description  
Embeds 1.5 Mb packet buffer  
Supporting 16-port SS-SMII, 2-port MII and  
various advanced features, the IP1718 LF fits both  
the office switch and the ETTH( Ethernet to the  
Home) application. The IP1718 LF embeds  
internal SSRAM for the use of the packet buffer  
and the MAC address table. Besides the  
traditional switch functions, the IP1718 LF  
provides the easy-to-design solution, fitting the  
requirement of most switch application.  
Handles up to 4K MAC address entries  
Supports non-blocking wire speed operation  
Provides 16-port SS-SMII and 2-port MII  
Supports 2 ports selectable normal MII,  
reverse MII  
All I/O signals can operate at 3.3V or 1.8V.  
Supports up to 18 port based VLAN group  
Supports 256 levels of data rate control  
Captures BPDU, IGMP and OSPF …packet  
and forward to the CPU port.  
Suppress/enable per port address learning.  
Embeds two levels of priority queues for VLAN  
tag, physical port and IP Differentiated Service.  
Supports flexible port trunking configuration: up  
to 3 groups and up to 4 ports for each group  
Embeds an internal regulator controller to  
simplify the system design.  
The IP1718 LF also supports some features which  
can simplify the customer’s design from the  
viewpoint of the system. The embedded regulator  
controller can reduce the component number on  
the system board. The web management can be  
easily accomplished by adding an external CPU  
with protocol stack. All the I/O pins can operate at  
3.3V or 1.8V, providing more design flexibility for  
power supply distribution.  
Power supply: 1.8V for core logic; optional  
3.3V or 1.8V for I/O.  
128 pin QFP package  
Adjustable I/O driving capability  
Support packet length up to 1536 Bytes  
Spanning Tree state support.  
Supports 3 kinds of port mirrioring methods  
HOL blocking prevention  
Only one 25MHz crystal needed  
Broadcast storm control support  
Programmable MAC address table through 2  
serial pins.  
Support Lead Free package (Please refer to  
the Order Information)  
The IP1718 LF embeds 1.5Mb internal packet  
buffer and stores up to 4K MAC address entries,  
making it suitable for the generic switch  
application. In addition, the IP1718 LF supports a  
wide range of data rate for both egress and  
ingress, which is useful in the ETTH(Ethernet to  
the Home) application. The higher layer data  
packet such as BPDU, IGMP, OSPF can be  
forwarded to either the 17th or 18th (CPU) port. The  
flexible trunk configuration allows the user to scale  
the switch interconnection bandwidth. When the  
port mirroring function is enabled, the data traffic  
on the source port will be forwarded to a specified  
destination port, making the switch administration  
easier. Supporting up to 18 port based VLAN  
groups, the IP1718 LF can be configured to fit  
various traffic partitions. The CoS function is  
accomplished by configuring the priority of the  
physical port, the 802.1Q VLAN tag and IP  
DSCP(Differentiated Service Code Point). In order  
to fit the application of some special environment,  
the address learning and the MAC address table  
aging can be disabled.  
1/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 
IP1718 LF  
Preliminary Data Sheet  
Table Of Contents  
Features ..................................................................................................................................................................1  
General Description.................................................................................................................................................1  
Table Of Contents....................................................................................................................................................2  
Revision History.......................................................................................................................................................3  
1
2
3
Pin Diagram......................................................................................................................................................4  
Block Diagram..................................................................................................................................................5  
Pin description..................................................................................................................................................6  
Pin description (continued)......................................................................................................................................7  
Pin description (continued)......................................................................................................................................9  
Pin description (continued)....................................................................................................................................10  
4
Functional Description.................................................................................................................................... 11  
4.1  
Medium Access Control(MAC)........................................................................................................... 11  
4.1.1  
4.1.2  
Data Rate Control ................................................................................................................. 11  
Flow Control.......................................................................................................................... 11  
4.2  
Switch Engine and Queue Management ...........................................................................................12  
4.2.1  
Store & Forward Mechanism ................................................................................................12  
Address Learning and aging time.........................................................................................12  
Class of Service....................................................................................................................12  
Port_based VLAN.................................................................................................................13  
Trunk Channel ......................................................................................................................14  
Port Mirroring ........................................................................................................................14  
Queue Management.............................................................................................................14  
Broadcast Storm Control.......................................................................................................15  
Handling the Higher Layer Protocol......................................................................................15  
Port Security .........................................................................................................................15  
4.2.2  
4.2.3  
4.2.4  
4.2.5  
4.2.6  
4.2.7  
4.2.8  
4.2.9  
4.2.10  
5
System Operation ..........................................................................................................................................16  
5.1  
5.2  
5.3  
5.4  
Reset and EEPROM Download Procedure.......................................................................................16  
Polling/Writing the PHY......................................................................................................................16  
Programming the Internal Registers..................................................................................................17  
SS-SMII..............................................................................................................................................17  
6
7
Register Map..................................................................................................................................................19  
Electrical Characteristics................................................................................................................................28  
7.1  
7.2  
7.3  
Absolute Maximum Rating.................................................................................................................28  
AC Characteristics .............................................................................................................................28  
DC Characteristics.............................................................................................................................31  
8
9
Order Information...........................................................................................................................................32  
Package Detail ...............................................................................................................................................33  
2/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 
IP1718 LF  
Preliminary Data Sheet  
Revision History  
Revision #  
Change Description  
IP1718 LF-DS-R01 Initial release.  
IP1718 LF-DS-R02 Functions for pin 117 & pin 119 are re-defined. The register 2 description is revised. Revise the  
timing chart of SCPUIO and the SCPUC.  
IP1718 LF-DS-R03 Revised the pin diagram. Revise the pin description of pin 50, pin 53, pin 107 ~ pin 112. Add pin  
description of the pin 97.  
IP1718 LF-DS-R04 Revise the pin diagram. Revise the pin description for pin 89, pin 90, pin 105 and pin 106.  
IP1718 LF-DS-R05 Add the order information for lead free package.  
Update page 25, (6DH)  
3/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 
IP1718 LF  
Preliminary Data Sheet  
1
Pin Diagram  
M2RXD2  
GND  
Fast_Test_ON  
GND  
103  
104  
105  
106  
107  
108  
109  
110  
111  
112  
113  
114  
115  
116  
117  
118  
119  
120  
121  
122  
123  
124  
125  
126  
127  
128  
64  
63  
62  
61  
60  
59  
58  
57  
56  
55  
54  
53  
52  
51  
50  
49  
48  
47  
46  
45  
44  
43  
42  
41  
40  
39  
M2RXD3  
M3RXC  
M2TXC  
IP_Pri_ON  
GND  
M2TXD0/Port5_Pri_ON  
M2TXD1/Port6_Pri_ON  
M2TXD2/WRR_Ration_Set0  
M2TXD3/WRR_Ration_Set1  
M2TXEN  
TAG_Pri_ON  
GND  
VDD18  
GND  
M2COL  
GND  
GND  
PBDU_Bcast_OFF  
N.C  
VDD18  
VDD33  
IP1718 LF  
VDD33  
GND  
GND  
P1TXD/1st MII_Force_Link  
P1RXD  
N.C  
GND  
P2TXD/2nd MII_Force_Link  
P2RXD  
GND  
Trunk0_ON1  
GND  
P3TXD/IO_Slew_F  
P3RXD  
Trunk0_ON0  
GND  
P4TXD/IO_Drive0  
P4RXD  
Home_VLAN_ON  
GND  
RXSYNC1  
TXSYNC1  
Aging_OFF  
GND  
TXCLK1  
P5TXD/IO_Drive1  
VDD33  
4/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 
IP1718 LF  
Preliminary Data Sheet  
2
Block Diagram  
PLL/ Clock  
generator  
PHY  
Control  
I/F  
Frame Buffer  
Regulator  
EEPROM  
Memory controller/ BIST  
Tx/Rx FIFO/DMA  
Register  
CPU Interface  
Address  
Resolution  
Engine  
MAC Address  
Table  
10/100M  
MAC  
10/100M  
MAC  
...  
5/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 
IP1718 LF  
Preliminary Data Sheet  
3
Pin description  
Type  
Description  
Positive power or ground  
I; O I: Input pin; O:Output pin  
IL Input latched upon reset  
Type  
Description  
P
PD, PD:Pulled down with internal resistor  
PU  
I/O  
PU:Pulled up with internal resistor  
Bi-direction Input/Output  
Pin No.  
Label  
Type  
Description  
SS-SMII  
117, 119  
121, 123,  
128, 7,  
9, 11,  
15, 17,  
19, 21,  
28, 31,  
33, 35,  
P1TXD, P2TXD,  
P3TXD, P4TXD,  
P5TXD, P6TXD,  
P7TXD, P8TXD,  
P9TXD, P10TXD,  
P11TXD, P12TXD,  
P13TXD, P14TXD,  
P15TXD, P16TXD,  
SS-SMII transmit data output for port 1 to port 16.  
O
126,  
26,  
TXSYNC1,  
TXSYNC2,  
O
O
I
SS-SMII synchronization output for transmit data  
SS-SMII transmit clock output  
127,  
27,  
TXCLK1,  
TXCLK2,  
118, 120,  
122, 124,  
6, 8,  
10, 12,  
16, 18,  
20, 22,  
30, 32,  
34, 36,  
P1RXD, P2RXD,  
P3RXD, P4RXD,  
P5RXD, P6RXD,  
P7RXD, P8RXD,  
P9RXD, P10RXD,  
P11RXD, P12RXD,  
P13RXD, P14RXD,  
P15RXD, P16RXD,  
SS-SMII receive data input  
42, 44,  
46, 48,  
56, 60,  
62, 64  
49, 55  
GND  
I
Should be tied to GND.  
125,  
25,  
RXSYNC1,  
RXSYNC2,  
I
I
SS-SMII receive synchronization input  
SS-SMII receive clock input  
5,  
29,  
RXCLK1,  
RXCLK2,  
6/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 
IP1718 LF  
Preliminary Data Sheet  
Pin description (continued)  
Pin No.  
MII/Reverse MII  
95  
Label  
Type  
Description  
M1TXEN  
O
O
I
1st MII (port 17) transmit enable  
1st MII (port 17) transmit data output  
1st MII (port 17) receive valid  
94, 93, 92, 91 M1TXD[3:0]  
84 M1RXDV  
88, 87, 86, 85 M1RXD[3:0]  
I
1st MII (port 17) receive data input  
90  
M1TXC  
M1RXC  
M2TXEN  
I/O  
1st MII (port 17) transmit clock. Input for normal (MAC  
mode) MII. Output for reverse (PHY mode) MII  
89  
I/O  
1st MII (port 17) receive clock. Input for normal (MAC  
mode) MII. Output for reverse (PHY mode) MII.  
111  
O
O
2nd MII (port 18) transmit enable  
110,109,108,1 M2TXD[3:0]  
07  
2nd MII (port 18) transmit data output  
98  
M2RXDV  
I
I
2nd MII (port 18) receive valid  
104,103,100,9 M2RXD[3:0]  
9
2nd MII (port 18) receive data input  
106  
105  
112  
13  
M2TXC  
M2RXC  
M2COL  
MDC  
I/O  
I/O  
I/O  
O
2nd MII (port 18) transmit clock. Input for normal (MAC  
mode) MII. Output for reverse (PHY mode) MII  
2nd MII (port 18) receive clock. Input for normal (MAC  
mode) MII. Output for reverse (PHY mode) MII.  
2nd MII (port 18) collision input. Input for normal MII  
Output for reverse MII  
Clock for serial management bus. It’s recommended to  
add a 30pf capacitor to ground for noise filetrring.  
14  
MDIO  
I/O  
I/O data for serial manment bus. It’s recommended to  
add a 4.7K pull up resistor connecting to VDD and a  
30pf capacitor connecting to ground.  
Miscellaneous  
70  
71  
72  
X1/OSCI  
X2  
I
O
I
Crystal/ Oscillator 25MHz input  
Crystal output  
RESETB  
System reset (low active). Should be kept at “low” for at  
least 10 microseconds.  
97  
CLK25M  
O
This output pin is 25MHz clock signal which is the  
counterpart of the clock generated by the X’tal placed  
on X1 & X2.  
75  
76  
78  
SCL  
O, PU Serial EEPROM clock output  
I/O,PU Serial EEPROM data  
SDA  
SCPUC  
I, PU Serial CPU access clock input. Please see the section  
of “Programming the Internal Register” for the usage of  
SCPUC and SCPUIO.  
79  
SCPUIO  
I/O, Serial CPU data  
PU  
77  
74  
INTB  
O, PU Interrupt output. Active low.  
O, PD Test mode control.  
TEST  
7/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 
IP1718 LF  
Preliminary Data Sheet  
73  
67  
IO_PWR  
REG18  
I
Power selection for I/O pad. 0:1.8V; 1:3.3V.  
O
1.8V regulator control. This pin can be connected to the  
base of the PNP transistor to generate the 1.8V power.  
50, 53  
N.C  
Reserved for IC test. Leave it unconnected in  
application.  
8/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
IP1718 LF  
Preliminary Data Sheet  
Pin description (continued)  
Pin No.  
Label  
Type  
Description  
Power & Ground  
68  
69  
VDDPLL  
GNDPLL  
P
1.8V Power for PLL  
Ground for PLL  
P
P
P
P
4,37,57,80,114 VDD18  
3,38,58,81,113 GND18  
1.8V Power for Core circuit  
Ground for core circuit  
2,23,39,52,66,8 VDD33  
3,101,115  
3.3/1.8V Power for I/O PAD  
1,24,40,51,65,8 GND33  
2,102,116  
P
Ground for I/O PAD  
Power On setting. These pins’ state will be latched upon reset  
117  
1st MII_Force_Link  
IL, PU This pin is pulled up internally. Connecting a pull down  
resistor to this pin will force the 1st MII linking to the  
external device regardless of the PHY polling status,  
119  
2nd MII_Force_Link IL, PU This pin is pulled up internally. Connecting a pull down  
resistor to this pin will force the 2nd MII linking to the  
external device regardless of the PHY polling status,  
121  
IO_SLEW  
IL, PD Output PAD slew rate setting. 1: fast, 0: normal (Default)  
128, 123  
IO_DRIVE[1:0]  
IL, PD Output PAD driving current capability  
00 : 4mA (Default)  
01 : 8mA  
10 : 12mA  
11 : 16mA  
7
9
MII 1_LINK_CPU  
MII 2_LINK_CPU  
IL, PD 1st MII (port 17) linked to CPU.  
1: 1st MII is connected to CPU.  
0: 1st MII is the normal port (Default)  
IL, PD 2nd MII (port 18) linked to CPU.  
1: 2nd MII is connected to CPU.  
0: 2nd MII is the normal port (Default)  
11  
15  
MII 1_REV_MII  
MII 2_REV_MII  
IL, PD 1st MII (port 17) is reverse MII interface  
1: Reverse MII; 0:Normal MII (Default).  
IL, PD 2nd MII (port 18) is reverse MII interface.  
1: Reverse MII; 0:Normal MII (Default).  
19,17  
21  
TEST_MODE[1:0]  
IPG_COMP_EN  
IL, PD Reserved for IC test.  
IL, PD Transmit IPG compensation (+80ppm)  
1: Enable; 0: Disable (Default)  
28  
31  
33  
35  
FCTRL_OFF  
BKP_OFF  
IL, PD Disable the full duplex flow control of all ports  
1: Disable; 0: Enable (Default)  
IL, PD Disable the half duplex backpressure control of all ports.  
1: Disable; 0: Enable (Default).  
BCST_CTRL_EN  
AUTO_OFF_FC  
IL, PD Enable the broadcast storm control  
1: Enable; 0: Disable (Default)  
IL, PD 1: Auto turn off the flow control, when the flow control  
and the priority is enabled.  
0: Flow control works normally (Default)  
9/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 
IP1718 LF  
Preliminary Data Sheet  
Pin description (continued)  
Pin No.  
Label  
Type  
Description  
Power On setting. These pins will be latched upon reset (continued)  
41  
43  
AGING_OFF  
IL, PD Disable the MAC address table aging function  
1: Disable; 0: Enable (Default)  
HOME_VLAN_EN  
IL, PD 1: Enable the home VLAN setting :  
Port 1 ~ Port16 are all individual VLAN shared with 2  
MII ports. For example, Port 1, port 17 and port 18 form  
a VLAN group, etc.  
1: Enable; 0: Disable (Default)  
47, 45  
54  
TRUNK_0_ON[1:0]  
BPDU_BCST_OFF  
IL, PD The trunk group 0 setting:  
00 : no trunk (Default)  
01 : port 1, 2 trunk-grouped  
10 : port 1, 2, 3 trunk-grouped  
11 : port 1, 2, 3, 4 trunk-grouped  
IL, PD Filter the packet with MAC destination address  
01-80-c2-00-00-03~01-80-c2-00-00-0F  
0 : Broadcast (Default)  
1 : Filter  
59  
61  
63  
TAG_PRI_ON  
IP_PRI_ON  
IL, PD Enable 802.1Q TAG priority function of all ports  
1:Enable; 0: Disable (Default)  
IL, PD Enable IP TOS/DS priority function of all ports  
1: Enable; 0: Disable (Default)  
FAST_TEST_MODE IL, PD Reserved for IC test.  
108,107,94,93, PORT_PRI_ON[5:0] IL, PD Enable port base high priority function of port 1~ port 6  
92,91  
1: Enable; 0: Disable (Default)  
109,110  
WRR_RATIO_SET[1:0] IL, PD The ratio of the packet number for the weighted round  
robin. The switch engine handles both priority queues  
based on the ratio of the packet number defined below.  
00 : First in first out (Default)  
01 : 2/1  
10 : 4/1  
11 : 8/1  
When these bits are set to “00”, the CoS priority will be void.  
50, 26, 126  
DELAY_SSSMII[2:0] IL, PD The delay time of SS-SMII transmit data  
delay_sssmii[0] : port 1~ port 8  
delay_sssmii[1] : port 9~ port 16  
delay_sssmii[2] : reserved  
1: 4ns delay; 0: no delay(Default)  
Note:  
1. All the trapped pins are latched upon reset and are pulled down or pulled up by a 50K resistor inside  
the chip.  
2. The designer can connect a 4.7K ohms resistor to set these pins to “1” or “0” to change the default  
state.  
3. The content of an EEPROM will override the pin setting.  
10/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 
IP1718 LF  
Preliminary Data Sheet  
4
Functional Description  
4.1 Medium Access Control(MAC)  
4.1.1 Data Rate Control  
The IP1718 LF implements a sophisticated data rate control mechanism, which is very useful for the  
bandwidth-limited network. By controlling both the ingress data rate and the egress data rate, the IP1718  
LF provides a variety of the bandwidth configuration.  
By means of calculating the maximum TX/RX byte number in a time unit of the corresponding port, the  
IP1718 LF provides a precise bandwidth control mechanism. The formula for calculating the maximum  
byte during a time unit is:  
M.B.N= S.D.R* 512  
Where M.B.N stands for the maximum byte number; S.D.R the specified data rate.  
The time unit is 10ms at 100 Mbps speed and 100ms at 10Mbps speed.  
The data rate for each port is specified in registers ranging from 03H to 12H and 1BH ~ 1CH.  
If the transmit/receive byte number reaches the specified M.B.N after the transmit/receive timer expires,  
the MAC will continue the operation until the whole data packet is transmitted/received and then wait until  
the next time unit starts.  
For example, if the value set to register 06H is 12H(18 in decimal) and the port 1 runs at 100Mbps speed,  
the maximum byte number allowed to transmit through port 1 is 9216 bytes(the result of 512*18) within  
10ms( 1,000,000 bit time). 9216 bytes stands for 73,728 bit time. The flow control mechanism will be  
activated for the spare time. Thus the data rate can be limited to a specified value.  
4.1.2 Flow Control  
The IP1718 LF embeds the flow control mechanism for both full duplex mode and half duplex mode. When  
the buffer reach a pre-defined level, the transmit MAC will generate the flow control pattern to prevent the  
buffer overflow. These flow control patterns are dependent on the duplex mode. The IP1718 LF transmit  
MAC generates the backpressure pattern in half duplex mode and the 802.3x pause packet in full duplex  
mode.  
When operating in half duplex mode, the IP1718 LF should comply with CSMA/CD standard. The  
transmit MAC will generate the jam pattern to inform the link partner that the receive buffer is not  
available when the buffer reaches a pre-defined level. The IP1718 LF supports the collision_based  
backpressure. When the collision_based backpressure is enabled, the transmit MAC of the IP1718 LF  
will generate the jam pattern only when the link partner is transmitting data and the buffer is not available.  
When detecting the collision on line, the link partner will back off the transmission and then wait until the  
back off time expires.  
The IP1718 LF uses 802.3x pause packet to accomplish the flow control for full duplex mode. When the  
buffer reach a pre-defined level, the transmit MAC generates a Xoff pause packet immediately or right  
after the current packet has been transmitted. When receiving a pause packet, the link partner will stop  
the transmission for a time period according to the pause value carried by the pause packet, preventing  
the internal buffer from overrun.  
11/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 
IP1718 LF  
Preliminary Data Sheet  
4.2 Switch Engine and Queue Management  
4.2.1 Store & Forward Mechanism  
The IP1718 LF utilizes the “store & forward” method to handle the switch engine. Each data packet will  
not be forwarded to the destination port until the entire packet is received. The internal mechanism will  
check whether the packet is correct. The data packet will be forwarded to the destination port if the  
packet is correct; otherwise it will be discarded.  
Besides the erroneous packet and the 802.3x pause packet are not forwarded. The 802.1D Reserved  
Group packet with 01-80-c2-00-00-03 ~ 01-80-c2-00-00-0F MAC address can be optionally dropped by  
setting pin 54 or register 01H.  
4.2.2 Address Learning and aging time  
The address learning function for each port can be either disabled or enabled by setting the  
corresponding bit in registers 31H and 32H. The overall MAC address capacity is 4096. The aging time  
can be programmed according to the system requirement, ranging from 30sec to 8400sec +-6.7%.  
The IP1718 LF provides two kinks of hash method to store the MAC address table. One is the direct  
mapping and the other is the CRC-12 algorithm. When the direct mapping method is selected, the  
IP1718 LF recognizes the least significant 12 bits of the source MAC address. When the CRC-12  
algorithm is used, the IP1718 LF executes the following equation to decide the address of the MAC  
address table.  
CRC-12 equation: X^12+X^11+X^3+X^2+X+1  
Some source MAC address will be excluded in MAC address table. These data packets are:  
Erroneous packet  
802.3x pause packet  
802.1D Reserved Group packet  
Multicast source MAC address  
4.2.3 Class of Service  
The IP1718 LF implements two levels of priority queues, high priority and low priority. The priority for  
each data packet is based on one of the following schemes: 802.1Q VLAN tag, IP TOS/DS or physical  
port. Each incoming data packet can be mapped to either one priority. When no CoS function is enabled,  
the first-in first-out forwarding method is used.  
When the CoS for 802.1Q VLAN tag is enabled, the IP1718 LF will recognize 3 bits of precedence  
carried by the VLAN tag and map it to the specified priority. The data precedence 0 to 3 will be treated as  
low priority packet, and the packet with other values will be stored in high priority queue. Setting register  
25H and 26H to “1” will enable the CoS function for the corresponding port. The LSB of both registers  
controls the lowest port ID for that group. For example, the bit 0 of register 25H corresponds to port 1.  
The IP1718 LF provides the IP layer CoS function by recognizing the DSCP(Differentiated Service Code  
Point) Octet and mapping it to the specified priority. For IPv4 packet, DSCP is embedded in the TOS(type  
of Service) Octet. For a IPv6 data packet, the Traffic Class Octet can be used to differentiate the Class of  
Service. When this function is enabled, the IP1718 LF will automatically recognize the IP version and  
capture the either the TOS field(IPv4) or Traffic Class(IPv6). The following tables show the location of  
DSCP in a packet.  
Destination MAC Source MAC  
0800H  
IP version =  
IHL(4 bits)  
TOS(8 bits).  
Address(6 bytes) Address(6 bytes)  
0100b(4 bits)  
IP1718 LF maps  
TOS[5:0] to 2 levels of  
12/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 
IP1718 LF  
Preliminary Data Sheet  
priority.  
Table 4.1 IPv4 Data Format  
Destination MAC Source MAC  
0800H IP version = Traffic Class(8 bits).  
Address(6 bytes) Address(6 bytes)  
0110b(4 bits) IP1718 LF maps TC[5:0] to 2 levels of  
priority.  
Table 4.2 IPv6 Data Format  
High Priority  
Low Priority  
3’b000 ~ 3’b011  
802.1Q VLAN tag  
Precedence  
3’b100 ~ 3’b111  
IPv6 Traffic Class  
Field & IPv4 TOS  
6’b101110; 6’b001010; 6’b010010;  
6’b011010; 6’b100010; 6’b11x000  
Other values  
Table 4.3 Forwarding Priority for IP DS and 802.1Q VLAN tag  
The IP TOS/DS priority configuration can be set through enabling the corresponding register, ranging  
from 27H to 28H.  
The port based priority only concerns the physical port location in a switch. By enabling the CoS function  
of the corresponding bit in registers 23H and 24H, the IP1718 LF can set each physical port to a “high”  
priority.  
Please note that for those three CoS functions, the LSB (Least Significant Bit) of the registers  
corresponds to the low physical port number for that group.  
A data packet dropping mechanism is implemented to prevent the buffer from overrun. Once the packet  
buffer reach a specified level, the data packet assigned to the low priority will be dropped to reserve the  
buffer space for the high priority data packet.  
When multiple CoS schemes are enabled, the data packet is treated as the high priority as long as any  
one of three CoS schemes is mapped to “high”.  
Take the following example for detailed explanation.  
If port 3 is set as a low priority port and it receives a data packet which embeds VLAN tag with high  
priority and IP DS field with low priority, this data packet will be forwarded in a high priority. In the other  
word, the priority of a data packet would be set to high if any of three CoS schemes is interpreted as the  
high priority.  
4.2.4 Port_based VLAN  
The IP1718 LF provides various port_based VLAN configurations. The overall number of VALN groups  
that the IP1718 LF can support is 18. The IP1718 LF implements two registers to describe the routing  
table for each port. Thus the total number of registers which defines the port_based VLAN is 52.  
Take the following example for the detailed description. The data incoming from port 1 will be forwarded  
to the corresponding port defined in register 34H and 35H. Similarly, the forwarding rule for the data  
incoming from port 2 will refer to the register 36H and 37H.  
Note: The port ID is counted from 1 to 18.  
13/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 
IP1718 LF  
Preliminary Data Sheet  
4.2.5 Trunk Channel  
Supporting up to 3 trunk channels, the IP1718 LF provides a versatile configurations that fit many  
applications. Each trunk channel may comprise 2 to 4 ports. The traffic of the destination port passing  
through the trunk channel is defined by the registers 68H to 6AH. The hash algorithm from which the  
IP1718 LF derives the trunk ID is specified by registers 2FH. The result calculated by the hash algorithm  
is mapped to the trunk ID. A physical port can forward the trunk traffic only when the trunk ID decided by  
hash algorithm matches the setting of the Trunk Configuration register. The following table describes the  
traffic distribution rule.  
The Behavior for Each Port in a Trunk  
Result of the Hash Algorithm Trunk Channel Configuration Behavior of the Member of Trunk  
2’b00  
2’b01  
2’b10  
2’b11  
4’bXXX1  
4’bXXX0  
4’bXX1X  
4’bXX0X  
4’bX1XX  
4’bX0XX  
4’b1XXXX  
4’b0XXXX  
Forward the data through the first  
port of this group  
Do not forward the data through the  
first port of this group  
Forward the data through the  
second port of this group  
Do not forward the data through the  
second port of this group  
Forward the data through the third  
port of this group  
Do not forward the data through the  
third 7 port of this group  
Forward the data through the fourth  
port of this group  
Do not forward the data through the  
fourth port of this group  
There are four ports for each trunk and each port can be configured to fit the trunk traffic as depicted  
above.  
4.2.6 Port Mirroring  
There are some circumstances that the network administrator requires to monitor the network status.  
The port mirroring function can help the network administrator diagnose the network.  
A port mirroring function can be accomplished by assigning a monitored port(source port) and a  
snooping port (destination port). The IP1718 LF supports three kinks of mirroring methods: the ingress,  
the egress and ingress plus egress. This function can be enabled by programming the corresponding bit  
in registers 6BH to 6DH.  
Registers 6BH and 6CH defined the port which will be monitored(mirroring source). The register 6DH  
specifies the port which will snoop( mirroring destination) and the mirroring method.  
4.2.7 Queue Management  
The IP1718 LF supports three kinds of priority management: The first in first out, the strict priority and the  
weighted-round-robin.  
14/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 
IP1718 LF  
Preliminary Data Sheet  
The first in first out method will override the CoS setting and is not recommended when the CoS function  
is enabled. When the strict priority is enabled, the data packets stored in low priority queue will not be  
sent out until all data packets in high priority queue are sent out. When the weighted round robin function  
is enabled, the IP1718 LF will send the data packet in an order switching between high priority queue  
and low priority queue with ratio defined by pin 109,110 setting (without EEPROM) or Register 2CH(with  
EEPROM/CPU)  
4.2.8 Broadcast Storm Control  
To prevent the broadcast storm, the IP1718 LF implement a broadcast storm control mechanism. When  
this function is enabled, the IP1718 LF will monitor the number of the broadcast packet and take the  
proper action to prevent the broadcast packet from reaching the pre-defined buffer level. The behavior of  
the broadcast packet is dependent on the operating mode of the IP1718 LF.  
Drop the data when the flow control is disabled  
4.2.9 Handling the Higher Layer Protocol  
The IP1718 LF can handle two categories of data packet, the configuration related and the TCP/IP  
related. The configuration-related protocol concerns the network configuration such as, the VLAN group,  
the link aggregation and the spanning tree. Unlike the configuration-related protocol, the TCP/IP related  
data has nothing to do with the network.  
Four forwarding schemes can be selected to handle the protocol mentioned above, dropping the packet,  
sending to a specified port(commonly connected to a CPU), sending to a group of ports and  
broadcasting to all ports. The protocol handling scheme is programmed by writing the corresponding bit  
in register 02H.  
4.2.10 Port Security  
In some cases, it is required to disable the address learning mechanism and specify the MAC address.  
This function is useful for the application which will prevent the unauthorized user from intruding the  
network. The typical application is the Ethernet to the Home(ETTH).  
Programming the registers 31H and 32H will enable/disable the address learning function. The LSB of  
the register 31H corresponds port 1.  
The register 33H handles the forwarding rule. A data packet will be either forwarded or dropped  
depending on the setting of this register.  
15/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 
IP1718 LF  
Preliminary Data Sheet  
5
System Operation  
5.1 Reset and EEPROM Download Procedure  
The reset input should be kept at “0” for more than 1.6 microsecond after power up. After detecting the  
rising edge of reset input, the IP1718 LF will start downloading the content of EEPROM(acting like an  
EEPROM master).  
The internal register address of the IP1718 LF should comply with the address of EEPROM. Being an  
EEPROM master, the IP1718 LF will download the content of EEPROM with EEPROM ID “1726H”.  
The mapping relationship between the IP1718 LF registers and the EEPROM address are depicted as  
the following table.  
EEPROM address  
EEPROM content  
17H  
IP1718 LF Register  
XX  
00H  
01H  
02H  
03H  
04H  
05H  
26H  
XX  
Expected value  
Expected value  
Expected value  
Expected value  
01H[15:8]  
01H[7:0]  
02H[15:8]  
02H[7:0]  
••••••  
••••••  
••••••  
••••••  
••••••  
••••••  
FCH  
FDH  
Expected value  
Expected value  
7EH[15:8]  
7EH[8:0]  
Note:  
1.  
2.  
The EEPROM ID should be set to “3’b000”; i.e. A2=0; A1=0; A0=0  
The IP1718 LF download the content of the EEPROM ranging from address 00H to FDH; i.e. the  
register beyond this range is not recognized by the IP1718 LF.  
The ID for IP1718 LF recognition should be set at address 00H and address 01H as stated in the  
table.  
3.  
5.2 Polling/Writing the PHY  
The IP1718 LF periodically, around 2.8ms for each access cycle, read the status of the PHY through  
MDC, MDIO management signals. The PHY registers that will be read/write are 0, 1, 4 and 5. After  
reading the PHY status, the IP1718 LF will reconfigure the internal MAC to meet the operating mode of  
the PHY.  
The relationship between the port ID and the PHY ID is shown below.  
IP1718 LF Port  
ID  
Port 1 to Port 24  
Port 17  
Port 18  
PHY ID  
address 8 to address 31  
address 4  
address 5  
Comment  
The smallest ID of the IP1718 LF  
corresponds to the smallest PHY ID.  
Table 5.1 The Relationship between PHY ID and the IP1718 LF Port ID  
16/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 
IP1718 LF  
Preliminary Data Sheet  
The IP1718 LF can be enforced to run at a specified mode without referring to the PHY status. When  
enforced, the IP1718 LF will write the forced mode to the corresponding PHY through MDC/MDIO and  
poll the link status of PHY. Care should be taken that the operating mode in both MAC side and PHY side  
should be consistent.  
By programming the register 80H and 81H, the user can easily set the PHY register to a specified value.  
Since the MDC runs at 2.5 Mhz clock speed, the CPU should check whether the current command has  
been completed or not before issuing the next command. Bit 13 in the register 80H indicates the  
progress of the read/write operation.  
5.3 Programming the Internal Registers  
There is no need to program the register of the IP1718 LF for the generic application. However it’s  
probably necessary to program the internal register to fit some special applications. The interface  
between the IP1718 LF and the CPU is a serial bus which comprises a clock and a I/O signal. Like the  
access cycle of the serial management interface, the serial interface comprises the device ID, the  
read/write command, the address and the data. The access cycle is depicted as below.  
Driven by the IP1726  
Driven by the CPU  
........  
.
A7 A6 A5 A4 A3 A2 A1  
A0 "Z" "0" D15 D14 D13  
D0  
"0"  
"0"  
"0"  
"1" "0" "1" "1"  
SCPUIO  
SCPUC  
Fig. 5.1 The CPU read data from the IP1718 LF  
Driven by the CPU  
........  
.
A7 A6 A5 A4 A3 A2 A1  
A0 "1" "0" D15 D14 D13  
D0  
"0" "0"  
"1" "0" "1" "0" "1"  
SCPUIO  
SCPUC  
Fig. 5.2 The CPU write data to the IP1718 LF  
The access cycle is much like the access cycle of MDC, MDIO. Care should be taken that the switch ID  
is 2-bit wide rather than 5-bit wide.  
5.4 SS-SMII  
The transmitter of the MAC transfers the transmit data to the PHY at the rising edge of TXCLK and the  
TXSYNC indicates the start of the 10-bit frame. By recognizing the high pulse of the TXSYNC, the PHY  
can capture the correct transmit data stream. The PHY transfers the receive data to the IP1718 LF in a  
similar way. The difference is that the signal direction is reverse.  
Accompanied by the high pulse of TXSYNC, the TXEN status is present on the TXDATA pin and then the  
TX-ER status and finally 8-bit data. For the RX part of SS-SMII, the CRS(Carrier Sense) status is present  
17/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 
IP1718 LF  
Preliminary Data Sheet  
on the RXDATA during the high pulse of RXSYNC. The RX_DV(receive data valid) status follows CRS  
and finally the 8-bit data.  
For a given PHY port, the SS-SMII consists of six signals.  
RXDATA-one bit data for receiver  
TXDATA- one bit data for transmitter  
TXSYNC- This signal is driven by MAC.  
RXSYNC- This signal is driven by PHY.  
TXCLK- This signal is driven by MAC  
RXCLK- This signal is driven by PHY.  
TXCLK  
TX_SYNC  
TXER  
TX_D[0]  
TXEN  
TXD0  
TXD1  
TXD2  
TXD3  
TXD4  
TXD5  
TXD6  
TXD7  
TXER  
Transmit SS-SMII  
RXCLK  
RX_SYNC  
RX_D[0]  
CRS  
CRS  
RXDV  
RXD0  
RXD1  
RXD2  
RXD3  
RXD4  
RXD5  
RXD6  
RXD7  
Receive SS-SMII  
18/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
IP1718 LF  
Preliminary Data Sheet  
6
Register Map  
R = Read ; W = Write ; R/W = Read/Write  
Register  
Address  
Default  
Attribute  
Register Description  
value  
01H  
Half duplex control  
R/W  
5’h0A  
Bit [0]: Drops the packet that encounters 16 successive collisions.  
1: Drop; 0: Forward  
Bit [1]: Collision back off.  
1: Disable; 0: Enable  
Bit [2]: Reserved and should be set to “0”.  
Bit [3]: Broadcast BPDU packet.  
1: Broadcast; 0: Drop  
Bit [4]: Reserved and should be set to “0”.  
Bit [15]~ Bit 5: Not used.  
02H  
Network configuration packet capture:  
R/W  
16’h0000  
Bit [0]: Spanning tree.  
1: Capture & forward to the CPU port.  
0: Drop.  
Bit[1]: In-band management packet(Destinatopn MAC Address  
=This Switch MAC Address)  
1: Capture & forward to the CPU port.  
0: Drop  
Note: If this bit is set to “1”, the ARP will be sent to CPU port too.  
Bit[2]: LACP  
1:  
Only forward to the CPU port when register1 bit[3]= 0.  
Braodcast to other ports when register1 bit[3]=1  
0: Drop  
Bit[3]: GVRP  
1: Capture & forward to the CPU port only .  
0: Broadcast  
IP packet capture  
Bit[5:4] : ICMP  
Bit[7:6] : IGMP  
Bit[9:8] : TCP  
Bit[11:10] : UDP  
Bit[13:12] : OSPF  
Bit[15:14] : Others  
00 : Send to port 1 ~ port 16 only  
01 : Send to port 18(CPU) and port 1 ~ port 16  
10 : Send to port 18(CPU) only  
Note:  
1. When the packet capture function is enabled, port 18 should be  
set to as CPU port.  
2. If only one CPU port is required, it’s recommedded to set port 18  
as the CPU port.  
19/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 
IP1718 LF  
Preliminary Data Sheet  
Register  
Address  
Default  
Attribute  
Register Description  
Egress/Ingress data rate control.  
value  
03H  
R/W  
16’hffff  
Bit[7:0]: Egress data rate control.  
Bit[15:8]: Ingress data rate control.  
The maximum ingress/egress byte number in one time unit is.  
Bit[15:8] * 512 for Ingress  
Bit[7:0] * 512 for Egress.  
The one time unit is 10ms for 100Mbps seed and 100ms for 10Mbps  
speed.  
04H ~ 12H 04H ~ 12H: Egress/Ingress data rate control for port 2 to port 16. R/W  
04H register corresponds to port 2.  
1BH~ 1CH 1BH ~ 1CH: Egress/Ingress data rate control for port 17 and port 18.  
1BH register corresponds to port 17.  
16’hffff  
16’Hffff  
The definition is the same as that of the register 03H.  
1DH  
Port receive function.  
1: Enable;  
R/W  
0: Disable.  
Bit 0 corresponds to port 1.  
Bit 15 corresponds to port 16.  
1E  
Port receive function.  
Bit[9:8] 1: Enable; 0: Disable.  
Bit 8 and bit 9 correspond to port 17 and port 18 respectively. Other  
bits are reserved.  
R/W  
R/W  
R/W  
10’h3ff  
16’hffff  
10’h3ff  
1FH  
20H  
MAC reset for port 1 to port 16.  
0: Activate reset; 1: normal operation.  
Bit 0 corresponds to port 1.  
Bit 15 corresponds to port 16.  
MAC reset for port 17 and port 18.  
Bit[9:8] 0: Activate reset; 1: normal operation.  
Bit 8 and bit 9 correspond to port 17 and port 18 respectively. Other  
bits are reserved.  
21H  
22H  
MAC filters the data frames for port16~pot1, 1 bit per port  
0: only control frames are forwarded  
R/W  
R/W  
16’hffff  
10’h3ff  
1: all good frames are forwarded  
MAC filters the data frames for port 17 and port 18, 1 bit per port  
bit[9:8] : 0: only control frames are forwarded  
1: all good frames are forwarded  
Other bits are reserved  
23H  
24H  
Port base priority enable for port16~pot1, 1 bit per port  
bit[15:0] : 0: This port is set to normal priority  
1: This port is set to high priority  
R/W  
R/W  
16’h0  
10’h0  
Port base priority enable for port 17 and port 18, 1 bit per port  
bit[9:8] : 0: This port is set to normal priority  
1: This port is set to high priority  
Other bits are reserved  
25H  
VLAN Tag based priority enable for port16~pot1, 1 bit per port  
R/W  
16’h0  
bit[15:0] : 0: disable  
1: enable  
20/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
IP1718 LF  
Preliminary Data Sheet  
Register  
Address  
Default  
Attribute  
Register Description  
value  
26H  
VLAN Tag based priority enable for pot17 and port 18, 1 bit per port R/W  
10’h0  
bit[9:8] : 0: disable  
1: enable  
Other bits are reserved.  
27H  
28H  
IP DS based priority enable for port16~pot1, 1 bit per port  
bit[15:0] : 0: disable  
1: enable  
R/W  
R/W  
16’h0  
10’h0  
IP DS based priority enable for port 17 and pott 18, 1 bit per port  
bit[9:8] : 0: disable  
1: enable  
Other bits are reserved.  
29H  
2AH  
2BH  
2CH  
Switch MAC address[15:0]  
Switch MAC address[31:16]  
Switch MAC address[47:32]  
R/W  
R/W  
R/W  
R/W  
16’h0  
16’h0  
16’h0  
8’d0  
Out queue schedule mode / weight selection  
Bit[1:0] : Schedule mode  
2’b00: First in First out  
2’b01: Strict Priority.  
The IP1718 LF will always forward all packets with  
high priority until the packet in the high priority queue  
is empty.  
2’b10 : WRR. Weighted-and-round-robin scheme.The  
packet number in both priority queues is based on the  
defined ratio.  
2’b11 : undefined  
Bit[4:2] : Low priority queue weight number when the WRR mode is  
selected  
Bit[7:5] : High priority queue weight number when the WRR mode is  
selected.  
Note: When Bit[4:2] and Bit[7:5] are set to “000”, the weight number  
will be interpreted as “8”.  
2DH  
2EH  
Reserved for test. Do not access to this register.  
Reserved for test. Do not access to this register.  
R/W  
R/W  
9’d475  
9’d500  
21/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
IP1718 LF  
Preliminary Data Sheet  
Register  
Address  
Default  
Attribute  
Register Description  
bit[0] : Hash algorithm selection  
value  
2FH  
R/W  
8’h0  
0 : CRC mapping  
1 : Direct mapping  
bit[1] : Address table aging function disable  
0 : aging function enabled  
1 : aging function disabled  
bit[3:2] : Trunk ID hash algorithm selection  
2'b00 : Port ID(the least significant 2 bits of the result of  
port ID +1);  
Note: The port ID is counted from 1 to 18.  
2'b01 : SA(the least significant 2 bits of the source MAC  
address)  
2'b10 : DA(address bit 16 is mapped to trunk ID[1] and  
address bit 0 is mapped to trunk ID[0] );  
2'b11 : SA XOR DA(the result of the XOR operation  
described above)  
bit[4] : Broadcast Strom Control enable  
0 : broadcast storm control disabled  
1 : broadcast storm control enabled  
bit[5] : Auto turn on/off flow control when priority queue enable  
0 : normal flow control  
1 : auto turn on/off flow control  
bit[6] : Broadcast frames egress is blocked for port 17  
0 : Broadcast frames send to port 17  
1 : Broadcast frames do not send to port 17  
bit[7] : Broadcast frames egress is blocked for port 18  
30H  
bit[7:0] : Aging timer  
R/W  
R/W  
8’d9  
The aging time is about : (aging_timer + 1) x 30.7 +-6.7% sec.  
bit[14:8] : Broadcast storm control threshold  
The broadcast frame number allow in one time unit  
The time period is 1ms for 100M speed  
The time period is 10ms for 10M speed  
8h’7f  
31H  
32H  
33H  
Enable Source MAC address learning function for port16~1  
bit[15:0] : 0: disable learning  
16’hffff  
1: enable learning  
Enable Source MAC address learning function for port 18~ port 17 R/W  
bit[9:8] : 0: disable learning  
10’h3ff  
2’b10  
1: enable learning  
Security configuration  
R/W  
bit[0] : Drop the unknown SA frame going to port 18  
0 : forward  
1 : Drop  
bit[1] : forward unknown Source MAC address frame when the  
address learning function is disabled  
0 : drop the frame with unknown source MAC addreess  
1 : forward the frame with unknown source MAC addreess  
22/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
IP1718 LF  
Preliminary Data Sheet  
Register  
Address  
Default  
Attribute  
Register Description  
value  
34H  
VLAN group setting for port 1 (p16~p01)  
R/W  
16'hffff  
The bit 15 corresponds to port 16 and the LSB corresponds to port 1.  
0: The data incoming from port 1 is NOT allowed to be forwarded to  
the corresponding port.  
1: The data incoming from port 1 is allowed to be forwarded to the  
corresponding port.  
35H  
VLAN group setting for port 1 (p18~p17)  
The bit 9 corresponds to port 18 and bit 8 corresponds to port 17.  
Other bits are reserved.  
R/W  
10’h3ff  
0: The data incoming from port 1 is NOT allowed to be forwarded to  
the corresponding port.  
1: The data incoming from port 1 is allowed to be forwarded to the  
corresponding port.  
36H~  
53H  
The registers within this range are used to define the VLAN group R/W  
setting for port 2 to port 16. Like the statement of registers 34H and  
35H, two registers comprise the definition of the forwarding rule for a  
port.  
16’hffff  
&10’h3ff  
54H~63H Reserved  
64H~67H The registers within this range are used to define the VLAN group R/W  
setting for port 17 and port 18.  
16’hffff  
&10’h3ff  
23/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
IP1718 LF  
Preliminary Data Sheet  
Register  
Address  
Default  
Attribute  
Register Description  
Trunk group 0 (p4, p3, p2, p1) setting  
value  
68H  
R/W  
16’h0000  
port 1 ~ port 4 are the same trunk group and can be any  
combination to form a trunk. The trunk ID described below is derived  
by the algorithm defined in register 2FH.  
bit[3:0] : trunk configuration for port 01  
4'b0000 : the trunk is disabled.  
4'bxxx1 : pass the frame with trunk ID = 0  
4'bxx1x : pass the frame with trunk ID = 1  
4'bx1xx : pass the frame with trunk ID = 2  
4'b1xxx : pass the frame with trunk ID = 3  
bit[7:4] : trunk configuration for port 02  
bit[11:8] : trunk configuration for port 03  
bit[15:12] : trunk configuration for port 04  
Note : In a trunk group, the configuration should be ORed to 4'b1111  
and no more than one port has the same configuration bit.  
Example 1:  
bit[3:0] = 4’b1100,  
bit[7:4] = 4’b0010,  
bit[11:8]=4’b0001,  
bit[15:12]=4’b0000.  
This configuration stands for the following forwarding rule.  
Forwarding to port 1 of this group when the hash result defined in  
register 21H is 3 or 2.  
Forwarding to port 2 of this group when the hash result defined in  
register 21H is 1.  
Forwarding to port 3 of this group when the hash result defined in  
register 21H is 0.  
Port 4 is not allowed to forward the data since bit[15:12] is set to  
4’b0000.  
Example 2:  
Bit[3:0]=4’b1100, bit[15:12]=4’b1000 is not allowed.  
When the hash result is 3, the switch can not decide to forward the  
packet through either port 1 or port 4.  
69H  
6AH  
Trunk group 1 (p8, p7, p6, p5) setting  
port 5 ~ port 8 are the same trunk group and can be any  
combination to form a trunk  
R/W  
R/W  
16’d0  
8’h00  
bit[3:0] :  
bit[7:4] :  
bit[11:8] :  
trunk configuration for port 05  
trunk configuration for port 06  
trunk configuration for port 07  
bit[15:12] : trunk configuration for port 08  
Trunk group 2 (port 17, port 18) setting  
port 17 ~port 18 are the same trunk group  
bit[3:0] :  
bit[7:4] :  
trunk configuration for port 17  
trunk configuration for port 18  
24/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
IP1718 LF  
Preliminary Data Sheet  
Register  
Address  
Default  
Attribute  
Register Description  
Port Mirroring Configuration 0  
bit[15:0] : p16~p01 monitored port (source port)  
0 : this port is not monitored  
value  
6BH  
6CH  
6DH  
R/W  
R/W  
R/W  
16’h0000  
10’h000  
7’d0  
1 : this port is monitored  
The LSB corresponds to port 1.  
Port Mirroring Configuration 1  
bit[9:8] : p18~p17 monitored port (source port)  
0 : this port is not monitored  
1 : this port is monitored  
The bit 8 corresponds to port 17.  
Port Mirroring Configuration 2  
bit[4:0] : the snooping port(destination)  
5'h0: port 1  
….  
….  
5’h15: port 16  
5’h19: port 17  
5’h1A: port 18  
bit[6:5] : the port snooping scheme  
00 : disabled  
01 : egress  
10 : ingress  
11 : egress/ingress  
6EH  
6FH  
(Reserved)  
CPU read/write MAC address table Configuration  
bit[11:0] : the 4K SRAM address for MAC address table  
bit[12] : read/write configuration  
0 : read  
R/W  
16’h0000  
1 : write  
bit[13] : 70H data indicator  
0 : 70H is the data read from the table  
1 : 70H is the data to be written to table  
bit[14] : read/write enable  
0 : No action  
1 : read/write table  
bit[15] : command complete  
70H  
71H  
72H  
73H  
CPU read/write table Data [15:0]  
Store the data read from table for read command  
Store the data to be written to table for write command  
R/W  
R/W  
R/W  
R/W  
16’d0  
16’d0  
14’d0  
16’hffff  
CPU read/write table Data [31:16]  
Store the data read from table for read command  
Store the data to be written to table for write command  
CPU read/write table Data [45:32]  
Store the data read from table for read command  
Store the data to be written to table for write command  
Auto negotiation for port16~pot1, 1 bit per port  
bit[15:0] : 0: auto negotiation disabled  
1: auto negotiation enabled  
25/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
IP1718 LF  
Preliminary Data Sheet  
Register  
Address  
Default  
Attribute  
Register Description  
value  
74H  
Auto negotiation for port18~pot17, 1 bit per port  
bit[9:8] : 0: auto negotiation disable; 1: auto negotiation enable  
Other bits are reserved.  
R/W  
10’h3ff  
75H  
Speed setting for port16~pot1, 1 bit per port  
bit[15:0] : 0: 10Mb  
R/W  
16’hffff  
1: 100Mb  
The LSB corresponds to port 1.  
76H  
77H  
78H  
79H  
7AH  
7BH  
7CH  
7DH  
7EH  
Speed setting for port18~pot17, 1 bit per port  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
10’h3ff  
16’hffff  
10’h3ff  
16’hffff  
10’h3ff  
16’hffff  
10’h3ff  
16’hffff  
10’h3ff  
bit[9:8] : 0: 10Mb;  
The bit 8 corresponds to port 17.  
Other bits are reserved.  
1: 100Mb  
Duplex setting for port16~pot1, 1 bit per port  
bit[15:0] : 0: Half duplex;  
1: Full duplex  
The LSB corresponds to port 1.  
Duplex setting for port18~pot17, 1 bit per port  
bit[9:8] : 0: Half duplex; 1: Full duplex  
The bit 8 corresponds to port 17.  
Other bits are reserved.  
Pause setting for port16~pot1, 1 bit per port  
bit[15:0] : 0: disabled  
1: enabled  
The LSB corresponds to port 1.  
Pause setting for port18~pot17, 1 bit per port  
bit[9:8] : 0: disabled; 1: enabled  
The bit8 corresponds to port 17.  
Other bits are reserved.  
Backpressure setting for port16~pot1, 1 bit per port  
bit[15:0] : 0: disabled;  
1: enabled  
The LSB corresponds to port 1.  
Backpressure setting for port18~pot17, 1 bit per port  
bit[9:8] : 0: disable; 1: enable  
The bit8 corresponds to port 17.  
Other bits are reserved.  
Transmit enable for port16~pot1, 1 bit per port  
bit[15:0] : 0: Tx. disabled  
1: Tx. Enabled  
The LSB corresponds to port 1.  
Transmit enable for port18~pot17, 1 bit per port  
bit[9:8] : 0: Tx. Disabled; 1: Tx. Enabled  
The bit8 corresponds to port 17.  
Other bits are reserved.  
26/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
IP1718 LF  
Preliminary Data Sheet  
Register  
Address  
Default  
Attribute  
Register Description  
CPU read/write PHY register command  
value  
80H  
R/W  
16’d0  
bit[4:0] : the PHY address  
bit[9:5] : the MII register address  
bit[12:10] : (Reserved)  
bit[13] : 1: the read/write command has been completed  
0: not yet  
bit[14] : 0: read operation,  
1: write operation  
bit[15] : the read/write command trigger  
0: IDLE or command complete  
1: Start command  
81H  
82H  
CPU read/ write PHY register data  
bit[15:0] : the data to be written into PHY register for write command.  
The last data read from PHY register read command.  
R/W  
R
16’d0  
16’d0  
Port status of port4~pot1, 4 bit per port  
bit[3:0] : {flow_ctrl, duplex, speed, link}. Bit[15:4] indicates the  
operating mode for port4 to port2.  
83H~85H Port status for port5 to port16.  
R
R
16’d0  
16’d0  
88H  
Link status port18~pot17, 4 bit per port  
bit[7:0] : {flow_ctrl, duplex, speed, link}  
Bit0~bit4 stands fot the operating mode for port 17.  
90H  
bit[15] : share memory over-flow indication  
bit[14] : share memory under-flow indiaction  
R
16’hxx  
bit[10:0] : share memory current page count  
Reserved for test  
91H  
92H  
A0H  
Reserved 16’hxx  
Reserved for test  
Reserved 16’hxx  
bit[0] : Interrupt enable for completing CPU r/w SMI command  
1: Enable interrupt indication;  
R/W  
5’h00  
0: No interrupt  
bit[4] : Status of the CPU r/w SMI command  
1: Command completed;  
0: Command processing  
A1  
Do not access to this register.  
Reserved 16’h000f  
A2H  
bit[0] : Software reset. Writing a “1” to this bit will reset the IP1718 W  
LF. This bit is self-cleared to “0”.  
1’b0  
27/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
IP1718 LF  
Preliminary Data Sheet  
7
Electrical Characteristics  
7.1 Absolute Maximum Rating  
Permanent device damage may occur if Absolute Maximum Ratings are applied. Functional operation  
should be restricted to the conditions as specified in the following section. Exposure to the Absolute  
Maximum Conditions for extended periods may affect device reliability.  
PARAMETER  
SYMBOL  
MIN.  
MAX.  
UNIT  
Supply  
Voltage  
I/O  
VDDI/O  
VDDCore  
VI  
– 0.5  
– 0.5  
– 0.5  
– 0.5  
-65  
+3.6V  
+1.9V  
VDDI/O  
VDDI/O  
+150  
+70  
V
Core  
V
Input Voltage  
V
Output Voltage  
VO  
V
Storage Temperature  
TSTG  
TOPT  
°C  
°C  
Operation Temperature  
0
Note: The maximum ratings are the limit value that must never be exceeded even for short time.  
7.2 AC Characteristics  
SS-SMII Transmit Timing  
Symbol  
TTx_Clk  
Description  
Transmit clock cycle time  
Min.  
-
Typ.  
Max.  
-
Unit  
8
ns  
ns  
Tx_Clk rising edge to TX_Sync output delay  
Tx_Clk rising edge to TXD output delay  
1.0  
5.0  
TTSync_D  
TTData_D  
1.0  
-
5.0  
ns  
TTx_Clk  
TTSync_D  
Tx_Clk  
TxSync  
TxData  
T
TData_D  
SS-SMII Transmit  
SS-SMII Receive Timing  
Symbol  
Description  
Min.  
-
Typ.  
Max.  
Unit  
ns  
TRx_Clk  
Receive clock cycle time  
Rx_Sync Set up time  
8
-
TRSync_SU  
TRdata_H  
TRdata_SU  
TRData_H  
2.0  
1.0  
2.0  
1.0  
ns  
Rx_Sync Hold time  
RxData Set up time  
RxData Hold time  
-
-
ns  
ns  
ns  
28/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 
IP1718 LF  
Preliminary Data Sheet  
TRx_Clk  
T
RSync_H  
Rx_Clk  
RxSync  
RxData  
TRSync_SU  
T
RData_H  
TRData_SU  
SS-SMII Receive  
PHY Management (MDIO) Timing  
Symbol  
Description  
Min.  
Typ.  
200  
Max.  
Unit  
ns  
Tch  
MDCK High Time  
-
-
-
-
-
-
Tcl  
MDCK Low Time  
MDCK cycle time  
MDIO set up time  
MDIO hold time  
200  
ns  
ns  
ns  
ns  
ns  
Tcm  
400  
TMD_SU  
TMD_H  
TMD_D  
10  
-
-
-
10  
-
MDIO output delay time  
200  
210  
MDClk  
T
cl  
cm  
T
ch  
T
T
MD_H  
T
MD_SU  
MDIO  
(Input)  
MDIO Input Cycle  
MDClk  
TMD_D  
MDIO  
(Output)  
MDIO Output Cicle  
29/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
IP1718 LF  
Preliminary Data Sheet  
CPU Serial Bus Timing  
Symbol  
Description  
Min.  
400  
Typ.  
Max.  
Unit  
ns  
TS_C  
SCPUC cycle time  
Serial I/O set up time  
-
-
TSIO_SU  
TSIO_H  
TSIO_D  
10  
10  
-
-
-
ns  
ns  
ns  
Serial I/O hold time  
Serial I/O output delay time  
20  
SCPUC  
TS_C  
TSIO_H  
TSIO_SU  
SCPUIO  
(Input)  
Serial I/O Input Cycle  
SCPUC  
TSIO_D  
SCPUIO  
(Output)  
Serial I/O Output Cycle  
MII Transmit Timing  
Symbol  
Description  
Min.  
Typ.  
40  
400  
-
Max.  
Unit  
TTxClk  
TTxClk  
Transmit clock period 100Mbps MII  
Transmit clock period 10Mbps MII  
TXEN, TXD to MII_TXCLK setup time  
TXEN, TXD to MII_TXCLK hold time  
-
-
-
-
-
-
ns  
ns  
ns  
ns  
TTxClk_SU  
TTxClk_H  
2
0.5  
-
TTxClk  
MII_TXCLK  
TTxClk_H  
TXEN, TXD[3:0]  
TTxClk_SU  
30/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
IP1718 LF  
Preliminary Data Sheet  
MII Receive Timing  
Symbol  
TRxClk  
Description  
Min.  
Typ.  
40  
Max.  
Unit  
ns  
Receive clock period 100Mbps MII  
Receive clock period 10Mbps MII  
MII_RXCLK falling edge to RXDV, RXD  
-
-
-
-
TRxClk  
400  
-
ns  
TRxClk_D  
1
4
ns  
TRxClk  
MII_RXCLK  
TRxClk_H  
RXDV, RXD[3:0]  
7.3 DC Characteristics  
PARAMETER  
Output low voltage  
Output high voltage  
SYMBOL  
VOL  
MIN.  
TYP.  
MAX.  
UNIT  
0.4  
V
VOH  
1.7V for 1.8V I/O supply voltage;  
3V for 3.3V I/O supply voltage;  
V
Low level output current  
IOL  
IOH  
mA  
High level output current  
VDD33 supply current  
VDD18 supply current  
VDDPLL supply current  
VDD33 supply voltage  
1.8 or  
3.3  
V
VDD18 supply voltage  
VDDPLL supply voltage  
1.8  
V
V
V
1.8  
SS-SMII Input Low to High VT+  
1.66  
0.93  
51  
1.75  
1.79  
1.06  
127  
treshold  
point(3.3V  
operation)  
SS-SMII Input High to Low VT-  
1.01  
V
treshold  
point(3.3V  
operation)  
Pull-down resistor  
RPD  
K  
ӨJc  
ӨJa  
31/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 
IP1718 LF  
Preliminary Data Sheet  
8
Order Information  
Part No.  
IP1718  
Package  
Notice  
-
128-PIN PQFP  
128-PIN PQFP  
IP1718 LF  
Lead free  
32/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 
IP1718 LF  
Preliminary Data Sheet  
9
Package Detail  
128 PQFP Outline Dimensions  
HD  
D
103  
128  
102  
1
65  
38  
39  
64  
e
b
GAGE  
PLANE  
L
L1  
y
Dimensions In Inches  
Min. Nom. Max.  
0.010 0.014 0.018  
0.107 0.112 0.117  
0.007 0.009 0.011  
0.004 0.006 0.008  
0.669 0.677 0.685 17.00 17.20 17.40  
0.547 0.551 0.555 13.90 14.00 14.10  
0.906 0.913 0.921 23.00 23.20 23.40  
0.783 0.787 0.791 19.90 20.00 20.10  
Dimensions In mm  
Note:  
Symbol  
Min.  
0.25  
Nom.  
0.35  
2.85  
0.22  
0.15  
Max.  
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.  
A1  
A2  
b
c
HD  
D
0.45  
2.97  
0.27  
0.20  
2.73  
0.17  
0.09  
Dambar cannot be located on the lower radius of  
the foot.  
HE  
E
e
L
L1  
y
-
0.020  
-
-
0.50  
0.88  
1.60  
-
-
0.025 0.035 0.041  
-
-
0.65  
-
-
1.03  
-
0.10  
12  
0.063  
-
-
-
0.004  
12  
0
0
-
IC Plus Corp.  
Headquarters  
Sales Office  
10F, No.47, Lane 2, Kwang-Fu Road, Sec. 2,  
Hsin-Chu City, Taiwan 300, R.O.C.  
4F, No. 106, Hsin-Tai-Wu Road, Sec.1,  
Hsi-Chih, Taipei Hsien, Taiwan 221, R.O.C.  
TEL : 886-3-575-0275  
FAX : 886-3-575-0475  
TEL : 886-2-2696-1669  
FAX : 886-2-2696-2220  
Website: www.icplus.com.tw  
33/33  
January 27, 2005  
IP1718 LF-DS-R05  
Copyright © 2003, IC Plus Corp.  
 

相关型号:

IP1718LF-DS-R03

18-port 10/100Mbps Smart Switch Controller
ETC

IP1718LF-DS-R04

18-port 10/100Mbps Smart Switch Controller
ETC

IP1718LF-DS-R05

18-port 10/100Mbps Smart Switch Controller
ETC

IP1726LF

26-port 10/100M Smart Switch Controller
ETC

IP1726LF-DS-R01

26-port 10/100M Smart Switch Controller
ETC

IP1726LF-DS-R02

26-port 10/100M Smart Switch Controller
ETC

IP1726LF-DS-R03

26-port 10/100M Smart Switch Controller
ETC

IP1726LF-DS-R04

26-port 10/100M Smart Switch Controller
ETC

IP1726LF-DS-R05

26-port 10/100M Smart Switch Controller
ETC

IP1726LF-DS-R06

26-port 10/100M Smart Switch Controller
ETC

IP175

5-port 10/100M Single Chip Switch
ETC

IP175ALF

5 Port 10/100 Ethernet Integrated Switch
ETC