| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
Comet AL981 10/100 Fast Ethernet Controller With Integrated
Top Searches for this datasheetdeliver best service technology. work with best partner Comet AL981 10/100 Fast Ethernet Controller With Integrated Preliminary Specification Specifications subject changed without notice General Descriptions Comet high performance Fast Ethernet controller with integrated physical layer interface 10BASE-T 100BASE-TX application. Comet designed with advanced CMOS technology provide glueless 32-bit master interface bus, boot interface, CSMA/CD protocol Fast Ethernet, well physical media interface 100BASE-TX IEEE802.3u 10BASE-T IEEE802.3. auto-negotiation function also supported speed duplex detection. Comet provides both half-duplex full-duplex operation, well support full-duplex flow control. provides long FIFO buffers transmission receiving, early interrupt mechanism enhance performance. Comet also supports ACPI compliant power management function Magic Packet wake-up event. ADMtek Incorporated. No.9, Industry E.9th Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/2921 Rev: 0.93 ADMtek Incorporated. Confidential Comet Specification System block diagram Serial EEPROM Boot Interface Transformer Comet LEDs Crystal Fig.1 System Diagram Comet Features Industry standard IEEE802.3u 100BASE-TX IEEE802.3 10BASE-T compliant Support IEEE802.3x flow control IEEE802.3u Auto-Negotiation support 10BASE-T 100BASE-TX interface Rev. compliant ACPI power management standard compliant Support PC99 wake FIFO Provides independent long FIFOs with bytes each transmission receiving Pre-fetch transmit packets minimize inter frame gap(IFG) 0.96us Retransmits collided packet without reload from host memory within bytes. ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Medium Comet Specification Automatically retransmits FIFO under-run packet with maximum drain threshold until times retry failure that will influence registers transmit threshold next packet Provides 32-bit master data transfer Supports clock with frequency from 33MHz Supports network operation with system clock from 20MHz 33MHz Provides performance meter, master latency timer, tuning threshold enhance performance Provides burst transmit packet interrupt transmit/receive early interrupt reduce host utilization Supports memory-read, memory-read-line, memory-read-multiple, memory-write, memory-write-and-invalidate command while being master Supports little endian byte ordering EEPROM/Boot Provides writeable Flash EPROM boot with size 128kB Provides access boot byte, word, double word Re-writes Flash boot through port programming register Provides serial interface read/write 93C46 EEPROM Automatically loads device vendor subsystem subsystem vendor Maximum-Latency Minimum-Grand from byte contents 93C46 after reset de-asserted MAC/Physical Integrates whole Physical layer functions 100BASE-TX 10BASE-T Provides Full-duplex operation both 100Mbps 10Mbps modes Provides Auto-negotiation(NWAY) function full/half duplex operation both Mbps Provides transmit wave-shaper, receive filters, adaptive equalizer Provides MLT-3 transceiver with restoration Base-line wander compensation Provides Transceiver(TXCVR) loop-back modes diagnostic Builds Stream Cipher Scrambler/ De-scrambler 4B/5B encoder/decoder Supports external transmit transformer with turn ratio 1.414:1 ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Supports external receive transformer with turn ratio Display Provides kind display mode: First mode displays 100Mbps(on) 10Mbps(off) Link(Keeps when link Activity(Blink with 10Hz when receiving transmitting collision) FD(Keeps when Full duplex mode) Collision(Blink with 20Hz when colliding) Second mode displays Link(On when 100M link Link(On when link Activity (Blink with 10Hz when receiving transmitting) FD(Keeps when Full duplex mode) Collision(Blink with 20Hz when colliding) Miscellaneous Provides 128-pin package ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Block diagram CR/CSR/XR Registers Control Power Management Control LEDs Display Control Transit FIFO Transmit Boot FIFO Control Loop-back Control 100BASE-TX 10BASE-T Physical Medium EEPROM Receive FIFO Receive Clock Generator Fig.2 Block Diagram Comet ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Assignment Diagram PCI-CLK Vdd-PCI Vss-PCI Vss-PCI Vdd-PCI AVddR Vdd-IR AVddT AVssR Vss-IR AVssT AD-26 AD-27 AD-28 AD-29 AD-30 AD-31 INTA# PME# REQ# GNT# RST# RXTX- AD-25 AD-24 C-BEB3 IDSEL Vss-PCI AD-23 AD-22 Vdd-PCI AD-21 AD-20 Vss-PCI AD-19 AD-18 Vdd-PCI AD-17 AD-16 C-BEB2 FRAME# Vss-PCI IRDY# TRDY# DEVSEL# STOP# PERR# SERR# Vdd-PCI C-BEB1 AD-15 AD-14 Vss-PCI AD-13 AD-12 AD-11 AD-10 Vss-PCI AD-9 Vdd-IR AVssI Iref AVddI AVddX AVssX AVddREC AVssREC Vss-IR M1/M2 M1/M2 M1/M2 Vaux-detect Vcc-detect BrA-16/LED Comet BrA-15 Vdd-IR BrA-14 BrA-13 BrA-12 BrA-11 BrA-10 BrWE# BrOE# BrCS# EECS Vss-IR BrD-7/ECK BrD-6/EDI BrD-5/EDO BrD-4 BrD-3 BrD-2 BrD-1 BrD-0 BrA-9 BrA-8 BrA-5 BrA-6 Vdd-PCI Vdd-PCI Vss-PCI Vss-PCI C-BEB0 Vdd-IR Vss-IR Vss-IR BrA-0 BrA-1 BrA-2 BrA-3 BrA-4 AL981-128 Assignment 12/23/1998 ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential BrA-7 AD-8 AD-7 AD-6 AD-5 AD-4 AD-3 AD-2 AD-1 AD-0 Comet Specification Description Name Type Description bus/CardBus Interface INTA# interrupt request. Comet asserts this signal when interrupt event set. signal initialize Comet. active reset signal should sustained least 100µs guarantee that Comet completed initializing activity. During reset period, output pins Comet will tristate pins floated. This clock inputs Comet relative circuits synchronized timing base with Bus. signals recognized rising edge PCI-CLK. order network operating properly, frequency range PCI-CLK limited between 20MHz 33MHz when network operating. Granted. This signal indicates that request Comet have been accepted. Request, master device want access right Power Management Event signal open drain, active signal. Comet will insert this PME# indicate that power management event occurred. When WOL-bit CSR18 into "1", means that Comet into Wake mode. this mode, when Comet receives Magic Packet frame from network then Comet will active this signal too. Wake mode, when LWS-bit (bit CSR18 into means LAN-WAKE signal HP-style signal, otherwise IBM-style signal. RST# PCI-CLK GNT# REQ# PME# 120,121 AD-31,30 123,124 AD-29,28 126,127 AD-27,26 9,10 12,13 15,16 29,30 32~35 AD-25,24 AD-23,22 AD-21,20 AD-19,18 AD-17,16 AD-15,14 AD-13~10 Multiplexed address data ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 43,44 46,47 49,50 52,53 AD-9 AD-8 AD-7, AD-5,4 AD-3,2 AD-1,0 C-BEB3 C-BEB2 C-BEB1 C-BEB0 IDSEL command byte enable Initialization Device Select. This signal asserted when host issues configuration cycles Comet. Begin duration access, driven master device Master device ready data transaction Slave device ready data transaction Device select, target driving indicate address decoded Target device request master device stop current transaction Data parity error detected, driven agent receiving data FRAME# IRDY# TRDY# DEVSEL# STOP# PERR# SERR# Address parity error Parity, even parity (AD[31:0] C/BE[3:0]), master drives address write data phase, target drives read data phase BootROM/EEPROM Interface BrA0~3 BrA4~9 BrA10~15 BrA16/ Fd/Col BrD0~4 This programmed mode display Full Duplex Collision status. will driven continually when full duplex configuration detected. will driven with blinking frequency when collision status detected half duplex configuration. BootROM data (0~7) EDO: Data Output serial EEPROM, Inputs data Comet ECK: Clock input serial EEPROM, Comet outputs clock signal data Provides 128kB EPROM Flash-ROM application space. 56~59 61~66 80~86 67~71 BrD5/EDO BrD6/EDI EDI: Data Input serial EEPROM, Comet outputs data EEPROM ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification BrD7/ECK EECS BrCS# BrOE# BrWE# EEPROM Chip Select serial EEPROM BootROM Chip Select BootROM Read Enable flash application BootROM Write Enable flash application. Physical Interface reference clock input Physical portion. When external crystal used, this will connected terminal external clock source oscillator used, then this will input reference clock output Physical portion. When external 25MHz crystal used, this will connected another terminal external clock source used, then this should left open. differential Transmit outputs 100BASE-TX 10BASE-T, these pins directly output Magnetic. differential Receive inputs 100BASE-TX 10BASE-T, these pins directly input from Magnetic. Reference Resistor connecting reference current, directly connects resistor Vss. 107,109 TX+, 105,104 RX+, Iref display Miscellaneous M1LK/Act M2Act This programmed mode mode mode display Link Activity status. This will driven continually when good Link test detected. This will driven with blinking frequency when either effective receiving transmitting detected. mode display Activity status. This will driven with blinking frequency when either effective receiving transmitting detected. M1Speed This programmed mode mode mode display 100M speed. This will driven continually when 100M network operating speed detected. mode Link ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification display 100Ms/s link status. This will driven continually when 100Mb/s network operating spped detected. M1Fd/Col This programmed mode mode mode display Full Duplex Collision status. This will driven continually when full duplex configuration detected. This will driven with blinking frequency when collision status detected half duplex configuration. mode display 10Ms/s link status. This will driven continually when 10Mb/s network operating spped detected. Link Vaux-detect When this asserted, indicates auxiliary power source supported from system. Vcc-detect When this asserted, indicates power source supported. Digital Power Pins Analog Power Pins AVss AVdd 94,96,102,106,110 95,99,100,103,108 ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Registers Descriptors Description There three kinds registers designed Comet. They Comet configuration registers, control/status registers, Transceiver control/status registers. Comet configuration registers used initialize configure Comet identifying querying Comet. control/status registers used communicate between host Comet. Host initialize, control, read status Comet through mapped memory address space. Regarding registers transceiver portion Comet, there registers with 16bits supported Comet. includes basic registers which defined according clause "Reconciliation Sub-layer Media Independent Interface" clause "Physical Layer link signaling Mb/s Mb/s Auto-Negotiation twisted pair" IEEE802.3u standard. Besides, there special registers advance chip controlling status reading. Comet also provides receive transmit descriptors packet buffering management. These descriptors described following section ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 7.1. Comet configuration registers With configuration registers software driver initialize configure Comet. contents configuration registers default value when there hardware reset occurs. other hand, there effect their value when software reset occurs. access these configuration registers Comet provides byte, word, double word data access length. 7.1.1. Comet configuration registers list Offset Index Name IOBA BRBA CINT PMR0 PMR1 Descriptions Loaded device vendor Configuration Status Command Class Code revision number Latency Timer Base Address Memory Base Address Subsystem vendor Boot Base Address (ROM size 128KB) Capability Pointer Configuration Interrupt driver space special purpose Signature Comet Power Management Register Power Management Register CR11 CR12 CR13 CR15 CR16 CR32 CR48 CR49 ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 7.1.2. Comet configuration registers table offset 18h~ Reserved Max_Lat* Reserved Min_Gnt* Subsystem Subsystem vendor Boot base address Reserved Reserved Interrupt Driver Space Device Status Base Class Code -Subclass Vendor Command Revision Step Latency timer Base address cache line size Base memory address Reserved Cap_Ptr Interrupt line Reserved Signature Comet Next_Item_Ptr PMCSR Cap_ID Note: automatically recalled from EEPROM when reset deserted DS(40h), bit15-8, read/write able register SIG(80h) hard wired register, read only. ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 7.1.3. Comet configuration registers descriptions CR0(offset 00h), Loaded Identification number Device Vendor 31~16 Name LDID Descriptions Loaded Device device number loaded from serial EEPROM. Loaded Vendor vendor number loaded from serial EEPROM. Default Type From EEPROM From EEPROM 15~0 LVID From EEPROM: Loaded from EEPROM CR1(offset 04h), Configuration command status Name Descriptions Status Parity Error. means that Comet detected parity error. This will this condition, even parity error response(bit CR1) disabled. Status System Error. means that Comet asserted system error pin. Status Master Abort. means that Comet received master abort terminated master transaction. Status Target Abort. means that Comet received target abort terminated master transaction. -SDST Reserved. Status Device Select Timing. timing assertion device select. means medium assertion DEVSEL# SDPR Status Data Parity Report. when three conditions met: SFBB Comet asserted parity error PERR# detected parity error asserted other device. Comet operating master. Comet's parity error response bit(bit CR1) enabled. Default Type Status Fast Back-to-Back Always since Comet ability accept fast back back transactions. ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 22~21 Reserved. Capabilities. This indicates that whether Comet provides list extended capabilities, such power management. Comet provides management function Comet doesn't provide Capabilities. -CSE Reserved. Command System Error Response enable system error response. Comet will assert SERR# When find parity error address phase. -CPE Reserved. Command Parity Error Response disable parity error response. Comet will ignore detected parity error keep operating. Default value enable parity error response. Comet will assert system error (bit CSR5) when parity error detected. -CMO Reserved. Command Master Operation Ability disable master ability. enable master ability. Default value normal operation. CMSA Command Memory Space Access disable memory space access ability. enable memory space access ability. CIOSA Command Space Access enable space access ability. disable space access ability. R/W: Read Write able. Read able only. CR2(offset 08h), Class Code Revision Number 31~24 23~16 Name Descriptions Base Class Code. means Comet network controller. Subclass Code. means Comet Fast Ethernet Controller. Reserved. Revision Number, identifies revision number Comet. Step Number, identifies Comet steps within current revision. Same CSR18 Default Type ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Read Only. CR3(offset 0ch), Latency Timer 31~16 Name Descriptions Reserved. Latency Timer. This value specifies latency timer Comet units clock. Once Comet asserts FRAME#, latency timer starts count. latency timer expires Comet still asserted FRAME#, then Comet will terminate data transaction soon GNT# removed. Cache Line Size. This value specifies system cache line size units 32-bit double words(DW). Comet supports cache line size. This value used Comet driver program cache alignment bits(bit CSR0). cache alignment bits used cache oriented commands, memory-read-line, memoryread-multiple, memory-write-and-invalidate. Default Type CR4(offset 10h), IOBA Base Address Name IOBA Descriptions Base Address. This value indicate base address control status register(CSR0~28), Transceiver registers(XR0~10) reserved. Space Indicator. means that configuration registers into space. CR5(offset 14h), Memory Base Address Name Descriptions Memory Base Address. This value indicate base address control status register(CSR0~28), Transceiver registers(XR0~10) reserved. Memory Space Indicator. means that configuration registers into space. CR11(offset 2ch), Subsystem 31~16 Name Descriptions Subsystem This value loaded from EEPROM after Default Type From Default Type Default Type -IOSI -IOSI ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification power hardware reset. SVID Subsystem Vendor This value loaded from EEPROM after power hardware reset. EEPROM From EEPROM CR12(offset 30h), BRBA Boot Base Address. This register should initialized before accessing boot space. 31~10 Name BRBA Descriptions Boot Base Address. This value indicates address mapping boot field. Besides, also defines boot size. values 16~10 Comet supports 128kB boot ROM. reserved Boot Enable. Comet really enables boot access only both memory space access bit(bit CR1) this enable Boot ROM. (Combines with CR1) CR13(offset 34h), Capabilities Pointer. 31~8 Name Descriptions reserved Capabilities Pointer. Default Type Default Type b31~17 b16~10 -BRE CR15(offset 3ch), Configuration Interrupt 31~24 Name Descriptions Default Type Max_Lat register This value indicates "how often" Comet From needs access units 250ns. This EEPROM value loaded from serial EEPROM after power hardware reset. Min_Gnt register This value indicates long Comet needs retain ownership whenever initiate transaction, units 250ns. This value loaded from serial EEPROM after power hardware reset. Interrupt Pin. This value indicates which four interrupt request pins that Comet connected. Always 01h: means Comet connects INTA# Interrupt Line. This value indicates which system interrupt request lines INTA# Comet routed BIOS will fill this field when initializes configures system. Comet driver this value determine priority vector information. From EEPROM 23~16 CR16(offset 40h), Driver Space special purpose. ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 31~16 15~8 Name Descriptions reserved Driver Space special purpose. Since this area won't cleared software reset. Comet driver this area special purpose. reserved Default Type CR32(offset 80h), Signature Comet 31~16 15~0 Name Descriptions Device device number Comet. Vendor vendor number Technology Corp. Default Type 0981h 1317h CR48(offset c0h), PMR0, Power Management Register0. Name PSD3c, PSD3h, PSD2, PSD1, PSD0 Descriptions PME_Support. Comet will assert PME# signal while D3hot D3cold power state. Comet supports Wake-up from above five states. (support wake-up from D3cold) loaded from EEPROM after power hardware reset. support D3cold wake-up function, auxiliary power source should detected Comet through Vaux_detect pin. Vaux_detect while Comet reset state, than always "0". Only D3CS CSR18 recall data field EEPROM auxiliary power source detected, then will "1". D2_Support. Comet supports Power Management State. D1_Support. Comet supports Power Management State. Current. These three bits report maximum 3.3Vaux current requirements Comet chip. PMR0 `1', default value 111b, means Comet need support remote wake-up D3cold power state. Otherwise, default value 000b means Comet does support remote wake-up from D3cold power state. Device Specific Initialization indicates whether special initialization this function required before generic class device driver able indicates that function does require device specific initialization sequence following transition un-initialized state. -Reserved. XXXb Default Type X1111b 24~22 AUXC ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification PMEC Clock. When indicates that Comet relies presence clock PME# operation. While indicates clock required Comet generate PME#. Version. value 010b indicates that Comet complies with Revision 1.0a Power Management Interface Specification. Next Item Pointer. This value always indicates that there additional items Capabilities List. Capability Identifier. This value always 01h, indicates link list item being Power Management Registers. 18~16 010b 15~8 CAPID CR49(offset c4h), PMR1, Power Management Register 31~16 Name -PMEST Descriptions reserved PME_Status, This when Comet would normally assert PME# signal wake-up event, this independent state PME-En bit. Writing this will clear cause Comet stop asserting PME#(if enabled). Writing effect. PMR0 cleared, i.e. does support PME# generation from D3cold, this default otherwise, cleared upon power reset only modified either hardware software reset. 14,13 DSCAL Data_Scale, indicates scaling factor used when interpreting value Data register. This field required function that implements Data register. Otherwise, it's optional. Comet doesn't support Data register Data_Scale. 12~9 DSEL Data_Select, This four field used select which data reported through Data register Data_Scale field. This field required function that implements Data register. Comet doesn't support Data_select. PME_En PME_En, enables Comet assert PME#. When disables PME# assertion. PMR0 cleared, i.e. does support PME# generation from D3cold, this default `0', otherwise, PME_En cleared upon power reset only modified either hardware software reset. -reserved. 000000b 0000b R/W1C* Default Type ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification PWRS PowerState, This field used both determine current power state Comet Comet into power state. definition this field given below. D3hot software attempts write unsupported, optional state this field, write operation must complete normally bus, however data discarded state change occurs. R/W1C*, Read Only Write cleared. ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 7.2. Control/Status registers 7.2.1. Control/Status registers list offset from base address Index CSR0 CSR1 CSR2 CSR3 CSR4 CSR5 CSR6 CSR7 CSR8 CSR9 CSR10 CSR11 CSR12 CSR13 CSR14 CSR15 CSR16 CSR17 CSR18 CSR19 CSR20 CSR21 CSR22 CSR23 CSR24 CSR25 CSR26 Name -TMR -WCSR WPDR WTMR ACSR5 ACSR7 PCIC PMCSR -TXBR FROM PAR0 PAR1 Descriptions access register transmit demand register receive demand register receive descriptor base address transmit descriptor base address status register network access register interrupt enable register lost packet counter serial port register Reserved Timer Reserved Wake-up Control/Status Register Wake-up Pattern Data Register watchdog timer status register interrupt enable register command register performance counter Power Management Command Status Reserved Reserved transmit burst counter/time-out register flash(boot) port physical address register physical address register ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification CSR27 CSR28 MAR0 MAR1 multicast address hash table register multicast address hash table register 7.2.2. Control/Status register description CSR0(offset 00h), Access Register 31~25 Name -MWIE Descriptions reserved Memory Write Invalidate Enable. enable Comet generate memory write invalidate command. Comet will generate this command while writing full cache lines. disable Comet generate memory write invalidate command memory write commands instead. Memory Read Line Enable. enable Comet generate memory read line command, while read access instruction reach cache line boundary. read access instruction doesn't reach cache line boundary then Comet uses memory read command instead. reserved Memory Read Multiple Enable. enable Comet generate memory read multiple command while reading full cache line. memory cache aligned, Comet uses memory read command instead. reserved Transmit auto-polling transmit suspended state, disable auto-polling (default) polling own-bit every polling own-bit every polling own-bit every 1600 reserved Cache alignment, address boundary data burst, after reset reserved (default) boundary alignment boundary alignment boundary alignment Programmable Burst Length. This value defines maximum number transferred transaction. value: (unlimited), 16(default), 010000 R/W* R/W* R/W* R/W* R/W* Default Type MRLE R/W* -MRME 20~19 18,17 -TAP -CAL ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Little Endian selection. little endian (e.g. INTEL) endian (only data buffer) Descriptor Skip Length. Defines between descriptions units arbitration receive higher priority transmit higher priority R/W* R/W* R/W* Software reset reset internal hardware (include transceiver), except configuration registers. This signal will cleared Comet itself after completed reset process. R/W* Before writing transmit receive operations should stopped. CSR1(offset 08h), Transmit demand register Name TPDM Descriptions R/W* Default Type R/W* Transmit poll demand FFFFFFFFh When written value suspended state, trigger read-txdescriptor process check own-bit, own-bit then start transmit process R/W* Before writing transmit process should suspended state. CSR2(offset 10h), Receive demand register Name RPDM Descriptions Default Type R/W* Receive poll demand FFFFFFFFh When written value suspended state, trigger readrx-descriptor process check own-bit, own-bit then start move data buffer from FIFO R/W* Before writing receive process should suspended state. CSR3(offset 18h), Receive descriptor base address Name Descriptions Start address receive descriptor Default Type R/W* RBND must boundary R/W* Before writing receive process should stopped. CSR4(offset 20h), Transmit descriptor base address Name Descriptions Start address transmit descriptor Default Type R/W* TBND must boundary R/W* Before writing transmit process should stopped. CSR5(offset 28h), Status register Name Descriptions reserved Error Type. This field valid only when Default Type -25~ ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification CSR5(fatal error) set. There interrupt generated this field. 000: parity error, 001: master abort, 010: target abort 011, 1xx: reserved Transmit State. Report current transmission state only, interrupt will generated. 000: stop 001: read descriptor 010: transmitting 011: FIFO fill, read data from memory into FIFO 100: reserved 101: reserved 110: suspended, unavailable transmit descriptor FIFO overflow 111: write descriptor Receive State. Report current receive state only, interrupt will generated. 000: stop 001: read descriptor 010: check this packet pre-fetch next descriptor 011: wait receiving data 100: suspended 101: write descriptor 110: flush current FIFO 111: FIFO drain, move data from receiving FIFO into memory Normal Interrupt Status Summary. It's below bits CSR5 asserted.(combines with ACSR5) bit0, transmit completed interrupt bit2, transmit descriptor unavailable bit6, receive completed interrupt Abnormal Interrupt Status Summary. It's below bits CSR5 asserted.(combines with ACSR5) bit1, transmit process stopped bit3, transmit jabber timer time-out bit5, transmit under-flow bit7, receive descriptor unavailable bit8, receive process stopped bit9, receive watchdog time-out bit11, general purpose timer time-out bit13, fatal error reserved Fatal Error. 19~17 NISS RO/LH* AISS RO/LH* -FBE RO/LH* ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification while parity error, master abort, target abort occurred(see bits 25~23 CSR5). Comet will disable access. recover parity error setting software reset. -GPTT -RWT reserved General Purpose Timer Time-out, base CSR11 timer register reserved Receive Watchdog Time-out, based CSR15 watchdog timer register Receive Process Stopped, receive state stop Receive Descriptor Unavailable while next receive descriptor can't applied Comet. receive process suspended this situation. restart receive process, ownership next receive descriptor should Comet receive poll demand command should issued(or recognized frame received, receive poll demand issued). Receive Completed Interrupt while frame reception completed. Transmit Under-Flow while transmit FIFO under-flow condition happened during transmitting. transmit process will enter suspended state report under-flow errror bit1 TDES0. Reserved Transmit Jabber Timer Time-out while transmit jabber timer expired. transmit processor will enter stop state transmit jabber time-out flag TDES0 will asserted. Transmit Descriptor Unavailable while next transmit descriptor can't applied Comet. transmission process suspended this situation. restart transmission process, ownership next transmit descriptor should Comet transmit automatic polling enabled then transmit poll demand command should issued. Transmit Process Stopped. while transmit state stop Transmit Completed Interrupt. means frame transmission completed while TDES1 asserted first transmit descriptor frame. High Latching cleared writing RO/LH* RO/LH* RO/LH* RO/LH* RO/LH* RO/LH* -TJT RO/LH* RO/LH* RO/LH* RO/LH* ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification CSR6(offset 30h), Network access register 31~22 Name Descriptions reserved Store forward transmit disable enable, ignore transmit threshold setting reserved Disable enable function 10BASE-T operation. Comet provides test function 10BASE-T half duplex operation. disable function. reserved transmit threshold control 128-byte (100Mbps), 256-byte (100Mbps), 512-byte (100Mbps), 1024-byte (100Mbps), Stop transmit stop (default) start Force collision mode disable generate collision when transmit (for test loop-back mode) Operating Mode normal loop-back (ignore bit14 XR0, XCVR loopback) 10,11: reserved reserved Multicast Mode receive multicast packets Promiscuous Mode receive good packet. receive only right destination address packets Stop Back-off Counter back-off counter stop when carrier active, resume when carrier drop. back-off counter effected carrier reserved Pass packet 72-byte (10Mbps) 96-byte (10Mbps) 128-byte (10Mbps) 160-byte (10Mbps) R/W* R/W* R/W* Default Type -SQE 18~16 15~14 R/W** R/W** R/W*** R/W*** R/W** R/W*** ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification receives packets, pass address filter, including runt packets, error, truncated packets. receiving packets, CSR6 should filters packets reserved Start/Stop Receive receive processor will enter stop state after current reception frame completed. This value effective only when receive processor running suspending state. Notice: "Stop Receive" state, PAUSE packet Remote Wake packet won't effected received corresponding function enabled. receive processor will enter running state. -reserved only write when transmit processor stopped. only write when transmit receive processor both stopped. W*** only write when receive processor stopped. CSR7(offset 38h), Interrupt Enable Register 31~17 Name -NIE -FBEIE Descriptions (Refer CSR5) reserved Normal Interrupt Enable enable normal interrupt bits( bit16 CSR5) Abnormal Interrupt Enable enable abnormal interrupt bits(see CSR5) reserved Fatal Error Interrupt Enable combine this CSR7 enable fatal error interrupt Reserved General Purpose Timer Interrupt Enable combine this CSR7 enable general purpose timer expired interrupt. Reserved Receive Watchdog Time-out Interrupt Enable combine this CSR7 enable receive watchdog time-out interrupt. Receive Stopped Interrupt Enable combine this CSR7 enable receive stopped interrupt. Receive Descriptor Unavailable Interrupt Enable combine this CSR7 enable receive descriptor unavailable interrupt. Receive Completed Interrupt Enable Default Type -GPTIE -RWTIE RSIE RUIE RCIE ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification combine this CSR7 enable receive completed interrupt. TUIE Transmit Under-flow Interrupt Enable combine this CSR7 enable transmit under-flow interrupt. Reserved Transmit Jabber Timer Time-out Interrupt Enable combine this CSR7 enable transmit jabber timer time-out interrupt. Transmit Descriptor Unavailable Interrupt Enable combine this CSR7 enable transmit descriptor unavailable interrupt. Transmit Processor Stopped Interrupt Enable combine this CSR7 enable transmit processor stopped interrupt. Transmit Completed Interrupt Enable combine this CSR7 enable transmit completed interrupt. -TJTTIE TDUIE TPSIE TCIE CSR8(offset 40h), Lost packet counter 31~17 15~0 Name -LPCO Descriptions Reserved Lost Packet Counter Overflow while lost packet counter overflowed. Cleared after read Lost Packet Counter Increment counter while packet discarded since there host receive descriptors available. Cleared after read RO/LH RO/LH Default Type CSR9(offset 48h), Serial port register 31~15 Name -SRC Descriptions Reserved Serial EEPROM Read Control together with CSR9 bit11 enable read operation from EEPROM Serial EEPROM Write Control together with CSR9 bit11 enable write operation EEPROM -SRS Reserved Serial EEPROM Select together with CSR9 bit14 enable EEPROM access Reserved Serial EEPROM data Default Type 10~4 -SDO ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification This serially shifts data from EEPROM Comet. SCLK Serial EEPROM data This serially shifts data from Comet EEPROM. Serial EEPROM clock High/Low this provide clock signal EEPROM. Serial EEPROM chip select selects serial EEPROM chip. CSR11(offset 58h), -General-purpose 31~17 Name -COM Descriptions Reserved Continuous Operation Mode sets general-purpose timer continuous operating mode. General-purpose Timer Value Sets counter value. This count-down counter with cycle time 204us. Default Type 15~0 CSR13(offset 68h), WCSR -Wake-up Control/Status Register Name -CRCT Descriptions Reserved CRC-16 Type Initial contents 0000h Initial contents FFFFh 24-18 WP1E WP2E WP3E WP4E WP5E -Wake-up Pattern Matched Enable. Wake-up Pattern Matched Enable. Wake-up Pattern Three Matched Enable. Wake-up Pattern Four Matched Enable. Wake-up Pattern Five Matched Enable. Reserved Default Type LinkOFF Link Detect Enable. AL981 will CSR13 after detected that link status from OFF. LinkON Link Detect Enable. AL981 will CSR13 after detected that link status from Reserved Wake-up Frame Received Enable. AL981 will include "Wake-up Frame Received" event into wake-up events. this set, AL981 will assert PMEST PMR1 15-11 -WFRE ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification (CR49) after AL981 received matched wake-up frame. MPRE Magic Packet Received Enable. AL981 will include "Magic Packet Received" event into wake-up events. this set, AL981 will assert PMEST PMR1 after AL981 received Magic packet. Link Status Changed Enable. AL981 will include "Link Status Changed" event into wake-up events. this set, AL981 will assert PMEST PMR1 after AL981 detected link status changed event. Reserved Wake-up Frame Received, Indicates AL981 received wake-up frame. cleared write upon power-up reset. affected hardware software reset. Magic Packet Received, Indicates AL981 received magic packet. cleared write upon power-up reset. affected hardware software reset. Link Status Changed, Indicates AL981 detected link status change event. cleared write upon power-up reset. affected hardware software reset. R/W1C*, Read Only Write cleared. Default bits both enable. LSCE -WFR R/W1C* R/W1C* R/W1C* CSR14(offset 70h), WPDR -Wake-up Pattern Data Register Offset 0000h 0004h 0008h 000ch 0010h 0014h 0018h 001ch 0020h 0024h 0028h Wake-up pattern mask bits 31:0 Wake-up pattern mask bits 63:32 Wake-up pattern mask bits 95:64 Wake-up pattern mask bits 127:96 CRC16 pattern Reserved Wake-up pattern mask bits 31:0 Wake-up pattern mask bits 63:32 Wake-up pattern mask bits 95:64 Wake-up pattern mask bits 127:96 CRC16 pattern Reserved Wake-up pattern mask bits 31:0 Wake-up pattern offset Wake-up pattern offset ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 002ch 0030h 0034h 0038h 003ch 0040h 0044h 0048h 004ch 0050h 0054h 0058h 005ch 0060h Wake-up pattern mask bits 63:32 Wake-up pattern mask bits 95:64 Wake-up pattern mask bits 127:96 CRC16 pattern Reserved Wake-up pattern mask bits 31:0 Wake-up pattern mask bits 63:32 Wake-up pattern mask bits 95:64 Wake-up pattern mask bits 127:96 CRC16 pattern Reserved Wake-up pattern mask bits 31:0 Wake-up pattern mask bits 63:32 Wake-up pattern mask bits 95:64 Wake-up pattern mask bits 127:96 CRC16 pattern Reserved Wake-up pattern offset Wake-up pattern offset Wake-up pattern offset Offset value from 0-255 (8-bit width). load whole wake-up frame filtering information, consecutive long words write operation CSR14 should done. CSR15(offset 78h), WTMR Watchdog timer 31~6 Name -RWR Descriptions Reserved Receive Watchdog Release, time release watchdog timer from last carrier deserted. bit-time bit-time Receive Watchdog Disable receiving packet`s length longer than 2560 bytes, watchdog timer will expired. disable receive watchdog. -JCLK Reserved Jabber clock transmission after (100Mbps) (10Mbps). transmission after 2560 byte-time. Non-Jabber jabber expired, re-enable transmit function after (100Mbps) 420ms (10Mbps) immediately re-enable transmit function after jabber Default Type ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification expired Jabber disable disable transmit jabber function CSR16(offset 80h), ACSR5 Assistant CSR5(Status register Name TEIS Descriptions Transmit Early Interrupt status Transmit early interrupt status when Transmit early interrupt function enabled(set CSR17 transmitted packet moved completed from descriptors TX-FIFO buffer. This cleared written with Receive Early Interrupt Status. Receive early interrupt status when Receive early interrupt function enabled (set CSR17 received packet fill first receive descriptor. This cleared written with Transceiver (XCVR) Interrupt Status. `OR' XR8. Transmit Deferred Interrupt Status. Reserved PAUSE Frame Received Interrupt Status indicates PAUSE frame received when PAUSE function enabled. Error Type. This field valid only when CSR5(fatal error) set. There interrupt generated this field. 000: parity error, 001: master abort, 010: target abort 011, 1xx: reserved Transmit State. Report current transmission state only, interrupt will generated. 000: stop 001: read descriptor 010: transmitting 011: FIFO fill, read data from memory into FIFO 100: reserved 101: reserved 110: suspended, unavailable transmit descriptor FIFO overflow 111: write descriptor 19~17 Receive State. Report current receive state only, interrupt will generated. 000: stop 001: read descriptor RO/LH* Default Type RO/LH* REIS RO/LH* TDIS -PFR RO/LH* RO/LH* ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 010: check this packet pre-fetch next descriptor 011: wait receiving data 100: suspended 101: write descriptor 110: flush current FIFO 111: FIFO drain, move data from receiving FIFO into memory 14~0 ANISS AAISS Added normal interrupt status summary. added normal interrupt happened. Added Abnormal Interrupt Status Summary. added abnormal interrupt happened. RO/LH* RO/LH* These bits same status register CSR5. access those status bits through either CSR5 CSR16. High Latching cleared writing CSR17(offset 84h), ACSR7- Assistant CSR7(Interrupt enable register 25~17 Name TEIE REIE TDIE -PFRIE -ANISE Descriptions Transmit Early Interrupt Enable Receive Early Interrupt Enable Transceiver(XCVR) Interrupt Enable Transmit Deferred Interrupt Enable Reserved PAUSE Frame Received Interrupt Enable Reserved Added Normal Interrupt Summary Enable. adds interrupts ACSR7 (CSR17) normal interrupt summary(bit CSR5). Added Abnormal Interrupt Summary Enable. adds interrupt ACSR7 (CSR17) abnormal interrupt summary. These bits same interrupt enable register CSR7. access those interrupt enable bits through either CSR7 CSR16. Default Type AAIE 14~0 CSR18(offset 88h), Command Register, bit31 bit16 automatically recall from EEPROM Name D3CS Descriptions Default Type D3cold power state wake Support. this reset then PMR0 should reset `0'. this asserted from auxiliary power source detected then EEPROM PMR0 should `1'. Aux. Current Load. These three bits report maximum 3.3Vaux current requirements AL981 chip. PMR0 `1', default value 111b, means AL981 need support remote wake-up D3cold power state. 000b from EEPROM 30-28 AUXCL ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Otherwise, default value 000b means AL981 does support remote wake-up from D3cold power state. 27-24 -Reserved from EEPROM 4LEDmo This used control mode selection. de_on this reset, mode LEDs) selected, LEDs definition 100/10 speed Link/Activity Full Duplex/Collision this set, mode LEDs) selected, LEDs definition Link Link Activity Full Duplex/Collision Receive FIFO size control 01,00: reserved Reserved Power Management, enables Comet whether activate Power Management abilities. When this into Comet will Cap_Ptr register zero, indicating compliant power management capabilities. value this will mapped NC-bit CR1. Power Management mode, Wake Frames include "Magic Packet", "Unicast", "Muliticast". Wake mode enable. When this "1", then Comet into Wake mode enter sleep state. When Comet enter sleep state, then won't wake until either Wake event occurs, this cleared, software(or hardware) reset happens. Wake mode Wake-Up frame "Magic Packet" only. Reserved Reset Wake-up Pattern Data Register Pointer PAUSE function control disable enable PAUSE Depends function flow control. default value PAUSE result decided result Auto-Negotiation. Driver force AutoNegotiation enable disable after Auto-Negotiation completed. PAUSE function disabled. PAUSE function enabled Receive Threshold Enable. from EEPROM from EEPROM from EEPROM 17~7 -RWP PAUSE ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification receive FIFO threshold enabled. disable receive FIFO threshold selection this register, receive threshold 64-byte. Drain Receive Threshold bytes bytes store-and -forward reserved Software interrupt. enable automatically transmit-underrun recovery. SINT ATUR CSR19(offset 8ch) PCIC, performance counter 31~16 Name Descriptions Default Type CLKCNT number clock from read request asserted access completed. This clock number accumulated read command cycles from last CSR19 read current CSR19 read. -reserved 15~8 DWCNT number double word accessed last master. This double word number accumulated master data transactions from last CSR19 read current CSR19 read. Read only cleared reading. CSR20(offset 90h) PMCSR, Power Management Command Status.(The same register value mapping CR49-PMR1.) 31~16 Name -PMES Descriptions reserved PME_Status, This when Comet would normally assert PME# signal wakeup event, this independent state PME-En bit. Writing this will clear cause Comet stop asserting PME#(if enabled). Writing effect. 14,13 DSCAL Data_Scale, indicates scaling factor used when interpreting value Data register. This field required function that implements Data register. Otherwise, it's optional. Comet doesn't support Data register Data_Scale. 12~9 DSEL Data_Select, This four field used select which data reported through Data register Data_Scale field. This field required function that implements Data register. 0000b Default Type ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Comet doesn't support Data_select. PME_En PME_En, enables Comet assert PME#. When disables PME# assertion. -PWRS reserved. PowerState, This two-bit field used both determine current power state Comet Comet into power state. definition this field given below. D3hot software attempts write unsupported, optional state this field, write operation must complete normally bus, however data discarded state change occurs. CSR23(offset 9ch) TXBR, transmit burst count time-out 31~21 20~16 Name -TBCNT Descriptions reserved Transmit Burst Count After this number consecutive successful transmit, transmit completed interrupt will generated. Continuously this function reset. Transmit Time-Out (deferred time back-off time). When TDIE(bit28 ACSR7) set, timer decreased unit 2.56us(100M) 25.6us(10M). timer expires before another packet transmit begin, then TDIE interrupt will generated. 000000b Default Type 11~0 CSR24(offset a0h) FROM, Flash ROM(also boot ROM) port Name Descriptions Default Type bra16_on This only effective while mode selected (bit CSR18 set). When mode selected, this set, then defined brA16, else defined fd/col. 30~28 24~8 -REN -ADDR reserved read enable, clear read data ready DATA, bit7-0 FROM. Write enable, cleared write completed reserved Flash address ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification DATA Read/Write data flash CSR25(offset a4h) PAR0, physical address register automatically recall from EEPROM 31~24 23~16 15~8 Name PAB3 PAB2 PAB1 PAB0 Descriptions physical address byte physical address byte physical address byte physical address byte Default Type From EEPROM From EEPROM From EEPROM From EEPROM CSR26(offset a8h) PAR1, physical address register automatically recall from EEPROM 31~24 23~16 15~8 Name -PAB5 PAB4 Descriptions reserved reserved physical address byte physical address byte From EEPROM From EEPROM Default Type example, physical address 00-00-e8-11-22-33 PAR0= PAR1= PAR0 PAR1 readable, written only receive state stopped(CSR5 bit1917=000). CSR27(offset ach) MAR0, multicast address register 31~24 23~16 15~8 Name MAB3 MAB2 MAB1 MAB0 Descriptions multicast address byte (hash table 31:24) multicast address byte (hash table 23:16) multicast address byte (hash table 15:8) multicast address byte (hash table 7:0) Default Type CSR28(offset b0h) MAR1, multicast address register 31~24 23~16 15~8 Name MAB7 MAB6 MAB5 Descriptions multicast address byte (hash table 63:56) multicast address byte (hash table 55:48) multicast address byte (hash table 47:40) Default Type ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification MAB4 multicast address byte (hash table 39:32) MAR0 MAR1 readable, written only receive state stopped(CSR5 bit1917=000). ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 7.3. Transceiver(XCVR) Registers There registers with 16bits supported transceiver portion Comet. includes basic registers which defined according clause "Reconciliation Sublayer Media Independent Interface" clause "Physical Layer link signaling Mb/s Mb/s Auto-Negotiation twisted pair" IEEE802.3u standard. Besides, there special registers advance chip controlling status reading. *Note: Since there only Double Word access mode supported Register Comet, higher word(bit 31~16) XCVR registers(XR0~XR10) should ignored. 7.3.1. Transceiver registers list Offset from base address Reg. Index Name XR10 PID1 PID2 ANLPA XCIIS 100CTR Register Descriptions XCVR Control Register XCVR Status Register Identifier Identifier Auto-Negotiation Advertisement Register Auto-Negotiation Link Partner Ability Register Auto-Negotiation Expansion Register XCVR Mode Control Register XCVR Configuration Information Interrupt Status Register XCVR Interrupt Enable Register 100BASE-TX Control/Status Register ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 7.3.2. Transceiver registers Descriptions XR0(offset b4h) XCR, XCVR Control Register. default value chosen listed below. Name XRST Descriptions Transceiver Reset control. transceiver will reset. This will cleared Comet itself after transceiver reset being completed. Transceiver loop-back mode select. transceiver loop-back mode selected.(In meantime, 11,10 CSR6 must 00). Network Speed select. This bit's selection will ignored Auto-Negotiation enabled(bit 1:100Mbps selected. 0:10Mbps selected. Auto-Negotiation ability control. Auto-Negotiation function enabled. Auto-Negotiation disabled. Power down mode control. transceiver power-down mode selected. this mode, Comet shot down power transceiver reserved Re-Start Auto-Negotiation process control. Auto-negotiation process will re-started. This will cleared Comet itself after Auto-negotiation restarted. Full/Half duplex mode select. full duplex mode selected. This will ignored Auto-Negotiation enabled (bit Collision test control. collision test enabled. reserved Default Type XLBEN SPSEL ANEN PDEN -RSAN DPSEL COLEN Read/Write able. Read Only. XR1(offset b8h) XSR, XCVR Status Register. bits this register read only. Name TXFD Descriptions 100BASE-T4 ability. Always since Comet ability. 100BASE-TX full duplex ability. Always since Comet 100BASE-TX full duplex ability. 100BASE-TX half duplex ability. Always since Comet 100BASE-TX half duplex ability. Default Type TXHD ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 10~6 10FD 10HD -ANC 10BASE-T full duplex ability. Always since Comet 10Base-T full duplex ability. 10BASE-T half duplex ability. Always since Comet 10Base-T half duplex ability. reserved Auto-Negotiation Completed. Auto-Negotiation process completed Auto-Negotiation process completed. Result remote fault detection. there remote fault detected. remote fault condition detected. Auto-Negotiation ability. Always since Comet Auto-negotiation ability. Link status. failure link condition occurred. valid link established. Read set. RO/LH* LINK RO/LL* Jabber detection. jabber condition detected (10Base-T only). Extended register supporting. Always since Comet supports extended register RO/LH* Latching clear read. Latching High clear read. XR2(offset bch) PID1, identifier 15~0 Name Descriptions Default Type 0382h PHYID1 Part Identifier. Assigned 18th bits Organizationally Unique Identifier (OUI). XR3(offset c0h) PID2, identifier 15~10 Name Descriptions Default Type 010010b PHYID2 Part Identifier. Assigned 19th 24th bits Organizationally Unique Identifier (OUI). MODEL Model number Comet. bits manufacture's model number. Revision number Comet. Four bits manufacture's revision number. 000001b 0000b XR4(offset c4h) ANA, Auto-Negotiation Advertisement NXTPG Next Page ability. ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Always since Comet does provide next page ability. 12,11 reserved Remote Fault function. with remote fault function. reserved Flow Control function Ability. 1:supports PAUSE operation flow control full duplex link. 100BASE-T4 Ability. Always since Comet doesn't have 100BASE-T4 ability. 100BASE-TX Full duplex Ability. with 100Base-TX full duplex ability. 100BASE-TX Half duplex Ability. with 100Base-TX ability. 10BASE-T Full duplex Ability. with 10Base-T full duplex ability. 10BASE-T Half duplex Ability. with 10Base-T ability. Select field. Default 00001=IEEE 802.3 00001 XR5(offset c8h) ANLP, Auto-Negotiation Link Partner ability Name LPNP Descriptions Link partner Next Page ability. link partner without next page ability. link partner with next page ability. Received Link Partner Acknowledge. link code work received yet. link partner successfully received Comet's Link Code Word. Link Partner's Remote fault status. remote fault detected. remote fault detected. reserved Link Partner's Flow control ability. link partner without PAUSE function ability. link partner with PAUSE function ability full duplex link. Link Partner's 100BASE-T4 ability. link partner without 100BASE-T4 ability. link partner with 100BASE-T4 ability. Default Type LPACK LPRF 12,11 -LPFC LPT4 ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification LPTXF Link Partner's 100BASE-TX Full duplex ability. link partner without 100BASE-TX full duplex ability. link partner with 100BASE-TX full duplex ability. Link Partner's 100BASE-TX Half duplex ability. link partner without 100BASE-TX. link partner with 100BASE-TX ability. Link Partner's 10BASE-T Full Duplex ability. link partner without 10BASE-T full duplex ability. link partner with 10BASE-T full duplex ability. Link Partner's 10BASE-T Half Duplex ability. link partner without 10BASE-T ability. link partner with 10BASE-T ability. Link partner select field. Default 00001=IEEE 802.3. LPTXH LP10F LP10H LPSF 00001 XR6(offset cch) ANE, Auto-Negotiation expansion 15~5 Name -PDF Descriptions reserved Parallel detection fault. fault detected. fault detected parallel detection function. Link Partner's Next Page ability. link partner without next page ability. link partner with next page ability. Comet's next Page ability. Always since Comet without next page ability. Page Received. page been received. page been received. Link Partner Auto-Negotiation ability. link partner Auto-Negotiation ability. link partner Auto-Negotiation ability. RO/LH* Default Type RO/LH* LPNP LPAN High Latching cleared reading. XR7(offset d0h) XMC, XCVR Mode control 15~12 Name Descriptions reserved Long Distance mode 10BASE-T. normal squelch level. reduces 10Base-T squelch level extended cable length. Default Type ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 10~0 -reserved XR8(offset d4h) XCIIS, XCVR Configuration information Interrupt Status 15~10 Name -SPEED Descriptions reserved Configured information Speed. speed 10Mb/s. speed 100Mb/s. Default Type DUPLEX Configured information Duplex. duplex mode half. duplex mode full. PAUSE Configured information PAUSE function flow control. PAUSE function disabled. PAUSE function enabled Interrupt source Auto-Negotiation Completed. Auto-Negotiation completed yet. Auto-Negotiation completed. Interrupt source Remote Fault Detected. there remote fault detected. remote fault detected. Interrupt source Link Fail. link test status link down. Interrupt source Auto-Negotiation Acknowledge Received. there link code word received. link code word receive from link partner. Interrupt source Parallel Detection Fault. there parallel detection fault. parallel detection fault. Interrupt source Auto-Negotiation Page Received. there Auto-Negotiation page received. auto-negotiation page received. RO/LH* RO/LH* RO/LH* ANAR RO/LH* RO/LH* ANPR RO/LH* Interrupt source Receive Error full. receive error number less than error packets received. RO/LH* High Latching cleared reading. XR9(offset d8h) XIE, XCVR Interrupt Enable Register 15~7 -ANCE reserved Auto-Negotiation Completed interrupt Enable. ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification disable Auto-Negotiation completed interrupt. enable auto-negotiation complete interrupt. Remote Fault detected interrupt Enable. disable remote fault detection interrupt. enable remote fault detection interrupt. Link Down interrupt Enable. disable link fail interrupt. enable link fail interrupt. Auto-Negotiation Acknowledge interrupt Enable. disable link partner acknowledge interrupt enable link partner acknowledge interrupt. Parallel Detection Fault interrupt Enable. disable fault parallel detection interrupt. enable fault parallel detection interrupt. Auto-Negotiation Page Received interrupt Enable. disable Auto-Negotiation page received interrupt. enable Auto-Negotiation page received interrupt. RX_ERR full interrupt Enable. disable rx_err full interrupt. enable more than time rx_err interrupt, ANAE PDFE ANPE REFE XR10(offset dch) 100CTR, 100BASE-TX Control Register 15,14 Name -Descriptions reserved Default Type DISRER Disable RX_ERR counter. receive error counter RX_ERR enabled. receive error counter RX_ERR disabled. Auto-Negotiation completed. This same XR1. Auto-Negotiation process completed yet. Auto-Negotiation process completed. Select peak peak voltage receive. receive voltage peak peak receive voltage peak peak VPP. reserved Enable remote loop-back function. enable remote loop-back. (CSR6, 11,10, must 00). Enable restoration. disable restoration. enable restoration. RXVPP -ENRLB ENDCR ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification ENRZI Enable conversions between NRZI. disable data conversion between NRZI. enable data conversion NRZI receiving NRZI transmitting. reserved. Transmit Isolation. When isolate from tx+/-. This must normal operation -ISOTX CMODE Reporting current operation mode transceiver. 000: auto-negotiation 001: 10Base-T half duplex 010: 100Base-TX half duplex 011: reserved 100: reserved 101: 10Base-T full duplex 110: 100Base-TX full duplex 111: isolation, auto-negotiation disable DISMLT Disable MLT3. MLT3 encoder decoder enabled. MLT3 encoder decoder bypassed. DISCRM Disable Scramble. scrambler de-scrambler enabled. scrambler de-scrambler disabled. ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 7.4. Descriptors Buffer Management Comet provides receive transmit descriptors packet buffering management. 7.4.1. Receive descriptor 7.4.1.1. Receive Descriptor Table RDES0 RDES1 RDES2 RDES3 -Control Status Buffer2 byte-count Buffer1 address boundary) Buffer2 address boundary) Buffer1 byte-count Descriptors receive buffers addresses must longword alignment 7.4.1.2. Receive Descriptor Descriptions RDES0 Name Descriptions indicate receiving data into this descriptor Host does move receiving data yet. 30-16 Frame length, including CRC. This field valid only last descriptor Error summary, following overflow error late collision frame long runt packet descriptor error This field valid only last descriptor. Descriptor error. This valid only last descriptor current receiving packet able into current valid descriptor. This packet truncated. 13-12 Data type. normal ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification loop-back Transceiver loop-back remote loop-back These bits valid only last descriptor Runt frame (packet length bytes). This valid only last descriptor Multicast frame. This valid only last descriptor First descriptor. Last descriptor. long packet (packet length 1518 bytes). This valid only last descriptor Late collision. when collision active after bytes. This valid only last descriptor Frame type. This valid only last descriptor. Ethernet type 802.3 type RDES1 31~26 reserved Receive watchdog (refer CSR15, This valid only last descriptor. Default Dribble bit. This valid only last descriptor Packet length integer multiple 8-bit. error. This valid only last descriptor Overflow. This valid only last descriptor Name -RER Descriptions reserved Receive ring indicates this descriptor last, return base address descriptor Second address chain chain structure. Indicates buffer2 address next descriptor address. Ring mode takes precedence over chained mode 23~22 21~11 RDES2 31~0 RDES3 -RBS2 RBS1 reserved Buffer size boundary) Buffer size boundary) Name RBA1 Descriptions Receive Buffer Address This buffer address should double word aligned. ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 31~0 Name RBA2 Descriptions Receive Buffer Address This buffer address should double word aligned. 7.4.2. Transmit Descriptor 7.4.2.1. Transmit Descriptor Table TDES0 TDES1 TDES2 TDES3 Descriptor addresses must longword alignment Control Status Buffer2 byte-count Buffer1 address Buffer2 address Buffer1 byte-count 7.4.2.2. Transmit Descriptor Descriptions TDES0 Name Descriptions Indicate this descriptor ready transmit transmit data this descriptor transmission 30-24 23-22 21-16 Reserved Under-run count Reserved Error summary, following under-run error excessive collision late collision carrier loss carrier jabber time-out 13-12 Transmit jabber time-out Reserved Loss carrier carrier ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Late collision Excessive collision Heartbeat fail Collision count Reserved Under-run error Deferred TDES1 28,27 Name Descriptions Interrupt completed Last descriptor First descriptor Reserved Disable function Ring address chain Indicate buffer2 address next descriptor address 21-11 10-0 TDES2 31~0 TDES3 31~0 Name Descriptions Buffer Address Without limitation transmission buffer address. Name Descriptions Buffer Address Without limitation transmission buffer address. -TBS2 TBS1 Disable padding function Reserved Buffer size Buffer size ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Functional Descriptions 8.1. Initialization Flow flow initialize AL981 shown below. Search base address value Reset (CSR0) Reset (XR0) Need media type? (Force Media) Program media type Read EEPROM from CSR9 Physical adress (CSR25, Need Multicast? Multicast address table (CSR27, ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Prepare Transmit descriptor buffer Prepare Receive descriptor buffer Install function Open interrupt Enable functions ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 8.2. Network Packet Buffer Management 8.2.1 Descriptor Structure Types networking operation, Comet transmits data packet from transmit buffers host memory Comet's transmit FIFO receives data packet from Comet's receive FIFO receive buffers host memory. descriptors that Comet supports build host memory used pointers these transmit receive buffers. There structure types descriptor, Ring Chain, supported Comet shown below. type selections controlled bit24 RDES1 bit24 TDES1. transmit receive buffers physically built host memory. buffer contain either whole packet just part packet. can't contain more than packet. ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Ring structure: There buffers descriptor ring structure. Support receive early interrupt. Descriptor CSR3 CSR4 Descriptor Pointer Length Length Data Buffer Data Length Buffer1 pointer Buffer2 pointer Ring Data Length Fig.3 Ring structure frame buffer ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Chain structure: There only buffer descriptor chain structure. CSR3 CSR4 Descriptor Pointer Descriptor -Length Data Buffer Data Length Buffer1 pointer Next pointer -Length Buffer1 pointer Next pointer Data Length -Length Buffer1 pointer Next pointer Data Length Fig.4 Chain structure frame buffer ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 8.2.2. point descriptor management ready network side access ready host side access Transmit Descriptor Pointers Descriptor Length Length next packet transmitted bit=1, packet1 packet2 ready transmit buffer1 pointer buffer2 pointer Data Buffer packet1 data packet1 data packet2 empty descriptor pointer ring Fig.5 Transmit pointers descriptor management ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Receive Descriptor Pointers packet2 bit=1, next descriptor ready incoming packet Data Buffer filled descriptor pointer packet1 ring packet2 Fig.6 Receive pointers descriptor management ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 8.3. Transmit Scheme Transmit Early Interrupt 8.3.1. Transmit flow flow packet transmit shown below. Initial Program descriptor, place data into host memory Change Write demand poll Comet read descriptor available descriptor(own=1) read data into fifo own=0 deferring greater than threshold TRANSMIT read rest data Back-off collision? write descriptor generate interrupt errors ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 8.3.2 Transmit pre-fetch data flow Transmit FIFO size=2K-byte packets FIFO same time meet transmit min. back-to-back place packet data into host memory issue transmit demand FIFO-to-host memory operation (1st packet) Transmit enable place packet data into host memory check point FIFO-to-host memory operation (2nd packet) place packet data into host memory check point FIFO-to-host memory operation (3rd packet) packet transmitted, check packet packet check next packet packet transmit threshold time handled driver handled Comet Fig.7 Transmit data flow pre-fetch data 8.3.3. Transmit early interrupt Scheme Host TX-FIFO Memory Operation Transmit data from FIFO Media Normal Interrupt after Transmit Completed Driver return buffer upper layer Early Interrupt after Host TXFIFO Operation Completed Driver return buffer upper layer time saved time when transmit early interrupt implemented handled driver handled Comet Fig.8 Transmit normal interrupt early interrupt comparison ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Receive scheme Receive early interrupt scheme following figure shows difference timing without early interrupt with early interrupt. incoming packet receive FIFO operation FIFO-to-host memory operation interrupt driver read header higher layer process driver read rest data receive early interrupt driver read header(early) higher layer process(early) driver read rest data finish time finish time time without early interrupt with early interrupt Fig.9 Receive data flow (without early interrupt with early interrupt) size descriptor programed header size advance FIFO-to-host emory operation descriptor descriptor full packet issue second interrupt receive early interrupt driver read header(early) higher layer process(early) driver read rest data finish time time Fig.10 Detailed Receive Early interrupt flow ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 8.5. Network Operation 8.5.1.MAC Operation (Media Access Control) portion Comet, incorporates essential protocol requirements operating IEEE802.3 Ethernet compliant node. Format Description 7-byte field (10101010b) 1-byte field (10101011b) 6-byte field 6-byte field 2-byte field indicated frame IEEE802.3 format Ethernet format. IEEE802.3 format: 0000H 05DCH Length field Ethernet format: 05DD FFFFH Type field 1500 bytes data information 32-bit cyclic redundant code error detection Field Preamble Start Frame Delimiter Destination Address Source Address Length/Type Data *Note: padding disabled(TDES1 bit23), data field shorter than bytes. Transmit Data Encapsulation differences between encapsulation frame while operating 100BASE-TX mode listed follow: first byte preamble replaced code according IEE802.3u, clause After field frame, Comet insert code according IEE802.3u, clause Receive Data Decapsulation When operate 100BASE-TX mode Comet detects code preamble well code packet end. code detected, Comet will abort this frame receiving wait code detection. code detected, Comet will report error. ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Deferring Inter-Frame (IFG) time divided into parts: IFG1 time (64-bit time): carrier detected medium during this time, Comet will reset IFG1 time counter restart monitor channel idle again. IFG2 time (32-bit time): After counting IFG2 time Comet will access channel even though carrier been sensed network. Collision Handling scheduling re-transmissions determined controlled randomization process called "truncated binary exponential back-off". enforcing collision (jamming), Comet delays before attempting re-transmit packet. delay integer multiple slot time. number slot times delay before re-transmission attempt chosen uniform distributed integer range: where min(n, 8.5.2. Transceiver Operation transceiver portion Comet, integrates IEEE802.3u compliant functions PCS(physical coding sub-layer), PMA(physical medium attachment) sublayer, PMD(physical medium dependent) sub-layer 100BASE-TX, IEEE802.3 compliant functions Manchester encoding/decoding transceiver 10BASE-T. functions operation schemes described following sections. 100BASE-TX Transmit Operation Regarding 100BASE-TX transmission, transceiver provides transmission functions PCS, PMA, encoding data nibbles five-bit codegroups (4B/5B), scrambling, serialization scrambled code-groups, converting serial code into NRZI code, converting NRZI code into MLT3 code, then driving MLT3 code into category Unshielded Twisted Pair cable through isolation transformer with turns ratio 1.414 ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Data code-groups Encoder: normal mode application, transceiver receives nibble type data TxD0~3 inputs MII. These inputs sampled transceiver rising edge Tx-clk passed 4B/5B encoder generate code-group used 100BASE-TX. Idle code-groups: order establish maintain clock synchronization, transceiver need keep transmitting signals medium. transceiver will generate Idle code-groups transmission when there real data want sent MAC. Start-of-Stream Delimiter-SSD (/J/K/): transmission stream, first nibbles preamble. order partner delineate boundary data transmission sequence authenticate carrier events, transceiver will replace first nibbles preamble with /J/K/ code-groups. End-of-Stream Delimiter-ESD (/T/R/): order indicate termination normal data transmissions, transceiver will insert nibbles /T/R/ codegroup after last nibble FCS. Scrambling: encoded data(including idle, SSD, codegroups) passed data scrambler reduce spread power spectrum using 10-bit scrambler seed loaded beginning. Data conversion Parallel Serial, NRZI, NRZI MLT3: After scrambled, transmission data with type 25MHz will converted serial stream 125HMz parallel serial function. After serialized, transmission serial stream will further converted from NRZI format. This NRZI conversion function bypassed, XR10 register cleared After NRZI converted, NRZI stream passed through MLT3 encoder generate TP-PMD specified MLT3 code. With this MLT3 code, lowers frequency reduces energy transmission signal cable also makes system easily meet specification EMI. Wave-Shaper Media Signal Driver: order reduce energy ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification harmonic frequency transmission signals, transceiver provides waveshaper prior line driver smooth keep symmetric rising/falling edge transmission signals. wave-shaped signals include 100BASE-TX 10BASE-T both passed same media signal driver. This design simplify external magnetic connection with single one. 100BASE-TX Receiving Operation Regarding 100BASE-TX receiving operation, transceiver provides receiving functions PMD, PMA, receiving incoming data signals through category cable isolation transformer with turns ratio includes adaptive equalizer baseline wander, data conversions MLT3 NRZI, NRZI serial parallel, clock data recovery, de-scrambler, decoder 5B/4B. Adaptive Equalizer Baseline Wander: Since high speed signals over unshielded shielded) twisted Pair cable will induce amplitude attenuation phase shifting. Furthermore, these effects depends signal frequency, cable type, cable length connectors cabling. reliable adaptive equalizer baseline wander compensate amplitude attenuation phase shifting necessary. transceiver, provides robust circuits perform these functions. MLT3 NRZI Decoder Data Recovery: After receiving proper MLT3 signals, transceiver converts MLT3 NRZI code further processing. After adaptive equalizer, baseline wander, MLT3 NRZI decoder, compensated signals with NRZI type 125MHz passed Phase Lock Loop circuits extract original data synchronous clock. Data Conversions NRZI Serial Parallel: After data recovered, signals will passed NRZI converter generate 125MHz serial stream. This serial stream will packed parallel type further processing. NRZI conversion bypassed, XR10 register cleared ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification De-scrambling Decoding 5B/4B: parallel type data passed de-scrambler 5B/4B decoder return their original nibble type data. Carrier sensing: Carrier Sense(CRS) signal asserted when transceiver detects non-contiguous zeros within 10bit boundary receiving stream. de-asserted when code-group Idle code-group detected. half duplex mode, asserted during packet transmission receive. full duplex mode, asserted only during packet reception. 10BASE-T Transmission Operation includes parallel serial converter, Manchester Encoder, Link test function, Jabber function transmit wave-shaper line driver described section "Wave-Shaper Media Signal Driver" "100BASE-T Transmission Operation". also provides Collision detection test half duplex application. 10BASE-T Receive Operation includes carrier sense function, receiving filter, clock data recovering, Manchester decoder, serial parallel converter. Loop-back Operation transceiver transceiver provides internal loop-back(also called transceiver loop-back) operation both 100BASE-TX 10BASE-T operations. loop-back operation enabled setting register this loop-back operation, lines isolated from media. transceiver also provides remote loop-back operation 100BASE-TX operation. remote loop-back operation enabled setting XR10 register 100BASE-TX internal loop-back operation, data comes from transmit output NRZI converter then loop-back receive path into input NRZI converter. 100BASE-TX remote loop-back operation, data received from pins through receive path output data clock recover then loop-back input NRZI MLT3 converter transmit path then transmit medium transmit line drivers. 10BASE-T loop-back operation, data through transmit path loopback from output Manchester encoder into input Phase Lock Loop circuit ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification receive path. Full Duplex Half Duplex Operation Transceiver transceiver operate either full duplex half duplex network application. full duplex, both transmit receive operated simultaneously. Under full duplex mode, collision(COL) signal ignored carrier sense(CRS) signal asserted only when transceiver receiving. half duplex mode, either transmit receive operated time. Under half duplex mode, collision signal asserted when transmit receive signals collided carrier sense asserted during transmission reception. Auto-Negotiation Operation Auto-Negotiation function designed provide means exchange information between transceiver network partner automatically configure both take maximum advantage their abilities, both setup accordingly. Auto-Negotiation function controlled through register. Auto-Negotiation exchanges information with network partner using Fast Link Pulses(FLPs) burst link pulses. There bits signaling information contained burst pulses advertise remote partner's capabilities which determined register XR4. According this information they find their highest common capability following priority sequence below: 100BASE-TX full duplex 100BASE-TX half duplex 10BASE-T full duplex 10BASE-T half duplex During power-up reset, Auto-Negotiation found enabled then FLPs will transmitted Auto-Negotiation function will process. Otherwise, AutoNegotiation will occur until register When AutoNegotiation disabled, then Network Speed Duplex Mode selected programming register. Power Down Operation reduce power consumption transceiver designed with power down feature which save power consumption significantly. Since power supply 100BASE-TX 10BASE-T circuits separated, transceiver turn ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification circuit either 100BASE-TX 10BASE-T when other them operating. 8.5.3. Flow Control Full Duplex Application PAUSE function operation used inhibit transmission data frames specified period time. Comet supports full duplex protocol IEEE802.3x. support PAUSE function, Comet implements Control Sub-layer functions decode Control frames received from control clients execute relative requests accordingly. When Full Duplex mode PAUSE function selected after Auto-Negotiation completed (refer register XCVR configuration information XR8), then Comet enables PAUSE function flow control full duplex application. this section will describe Comet implements PAUSE function. Control Frame PAUSE Frame Octets Octets Octets Octets (minFrameSize 160) Octets Destination Address Source Address Length/Type 88-08h Control Opcode Control Parameter Reserved(pads with zeroes) Fig.11 Control Frame Format Control frame distinguished from other frames only their Length/Type field identifier. Control Opcode defined Control Frame format PAUSE function 0001h. Besides, PAUSE time specified Control Parameters field with Octets, unsigned integer, units SlotTimes. range possible PAUSE time 65535 Slot-Times. valid PAUSE frame issued control client(could switch bridge) will contains: destination address equal globally assigned mulitcast address 01-80-C2-00-00-01, equal unicast address which control client wishes inhibit transmission data frames. ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Filled Control Opcode field with 0001h. Octets PAUSE time specified Control parameter field indicate length time which destination wished inhibit data frame transmission. Receive Operation PAUSE function Upon reception valid Control frame, Comet will start timer length time specified Control Parameters field. When timer value reaches zero then Comet ends PAUSE state. However, PAUSE frame should affect transmission frame that been submitted MAC(started Transmit can't interrupted). other hand, Comet shall begin transmit frame more than Slot-Times after received valid PAUSE frame with non-zero PAUSE time. Comet receives PAUSE frame with zero PAUSE time value, then Comet ends PAUSE state immediately. ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Opcode PAUSE Function Wait Transmission Completed transmission_in_progress false (01-80-C2-00-00-01 Phys-address) (01-80-C2-00-00-01 Phys-address) PAUSE FUNCTION n_slots_rx data [17:32] Start pause_timer (n_slots_rx slot_time) PAUSE Fig.12 PAUSE operation receive state diagram 8.6. Display Operation Comet provides kinds display mode, detail descriptions about operation described Description section. First mode displays 100Mbps(on) 10Mbps(off) Link(Keeps when link Activity(Blink with 10Hz when receiving transmitting collision) FD(Keeps when Full duplex mode) Collision(Blink with 20Hz when colliding) Second mode displays Link(On when 100M link Link(On when link ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Activity (Blink with 10Hz when receiving transmitting) FD(Keeps when Full duplex mode) Collision(Blink with 20Hz when colliding) 8.7. Reset Operation 8.7.1. Reset whole chip There ways reset Comet. First, hardware reset, Comet reset RST# pin. ensuring proper reset operation, least 100µs active Reset input signal required. Second, software reset, when CSR0 register Comet will reset entire circuits register default value then clear CSR0 8.7.2. Reset Transceiver only When register transceiver will reset entire circuits register contains default value then clear 8.8. Wake Function Comet assert signal wake system when received Magic Packet from network. Wake operation described follow. Magic Packet format: Valid destination address that pass address filter Comet payload frame must include least contiguous `FF' followed immediately repetitions IEEE address. frame contain multiple `six sixteen IEEE address' pattern. Wake operation Wake enable function controlled CSR18, loaded from EEPROM after reset programmed driver enable Wake function. CSR18 Comet receive Magic Packet, will assert PME# signal (drive low) indicate receiving wake frame well status (the CSR20). 8.9. ACPI Power Management Function Comet built-in capability Power Management (PM) which controlled host system ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Comet will provide: Compatibility with Device Class Power Management Reference Specification Network Device Class, Draft proposal v0.9, October 1996 Compatibility with ACPI, 1.0, December 1996 Compatibility with Power Management Interface Specification, 1.0, January 1997 Compatibility with Magic Packet TMTechnology. 8.9.1. Power States (Fully this state Comet operates full functionality consumes normal power. While state, clock lower than 16MHz, Comet receive transmit frames properly. D3hot this state Comet doesn't response accesses except configuration space full function context place. only network operation Comet initiate wake-up event. D3cold (Power Removed) this state function context lost. When power restored, reset must asserted function will return D3hot (Software Visible When Comet brought back from D3hot software must perform full initialization. Comet D3hot state respond configurations cycles long power clock supplied. This requires device perform internal reset return power-up reset condition without RST# asserted. Device State State Function Context Clock Power Supported Actions Function Supported Actions from Function ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Full function context place Full speed Full power transaction configuration access configuration access(B0, configuration access(B0, Power-on reset power transaction interrupt Only wake-up events Configuration Stopped maintained. Full speed except wake-up events Configuration Stopped maintained. Full speed Configuration lost, Stopped full initialization Full speed required upon return configuration lost. Power-on defaults place return clock D3hot D3cold Table Power state ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification General EEPROM Format Description Offset Length Description AL981 Signature: 0x81, 0x09 Format major version: 0x02, format version 0x01 Comet-MAC only. Format minor version: 0x00 Reserved IEEE network address: ID1,ID2,ID3,ID4,ID5,ID6 IEEE checksum1: Sm0=0, carry=0 SUM=Sm6 where Smi=(Smi-1<<1)+(carry from shift)+IDi IEEE checksum2: Reserved, should zero. type, 0xFF: Internal (AL981 only) Reserved, should zero. Default Connection Type, Table Reserved, should zero. Flow Control Field, Disable Flow Control function, Enable Flow Control function Device Vendor Subsystem Subsystem Vendor MIN_GNT value. MAX_LAT value. Cardbus pointer. CSR18 (CR) 31-16 recall data. Reserved, should zero. ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification CheckSum, least significant bytes data stored offset 0.7D EEPROM Table Connection Type Definition 0xFFFF 0x0100 0x0200 0x0400 0x0000 0x0001 0x0002 0x0003 0x0004 0x0005 0x0010 0x0013 0x0015 Software Driver Default Auto-Negotiation Power-on Auto-detection Auto Sense 10BaseT 100BaseTx 100BaseT4 100BaseFx 10BaseT Full Duplex 100BaseTx Full Duplex 100BaseFx Full Duplex ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Electrical Specifications Timings 10.1. Absolute Maximum Ratings Supply Voltage(Vcc) -0.5 Input Voltage -0.5 Output Voltage -0.5 Storage Temperature °C(-85°F 302°F) Ambient Temperature 70°C(32°F 158°F) Protection 2000V 10.2. Specifications General Specifications Parameter Description Supply Voltage Power Supply Condition 4.75 Typical 5.25 Units Interface Specfications Parameter Description Vilp Vihp Iilp Iihp Volp Vohp Cinp Cclkp Cidsel Lpinp Input Voltage Input HIGH Voltage Input Leakage Current Input HIGH Leakage Current 2.0V Output Voltage Output HIGH Voltage Input Capacitance Capacitance IDSEL Capacitance Inductance Condition -0.5 Typical Units Iout =3mA/6mA Iout =-2mA Flash/EEPROM Interface Specifications Parameter Description Vilf Vihf Input Voltage Input HIGH Voltage Condition -0.5 Typical Units ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Volf Vohf Cinf Input Leakage Current Output Voltage Output HIGH Voltage Input Capacitance Iout=3mA,6mA Iout=-2mA 10BASE-T Voltage/Current Characteristics Parameter Description Rid10 Vida10 Input Differential Resistance Condition Typical 3100 Units Input Differential Accept Peak 5MHz 10MHz Voltage Vidr10 Input Differential Reject Peak 5MHz 10MHz Voltage Vicm10 Vod10 Input Common Mode Voltage Output Differential Peak Voltage 2200 2800 Icct10 Line Driver Supply 100BASE-TX Voltage/Current Characteristics Parameter Description Rid100 Vida100 Input Differential Resistance Input Differential Accept Peak Voltage Vidr100 Input Differential Reject Peak Voltage Vicm100 Vod100 Input Common Mode Voltage Output Differential Peak Voltage Icct100 Line Driver Supply 1050 Condition Typical 1000 Units ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification 10.3. Specifications Signaling Specifications Parameter Description Ioh(AC) Iol(AC) Switching Current High Switching Current Clamp Current Condition Vout=.7Vcc Vout=.18Vcc -3<Vin<-1 25+(Vin+ 1)/.015 Unloaded Output Rise Time Unloaded Output Fall Time V/ns V/ns -32Vcc 38Vcc Typical Units 10.4.Timing Specifications Clock Specifications Parameter Description Clock Cycle Time Clock High Time Clock Time Clock Slew Rate Condition Typical Units V/ns Fig.13 Clock Waveform 2.4V 2.0V 1.5V 0.8V 0.4V pick pick ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Specifications Parameter Description TX1d TX1p TX1t Duty Cycle Period Tolerance Condition Typical Units Timings Parameter Description Tval Clock Signal Valid Delay (bussed signals) Tval(ptp) Clock Signal Valid Delay (point point) Toff Float Active Delay Active Float Delay Input Time Clock (bussed signals) Tsu(ptp) Input Time Clock (point point) Trst Input Hold Time from Clock Input Hold Time from Clock Reset Active Time after Power Stable Trst-clk Reset Active Time after Stable Trst-off Reset Active Output Float delay 10,12 Condition Typical Units ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Fig.14 Timings 1.5V 2.4V 0.4V Tval OUTPUT Delay 1.5V Tri-state OUTPUT Toff INPUT 1.5V 1.5V Flash Interface Timings Parameter Description Tfcyc Tfce Read/Write Cycle Time Address Read Data Setup Time Tfce Tfoe Read Data Setup Time Active Read Data Setup Time Tfdf Inactive Data Driven Delay Time Tfas Address Setup Time before Tfah Tfcs Address Hold Time after Setup Time before Condition Typical Units ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Tfch Tfds Tfdh Tfwpw Tfwph Tfasc Address Hold Time after Data Setup Time Data Hold Time Write Pulse Width Write Pulse Width High Address Setup Time before Tfahc Address Hold Time after Fig.15 Flash write timings Tfcyc ADDRESS Tfasw Tfasc Tahw Tfahc Tfcss Tfwpw Tfcsh Tfwph DATA Tfds Tfdh ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Fig.16 Flash read timings ADDRESS Tfcyc Tfce Tfoe Tfasd DATA Tfdf EEPROM Interface Timings Parameter Description Tscf Tecss Serial Clock Frequency Delay from High High Tecsh Delay from Tedts Tedth Tecsl Setup Time Hold Time after Time Condition Typical Units ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Fig.17 Serial EEPROM timing Tecss Tecsh Tecsl Tedts Tedth 10BASE-T Normal Link Pulse(NLP) Timings Specifications Parameter Description Width Period Condition 10Mbps 10Mbps Typical Units Fig.18 Normal Link Pulse timings Tnpw Tnpc Auto-Negotiation Fast Link Pulse(FLP) Timings Specifications Parameter Description Tflpw Width Clock pulse clock pulse period Clock pulse Data pulse period Number pulses burst 55.5 62.5 69.5 Condition Typical Units ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Burst Width Burst period Fig.19 Fast Link Pulse timing 100BASE-TX Transmitter Timings Specification Parameter Description Tjit TDP-TDN Differential Output Peak Jitter Condition Typical Units ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Comet Specification Package Fig.20 Package outline Comet Symbol Description Overall Height Stand Lead Width Lead Thickness Terminal Dimension Package Body Terminal Dimension Package Body Lead Pitch Foot Length Lead Angle Coplanarity Minimum 0.25mm 0.17mm 0.13mm 23.0mm 19.9mm 17.0mm 13.9mm 0.50mm 0.65mm 0.076mm Maximum 3.4mm 0.27mm 0.23mm 23.4mm 20.1mm 17.4mm 14.1mm 0.95mm 0.076mm Table2 Dimensions -pin PQFP Package ADMtek Incorporated No.9, Industry Rd., SBIP, HsinChu Tel:886-3-5788879 Fax:3-5788871 99/01/6 Re:0.93 ADMtek Incorporated. Confidential Other recent searchesTA24-11YWA - TA24-11YWA TA24-11YWA Datasheet SN75155 - SN75155 SN75155 Datasheet SN74AC14 - SN74AC14 SN74AC14 Datasheet SN54AC14 - SN54AC14 SN54AC14 Datasheet PESD5V2S18U - PESD5V2S18U PESD5V2S18U Datasheet MR16R1624 - MR16R1624 MR16R1624 Datasheet MR18R1624 - MR18R1624 MR18R1624 Datasheet MAX3873AEGP - MAX3873AEGP MAX3873AEGP Datasheet 1N5711 - 1N5711 1N5711 Datasheet 1N6263 - 1N6263 1N6263 Datasheet
Privacy Policy | Disclaimer |