• Support both full-duplex or half-duplex operation
• Provides FAX/MODEM interface for COMBO AP
• Provides an extra MII port for supporting other
media. For example, Home-LAN application
Product description
The AX88790 Fast Ethernet Controller is a high performance and highly integrated PCMCIA bus Ethernet Controller
with embedded 10/100Mbps PHY/Transceiver and 8K*16 bit SRAM. The AX88790 contains a 16 bit PCMCIA
interfaces to host CPU and compliant with PC Card Standard – February 1995. The AX88790 implements both 10Mbps
and 100Mbps Ethernet function based on IEEE802.3 / IEEE802.3u LAN standard. The AX88790 also provides an extra
IEEE802.3u compliant media-independent interface (MII) to support other media applications. Using MII interface,
Home LAN PHY type media can be supported. The AX88790 is built in interface to connect FAX/MODEM chipset with
parallel bus interface.
Typical System Block Diagram
RJ11
MODEM
AX88790 with 10/100 PHY/TxRx
RJ45
• Support 128/256 bytes EEPROM (used for saving
CIS)
• Support automatic loading of Ethernet ID, CIS and
Adapter Configuration from EEPROM on
power-on initialization
• External and internal loop-back capability
• Support 3 General Purpose Input pins
• Low Power Consumption, typical under 100mA
• 128-pin LQFP low profile package
• 0.25 Micron low power CMOS process. 25MHz
Operation, Pure 3.3V operation with 5V I/O
tolerance.
*IEEE is a registered trademark of the Institute of Electrical and Electronic
Engineers, Inc.
*All other trademarks and registered trademark are the property of their
respective holders.
Home LAN PHY
/TxRx
This data sheet contains new products information. ASIX ELECTRONICS reserves the rights to modify product specification without notice. No liability
Always contact ASIX for possible updates before starting a design.
is assumed as a result of the use of this product. No rights under any patent accompany the sale of the product.
ASIX ELECTRONICS CORPORATION Frist Released Date : Jun/19/2000
2F, NO.13, Industry East Rd. II, Science-based Industrial Park, Hsin-Chu City, Taiwan, R.O.C.
TEL: 886-3-579-9500 FAX: 886-3-579-9558 http://www.asix.com.tw
1.1 GENERAL DESCRIPTION:..................................................................................................................................... 5
2.0 SIGNAL DESCRIPTION................................................................................................................................... 7
2.1 PCMCIA BUS INTERFACE SIGNALS GROUP......................................................................................................... 7
2.2 EEPROM SIGNALS GROUP ................................................................................................................................8
2.3 MII INTERFACE SIGNALS GROUP.......................................................................................................................... 8
2.4 10/100MBPS TWISTED-PAIR INTERFACE PINS GROUP ........................................................................................... 9
2.5 BUILT-IN PHY LED INDICATOR PINS GROUP ....................................................................................................... 9
2.7 GENERAL PURPOSE I/O PINS GROUP .................................................................................................................. 10
4.2.2 Configuration and Status Register of MODEM (MCSR) Offset 3E2H (Read/Write) ................................. 19
4.2.3 I/O Base Register 0/1 of MODEM (MIOBASE0/1) Offset 3EAH/3ECH (Read/Write) .............................. 19
4.3 MAC CORE REGISTERS.................................................................................................................................... 20
5.1.1 Attribute Memory access function functions............................................................................................. 38
5.1.1 I/O access function functions.................................................................................................................... 38
5.2 MII STATION MANAGEMENT FUNCTIONS.......................................................................................................... 39
6.0 ELECTRICAL SPECIFICATION AND TIMINGS....................................................................................... 40
6.1 ABSOLUTE MAXIMUM RATINGS........................................................................................................................ 40
6.2 GENERAL OPERATION CONDITIONS................................................................................................................... 40
6.3 DC CHARACTERISTICS..................................................................................................................................... 40
6.4 A.C. TIMING CHARACTERISTICS....................................................................................................................... 41
6.4.7 MII Timing ............................................................................................................................................... 47
A.1 USING CRYSTAL 25MHZ ................................................................................................................................. 49
A.2 USING OSCILLATOR 25MHZ ............................................................................................................................ 49
APPENDIX B: POWER CONSUMPTION REFERENCE DATA...................................................................... 50
ERRATA OF AX88790 .......................................................................................................................................... 51
TAB – 7 GENERAL PURPOSES I/O PINS GROUP ............................................................................................................. 10
TAB – 8 MISCELLANEOUS PINS GROUP ........................................................................................................................ 11
TAB - 9 POWER ON CONFIGURATION SETUP TABLE ..................................................................................................... 12
TAB – 13 LOCAL MEMORY MAPPING.......................................................................................................................... 14
TAB – 14 PCMCIA FUNCTION CONFIGURATION REGISTER MAPPING OF LAN ............................................................. 15
TAB – 15 PCMCIA FUNCTION CONFIGURATION REGISTER MAPPING OF MODEM ...................................................... 18
TAB - 16 PAGE 0 OF MAC CORE REGISTERS MAPPING................................................................................................ 20
TAB - 17 PAGE 1 OF MAC CORE REGISTERS MAPPING................................................................................................ 21
TAB – 18 THE EMBEDDED PHY REGISTERS................................................................................................................ 27
TAB - 19 MII MANAGEMENT FRAME FORMAT ............................................................................................................ 39
TAB - 20 MII MANAGEMENT FRAMES- FIELD DESCRIPTION......................................................................................... 39
4
ASIX ELECTRONICS CORPORATION
Page 5
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
Registers
LOADER I/F
SD[15:0]
SA[9:0]
Ctl BUS
MII I/F
SMDIO
EEDO
TPI, TPO
1.0 Introduction
1.1 General Description:
The AX88790 provides industrial standard NE2000 registers level compatible instruction set. Various drivers are easy
acquired, maintenance and usage with no pain and tears
The AX88790 Fast Ethernet Controller is a high performance and highly integrated PCMCIA bus Ethernet Controller
with embedded 10/100Mbps PHY/Transceiver and 8K*16 bit SRAM. The AX88790 contains a 16 bit PCMCIA
interfaces to host CPU and compliant with PC Card Standard – February 1995. The AX88790 implements both 10Mbps
and 100Mbps Ethernet function based on IEEE802.3 / IEEE802.3u LAN standard. The AX88790 also provides an extra
IEEE802.3u compliant media-independent interface (MII) to support other media applications. Using MII interface,
Home LAN PHY type media can be supported. The AX88790 is also built in interface to connect FAX/MODEM chipset
with parallel bus interface.
The main difference between AX88790 and AX88190 are: 1) Embedded packet buffer memory 2) Built-in 10/100Mbps
PHY/Transceiver 3) Replace memory I/F with PHY/Transceiver I/F. 4) Fix OE# signal synchronous problem 5) Fix
interrupt status can’t always clean up problem of AX88190. 6) Add 3 general-purpose input pins.
AX88790 use 128-pin LQFP low profile package, 25MHz operation, and single 3.3V operation with 5V I/O tolerance.
The ultra low power consumption is an outstanding feature and enlarges the application field. It is suitable for some
power consumption sensitive product like Compact Flash Adapter Card, PDA (Personal Digital Assistant) and Palm size
computer …etc.
1.2 AX88790 Block Diagram:
Fig - 1 AX88790 Block Diagram
EECS
EECK
EEDI
GPI
MODEM
I/F
SEEPROM
NE2000/GPI
and Memory Arbiter
8K* 16 SRAM
Remote
DMA
FIFOs
PCMCIA Interface
SMDC
STA
MAC
Core
&
PHY
5
ASIX ELECTRONICS CORPORATION
Page 6
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
INPACK#
1.3 AX88790 Pin Connection Diagram
The AX88790 is housed in the 128-pin plastic light quad flat pack. See Fig - 2 AX88790 Pin
Connection Diagram.
IREQ# is asserted to indicate the host system that
This signal is set low to insert wait states during Remote DMA
The OE# line is used to gate Memory Read data from
nd
The signal is asserted when the AX88790 is
2.0 Signal Description
The following terms describe the AX88790 pin-out:
All pin names with the “#” suffix are asserted low.
The following abbreviations are used in following Tables.
I Input PU Pull Up
O Output PD Pull Down
I/O Input/Output P Power Pin
OD Open Drain
2.1 PCMCIA Bus Interface Signals Group
SIGNAL TYPE PIN NO. DESCRIPTION
SA[9:0] I/PD 15,
12 – 4
SD[15:0] I/O/PD 23 – 26,
29 – 33,
35 – 39,
41 – 42
IREQ# O 16 Interrupt Request:
WAIT# O 2 Wait:
REG# I/PU 128 Attribute Memory and I/O Space Select: When the REG# signal is
IORD# I/PU 19 I/O Read: The host asserts IORD# to read data from AX88790 I/O
IOWR# I/PU 18 I/O Write: The host asserts IOWR# to write data into AX88790 I/O
OE# I/PU 20 Output Enable :
WE# I/PU 17 Write Enable: The WE# signal is used for strobing Memory Write
IOIS16# O 123 I/O is 16 Bit Port: The IOIS16# is asserted when the address at the
INPACK# O 1 Input Port Acknowledge:
CE1#-CE2# I/PU 22, 21 Card Enable : The CE1# enables even numbered address bytes and
STSCHG# O 124 Battery Voltage Detect 1 / Status Change
SPKR# O 125 Battery Voltage Detect 2 / Audio speaker out
System Address: Signals SA[9:0] are address bus input lines which
enable direct address of up to 2K memory and I/O spaces on card.
System Data Bus: Signals SD[15:0] constitute the bibus.
the PC Card device requires host software service.
transfer.
asserted, access is limited to Attribute Memory and to the I/O space.
space.
space.
memory on PC Card
data into the memory on PC Card.
socket corresponds to an I/O address to which the card responds, a
the I/O port addressed is capable of 16-bit access.
selected and can respond to and I/O read cycle at the address on the
address bus.
CE2# enables odd numbered address bytes
Tab - 1 PCMCIA bus interface signals group
7
ASIX ELECTRONICS CORPORATION
Page 8
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
ta: RXD[3:0] is driven by the PHY synchronously with
Carrier Sense: Asynchronous signal CRS is asserted by the PHY when
he PHY synchronously with
respect to RX_CLK. Asserted high when valid data is present on
Receive Error: RX_ER is driven by PHY and synchronous to
RX_CLK, is asserted for one or more RX_CLK periods to indicate to
Receive Clock: RX_CLK is a continuous clock that provides the
timing reference for the transfer of the RX_DV, RXD[3:0] and
Transmit Enable: TX_EN is transition synchronously with respect to
the rising edge of TX_CLK. TX_EN indicates that the port is
smit Data: TXD[3:0] is transition synchronously with respect to
the rising edge of TX_CLK. For each TX_CLK period in which
TX_EN is asserted, TXD[3:0] are accepted for transmission by the
rom PHY. It
provides the timing reference for the transfer of the TX_EN and
Station Management Data Clock: The timing reference for MDIO. All
edge of this
Station Management Data Input / Output: Serial data input/output
transfers from/to the PHYs. The transfer protocol conforms to the
2.2 EEPROM Signals Group
SIGNAL TYPE PIN NO. DESCRIPTION
EECS O 51 EEPROM Chip Select: EEPROM chip select signal.
EECK O/PD 50 EEPROM Clock: Signal connected to EEPROM clock pin.
EEDI O 49 EEPROM Data In: Signal connected to EEPROM data input pin.
EEDO I/PU 48 EEPROM Data Out: Signal connected to EEPROM data output pin.
Tab - 2 EEPROM bus interface signals group
2.3 MII interface signals group
SIGNAL TYPE PIN NO. DESCRIPTION
RXD[3:0]
CRS I/PD 100
RX_DV I/PD 102 Receive Data Valid: RX_DV is driven by t
I/PU 98 – 95 Receive Da
respect to RX_CLK.
either transmit or receive medium is non-idle.
RX_ER (Omit) No Support
RX_CLK I/PU 99
COL I/PD 101 Collision: this signal is driven by PHY when collision is detected.
TX_EN O 108
TXD[3:0] O 112 – 109 Tran
TX_CLK I/PU 107 Transmit Clock: TX_CLK is a continuous clock f
MDC O/PU 67
MDIO I/O/PU 66
Tab - 3 MII interface signals group
RXD [3:0].
the port that an error has detected.
RX_ER signals from the PHY to the MII port.
presenting nibbles on TXD [3:0] for transmission.
PHY.
TXD[3:0] signals from the MII port to the PHY.
data transfers on MDIO are synchronized to the rising
clock. MDC is a 2.5MHz frequency clock output.
IEEE 802.3u MII specification.
8
ASIX ELECTRONICS CORPORATION
Page 9
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
baud
aced
Band Gap Reference for the Receive Channel.
c 1. If there is activity, transmit or
driven low for 0.67 sec
If this signal is
, then the
ollision
driven low for 0.67 sec and driven high
, and if it is
When in link status
driven low for 0.67 sec
2.4 10/100Mbps Twisted-Pair Interface pins group
SIGNAL TYPE PIN NO. DESCRIPTION
TPIP I 70
TPIN I 71
TPOP O 88
TPON O 87
REXT10 I 84 Current Setting 10Mbits/s. An external resistor 20.1k ohm is placed
REXT100 I 83 Current Setting 100Mbits/s. An external resistor 2.49k ohm is pl
REXTBS I 74 External Bias Resistor.
Received Data. Positive differential received 125M baud MLT3 or
10M baud Manchester data from magnetic.
Fiber-Optic Data Input. Positive differential received 125M
pseudo-ECL data from fiber transceiver.
Received Data. Negative differential received 125M baud MLT3 or
10M baud Manchester data from magnetic.
Fiber-Optic Data Input. Negative differential received 125M baud
pseudo-ECL data from fiber transceiver.
Transmit Data. Positive differential transmit 125M baud MLT3 or
10M baud Manchester data to magnetic.
Fiber-Optic Data Output. Positive differential transmit 125M baud
pseudo-ECL compatible data to fiber transceiver.
Transmit Data. Negative differential transmit 125M baud MLT3 or
10M baud Manchester data to magnetic.
Fiber-Optic Data Output. Negative differential transmit 125M baud
pseudo-ECL compatible data to fiber transceiver.
from this signal to ground to set the 10Mbits/s TP driver transmit
output level.
from this signal to ground to set the 100Mbits/s TP driver transmit
output level.
Connect this signal to a 24.9k ohm +/- 1 percent resistor to ground.
The parasitic load capacitance should be less than 15 pF.
Tab - 4 10/100Mbps Twisted-Pair Interface pins group
2.5 Built-in PHY LED indicator pins group
SIGNAL TYPE PIN NO. DESCRIPTION
I_ACT
or
I_FULL/COL
I_SPEED O 61 Speed Status: If this signal is low, it indicates 100Mbps
I_LINK
Or
I_LK/ACT
Tab - 5 Built-in PHY LED indicator pins group
O 62 Active Status: When I_OP is logi
O 60 Link Status: When I_OP is logic 1. If this signal is low, it indicates
receive, on the line occurred, the output will be
and then driven high at least 0.67 sec.
Full-Duplex/Collision Status. When I_OP is logic 0.
low, it indicates full-duplex link established, and if it is high
link is in half-duplex mode. When in half-duplex and c
occurrence, the output will be
at least 0.67 sec.
high, then the speed is 10Mbps.
link, and if it is high, then the link is fail.
Link Status/Active: When I_OP is logic 0. If this signal is low, it
indicates link, and if it is high, then the link is fail.
and line activity occurrence, the output will be
and driven high at least 0.67 sec.
2.6 Modem interface pins group
9
ASIX ELECTRONICS CORPORATION
Page 10
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
indicates that modem is initializing the
modem after reset signal asserted or the modem is at SLEEP/STOP
Rockwell modem chipset, this signal asserts
AT&T modem
chipset, this signal asserts high to let modem chipset into power down
ct circuit. When
Signal Name Type Pin No. Description
MRDY I/PU 122 Modem Ready: MRDY low
MRESET# O 121 Modem Reset: This signal asserts low to reset the modem chipset.
MDCS# O/PU 116 Modem Chip Select: This signal connected to modem chip select pin.
MPWDN O/PU 120 Modem Power Down:
MINT I/PD 117 Modem Interrupt: This signal driven by modem chipset to active
MRIN# I/PU 119 Ring Input: This signal is driven by DAA’s ring dete
MAUDIO I/PU 118 Modem Audio: This signal is passed to PCMCIA interface via SPKR.
Tab - 6 Modem interface signals group
mode.
low to let modem chipset into power down mode.
mode.
interrupt.
a telephone-ringing signal is being received.
2.7 General Purpose I/O pins group
Signal Name Type Pin No. Description
GPI[2]/SPD I/PU 113 Read register offset 17h bit 6 value reflects this input value.
GPI[1]/DPX I/PU 106 Read register offset 17h bit 5 value reflects this input value.
GPI[0]/LINK I/PU 103 Read register offset 17h bit 4 value reflects this input value.
Tab – 7 General Purposes I/O pins group
10
ASIX ELECTRONICS CORPORATION
Page 11
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
60%
l not supports 5 Volts tolerance ( See application
25 PPM can be
25 PPM can be
ended external
clock (LCLK) is connected to XTALIN, the crystal output pin should
en place AX88790 into reset mode immediately.
etting purpose only. Must be pull
For test only. Must be pulled down or keep no connection when normal
The pin is just for test mode only. Must be pulled high or keep no
TX
modes. It should be connected to the center tap of the transmit side of
transmit/receive area. This should
Powers the analog block around the transmit/receive area. This should
be isolated with other
The Phase Detector (or PLL) power. This should be isolated with other
2.8 Miscellaneous pins group
SIGNAL TYPE PIN NO. DESCRIPTION
LCLK/XTALIN I 79 CMOS Local Clock: Typical a 25Mhz clock, +/- 100 PPM, 40%-
duty cycle. The signa
XTALOUT O 80 Crystal Oscillator Output: Typical a 25Mhz crystal, +/-
CLKO25M O 44 Clock Output: This clock is source from LCLK/XTALIN.
RESET I/PU 3 Reset
TEST[2:1] I/PD 47, 65
IDDQ I 46 For test only. Must be pulled down at normal operation.
BIST I/PD 45
FAST_MODE# I/PU 59
note also )
Crystal Oscillator Input: Typical a 25Mhz crystal, +/connected across XTALIN and XTALOUT.
connected across XTALIN and XTALOUT. If a single-
be left floating.
Reset is active high th
During falling edge the AX88790 loads the power on setting data.
And, after the falling edge the AX88790 loads the EEPROM data.
Test Pins : Active high
These pins are just for test mode s
down or keep no connection when normal operation.
operation.
FAST_MODE : Active LOW
EEPROM_SIZE I/PU 58 EEPROM SIZE = 0: 93C46 type 128 byte EEPROM is used.
ZVREG O 92 This sets the common mode voltage for 10Base-T and 100Base-
VDD P 13, 27, 40,
VSS P 14, 28, 34,
VDDA P 56, 69,
VSSA P 55, 68,
VDDM P 76 Powers the analog block around the
VSSM P 77, 93
VDDPD P 78 The Phase Detector (or PLL) power. This should
VSSPD P 81
VDDO P 91 Power Supply for Transceiver Output Driver: +3.3V DC.
VSSO P 86, 89, 90 Power Supply for Transceiver Output Driver: +0V DC or Ground.
53, 57, 104,
114, 126
43, 52, 54,
63, 64, 94,
105,115,
127
73, 82
72, 75, 85,
connection when normal operation.
EEPROM SIZE = 1: 93C56 type 256 byte EEPROM is used.
the transformer
Power Supply: +3.3V DC.
Power Supply: +0V DC or Ground.
Power Supply for Analog Circuit: +3.3V DC.
Power Supply for Analog Circuit: +0V DC or Ground.
be connected to VDDA: +3.3V DC.
be connected to VSSA: +0V DC or Ground Power.
power: +3.3V DC.
power: +0V DC or Ground.
Tab – 8 Miscellaneous pins group
11
ASIX ELECTRONICS CORPORATION
Page 12
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
2.9 Power on configuration setup signals cross reference table
Signal Name Share with Description
MPD_SET MPWDN MPD_SET = 0: MPWDN pin active high.
MPD_SET = 1: MPWDN pin active low. (default)
PPD_SET EECK PPD_SET = 0: Internal PHY in normal mode. (default)
PPD_SET = 1: Internal PHY in power down mode.
I_OP MDCS# LED Indicator Option: Selection of LED display mode.
I_OP = 0: I_LK/ACT, I_SPEED and I_FULL/COL LED display mode.
I_OP = 1: I_LINK, I_SPEED and I_ACT LED display mode. (default)
Tab - 9 Power on Configuration Setup Table
12
ASIX ELECTRONICS CORPORATION
Page 13
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
3.0 Memory and I/O Mapping
There are four memories or I/O mapping used in AX88790.
1. EEPROM Memory Mapping
2. Attribute Memory Mapping
3. I/O Mapping
4. Local Memory Mapping
3.1 EEPROM Memory Mapping
EEPROM OFFSET HIGH BYTE LOW BYTE
00H RESERVED WORD COUNT
01H CFH CFL
02H NODE-ID1 NODE ID 0
03H NODE ID 3 NODE ID 2
04H NODE ID 5 NODE ID 4
05H CHECKSUM RESERVED
06H – 10H RESERVED RESERVED
10H – FFH CIS CIS
Tab – 10 EEPROM Memory Mapping
Note: bit 3 register of LCOR in AX88190 is replaced by bit 0 of CFL in AX88790
Bit 0 of CFL: Enable Power Down mode
This bit is set to 1; the LAN will go into power down mode. At power down mode AX88790 will disable MAC
transmitting and receiving operation. But the host interface will not be affected.
The PCMCIA function configuration registers of LAN.
The PCMCIA function configuration registers of MODEM.
The MAC core register.
The embedded PHY registers.
4.1 PCMCIA Function Configuration Register Set of LAN
REGISTER NAME OFFSET
LCOR CONFIGURATION OPTION REGISTER 3C0H
LCSR CONFIGURATION AND STATUS REGISTER 3C2H
LIOBASE0 I/O BASED REGISTER 0 3CAH
LIOBASE1 I/O BASED REGISTER 1 3CCH
Tab – 14 PCMCIA Function Configuration Register Mapping of LAN
15
ASIX ELECTRONICS CORPORATION
Page 16
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
the
reset.
These six bits are used to indicate entry of the card configuration table locate in the CIS.
If bit 0 of LCOR is set to 1 and this bit is set to 1, the LAN will generate interrupt request
his bit is set to 0, the LAN will not generate interrupt request via
e qualified by
4.1.1 Configuration Option Register of LAN (LCOR) Offset 3C0H (Read/Write)
FIELD R/W/C
7 R/W Software Reset
Assert this bit will reset the LAN function of AX88790. Return a 0 to this bit will leave
LAN function of AX88790 in a post-reset state as same as that following hardware
The value of this bit is 0 at power-on.
6 R/W Level IRQ
This bit should be set to 1; the AX88790 always generates Level Mode Interrupt.
5:0 R/W Function Configuration Index
DESCRIPTION
The default value is 0
.
On multifunction PC Card,
Bit 5, Bit 4, Bit 3 : MODEM I/O base registers
Bit 5 Bit 4 Bit 3 LAN I/O base MODEM I/O base
0 0 0 300H Decided by MIOBASE registers
0 0 1 320H 2f8H
0 1 0 340H 3e8H
0 1 1 360H 2e8H
1 0 0 380H Decided by MIOBASE registers
1 0 1 200H 2f8H
1 1 0 220H 3e8H
1 1 1 240H 2e8H
Bit 2 : Enable IREQ# Routing
If bit 0 of LCOR is set to 0, this bit is ignored.
via IREQ# signal. If t
IREQ# line.
Bit 1 : Enable Base and Limit Registers
If bit 0 of LCOR is set to 0, this bit is ignored.
If bit 0 of LCOR is set to 1 and this bit is set to 1,only I/O addresses that ar
the Base and Limit registers are passed to LAN function. If this bit is set to 0,all I/O
addresses are passed to LAN function.
Bit 0 : Enable Function
If this bit is set to 0, the LAN function is disabled.
If this bit is set to 1, the LAN function is enabled.
16
ASIX ELECTRONICS CORPORATION
Page 17
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
down mode. As for
PPWDN is active high or active low. Please refer section 2.9 Power on configuration setup
The LAN function will set this bit to 1 when it need interrupt service and set it to 0 when it
4.1.2 Configuration and Status Register of LAN (LCSR) Offset 3C2H (Read/Write)
FIELD R/W/C
7:3 - Reserved
2 R/W PPwrDwn : PHY power down setting
While this bit set to 1, AX88790 will force embedded PHY into power
DESCRIPTION
1 R Intr: Interrupt Request
0 R IntrAck: Interrupt Acknowledge
signal cross-reference table.
Note: The master control of Power Down mode is place on Bit 0 of CFL. If user want to
enable power down mode, must set the relative bit of EEPROM that map to bit 0 of CFL
register to logic 1. When this bit is set to 1, the LAN will go into power down mode. At
power down mode AX88790 will disable MAC transmitting and receiving operation. But
the host interface will not be affected.
is not request interrupt service.
This bit will be 0. The Intr will reflect the status of interrupt requesting.
4.1.3 I/O Base Register 0/1 of LAN (LIOBASE0/1) Offset 3CAH/3CCH (Read/Write)
The I/O Base registers (LIOBASE0 and LIOBASE1) determine the base address of the I/O range used to access the
LAN specific registers (MAC Core Registers).
I/O Base Register 0
FIELD R/W/C
7:0 R/W Base I/O address bit 7 – 0.
I/O Base Register 1
FIELD R/W/C
7:0 R/W Base I/O address bit 15 – 8.
DESCRIPTION
DESCRIPTION
17
ASIX ELECTRONICS CORPORATION
Page 18
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
sed to indicate entry of the card configuration table locate in the CIS.
t 2 of MCOR are set to 1 and this bit is set to 1, the MODEM will route
interrupt request to STSCHG# signal. If this bit is set to 0, the MODEM will generate
If bit 0 of MCOR is set to 1 and this bit is set to 1, the MODEM will generate interrupt
request via IREQ# signal. If this bit is set to 0, the MODEM will not generate interrupt
If bit 0 of MCOR is set to 1 and this bit is set to 1,only I/O addresses that are qualified
to 0,all
4.2 PCMCIA Function Configuration Register Set of MODEM
REGISTER NAME OFFSET
MCOR CONFIGURATION OPTION REGISTER 3E0H
MCSR CONFIGURATION AND STATUS REGISTER 3E2H
MIOBASE0 I/O BASED REGISTER 0 3EAH
MIOBASE1 I/O BASED REGISTER 1 3ECH
Tab – 15 PCMCIA Function Configuration Register Mapping of MODEM
4.2.1 Configuration Option Register of MODEM (MCOR) Offset 3E0H (Read/Write)
FIELD R/W/C
7 R/W Software Reset
Assert this bit will reset the MODEM function of AX88790. Return a 0 to this bit will
leave the MODEM function of AX88790 in a post-reset state as same as that following
hardware reset. The value of this bit is 0 at power-on.
6 R/W Level IRQ
This bit should be set to 1; the AX88790 always generates Level Mode Interrupt.
5:0 R/W Function Configuration Index
These six bits are u
The default value is 0
.
On multifunction PC Card,
Bit 5, Bit4 : Reserved
Bit 3 : MINT route to STSCHG#
If bit 0 of MCOR is set to 0, this bit is ignored.
If both bit 0 and bi
DESCRIPTION
interrupt request via IREQ# line.
Bit 2 : MINT route to IREQ# (Enable IREQ# Routing)
If bit 0 of MCOR is set to 0, this bit is ignored.
request via IREQ# line.
Bit 1 : Enable Base and Limit Registers
If bit 0 of MCOR is set to 0, this bit is ignored.
by the Base and Limit registers are passed to MODEM function. If this bit is set
I/O addresses are passed to LAN function.
Bit 0 : Enable Function
If this bit is set to 0, the MODEM function is disabled.
If this bit is set to 1, the MODEM function is enabled.
18
ASIX ELECTRONICS CORPORATION
Page 19
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
While this bit set to 1, MPWDN pin (pin 116) will be active to force modem chip into power
e refer section 2.7 Power on
The LAN function will set this bit to 1 when it need interrupt service and set it to 0 when it
4.2.2 Configuration and Status Register of MODEM (MCSR) Offset 3E2H (Read/Write)
FIELD R/W/C
7:3 - Reserved
2 R/W MPwrDwn : Modem power down setting
DESCRIPTION
1 R Intr: Interrupt Request
0 R IntrAck: Interrupt Acknowledge
down mode. As for MPWDN is active high or active low. Pleas
configuration setup signal cross-reference table.
is not request interrupt service.
This bit will be 0. The Intr will reflect the status of interrupt requesting.
4.2.3 I/O Base Register 0/1 of MODEM (MIOBASE0/1) Offset 3EAH/3ECH (Read/Write)
The I/O Base registers (MIOBASE0 and MIOBASE1) determine the base address of the I/O range used to access the
MODEM specific registers.
I/O Base Register 0
FIELD R/W/C
7:0 R/W Base I/O address bit 7 – 0.
I/O Base Register 1
FIELD R/W/C
7:0 R/W Base I/O address bit 15 – 8.
DESCRIPTION
DESCRIPTION
19
ASIX ELECTRONICS CORPORATION
Page 20
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
4.3 MAC Core Registers
All registers of MAC Core are 8-bit wide and mapped into pages which are selected by PS (Page Select) in
the Command Register.
PAGE 0 (PS1=0,PS0=0)
OFFSET READWRITE
00H Command Register
( CR )
01H Page Start Register
( PSTART )
02H Page Stop Register
( PSTOP )
03H Boundary Pointer
( BNRY )
04H Transmit Status Register
( TSR )
05H Number of Collisions Register
( NCR )
06H Current Page Register
( CPR )
07H Interrupt Status Register
( ISR )
08H Current Remote DMA Address 0
( CRDA0 )
09H Current Remote DMA Address 1
( CRDA1 )
0AH Reserved Remote Byte Count 0
0BH Reserved Remote Byte Count 1
0CH Receive Status Register
( RSR )
0DH Frame Alignment Errors
( CNTR0 )
0EH CRC Errors
( CNTR1 )
0FH Missed Packet Errors
( CNTR2 )
10H
11H
12H IFGS1 IFGS1
13H IFGS2 IFGS2
14H MII/EEPROM Access MII/EEPROM Access
15H Test Register Test Register
16H Inter-frame Gap (IFG) Inter-frame Gap (IFG)
17H GPI GPOC
Inter-frame Gap Segment 1
IFGS1
Inter-frame Gap Segment 2
IFGS2
Tab - 17 Page 1 of MAC Core Registers Mapping
21
ASIX ELECTRONICS CORPORATION
Page 22
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
These three encoded bits control operation of the Remote DMA channel. RD2 could be set
to abort any Remote DMA command in process. RD2 is reset by AX88790 when a Remote
The two bits selects which register page is to be accessed.
PS1 PS0
0 0 page 0
0 1 page 1
5:3 RD2,RD1
,RD0
RD2,RD1,RD0 : Remote DMA Command
DESCRIPTION
2 TXP TXP : Transmit Packet
1 START START :
0 STOP STOP : Stop AX88790
DMA has been completed. The Remo
has been aborted. The Remote Start Address is not restored to the starting address if the
Remote DMA is aborted.
RD2 RD1 RD0
0 0 0 Not allowed
0 0 1 Remote Read
0 1 0 Remote Write
0 1 1 Not allowed
1 X X Abort / Complete Remote DMA
This bit could be set to initiate transmission of a packet
This bit is used to active AX88790 operation.
This bit is used to stop the AX88790 operation.
4.3.2 Interrupt Status Register (ISR) Offset 07H (Read/Write)
FIELD NAME
7 RST Reset Status :
Set when AX88790 enters reset state and cleared when a start command is issued to the
CR. Writing to this bit is no effect.
6 RDC Remote DMA Complete
Set when remote DMA operation has been completed
5 CNT Counter Overflow
Set when MSB of one or more of the Tally Counters has been set.
4 OVW Over Write: Set when receive buffer ring storage resources have been exhausted.
3 TXE Transmit Error
Set when packet transmitted with one or more of the following errors
n Excessive collisions
n FIFO Under-run
2 RXE Receive Error
Indicates that a packet was received with one or more of the following errors
CRC error
Frame Alignment Error
FIFO Overrun
Missed Packet
1 PTX Packet Transmitted
Indicates packet transmitted with no error
0 PRX Packet Received
EEPROM Data Out value. That reflects Pin-48 EEDO value.
EEPROM Data In. That output to Pin-49 EEDI as EEPROM data input value.
EEPROM Chip Select
MII Data Out
MII Data In. That reflects Pin-66 MDIO value.
MII Read Control Bit, assert this
let MDIO as output signal.
MII Clock
DESCRIPTION
4.3.13 Test Register (TR) Offset 15H (Write)
FIELD NAME
7:5 - Reserved
4 TF16T Test for Collision
3 TPE Test pin Enable
2:0 IFG Select Test Pins Output
DESCRIPTION
4.3.14 Test Register (TR) Offset 15H (Read)
FIELD NAME
7:4 - Reserved
3 RST_TXB 100BASE-TX in Reset: This signal indicates that 100BASE-
2 RST_10B 10BASE-T in Reset: This signal indicates that 10BASE-T logic of internal PHY is in reset.
1 RST_B Reset Busy: This signal indicates that internal PHY is in reset.
0 AUTOD Autonegotiation Done: This signal goes high whenever internal PHY autonegotiation has
reset.
completed. It will go low if autonegotiation has to restart.
DESCRIPTION
25
ASIX ELECTRONICS CORPORATION
Page 26
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
4.3.15 General Purpose Input Register (GPI) Offset 17H (Read)
FIELD NAME
7 - Reserved
6 GPI2 This register reflects GPI[2] input value. May connect to external PHY speed status.
5 GPI1 This register reflects GPI[1] input value. May connect to external PHY duplex status.
4 GPI0 This register reflects GPI[0] input value. May connect to external PHY link status.
3 - Reserved
2 I_SPD This register reflects internal PHY speed status value. Logic one means 100Mbps
1 I_DPX This register reflects internal PHY duplex status value. Logic one means full duplex.
0 I_LINK This register reflects internal PHY link status value. Logic one means link ok.
DESCRIPTION
4.3.16 GPO and Control (GPOC) Offset 17H (Write)
FIELD NAME
7:6 - Reserved
5 MPSET Media Set by Program: The signal is valid only when MPSEL is set to high.
When MPSET is logic 0, internal PHY is selected.
When MPSET is logic 1, external MII PHY is selected.
4 MPSEL Media Priority Select :
MPSEL I_LINK GPI0 Media Selected
0 1 0 Internal PHY
0 1 1 Internal PHY
0 0 0 External MII PHY
0 0 1 Internal PHY
1 X X Depend on MPSET bit
3:0 - Reserved
DESCRIPTION
26
ASIX ELECTRONICS CORPORATION
Page 27
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
4.4 The Embedded PHY Registers
The MII management 16-bit register set implemented is as follows. And the following sub-section will describes each
field of the registers. The format for the “FIELD” descriptions is as follows: the first number is the register number, the
second number is the bit position in the register and the name of the instantiated pad is in capital letters. The format for
the “TYPE” descriptions is as follows: R = read, W = write, LH = latch high, NA = not applicable.
16 MR16 PCS Control Register 0000
17 MR17 Autonegotiation (read register A) 0000
18 MR18 Autonegotiation (read register B) 0000
19 MR19 Analog Test Register 20 MR20 User-defined Register -
21 MR21 RXER Counter 0000
22 - 24 MR22 -24 Analog Test Registers 25 - 27 MR25 -27 Analog Test (tuner) Registers -
28 MR28 Device Specific 1 -
29 MR29 Device Specific 2 2080
30 MR30 Device Specific 3 0000
31 MR31 Quick Status Register -
DESCRIPTION DEFAULT(Hex Code)
Tab – 18 The Embedded PHY Registers
27
ASIX ELECTRONICS CORPORATION
Page 28
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
Setting this bit to a 1 will reset the PHY. All registers will be set to
ill take place on
the media. Any receive data will be ignored. The loopback signal path will
contain all circuitry up to, but not including, the PMD. The default value is
speed of operation
(1 =100 Mbits/s; 0 =10 Mbits/s). This bit will only affect operating speed
when the autonegotiation enable bit (register 0, bit 12) is disabled (0). This
bit is ignored when autonegotiation is enabled (register 0, bit 12). This bit is
The autonegotiation process will be enabled by
g this bit
to a 1, both the 10Mbits/s transceiver and the 100Mbits/s transceiver will be
powered down. While in the powerdown state, the PHY will respond to
t to a 1, the MII outputs will be brought to the
Normally, the autonegotiation process is started
default state is
a 0. The NWAYDONE bit (register 1, bit 5) is reset when this bit goes to a
This bit reflects the mode of operation (1 = full duplex; 0 =
x). This bit is ignored when the autonegotiation enable bit
(register 0, bit 12) is enabled. The default state is a 0. This bit is ORed with
When this bit is set to a 1, the PHY will assert the MCOL
4.4.1 MR0 -- Control Register Bit Descriptions
FIELD TYPE DESCRIPTION
0.15 (SW_RESET) R/W
0.14 (LOOPBACK) R/W
0.13(SPEED100) R/W
0.12 (NWAY_ENA) R/W
0.11 (PWRDN) R/W
0.10 (ISOLATE) R/W
0.9 (REDONWAY) R/W
0.8 (FULL_DUP) R/W
0.7 (COLTST) R/W
0.6:0 (RESERVED) NA
Reset.
their default state. This bit is self-clearing. The default is 0.
Loopback. When this bit is set to 1, no data transmission w
a 0.
Speed Selection. The value of this bit reflects the current
ANDed with the SPEED_PIN signal.
Autonegotiation Enable.
set-ting this bit to a 1. The default state is a 1.
Powerdown. The PHY may be placed in a low-power state by settin
management transactions. The default state is a 0.
Isolate. When this bit is se
high-impedance state. The default state is a 0.
Restart Autonegotiation.
at powerup. Setting this bit to a 1 may restart the process. The
1. This bit is self-cleared when autonegotiation restarts.
Duplex Mode.
half duple
the F_DUP pin.
Collision Test.
signal in response to MTX_EN.
Reserved. All bits will read 0.
28
ASIX ELECTRONICS CORPORATION
Page 29
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
indicates that the PHY
When this bit is a 1, it indicates the
autonegotiation process has been completed. The contents of registers MR4,
are now valid. The default value is a 0. This bit is reset
When this bit is a 1, it indicates a remote fault has been
The
When this bit is a 1, it indicates the ability to
s been
established. This bit has a latching function: a link failure will cause the bit
ed.
This bit indicates that the PHY supports the
4.4.2 MR1 -- Status Register Bit Descriptions
FIELD TYPE DESCRIPTION
1.15 (T4ABLE) R
1.14 (TXFULDUP) R
1.13 (TXHAFDUP) R
1.12 (ENFULDUP) R
1.11 (ENHAFDUP) R
1.10:7 (RESERVED) R
1.6 (NO_PA_OK) R
1.5 (NWAYDONE) R
100Base-T4 Ability. This bit will always be a 0.
0: Not able.
1: Able.
100Base-TX Full-Duplex Ability. This bit will always be a 1.
0: Not able.
1: Able.
100Base-TX Half-Duplex Ability. This bit will always be a 1.
0: Not able.
1: Able.
10Base-T Full-Duplex Ability. This bit will always be a 1.
0: Not able.
1: Able.
10Base-T Half-Duplex Ability. This bit will always be a 1.
0: Not able.
1: Able.
Reserved. All bits will read as a 0.
Suppress Preamble. When this bit is set to a 1, itaccepts management frames with the preamble suppressed.
Autonegotiation Complete.
1.4 (REM_FLT) R
1.3 (NWAYABLE) R
1.2 (LSTAT_OK) R
1.1 (JABBER) R
1.0 (EXT_ABLE) R
MR5, MR6, and MR7
when autonegotiation is started.
Remote Fault.
detected. This bit will remain set until cleared by reading the register.
default is a 0.
Autonegotiation Ability.
perform autonegotiation. The value of this bit is always a 1.
Link Status. When this bit is a 1, it indicates a valid link ha
to clear and stay cleared until it has been read via the management interface.
Jabber Detect. This bit will be a 1 whenever a jabber condition is detect
It will remain set until it is read, and the jabber condition no longer exists.
Extended Capability.
extended register set (MR2 and beyond). It will always read a 1.
29
ASIX ELECTRONICS CORPORATION
Page 30
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
fourth
bit of the OUI assigned to the PHY manufacturer by the IEEE are to be
The remaining 6 bits of the OUI. The
model number is
The value of the present revision number. The version
Setting this bit to a 1 activates the next page function. This will
allow the exchange of additional data. Data is carried by optional next pages
When set to 1, the PHY indicates to the link partner a remote
When set to a 1, it indicates that the PHY wishes to exchange flow
If written to 1, autonegotiation will advertise
If written to 1, autonegotiation will advertise that the PHY is
If written to 1, autonegotiation will advertise that
If written to 1, autonegotiation will advertise that the PHY is
When this bit is set to 1, it indicates that the link
When this bit is set to 1, it indicates that the
link partner has successfully received at least three consecutive and
When this bit is set to 1, it indicates that the link partner has
This field contains the technology ability of the
link partner. These bits are similar to the bits defined for the MR4 register
e type of message sent by the link
partner. For IEEE 802.3 compliant link partners, this field should read
4.4.3 MR2, MR3 -- Identification Registers (1 and 2) Bit Descriptions
FIELD TYPE DESCRIPTION
2.15:0 (OUI[3:18]) R
Organizationally Unique Identifier. The third through the twenty-
3.15:10 (OUI[19:24]) R
3.9:4 (MODEL[5:0]) R
3.3:0 (VERSION[3:0])
placed in bits. 2.15:0 and 3.15:10. This value is programmable.
Organizationally Unique Identifier.
value for bits 24:19 is programmable.
Model Number. 6-bit model number of the device. The
programmable.
R
Revision Number.
number is programmable.
4.4.4 MR4 – Autonegotiation Advertisement Registers Bit Descriptions
FIELD TYPE DESCRIPTION
4.15 (NEXT_PAGE) R/W
4.14 (ACK) R/W
4.13 (REM_FAULT) R/W
4.12:10 (PAUSE) R/W
4.9 (100BASET4) R/W
4.8 (100BASET_FD) R/W
4.7 (100BASETX) R/W
4.6 (10BASET_FD) R/W
4.5 (10BASET) R/W
4.4:0 (SELECT) R/W
Next Page.
of information.
Acknowledge. This bit is the acknowledge bit from the link code word.
Remote Fault.
fault condition.
Pause.
control information with its link partner.
100Base-T4. This bit should always be set to 0.
100Base-TX Full Duplex.
that the PHY is capable of 100Base-TX full-duplex operation.
100Base-TX.
capable of 100Base-TX operation.
10Base-T Full Duplex.
the PHY is capable of 10Base-T full-duplex operation.
10Base-T.
capable of 10Base-T operation.
Selector Field. Reset with the value 00001 for IEEE 802.3.
4.4.5 MR5 – Autonegotiation Link Partner Ability (Base Page) Register Bit Descriptions
FIELD TYPE DESCRIPTION
5.15
(LP_NEXT_PAGE)
5.14 (LP_ACK) R
R
Link Partner Next Page.
partner wishes to engage in next page exchange.
Link Partner Acknowledge.
5.13
(LP_REM_FAULT)
5.12:5
(LP_TECH_ABILITY)
5.4:0 (LP_SELECT) R
consistent FLP bursts.
R
Remote Fault.
a fault.
R
Technology Ability Field.
(see Table 16).
Selector Field. This field contains th
00001.
30
ASIX ELECTRONICS CORPORATION
Page 31
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
. When this bit is set to logic 0, it indicates that this is the last
When this bit is set to a logic 1, it indicates that the link
This bit is used by the NEXT _PAGE function to
t is used by the NEXT_PAGE function to indicate
that a device has the ability to comply with the message (logic 1) or not
. This bit is used by the arbitration function to ensure
uring next page exchange. Logic 0
indicates that the previous value of the transmitted link code word was logic
1. Logic 1 indicates that the previous value of the transmitted link code word
these 11 bits, there are 2048
possible messages. Message code field definitions are described in annex
When this bit is set to 1, it indicates that a fault
has been detected in the parallel detection function. This fault is due to more
n only
When this bit is set to 1, it indicates that the
indicating that this device supports the
. When this bit is set to 1, it indicates that a NEXT_PAGE
o 1, it
4.4.6 MR5 –Autonegotiation Link Partner (LP) Ability Register (Next Page) Bit
Descriptions
FIELD TYPE DESCRIPTION
5.15
(LP_NEXT_PAGE)
5.14 (LP_ACK) R
5.13
(LP__MES_PAGE)
5.12 (LP_ACK2) R
5.11 (LP_TOGGLE) R
5.10:0 (MCF) R
R
Next Page
page to be transmitted. Logic 1 indicates that additional pages will follow.
Acknowledge.
partner has successfully received its partner’s link code word.
R
Message Page.
differentiate a message page (logic 1) from an unformatted page (logic 0).
Acknowledge 2. This bi
(logic 0).
Toggle
synchroniza-tion with the link partner d
was logic 0.
Message/Unformatted Code Field. With
28C of the IEEE 802.3u standard.
4.4.7 MR6 – Autonegotiation Expansion Register Bit Descriptions
FIELD TYPE DESCRIPTION
6.15:5 (RESERVED) R
6.4
(PAR_DET_FAULT)
6.3
(LP_NEXT_PAGE_AB
LE)
6.2
(NEXT_PAGE_ABLE)
6.1 (PAGE_REC) R/LH
6.0
(LP_NWAY_ABLE)
R/LH
Reserved.
Parallel Detection Fault.
than one technology detecting concurrent link conditions. This bit ca
be cleared by reading this register.
R
Link Partner Next Page Able.
link partner supports the next page function.
R
Next Page Able. This bit is set to 1,
NEXT_PAGE function.
Page Received
has been received.
R
Link Partner Autonegotiation Capable. When this bit is set t
indicates that the link partner is autonegotiation capable.
31
ASIX ELECTRONICS CORPORATION
Page 32
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
This bit indicates whether or not this is the last next page to be
nsmitted. When this bit is 0, it indicates that this is the last page. When
This bit is used to differentiate a message page from an
unformatted page. When this bit is 0, it indicates an unformatted page.
o indicate that a
When this bit is 0, it indicates the device cannot comply with the message.
This bit is used by the arbitration function to ensure
synchronization with the link partner during next page exchange. This bit
will always take the opposite value of the toggle bit in the previously
gic 0, the previous value of the
The initial value of the toggle bit in the first next page transmitted is the
f bit 11 in the base link code word, and may assume a
With these 11 bits, there are 2048
possible messages. Message code field definitions are described in annex
s have no effect on the PCS block. They are for
When this bit is high, the entire loopback is
ion pin is
16.1 (FORCE
Force a loopback without forcing idle on the transmit side
nk monitor counter to 10 us from 620 us.
4.4.8 MR7 –Next Page Transmit Register Bit Descriptions
FIELD TYPE DESCRIPTION
7.15 (NEXT_PAGE) R/W
7.14 (ACK) R
7.13 (MESSAGE) R/W
Next Page.
tra
this bit is 1, it indicates there is an additional next page.
Acknowledge. This bit is the acknowledge bit from the link code word.
Message Page.
7.12 (ACK2) R/W
7.11 (TOGGLE) R
7.10:0 (MCF) R/W
When this bit is 1, it indicates a formatted page.
Acknowledge 2. This bit is used by the next page function t
device has the ability to comply with the message. It is set as follows:
When this bit is 1, it indicates the device will comply with the message.
Toggle.
exchanged link code word: If the bit is a lo
transmitted link code word was a logic 1.
If the bit is a 1, the previous value of the transmitted link code word was a 0.
inverse of the value o
value of 1 or 0.
Message/Unformatted Code Field.
28C of the IEEE 802.3u standard.
4.4.9 MR16 – PCS Control Register Bit Descriptions
FIELD TYPE DESCRIPTION
16.15 (LOCKED) R
16.14-12 (UNUSED) R
16.11-4 (TESTBITS) R/W
16.3 (LOOPBACK) R/W
16.2 (SCAN) R/W
LOOPBACK)
16.0 (SPEEDUP
COUNTERS)
R/W
R/W
Locked. Locked pin from descrambler block.
Unused. Will always be read back as 0.
Generic Test Bits. These bit
external use only. A 0 should be written to these bits.
Loopback Configure.
performed in the PCS macro. When this bit is low, only the collis
disabled in loopback.
Scan Test Mode.
Force Loopback.
or disabling the collision pin.
Speedup Counters. Reduce li
(Same as FASTTEST = 1.)
32
ASIX ELECTRONICS CORPORATION
Page 33
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
a_0, or Data_1 (FLP
defined register appears on the
4.4.10 MR17 –Autonegotiation Register A Bit Descriptions
FIELD TYPE DESCRIPTION
17.15-13 R
17.12 R
17.11 R
17.10 R
17.9 R
17.8 R
17.7 R
17.6 R
17.5 R
17.4 R
17.3 R
17.2 R
17.1 R
17.0 R
Reserved. Always 0.
Next Page Wait.
Wait Link_Fail_Inhibit_Wait_Timer (Link Status Check).
Wait Autoneg_Wait_Timer (Link Status Check).
Wait Break_Link_Timer (Transmit Disable).
Parallel Detection Fault.
Autonegotiation Enable.
FLP Link Good Check.
Complete Acknowledge.
Acknowledge Detect.
FLP Link Good.
Link Status Check.
Ability Detect.
Transmit Disable.
4.4.11 MR18 –Autonegotiation Register B Bit Descriptions
FIELD TYPE DESCRIPTION
18.15 R
18.14 R
18.13 R
18.12 R
18.11 R
18.10 R
18.9 R
18.8 R
18.7 R
18.6 R
18.5 R
18.4 R
18.3 R
18.2 R
18.1 R
18.0 R
Receiving FLPs. Any of FLP Capture, Clock, Dat
Rcv).
FLP Pass (FLP Rcv).
Link Pulse Count (FLP Rcv).
Link Pulse Detect (FLP Rcv).
Test Pass (NLP Rcv).
Test Fail Count (NLP Rcv).
Test Fail Extend (NLP Rcv).
Wait Max Timer Ack (NLP Rcv).
Detect Freeze (NLP Rcv).
Test Fail (NLP Rcv).
Transmit Count Ack (FLP Xmit).
Transmit Data Bit (FLP Xmit).
Transmit Clock Bit (FLP Xmit).
Transmit ability (FLP Xmit).
Transmit Remaining Acknowledge (FLP Xmit).
Idle (FLP Xmit).
4.4.12 MR20 –User Defined Register Bit Descriptions
FIELD TYPE DESCRIPTION
20.[15:0] R/W The data written into this userREG20_OUT[15:0] bus.
33
ASIX ELECTRONICS CORPORATION
Page 34
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
bit counter mode. When 1, it puts
, these maintain a count of RXERs. It is reset
bit counter mode, these maintain a count of RXERs. It is reset on
bit mode, these contain a count of false carrier events (802.3
bit mode, these contain a count of disconnect events (Link
If this bit is a 1, it indicates a packet has been received without
ing high and will only clear after it has been read or the
When this bit is a 1, it indicates a Manchester code
violation has occurred. The error code will be output on the MRXD lines.
1 for a detailed description of the MRXD pin error codes.
This bit is latching high and will only clear after it has been read or the
3 is set and this bit is a 1, it
indicates the PHY has detected and corrected a polarity reversal on the
If the APF_EN bit (register 30, bit 3) is set, the reversal will be corrected
If this bit is a 1, it indicates a disconnect. This bit will latch
ch high
Indicates a false carrier. This bit will latch high until
atch high until read. This bit is only valid in
This bit, when set to a 1, indicates a 100Mbits/s transceiver is
ts/s transceiver is up
4.4.13 MR21 –RXER Counter Register Bit Descriptions
FIELD TYPE DESCRIPTION
21.0 W This bit, when 0 puts this register in 16-
21.15:0 R When in 16-bit counter mode
21.7:0 R When in 8-
21.11:8 R When in 8-
21.15:12 R When in 8-
this register in 8-bit counter mode. This bit is reset to a 0 and cannot be read.
on a read operation.
a read operation
section 27.3.1.5.1). It is reset on a read operaton.
Unstable 6, 802.3 section 27.3.1.5.1). It is reset on a read operation.
4.4.14 MR28 –Device-Specific Register 1 (Status Register) Bit Descriptions
FIELD TYPE DESCRIPTION
28.15:9 (UNUSED) R
28.8 (BAD_FRM) R/LH
28.7 (CODE) R/LH
Unused. Read as 0.
Bad Frame.
an SFD. This bit is only valid in 10Mbits/s mode.
This bit is latch
device has been reset.
Code Violation.
28.6 (APS) R
28.5 (DISCON) R/LH
28.4 (UNLOCKED) R/LH
28.3 (RXERR_ST) R/LH
28.2 (FRC_JAM) R/LH
28.1 (LNK100UP) R
28.0 (LNK10UP) R
Refer to Table
This bit is only valid in 10Mbits/s mode.
device has been reset.
Autopolarity Status. When register 30, bit
twisted pair.
inside the PHY. This bit is not valid in 100Mbits/s operation.
Disconnect.
high until read. This bit is only valid in 100Mbits/s mode.
Unlocked. Indicates that the TX scrambler lost lock. This bit will latuntil read. This bit is only valid in 100Mbits/s mode.
RX Error Status.
read. This bit is only valid in 100Mbits/s mode.
Force Jam. This bit will l
100Mbits/s mode.
Link Up 100.
up and operational.
Link Up 10. This bit, when set to a 1, indicates a 10Mbi
and operational.
34
ASIX ELECTRONICS CORPORATION
Page 35
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
This is the local management reset bit. Writing logic 1
l cause the lower 16 registers and registers 28 and 29 to be reset
When this bit is set to 0, it forces TPI low and
Red
MCRS will be asserted on receive only when this bit
is set to a 1. If this bit is set to logic 0, MCRS will by asserted on receive or
When this bit is a 1, a link error code will be
reported on MRXD[3:0] of the PHY when MRX_ER is asserted on the MII.
The specific error codes are listed in the MRXD pin description. If it is 0, it
When this bit is a 1, a packet error code,
which indicates that the scrambler is not locked, will be reported on
MRXD[3:0] of the PHY when MRX_ER is asserted on the MII. When this
When this bit is set to 1, the CS, XS, and RS output
84 ms. If this bit is
encoder and
decoder function will be disabled. This bit is ORed with the EDBT
will
When this bit is set to 1, the scrambling/
descrambling functions will be disabled. This bit is ORed with the SDBT
a 1, carrier integrity is
When this bit is a 1, it enables JAM associated with carrier
end fault detection
and transmission capability. This capability may only be used if
autonegotiation is disabled. This capability is to be used only with media,
end
optic mode.
4.4.15 MR29 –Device-Specific Register 2 (100Mbps Control) Bit Descriptions
FIELD TYPE DESCRIPTION
29.15 (LOCALRST) R/W
29.14 (RST1) R/W
29.13 (RST2) R/W
29.12 (100_OFF) R/W
29.11 (LED_BLINK) R/W
29.10 (CRS_SEL) R/W
Management Reset.
to this bit wil
to their default values. This bit is self-clearing.
Generic Reset 1. This register is used for manufacture test only.
Generic Reset 2. This register is used for manufacture test only.
100Mbits/s Transmitter Off.
TPIN- high. This bit defaults to 1.
LED Blinking. This register, when 1, enables LED blinking. This is O
with LED_BLINK_EN. Default is 0.
Carrier Sense Select.
29.9 (LINK_ERR) R/W
29.8 (PKT_ERR) R/W
29.7 (PULSE_STR) R/W
29.6 (EDB) R/W
29.5 (SAB) R/W
29.4 (SDB) R/W
29.3 (CARIN_EN) R/W
29.2 (JAM_COL) R/W
29.1 (FEF-EN) R/W
transmit. This bit is ORed with the CRS_SEL pin.
Link Error Indication.
will disable this function.
Packet Error Indication Enable.
bit is 0, it will disable this function.
Pulse Stretching.
signals will be stretched between approximately 42 ms0, it will disable this feature. Default state is 0.
Encoder/Decoder Bypass. When this bit is set to 1, the 4B/5B5B/4Bpin.
Symbol Aligner Bypass. When this bit is set to 1, the aligner function
be disabled.
Scrambler/Descrambler Bypass.
pin.
Carrier Integrity Enable. When this bit is set to enabled. This bit is ORed with the CARIN_EN pin.
Jam Enable.
integrity to be ORed with MCOLMCRS.
Far-End Fault Enable. This bit is used to enable the far-
29.0 (FX) R/W
which does not support autonegotiation. Setting this bit to 1 enables farfault detection and logic 0 will disable the function. Default state is 0.
Fiber-Optic Mode. When this bit is a 1, the PHY is in fiberThis bit is ORed with FX_MODE.
35
ASIX ELECTRONICS CORPORATION
Page 36
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
T is powered up, a continuous 10 MHz signal
will be powered up when the link is up.
Otherwise, portions of the logic will be powered down when no data is being
When this bit is 1, disables the jabber function of the
When high, function is enabled.
is bit is a 1, the heartbeat function will be
When this bit is a 1, the receive squelch
levels are reduced from a nominal 435 mV to 350 mV, allowing reception of
When this bit is a 0 and the PHY is in
10Mbits/s mode, the autopolarity function will determine if the TP link is
ere is a polarity reversal, the PHY will assert the APS bit (register 28, bit
6) and correct the polarity reversal. If this bit is a 1 and the device is in
Setting this bit to a 1 will allow 10Mbits/s operation
ink pulses disabled. If the PHY is configured for 100Mbits/s operation,
4.4.16 MR30 –Device-Specific Register 3 (10Mbps Control) Bit Descriptions
FIELD TYPE DESCRIPTION
30.15 (Test10TX) R/W When high and 10Base-
30.14 (RxPLLEn) R/W When high, all 10Base-T logic
(1111) will be transmitted. This is only meant for testing. Default 0.
30.13 (JAB_DIS) R/W
30.12:7 (UNUSED) R/W
30.6 (LITF_ENH) R/W
30.5 (HBT_EN) R/W
30.4 (ELL_EN) R/W
30.3 (APF_EN) R/W
30.2 (RESERVED) R/W
30.1 (SERIAL _SEL) R/W
30.0 (ENA_NO_LP) R/W
received to conserve power. Default is 0.
Jabber Disable.
10Base-T receive. Default is 0.
Unused. Read as 0.
Enhanced Link Integrity Test Function.
This is ORed with the LITF_ENH input. Default is 0.
Heartbeat Enable. When thenabled. Valid in 10Mbits/s mode only.
Extended Line Length Enable.
signals with a lower amplitude. Valid in 10Mbits/s mode only.
Autopolarity Function Disable.
wired with a polarity reversal.
If th
10Mbits/s mode, the reversal will not be corrected.
Reserved.
Serial Select. When this bit is set to a 1, 10Mbits/s serial mode will be
Selected. When the PHY is in 100Mbits/s mode, this bit will be ignored.
No Link Pulse Mode.
with l
setting this bit will not affect operation.
36
ASIX ELECTRONICS CORPORATION
Page 37
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
his bit is a 1, it indicates that a receive error has been
detected. This bit is valid in 100Mbits/s only. This bit will remain set until
is set to 0 and this bit is a 1, it indicates that the
carrier detect state machine has found a false carrier. This bit is valid in
100Mbits/s only. This bit will remain set until cleared by reading the register.
[31.7] is set to a 1, this bit is redefined to become
the LINK_STAT_CHANGE bit and goes high whenever there is a change in link
detected.
If this bit is set when operating in 100Mbits/s mode, it
set when operating
in 10Mbits/s mode, it indicates a jabber condition has been detected. This bit will
This bit has a latching low function: a link failure will cause the bit to clear and
When this bit is set to a 1, it indicates that the
When this bit is set to a 1, it indicates that the link has negotiated to
100Mbits/s. When this bit is a 0, it indicates that the link is operating at
When this bit is set to a 1, it indicates that the link has negotiated
duplex mode. When this bit is a 0, it indicates that the link has negotiated
0, it defines bit [31.14] to be
the RXERR_ST bit and the interrupt pin (MASK_STAT_INT) goes high
whenever any of bits [31.15:12] go high, or bit [31.11] goes low. When this bit is
set high, it redefines bit [31.14] to become the LINK_STAT_CHANGE bit, and
the interrupt pin (MASK_STAT_INT) goes high only when the link status
When set high, no interrupt is generated by this channel under
These 3 bits report the state of the lowest
autonegotiation state reached since the last register read, in the priority order
These 3 bits report the state of the highest
autonegotiation state reached since the last register read, as defined above for bit
4.4.17 MR31 –Device-Specific Register 4 (Quick Status) Bit Descriptions
FIELD TYPE DESCRIPTION
31.15 (ERROR)RReceiver Error. When t
31.14
(RXERR_ST)/(LINK_ST
AT_CHANGE)
31.13 (REM_FLT)RRemote Fault. When this bit is a 1, it indicates a remote fault has been
31.12
(UNLOCKED)/(JABBE
R)
31.11 (LSTAT_OK)RLink Status. When this bit is a 1, it indicates a valid link has been established.
31.10 (PAUSE)RLink Partner Pause.
31.9 (SPEED100)RLink Speed.
31.8 (FULL_DUP)RDuplex Mode.
31.7 (INT_CONF)R/WInterrupt Configuration. When this bit is set to a
cleared by reading the register. Default is a 0.
RFalse Carrier. When bit [31.7]
Default is 0.
Link Status Change. When bit
status (bit [31.11] changes state)
This bit will remain set until cleared by reading the register. Default is a 0.
RUnlocked/Jabber.
indicates that the TX descrambler has lost lock. If this bit is
remain set until cleared by reading the register.
stay cleared until it has been read via the management interface.
LU3X54FTL wishes to exchange flow control information.
10Mbits/s.
to fullto half-duplex mode.
31.6 (INT_MASK)R/WInterrupt Mask.
31.5:3
(LOW_AUTO__STATE)
31.2:0
(HI_AUTO_STATE)
changes (bit [31.14] goes high). This bit defaults to 0.
any condition. When set low, interrupts are generated according to bit [31.7].
RLowest Autonegotiation State.
defined below:
000: Autonegotiation enable.
001: Transmit disable or ability detect.
010: Link status check.
011: Acknowledge detect.
100: Complete acknowledge.
101: FLP link good check.
110: Next page wait.
111: FLP link good.
R Highest Autonegotiation State.
[31.5:3].
37
ASIX ELECTRONICS CORPORATION
Page 38
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
5.0 Device Access Functions
5.1 PCMCIA interface access functions.
5.1.1 Attribute Memory access function functions.
Attribute Memory Read function
Function Mode REG# CE2# CE1# SA0 OE# WE#
Standby Mode X H H X X X High-Z High-Z
Byte Access (8 bits) L
L
Word Access (16 bits)
Odd Byte Only Access
Attribute Memory Write function
Standby Mode X H H X X X X X
Byte Access (8 bits) L
Word Access (16 bits)
Odd Byte Only Access
Function Mode REG# CE2# CE1# SA0 OE# WE#
L L L X L H Not Valid Even-Byte
L L H X L H Not Valid High-Z
L
L L L X H L X Even-Byte
L L H X H L X X
H
H
H
H
L
L
L
L
L
H
L
H
L
L
H
H
H
H
L
L
5.1.1 I/O access function functions.
I/O Read function
Function Mode REG# CE2# CE1# SA0 OE# WE#
Standby Mode X H H X X X High-Z High-Z
Byte Access (8 bits) L
L
Word Access (16 bits)
I/O Inhibit H X X X L H High-Z High-Z
Odd Byte Only Access
I/O Write function
Standby Mode X H H X X X X X
Byte Access (8 bits) L
Word Access (16 bits)
I/O Inhibit H X X X H L X X
Odd Byte Only Access
Function Mode REG# CE2# CE1# SA0 IORD# IOWR#
L L L L L H Odd-Byte Even-Byte
L L H X L H Odd-Byte High-Z
L
L L L L H L Odd-Byte Even-Byte
L L H X H L Odd-Byte X
H
H
H
H
L
L
L
L
L
H
L
H
L
L
H
H
H
H
L
L
SD[15:8] SD[7:0]
High-Z
High-Z
SD[15:8] SD[7:0]
X
X
SD[15:8] SD[7:0]
High-Z
High-Z
SD[15:8] SD[7:0]
X
X
Even-Byte
Not Valid
Even-Byte
X
Even-Byte
Odd-Byte
Even-Byte
Odd-Byte
38
ASIX ELECTRONICS CORPORATION
Page 39
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
The register address is 5 bits, allowing for 32 unique registers within each PHY. The
ance state. All three state drivers will be
S
MDC MDIO-OUT MDIO-IN
MDC
MDIO
5.2 MII Station Management functions.
Basic Operation
The primary function of station management is to transfer control and status information about the PHY to a
management entity. This function is accomplished by the MDC clock input from MAC entity, which has a
maximum frequency of 12.5 MHz (for internal PHY only, as to external PHY please refer to the relevant
specification), along with the MDIO signal.
The Internal PHY address is fixed to 10h and the equivalent circuit is shown as below:
From Register
Offset 14h
A specific set of registers and their contents (described in Tab-19) defines the nature of the information
transferred across the MDIO interface. Frames transmitted on the MII management interface will have the
frame structure shown in Tab-18. The order of bit transmission is from left to right. Note that reading and
writing the management register must be completed without interruption.
Read/Write
(R/W)
R 1. . .1 01 10 AAAAA RRRRR Z0 DDDDDDDDDDDDDDDD Z
W 1. . .1 01 01 AAAAA RRRRR 10 DDDDDDDDDDDDDDDD Z
MDC
MDO
MDI
MDIR
PreSTOPPHYADREGADTADATAIDLE
Y (MUX)
0
1
(Internal PHY)
Pin67
Pin66
If (PHY_ID==10h) then S=1 else S=0
Tab - 19 MII Management Frame Format
FieldDescriptions
Pre
ST
OP
PHYADD
REGAD
TA
DATA
IDLE
Tab - 20 MII Management Frames- field Description
Preamble. The PHY will accept frames with no preamble. This is indicated by a 1 in register 1, bit 6.
Start of Frame. The start of frame is indicated by a 01 pattern.
Operation Code. The operation code for a read transaction is 10. The operation code for a write
transaction is a 01.
PHY Address. The PHY address is 5 bits, allowing for 32 unique addresses. The first PHY address
bit transmitted and received is the MSB of the address. A station management entity that is
attached to multiple PHY entities must have prior knowledge of the appropriate PHY address for
each entity.
Register Address.
first register address bit transmitted and received is the MSB of the address.
Turnaround. The turnaround time is a 2-bit time spacing between the register address field, and
the data field of a frame, to avoid drive contention on MDIO during a read transaction. During a
write to the PHY, these bits are driven to 10 by the station. During a read, the MDIO is not
driven during the first bit time and is driven to a 0 by the PHY during the second bit time.
Data. The data field is 16 bits. The first bit transmitted and received will be bit 15 of the register
being addressed.
Idle Condition. The IDLE condition on MDIO is a high-imped
disabled and the PHY’s pull-up resistor will pull the MDIO line to logic 1.
39
ASIX ELECTRONICS CORPORATION
Page 40
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
6.0 Electrical Specification and Timings
6.1 Absolute Maximum Ratings
Description SYM Min Max Units
Operating Temperature Ta 0 +85
Storage Temperature Ts -55 +150
Supply Voltage Vdd -0.3 +4.6 V
Input Voltage Vin -0.3 5.5* V
Output Voltage Vout -0.3 Vdd+0.5 V
Lead Temperature (soldering 10 seconds maximum) Tl -55 +220
Note: Stress above those listed under Absolute Maximum Ratings may cause permanent damage to the device. Exposure
to Absolute Maximum Ratings conditions for extended period, adversely affect device life and reliability.
Note: * All digital input signals can sustain 5 Volts input voltage except pin-79 LCLK/XTALIN
6.2 General Operation Conditions
Description SYM
Operating Temperature Ta 0 25 +75
Supply Voltage Vdd +3.14 +3.30 +3.46 V
Min Tpy Max Units
°C
°C
°C
°C
6.3 DC Characteristics
(Vdd=3.3V, Vss=0V, Ta=0°C to 75°C)
Description SYM
Low Input Voltage Vil - 0.8 V
High Input Voltage Vih 1.9 - V
Low Output Voltage Vol - 0.4 V
High Output Voltage Voh Vdd-0.4 - V
Input Leakage Current Iil -1 +1 uA
Output Leakage Current Iol -1 +1 uA
Description SYM
Power Consumption (3.3V) SPt3v 87 120 mA
Note: Please reference “Appendix B: Power Consumption Reference Data”
Min Tpy Max Units
Min Tpy Max Units
40
ASIX ELECTRONICS CORPORATION
Page 41
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
6.4 A.C. Timing Characteristics
6.4.1 XTAL / CLOCK
LCLK/XTALIN
Tr Tf Tlow
CLKO Tod
Symbol
TcycCYCLE TIME
ThighCLK HIGH TIME
TlowCLK LOW TIME
Tr/TfCLK SLEW RATE
Tod LCLK/XTALIN TO CLKO OUT DELAY
6.4.2 Reset Timing
LCLK
RESET
Symbol
TrstReset pulse width
Note: Some chips may need long power down for successful PHY auto negotiation
Root of cause:
The PHY inside of AX88790 has a special request due to the semiconductor’s process. Namely,
it needs a very long power down for successful Auto Negotiation for some chips. We made a test
in lab and found it would be no problem if the PHY's initial time kept for 2 sec for all chips.If the
power down is less then this number, some of the PHY's Auto Negotiation will not be complete
and there will be potential to cause the link fail. If the auto negotiation time is not long enough,
uncertain numbers of chip may not work properly.
Countermeasure:
Following actions on chip initialization will fix the problem of long auto negotiation.
1. Set the PHY register MR0 with 0x800h (1000,0000,0000) -- bit 11 of MR0 to '1'
(Power down Mode).
2. Wait for 2.5 sec
Thigh
Tcyc
Description Min Typ. Max Units
40 ns
16 20 24 ns
16 20 24 ns
1 - 4 ns
10
Description Min Typ. Max Units
100 - - LClk
41
ASIX ELECTRONICS CORPORATION
Page 42
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
3. Set the PHY register MR0 with 0x1200h(0001,0010,0000,0000) -- bit 12,9 of MR0 to
'1' (auto negotiation enable and restart auto negotiation)
42
ASIX ELECTRONICS CORPORATION
Page 43
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
6.4.3 Attribute Memory Read Timing
TcR
Ta(A) Th(A)
A[9:0], REG#
Ta(CE) Tv(A)
Tsu(CE)
CE#
Tsu(A) Ta(OE) Th(CE)
OE#
Tv(WT-OE) Tw(WT) Tdis(CE)
WAIT#
Ten(OE) Tv(WT) Tdis(OE)
D[15:0] DATA Valid
Symbol
TcRREAD CYCLE TIME
Ta(A)ADDRESS ACCESS TIME
Ta(CE)CARD ENABLE ACCESS TIME
Ta(OE)OUTPUT ENABLE ACCESS TIME
Tdis(OE) OUTPUT DISABLE TIME FROM OE#
Ten(OE) OUTPUT ENABLE TIME FROM OE#
Tv(A)DATA VALID FROM ADDRESS CHANGE
Tsu(A)ADDRESS SETUP TIME
Th(A)ADDRESS HOLD TIME
Tsu(CE)CARD ENABLE SETUP TIME
Th(CE)CARD ENABLE HOLD TIME
Tv(WT-OE) WAIT# VALID FROM OE#
Tw(WT)WAIT# PULSE WIDTH
Tv(WT)DATA SETUP FOR WAIT# RELEASED
Description Min Typ. Max Units
300 - - ns
- - 120 ns
- - 100 ns
- - 100 ns
0.5 - - ns
- - 100 ns
0 - - ns
30 - - ns
20 - - ns
0 - - ns
20 - - ns
- - 10 ns
- - 200 ns
100 - - ns
43
ASIX ELECTRONICS CORPORATION
Page 44
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
6.4.4 Attribute Memory Write Timing
TcW
A[9:0], REG#
Tsu(CE-WEH)
CE# Tsu(CE)
Tsu(A-WEH) Th(CE)
OE#
Tsu(A) Tw(WE) Trec(WE)
WE#
Tv(WT-WE) Tv(WT)
Tw(WT) Th(OE-WE)
WAIT#
Tsu(OE-WE) Tsu(D-WEH) Th(D)
D[15:0](Din) DATA Input Establish
Tdis(WE) Ten(OE)
Tdis(OE) Ten(WE)
D[15:0](Dout)
Symbol Description Min Typ. Max Units
TcWWRITE CYCLE TIME
Tw(WE)WRITE PULSE WIDTH
Tsu(A)ADDRESS SETUP TIME
Tsu(A-WEH) ADDRESS SETUP TIME FOR WE#
Tsu(CE-WEH) CARD ENABLE SETUP TIME FOR WE#
Tsu(D-WEH) DATA SETUP TIME FOR WE#
Th(D)DATA HOLD TIME
Trec(WE)WRITE RECOVER TIME
Tdis(WE) OUTPUT DISABLE TIME FROM WE#
Tdis(OE) OUTPUT DISABLE TIME FROM OE#
Ten(WE) OUTPUT ENABLE TIME FROM WE#
Ten(OE) OUTPUT ENABLE TIME FROM OE#
Tsu(OE-WE) OUTPUT ENABLE SETUP TIME FROM OE#
Th(OE-WE) OUTPUT ENABLE HOLD TIME FROM OE#
Tsu(CE)CARD ENABLE SETUP TIME
Th(CE)CARD ENABLE HOLD TIME
Tv(WT-WE)WAIT# VALID FROM WE#
Tw(WT)WAIT# PULSE WIDTH
Tv(WT)WE# HIGH FROM WAIT# RELEASED
250 - - ns
150 - - ns
30 - - ns
180 - - ns
180 - - ns
80 - - ns
30 - - ns
30 - - ns
- - 5 ns
- - 5 ns
5 - - ns
5 - - ns
10 - - ns
10 - - ns
0 - - ns
20 - - ns
- - 15 ns
- - 200 ns
0 - - ns
44
ASIX ELECTRONICS CORPORATION
Page 45
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
6.4.5 I/O Read Timing
A[9:0]
ThA
TsuREG ThREG
REG#
TsuCE ThCE
CE#
Tw
IORD#
TsuA TdrINPACK
INPACK#
TdfINPACK TdrIOIS16
IOIS16#
TdfIOIS16 Td
Tdr(WT)
WAIT#
TdfWT Tw(WT) Th
D[15:0] DATA Valid
Symbol Description Min Typ. Max Units
TdDATA DELAY AFTER IORD#
ThDATA HOLD FOLLOWING IORD#
TwIORD# WIDTH TIME
TsuAADDRESS SETUP BEFORE IORD#
ThA ADDRESS HOLD BEFORE IORD#
TsuCECE# SETUP BEFORE IORD#
ThCE CE# HOLD BEFORE IORD#
TsuREGREG# SETUP BEFORE IORD#
ThREG REG# HOLD BEFORE IORD#
TdfINPACK INPACK# DELAY FALLING FROM IORD#
TdrINPACK INPACK# DELAY RISING FROM IORD#
TdfIOIS16IOIS16# DELAY FALLING FROM ADDRESS*
TdrIOIS16IOIS16# DELAY RISING FROM ADDRESS*
TdfWTWAIT# DELAY FALLING FROM IORD#
Tdr(WT)DATA DELAY FROM WAIT# RISING
Tw(WT)WAIT# WIDTH TIME
* Note : The address includes REG# and CE1# signal
- - 50 ns
0.5 - - ns
165 - - ns
70 - - ns
20 - - ns
5 - - ns
20 - - ns
5 - - ns
0 - - ns
0 - 10 ns
- - 10 ns
- - 10 ns
- - 0 ns
- - 5 ns
- - 0 us
- - 100 ns
45
ASIX ELECTRONICS CORPORATION
Page 46
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
6.4.6 I/O Write Timing
A[9:0]
ThA
TsuREG ThREG
REG#
TsuCE ThCE
CE#
Tw
IOWR#
TsuA TdrIOIS16
IOIS16#
TdfIOIS16
TdrIOWR
WAIT#
TdfWT Tw(WT) Th
Tsu
D[15:0] DATA
Symbol Description Min Typ. Max Units
TsuDATA SETUP BEFORE IOWR#
ThDATA HOLD FOLLOWING IOWR#
TwIOWR# WIDTH TIME
TsuAADDRESS SETUP BEFORE IOWR#
ThA ADDRESS HOLD BEFORE IOWR#
TsuCECE# SETUP BEFORE IOWR#
ThCE CE# HOLD BEFORE IOWR#
TsuREGREG# SETUP BEFORE IOWR#
ThREG REG# HOLD BEFORE IOWR#
TdfIOIS16IOIS16# DELAY FALLING FROM ADDRESS*
TdrIOIS16IOIS16# DELAY RISING FROM ADDRESS*
TdfWTWAIT# DELAY FALLING FROM IOWR#
Tw(WT)WAIT# WIDTH TIME
TdrIOWRIOWR# HIGH FROM WAIT# HIGH
60 - - ns
30 - - ns
165 - - ns
70 - - ns
20 - - ns
5 - - ns
20 - - ns
5 - - ns
0 - - ns
- - 10 ns
- - 0 ns
- - ** ns
- - ** ns
0 - - us
*Note : The address includes REG# and CE1# signal
** Note : There is no wait state while I/O Write operation
TthData output hold time
Trclk Cycle time(100Mbps)
Trclk Cycle time(10Mbps)
Trch high time(100Mbps)
Trch high time(10Mbps)
Trcl low time(100Mbps)
Trcl low time(10Mbps)
Trs data setup time
Trh data hold time
Trs1 RXER data setup time
Description Min Typ. Max Units
- 40 - ns
- 400 - ns
14 - 26 ns
140 - 260 ns
14 - 26 ns
140 - 260 ns
- - 20 ns
5 - - ns
- 40 - ns
- 400 - ns
14 - 26 ns
140 - 260 ns
14 - 26 ns
140 - 260 ns
6 - - ns
10 - - ns
10 - - ns
47
ASIX ELECTRONICS CORPORATION
Page 48
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
7.0 Package Information
Hd
He
E
D
pin 1
b
e
A
A2 A1
L1
L
θ
MILIMETER SYMBOL
MIN. NOM MAX
A1 0.05 0.1 0.15
A2 1.35 1.40 1.45
A 1.6
b 0.17 0.22 0.27
D 13.90 14.00 14.10
E 19.90 20.00 20.10
e 0.5
Hd 15.60 16.00 16.40
He 21.00 22.00 23.00
L 0.45 0.60 0.75
L1 1.00
θ
0° 7°
48
ASIX ELECTRONICS CORPORATION
Page 49
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
Appendix A: Application Note 1
A.1 Using Crystal 25MHz
AX88790
CLKO25M 25MHz
XTALIN XTALOUT
25MHz
Crystal
33pf 33pf
Note: The capacitors (33pf) may be various depend on the specification of crystal. While designing,
please refer to the suggest circuit provided by crystal supplier.
A.2 Using Oscillator 25MHz
AX88790
CLKO25M 25MHz
XTALIN XTALOUT
NC
3.3V Power OSC 25MHz
49
ASIX ELECTRONICS CORPORATION
Page 50
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
Appendix B: Power Consumption Reference Data
The following reference data of power consumption are measured base on prime application, that is AX88790 +
EEPROM + 74LV04, at 3.3V/25 °C room temperature.
Note: 74LV04 is used for LEDs buffer or driver. Designer may omit the part and drive LED directly by AX88790.
Item
1 Power save mode ( Power Down register bit set to “1” asserted) 3 mA
2 Idel without Link 16 mA
3 Idel with 10M Link 22 mA
4 Idel with 100M Link 80 mA
5 Full traffic with 10Mbps at half-duplex mode 37 – 69 mA
6 Full traffic with 10Mbps at full-duplex mode 31 – 57 mA
7 Full traffic with 100Mbps at half-duplex mode 83 mA
8 Full traffic with 100Mbps at full-duplex mode 87 mA
9 Power save mode ( Power Down register bit set to “1” asserted) no LED drive 0 mA
10 Idel without Link, no LED drive 12 mA
11 Idel with 10M Link, no LED drive 15 mA
12 Idel with 100M Link, no LED drive 74 mA
13 Full traffic with 10Mbps at half-duplex mode, no LED drive 40 – 68 mA
14 Full traffic with 10Mbps at full-duplex mode, no LED drive 35 – 60 mA
15 Full traffic with 100Mbps at half-duplex mode, no LED drive 76 mA
16 Full traffic with 100Mbps at full-duplex mode, no LED drive 76 mA
Test ConditionsTypical Value Units
50
ASIX ELECTRONICS CORPORATION
Page 51
AX88790 L 3-in-1 PCMCIA Fast Ethernet Controller
Errata of AX88790
1. MII Station Management functions have some differences from previous target
specification.
Description: The target specification is using station management can access both
internal PHY registers and external PHY registers when the PHY address is matched
as describe in section 5.2. Anyway, this version can only access the current selected
PHY’s registers. How do you know which is the selected media or PHY? Please refer
to section 4.3.16 GPO and Control (GPOC) register.
Solution: The defect will not affect single media application that is using embedded
PHY. When using MII interface connects to external media (for example HomePNA)
to come out with combo solution. Care must be taken, be sure which media is the
current selected when you access PHY registers.