ASIX ELECTRONICS CORPORATION First Released Date : Oct/02/1998
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
AX88195P
10/100BASE Fast Ethernet MAC Controller
10/100BASE Local CPU Bus Fast Ethernet MAC Controller
Document No.: AX195-17 / V1.7 / May. 12 00
Features
IEEE 802.3u 100BASE-T, TX, and T4 Compatible
Single chip local CPU bus 10/100Mbps Fast
Ethernet MAC Controller
NE2000 register level compatible instruction
Support both 8 bit and 16 bit local CPU interfaces
include MCS-51 series, 80186 series and MC68K
series CPU
Support both 10Mbps and 100Mbps data rate
Support both full-duplex or half-duplex operation
Provides a MII port for both 10/100Mbps operation
Support EEPROM interface to store MAC address
External and internal loop-back capability
Two external 32K*8 Asynchronous SRAMs
required for packet buffer
128-pin LQFP low profile package
25MHz Operation, Dual 5V and 3.3V CMOS
process with 5V I/O tolerance. Or pure 3.3V
operation
*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.
Product description
The AX88195 Fast Ethernet Controller is a high performance and highly integrated local CPU bus Ethernet Controller.
The AX88195 supports both 8 bit and 16 bit local CPU interfaces include MCS-51 series, 80x86 series, MC68K series
CPU and ISA bus. The AX88195 implements both 10Mbps and 100Mbps Ethernet function based on IEEE802.3 /
IEEE802.3u LAN standard and supports both 10Mbps/100Mbps media-independent interface (MII) to simplify the
design. Two low cost 32k*8 SRAM is required for packet buffer.
System Block Diagram
Always contact ASIX for possible updates before starting a design.
This data sheet contains new products information. ASIX ELECTRONICS reserves the rights to modify product specification without notice. No liability
is assumed as a result of the use of this product. No rights under any patent accompany the sale of the product.
CPU
LATCH
AX88195
AD BUS
Addr L
Addr H
Ctl BUS
BUFFER
SRAM
PHY/TxRx RJ45
ASIX ELECTRONICS CORPORATION
2
AX88195 Local CPU Bus Fast Ethernet MAC Controller
CONTENTS
1.0 INTRODUCTION .............................................................................................................................................. 4
1.1 GENERAL DESCRIPTION:..................................................................................................................................... 4
1.2 AX88195 BLOCK DIAGRAM:.............................................................................................................................. 4
1.3 AX88195 PIN CONNECTION DIAGRAM ............................................................................................................... 5
1.3.1 AX88195 Pin Connection Diagram for ISA Bus Mode................................................................................ 6
1.3.2 AX88195 Pin Connection Diagram for 80x86 Mode................................................................................... 7
1.3.3 AX88195 Pin Connection Diagram for MC68K Mode................................................................................ 8
1.3.4 AX88195 Pin Connection Diagram for MCS-51 Mode ............................................................................... 9
2.0 SIGNAL DESCRIPTION................................................................................................................................. 10
2.1 LOCAL CPU BUS INTERFACE SIGNALS GROUP................................................................................................... 10
2.2 MII INTERFACE SIGNALS GROUP........................................................................................................................ 11
2.3 EEPROM SIGNALS GROUP .............................................................................................................................. 12
2.4 SRAM INTERFACE PINS GROUP......................................................................................................................... 12
2.5 MISCELLANEOUS PINS GROUP............................................................................................................................ 12
2.6 POWER ON CONFIGURATION SETUP SIGNALS CROSS REFERENCE TABLE ................................................................ 13
3.0 MEMORY AND I/O MAPPING...................................................................................................................... 14
3.1 EEPROM MEMORY MAPPING.......................................................................................................................... 14
3.2 I/O MAPPING................................................................................................................................................... 14
3.3 SRAM MEMORY MAPPING .............................................................................................................................. 14
4.0 REGISTERS OPERATION............................................................................................................................. 15
4.1 COMMAND REGISTER (CR) OFFSET 00H (READ/WRITE)................................................................................... 17
4.2 INTERRUPT STATUS REGISTER (ISR) OFFSET 07H (READ/WRITE)..................................................................... 17
4.3 INTERRUPT MASK REGISTER (IMR) OFFSET 0FH (WRITE)................................................................................. 18
4.4 DATA CONFIGURATION REGISTER (DCR) OFFSET 0EH (WRITE)....................................................................... 18
4.5 TRANSMIT CONFIGURATION REGISTER (TCR) OFFSET 0DH (WRITE)................................................................ 18
4.6 TRANSMIT STATUS REGISTER (TSR) OFFSET 04H (READ)................................................................................ 19
4.7 RECEIVE CONFIGURATION (RCR) OFFSET 0CH (WRITE).................................................................................. 19
4.8 RECEIVE STATUS REGISTER (RSR) OFFSET 0CH (READ).................................................................................. 19
4.9 INTER-FRAME GAP (IFG) OFFSET 16H (READ/WRITE)...................................................................................... 20
4.10 INTER-FRAME GAP SEGMENT 1(IFGS1) OFFSET 12H (READ/WRITE)............................................................... 20
4.11 INTER-FRAME GAP SEGMENT 2(IFGS2) OFFSET 13H (READ/WRITE)............................................................... 20
4.12 MII/EEPROM MANAGEMENT REGISTER (MEMR) OFFSET 14H (READ/WRITE).............................................. 20
4.13 TEST REGISTER (TR) OFFSET 15H (WRITE)................................................................................................... 20
5.0 CPU I/O READ AND WRITE FUNCTIONS.................................................................................................. 21
5.1 ISA BUS TYPE ACCESS FUNCTIONS. ................................................................................................................... 21
5.2 80186 CPU BUS TYPE ACCESS FUNCTIONS......................................................................................................... 21
5.3 MC68K CPU BUS TYPE ACCESS FUNCTIONS...................................................................................................... 22
5.3 MCS-51 CPU BUS TYPE ACCESS FUNCTIONS..................................................................................................... 22
6.0 ELECTRICAL SPECIFICATION AND TIMINGS........................................................................................ 23
6.1 ABSOLUTE MAXIMUM RATINGS........................................................................................................................ 23
6.2 GENERAL OPERATION CONDITIONS................................................................................................................... 23
6.3 DC CHARACTERISTICS..................................................................................................................................... 23
6.4 A.C. TIMING CHARACTERISTICS....................................................................................................................... 24
6.4.1 XTAL / CLOCK........................................................................................................................................ 24
6.4.2 Reset Timing............................................................................................................................................ 24
6.4.3 ISA Bus Access Timing............................................................................................................................. 25
6.4.4 80186 Type I/O Access Timing................................................................................................................. 26
ASIX ELECTRONICS CORPORATION
3
AX88195 Local CPU Bus Fast Ethernet MAC Controller
6.4.5 68K Type I/O Access Timing.................................................................................................................... 27
6.4.6 8051 Bus Access Timing........................................................................................................................... 28
6.4.7 MII Timing............................................................................................................................................... 29
6.4.8 Asynchronous Memory I/F Access Timing................................................................................................ 30
7.0 PACKAGE INFORMATION........................................................................................................................... 31
APPENDIX A: APPLICATION NOTE 1............................................................................................................. 32
A.1 USING CRYSTAL.............................................................................................................................................. 32
A.2 USING OSCILLATOR......................................................................................................................................... 32
A.3 DUAL POWER (5V AND 3.3V/3.0V) APPLICATION ............................................................................................. 33
A.4 SINGLE POWER (3.3V/3.0V) APPLICATION........................................................................................................ 33
A.5 DUAL POWER (5V AND 3.3V) APPLICATION WITH 3.3V PHY............................................................................. 34
APPENDIX B: APPLICATION NOTE 2............................................................................................................. 35
B.1 ADVANCE APPLICATION FOR USING CRYSTAL................................................................................................... 35
APPENDIX C: APPLICATION NOTE FOR RDY IS NOT APPLICABLE ...................................................... 36
ERRATA OF AX88195 V1..................................................................................................................................... 37
FIGURES
FIG - 1 AX88195 BLOCK DIAGRAM ............................................................................................................................. 4
FIG - 2 AX88195 PIN CONNECTION DIAGRAM.............................................................................................................. 5
FIG - 3 AX88195 PIN CONNECTION DIAGRAM FOR ISA BUS MODE............................................................................... 6
FIG - 4 AX88195 PIN CONNECTION DIAGRAM FOR 80X86 MODE .................................................................................. 7
FIG - 5 AX88195 PIN CONNECTION DIAGRAM FOR MC68K MODE................................................................................ 8
FIG - 6 AX88195 PIN CONNECTION DIAGRAM FOR MCS-51 MODE............................................................................... 9
TABLES
TAB - 1 LOCAL CPU BUS INTERFACE SIGNALS GROUP.................................................................................................. 11
TAB - 2 MII INTERFACE SIGNALS GROUP..................................................................................................................... 11
TAB - 3 EEPROM BUS INTERFACE SIGNALS GROUP..................................................................................................... 12
TAB - 4 SRAM INTERFACE PINS GROUP...................................................................................................................... 12
TAB - 5 MISCELLANEOUS PINS GROUP......................................................................................................................... 13
TAB - 6 POWER ON CONFIGURATION SETUP TABLE ..................................................................................................... 13
TAB - 7 I/O ADDRESS MAPPING ................................................................................................................................. 14
TAB - 8 LOCAL MEMORY MAPPING ............................................................................................................................ 14
TAB - 9 PAGE 0 OF MAC CORE REGISTERS MAPPING.................................................................................................. 15
TAB - 10 PAGE 1 OF MAC CORE REGISTERS MAPPING................................................................................................ 16
ASIX ELECTRONICS CORPORATION
4
AX88195 Local CPU Bus Fast Ethernet MAC Controller
1.0 Introduction
1.1 General Description:
The AX88195 provides industrial standard NE2000 registers level compatable instruction set. Various drivers
are easy acquired, maintenance and usage. No much additional effort to be paid. Software is easily port to
various embedded system with no pain and tears
The AX88195 Fast Ethernet Controller is a high performance local CPU bus Ethernet Controller. The AX88195
supports both 8 bit and 16 bit local CPU interfaces include MCS-51 series, 80x86 series, MC68K series CPU
and ISA bus. The AX88196 implements both 10Mbps and 100Mbps Ethernet function based on IEEE802.3 /
IEEE802.3u LAN standard and supports both 10Mbps/100Mbps media-independent interface (MII) to simplify
the design.
AX88195 use 128-pin LQFP low profile package, 25MHz operation, dual 5V and 3.3V CMOS process with 5V
I/O tolerance or pure 3.3V operation.
1.2 AX88195 Block Diagram:
Fig - 1 AX88195 Block Diagram
MAC
Core
SRAM
Arbiter
Remote
DMA
FIFOs
NE2000
Registers
Host Interface
STA
SEEPROM
I/F
SD[15:0]
SA[9:0]
Ctl BUS
MII I/F
MEMD[15:0]
MEMA[15:1]
EECS
EECK
EEDI
ASIX ELECTRONICS CORPORATION
5
AX88195 Local CPU Bus Fast Ethernet MAC Controller
1.3 AX88195 Pin Connection Diagram
The AX88195 is housed in the 128-pin plastic light quad flat pack. Fig - 2 shows the AX88195 pin
connection diagram.
Fig - 2 AX88195 Pin Connection Diagram
123
118
122
78
70
54
41
32
24
12
8
MEMD[0]
LVDD
117
75
57
42
26
31
21
SA[1]
VSS
107
105
66
65
63
60
25
16
13
3
7
VSS
LCLK/XTALIN
HVDD
128
115
112
61
33
111
43
19
15
4
109
106
77
62
11
6
71
49
17
LVDD
68
58
56
55
45
23
VSS
53
116
113
59
36
34
1
VSS
124
108
HVDD
28
22
9
HVDD
NC
126
119
110
121
79
74
80
72
46
29
52
10
67
44
39
27
51
5
127
125
120
114
73
69
38
48
76
47
35
30
20
2
VSS
VSS
40
37
50
18
14
AX88195
LOCAL CPU BUS
10/100BASE MAC
CONTROLLER
103
104
82
91
81
86
93
94
84
87
95
96
90
88
92
85
89
83
98
97
99
100
102
101
TX_EN
TX_CLK
VSS
MDC
MDIO
RXD[3]
RXD[2]
RXD[1]
RXD[0]
LVDD
RX_CLK
CRS
COL
RX_DV
MEMD[1]
MEMD[2]
MEMD[3]
MEMD[4]
MEMD[5]
MEMD[6]
MEMD[7]
MEMD[8]
MEMD[9]
MEMD[10]
MEMD[11]
MEMD[12]
MEMD[13]
MEMD[14]
MEMD[15]
MEMA[1]
RX_ER
MEMA[2]
MEMA[3]
MEMA[4]
MEMA[5]
MEMA[6]
MEMA[7]
MEMA[8]
MEMA[9]
MEMA[10]
MEMA[11]
MEMA[12]
MEMA[13]
MEMA[14]
MEMA[15]
/MEMRD
/MEMWR
SD[0]
SD[1]
SD[2]
SD[3]
SA[0]
SA[3]
SA[2]
SA[5]
SA[4]
SA[6]
SA[7]
SA[9]
SA[8]
/IOWR
SD[15]
SD[14]
SD[13]
SD[12]
SD[11]
SD[10]
SD[9]
SD[8]
SD[6]
SD[4]
SD[5]
SD[7]
RESET
/BHE
TXD[0]
TXD[1]
TXD[2]
TXD[3]
XTALOUT
EEDI
EEDO
EECK
EECS
LVDD
LVDD
VSS
VSS
VSS
VSS
HVDD
VSS
/RESET
RDY/DTACK
IRQ
/CS
SAL[0]
SAL[1]
SAL[2]
SAH[1]
SAH[2]
/IOCS16
AEN/PSEN
/IORD
R/W
/LDS
SAX[0]
SAX[1]
SAX[3]
SAX[2]
/UDS
64
CLKO25M
SAH[0]
NC
NC
NC
/IRQ
ASIX ELECTRONICS CORPORATION
6
AX88195 Local CPU Bus Fast Ethernet MAC Controller
1.3.1 AX88195 Pin Connection Diagram for ISA Bus Mode
Fig - 3 AX88195 Pin Connection Diagram for ISA Bus Mode
123
118
122
78
70
54
41
32
24
12
8
MEMD[0]
LVDD
117
75
57
42
26
31
21
SA[1]
VSS
107
105
66
65
63
60
25
16
13
3
7
VSS
LCLK/XTALIN
HVDD
128
115
112
61
33
111
43
19
15
4
109
106
77
62
11
6
71
49
17
LVDD
68
58
56
55
45
23
VSS
53
116
113
59
36
34
1
VSS
124
108
HVDD
28
22
9
HVDD
NC
126
119
110
121
79
74
80
72
46
29
52
10
67
44
39
27
51
5
127
125
120
114
73
69
38
48
76
47
35
30
20
2
VSS
VSS
40
37
50
18
14
AX88195
LOCAL CPU BUS
10/100BASE MAC
CONTROLLER
( for ISA Bus I/F )
103
104
82
91
81
86
93
94
84
87
95
96
90
88
92
85
89
83
98
97
99
100
102
101
TX_EN
TX_CLK
VSS
MDC
MDIO
RXD[3]
RXD[2]
RXD[1]
RXD[0]
LVDD
RX_CLK
CRS
COL
RX_DV
MEMD[1]
MEMD[2]
MEMD[3]
MEMD[4]
MEMD[5]
MEMD[6]
MEMD[7]
MEMD[8]
MEMD[9]
MEMD[10]
MEMD[11]
MEMD[12]
MEMD[13]
MEMD[14]
MEMD[15]
MEMA[1]
RX_ER
MEMA[2]
MEMA[3]
MEMA[4]
MEMA[5]
MEMA[6]
MEMA[7]
MEMA[8]
MEMA[9]
MEMA[10]
MEMA[11]
MEMA[12]
MEMA[13]
MEMA[14]
MEMA[15]
/MEMRD
/MEMWR
SD[0]
SD[1]
SD[2]
SD[3]
SA[0]
SA[3]
SA[2]
SA[5]
SA[4]
SA[6]
SA[7]
SA[9]
SA[8]
/IOWR
SD[15]
SD[14]
SD[13]
SD[12]
SD[11]
SD[10]
SD[9]
SD[8]
SD[6]
SD[4]
SD[5]
SD[7]
RESET
/BHE
TXD[0]
TXD[1]
TXD[2]
TXD[3]
XTALOUT
EEDI
EEDO
EECK
EECS
LVDD
LVDD
VSS
VSS
VSS
VSS
HVDD
VSS
/RESET
RDY
IRQ
/CS
SAL[0]
SAL[1]
SAL[2]
SAH[1]
SAH[2]
/IOCS16
AEN
/IORD
SAX[0]
SAX[1]
SAX[3]
SAX[2]
64
CLKO25M
SAH[0]
NC
NC
NC
ASIX ELECTRONICS CORPORATION
7
AX88195 Local CPU Bus Fast Ethernet MAC Controller
1.3.2 AX88195 Pin Connection Diagram for 80x86 Mode
Fig - 4 AX88195 Pin Connection Diagram for 80x86 Mode
123
118
122
78
70
54
41
32
24
12
8
MEMD[0]
LVDD
117
75
57
42
26
31
21
SA[1]
VSS
107
105
66
65
63
60
25
16
13
3
7
VSS
LCLK/XTALIN
HVDD
128
115
112
61
33
111
43
19
15
4
109
106
77
62
11
6
71
49
17
LVDD
68
58
56
55
45
23
VSS
53
116
113
59
36
34
1
VSS
124
108
HVDD
28
22
9
HVDD
NC
126
119
110
121
79
74
80
72
46
29
52
10
67
44
39
27
51
5
127
125
120
114
73
69
38
48
76
47
35
30
20
2
VSS
VSS
40
37
50
18
14
AX88195
LOCAL CPU BUS
10/100BASE MAC
CONTROLLER
(for x86 Interface)
103
104
82
91
81
86
93
94
84
87
95
96
90
88
92
85
89
83
98
97
99
100
102
101
TX_EN
TX_CLK
VSS
MDC
MDIO
RXD[3]
RXD[2]
RXD[1]
RXD[0]
LVDD
RX_CLK
CRS
COL
RX_DV
MEMD[1]
MEMD[2]
MEMD[3]
MEMD[4]
MEMD[5]
MEMD[6]
MEMD[7]
MEMD[8]
MEMD[9]
MEMD[10]
MEMD[11]
MEMD[12]
MEMD[13]
MEMD[14]
MEMD[15]
MEMA[1]
RX_ER
MEMA[2]
MEMA[3]
MEMA[4]
MEMA[5]
MEMA[6]
MEMA[7]
MEMA[8]
MEMA[9]
MEMA[10]
MEMA[11]
MEMA[12]
MEMA[13]
MEMA[14]
MEMA[15]
/MEMRD
/MEMWR
SD[0]
SD[1]
SD[2]
SD[3]
SA[0]
SA[3]
SA[2]
SA[5]
SA[4]
SA[6]
SA[7]
SA[9]
SA[8]
/IOWR
SD[15]
SD[14]
SD[13]
SD[12]
SD[11]
SD[10]
SD[9]
SD[8]
SD[6]
SD[4]
SD[5]
SD[7]
RESET
/BHE
TXD[0]
TXD[1]
TXD[2]
TXD[3]
XTALOUT
EEDI
EEDO
EECK
EECS
LVDD
LVDD
VSS
VSS
VSS
VSS
HVDD
VSS
/RESET
RDY
IRQ
/CS
SAL[0]
SAL[1]
SAL[2]
SAH[1]
SAH[2]
NC
NC
/IORD
SAX[0]
SAX[1]
SAX[3]
SAX[2]
64
CLKO25M
SAH[0]
NC
NC
NC
ASIX ELECTRONICS CORPORATION
8
AX88195 Local CPU Bus Fast Ethernet MAC Controller
1.3.3 AX88195 Pin Connection Diagram for MC68K Mode
Fig - 5 AX88195 Pin Connection Diagram for MC68K Mode
123
118
122
78
70
54
41
32
24
12
8
MEMD[0]
LVDD
117
75
57
42
26
31
21
SA[1]
VSS
107
105
66
65
63
60
25
16
13
3
7
VSS
LCLK/XTALIN
HVDD
128
115
112
61
33
111
43
19
15
4
109
106
77
62
11
6
71
49
17
LVDD
68
58
56
55
45
23
VSS
53
116
113
59
36
34
1
VSS
124
108
HVDD
28
22
9
HVDD
NC
126
119
110
121
79
74
80
72
46
29
52
10
67
44
39
27
51
5
127
125
120
114
73
69
38
48
76
47
35
30
20
2
VSS
VSS
40
37
50
18
14
AX88195
LOCAL CPU BUS
10/100BASE MAC
CONTROLLER
(for 68K Interface)
103
104
82
91
81
86
93
94
84
87
95
96
90
88
92
85
89
83
98
97
99
100
102
101
TX_EN
TX_CLK
VSS
MDC
MDIO
RXD[3]
RXD[2]
RXD[1]
RXD[0]
LVDD
RX_CLK
CRS
COL
RX_DV
MEMD[1]
MEMD[2]
MEMD[3]
MEMD[4]
MEMD[5]
MEMD[6]
MEMD[7]
MEMD[8]
MEMD[9]
MEMD[10]
MEMD[11]
MEMD[12]
MEMD[13]
MEMD[14]
MEMD[15]
MEMA[1]
RX_ER
MEMA[2]
MEMA[3]
MEMA[4]
MEMA[5]
MEMA[6]
MEMA[7]
MEMA[8]
MEMA[9]
MEMA[10]
MEMA[11]
MEMA[12]
MEMA[13]
MEMA[14]
MEMA[15]
/MEMRD
/MEMWR
SD[0]
SD[1]
SD[2]
SD[3]
SA[3]
SA[2]
SA[5]
SA[4]
SA[6]
SA[7]
SA[9]
SA[8]
SD[15]
SD[14]
SD[13]
SD[12]
SD[11]
SD[10]
SD[9]
SD[8]
SD[6]
SD[4]
SD[5]
SD[7]
RESET
TXD[0]
TXD[1]
TXD[2]
TXD[3]
XTALOUT
EEDI
EEDO
EECK
EECS
LVDD
LVDD
VSS
VSS
VSS
VSS
HVDD
VSS
/RESET
/DTACK
/CS
SAL[0]
SAL[1]
SAL[2]
SAH[1]
SAH[2]
NC
NC
NC
R/W
/LDS
SAX[0]
SAX[1]
SAX[3]
SAX[2]
/UDS
64
CLKO25M
SAH[0]
NC
NC
NC
/IRQ
ASIX ELECTRONICS CORPORATION
9
AX88195 Local CPU Bus Fast Ethernet MAC Controller
1.3.4 AX88195 Pin Connection Diagram for MCS-51 Mode
Fig - 6 AX88195 Pin Connection Diagram for MCS-51 Mode
123
118
122
78
70
54
41
32
24
12
8
MEMD[0]
LVDD
117
75
57
42
26
31
21
SA[1]
VSS
107
105
66
65
63
60
25
16
13
3
7
VSS
LCLK/XTALIN
HVDD
128
115
112
61
33
111
43
19
15
4
109
106
77
62
11
6
71
49
17
LVDD
68
58
56
55
45
23
VSS
53
116
113
59
36
34
1
VSS
124
108
HVDD
28
22
9
HVDD
NC
126
119
110
121
79
74
80
72
46
29
52
10
67
44
39
27
51
5
127
125
120
114
73
69
38
48
76
47
35
30
20
2
VSS
VSS
40
37
50
18
14
AX88195
LOCAL CPU BUS
10/100BASE MAC
CONTROLLER
(for 8051 Interface)
103
104
82
91
81
86
93
94
84
87
95
96
90
88
92
85
89
83
98
97
99
100
102
101
TX_EN
TX_CLK
VSS
MDC
MDIO
RXD[3]
RXD[2]
RXD[1]
RXD[0]
LVDD
RX_CLK
CRS
COL
RX_DV
MEMD[1]
MEMD[2]
MEMD[3]
MEMD[4]
MEMD[5]
MEMD[6]
MEMD[7]
MEMD[8]
MEMD[9]
MEMD[10]
MEMD[11]
MEMD[12]
MEMD[13]
MEMD[14]
MEMD[15]
MEMA[1]
RX_ER
MEMA[2]
MEMA[3]
MEMA[4]
MEMA[5]
MEMA[6]
MEMA[7]
MEMA[8]
MEMA[9]
MEMA[10]
MEMA[11]
MEMA[12]
MEMA[13]
MEMA[14]
MEMA[15]
/MEMRD
/MEMWR
SD[0]
SD[1]
SD[2]
SD[3]
SA[0]
SA[3]
SA[2]
SA[5]
SA[4]
SA[6]
SA[7]
SA[9]
SA[8]
/IOWR
SD[6]
SD[4]
SD[5]
SD[7]
RESET
NC
TXD[0]
TXD[1]
TXD[2]
TXD[3]
XTALOUT
EEDI
EEDO
EECK
EECS
LVDD
LVDD
VSS
VSS
VSS
VSS
HVDD
VSS
/RESET
NC
/CS
SAL[0]
SAL[1]
SAL[2]
SAH[1]
SAH[2]
NC
/PSEN
/IORD
SAX[0]
SAX[1]
SAX[3]
SAX[2]
64
CLKO25M
SAH[0]
NC
NC
NC
/IRQ
NC
NC
NC
NC
NC
NC
NC
NC
ASIX ELECTRONICS CORPORATION
10
AX88195 Local CPU Bus Fast Ethernet MAC Controller
2.0 Signal Description
The following terms describe the AX88195 pin-out:
All pin names with the / suffix are asserted low.
The following abbreviations are used in following Tables.
IInput PU Pull Up
OOutput PD Pull Down
I/O Input/Output PPower Pin
OD Open Drain
2.1 Local CPU Bus Interface Signals Group
SIGNAL TYPE PIN NO. DESCRIPTION
SAL[2:0] I/PD 113 111 System Address Select Low : Signals SAL[2:0] are additional address
signal input lines which active low enable higher I/O address decoder
on chip.
SAH[2:0] I/PU 116 114 System Address Select High : Signals SAH[2:0] are additional
address signal input lines which active high enable higher I/O
address decoder on chip.
SAX[3:0] I/PU 122 121
118 117 System Address Select Low/High : Signals SAX[3:0] are additional
address signal input lines which active low/high depend on power on
setting to enable higher I/O address decoder on chip.
SA[9:1],
SA[0]/UDS I10 1 System Address : Signals SA[9:0] are address bus input lines which
lower I/O spaces on chip. SA[0] also means Upper Data Strobe
(/UDS) active low signal in 68K application mode.
/BHE
or
/LDS
I18 Bus High Enable or Lower Data Strobe : Bus High Enable is active
low signal in some 16 bit application mode which enable high bus
(SD[15:8]) active. The signal also name as Lower Data Strobe (/LDS)
for 68K application mode.
SD[15:0] I/O 20 23,
25 28,
30 33,
35 38
System Data Bus : Signals SD[15:0] constitute the bi-directional
data bus.
IREQ/IREQ O12 Interrupt Request : When ISA BUS or 80186 CPU mode is select.
IREQ is asserted high to indicate the host system that the chip
requires host software service. When MC68K or MCS-51 CPU
mode is select. /IREQ is asserted low to indicate the host system that
the chip requires host software service.
RDY/DTACK OD 125 Ready : This signal is set low to insert wait states during Remote
DMA transfer.
/Dtack : When Motorola CPU type is select, the pin is active low
inform CPU that data is accepted.
/CS I123 Chip Select
When the /CS signal is asserted, the chip is selected.
/IORD I15 I/O Read :The host asserts /IORD to read data from AX88195 I/O
space. When Motorola CPU type is select , the pin is useless.
/IOWR
or
R/W
I14 I/O Write :The host asserts /IOWR to write data into AX88195 I/O
space. When Motorola CPU type is select, the pin is active high for
read operation at the same time.
ASIX ELECTRONICS CORPORATION
11
AX88195 Local CPU Bus Fast Ethernet MAC Controller
/IOCS16 OD 120 I/O is 16 Bit Port : The /IOIS16 is asserted when the address at the
range corresponds to an I/O address to which the chip responds, and
the I/O port addressed is capable of 16-bit access.
AEN
or
/PSEN
I/PD 124 Address Enable : The signal is asserted when the address bus is
available for DMA cycle. When negated (low), AX88195 an I/O slave
device may respond to addresses and I/O command.
PSEN : This signal is active low for 8051 program access. For I/O
device, AX88195, this signal is active high to access the chip. This
signal is for 8051 bus application only.
Tab - 1 Local CPU bus interface signals group
2.2 MII interface signals group
SIGNAL TYPE PIN NO. DESCRIPTION
RXD[3:0] I90 87 Receive Data : RXD[3:0] is driven by the PHY synchronously with
respect to RX_CLK.
CRS I85 Carrier Sense : Asynchronous signal CRS is asserted by the PHY
when either the transmit or receive medium is non-idle.
RX_DV I83 Receive Data Valid : RX_DV is driven by the PHY synchronously
with respect to RX_CLK. Asserted high when valid data is present on
RXD [3:0].
RX_ER I82 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
the port that an error has detected.
RX_CLK I86 Receive Clock : RX_CLK is a continuous clock that provides the
timing reference for the transfer of the RX_DV,RXD[3:0] and
RX_ER signals from the PHY to the MII port of the repeater.
COL I84 Collision : this signal is driven by PHY when collision is detected.
TX_EN O95 Transmit Enable : TX_EN is transition synchronously with respect to
the rising edge of TX_CLK. TX_EN indicates that the port is
presenting nibbles on TXD [3:0] for transmission.
TXD[3:0] O99 96 Transmit 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
PHY.
TX_CLK I94 Transmit Clock : TX_CLK is a continuous clock from PHY. It
provides the timing reference for the transfer of the TX_EN and
TXD[3:0] signals from the MII port to the PHY.
MDC O92 Station Management Data Clock : The timing reference for MDIO.
All data transfers on MDIO are synchronized to the rising edge of this
clock. MDC is a 2.5MHz frequency clock output.
MDIO I/O/PU 91 Station Management Data Input / Output : Serial data input/output
transfers from/to the PHYs . The transfer protocol conforms to the
IEEE 802.3u MII specification.
Tab - 2 MII interface signals group
ASIX ELECTRONICS CORPORATION
12
AX88195 Local CPU Bus Fast Ethernet MAC Controller
2.3 EEPROM Signals Group
SIGNAL TYPE PIN NO. DESCRIPTION
EECS O106 EEPROM Chip Select : EEPROM chip select signal.
EECK O107 EEPROM Clock : Signal connected to EEPROM clock pin.
EEDI O108 EEPROM Data In : Signal connected to EEPROM data input pin.
EEDO I/PU 109 EEPROM Data Out : Signal connected to EEPROM data output pin.
Tab - 3 EEPROM bus interface signals group
2.4 SRAM Interface pins group
SIGNAL TYPE PIN NO. DESCRIPTION
MEMA[15:1] O43, 45 48,
50 –53
55 58,
60 61
SRAM Address :
MEMD[15:0] I/O/PU 62 63,
65 68,
70 74,
76 80
SRAM Data :
/MEMRD O42 SRAM Read
/MEMWR O41 SRAM Write
Tab - 4 SRAM Interface pins group
2.5 Miscellaneous pins group
SIGNAL TYPE PIN NO. DESCRIPTION
LCLK/XTALIN I103 CMOS Local Clock : A 25Mhz clock, +/- 100 ppm, 40%-60% duty
cycle.
Crystal Oscillator Input : A 25Mhz crystal, +/- 25 ppm can be
connected across XTALIN and XTALOUT.
XTALOUT O104 Crystal Oscillator Output : A 25Mhz crystal, +/- 25 ppm can be
connected across XTALIN and XTALOUT. If a single-ended external
clock (LCLK) is connected to XTALIN, the crystal output pin should
be left floating.
CLKO25M O101 Clock Output 25MHz : This clock is source from LCLK/XTALIN.
RESET I/PD 127 Reset
Reset is active high then place AX88195 into reset mode immediately.
During Falling edge the AX88195 loads the power on setting data.
User can select either RESET or /RESET for applications.
/RESET I/PU 126 /Reset
Reset is active low then place AX88195 into reset mode immediately.
During rising edge the AX88195 loads the power on setting data.
User can select either RESET or /RESET for applications.
NC N/A 13, 16, 17,
39 No Connection : for manufacturing test only.
LVDD P44, 54,
100, 110,
128
Power Supply : +3.3V DC.
ASIX ELECTRONICS CORPORATION
13
AX88195 Local CPU Bus Fast Ethernet MAC Controller
HVDD P19, 29, 64,
75 Power Supply : +5V DC.
Note : for pure 3.3V single power solution, all the HVDD pin can
connect to +3.3V. Care should be taken that HVDD input power must
be greater or equal ( > = ) than LVDD.
VSS P11, 24, 34,
40, 49,59,
69, 81,93,
102, 105,
119
Power Supply : +0V DC or Ground Power.
Tab - 5 Miscellaneous pins group
2.6 Power on configuration setup signals cross reference table
SIGNAL NAME SHARE WITH DESCRIPTION
IO_BASE[2:0] MEMD[15:13] IO_BASE[2] IO_BASE[1] IO_BASE[0] IO_BASE
0 0 0 300h
0 0 1 320h
0 1 0 340h
0 1 1 360h
1 0 0 380h
1 0 1 3A0h
1 1 0 200h
1 1 1 220h
SAX[3:0] MEMD[12:9] SAX[3] address decode depends on MEMD[12] power on value
SAX[2] address decode depends on MEMD[11] power on value
SAX[1] address decode depends on MEMD[10] power on value
SAX[0] address decode depends on MEMD[9] power on value
CPU TYPE MEMD[8:7] MEMD[8] MEMD[7] CPU TYPE
0 0 ISA BUS
0 1 80186
1 0 MC68K
1 1 MCS-51 (805X)
All of the above signals are pull-up for default values.
Tab - 6 Power on Configuration Setup Table
ASIX ELECTRONICS CORPORATION
14
AX88195 Local CPU Bus Fast Ethernet MAC Controller
3.0 Memory and I/O Mapping
There are four memory or I/O mapping used in AX88195.
1. EEPROM Memory Mapping
2. I/O Mapping
3. Local Memory Mapping
3.1 EEPROM Memory Mapping
User can define by themselves and can access via I/O address offset 14H MII/EEPROM registers
3.2 I/O Mapping
SYSTEM I/O OFFSET FUNCTION
0000H
001FH MAC CORE REGISTER
Tab - 7 I/O Address Mapping
3.3 SRAM Memory Mapping
OFFSET FUNCTION
4000H
7FFF NE2000 COMPATABLE MODE
8K X 16 SRAM BUFFER
0000H
FFFFH EXTENSION MODE
32K X 16 SRAM BUFFER
Tab - 8 Local Memory Mapping
ASIX ELECTRONICS CORPORATION
15
AX88195 Local CPU Bus Fast Ethernet MAC Controller
4.0 Registers Operation
All registers of MAC Core are 8-bit wide and mapped into pages which are selected by PS in the Command
Register.
PAGE 0 (PS1=0,PS0=0)
OFFSET READ WRITE
00H Command Register
( CR ) Command Register
( CR )
01H Page Start Register
( PSTART ) Page Start Register
( PSTART )
02H Page Stop Register
( PSTOP ) Page Stop Register
( PSTOP )
03H Boundary Pointer
( BNRY ) Boundary Pointer
( BNRY )
04H Transmit Status Register
( TSR ) Transmit Page Start Address
( TPSR )
05H Number of Collisions Register
( NCR ) Transmit Byte Count Register 0
( TBCR0 )
06H Current Page Register
( CPR ) Transmit Byte Count Register 1
( TBCR1 )
07H Interrupt Status Register
( ISR ) Interrupt Status Register
( ISR )
08H Current Remote DMA Address 0
( CRDA0 ) Remote Start Address Register 0
( RSAR0 )
09H Current Remote DMA Address 1
( CRDA1 ) Remote Start Address Register 1
( RSAR1 )
0AH Reserved Remote Byte Count 0
( RBCR0 )
0BH Reserved Remote Byte Count 1
( RBCR1 0
0CH Receive Status Register
( RSR ) Receive Configuration Register
( RCR )
0DH Frame Alignment Errors
( CNTR0 ) Transmit Configuration Register ( TCR )
0EH CRC Errors
( CNTR1 ) Data Configuration Register
( DCR )
0FH Missed Packet Errors
( CNTR2 ) Interrupt Mask Register
( IMR )
10H
11H Data Port Data Port
12H IFGS1 IFGS1
13H IFGS2 IFGS2
14H MII/EEPROM Access MII/EEPROM Access
15H -Test Register
16H Inter-frame Gap (IFG)Inter-frame Gap (IFG)
17H
to
1EH
Reserved Reserved
1FH Reset Reserved
Tab - 9 Page 0 of MAC Core Registers Mapping
ASIX ELECTRONICS CORPORATION
16
AX88195 Local CPU Bus Fast Ethernet MAC Controller
PAGE 1 (PS1=0,PS0=1)
OFFSET READ WRITE
00H Command Register
( CR ) Command Register
( CR )
01H Physical Address Register 0
( PARA0 ) Physical Address Register 0
( PAR0 )
02H Physical Address Register 1
( PARA1 ) Physical Address Register 1
( PAR1 )
03H Physical Address Register 2
( PARA2 ) Physical Address Register 2
( PAR2 )
04H Physical Address Register 3
( PARA3 ) Physical Address Register 3
( PAR3 )
05H Physical Address Register 4
( PARA4 ) Physical Address Register 4
( PAR4 )
06H Physical Address Register 5
( PARA5 ) Physical Address Register 5
( PAR5 )
07H Current Page Register
( CPR ) Current Page Register
( CPR )
08H Multicast Address Register 0
( MAR0 ) Multicast Address Register 0
( MAR0 )
09H Multicast Address Register 1
( MAR1 ) Multicast Address Register 1
( MAR1 )
0AH Multicast Address Register 2
( MAR2 ) Multicast Address Register 2
( MAR2 )
0BH Multicast Address Register 3
( MAR3 ) Multicast Address Register 3
( MAR3 )
0CH Multicast Address Register 4
( MAR4 ) Multicast Address Register 4
( MAR4 )
0DH Multicast Address Register 5
( MAR5 ) Multicast Address Register 5
( MAR5 )
0EH Multicast Address Register 6
( MAR6 ) Multicast Address Register 6
( MAR6 )
0FH Multicast Address Register 7
( MAR7 ) Multicast Address Register 7
( MAR7 )
10H
11H Data Port Data Port
12H Inter-frame Gap Segment 1
IFGS1 Inter-frame Gap Segment 1
IFGS1
13H Inter-frame Gap Segment 2
IFGS2 Inter-frame Gap Segment 2
IFGS2
14H MII/EEPROM Access MII/EEPROM Access
15H -Test Register
16H Inter-frame Gap (IFG)Inter-frame Gap (IFG)
17H
to
1EH
Reserved Reserved
1FH Reset Reserved
Tab - 10 Page 1 of MAC Core Registers Mapping
ASIX ELECTRONICS CORPORATION
17
AX88195 Local CPU Bus Fast Ethernet MAC Controller
4.1 Command Register (CR) Offset 00H (Read/Write)
FIELD NAME DESCRIPTION
7:6 PS1,PS0 PS1,PS0 : Page Select
The two bit 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
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 AX88195 when a Remote
DMA has been completed. The Remote Byte Count should be cleared when a Remote DMA
has been aborted. The Remote Start Address are 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
2TXP TXP : Transmit Packet
This bit could be set to initiate transmission of a packet
1START START :
This bit is used to active AX88195 operation.
0STOP STOP : Stop AX88195
This bit is used to stop the AX88195 operation.
4.2 Interrupt Status Register (ISR) Offset 07H (Read/Write)
FIELD NAME DESCRIPTION
7RST Reset Status :
Set when AX88195 enters reset state and cleared when a start command is issued to the
CR. Writing to this bit is no effect.
6RDC 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.
4OVW OVERWRITE : Set when receive buffer ring storage resources have been exhausted.
3TXE Transmit Error
Set when packet transmitted with one or more of the following errors
n Excessive collisions
n FIFO Underrun
2RXE 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
1PTX Packet Transmitted
Indicates packet transmitted with no error
0PRX Packet Received
Indicates packet received with no error.
ASIX ELECTRONICS CORPORATION
18
AX88195 Local CPU Bus Fast Ethernet MAC Controller
4.3 Interrupt mask register (IMR) Offset 0FH (Write)
FIELD NAME DESCRIPTION
7-Reserved
6RDCE DMA Complete Interrupt Enable. Default low disabled.
5CNTE Counter Overflow Interrupt Enable. Default low disabled.
4OVWE Overwrite Interrupt Enable. Default low disabled.
3TXEE Transmit Error Interrupt Enable. Default low disabled.
2RXEE Receive Error Interrupt Enable. Default low disabled.
1 PTXE Packet Transmitted Interrupt Enable. Default low disabled.
0PRXE Packet Received Interrupt Enable. Default low disabled.
4.4 Data Configuration Register (DCR) Offset 0EH (Write)
FIELD NAME DESCRIPTION
7RDCR Remote DMA always completed
6:2 -Reserved
1BOS Byte Order Select
0: MS byte placed on AD15:AD8 and LS byte on AD7-AD0 (80186).
1: MS byte placed on AD7::AD0 and LS byte on AD15:AD0(MC68K)
0WTS Word Transfer Select
0 : Selects byte-wide DMA transfers.
1 : Selects word-wide DMA transfers.
4.5 Transmit Configuration Register (TCR) Offset 0DH (Write)
FIELD NAME DESCRIPTION
7FDU Full Duplex :
This bit indicates the current media mode is Full Duplex or not.
0 : Half duplex
1 : Full duplex
6PD Pad Disable
0 : Pad will be added when packet length less than 60.
1 : Pad will not be added when packet length less than 60.
5RLO Retry of late collision
0 : Dont retransmit packet when late collision happens.
1 : Retransmit packet when late collision happens.
4:3 -Reserved
2:1 LB1,LB0 Encoded Loop-back Control
These encoded configuration bits set the type of loop-back that is to be performed.
LB1 LB0
Mode 0 0 0 Normal operation
Mode 1 0 1 Internel NIC loop-back
Mode 2 1 0 PHYcevisor loop-back
0CRC Inhibit CRC
0 : CRC appended by transmitter.
1 : CRC inhibited by transmitter.
ASIX ELECTRONICS CORPORATION
19
AX88195 Local CPU Bus Fast Ethernet MAC Controller
4.6 Transmit Status Register (TSR) Offset 04H (Read)
FIELD NAME DESCRIPTION
7OWC Out of window collision
6:4 -Reserved
3ABT Transmit Aborted
Indicates the AX88195 aborted transmission because of excessive collision.
2COL Transmit Collided
Indicates that the transmission collided at least once with another station on the network.
1-Reserved
0PTX Packet Transmitted
Indicates transmission without error.
4.7 Receive Configuration (RCR) Offset 0CH (Write)
FIELD NAME DESCRIPTION
7-Reserved
6INTT Interrupt Trigger Mode for ISA and 80186 modes
0 : Low active
1 : High active (default)
Interrupt Trigger Mode for MCS-51 and MC68K modes
0 : High active
1 : Low active (default)
5MON Monitor Mode
0 : Normal Operation
1 : Monitor Mode, the input packet will be checked on NODE ADDRESS and CRC but not
buffered into memory.
4PRO PRO : Promiscuous Mode
Enable the receiver to accept all packets with a physical address.
3AM AM : Accept Multicast
Enable the receiver to accept packets with a multicast address. That multicast address must
pass the hashing array.
2AB AB : Accept Broadcast
Enable the receiver to accept broadcast packet.
1AR AR : Accept Runt
Enable the receiver to accept runt packet.
0SEP SEP : Save Error Packet
Enable the receiver to accept and save packets with error.
4.8 Receive Status Register (RSR) Offset 0CH (Read)
FIELD NAME DESCRIPTION
7-Reserved
6DIS Receiver Disabled
5PHY Multicast Address Received.
4MPA Missed Packet
3FO FIFO Overrun
2FAE Frame alignment error.
1CR CRC error.
0PRX Packet Received Intact
ASIX ELECTRONICS CORPORATION
20
AX88195 Local CPU Bus Fast Ethernet MAC Controller
4.9 Inter-frame gap (IFG) Offset 16H (Read/Write)
FIELD NAME DESCRIPTION
7-Reserved
6:0 IFG Inter-frame Gap. Default value 15H.
4.10 Inter-frame gap Segment 1(IFGS1) Offset 12H (Read/Write)
FIELD NAME DESCRIPTION
7-Reserved
6:0 IFG Inter-frame Gap Segment 1. Default value 0cH.
4.11 Inter-frame gap Segment 2(IFGS2) Offset 13H (Read/Write)
FIELD NAME DESCRIPTION
7-Reserved
6:0 IFG Inter-frame Gap Segment 2. Default value 11H.
4.12 MII/EEPROM Management Register (MEMR) Offset 14H (Read/Write)
FIELD NAME DESCRIPTION
7EECLK EECLK:
EEPROM Clock
6EEO EEO : (Read only)
EEPROM Data Out value. That reflects Pin-109 EEDO value.
5EEI EEI
EEPROM Data In. That output to Pin-108 EEDI as EEPROM data input value.
4EECS EECS
EEPROM Chip Select
3MDO MDO
MII Data Out
2MDI MDI: (Read only)
MII Data In. That reflects Pin-91 MDIO value.
1MDIR MII STA MDIO signal Direction
MII Read Control Bit, assert this bit let MDIO signal as the input signal. Deassert this bit
let MDIO as output signal.
0MDC MDC
MII Clock
4.13 Test Register (TR) Offset 15H (Write)
FIELD NAME DESCRIPTION
7:5 -Reserved
4TF16T Test for Collision
3TPE Test pin Enable
2:0 IFG Select Test Pins Output
ASIX ELECTRONICS CORPORATION
21
AX88195 Local CPU Bus Fast Ethernet MAC Controller
5.0 CPU I/O Read and Write Functions
The AX88195 supports four kinds of CPU/BUS types access function, including ISA, 80186,
MC68000 and MCS-51. These Access methods are described as the following sections.
5.1 ISA bus type access functions.
ISA bus I/O Read function
Function Mode /CS /BHE A0 /IORD /IOWR SD[15:8] SD[7:0]
Standby Mode HX X X X High-Z High-Z
Byte Access L
LH
HL
HL
LH
HNot Valid
Not Valid Even-Byte
Odd-Byte
Word Access L L L L HOdd-Byte Even-Byte
ISA bus I/O Write function
Function Mode /CS /BHE A0 /IORD /IOWR SD[15:8] SD[7:0]
Standby Mode HX X X X X X
Byte Access L
LH
HL
HH
HL
LX
XEven-Byte
Odd-Byte
Word Access L L L HLOdd-Byte Even-Byte
5.2 80186 CPU bus type access functions.
80186 CPU bus I/O Read function
Function Mode /CS /BHE A0 /IORD /IOWR SD[15:8] SD[7:0]
Standby Mode HX X X X High-Z High-Z
Byte Access L
LH
LL
HL
LH
HNot Valid
Odd-Byte Even-Byte
Not Valid
Word Access L L L L HOdd-Byte Even-Byte
80186 CPU bus I/O Write function
Function Mode /CS /BHE A0 /IORD /IOWR SD[15:8] SD[7:0]
Standby Mode HX X X X X X
Byte Access L
LH
LL
HH
HL
LX
Odd-Byte Even-Byte
X
Word Access L L L HLOdd-Byte Even-Byte
ASIX ELECTRONICS CORPORATION
22
AX88195 Local CPU Bus Fast Ethernet MAC Controller
5.3 MC68K CPU bus type access functions.
68K bus I/O Read function
Function Mode /CS /UDS /LDS R/W SD[15:8] SD[7:0]
Standby Mode HX X X High-Z High-Z
Byte Access L
LH
LL
HH
HNot Valid
Even-Byte Odd-Byte
Not Valid
Word Access L L L HEven-Byte Odd-Byte
68K bus I/O Write function
Function Mode /CS /UDS /LDS R/W SD[15:8] SD[7:0]
Standby Mode HX X X X X
Byte Access L
LH
LL
HL
LX
Even-Byte Odd-Byte
X
Word Access L L L L Even-Byte Odd-Byte
5.3 MCS-51 CPU bus type access functions.
8051 bus I/O Read function
Function Mode /CS /PSEN SA0 /IORD /IOWR SD[15:8] SD[7:0]
Standby Mode H
XX
LX
XX
XX
XHigh-Z
High-Z High-Z
High-Z
Byte Access L
LH
HL
HL
LH
HNot Valid
Not Valid Even-Byte
Odd-Byte
8051 bus I/O Write function
Function Mode /CS /PSEN SA0 /IORD /IOWR SD[15:8] SD[7:0]
Standby Mode H
XX
LX
XX
XX
XX
XX
X
Byte Access L
LH
HL
HH
HL
LX
XEven-Byte
Odd-Byte
ASIX ELECTRONICS CORPORATION
23
AX88195 Local CPU Bus Fast Ethernet MAC Controller
6.0 Electrical Specification and Timings
6.1 Absolute Maximum Ratings
Description SYM Min Max Units
Operating Temperature Ta 0+85 °C
Storage Temperature Ts -55 +150 °C
Supply Voltage HVdd -0.3 +6 V
Supply Voltage LVdd -0.3 +4.6 V
Input Voltage HVin
LVin -0.3
-0.3 HVdd+0.5
LVdd+0.5 V
V
Output Voltage HVout
LVin -0.3
-0.3 HVdd+0.5
LVdd+0.5 V
V
Lead Temperature (soldering 10 seconds maximum) Tl -55 +220 °C
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 : The power supply voltages must always fulfill HVdd >= LVdd inequality.
6.2 General Operation Conditions
Description SYM Min Tpy Max Units
Operating Temperature Ta 0 25 +75 °C
Supply Voltage HVdd
LVdd +4.75V
+2.70
+3.00
+5.00V
+3.00
+3.30
+5.25V
+3.30
+3.60
V
V
V
Note : The power supply voltages must always fulfill HVdd >= LVdd inequality.
6.3 DC Characteristics
(Vdd=5.0V, Vss=0V, Ta=0°C to 75°C)
Description SYM Min Tpy Max Units
Low Input Voltage Vil -0.8 V
High Input Voltage Vih 2-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
(Vdd=3.0V to 3.6V, Vss=0V, Ta=0°C to 75°C)
Description SYM Min Tpy Max Units
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 Min Tpy Max Units
Power Consumption (Dual power) DPt5v
DPt3v 20
38 mA
mA
Power Consumption (Single power 3.3V) SPt3v 46 mA
ASIX ELECTRONICS CORPORATION
24
AX88195 Local CPU Bus Fast Ethernet MAC Controller
6.4 A.C. Timing Characteristics
6.4.1 XTAL / CLOCK
LCLK/XTALIN
Tr Tf Tlow
CLK25M
Tod
Symbol Description Min Typ. Max Units
Tcyc CYCLE TIME 40 ns
Thigh CLK HIGH TIME 16 20 24 ns
Tlow CLK LOW TIME 16 20 24 ns
Tr/TfCLK SLEW RATE 1-4ns
Tod LCLK/XTALIN TO CLK25M OUT DELAY
(INVERTED) 1 3 6 ns
6.4.2 Reset Timing
LCLK/XTALIN
RESET
/RESET
Symbol Description Min Typ. Max Units
Trst Reset pulse width 100 - - LClk
Tcyc
Thigh
ASIX ELECTRONICS CORPORATION
25
AX88195 Local CPU Bus Fast Ethernet MAC Controller
6.4.3 ISA Bus Access Timing
Tsu(AEN) Th(AEN)
AEN
Tsu(A) Th(A)
/BHE
SA[9:0],SAL,SAH,SAX
Tv(CS16-A) Tdis(CS16-A)
/IOCS16
Ten(RD)
/IOWR,/IORD Tw(RW)
Tv(RDY) Tdis(RDY)
RDY
Tdis(RD)
Read Data
SD[15:0](Dout) DATA Valid
Tsu(WR) Th(WR)
Write Data
SD[15:0](Din) DATA Input Establish
Symbol Description Min Typ. Max Units
Tsu(A) ADDRESS SETUP TIME 0- - ns
Th(A) ADDRESS HOLD TIME 5- - ns
Tsu(AEN) AEN SETUP TIME 0- - ns
Th(AEN) AEN HOLD TIME 5- - ns
Tv(CS16-A) /IOCS16 VALID FROM ADDRESS CHANGE - - 20 ns
Tdis(CS16-A) /IOCS16 DISABLE FROM ADDRESS CHANGE - - 6ns
Tv(RDY) RDY VALID FROM /IORD OR /IOWR - - 20 ns
Tdis(RDY) RDY DISABLE FROM /IORD OR /IOWR 0- - ns
Ten(RD) OUTPUT ENABLE TIME FROM /IORD - - 20 ns
Tdis(RD) OUTPUT DISABLE TIME FROM /IORD 0.5 -4ns
Tsu(WR) DATA SETUP TIME 5- - ns
Th(WR) DATA HOLD TIME 5- - ns
Tw(RW) /IORD OR /IOWR WIDTH TIME *90 ns
* Note : for byte access minimum is 90ns, for word access minimum is 50 ns.
ASIX ELECTRONICS CORPORATION
26
AX88195 Local CPU Bus Fast Ethernet MAC Controller
6.4.4 80186 Type I/O Access Timing
Tsu(A) Th(A)
/BHE
SA[9:0],SAL,SAH,SAX
Tw(RW)
/IOWR,/IORD
Tv(RDY) Tdis(RDY)
RDY
Ten(RD) Tdis(RD)
Read Data
SD[15:0](Dout) DATA Valid
Tsu(WR) Th(WR)
Write Data
SD[15:0](Din) DATA Input Establish
Symbol Description Min Typ. Max Units
Tsu(A) ADDRESS SETUP TIME 0- - ns
Th(A) ADDRESS HOLD TIME 5- - ns
Tv(RDY) RDY VALID FROM /IORD OR /IOWR - - 20 ns
Tdis(RDY) RDY DISABLE FROM /IORD OR /IOWR 0- - ns
Ten(RD) OUTPUT ENABLE TIME FROM /IORD - - 20 ns
Tdis(RD) OUTPUT DISABLE TIME FROM /IORD 0.5 -4ns
Tsu(WR) DATA SETUP TIME 5- - ns
Th(WR) DATA HOLD TIME 5- - ns
Tw(RW) /IORD OR /IOWR WIDTH TIME *90 ns
* Note : for byte access minimum is 90ns, for word access minimum is 50 ns.
ASIX ELECTRONICS CORPORATION
27
AX88195 Local CPU Bus Fast Ethernet MAC Controller
6.4.5 68K Type I/O Access Timing
Tsu(A) Th(A)
SA[9:1],SAL,SAH,SAX
Tv(DS-WR) Tw(DS) Tdis(WR-DS)
/UDS,/LDS
(Read)
R/W
Ten(DS)
(Write)
R/W
Tv(DTACK) Tdis(DTACK)
/DTACK
Tdis(DS)
(Read Data)
SD[15:0](Dout) DATA Valid
Tsu(DS) Th(DS)
(Write Data)
SD[15:0](Din) DATA Input Establish
Symbol Description Min Typ. Max Units
Tsu(A) ADDRESS SETUP TIME 0- - ns
Th(A) ADDRESS HOLD TIME 5- - ns
Tv(DS-WR) /UDS OR /LDS VALID FROM /W 0- - ns
Tdis(WR-DS) /W DISABLE FROM /UDS OR /LDS 5- - ns
Tv(DTACK) DACK VALID FROM /UDS OR /LDS - - 20 ns
Tdis(DTACK) DACK DISABLE FROM /UDS OR /LDS 0- - ns
Ten(DS) OUTPUT ENABLE TIME FROM /UDS OR /LDS - - 20 ns
Tdis(DS) OUTPUT DISABLE TIME FROM /UDS OR /LDS 0.5 -4ns
Tsu(DS) DATA SETUP TIME 5- - ns
Th(DS) DATA HOLD TIME 5- - ns
Tw(DS) /UDS OR /LDS WIDTH TIME *90 ns
* Note : for byte access minimum is 90ns, for word access minimum is 50 ns.
ASIX ELECTRONICS CORPORATION
28
AX88195 Local CPU Bus Fast Ethernet MAC Controller
6.4.6 8051 Bus Access Timing
/PSEN Tsu(PSEN) Th(PSEN)
Tsu(A) Th(A)
SA[9:0],SAL,SAH,SAX
Ten(RD)
/IOWR,/IORD Tw(RW)
Tv(RDY) Tdis(RDY)
(For Reference)
RDY
Tdis(RD)
Read Data
SD[7:0](Dout) DATA Valid
Tsu(WR) Th(WR)
Write Data
SD[7:0](Din) DATA Input Establish
Symbol Description Min Typ. Max Units
Tsu(A) ADDRESS SETUP TIME 0- - ns
Th(A) ADDRESS HOLD TIME 5- - ns
Tsu(PSEN) /PSEN SETUP TIME 0- - ns
Th(PSEN) /PSEN HOLD TIME 5- - ns
Ten(RD) OUTPUT ENABLE TIME FROM /IORD - - 20 ns
Tdis(RD) OUTPUT DISABLE TIME FROM /IORD 0.5 -4ns
Tsu(WR) DATA SETUP TIME 5- - ns
Th(WR) DATA HOLD TIME 5- - ns
Tw(RW) /IORD OR /IOWR WIDTH TIME 90 ns
ASIX ELECTRONICS CORPORATION
29
AX88195 Local CPU Bus Fast Ethernet MAC Controller
6.4.7 MII Timing
Ttclk Ttch Ttcl
TXCLK
Ttv Tth
TXD<3:0>
TXEN
Trclk Trch Trcl
RXCLK
Trs Trh
RXD<3:0>
RXDV
Trs1
RXER
Symbol Description Min Typ. Max Units
Ttclk Cycle time(100Mbps) -40 -ns
Ttclk Cycle time(10Mbps) -400 -ns
Ttch high time(100Mbps) 14 -26 ns
Ttch high time(10Mbps) 140 -260 ns
Trch low time(100Mbps) 14 -26 ns
Trch low time(10Mbps) 140 -260 ns
Ttv Clock to data valid - - 20 ns
Tth Data output hold time 5- - ns
Trclk Cycle time(100Mbps) -40 -ns
Trclk Cycle time(10Mbps) -400 -ns
Trch high time(100Mbps) 14 -26 ns
Trch high time(10Mbps) 140 -260 ns
Trcl low time(100Mbps) 14 -26 ns
Trcl low time(10Mbps) 140 -260 ns
Trs data setup time 6- - ns
Trh data hold time 10 - - ns
Trs1 RXER data setup time 10 - - ns
ASIX ELECTRONICS CORPORATION
30
AX88195 Local CPU Bus Fast Ethernet MAC Controller
6.4.8 Asynchronous Memory I/F Access Timing
MEMORY WRITE
Tsu(A) Th(A)
MEMA[15:1]
Tw(WR)
/MEMWR Td(WtoR)
Tw(RDdis)
/MEMRD
Tsu(D) Th(D)
Write Data
SD[15:0](Dout) DATA Valid
Symbol Description Min Typ. Max Units
Tsu(A) ADDRESS SETUP TIME 36 - - ns
Th(A) ADDRESS HOLD TIME 0.3 -1ns
Tw(WR) WRITE PULSE WIDTH *-ns
Tw(RDdis) READ DISABLE PULSE WIDTH *-ns
Td(WtoR) WRITE TO READ DEALY 1-4.5 ns
Tsu(D) DATA SETUP TIME 16 - - ns
Th(D) DATA HOLD TIME 0.3 -2ns
MEMORY READ
Tsu(A) Th(A)
MEMA[15:1]
Referance Tw(RD)
Internal
/MEMRD
( High Level )
/MEMWR
( Low Level )
/MEMRD Tsu(RD) Th(RD)
Read Data
MEMD[15:1] Valid DATA
Symbol Description Min Typ. Max Units
Tsu(A) ADDRESS SETUP TIME 30 - - ns
Th(A) ADDRESS HOLD TIME 1.3 -1ns
Tw(RD) READ PULSE WIDTH *-ns
Tsu(D) DATA SETUP TIME 3- - ns
Th(D) DATA HOLD TIME 0-2ns
* NOTE : The pulse width can be seen as LCLK/XTALIN high time. See also 6.4.1 Thigh parameter.
NOTE : All most any brand asynchronous SRAM access time under 20 ns can fit into the specification.
ASIX ELECTRONICS CORPORATION
31
AX88195 Local CPU Bus Fast Ethernet MAC Controller
7.0 Package Information
be
D
Hd
E
He
pin 1
A2 A1
L
L1
θ
A
MILIMETERSYMBOL
MIN. NOM MAX
A1 0.1
A2 1.3 1.4 1.5
A1.7
b0.155 0.16 0.26
D13.90 14.00 14.10
E13.90 14.00 14.10
e0.40
Hd 15.60 16.00 16.40
He 15.60 16.00 16.40
L0.30 0.50 0.70
L1 1.00
θ0 10
ASIX ELECTRONICS CORPORATION
32
AX88195 Local CPU Bus Fast Ethernet MAC Controller
Appendix A: Application Note 1
A.1 Using Crystal
AX88195 To PHY
CLKO25M
XTALIN XTALOUT
25MHz
Crystal
8pf 2Mohm 8pf
Note : The capacitors (8pf) 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
AX88195 To PHY
CLKO25M
XTALIN XTALOUT
NC
3.3V Power OSC 25MHz
ASIX ELECTRONICS CORPORATION
33
AX88195 Local CPU Bus Fast Ethernet MAC Controller
A.3 Dual power (5V and 3.3V/3.0V) application
+5V +5V
+5V HVdd +5V
+3.3V LVdd +5V
A.4 Single power (3.3V/3.0V) application
+3.3V +3.3V
+3.3V HVdd +3.3V
+3.3V LVdd +3.3V
AX88195
PHY/TxRx
MAGNETIC
RJ45
+5V CPU I/F
Optional
EEPROM
SRAM
AX88195
PHY/TxRx
MAGNETIC
RJ45
+3.3V CPU I/F
Optional
EEPROM
SRAM
ASIX ELECTRONICS CORPORATION
34
AX88195 Local CPU Bus Fast Ethernet MAC Controller
A.5 Dual power (5V and 3.3V) application with 3.3V PHY
The 510 and 1K Ohm resisters are just for voltage adjustment
AX88195
PHY
RXD[3:0]
CRS
RX_DV
RX_ER
RX_CLK
COL
TX_EN
TXD[3:0]
TX_CLK
MDC
MDIO
RXD[3:0]
CRS
RX_DV
RX_ER
RX_CLK
COL
TX_EN
TXD[3:0]
TX_CLK
MDC
MDIO
510 ohm 1k ohm
ASIX ELECTRONICS CORPORATION
35
AX88195 Local CPU Bus Fast Ethernet MAC Controller
Appendix B: Application Note 2
B.1 Advance Application for Using Crystal
Date: May 21, 1999
Condition: In short cable, AX88195 +AH 101 Phyceiver cant link to BCM 5308
Switch.
Conclusion: 1. After measuring and verifying, we found its relevant to clock source.
2. We ascertain the problem is caused by matching issues between crystal
and capacitor.
Solution: Change the value of capacitors beside crystal as below:
Note: The capacitors may be various depend on the specification of crystal. While
designing, please refer to the circuit provided by crystal supplier.
XIN XOUT
Y1
25MHZ
C22
18p C23
18p
R4
2M
ASIX ELECTRONICS CORPORATION
36
AX88195 Local CPU Bus Fast Ethernet MAC Controller
Appendix C: Application Note for RDY is not applicable
This application note is for some kind of CPU that doesnt support asynchronous wait state insertion function.
For example, 8051 CPU series have only fix access cycle time. For some application that the CPU has the
capability of wait state insertion, but the designer do not want to use the handshake signal in order to simply the
design. This application note is helpful for those cases.
The following criteria must be meet:
1. The bus access timing must meet the AC timing specification.
2. The remote DMA move data from/to data port access time cant faster than 120ns.
Solution:
Because of the access time from FIFO to Packet Buffer RAM or from Packet Buffer RAM to FIFO is
120ns/Word. The remote DMA read operation is the only case that RDY signal will be active to request some
wait state to pre-fetch data from RAM into FIFO. As soon as the first word of data feed into the FIFO, the RDY
will not active again for the lasting cycle. For the critical time, just insert No Operation instruction (to insert
wait state using software) after write remote DMA read command and before read data port.
Ex : IOBASE=300 ; Insert wait state by software.
Mov dx,308h ; Index = 308h
Mov al,0h ;
Out dx,al ; Set Remote Start Address low byte = 0
Inc dx ; Index = 309h
Mov al,4dh ;
Out dx,al ; Set Remote Start Address high byte = 4d
Inc dx ; Index = 30Ah
Mov al,40h ;
Out dx,al ; Set Remote DMA Byte Count low byte = 40h
Inc dx ; Index = 30Bh
Mov al,40h ;
Out dx,al ; Set Remote DMA Byte Count high byte = 00h
Mov dx,300h ; Index = 300h
Mov al,0ah ;
Out dx,al ; Set remote DMA read command
Nop ; Insert wait state here
Nop ; Insert more wait states again if necessary
Mov dx,310h ; Index = 310h
Lea di, RxBuffer ; Set Rx Buffer Address
Mov cx, RxLen ; Set Rx Length
Rep insw ; Read data port
ASIX ELECTRONICS CORPORATION
37
AX88195 Local CPU Bus Fast Ethernet MAC Controller
Errata of AX88195 V1
1. Interrupt Status cant always clean up
Solution : Using software to do clean and check iteration until clean up.
Ex : IOBASE=300 ; Clear Tx/Rx interrupt.
Mov dx,307h
ClrISR : Mov al,3 ; clear Tx/Rx interrupt
Out dx,al ; output to clear ISR
In al,dx ; read ISR
Test al,3 ; Check ISR cleared or not
Jz ClrISRDone ; Clear ok
Mov al,0 ; if not, clear again
Out dx,al
Jmp ClrISR
ClrISRDone: ; clear successful
2. DTACK cant fit 68K CPU timing in 68K mode
Solution : Using the DTACK automatic insertion function in 68K CPU.