![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
never stop thinking. data sheet, rev. 1.02, nov. 2005 communications ninja c/cx (adm6992c/cx) two port bridge fiber to fast ethernet converter
edition 2005-11-25 published by infineon technologies ag, st.-martin-strasse 53, 81669 mnchen, germany ? infineon technologies ag 2005. all rights reserved. attention please! the information herein is given to describe certain co mponents and shall not be considered as a guarantee of characteristics. terms of delivery and rights to technical change reserved. we hereby disclaim any and all warranties, including but not limited to warranties of non-infringement, regarding circuits, descriptions and charts stated herein. information for further information on technology , delivery terms and conditions and prices please contact your nearest infineon technologies office ( www.infineon.com ). warnings due to technical requirements components may contain da ngerous substances. for information on the types in question please contact your nearest infineon technologies office. infineon technologies components may only be used in life-support devices or systems with the express written approval of infineon technologies, if a failure of such components can reasonably be expected to cause the failure of that life-support device or system, or to affect the safe ty or effectiveness of that device or system. life support devices or systems are intended to be implanted in the hu man body, or to support an d/or maintain and sustain and/or protect human life. if they fail, it is reasonable to assume that the health of the user or other persons may be endangered. template: template_a4_3.0.fm / 3 / 2005-01-17 trademarks abm ? , ace ? , aop ? , arcofi ? , asm ? , asp ? , digitape ? , duslic ? , epic ? , elic ? , falc ? , geminax ? , idec ? , inca ? , iom ? , ipat ? -2, isac ? , itac ? , iwe ? , iworx ? , musac ? , muslic ? , octat ? , optiport ? , potswire ? , quat ? , quadfalc ? , scout ? , sicat ? , sicofi ? , sidec ? , slicofi ? , smint ? , socrates ? , vinetic ? , 10basev ? , 10basevx ? are registered trademarks of infineon technologies ag. 10 bases?, easyport?, vdslite? are trademarks of infi neon technologies ag. microsoft ? is a registered trademark of microsoft corporation, linux ? of linus torvalds, visio ? of visio corporation, and framemaker ? of adobe systems incorporated. two port bridge fiber to fast ethernet converter revision history: 2005-11-25, rev. 1.02 previous version: page/date subjects (major change s since last revision) 2004-05-05 rev. 1.0, first releas e of ninja c (adm6992c) 2005-05-20 rev. 1.01, document conversion from word to framemaker (xml) 2005-11-25 rev. 1.01 changed to rev. 1.02 minor change. included green package information data sheet 4 rev. 1.02, 2005-11-25 ninja c/cx adm6992c/cx table of contents table of contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 list of figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 list of tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1 product overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.1 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.2 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.3 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.4 data lengths conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2 ninja c/cx interface description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.1 pin diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.2 pin type and buffer type abbreviation s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.3 pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3 function description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.1 10/100m phy block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.2 auto negotiation and speed configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.2.1 auto negotiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.2.2 speed configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.3 switch functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.3.1 store & forward mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.3.2 modified cut-through mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.3.3 mii cut-through mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.4 basic operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.4.1 mac address learning & filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.4.2 address learning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.4.3 hash algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.4.4 address recognition and packet forwardi ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.4.5 address aging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.4.6 back off algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.4.7 inter-packet gap (ipg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.4.8 illegal frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.4.9 half duplex flow control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.4.10 full duplex flow control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.4.11 bandwidth control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.4.12 interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.4.13 auto tp mdix function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.5 converter functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.5.1 fault propagation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.6 serial management interface (smi) register access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.6.1 preamble suppression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.6.2 read eeprom register via smi register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.6.3 write eeprom register via sm i register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.7 reset operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.7.1 write eeprom register via eeprom interf ace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 4 registers description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 4.1 eeprom registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 4.2 eeprom register descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 table of contents data sheet 5 rev. 1.02, 2005-11-25 ninja c/cx adm6992c/cx table of contents 4.2.1 eeprom register format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 4.3 serial management registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 4.4 serial management register descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 4.4.1 serail management register format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 5 electrical specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 5.1 dc characterization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 5.2 ac characterization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 6 packaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 data sheet 6 rev. 1.02, 2005-11-25 ninja c/cx adm6992c/cx list of figures figure 1 ninja c/cx (adm6992 c/cx) block diagram 9 figure 2 ninja c/cx (adm6992c/cx ) 64-pin assignment 10 figure 3 smi read operation 25 figure 4 smi write operation 26 figure 5 power on reset timing 76 figure 6 eeprom interface timing 76 figure 7 smi timing 77 figure 8 64 pin lqfp outside dimension 78 list of figures data sheet 7 rev. 1.02, 2005-11-25 ninja c/cx adm6992c/cx list of tables table 1 data lengths conventions 9 table 2 abbreviations for pin type 11 table 3 abbreviations for buffer type 11 table 4 port 0/1 twisted pair interface (8 pins) 12 table 5 led interface (12 pins) 12 table 6 eeprom interface (4 pins) 15 table 7 configuration interface (28 pins) 16 table 8 ground/power interface (27 pins) 17 table 9 miscellaneous (14 pins) 17 table 10 speed configuration 21 table 11 smi read/write command format 25 table 12 eeprom register map 28 table 13 registers address spaceregisters address space 30 table 14 registers overview 30 table 15 register access types 31 table 16 registers clock domains 32 table 17 other packet filter control regsiters 43 table 18 other filter regsiters 45 table 19 other tag port rule 0 registers 48 table 20 other tag port rule 1 regsiters 49 table 21 serial management register map 55 table 22 registers address space 57 table 23 registers overview 57 table 24 register access types 58 table 25 registers clock domainsregisters clock domains 58 table 26 other counter registers 60 table 27 electrical absolute maximum rating 75 table 28 recommended operating conditions 75 table 29 dc electrical characteri stics for 3.3 v operation 75 table 30 power on reset timing 76 table 31 eeprom interface timing 76 table 32 smi timing 77 table 33 dimensions for 64 pin lqfp outside dimension 79 list of tables ninja c/cx adm6992c/cx product overview data sheet 8 rev. 1.02, 2005-11-25 1 product overview features and the block diagram. 1.1 overview the ninja c/cx (adm6992c/cx) is a single chip integrating two 10/100 mbps mdix tx/fx transceivers with a two-port 10/100m ethernet l2 switch controller. features include a converter mode to meet demanding applications, such as fiber-to-ethernet media converters . the ADM6992CX is the environmentally friendly ?green? package version. the ninja c/cx (adm6992c/cx) suppor ts 16 entries of packet classifica tion and marking or filtering for tcp/udp port numbering, ip protocol id and ethernet type. these can be configured either using the eeprom or on-the-fly using a small, low-cost micro controller. on the media side, the ninja c/cx (adm6992c/cx)?s 0 and 1 ports support auto-mdix 10base-t/100base-tx and 100base-fx as specified by the i eee 802.3 committee through uses of digital circui try and high speed a/d. the ninja c/cx (adm6992c/cx) also supports a serial management interface (smi), which is initialized and configured using a small low-cost micro controller. it also provides the port status for remote agent monitoring and a smart counter for reporting port statistics. 1.2 features main features: ? 2-port10/100m switch integrated with a 2-port phy (10/100tx and 100fx) ? provides tx<--> fx converter modes with link pass through (lpt) ? built-in data buffer 6kx64bit sram ? up to 1k of unicast. mac addresses with a 4-way associative hashing table ? mac address learning table with aging function ? supports store & forward frame forwarding, modify cut- through frame forwarding, and fast cut-through frame forwarding. ? forwarding and filtering at non-blocking full wire speed ? 802.3x flow control for full duplex and back-pressure for half duplex ? supports auto-negotiation ? supports auto cross-over ? packet lengths up to 9216 bytes. ? 16 entries of packet classification and marking or filt ering for tcp/udp port numbering, ip protocol id and ethernet type ? serial management interface for low-end cpu ? hardware bandwidth control support for both ingress/egress traffic ? provides port status for remote agent monitoring ? provides smart counters fo r port statistics reporting ? 64 lqfp packaging with 1.8 v/3.3 v power supply data sheet 9 rev. 1.02, 2005-11-25 ninja c/cx adm6992c/cx product overview 1.3 block diagram figure 1 ninja c/cx (adm6992c/cx) block diagram 1.4 data lengths conventions table 1 data lengths conventions qword 64 bits dword 32 bits word 16 bits byte 8 bits nibble 4 bits ninja c/cx adm6992c/cx ninja c/cx interf ace description data sheet 10 rev. 1.02, 2005-11-25 2 ninja c/cx inte rface description this chapter describes pin diagram , pin type and buffer type abbreviations, and pin descriptions. 2.1 pin diagram figure 2 ninja c/cx (adm6992c/cx) 64-pin assignment data sheet 11 rev. 1.02, 2005-11-25 ninja c/cx adm6992c/cx ninja c/cx interf ace description 2.2 pin type and buffer type abbreviations standardized abbreviations: table 2 abbreviations for pin type abbreviations description i standard input-only pin. digital levels. o output. digital levels. i/o i/o is a bidirectional input/output signal. ai input. analog levels. ao output. analog levels. ai/o input or output. analog levels. pwr power gnd ground mcl must be connected to low (jedec standard) mch must be connected to high (jedec standard) nu not usable (jedec standard) nc not connected (jedec standard) table 3 abbreviations for buffer type abbreviations description z high impedance pu1 pull up, 10 k ? pd1 pull down, 10 k ? pd2 pull down, 20 k ? ts tristate capability: the corres ponding pin has 3 operationa l states: low, high and high- impedance. od open drain. the corresponding pin has 2 oper ational states, active low and tristate, and allows multiple devices to shar e as a wire-or. an external pull-up is required to sustain the inactive state until another agent drives it, and must be provid ed by the central resource. oc open collector pp push-pull. the corresponding pin has 2 operational states: active-low and active-high (identical to output with no type attribute). od/pp open-drain or push-pull. the corresponding pin can be configured either as an output with the od attribute or as an output with the pp attribute. st schmitt-trigger characteristics ttl ttl characteristics ninja c/cx adm6992c/cx ninja c/cx interf ace description data sheet 12 rev. 1.02, 2005-11-25 2.3 pin descriptions interfaces: ? port 0/1 twisted pair interface, 8 pins ? led interface, 12 pins ? eeprom interface, 4 pins ? configuration interface, 28 pins ? ground/power interface, 27 pins ? miscellaneous, 14 pins note: if not specified, all signals default to digital signals. table 4 port 0/1 twisted pair interface (8 pins) pin or ball no. name pin type buffer type function 18 txp_0 ai/o twisted pair transmit output positive. 30 txp_1 ai/o 19 txn_0 ai/o twisted pair transmit output negative. 29 txn_1 ai/o 22 rxp_0 ai/o twisted pair receive input positive. 26 rxp_1 ai/o 23 rxn_0 ai/o twisted pair receive input negative. 25 rxn_1 ai/o 21 fxsdp_0 ai omd signal detect in 27 fxsdp_1 ai table 5 led interface (12 pins) pin or ball no. name pin type buffer type function 52 lnkact_0 i/o ttl, pd, 8ma port0 link & active led/link led. if ledmode_0 is 1, this pin indicates both link status and rx/tx activity. when link status is link_up, lnkact_0 will be turned on. while port0 is receiving /transmitting data, lnkact_0 will be off for 100ms and then on for 100ms. if ledmode[0] is 0, this pin only indicates rx/tx activity. led_data_0 ledmode_0 led mode for link/act led of port0. during power on reset, value will be latched by ninja c/cx (adm6992c/cx) at the rising e dge of resetl as ledmode_0. data sheet 13 rev. 1.02, 2005-11-25 ninja c/cx adm6992c/cx ninja c/cx interf ace description 53 lnkact_1 i/o ttl, pd, 8ma port1 link & active led/link led. if ledmode_2 is 1, this pin indicates both link status and rx/tx activity. when link status is link_up, lnkact_1 will be turned on. while port1 is receiving /transmitting data, lnkact_1 will be off for 100ms and then on for 100ms. if ledmode[2] is 0, this pin only indicates rx/tx activity. led_data_1 ledmode_1 led mode for link/act led of port0 & port1. during power on reset, value will be latched by ninja c/cx (adm6992c/cx) at the rising e dge of resetl as ledmode_1. if ledmode_1 is 1, dupcol[1:0] will display both duplex condition and collision status. if ledmode_1 is 0, only co llision status will be displayed. 61 dupcol_0 i/o ttl, pd, 8ma port0 duplex/collision led if ledmode_1 is 1, this pin indicates both duplex condition and collision status. when full_dupl ex, this pin will be turned on for port0. when half_duplex and no collision occurs, this pin will be turned off. when half_duplex and a collision occurs, this pin will be off fo r 100ms and then on for 100ms. if ledmode_1 is 0, this pin in dicates collision status. when in half_duplex and a collision occurs, this pin will be off for 100ms and turn on for 100ms. led_col_0 collision led dis_learn disable address learning. during power on reset, value will be latched by ninja c/cx (adm6992c/cx) at the rising e dge of resetl as dis_learn. if dis_learn is 1, mac addre ss learning will be disabled. 62 dupcol_1 i/o ttl, pu, 8ma port1 duplex if ledmode_1 is 1, this pin indicates both duplex condition and collision status. when full_dupl ex, this pin will be turned on for port1. when half_duplex and no collision occurs, this pin will be turned off. when half_duplex and a collision occurs, this pin will be off for 100ms and then on for 100ms. if ledmode_1 is 0, this pin in dicates collision status. when half_duplex and a collision occurs, this pin will be off for 100ms and turn on for 100ms. led_col_1 collision led 58 ldspd_0 i/o ttl, pd, 8ma port0 speed led used to indicate speed status of port0. when operating in 100mbps this pin is turned on, and when operating in 10mbps this pin is off. fxmode0 fxmode0 during power on reset, value will be latched by ninja c/cx (adm6992c/cx) at the rising edge of resetl as bit 0 of fxmode. table 5 led interface (12 pins) (cont?d) pin or ball no. name pin type buffer type function ninja c/cx adm6992c/cx ninja c/cx interf ace description data sheet 14 rev. 1.02, 2005-11-25 60 ldspd_1 i/o ttl, pd, 8ma speed led, port1 used to indicate speed status of port1. when operating in 100mbps this pin is turned on, and when operating in 10mbps this pin is off. led_fiber_sd led_fiber_sd. used to indicate signal status of port1 when ninja c/cx (adm6992c/cx) is operating in converter mode. ledmode2 led mode for link/act led of port1. during power on reset, value will be latched by ninja c/cx (adm6992c/cx) at the rising edge of resetl as ledmode2. 0 b tbd , act 1 b tbd , link/act 63 led_link_0 i/o ttl, pu, 8ma port0 link led this pin indicates link status. wh en port0 link status is link_up, this pin will be turned on. fxmode1 fxmode1 during power on reset, value will be latched by ninja c/cx (adm6992c/cx) at the rising edge of resetl as bit 1 of fxmode. fxmode [1:0] interface 00 b tbd , both port0 & port1 are tp port 01 b tbd , port0 is tp port and port1 is fx port 10 b tbd , port0 is tp port and port1 is fx port (converter mode) 11 b tbd , both port0 & port1 are fx port 64 led_link_1 i/o ttl, pu, 8ma port1 link led this pin indicates link status. wh en port1 link status is link_up, this pin will be turned on. bypass_paus e bypass frame which destination address is reserved i eee mac address. during power on reset, value will be latched by ninja c/cx (adm6992c/cx) at the risi ng edge of resetl as bypass_pause. 0 b d , disable 1 b e , enable 55 led_full_0 i/o ttl, pu, 8ma port0 full duplex led this pin indicates current duplex condition of port0. when full_duplex, this pin will be turned on. when half_duplex this pin will be turned off. chipid_0 chip id bit 0. during power on reset, value will be latched by ninja c/cx (adm6992c/cx) at the risi ng edge of resetl as chipid_0 . table 5 led interface (12 pins) (cont?d) pin or ball no. name pin type buffer type function data sheet 15 rev. 1.02, 2005-11-25 ninja c/cx adm6992c/cx ninja c/cx interf ace description 56 led_full_1 i/o ttl, pu, 8ma port1 full duplex led this pin indicates current duplex condition of port1. when full_duplex, this pin will be turned on. when half_duplex this pin will be turned off. chipid_1 chip id bit 1 during power on reset, value will be latched by ninja c/cx (adm6992c/cx) at the risi ng edge of resetl as chipid_1 . chipid_1 : chipid_0 ] 00 b tbd , master device 01 b tbd , slave device 1x b tbd , slave device 50 led_lpbk i/o ttl, pu, 8ma loop back test led while performing loop back test this pin is turned on. chipid_2 chip id bit 2 during power on reset, value will be latched by ninja c/cx (adm6992c/cx) at the risi ng edge of resetl as chipid_2 . 51 led_wan_fail o ttl, pd, 8mu wan fail led when receiving an oam frame which has a s2 bit = 1, this pin is turned on. disbp disable back pressure during power on reset, value will be latched by ninja c/cx (adm6992c/cx) at the risi ng edge of resetl as disbp . 0 b e , enable back-pressure (default) 1 b d , disable back-pressure table 6 eeprom interface (4 pins) pin or ball no. name pin type buffer type function 2 eedo i ttl, pu eeprom data output serial data input fr om eeprom. this pin is internal pull-up. 5 eecs/ifsel i/o pd, 4ma eeprom chip select this pin is an active high chip enabled for eeprom. when resetl is low, it will be tristate. 0 b sm , select serial management interface 1 b ee , select eeprom interface table 5 led interface (12 pins) (cont?d) pin or ball no. name pin type buffer type function ninja c/cx adm6992c/cx ninja c/cx interf ace description data sheet 16 rev. 1.02, 2005-11-25 4 eeck/sdc i/o ttl, pu, 4ma serial clock this pin is the eeprom clock source. when resetl is low, it will be tristate. this pin is internal pull-up. if ifsel is 1, this pin is used as eeck. if ifsel is 0, this pin is used as sdc. 3 eedi/sdio i/o ttl, pu, 4ma eeprom serial data input this pin is the output for serial data transfer. when resetl is low, it will be tristate. if ifsel is 1, this pin is used as eedi. if ifsel is 0, this pin is used as sdio. table 7 configuration interface (28 pins) pin or ball no. name pin type buffer type function 47 p0_andis i ttl, pd auto-negotiation disable for port0 0 b e , enable 1 b d , disable 46 p0_rechalf i ttl, pd recommend half duplex communication for port0 0 b f , full 1 b h , half 45 p0_rec10 i ttl, pd recommend 10m for port0 0 b 100 , 100m 1 b 10 , 10m 43 p0_fcdis i ttl, pd flow control disable for port0 0 b e , enable 1 b d , disable 42 p1_andis i ttl, pd auto-negotiation disable for port1 0 b e , enable 1 b d , disable 41 p1_rechalf i ttl, pd recommend half duplex communication for port1 0 b f , full 1 b h , half 40 p1_rec10 i ttl, pd recommend 10m for port1 0 b 100 , 100m 1 b 10 , 10m 39 p1_fcdis i ttl, pd flow control disable for port1 0 b e , enable 1 b d , disable table 6 eeprom interface (4 pins) (cont?d) pin or ball no. name pin type buffer type function data sheet 17 rev. 1.02, 2005-11-25 ninja c/cx adm6992c/cx ninja c/cx interf ace description 34 xoven i ttl, pu auto-mdix enable. 0 b d , disable 1 b e , enable 35 p0_mdi i ttl, pu mdi/mdix control for port0 this setting will be ignor ed if enabled auto-mdix. 0 b mdix , mdix 1 b mdi , mdi table 8 ground/power interface (27 pins) pin or ball no. name pin type buffer type function 20, 28 gndtr gnd, a ground used by ad receiver/transmitter block. 17, 31 vcca2 pwr, a 1.8 v used for analogue block 24 vccad pwr, a 3.3 v used for tx line driver 14 gndbias gnd, a ground used by digital substrate 16 vccbias pwr, a 3.3 v used for bios block 11 gndpll gnd, a ground used by pll 10 vccpll pwr, a 1.8 v used for pll 6, 32, 49 gndik gnd, a ground used by digital core and pre-driver 33, 44, 59 vccik pwr, d 1.8 v used for digital core and pre-driver 54 gndo gnd, d ground used by digital pad 57 vcc3o pwr, d 3.3 v used for digital pad. table 9 miscellaneous (14 pins) pin or ball no. name pin type buffer type function 1 int o ttl, od, 4ma interrupt this pin will be used to interrupt external management device. when eeprom register 0x 5 bit [15] is 0, this pin is low-active. when eeprom register 0x5 bit [15] is 1, this pin is high-active. 12 control ao fet control signal the pin is used to control fet for 3.3 v to 1.8 v regulator. 15 rtx a tx resistor 13 a_pd_detect a analog reference voltage 7 rc i ttl, st rc input for power on reset ninja c/cx (adm6992c/cx) sample pin rc as resetl with the clock input from pin xi. table 7 configuration interface (28 pins) (cont?d) pin or ball no. name pin type buffer type function ninja c/cx adm6992c/cx ninja c/cx interf ace description data sheet 18 rev. 1.02, 2005-11-25 8 xi ai 25m crystal input 25m crystal input. variation is limited to +/- 50ppm. 9 xo ao 25m crystal output when connected to oscillator, th is pin should left unconnected. 37 test i ttl, pd test pin during power on rese t, value will be latched by ninja c/cx (adm6992c/cx) at the rising edge of resetl as test. connect to gnd at normal application. 38 scan_md i ttl, pd scan mode for test only. connect to gnd at normal application. table 9 miscellaneous (14 pins) (cont?d) pin or ball no. name pin type buffer type function data sheet 19 rev. 1.02, 2005-11-25 ninja c/cx adm6992c/cx function description 3 function description the ninja c/cx (adm6992c/cx) int egrates two 100base-x physical la yer devices (phy), two complete 10baset modules, a two-port 10/100 switch controller and memory into a single chip for both 10mbps and 100 mbps ethernet switch operation. it also supports 100base- fx operations through extern al fiber-optic transceivers. the device is capable of operating in either full-duple x or half-duplex mode in both 10 mbps and 100 mbps operation. operation modes can be selected by hardwa re configuration pins, software settings of management registers, or determined by the on-chip auto negotiation logic. the ninja c/cx (adm6992c/cx) c onsists of four major blocks: ? oam engine ? 10/100m phy block ? switch controller block ? built-in 6kx64 ssram 3.1 10/100m phy block the 100base-x section of the device im plements the following functional blocks: ? 100base-x physical coding sub-layer (pcs) ? 100base-x physical medium attachment (pma) ? 100base-x physical medium dependent (pmd) the 10base-t section of the device implements the following functional blocks: ? 10base-t physical layer signaling (pls) ? 10base-t physical medium attachment (pma) the 100base-x and 10base-t sections share the following functional blocks: ? clock synthesizer module ? mii registers ? ieee 802.3u auto negotiation the interfaces used for the communication between the phy block and switch core is a mii interface. an auto mdix function is supported. this function can be enabled/disabl ed using the hardware pin. a digital approach for the integrated phy of the ni nja c/cx (adm6992c/cx) has been adopted. ninja c/cx adm6992c/cx function description data sheet 20 rev. 1.02, 2005-11-25 3.2 auto negotiation a nd speed configuration 3.2.1 auto negotiation the auto negotiation function provides a mechanism fo r exchanging configuration information between two ends of a link segment and automatically selecting the highes t performance mode of operat ions supported by both devices. fast link pulse (flp) bu rsts provide the signa ling used to communicate auto negotiation abilities between two devices at each end of a link segment. for furt her details regarding auto negotiation, refer to clause 28 of the ieee 802.3u specification. the ninja c/cx (adm6992 c/cx) supports four diff erent ethernet protocols, so the inclusion of auto n egotiation ensures that the highest performance protocol will be selected based on the ability of the link partner. the auto negotiation function within th e ninja c/cx (adm6992c/cx) can be cont rolled either by internal register access or by the use of configuratio n pins. if disabled, auto negotiation will not occur until software enables bit 12 in mii register 0. if auto negoti ation is enabled, t he negotiation process will commence immediately. when auto negotiati on is enabled, the ninja c/cx (adm6992c/cx) transmits the abilities programmed into the auto negotiation advertisement register at address 04 h via flp bursts. any combination of 10 mbps, 100 mbps, half duplex, and full duplex modes may be selected. auto negotiation controls the exchange of configuration information. upon successfu lly auto negotiating, the abilit ies reported by the link part ner are stored in the auto negotiation link pa rtner ability register at address 05 h . the contents of the ?auto negotiation link partner ability re gister? are used to automatically configure the highest performance protocol between the local and far-end nodes. software can determine which mode has been configured by auto negotiation, by comparing the contents of register 04 h and 05 h and then selecting the technology whose bit is set in both registers of highest priority relative to the following list: 1. 100base-tx full duplex (highest priority) 2. 100base-tx half duplex 3. 10base-t full duplex 4. 10base-t half duplex (lowest priority) the basic mode control register at address 0 h controls the enabling, disabling and restarting of the auto negotiation function. when auto negotiati on is disabled, the speed selection bi t (bit 13) controls switching between 10 mbps or 100 mbps operation, while the duplex mode bi t (bit 8) controls switching between full duplex operation and half duplex operation. the speed selection and duple x mode bits have no effect on the mode of operations when the auto negotiation enabled bit (bit 12) is set. the basic mode status register at address 1 h indicates the set of available abilitie s for technology types (bit 15 to bit 11), auto negotiation ability (bit 3) , and extended register capab ility (bit 0). these bits ar e hardwired to indicate the full functionality of the ninj a c/cx (adm6992c/cx). the bm sr also provides status on: ? whether auto negotiation is complete (bit 5) ? whether the link partner is advertising th at a remote fault has occurred (bit 4) ? whether a valid link has been established (bit 2) the auto negotiation advertisement register at address 04 h indicates the auto negotiation abilities to be advertised by the ninja c/cx (adm6992c/cx). all available abilities ar e transmitted by default, but writing to this register or configuring external pi ns can suppress any ability. the auto negotiation link partner ability register at address 05 h indicates the abilities of the link partner as indicated by auto negotiation communica tion. the contents of this register are considered valid when the auto negotiation complete bit (bit 5, register address 1 h ) is set. 3.2.2 speed configuration the twelve sets of four pins listed in table 10 configure the speed capability of each channel of the ninja c/cx (adm6992c/cx). the logic states of th ese pins are latched into the advert isement register (register address 4 h ) data sheet 21 rev. 1.02, 2005-11-25 ninja c/cx adm6992c/cx function description for auto negotiation purpose. these pins are also used fo r evaluating the default value in the base mode control register (register 0 h ) according to table 10 . in order to make these pins have the same read/write priority as software, they should be programmed to 11111111 b in case a user wishes to update the advertisement register through software. 3.3 switch functional description the ninja c/cx (adm6992c/cx) supports three types of data forwarding mode, store & forward mode, modified and mii cut-through. 3.3.1 store & forward mode the ninja c/cx (adm6992c/cx) allows switching between different speed media (e.g. 10basex and 100basex) in store & forward m ode. the entire received frame will be stored into its packet bu ffer. the ninja c/cx (adm6992c/cx) checks the length and frame check se quence (fcs) of the received frame to prevent the forwarding of corrupted packets before forwarding to the destination port. a mac address filtering process can be enabled to filter local traffic to improve overall networ k performance. the maximum packet length is up to 9216 bytes in this mode. the maximum packet length is defined in bi t [13:0] of eepr om register 03 h . table 10 speed configuration advertis e all capabilit y advertis e single capabili ty paralle l detect follow ieee std. auto negoti- ation (pin & eeprom) speed (pin & eeprom ) duplex (pin & eeprom ) auto negot iation advertise capability parallel detect capability 10 0f 10 0h 10 f 10 h 10 0f 10 0h 10 f 10 h 1 0 0 1 x x 1 1 1 1 1 1 0 1 0 1 0 1 1 x x 1 1 1 1 1 0 1 0 1 1 1 0 1 x x 1 1 0 0 0 1 0 0 0 1 1 1 1 x x 1 1 0 0 0 0 1 0 0 0 0 0 1 1 1 1 1 1 1 1 1 0 1 0 0 0 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 1 1 1 1 0 0 0 1 0 0 0 0 1 1 1 1 1 1 1 0 0 0 0 1 0 0 0 0 x 1 1 0 1 0 1 0 1 0 1 0 1 0 1 x 1 1 0 1 0 1 0 0 0 1 0 0 0 0 0 1 0 1 1 0 0 1 1 0 0 1 0 0 0 1 1 0 1 1 0 0 1 1 0 0 0 1 0 1 0 1 0 1 1 0 0 1 0 0 0 1 0 0 1 1 1 0 1 1 0 0 1 0 0 0 0 1 0 x x 1 0 0 1 0 0 0 1 0 0 0 1 x x x 0 1 1 0 1 ? ? ? ? ? ? ? x x x 0 1 0 0 ? 1 ? ? ? ? ? ? x x x 0 0 1 0 ? ? 1 ? ? ? ? ? x x x 0 0 0 0 ? ? ? 1 ? ? ? ? ninja c/cx adm6992c/cx function description data sheet 22 rev. 1.02, 2005-11-25 3.3.2 modified cut-through mode the ninja c/cx (adm6992c/cx) begins to forward the received packet when it receives the first 64 bytes of the packet. the latency is about 512 bi ts time width. the ninja c/cx (a dm6992c/cx) will not forward fragment packets. the mac address learning & filtering should be disabled in this mode, because the received packets may be corrupted. the maximum packet length is up to 9216 by tes in this mode. the maximum packet length is defined in bit [13:0] of eeprom register 03 h . 3.3.3 mii cut- through mode the ninja c/cx (adm6992 c/cx) begins to forward the received packet at the beginning of the received packet. it provides the minimum latency in th is mode. the maximum packet length is 9216 bytes if the clock difference between mii receive clock and mii transmit clock is 200ppm. 3.4 basic operations 3.4.1 mac address le arning & filtering the ninja c/cx (adm6992c/cx) adopts 4- way associative hash architecture to store the mac address table. it can store up to a maximum 1k of mac addresses. in store & forward mode, the ninja c/cx (adm6992c/cx) receives incoming packets from one of its ports, searches in the address table for the destination mac a ddress, and then forwards the packet to the other port, if appropriate. if the destination address is not found in the address table, the ninja c/cx (adm6992c/cx) treats the packet as a broadcast packet and forwards the packet to the other ports. if the destination port is the same with the port where the packet received from, the ninja c/ cx (adm6992c/cx) treats the packet as a local traffic packet and discards it. 3.4.2 address learning the ninja c/cx (adm6992c/cx) searches for the source address (sa) of an incoming packet in the address table and acts as below: 1. the ninja c/cx (adm6992c/cx) au tomatically learns the port number of attached network devices by examining the source mac address of all incoming packets at wire speed 2. if the sa was not found in the address table (a ne w address), the ninja c/cx (adm6992c/cx) waits until the end of the packet (non-error pa cket) and updates the address table 3. if the sa was found in the address table, then the aging va lue of each corresponding entry will be reset to 0 4. when the da is in pause mode, th en the learning process will be disabl ed automatically by the ninja c/cx (adm6992c/cx) 3.4.3 hash algorithm the ninja c/cx (adm6992c/cx) supports two types of hash algorithms for address learning & filtering. the first is the crc-ccitt polynomial method. the 48 bits mac addre ss is reduced to a 16 bits crc hash value. bit [7:0] of the crc are used to index the 1k address table. the crc-ccitt polynomial is the second is the direct-map method. the 48-bit mac add ress is mapped into a 8 bits address spaced by xor- method to index the 1k address table. the hash type can be selected by us ing bit [15] of eeprom register 03 h . data sheet 23 rev. 1.02, 2005-11-25 ninja c/cx adm6992c/cx function description 3.4.4 address recognition and packet forwarding the address learning & filtering process forwards the incoming packets between bridged ports according to the destination address (da) as below. 1. if the da is a unicast address and the address was found in the address table, the ninja c/cx (adm6992c/cx) will check the port number and act as follows: a) if the port number is equal to the port on which the packet was received, the packet is discarded. b) if the port number is different from the port on whic h the packet was rece ived, the packet is forwarded across the bridge. 2. if the da is a unicast address and the address was no t found, the ninja c/cx (a dm6992c/cx) treats it as a multicast packet and forwards it across the bridge. 3. if the da is a multicast address, the packet is forwarded across the bridge. 4. if the da is pause command (01- 80-c2-00-00-01), then this packet will be dropped by the ninja c/cx (adm6992c/cx). the ninja c/cx (adm6992 c/cx) can issue and learn pause commands. 5. the ninja c/cx (adm6992c/cx) will forw ard by default or filt er out the packet with da of (01-80-c2-00-00- 00), discard the packet with da of (01-80-c2-00-00-01), filter out the packet with da of (01-80-c2-00-00-02 ~ 01-80-c2-00-00-0f), and forward the packet with da of (01-80-c2-00-00-10 ~ 01-80-c2-00-00-ff) decided by eeprom reg. 0e h . 3.4.5 address aging address aging is supported for topology changes such as an address moving from one port to the other. when this happens, the ninja c/cx (adm6992c /cx) internally has 300 seconds ti mer, after which the address will be ?aged out? (removed) from the address table. aging func tion can enabled/disabled by the user. normally, disabling the aging function is for security purposes. 3.4.6 back off algorithm the ninja c/cx (adm6992c/cx) implements the truncated exponential back off algorithm compliant to the 802.3 csma-cd standard. the ninja c/cx (adm6992c/cx) will re start the back off algorith m by choosing 0-9 collision counts. the ninja c/cx (adm6992c/cx) resets the collision counter after 16 consecutive retran smitting trials. 3.4.7 inter-packet gap (ipg) ipg is the idle time between any two successive packets from the same port. the typical number is 96 bits time. the value is 9.6us for 10mbps ethernet, 960ns for 100mbps fast ethernet, and 96ns for 1000m. the ninja c/cx (adm6992c/cx) provides an option of 92 bit-time g aps in the eeprom to preven t packet loss when flow control is turned off and the clock p.p.m. value differs. 3.4.8 illegal frames in store & forward mode, the ninja c/ cx (adm6992c/cx) will discard all ille gal frames such as small packets (less than 64 bytes), oversi zed packets (greater than the value which is defined in bi t [13:0] of eepr om register 03 h ) and bad crc. dribblin g packing with good crc value will a ccept by ninja c/ cx (adm6992c/cx). in modified cut-through mode, the ni nja c/cx (adm6992c/cx) will forward a ll received packets except for small packets (less than 64 bytes). in mii cut-through mode, the ninja c/cx (a dm6992c/cx) will forward all received packets. 3.4.9 half duplex flow control a back pressure function is supported for half-duplex operation. when the ninja c/cx (adm6992c/cx) cannot allocate a received buffer for an incomi ng packet (buffer full), the device w ill transmit a jam patt ern on the port, thus forcing a collision. back pressure is disabled by disbp which is set du ring resetl assertio n. a proprietary ninja c/cx adm6992c/cx function description data sheet 24 rev. 1.02, 2005-11-25 algorithm is implemented inside the ninja c/cx (adm6992 c/cx) to prevent the back pressure function causing hub partition under a heavy traffic environment and reduce the packet lost rate to increase the whole system performance. 3.4.10 full duplex flow control when a full duplex port runs out of its received buffer space, a pause packet command will be issued by the ninja c/cx (adm6992c/cx) to notify th e packet sender to pause transmission . this frame based flow control is totally compliant to ieee 802.3x . the ninja c/cx (adm6992c/cx) can issue or receive pause packets. 3.4.11 bandwidth control ninja c/cx (adm6992c/cx) supports hardware-based band width control for both ingress and egress traffics. ingress and egress rates can be limited independently on a per port base. the ninja c/cx (adm6992c/cx) uses 8ms at the scale, and the minimum bandwidth control unit is 4 kbit/s so users can configure the rate equal to k * 4 kbit/s, 1<=k<=25000. the ninja c/cx (adm6992c/cx) maintains two counters (input and output) for each port. for example, if users want to limit the rate to 64 kbit/s, they should configure the bandwidth control threshold to 16. for each time unit, the ninja c/cx (adm6992c/cx) will add 64 to the c ounter and decrease the byte length when receiving a packet during this period. when the co unter is decreased to zero, we can divide the control behavior into two parts: 1. for the ingress control, the ingress port will not stop receiving packets. if flow cont rol is enabled, pause packets will be transmitted, if back pressure is enabled, jam packets will be transmitte d, and if the above functions are not enabled, the packet will be discarded. 2. for the egress control, the egress port will not trans mit any packets. the port receiving packets that are forwarded to the egress port will transmit pause packets if flow control is enabled, transmit jam packets if back pressure is enabled, and discard packets if all the above functions are not enabled. 3.4.12 interrupt with the use of external cpu support, the ninja c/cx (adm6992c/cx) can issue an interrupt to the cpu if any event defined in smi interrupt register 10 h and smi interrupt mask register 11 h occurs. 3.4.13 auto tp mdix function the normal application in which a switch connects to a ni c card is by a one-to-one tp cable. if the switch connects to other devices such as another switch, it can be done by two ways. the first is to use a cross over tp cable and the second way is to use an extra rj45 conn ector by internally crossing over the txp/txn and rxp/rxn signals. by using the seco nd way, customers can use a one-to-one cable to connect two switch devices. all these efforts add extra costs and are not a good solution. the ninja c/cx (adm6992c/cx) provides an auto mdix function, which adjusts the txp/txn a nd rxp/rxn automatically on th e correct pins. users can use one-to-one cabling between the ni nja c/cx (adm6992c/cx) and other de vices either switches or nics. 3.5 converter functional description 3.5.1 fault propagation the ninja c/cx (ninja c/cx (adm6992c/cx)) media co nverter incorporates a f ault propagation feature, which allows indirect sensing of a fiber link loss vi a the 10/100base-tx utp connection. whenever the ninja c/cx (ninja c/cx (adm6992c/cx)) media converter detects a link loss condition on the received fiber (fiber lnk off), it disables its utp link pulse so that a link loss condition will be sensed on the utp port to which the data sheet 25 rev. 1.02, 2005-11-25 ninja c/cx adm6992c/cx function description ninja c/cx (ninja c/cx (adm6992c/cx)) media converte r is connected. this link loss can then be sensed and reported by a network ma nagement agent in the remote utp port?s host equip ment. this feature will affect the ninja c/cx (ninja c/cx (adm6992c/cx)) utp lnk led. the ninja c/cx (ninja c/cx (adm699 2c/cx)) media converter also incorporates a far end fault feature, which allows the stations on both ends of a pair of fibers to be informed w hen there is a problem with one of the fibers. without far end fault, it is impossible for a fiber interface to detect a problem that affects only its transmitting fiber. when far end fault is su pported and e nabled, a loss of received signal (link) will cause th e transmitter to generate a far end fault pattern in order to inform the device at the far end of the fiber pair that a fault has occurred. unless fiber link loss occurs or if the utp port link fails , the ninja c/cx (ninja c/cx (adm6992c/cx)) media converter will also generate a far end faul t pattern in order to inform the device at t he far end of the fiber pair that a fault has occurred. 3.6 serial management interf ace (smi) register access the smi consists of two pins, management data clock (sdc) and management data input/output (sdio). the ninja c/cx (adm6992c/cx) is design ed to support an sdc frequency up to 25 mhz. the sdio line is bi- directional and may be shared with other devices. the sdio pin requires a 1.5 k pull-up wh ich, during idle and turn around periods, will pull sdio to a logic one state. ninja c/cx (adm6992c/cx) requires a single initialization sequence of 35 bits of preamble following power- up/hardware reset. the first 35 bits are preamble consis ting of 35 contiguous logic one bits on sdio and 35 corresponding cycles on sdc. following preamble is the st art-of-frame field indicated by a <01> pattern. the next field signals the operation code (op): <10> indicates read from management register operation, and <01> indicates write to management register operation. the next fi eld is the management register address. it is 10 bits wide and the most significant bit is transferred first. during read operation, a 2-bit turn around (ta) time s pacing between the register addr ess field and data field is provided for the sdio to avoid contention. following t he turnaround time, a 32-bit data stream is read from or written into the management register s of the ninja c/cx (adm6992c/cx). figure 3 smi read operation table 11 smi read/write command format operation preamble sfd op chipid[1:0] unused register address ta data read 35?1?s 01 10 2 bits chipid 00 6 bits address z0 32 bits data read write 35?1?s 01 01 2 bits chipid 00 6 bits address 10 32 bits data write ninja c/cx adm6992c/cx function description data sheet 26 rev. 1.02, 2005-11-25 figure 4 smi write operation 3.6.1 preamble suppression the smi of ninja c/cx (adm6992c/cx) supports a prea mble suppression mode. if the station management entity (i.e. mac or other management controller) determ ines that all devices which are connected to the same sdc/sdio in the system support preamb le suppression, then the station management entity needs not to generate preamble for each management transaction. the ninja c/cx (adm6992c/cx) requires a single initialization sequence of 35 bits of preamble following power-up/hardware rese t. this requirement is generally met by pulling-up the resistor of sdio . while the ninja c/cx (adm6992c/cx ) will respond to management accesses without preamble, a minimum of one idle bit between management transactions is required. when ninja c/cx (adm6992c/cx) detects that there is address match, then it will enable read/write capability for external access. when address is mismatched, then ninja c/cx (adm6992c/cx) will tristate the sdio pin. 3.6.2 read eeprom regi ster via smi register the following 2 steps are for reading the data of eeprom register via smi interface. write the address of the desired eeprom regi ster and read command to smi register 013 h ex. <35?1?s><01><01><00000><10011><10>< 000 0000000 000001 0000000000000000 > cmd address data read ninja c/cx (adm6992c/cx) internal eeprom mapping reg.1 h . read smi register 013 h . the data of desired eeprom register will be in bit [15:0]. ex. <35?1?s><01><10><00000><10011> data sheet 27 rev. 1.02, 2005-11-25 ninja c/cx adm6992c/cx function description 3.6.3 write eeprom regi ster via smi register to write data into desired eeprom register, write the addr ess of the eeprom register. ex. <35?1?s><01><01><00000><00100><10>< 001 0000000 000001 0001000001000000> cmd address data write ninja c/cx (adm6992c/cx) internal eeprom mapping reg.1 h . with value 820f. 3.7 reset operation the ninja c/cx (adm6992c/cx) can be reset either by ha rdware or software. a hardware reset is accomplished by applying a negative pulse, with du ration of at least 100 ms to the rc pin of the ninja c/cx (adm6992c/cx) during normal operation to guarantee internal ssram is reset properly. hardware reset operation samples the pins and initializes a ll registers to their default values. this process includes re-evaluation of all hardware configurable registers. a hardware reset affects all embedded phys in the device. software reset can reset all embedded phy and it does not latch the external pins nor reset the registers to their respective default values. this can be achieved by writing ff to eeprom reg.3f h . logic levels on several i/o pins are detected during a hardw are reset to determine the initial functionality of ninja c/cx (adm6992c/cx). some of these pins are used as output ports after reset operation. care must be taken to ensure that the configuration setup will not interf ere with normal operations. dedicated configuration pins can be tied to vcc or ground directly. configuration pins multiple xed with logic level output functions should be either weakly pulled up or weakly pulled down through external resistors. 3.7.1 write eeprom regist er via eeprom interface to write data into desired eeprom register via eeprom interface. if external eeprom 93c46 or 93c66 exists, any writ e programming instructions after ewen instruction is executed can be updated effectively on eeprom cont ent and ninja c/cx (adm6 992c/cx) internal mapping register on the same time. if no external eeprom exists, eecs/e eck/eedi must be kept tristate at least 100ms after ha rdware reset. any write programming instructions after ewen instruction is executed can be updated effectively on ninja c/cx (adm6992c/cx) internal mapping register. please notic e that ninja c/cx (adm6992c /cx) can only identify 93c66-programmi ng instructions if no external eeprom. ninja c/cx adm6992c/cx registers description data sheet 28 rev. 1.02, 2005-11-25 4 registers description this chapter describes descript ions of eeprom registers and serial management registers. 4.1 eeprom registers table 12 eeprom register map register bit 15-8 bit 7-0 default value 00 h signature 4154 h 01 h port 0 configuration 104f h 02 h port 1 configuration 104f h 03 h miscellaneous configuration 0 0600 h 04 h miscellaneous configuration 1 0000 05 h miscellaneous configuration 2 0014 h 06 h buffer management configuration 0 0198 h 07 h buffer management configuration 1 0258 h 08 h buffer management configuration 2 0008 h 09 h bandwidth control configuration 0 0000 h 0a h bandwidth control configuration 1 0000 h 0b h bandwidth control configuration 2 0000 h 0c h bandwidth control configuration 3 0000 h 0d h phy miscellaneous configuration 1a74 h 0e h reserved mac address filtering configuration 0014 0f h filter control register 1 filter control register 0 0000 h 10 h filter control register 3 filter control register 2 0000 h 11 h filter control register 5 filter control register 4 0000 h 12 h filter control register 7 filter control register 6 0000 h 13 h filter control register 9 filter control register 8 0000 h 14 h filter control register 11 filter control register 10 0000 h 15 h filter control register 13 filter control register 12 0000 h 16 h filter control register 15 filter control register 14 0000 h 17 h filter type register 0 0000 h 18 h filter type register 1 0000 h 19 h filter register 0 0000 h 1a h filter register 1 0000 h 1b h filter register 2 0000 h 1c h filter register 3 0000 h 1d h filter register 4 0000 h 1e h filter register 5 0000 h 1f h filter register 6 0000 h 20 h filter register 7 0000 h 21 h filter register 8 0000 h 22 h filter register 9 0000 h data sheet 29 rev. 1.02, 2005-11-25 ninja c/cx adm6992c/cx registers description 23 h filter register 10 0000 h 24 h filter register 11 0000 h 25 h filter register 12 0000 h 26 h filter register 13 0000 h 27 h filter register 14 0000 h 28 h filter register 15 0000 h 29 h pvid and pcid mask of port 0 00001 2a h pvid and pcid mask of port 0 0000 h 2b h pvid and pcid mask of port 1 00001 2c h pvid and pcid mask of port 1 d000 h 2d h tag rule 0 f000 h 2e h tag rule 0 00ff h 2f h tag rule 1 f000 h 30 h tag rule 1 00ff h 31 h tag rule 2 f000 h 32 h tag rule 2 00ff h 33 h tag rule 3 f000 h 34 h tag rule 2 00ff h 35 h oam configuration register 1 0380 h 36 h oam configuration register 2 feff h 37 h vender code[15:0] 0000 h 38 h model number[7:0] vender code[23:16] 0000 h 39 h model number[23:8] 0000 h 3a h forwarding configuration 1 6000 h 3b h forwarding configuration 2 0000 h 3c h default value control register 0000 h table 12 eeprom register map (cont?d) register bit 15-8 bit 7-0 default value ninja c/cx adm6992c/cx registers description data sheet 30 rev. 1.02, 2005-11-25 4.2 eeprom regist er descriptions table 13 registers address spaceregisters address space module base address end address note eeprom 00 h 3c h table 14 registers overview register short name register long name offset address page number sr signature register 00 h 32 pcr_0 port configuration register 0 01 h 33 pcr_1 port configuration register 1 02 h 34 mc_0 miscellaneous configuration 0 03 h 35 mcr_1 miscellaneous configur ation register 1 04 h 35 mcr_2 miscellaneous configur ation register 2 05 h 37 bmc_0 buffer management configuration 0 06 h 38 bmc_1 buffer management configuration 1 07 h 38 bmc_2 buffer management configuration 2 08 h 39 ibw_ccr_0 ingress bandwidth control configuration 0 09 h 39 ebw_ccr_1 egress bandwidth cont rol configuration 1 0a h 39 ibw_ccr_2 ingress bandwidth control configuration 2 0b h 40 ebw_ccr_3 egress bandwidth cont rol configuration 3 0c h 40 phy_mc phy miscellaneous configuration 0d h 41 mac_afc mac address filtering configuration 0e h 42 pcfc_1_0 packet filter control register 1 and 0 0f h 43 pcfc_3_2 packet filter control registers 3 and 2 10 h 43 pcfc_5_4 packet filter control registers 5 and 4 11 h 43 pcfc_7_6 packet filter control registers 7 and 6 12 h 43 pcfc_9_8 packet filter control registers 9 and 8 13 h 43 pcfc_11_10 packet filter control registers 11 and 10 14 h 43 pcfc_13_12 packet filter control registers 13 and 12 15 h 43 pcfc_15_14 packet filter control registers 15 and 14 16 h 43 tftr_0 filter type register 0 17 h 44 tftr_1 filter type register 1 18 h 44 fr_0 filter register 0 19 h 45 fr_1 filter register 1 1a h 45 fr_2 filter register 2 1b h 45 fr_3 filter register 3 1c h 45 fr_4 filter register 4 1d h 45 fr_5 filter register 5 1e h 45 fr_6 filter register 6 1f h 45 fr_7 filter register 7 20 h 45 fr_8 filter register 8 21 h 45 data sheet 31 rev. 1.02, 2005-11-25 ninja c/cx adm6992c/cx registers description the register is addressed wordwise. fr_9 filter register 9 22 h 45 fr_10 filter register 10 23 h 45 fr_11 filter register 11 24 h 45 fr_12 filter register 12 25 h 45 fr_13 filter register 13 26 h 45 fr_14 filter register 14 27 h 45 fr_15 filter register 15 28 h 45 pb_id_0_0 port base vlan id and mask 0 of port 0 29 h 46 pb_id_1_0 port base vlan id and mask 1 of port 0 2a h 46 pb_id_0_1 port base vlan id and mask 0 of port 1 2b h 47 pb_id_1_1 port base vlan id and mask 1 of port 1 2c h 47 tpr_0_0 tag port rule 0 register 0 2d h 48 tpr_1_0 tag port rule 1 register 0 2e h 48 tpr_0_1 tag port rule 0 register 1 2f h 48 tpr_1_1 tag port rule 1 register 1 30 h 49 tpr_0_2 tag port rule 0 register 2 31 h 48 tpr_1_2 tag port rule 1 register 2 32 h 49 tpr_0_3 tag port rule 0 register 3 33 h 48 tpr_1x tag port rule 1 x 34 h 49 oam_c_1 oam configuration register 1 35 h 49 oam_cr_2 oam configuration register 2 36 h 51 mcr_3 miscellaneous configur ation register 3 37 h 51 mcr_4 miscellaneous configuration 4 38 h 52 mcr_5 miscellaneous configur ation register 5 39 h 52 fc_1 forwarding configuration 1 3a h 53 fc_2 forwarding configuration 2 3b h 53 dv_cr default value control register 3c h 54 table 15 register access types mode symbol description hw description sw read/write rw register is used as input for the hw register is readable and writable by sw read r register is written by hw (register between input and output -> one cycle delay) value written by software is ignored by hardware; that is, software may write any value to this field without affecting hardware behavior (= target for development.) read only ro register is set by hw (register between input and output -> one cycle delay) sw can only read this register read virtual rv physically, there is no new register, the input of the signal is connected directly to the address multiplexer. sw can only read this register table 14 registers overview (cont?d) register short name register long name offset address page number ninja c/cx adm6992c/cx registers description data sheet 32 rev. 1.02, 2005-11-25 4.2.1 eeprom register format signature register latch high, self clearing lhsc latches high signal at high level, clear on read sw can read the register latch low, self clearing llsc latches high signal at low-level, clear on read sw can read the register latch high, mask clearing lhmk latches high signal at high level, register cleared with written mask sw can read the register, with write mask the register can be cleared (1 clears) latch low, mask clearing llmk latches high signal at low-level, register cleared on read sw can read the register, with write mask the register can be cleared (1 clears) interrupt high, self clearing ihsc differentiates the input signal (low- >high) register cleared on read sw can read the register interrupt low, self clearing ilsc differentiates the input signal (high- >low) register cleared on read sw can read the register interrupt high, mask clearing ihmk differentiates the input signal (high- >low) register cleared with written mask sw can read the register, with write mask the register can be cleared interrupt low, mask clearing ilmk differentiates the input signal (low- >high) register cleared with written mask sw can read the register, with write mask the register can be cleared interrupt enable register ien enables the interr upt source for interrupt generation sw can read and write this register latch_on_reset lor rw register, value is latched after first clock cycle after reset register is readable and writable by sw read/write self clearing rwsc register is used as input for the hw, the register will be clea red due to a hw mechanism. writing to the register generates a strobe signal for the hw (1 pdi clock cycle) register is readable and writable by sw. table 16 registers clock domains clock short name description sr offset reset value signature register 00 h 4154 h table 15 register access types (cont?d) mode symbol description hw description sw u r 6 l j q d w x u h data sheet 33 rev. 1.02, 2005-11-25 ninja c/cx adm6992c/cx registers description port configuration register 0 field bits type description signature 15:0 ro signature 4154 h sig , default (at) pcr_0 offset reset value port configuration register 0 01 h 104f h field bits type description lbc 15 rw loop-back control 0 b n , normal operation (default) 1 b lp , local loop-back for port1/port0 pac 14 rw packet authorization control 0 b all , all packet (default) 1 b ppp , pppoe only rpt 13 rw receive packet tag recognition control 0 b rec , recognize vlan tag automatically (default) 1 b dis , disable optc 12 rw output packet tagging control 0 b tag , tag/untag packets if needed 1 b bp , bypass tx packets same as rx (default) mac 11:7 rw mac learning table entry limitation 0 b dis , disable total mac limitation (default) 1 b max , maximum allowable total mac anpd 6 rw auto-negotiation parallel detect follow ieee802.3 0 b b , both 1 b h , half only (default) an 5 rw auto-negotiation advertise single capability 0 b e , expand (default) 1 b s , single ana 4 rw auto-negotiation advertisement 0 b fs , follow speed and duplex setting to negotiate with link partner. (default) 1 b 4w , always 4 way auto-negotiation dx 3 rw duplex 0 b hd , half duplex 1 b fd , full duplex (default) u z / % & u z 3 $ & u z 5 3 7 u z 2 3 7 & u z 0 $ & u z $ 1 3 ' u z $ 1 u z $ 1 $ u z ' ; u z 6 3 u z $ 1 ( u z ) & ninja c/cx adm6992c/cx registers description data sheet 34 rev. 1.02, 2005-11-25 port configuration register 1 sp 2 rw speed 0 b 10m , 10m 1 b 100m , 100m (default) ane 1 rw auto negotiation enable 0 b d , disable auto-negotiation 1 b e , enable auto-negotiation. (default) fc 0 rw 802.3x flow control command ability 0 b d , disable 802.3x flow control command ability 1 b e , enable 802.3x flow cont rol command ability (default) pcr_1 offset reset value port configuration register 1 02 h 104f h field bits type description lbc 15 rw loop-back control 0 b n , normal operation (default) 1 b lp , local loop-back for port1/port0 pac 14 rw packet authorization control 0 b all , all packet (default) 1 b ppp , pppoe only rpt 13 rw receive packet tag recognition control 0 b rec , recognize vlan tag automatically (default) 1 b dis , disable optc 12 rw output packet tagging control 0 b tag , tag/untag packets if needed 1 b bp , bypass tx packets same as rx (default) mac 11:7 rw mac learning table entry limitation 0 b dis , disable total mac limitation (default) 1 b max , maximum allowable total mac anpd 6 rw auto-negotiation parallel detect follow ieee802.3 0 b b , both 1 b h , half only (default) an 5 rw auto-negotiation advertise single capability 0 b e , expand (default) 1 b s , single field bits type description u z / % & u z 3 $ & u z 5 3 7 u z 2 3 7 & u z 0 $ & u z $ 1 3 ' u z $ 1 u z $ 1 $ u z ' ; u z 6 3 u z $ 1 ( u z ) & data sheet 35 rev. 1.02, 2005-11-25 ninja c/cx adm6992c/cx registers description miscellaneous configuration 0 miscellaneous configuration register 1 ana 4 rw auto-negotiation advertisement 0 b fs , follow speed and duplex setting to negotiate with link partner. (default) 1 b 4w , always 4 way auto-negotiation dx 3 rw duplex 0 b hd , half duplex 1 b fd , full duplex (default) sp 2 rw speed 0 b 10m , 10m 1 b 100m , 100m (default) ane 1 rw auto negotiation enable 0 b d , disable auto-negotiation 1 b e , enable auto-negotiation. (default) fc 0 rw 802.3x flow control command ability 0 b d , disable 802.3x flow control command ability 1 b e , enable 802.3x flow cont rol command ability (default) mc_0 offset reset value miscellaneous configuration 0 03 h 0600 h field bits type description ecrc 15 rw enable crc check 0 b e , enable (default) 1 b d , disable crs 14 rw crs (carrier sense) check disable checking of the length of crs 0 b ed , enable (default) 1 b dd , disable mps 13:0 rw maximum packet size maximum allowable frame size in bytes 9216 d max , max. bytes number 1536 d def , default value field bits type description u z ( & |