MX9691A
1
P/N:PM0539 REV. 1.0, OCT. 02, 1998
SINGLE CHIP SOLID STATE DISK CONTROLLER
FEATURES
Host Interface
Fully compatible with PCMCIA Release 2.1, and PC
Card ATA Release 1.02 specification.
Compatible with all PC Card Services and Socket
Service.
Fast ATA host-to-buffer burst transfer rates up to 20MB/
sec. which support PIO mode 4(16.6MB/sec) and DMA
mode 3(16.6MB/sec).
Automatic sensing of PCMCIA or ATA host interface.
Integrated PCMCIA attribute memory of 256 bytes
(CIS).
- CIS and Buffer RAM use same SRAM area to
simplify internal bus design
PCMCIA card configuration register support.
Polarity control for host reset signal.
PCMCIA twin card support.
PCMCIA based ATA address decode support.
Emulate the IBM task file for PC/AT.
Separate status for Bus reset and Host program reset.
Separate Host and Disk interrupt pins.
Flash Memory Interface
Support all the control signals to execute read/write/
erase operation for flash memory.
Upto 32MB(unformatted) capacity for 16 pcs. 16Mbit
flash memory or 64MB(unformatted) capacity for 16
pcs. 32Mbit flash memory.
Flash Memory Power Down or write protect control
support.
- Don't power down the flash memory chip which
used to store firmware
Flash Memory Ready/Busy status detect.
Inverted data bus control to reduce program operation
in DOS FAT and ECC code field.
Optional store firmware in flash memory array w/o
externalROM.
- Shadow ROM control to allow code fetch during
data program or erase
Media speed is upto 8MB/sec, sustain read data rate
and 125KB/sec write data rate.
Buffer RAM contr ol
Dual port circular Buffer RAM control
1KB data Buffer RAM.
Automatically correct error data in Buffer RAM.
- Single word error correct and double word detect.
Provide logic to speed up Buffer RAM access.
Support 8 bit as well as 16 bit transfer on host bus.
DSP core
High performance MX93011 DSP (21Mips) core.
4KB Internal RAM(direct access).
2KB Internal expansion RAM(indirect access) for store
data or shadow ROM space.
ICE debugging mode supported to ease system
verification.
Lower power and automatic power saving operation
Technology
128 pin LQFP
0.6um Low-power, High-speed CMOS technology.
•5V±10% or 3.3V±5%
Utility Support
Upload firmware from Host.
Physical Devices test.
Preformat.
CIS Manufacturer code and Model code edit.
2
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
PIN CONFIGURATION
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
HA2
REG#
HA1
SPKR
HA0
GND
STSCHG
HD0
HD8
HD1
HD9
HD2
HD10
IOIS16#
PWR_RST
TEST
VCC
X1
X2
GND
ROMWR#
ROMCS#
XF#
HLDA#
VCC
X32I
X32O
GND
DCE#
PCE#
WR#
RD#
FA16
FA15
A14
A13
A12
LED#
GND
A11
A10
A9
A8
FA19
FRY/FBY#
INT1#
NMI#
HOLD#
VCC
WRFLASH0#
WRFLASH1#
FA18
FA17
A15
A7
A6
GND
A5
A4
A3
A2
A1
A0
PWD0#
D7
D6
D5
D4
D3
GND
D2
D1
D0
RDFLASH0#
FCE7#
FCE2#
VCC
FCE1#
FCE0#
GND
FCE6#
FCE5#
FCE4#
FCE3#
VCC
RDFLASH1#
D8
D9
D10
D11
GND
D12
D13
D14
D15
PWD1#
HD3
HD11
HD4
HD12
HD5
HD13
HD6
HD14
GND
IREQ#
INPACK#
HD7
HD15
HCE1#
HCE2#
HA10
VCC
HOE#
IOR#
HA9
GND
IOW#
HA8
VCC
HWE#
HA7
HA6
HA5
HRESET
HA4
WAIT
HA3
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
128
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
108
107
106
105
104
103
102
101
100
99
98
97
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
MX9691A
3
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
GENERAL DESCRIPTION
The Macronix's Solid State Disk controller is fully inte-
gr ated flash memory controller that provides all the con-
trol logic for a PC Card ATA flash memory . The MX9691A
combines 1KB dual-port buffer and buffer manager , inte-
grated MX93011 DSP core , and a complete host inter-
f ace f or both the PC Card ATA and ATA standard.
The MX9691A is typically configured with up to
32MB(unformatted) capacity for 16 pcs. 16Mbit flash
memory or 64MB(unformatted) capacity for 16 pcs.
32Mbit flash memory. The MX9691A supports all the
control signals to ex ecute read/write/erase operation for
flash memory chip .
The MX9691A is fully compliant with the PC Card ATA
specification. It includes 256 bytes of integrated attribute
memory(for the required Card Information Structure) and
four Card Configuration registers. The PCMCIA device
driver can access the MX9691A ATA command block
through four different modes by writing the different modes
by writing the configuration index of the attribute memory
configuration option register .
PIN DESCRIPTION
Host Interface
Symbol No. Type Description
HA[10:0] 92,94, 96-97, I Host address line 10-0.
99,101-103, These pins include internal pull-up resistors .
106,109,113
HD[15:0] 84-89,116-117, I/O Host data line 15-0.
121-128 These pins include internal b us holder circuit that keep previous state
when tri-state.
HOE#,HWE# 104,111 I Host memory read/write/mode select : Both pins include internal pull-
up resistors that is def ault in PCMCIA mode.
IOR#,IOW# 107,110 I Host I/O access.
Both pins include internal pull-up resistors .
HRESET/ 100 I The host reset signal, when active , initializes the control/status
HRESET# registers and stops any command in process .In PCMCIA mode , the
signal is active high. In ATA extension mode, this signal is activ e lo w.
This signal include internal pull-down resistor .
W AIT/ 98 O ,OD WAIT or INPUT CHANNEL READY : In both PCMCIA and ATA
IOCHRDY e xtension modes, this signal holds host transfers until the controller is
ready to respond.
RDY/BSY#/ 119 O ,Z READY/BUSY or HOST INTERR UPT : In PCMCIA mode, this signal
IREQ#/ has two functions . In PCMCIA common memory mode, this signal is
HOSTINT ready/busy. It is asserted busy by the reset logic, and can be deasserted
b y the local uC . In PCMCIA I/O mode, this signal is IREQ#. In ATA
e xtension mode , this activ e high signal is HOSTINT, which, when
enable , send an interrupt to the host.
4
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
Symbol No. Type Description
WP/IOCS16# 8 3 O ,OD WRITE PR OTECT or 16-bit I/O TRANSFER : In PCMCIA mode , this
bit has two functions. In PCMCIA common-memory mode,this signal
indicates write protect. In PCMCIA I/O mode, when IOIS16# is as
serted low, it indicates that a 16-bit data transfer is activ e on PCMCIA
bus. In ATA extension mode, the IOCS16# signal indicates that a 16-bit
b uffer tr ansf er is activ e on the host bus . This open dr ain signal is only
driven on assertion(low).
REG#/D ACK# 95 I Attribute memory and I/O select : In PCMCIA mode, this signal is used
to select attrib ute memory and I/O space. In ATA e xtension mode, this
signal is used during DMA with the DREQ, IOR# and IOW# signals to
transfer data between the host and the MX9691A. This pin includes an
internal pull-up resistor .
HCE1#/ 115 I Card enab le 1 or Chip select 0: In PCMCIA mode ,this signal is card
CS1FX# enable 1. This signal can enable either even or odd numbered-address
b ytes onto HD7:0. In ATA extension mode , this signal accesses the
MX9691A command bloc k registers. This input is ignored during DMA
data transf er, i.e . when the DACK# signal is lo w. This pin includes an
internal pull-up resistor .
HCE2#/ 114 I Card enab le 2 or Chip select 1: In PCMCIA mode,this signal is card
CS3FX# enable 2. This signal can enable odd numbered-address b ytes onto
HD15:8. In ATA e xtension mode , this signal accesses the MX9691A
control bloc k registers. This pin includes an internal pull-up resistor .
INPA CK#/ 118 O Input Ackno wledge or DMA request : In PCMCIA mode, this signal is
DREQ asserted when the MX9691A is configured to respond to I/O card read
cycles at all addresses. In ATA e xtension mode , this signal is DREQ
and is issued during DMA transfers to indicate that the MX9691A is
ready f or DMA tr ansf er.
SPKR/DASP# 93 I/O Speaker or sla ve present : In PCMCIA mode, the output-enable for this
signal is controlled by the card configur ation registers. In ATA
e xtension mode , this signal is used as the sla v e-present detector.
STSCHG/ 9 0 I/O Status change or pass diagnostics : In PCMCIA mode , this signal is
PDIAG# used to indicate changes in the RDY/BSY#,WP signals in card con
figuration registers. In ATA extension mode, this activ e lo w signal is
used between two embedded ATA driv e to indicate that the drive in
slav e mode has passed diagnostics .
5
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
Microcontr oller interface :
Symbol No. Type Description
D[15:0] 33-37, I/O DSP IO/RAM/ROM/FLASH memory arra y e xternal data bus. These
39-41, pins in clude internal pull-up resistors.
55-58,
60-63
A[15:0] 3-5, I/O In normal mode, these signals are output that used as DSP IO/RAM/
8-11, R OM e xternal address. A14-A0 are f or flash memory arra y address
22-24, also . In upg rade mode, these address is used for R OM address that
26-31 controlled by CYH,CYL registers . In ICE deb ugging mode, these ad
dress are input,asserted b y external MX93011 DSP. The internal DSP
is disabled. These pins include internal pull-up resistors .
PCE# 67 I/O In normal mode, this signal is output that is used as external program
chip enable. In upg rade mode , this signal is drived to high. In ICE de
bugging mode, this signal is input, asserted by e xternal MX93011 DSP.
The internal DSP is disabled. This pin includes a bus holder circuit.
DCE# 68 I/O In normal mode, this signal is output that is used as e xternal data chip
enable. In upg rade mode , this signal is driv ed to high. In ICE deb u g
ging mode, this signal is input, asserted by external MX93011 DSP.
The internal DSP is disab led. This pin includes a b us holder circuit.
RD# 65 I/O In normal mode, this signal is output that is used as DSP IO/RAM/
R OM e xternal read. In upgr ade mode , this signal is output and as
serted when the data register is read in host interf ace . In ICE deb ug
ging mode, this signal is input, asserted by external MX93011 DSP.
The internal DSP is disab led. This pin includes a b us holder circuit.
WR# 66 I/O In normal mode, this signal is output that is used as DSP IO/RAM/
R OM e xternal write. In upgrade mode, this signal is driv ed to high. In
ICE debugging mode, this signal is input, asserted by external MX93011
DSP. The internal DSP is disabled. This pin includes a b us holder cir
cuit.
NMI# 15 I Non maskab le interrupt pin. This pin includes an pull-up resistor.
INT1# 14 I/O In normal mode, this signal is input that is used as interrupt pin.
Interrupt will be internally asserted also when data transf er done , or
command end. In ICE deb ugging mode, this signal is output and as
serted when data transf er done , or command end. This pin includes
an pull-up resistor.
6
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
Symbol No. Type Description
HOLD# 16 I/O In normal mode, this signal is input that is used as holding DSP clock
down and release b us . Bus hold will be internally asserted also when
upgrade mode enab le . In ICE deb ugging mode , this signal is output
and asserted when upgrade mode enab le . In ICE debugging mode ,
this signal is output and asserted when upgr ade mode enable . This
pin includes an pull-up resistor .
HLDA# 73 I/O In normal mode, this signal is output that is used as ack to HOLD#
signal. This signal will be internally sent to PCMCIA/ATA interf ace also
when upgrade mode enab le . In ICE deb ugging mode, this signal is
input and ack to HOLD# when upgr ade mode enable . This pin in
cludes an pull-up resistor.
XF#/CPURST# 74 O External flag, this pin can be directly written b y one DSP instruction.
Def ault inactiv e (logic high). In ICE deb ugging mode, this signal is
used to reset CPU.
Flash Memory Interface :
Symbol No. Type Description
FA19/CLE 12 O In random mode, this signal is used as flash memory chip high
address line 19. In sequential mode, this signal is used as flash memory
chip command latch enable .
FA18/ALE/ 20 I/O In random mode, this signal is used as flash memory chip high
address line 18. In sequential mode, this signal is used as flash memory
chip address latch enab le . This signal is used to select whether the
MX9691A initializes in normal mode or in ICE debugging mode at power-
on reset. If this pin go high, then the MX9691A will s witch to normal
mode at power-on reset,and if this pin remains low , then the MX9691 A
will initializes in ICE deb ugging mode . This pin includes an internal
pull-up resistor .
ICEMODE
ICE debugging mode select :
ICEMODE=1 —> Normal mode
ICEMODE=0 —> ICE debugging mode
7
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
Symbol No. Type Description
FA17/EROM 21 I/O This signal is used as flash memory chip high address line 17. This
signal is used to select whether the firmware store in flash memory
array or in separate external ROM at power-on reset. If this pin go high,
then the firmware will be executed in flash memory array , and if this pin
remains low, then the firmware will be e xecuted in separate e xternal
ROM.
Store firmw are in external R OM or Flash memory array:
EROM = 0 —> Store in External ROM
EROM = 1 —> Store in flash memory array
This pin includes an internal pull-up resistor .
F A[16:15]/ 1-2 I/O This signal is used as flash memory chip high address line 16-15. These
ATADET[1:0] signals are used to select configuration in ATA extension mode at power-
on reset. ATADET1 is connected to DSP's IPT1. A TADET0 is connected
to DSP's IPT0. VDD is connected to IPT2.
Master/Slav e selection in ATA mode :
ATADET1 ATADET0 mode selected
1 1 one drive
0 0 master of two driv es
1 0 slave of two drives
This pow er-on configuration can be accessed from PCMCIA/ATA port
601Ch bit3-2. These pins include internal pull-up resistors.
RDFLASH1# 54 O Flash memory ouptut enable 1 f or bank1: This signal will be asserted
by flash memory read operation when flash memory read address latch,
port 601Dh bit 8 = 1(i.e. F A23=1).
Note: Flash memory access window is mapped to 32KW data and
code space 8000h~ffffh.
RDFLASH0# 42 O Flash memory ouptut enable 0 f or bank0: This signal will be asserted
by flash memory read operation when flash memory read address latch,
port 601Dh bit 8 = 0(i.e. F A23=0).
WRFLASH1# 19 O Flash memory write enable 1 for bank1: This signal will be asserted by
flash memory write operation when flash memory write address latch,
port 601Fh bit 8 = 1(i.e. F A23=1).
WRFLASH0# 18 O Flash memory write enable 0 for bank0: This signal will be asserted by
flash memory write operation when flash memory write address latch,
port 601Fh bit 8 = 0(i.e. F A23=0).
8
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
Symbol No. Type Description
FCE[7:0]# 43-44,46-47, O Flash memory chip enab le 7-0 :
49-52 In random mode , These signals are decoded from port 601Dh bit 7-5
when flash memory read or port 601Fh bit 7-5 when flash memory
write.
Decoding combination :
bit7 bit6 bit5 FCE[7:0]#
0 0 0 11111110
0 0 1 11111011
0 1 0 11101111
0 1 1 10111111
1 0 0 11111101
1 0 1 11110111
1 1 0 11011111
1 1 1 01111111
In sequential mode, These are decoded from port 601Dh bit 7-5 only
when port 601Eh bit 2 is set.
PWD0# 32 O Deep pow er do wn output 0 f or bank0: This signal will put the flash
memory chips of bank0 in deep power-do wn mode. PWD0# is activ e
low;PWD0# high enables normal operation. PWD0# also locks out erase
or program operation when active low providing data protection during
pow er transitions . Po wer do wn pin PWD0# will be activ e if FA23=1.
PWD1# 64 O Deep pow er do wn output 1 f or bank1: This signal will put the flash
memory chips of bank1 in deep power-do wn mode. PWD1# is activ e
low;PWD1# high enables normal operation. PWD1# also locks out erase
or program operation when active low providing data protection during
pow er transitions . Po wer do wn pin PWD1# will be activ e if FA23=0.
FR Y/FBY# 13 I Flash memory Ready/busy input:
This signal indicate the state of erase or prog ram oper ation in flash
memory chips.This pin includes an internal pull-up resistor.
9
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
Control ROM interface :
Symbol No. Type Description
R OMCS#/ 75 O R OM chip select/Flash memory data buff er enab le : In normal mode ,
FWIN# this signal is used as ROM chip enable if firmware that stored in
e xternal ROM. In ICE deb ugging mode , this signal is used as flash
memory data buffer (74640) enable if firmware that stored in flash
memory arra y.
R OMWR#/ 76 O R OM write enable/Flash memory data buff er direction control: In
FDIR normal mode, this signal is used as ROM write enable if firmware that
stored in e xternal ROM. In ICE deb ugging mode, this signal is used as
flash memory data buffer (74640) direction control if firmware that stored
in flash memory array.
Miscellaneous :
Symbol No. Type Description
X1 79 I Crystal input.
X2 78 O Crystal ouput.
X32I 71 I 32K Crystal input.
X32O 70 I 32K Crystal output.
TEST 81 I This signal is used to select the main system clock, either from
e xternal cloc k source if this signal is high or from internal PLL circuit if
this signal is low. This pin includes an internal pull-up resistor .
PWR_RST# 82 I P o wer on reset, CMOS Schmite-triggered: The MX9691A include
debouncing circuit to stabilize internal DSP reset signal.
LED# 6 O LED output: This signal is connected to external LED in debugging
system to indicate system status. The LED will be turn-on during reset.
The contorl firmw are will turn off the LED after H/W initialization and
pass diagnostics. If system f ail, the control firmware will flash the LED
to indicate some error occur . This signal will be high if port 601Ch bit0
set to 1 or OPTR bit2 set to 1.
VCC 17,45,53,72, 5 v olt or 3.3 v olt Pow er pin
80,105,112
GND 7,25,38,48, Ground pin
59,69,77,91,
108,120
10
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
MX93011
DSP CORE
Clock & Reset
Register Bank
1KB Buffer
RAM
4KB Internal
RAM
2KB Internal
RAM
Flash Memory
Control
ECC Control
Logic
256 Byte
CIS RAM
MX9691A Signal Chip Solid State Disk Controller
Buffer RAM
Control
External Memory Bus
Clock
Host Interface
PCMCIA/ATA Flash
Interface
PCMCIA/ATA
interface
Functional and Operation Description
Block Dia gram
11
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
P o wer-on detection:
(1). Store firmware in external ROM or Flash memory
array :
FA17/EROM = 0 > Store in External ROM
FA17/EROM = 1 —> Store in flash memory arra y
(2). Master/Sla v e selection in ATA e xtension mode :
FA16/ATADET1 FA15/ATADET0 mode selected
1 1 one drive
0 0 master of two drives
1 0 slave of two drives
(3). ICE deb ugging mode select :
FA18/ICEMDOE = 0 —> ICE deb ugging mode
FA18/ICEMODE = 1 —> Normal mode
(4). Flash memory data buff er control
R OMCS# is replaced by FWIN# if ICE
debugging mode & firmware in flash
memory array R OMWR# is replaced b y
FDIR if ICE debugging mode&firmware
in flash memory array
(5). PCMCIA or ATA extension select
HOE# HWE# mode
0 0 ATA extension mode
others PCMCIA mode
System Memory Map :
(1). Data Space :
Address Function & Usage
0000h~007fh Internal RAM (128W) to store control v ariables
0080h~07ffh Internal RAM(1920W) f or flash memory algorithm usage
0800h~5fffh User define (22kW)
6000h~63ffh I/O range(1kW): ATA CTL. use I/O range (6000h~601fh)
6400h~6fffh User define (3kW)
7000h~73ffh User define (1kW)
7400h~77ffh Internal RAM (1kW) for expansion RAM or shado w R OM space
7800h~7fffh ROM Data space(2kW)
8000h~ffffh Flash memory access windo ws(32kW)
(2). Progr am Space :
Address Function & Usage
0000h~77ffh ROM prog ram space (32kW)
7800h~7fffh Unused
8000h~ffffh Flash memory access windo ws(32kW)
12
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
Registers definition:
(1). Register List :
Type of Register Location
PCMCIA/ATA Interf ace 6000h, 6001h, 6002h, 6003h, 6004h, 6005h, 6006h, 6007h, 600Bh, 6010h,
6011h, 6012h, 6013h, 6019h, 601Ah, 601Bh, 601Ch
PC INTERR UPT CONTR OL 6009h, 600Ah
BUFFER MANAGER AND DMA 6008h, 6014h, 6015h, 6016h, 6017h, 6018h
ECC Control 600Ch, 600Dh, 600Eh, 600Fh
Flash Memory Interface 601Dh, 601Eh, 601Fh
(2). Register Description :
Port 6000h :
Bit Function Description
AT CONTR OL/STATUS REGISTER
Def ault reset v alue : 01h
7 R/W: DRIVE READY (driv e 0)
6 R/W: DRIVE SEEK COMPLETE (drive 0)
5 R/W: CORRECTED DATA
4 R: ATA INT. ENABLE
3 R: AT SOFTWARE RESET
2 R/W: HOST INTERRUPT
1 R/W: ERR OR BIT
0 R/W: BUSY BIT
Port 6001h :
Bit Function Description
Def ault reset v alue : 00h
7:0 R/W: ERROR REGISTER (map to command b lock 1f1h)
Port 6002h :
Bit Function Description
Def ault reset v alue : 01h
7:0 R/W: SECT OR COUNT REGISTER (map to command bloc k 1f2h)
13
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
Port 6003h :
Bit Function Description
Def ault reset v alue : 01h
7:0 R/W: SECTOR NUMBER REGISTER (map to command b lock 1f3h)
Port 6004h :
Bit Function Description
Def ault reset v alue : 00h
7:0 R/W: CYCLINDER LO W REGISTER (map to command b loc k 1f4h)
Port 6005h :
Bit Function Description
Def ault reset v alue : 00h
7:0 R/W: CYCLINDER HIGH REGISTER (map to command bloc k 1f5h)
Port 6006h :
Bit Function Description
Def ault reset v alue : A0h
7:0 R/W: DRIVE/HEAD REGISTER (map to command b lock 1f6h)
Port 6007h :
Bit Function Description
Def ault reset v alue : 00h
7:0 R: COMMAND REGISTER (map to command bloc k 1f7h)
Port 6008h :
Bit Function Description
BUFFER RAM SIZE CONTR OL REGISTER
Def ault reset v alue : 40h
7 R/W: TEST MODE 1 for HAP/D AP test
0 : DISABLE
1 : ENABLE
6 R/W: BIT WRITE GATE STATE OF DRIVE
0 : ENABLE
1 : DISABLE
14
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
Bit Function Description
5 R: PCMCIA/ATA
0 : ATA extension mode
1 : PCMCIA mode
4 R/W: A uto D AP increment
0 : Disable
1 : Enab le
3 R/W: Shado w ROM control
0 : Disable
1 : Enab le
2:0 R/W: BUFFER RAM SIZE CONTROL
00x : 32KW
010 : 16KW
011 : 8KW
100 : 4KW
101 : 2KW
110 : 1KW
111 : 512W
Port 6009h :
Bit Function Description
HOST INTERR UPT STATUS
Def ault reset v alue : 00h
7 R: Pow er-Down timer time-out detected
6 R: Card configuration register write detected
5 R: CIS accessed detected
4 R: Hreset detected
3 R: PC SRST(or PCMCIA SRST) DETECTED
2 R: PC STATUS READ DETECTED
1 R: PC SELECTION
0 R: PC TRANSFER DONE
15
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
Port 600Ah :
Bit Function Description
HOST INTERR UPT ENABLE
Def ault reset v alue : 00h
7 R/W: P o wer-Down timer time-out detected enab le.
6 R/W: Card configuration register write detected enable
5 R/W: CIS accessed detected enab le
4 R/W: Hreset detected enable
3 R/W: PC SRST(PCMCIA SRST) DETECTED ENABLE
2 R/W: PC STATUS READ DETECTED ENABLE
1 R/W: PC SELECTION ENABLE
0 R/W: PC TRANSFER DONE ENABLE
Port 600Bh :
Bit Function Description
Def ault reset v alue : 00h
7:0 R: Feature register (map to command b loc k 1f1h)
Port 600Ch :
Bit Function Description
ECC CONTROL REGISTER
Def ault reset v alue : 00h
7 R/W: ECC FUNCTION SUSPEND
0 : NORMAL
1 : SUSPEND
6 R/W: CORRECTION SPEED SELECT
0 : FULL SPEED
1 : HALF SPEED
5 R/W: ENCODE/DECODE FUNCTION SELECTION
0 : ENCODE
1 : DECODE
4 R/W: RESET ECC CIRCUIT
0 : RESET
1 : NORMAL
3 R: UNCORRECTABLE ERR OR FLA G
2 R: CORRECTABLE ERR OR FLA G
1 R: CORRECTION DONE FLA G
0 R/W: START ECC CORRECT FUNCTION ENABLE/DISABLE
0 : DISABLE
1 : ENABLE
16
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
Port 600Dh :
Bit Function Description
Def ault reset v alue : 0000h
15:0 R/W : ECC 0 REGISTER
Port 600Eh :
Bit Function Description
Def ault reset v alue : 0000h
15:0 R/W : ECC 1 REGISTER
Port 600Fh :
Bit Function Description
Def ault reset v alue : 0000h
15:0 R/W : ECC 2 REGISTER
Port 6010h :
Bit Function Description
Def ault reset v alue : 00h
7:0 R: Configuration Option register (map to attrib ute memory 200h)
Port 6011h :
Bit Function Description
Def ault reset v alue : 00h
7:0 R: Card Configuration and status register (map to attribute memory 202h)
Port 6012h :
Bit Function Description
Def ault reset v alue : 0Ch
7:0 R: Pin replacement register (map to attribute memory 204h)
Port 6013h :
Bit Function Description
Def ault reset v alue : 00h
7:0 R: Sock et and cop y register (map to attribute memory 206h)
17
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
Port 6014h :
Bit Function Description
Def ault reset v alue : 0000h
15:0 R/W : HOST ADDRESS POINTER
Port 6015h :
Bit Function Description
Def ault reset v alue : 00ffh
15:0 R/W : AT STOP POINTER
Port 6016h :
Bit Function Description
Def ault reset v alue : 0000h
15:0 R/W : DISK ADDRESS POINTER
Port 6017h :
Bit Function Description
DMA CONTROL REGISTER
Def ault reset v alue : 08h
7 R/W: DRIVE READY (driv e 1)
6 R/W: DRIVE SEEK COMPLETE (driv e 1)
5 R/W: set BSY upon XFER done
0 : DISABLE
1 : ENABLE
4 R/W: ENABLE A UTO INTERRUPTS - AT ONLY
0 : DISABLE
1 : ENABLE
3 R/W: B UFFER RAM CHIP ENABLE
0 : ENABLE
1 : DISABLE
2 R/W: HOST BUS DIRECTION
0 : STAR T B UFFER -> AT BUS
1 : STAR T AT BUS -> BUFFER WHEN SET
1 R: A COMPLETION OF AT DMA XFER
0 R/W: STAR T DATA TRANSFER BETWEEN AT BUS AND BUFFER RAM
0 : DISABLE
1 : ENABLE
18
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
Port 6018h :
Bit Function Description
15:0 R/W : ACCESS PORT INT O BUFFER RAM
Port 6019h :
Bit Function Description
PCMCIA control register
7 R: ATA extension mode
6 R: Common memory mode
5 R: I/O mode
4 R/W: host ready
3 R/W: no drive address
2 R/W: Internal registers write pulse width
0 : 2 system clock
1 : 1 system clock
1 R/W: F orce ATA mode
0 R/W: F orce PCMCIA mode
Port 601Ah :
Bit Function Description
A uxi_ctl_1 reg.
Def ault reset v alue : 00h
7 R/W : DASP
6 R/W : Host Interrupt lev el mode or pulse mode select
0: Le v el mode
1: Pulse mode
5 R/W : PDIA G
4 R/W : DASP output enable
3 R/W: write protect enable
0: Disab le
1: Enable
2 R/W: PDIA G output enable
1 R/W: master/slav e mode enab le
0: Disab le
1: Enable
0 R/W: master/salv e of ATA mode
0: master
1: slav e
19
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
Port 601Bh :
Bit Function Description
A uxi_ctl_2 reg.
Def ault reset v alue : 00h
7:4 Reserved.
3 R/W: Force the CPU that fetch codes from flash memory array
2 R/W: F orce the system that become ICE deb ugging mode
1 R/W: Host interf ace RESET polarity
0: Low activ e
1: High active
0 R/W: Disk interrupt polarity
0: Low activ e
1: High active
Port 601Ch :
Bit Function Description
A uxi_ctl_3 reg.
Def ault reset v alue : 0000h
15 Reserved
14 R/W : Test mode 2 f or timer
0 : Normal mode
1 : Test mode enable
13 R : DRQ
12 R : Time out status
1 : Time out event occurence
11 R/W: Timer enable/disable
0 : Disable
1 : Enab le
20
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
Port 601Ch :
Bit Function Description
10:9 R/W: Power-do wn timer time-out select for 25MHz main clock
00 : 16 x 1.28 = 20.48 sec.
01 : 8 x 1.28 = 10.24 sec.
10 : 4 x 1.28 = 5.12 sec.
11 : 2 x 1.28 = 2.56 sec.
8 R : ICE debugging mode detected
0 : ICE deb ugging mode
1 : Normal
7 R/W : Inv erted data bus for access flash memory.
0 : Inv erted
1 : Non-in v erted
6 R: External R OM detect.
0: Firmware stored in external ROM
1: Firmw are stored in flash memory arra y
5:4 R/W: Shado w R OM space control
00 : 512 bytes , Range: 7400h ~ 74ffh
01 : 1Kbytes , Range: 7400h ~ 75ffh
10 : 1.5Kb ytes , Range: 7400h ~ 76ffh
11 : 2Kbytes , Range: 7400h ~ 77ffh
3:2 R : Master/Slave mode detect in ATA mode
00 : Master of two drives
10 : Slav e of tw o driv es
11 : One drive
1 R/W: PIO/DMA mode select
0: PIO mode
1: DMA mode
0 R/W: LED output
Port 601Dh :
Bit Function Description
Def ault reset v alue : 0000h
9:0 R/W : Flash memory Read address FA[24:15] latch for r andom mode
When data space 8000h ~ ffffh is read, the output of the flash memory
read address latch will be used.
21
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
F or sequential mode this register has diff erent definitions
9:8 Reserved
7:5 R/W: FCE select f or sequential mode
000: FCE0
001: FCE2
010: FCE4
011: FCE6
100: FCE1
101: FCE3
110: FCE5
111: FCE7
4 R/W: Command latch enab le (FA19/CLE)
0 : Disable
1 : Enab le
3 R/W: Address latch enab le (FA18/ALE)
0 : Disable
1 : Enab le
2:0 Reserved
Port 601Eh :
Bit Function Description
Flash memory control register
Def ault reset v alue : 08Ah
7 R/W: Flash memory deep power do wn control 0
0 : Enab le
Power Down pin PWD0# active or FA23=1 for 16Mbit Random access
flash memory
1 : Disable
6 R : Ready / Busy status
0 : BUSY
1 : READY
5:4 R/W: Flash memory type select
00 : 4M flash memory /Bank 0 select f or sequential select
01 : 16M flash memory /Bank 1 select for sequential select
10 : Reserved
11 : Reserved
22
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
Bit Function Description
3 R/W: Flash memory deep power do wn control 1
0 : Enab le
Power Down pin PWD1# active or FA23=0 for 16Mbit Random access
flash memory
1 : Disable
2 R/W: CE# enable f or sequential mode
0 : Disable
1 : Enab le
1 R/W: Sequential mode select
0 : Random mode
1 : Sequential mode
0 R/W: Flash memory write pulse width control
0 : 1 system clock
1 : 2 system clock
Port 601Fh :
Bit Function Description
Def ault reset v alue : 0000h
R/W : Flash memory Write address FA[24:15] latch f or random mode
When data space 8000h ~ ffffh is write or program space 8000h ~ ffffh
is read, the output of the flash memory write address latch will be
used.
F or sequential mode this register is reserved.
23
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
ELECTRICAL SPECIFICATIONS
DC Characteristics 1 : Ta = 0oC to 70 oC, VCC = 5V±±
±±
±10%
Symbol Parameter Min Max Units Conditions
VCC P o wer Supply v oltage 4.5 5.5 V
VIL1 Input Low v oltage (TTL) 0.8 V VCC=5V
VIH1 Input High voltage (TTL) 2.0 V VCC=5V
VIL2 Input Low v oltage (CMOS) 0.8 V VCC=5V
VIH2 Input High v oltage (CMOS) 3.5 V VCC=5V
V OL Output Low v oltage 0.4 V IOL=8mA
V OH Output High voltage 2.4 V IOH=-8mA
ICC1 Supply Current 1 40 mA f = 25Mhz, Active mode , CL = 0pf,
VCC=5.5Volt, T emperature= 0oC
ICC2 Supply Current 2 35 mA f = 25Mhz, Idle mode, CL = 0pf,
VCC=5.5Volt, T emperature= 0oC
ICC3 Supply Currect 3 10 mA f = 25Mhz, Standby mode , CL = 0pf,
VCC=5.5Volt, T emperature= 0oC
ICC4 Supply Current 4 1 mA f = 0Mhz, Sleep mode, CL = 0pf ,
VCC=5.5Volt, T emperature= 0oC
IL Input Leakage ±10 uA 0< VIN < VCC
CIN Input Capacitance 14 pf VIN=0V
COUT Output Capacitance 16 pf V OUT=0V
Note : During transitions, inputs may undershoot to -2.0V for periods less than 20ns and overshoot to VCC + 2.0V for
periods less than 20ns.
24
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
DC Characteristics 2 : Ta = 0 oC to 70 oC, VCC = 3.3V±±
±±
±5%
Symbol Parameter Min Max Units Conditions
VCC P o wer Supply v oltage 3.1 3.5 V
VIL1 Input Low v oltage(TTL) 0.8 V VCC=3.3V
VIH1 Input High voltage(TTL) 2.0 V VCC=3.3V
VIL2 Input Low v oltage(CMOS) 0.8 V VCC=3.3V
VIH2 Input High voltage(CMOS) 2.7 V VCC=3.3V
V OL Output Low voltage 0.4 V IOL=4mA
V OH Output High voltage 2.2 V IOH=-4mA
ICC1 Supply Current 1 20 mA f = 16Mhz, Active mode, CL =
0pf, VCC=3.5Volt,Temperature=
0oC
ICC2 Supply Current 2 15 mA f = 16Mhz, Idle mode, CL = 0pf,
VCC=3.5V olt,T emperature= 0oC
ICC3 Supply Currect 3 5 mA f = 16Mhz, Standby mode, CL =
0pf, VCC=3.5Volt,Temperature=
0oC
ICC4 Supply Current 4 0.5 mA f = 0Mhz, Sleep mode, CL = 0pf,
VCC=3.5V olt,T emperature= 0oC
IL Input Leakage ±10 uA 0< VIN < VCC
CIN Input Capacitance 14 pf VIN=0V
COUT Output Capacitance 16 pf V OUT=0V
Note : During transitions, inputs may undershoot to -2.0V for periods less than 20ns and overshoot to VCC + 2.0V for
periods less than 20ns.
25
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
AC Characteristics (Condition : Ta=0 oC to 70 oC, VCC = 5V±±
±±
±10% or VCC = 3.3V±±
±±
±5%)
DSP Interface Timing
VCC = 5V±10%
Symbol Description Min. Typ. Max. Unit
Tw In ICE mode, WR# pulse dur ation when the data are accessed 4Tc
by e xternal DSP.
Trd In ICE mode, RD# to output dela y when the data are accessed 34 ns
by e xternal DSP.
Tcs Chip select access cycle 1.5Tc 4.5Tc ns
Taa Address access cycle 1.5Tc 4.5Tc ns
Trds Data setup time bef ore RD# high 12 ns
Tdh Data hold time after RD# high 0 ns
VCC = 3.3V±5%
Symbol Description Min. Typ. Max. Unit
Tw In ICE mode , WR# pulse duration when the data are accessed 4Tc
b y external DSP.
Trd In ICE mode, RD# to output delay when the data are accessed 34 ns
b y external DSP.
Tcs Chip select access cycle 1.5Tc 4.5Tc ns
Taa Address access cycle 1.5Tc 4.5Tc ns
Trds Data setup time bef ore RD# high 15 ns
Tdh Data hold time after RD# high 0 ns
26
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
WR#
DCE#
A[15:0]
Tdh
Trds
Tcs
Taa
Tw
RD#
D[15:0]
A[15:0]
HD[15:0]
DCE#/PCE#
RD#
DCE#
A[15:0]
Trd
D[15:0]
27
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
P o wer Reset Timing
VCC = 5V±10% or VCC = 3.3V±5%
Symbol Description Min. Typ. Max. Unit
Tw(rst) Reset low pulse width 3Tc ns
Clock Timing
VCC = 5V±10%
Symbol Description Min. Typ. Max. Unit
Tc(c) Cloc k cycle time 40 ns
Tlpd(c) Clock lo w pulse dur ation(Tc=40ns) 16 24 ns
Thpd(c) Clock high pulse dur ation(Tc=40ns) 16 24 ns
VCC = 3.3V±5%
Symbol Description Min. Typ. Max. Unit
Tc(c) Clock cycle time 62.5 ns
Tlpd(c) Clock lo w pulse duration(Tc=62.5ns) 25 37.5 ns
Thpd(c) Clock high pulse dur ation(Tc=62.5ns) 25 37.5 ns
Tw(rst)
CLK IN
PWR RST# Tc
TlpdThp
28
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
Interrupt Timing
VCC = 5V±10%
Symbol Description Min. Typ. Max. Unit
Tw INT1# low pulse duration 1.5Tc ns
Tf INT1# fall time 10 ns
VCC = 3.3V±5%
Symbol Description Min. Typ. Max. Unit
Tw INT1# low pulse duration 1.5Tc ns
Tf INT1# fall time ns
HOLD# Timing
VCC = 5V±10% or VCC = 3.3V±5%
Symbol Description Min. Typ. Max. Unit
Td(al-h) HLD A# low to address tri-state 0 ns
Td(hh-ha) HOLD# high to HLDA# high 0 0.5Tc 0.5Tc+10 ns
Ten(ah-a) Address driven after HLD A# high 0.5Tc
-10 0.5Tc Tc ns
HOLD#
INT1
Td(al-h)
Td(hh-ha)
Tf
HLDA#
AD[15:0]
Tw
Ten(ah-a)
29
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
PCMCIA Bus Timing 1: Common Memory and Attribute memory Access Timing
VCC = 5V±10%
Symbol Parameter Min (ns) Max (ns)
T1 Chip enab le setup time bef ore output enable 0
T2 Output data enab le time from HOE# 31
T3 Chip disable hold time f ollowing output disab le 1.5
T4 Output data disable time f ollo wing HOE# 10.5
T5 Chip enab le setup time bef ore HWE# 0
T6 Chip disable hold time following write disable 2
T7 Data setup time bef ore HWE# 0
T8 Data hold time f ollowing HWE# 2.5
VCC = 3.3V±5%
Symbol Parameter Min (ns) Max (ns)
T1 Chip enable setup time bef ore output enab le 0
T2 Output data enable time from HOE# 47
T3 Chip disable hold time f ollowing output disab le 3
T4 Output data disable time f ollowing HOE# 17
T5 Chip enable setup time bef ore HWE# 0
T6 Chip disable hold time f ollowing write disable 2.5
T7 Data setup time before HWE# 0
T8 Data hold time following HWE# 3
30
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
CE[2:1]#
HOE#
HA[10:0]
REG#
Common Memory and Attribute Memory Read Timing
T2
T1
HD[15:0]
T4
T3
CE[2:1]#
HWE#
HA[10:0]
REG#
Common Memory and Attribute Memory WriteTiming
T5
HD[15:0]
T7
T8
T6
31
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
PCMCIA Bus Timing 2: I/O mode Access Timing
VCC = 5V±10%
Symbol Parameter Min (ns) Max (ns)
T1 Address hold time f ollo wing IOR# 2
T2 REG# setup time bef ore IOR# 0
T3 REG# hold time f ollo wing IOR# 0
T4 CE# setup time bef ore IOR# 0
T5 CE# hold time f ollo wing IOR# 2
T6 Address setup time bef ore IOR# 0
T7 INPA CK dela y from IOR# f alling 10
T8 INPA CK dela y from IOR# rising 10.5
T9 IOIS16 f alling dela y after Address changed 14
T10 Data dela y after IOR# f alling 32
T11 IOIS16 rising dela y after Address changed 12.5
T12 Data hold time f ollowing IOR# 20
T13 Address hold time f ollowing IOW# 3
T14 REG# setup time bef ore IOW# 0
T15 REG# hold time f ollowing IO W# 0
T16 CE# setup time bef ore IOW# 0
T17 CE# hold time f ollowing IO W# 2
T18 Address setup time bef ore IO W# 0
T19 IOIS16 rising dela y after Address changed 10.5
T20 IOIS16 f alling dela y after Address changed 14
T21 Data setup time bef ore IO W# 0
T22 Data hold time f ollowing IO W# 2.5
32
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
VCC = 3.3V±5%
Symbol Parameter Min (ns) Max (ns)
T1 Address hold time following IOR# 2
T2 REG# setup time before IOR# 0
T3 REG# hold time following IOR# 0
T4 CE# setup time before IOR# 0
T5 CE# hold time following IOR# 2
T6 Address setup time before IOR# 0
T7 INPA CK dela y from IOR# f alling 18
T8 INPA CK delay from IOR# rising 18
T9 IOIS16 falling dela y after Address changed 23.5
T10 Data delay after IOR# falling 47
T11 IOIS16 rising delay after Address changed 20
T12 Data hold time follo wing IOR# 31
T13 Address hold time follo wing IO W# 4
T14 REG# setup time before IOW# 0
T15 REG# hold time follo wing IO W# 0
T16 CE# setup time before IOW# 0
T17 CE# hold time follo wing IOW# 2.5
T18 Address setup time before IO W# 0
T19 IOIS16 rising delay after Address changed 20
T20 IOIS16 falling dela y after Address changed 23.5
T21 Data setup time before IOW# 0
T22 Data hold time follo wing IO W# 3
33
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
CE[2:1]#
INPACK#
HA[10:0]
ID Read Timing
IOIS16#
REG#
IOR#
T6
T2
HD[15:0]
T1
T4
T7 T8
T11
T12
T9 T10
T3
T5
I/O Write Timing
CE[2:1]#
HA[10:0]
IOIS16#
REG#
IOW# T18
T14
HD[15:0]
T13
T16
T19
T22
T20
T21
T15
T17
34
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
Flash Memory Interface Timing
VCC = 5V±10%
Symbol Parameter Min. Max. Unit
Tw(a-ce) FCE# f all time after DSP address decode when write 5.5 15 ns
Tw as FCE# setup time bef ore WRFLASH# f alling edge 10 30 ns
Tw(wrflash) WRFLASH# low pulse dur ation 1Tc* ns
Tr(a-ce) FCE# fall time after DSP address decode when read 5.5 15 ns
Tr(rd-0e) RDFLASH# f all time after RD# f alling edge 4.5 11.5 ns
VCC = 3.3V±5%
Symbol Parameter Min. Max. Unit
Tw(a-ce) FCE# f all time after DSP address decode when write 8 24.5 ns
Tw as FCE# setup time bef ore WRFLASH# f alling edge 15 50 ns
Tw(wrflash) WRFLASH# low pulse dur ation 1Tc* ns
Tr(a-ce) FCE# fall time after DSP address decode when read 8 25 ns
Tr(rd-0e) RDFLASH# f all time after RD# f alling edge 7 20 ns
* Note:These timing are only f or 1-system cloc k of flash memory write pulse is emplo y ed (601E[0]=0). If 2-system
clock of pulse width is selected (601E[0]=1), the minim um of Tw(wrflash) is 2Tc.
35
MX9691A
P/N:PM0539 REV. 1.0, OCT. 02, 1998
Latchup Characteristics
Min. Max.
Input Voltage with respect to GND on all VCC pins -2.0V 12.0V
Input Voltage with respect to GND on all I/O pins -2.0V VCC+2.0V
Current -100mA +100mA
Includes all pins except GND. Test conditions : VCC=5.0V, one pin at a time.
WRFLASH#
A[15:0]
Flash memory write timing
FCE[7:0]
WR#
Tw(a-ce)
Twas
Tw(wrflash)
RDFLASH#
A[15:0]
Flash memory Read timing
FCE[7:0]
RD#
Tr(a-ce)
Tras
MX9691A
36
MACRONIX INTERNATIONAL CO., LTD.
HEADQUARTERS:
TEL:+886-3-578-6688
FAX:+886-3-563-2888
EUROPE OFFICE:
TEL:+32-2-456-8020
FAX:+32-2-456-8021
JAPAN OFFICE:
TEL:+81-44-246-9100
FAX:+81-44-246-9105
SINGAPORE OFFICE:
TEL:+65-348-8385
FAX:+65-348-8096
TAIPEI OFFICE:
TEL:+886-2-509-3300
FAX:+886-2-509-2200
MACRONIX AMERICA, INC.
TEL:+1-408-453-8088
FAX:+1-408-453-8488
CHICAGO OFFICE:
TEL:+1-847-963-1900
FAX:+1-847-963-1909
http : //www.macronix.com
MACRONIX INTERNATIONAL CO., LTD. reserves the right to change product and specifications without notice.