IVIX9691A 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 contro! 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. - Dont 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 control 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.3Vt5% Utility Support + Upload firmware from Host. * Physical Devices test. * Preformat. * CIS Manufacturer code and Model code edit. P/N:PMO539 REV. 1.0, OCT. 02, 1998 37-1MX9691A PIN CONFIGURATION vH LIVM bYH | 13S4YH SVH 9VH 2VH #3MH ODA 8VH | #MOl OND 6VH #4Or #30H SOA OtWH #Z3490H | #139H SIGH 40H #AOVANI #O3B! anD PLOH 9qH bOH SGH 21QH *GH i LLOH 0H ae oO vi oc ra wo g 9 ROMWR# ROMCS# XF# SOL 204 80) 601 Ou the cbt el pee Sth Qik ub Sth GbE 10 12 13 14 15 MX9691A 20 21 76 75 74 24 25 26 a7 28 429 30 31 LED# 2 = FA19 FRY/FBY# iNT1#4 NMi# a a 9 x= QO o > * S = 8 5 ik x = 419 * I a < = ow x = a b -| 23 A? AG GND AS Ad A3 A2 At t AQ Pwoo# [ + #LOMd 5 Sta vig ela z1a aN tra ora 4 60 2 7) 8g #LHSV140U IDA #304 . #v394 , #S494 | #95904 GN9 ~ai_. #0804 #1504 * OOA = #304 #23994 #0HSV1404 od J 4d : 2d ~: GND ed Pr. +d : sq : 90 - 0 REV. 1.0, OCT. 02, 1998 37-2 P/N:PM0539Mic GENERAL DESCRIPTION The Macronixs Solid State Disk controller is fully inte- grated 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- face for 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 PIN DESCRIPTION Host Interface MX9691A to execute 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 attripute memory configuration option register. Symbol No. Type Description HA[10:0] 92,94,96-97, | 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, VO Host data line 15-0. 121-128 These pins include internal bus holder circuit that keep previous state when tri-state. HOE#HWEF 104,111 \ Host memory read/write/mode select : Both pins include internal pull- up resistors that is default in PCMCIA mode. IOR#, lOW# 107,110 | Host 1/O access. Both pins include internal pull-up resistors. HRESET/ 100 { 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 active low. This signal include internal pull-down resistor. WAIT/ 98 O,OD_ WATT or INPUT CHANNEL READY : In both PCMCIA and ATA IOCHRDY extension modes, this signal holds host transfers until the controller is ready to respond. RDY/BSY#/ 119 OZ READY/BUSY or HOST INTERRUPT : 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 by the local uC. In PCMCIA I/O mode, this signal is IREQ#. in ATA extension mode, this active high signal is HOSTINT, which, when enable, send an interrupt to the host. PIN:PM0539 REV. 1.0, OCT. 02, 1998 37-3M=IGC. IMxX96G91A Symbol No. Type Description WP/IOCS16# 83 0,0D WRITE PROTECT or 16-bit I/O TRANSFER : In PCMCIA mode, this bit has two functions. In PCMCIA common-memory mode,this signal indicates write protect. Im PCMCIA I/O mode, when IO1S16# is as serted low, it indicates that a 16-bit data transfer is active on PCMCIA bus. In ATA extension mode, the |OCS16# signal indicates that a 16-bit buffer transfer is active on the host bus. This open drain signal is only driven on assertion(low). REG#/DACK# 95 Attribute memory and I/O select : ln PCMCIA mode, this signal is used to select attribute memory and {/O space. In ATA extension mode, this signal is used during DMA with the DREQ, |OR# and IOW# signals to transfer data between the host and the MX9691A. This pin includes an internal pull-up resistor. Card enable 1 or Chip select 0: In PCMCIA mode,this signal is card enable 1. This signal can enable either even or odd numbered-ad dress bytes onto HD7:0. In ATA extension mode, this signal accesses the MX9691A command block registers. This input is ignored during DMA data transfer, i.e. when the DACK# signal is low. This pin in cludes an internal pull-up resistor. HCE 1#/ 115 CS1FX# HCE2#/ 114 CS3FX# Card enable 2 or Chip select 1: In PCMCIA mode,this signal is card enable 2. This signal can enable odd numbered-address bytes onto HD15:8. In ATA extension mode, this signal accesses the MX9691A control block registers. This pin includes an internal pull-up resistor. INPACK#/ 118 DREQ Input Acknowledge or DMA request : In PCMCIA mode, this signal is asserted when the MX9691A is configured to respond to I/O card read cycles at all addresses. In ATA extension mode, this signal is DREQ and is issued during DMA transfers to indicate that the MX9691A is ready for DMA transfer. SPKR/DASP# 93 ie) Speaker or slave present : ln PCMCIA mode, the output-enable for this signal is controlled by the card configuration registers. In ATA extension mode, this signal is used as the slave-present detector. STSCHG/ 90 PDIAG# vO Status change or pass diagnostics : In PCMCIA mode, this signal is used to indicate changes in the RDY/BSY#,WP signals in card con figuration registers. In ATA extension mode, this active low signal is used between two embedded ATA drive to indicate that the drive in slave mode has passed diagnostics. P/N:PM0539 REV. 1.0, OCT. 02, 1998 37-4 MXS691A Microcontroller interface : Symbol No. Type Description D[15:0] 33-37, vO DSP IO/RAM/ROM/FLASH memory array external data bus. These 39-41, pins in clude internal pull-up resistors. 55-58, 60-63 A[15:0] 3-5, vO In normal mode, these signals are output that used as DSP |O/RAM/ 8-11, ROM external address. A14-A0 are for flash memory array address 22-24, also. In upgrade mode, these address is used for ROM address that 26-31 controlled by CYH,CYL registers. In ICE debugging mode, these ad dress are input,asserted by external MX93011 DSP. The internal DSP is disabled. These pins include internal pull-up resistors. PCE# 67 vO In normal mode, this signal is output that is used as external program chip enable. In upgrade mode, this signal is drived to high. In ICE de bugging mode, this signal is inout, asserted by external MX93011 DSP. The internal DSP is disabled. This pin includes a bus holder circuit. DCE# 68 vO In normal mode, this signal is output that is used as external data chip enable. In upgrade mode, this signal is drived to high. In ICE debug ging mode, this signal is input, asserted by external MX93011 DSP. The internal DSP is disabled. This pin includes a bus holder circuit. RD# 65 vO in normal mode, this signal is output that is used as DSP IO/RAM/ ROM external read. In upgrade mode, this signal is output and as serted when the data register is read in host interface. In ICE debug ging mode, this signal is input, asserted by external MX93011 DSP. The internal DSP is disabled. This pin includes a bus holder circuit. WR# 66 vO In normal mode, this signal is output that is used as DSP |O/RAM/ ROM external write. In upgrade mode, this signal is drived to high. In ICE debugging mode, this signal is input, asserted by external MX93011 DSP. The internal DSP is disabled. This pin includes a bus holder cir cuit. NMI# 15 | Non maskable interrupt pin. This pin includes an pull-up resistor. INT1# 14 vO In normal made, this signal is input that is used as interrupt pin. Interrupt will be internally asserted also when data transfer done, or command end. In ICE debugging mode, this signal is output and as serted when data transfer done, or command end. This pin includes an pull-up resistor. P/N: PM0539 REV. 1.0, OCT. 02, 1998 37-5Type Description vO In normal mode, this signal is input that is used as holding DSP clock down and release bus. Bus hold will be internally asserted also when upgrade mode enable. In ICE debugging mode, this signal is output and asserted when upgrade mode enable. In ICE debugging mode, this signal is output and asserted when upgrade mode enable. This pin includes an pull-up resistor. HLDA# 73 vO In normal mode, this signal is output that is used as ack to HOLD# signal. This signal will be internally sent to PCMCIA/ATA interface also when upgrade mode enable. In ICE debugging mode, this signal is input and ack to HOLD# when upgrade mode enable. This pin in cludes an pull-up resistor. XF#/CPURST# 74 External flag, this pin can be directly written by one DSP instruction. Default inactive (logic high). In ICE debugging mode, this signal is used to reset CPU. Flash Memory Interface : Symbol No. Type Description FA19/CLE 12 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 VO 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 enable. 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 switch to normal mode at power-on reset,and if this pin remains low, then the MX9691 A will initializes in ICE debugging mode. This pin includes an internal pull-up resistor. ICEMODE ICE debugging mode select : ICEMODE=1 > Normal mode ICEMODE=0 > ICE debugging mode P/N:PM0539 REV. 1.0, OCT. 02, 1998 37-6M=Ic MxX9691A Symbol No. Type Description FA17/EROM 21 Vo 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 executed in separate external ROM. Store firmware in external ROM 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. FA[16:15)/ 1-2 vO 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 DSPs IPT1. ATADETO is con nected to DSPs IPTO. VDD is connected to IPT2. Master/Slave selection in ATA mode : ATADET1 ATADETO mode selected 1 1 one drive 0 0 master of two drives 1 0 slave of two drives This power-on configuration can be accessed from PCMCIA/ATA port 601Ch bit3-2. These pins include internal pull-up resistors. RDFLASH1# 54 oO Flash memory ouptut enable 1 for bank1: This signal will be asserted by flash memory read operation when flash memory read address latch, port 601Dh bit 8 = 1(i.e. FA23=1). Note: Flash memory access window is mapped to 32KW data and code space 8000h~fiffh. RDFLASHO# 42 oO Flash memory ouptut enable 0 for bank0: This signal will be asserted by flash memory read operation when flash memory read address latch, port 601Dh bit 8 = O(i.e. FA23=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 601 Fh bit 8 = 1(i.e. FA23=1). WRFLASHO# $18 oO Flash memory write enable 0 for bankO: This signal will be asserted by flash memory write operation when flash memory write address latch, port 601Fh bit 8 = O(i.e. FA23=0). . REV. 1.0, OCT. 02, 1998 P/N:PM0539 37-7M=Ii Mx96901 A Symbol No. Type Description FCE[7:0}# 43-44,46-47, 49-52 Oo Flash memory chip enable 7-0 : 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 bits FCE[7:0]# 0 O- 11111110 11111011 11101111 10111111 11111101 11110111 11014111 1 $11 01111111 In sequential mode, These are decoded from port 601Dh bit 7-5 only when port 601Eh bit 2 is set. - ease 0 000 =~oo--0 on- 0-0 PWDO# 32 Deep power down output 0 for bank0: This signal will put the flash memory chips of bank0O in deep power-down mode. PWDO+# is active low;PWD0# high enables normal operation. PWDO# also locks out erase or program operation when active low providing data protection during power transitions. Power down pin PWDO# will be active if FA23=1. PWD1# Deep power down output 1 for bank1: This signal will put the flash memory chips of bank in deep power-down mode. PWD1# is active low;PWD1# high enables normal operation. PWD1# also locks out erase or program operation when active low providing data protection during power transitions. Power down pin PWD1# will be active if FA23=0. FRY/FBY# 13 Flash memory Ready/busy input: This signal indicate the state of erase or program operation in flash memory chips. This pin includes an internal pull-up resistor. P/N:PM0539 REV. 1.0, OCT. 02, 1998 37-8Mic IMxX9691A Control ROM interface : Symbol No. Type Description ROMCS#/ 75 0 ROM chip select/Flash memory data buffer enable : In normal mode, FWIN# this signal is used as ROM chip enable if firmware that stored in external ROM. In ICE debugging mode, this signal is used as flash memory data buffer (74640) enable if firmware that stored in flash memory array. ROMWR#/ 76 O ROM write enable/Flash memory data buffer direction control: In FDIR , normal mode, this signal is used as ROM write enable if firmware that stored in external ROM. In ICE debugging 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 oO Crystal ouput. X32 71 | 32K Crystal input. X320 70 | 32K Crystal output. TEST 81 | This signal is used to select the main system Clock, either from external clock 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 Power on reset, CMOS Schmite-triggered: The MX9691A include debouncing circuit to stabilize internal DSP reset signal. LED# 6 oO 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 firmware will turn off the LED after H/W initialization and pass diagnostics. If system fail, the control firmware will flash the LED to indicate some error occur. This signal will be high if port 601Ch bitO set to 1 or OPTR bit2 set to 1. VCC 17,45,53,72, 5 volt or 3.3 volt Power pin 80,105,112 GND 7,25,38,48, Ground pin 59,69,77,91, 108,120 PIN:PMO0539 REV. 1.0, OCT. 02, 1998 37-9MxX9691A Functional and Operation Description Block Diagram Host interface PCMCIA/ATA Clock External Memory Bus d 4 Clock & Reset MX93011 4KB Internai DSP CORE RAM 2KB Internal Register Bank RAM PCMCIA/ATA = 1KB Bufter Flash Memory interface RAM Control 256 Byte Buffer RAM Lm| ECC Control CIS RAM Control Logic MX9691A Signal Chip Solid State Disk Controller Flash Interface P/N:PM0539 37-10 REV. 1.0, OCT. 02, 1998Mic Power-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 array (2). Master/Slave selection in ATA extension mode : FA16/ATADET1 FA15/ATADETO mode selected 1 1 one drive 0 0 master of two drives 1 0 slave of two drives (3). ICE debugging mode select : FA18/ICEMDOE = 0 > ICE debugging mode FA18/ICEMODE = 1 > Normal mode System Memory Map : (1). Data Space : MxX9691A (4). Flash memory data buffer control ROMCS+# is replaced by FWIN# if ICE debugging mode & firmware in flash memory array ROMWR# is replaced by 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 Address Function & Usage 0000h~007fh Internal RAM (428W) to store control variables 0080h~07ffh Internal RAM(1920W) for flash memory algorithm usage 0800h~5fffh User define (22kW) 6000h~63ffh VO range(ikW): ATA CTL. use I/O range (6000h~6011h) 6400h~6fffh User define (8kW) 7000h~73ffh User define (1kW) 7400h~77ffh Internal RAM (1kW) for expansion RAM or shadow ROM space 7800h~7#fth ROM Data space(2kW) 8000h~ffffh Flash memory access windows(32kW) (2). Program Space : Address Function & Usage 0000h~77ffh ROM program space (32kW) 7800h~7fffh Unused 8000h~fiffh Flash memory access windows(32kW) P/N:PM0539 REV, 1.0, OCT. 02, 1998 37-14Registers definition: (1). Register List : MX9691A Type of Register Location PCMCIA/ATA Interface 6000h, 6001h, 6002h, 6003h, 6004h, 6005h, 6006h, 6007h, 600Bh, 6010h, 6011h, 6012h, 6013h, 6019h, 601Ah, 601Bh, 601Ch PC INTERRUPT CONTROL 6009h, 600Ah BUFFER MANAGER AND DMA 6008h, 601 4h, 6015h, 6016h, 601 7h, 6018h ECC Control 600Ch, 600Dh, 600Eh, 600Fh Flash Memory Interface 601Dh, 601Eh, 601Fh (2). Register Description : Port 6000h : Bit Function Description AT CONTROL/STATUS REGISTER Default reset value : 01h 7 R/W: DRIVE READY (drive 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: ERROR BIT 0 R/W: BUSY BIT Port 6001h: Bit Function Description Defauit reset value : 00h 7:0 R/W: ERROR REGISTER (map to command block 1f1h) Port 6002h : Bit Function Description Default reset value : 01h 7:0 R/W: SECTOR COUNT REGISTER (map to command block 1f2h) P/N:PM0539 REV. 1.0, OCT. 02, 1998 37-12M=Ic a2 MX9691A Port 6003h : Bit Function Description Default reset value : Oth 7:0 R/W: SECTOR NUMBER REGISTER (map to command block 1f3h) Port 6004h : Bit Function Description Default reset value : 00h 7:0 RW: CYCLINDER LOW REGISTER (map to command block 1f4h) Port 6005h : Bit Function Description Default reset value : 00h 7:0 R/W: CYCLINDER HIGH REGISTER (map to command block 1f5h) Port 6006h : Bit Function Description Default reset value : AOh 7:0 R/W: DRIVE/HEAD REGISTER (map to command block 1f6h) Port 6007h : Bit Function Description Default reset value : 00h 70 R: COMMAND REGISTER (map to command block 1f7h) Port 6008h : Bit Function Description BUFFER RAM SIZE CONTROL REGISTER Default reset value : 40h 7 R/W: TEST MODE 1 for HAP/DAP test 0: DISABLE 1: ENABLE 6 RW: BIT WRITE GATE STATE OF DRIVE 0: ENABLE 1: DISABLE P/N:PM0539 REV. 1.0, OCT. 02, 1998 37-13MX9SG691A Function Description R: PCMCIA/ATA 0: ATA extension mode 1: PCMCIA mode R/W: Auto DAP increment 0: Disable 1: Enable R/W: Shadow ROM control 0: Disable 1: Enable 2:0 R/W: BUFFER RAM SIZE CONTROL 00x : 32KW 010: 16KW O11: 8KW 100: 4KW 101: 2KW 110: 1KW 111: 512W Port 6009h : Bit Function Description HOST INTERRUPT STATUS Default reset value : 00h : Power-Down timer time-out detected : Card configuration register write detected : CIS accessed detected : Hreset detected PC SRST(or PCMCIA SRST) DETECTED : PC STATUS READ DETECTED : PC SELECTION O/ +1 Po] WI] BS] | OI ~w DD} | DY] 3) DD) WD) VD : PC TRANSFER DONE P/N:PM0539 37-14 REV. 1.0, OCT. 02, 1998Port 600Ah : MX9691A Bit Function Description HOST INTERRUPT ENABLE Default reset value : 00h R/W: Power-Down timer time-out detected enabie. R/W: Card configuration register write detected enable R/W: CIS accessed detected enable R/W: Hreset detected enable R/W: PC SRST(PCMCIA SRST) DETECTED ENABLE R/W: PC STATUS READ DETECTED ENABLE R/W: PC SELECTION ENABLE Oo] +) MO} co] Py cA aw RW: PC TRANSFER DONE ENABLE Port 600Bh : Bit Function Description 7:0 Default reset value : 00h R: Feature register (map to command block 1f1h) Port 600Ch : Bit Function Description ECC CONTROL REGISTER Default reset value : 00h RW: ECC FUNCTION SUSPEND 0: NORMAL {1 : SUSPEND RW: CORRECTION SPEED SELECT 0: FULL SPEED 1: HALF SPEED RW: ENCODE/DECODE FUNCTION SELECTION 0: ENCODE 1: DECODE R/W: RESET ECC CIRCUIT 0: RESET 1: NORMAL R: UNCORRECTABLE ERROR FLAG R: CORRECTABLE ERROR FLAG R: CORRECTION DONE FLAG O17) Me) @ RW: START ECC CORRECT FUNCTION ENABLE/DISABLE 0: DISABLE 1: ENABLE P/N:PMOS39 37-15 REV. 1.0, OCT. 02, 1998MxX9S691A Port 600Dh : Bit Function Description Default reset value : 0000h 15:0 R/W : ECC 0 REGISTER Port 600Eh : Bit Function Description Default reset value : 0000h 15:0 R/W : ECC 1 REGISTER Port 600Fh : Bit Function Description Default reset value : 0000h 15:0 R/W : ECC 2 REGISTER Port6010h: Bit Function Description Default reset value : 0Oh 7:0 R: Configuration Option register (map to attribute memory 200h) Port 6011h: Bit Function Description Default reset value : 00h 7:0 R: Card Configuration and status register (map to attribute memory 202h) Port 6012h: Bit Function Description Default reset value : 0Ch 7:0 R: Pin replacement register (map to attribute memory 204h) Port 6013h : Bit Function Description Default reset value : 00h 7:0 R: Socket and copy register (map to attribute memory 206h) P/N:PM0539 REV. 1.0, OCT. 02, 1998 37-16M=Iic - MX9691A Port 6014h : Bit Function Description Default reset value : 0000h 15:0 RW : HOST ADDRESS POINTER Port 6015h: Bit Function Description Default reset value : OOffh 15:0 R/W : AT STOP POINTER Port 6016h : Bit Function Description Default reset value : 0000h 15:0 R/W : DISK ADDRESS POINTER Port 6017h : Bit Function Description DMA CONTROL REGISTER Default reset value : 08h 7 R/W: DRIVE READY (drive 1) 6 R/W: DRIVE SEEK COMPLETE (drive 1) 5 R/W: set BSY upon XFER done 0: DISABLE 1: ENABLE 4 R/W: ENABLE AUTO INTERRUPTS - AT ONLY 0 : DISABLE 1 : ENABLE 3 R/W: BUFFER RAM CHIP ENABLE 0: ENABLE 1: DISABLE 2 R/W: HOST BUS DIRECTION 0: START BUFFER -> AT BUS 1: START AT BUS -> BUFFER WHEN SET 1 R: A COMPLETION OF AT DMA XFER 0 R/W: START DATA TRANSFER BETWEEN AT BUS AND BUFFER RAM 0: DISABLE 1: ENABLE P/N:PM0539 37-17 REV. 1.0, OCT. 02, 1998M=Ic Mx9oGo1A Port 6018h : Bit Function Description 15:0 R/W : ACCESS PORT INTO BUFFER RAM Port 6019h : Bit Function Description PCMCIA control register 7 R: ATA extension mode 6 R: Common memory mode 5 R: VO 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: Force ATA mode 0 R/W: Force PCMCIA mode Port 601Ah : Bit Function Description Auxi_ctl_1 reg. Default reset value : 00h 7 R/W : DASP 6 RW : Host Interrupt level mode or pulse mode select 0: Level mode 1: Pulse mode 5 RW : PDIAG 4 RW : DASP output enable 3 RW: write protect enable 0: Disable 1: Enable 2 R/W: PDIAG output enable 1 RAW: master/slave mode enable 0: Disable 1: Enable 0 R/W: master/salve of ATA mode 0: master 1: slave P/N:PM0539 REV. 1.0, OCT. 02, 1998 37-18M=ic IMIXS9691A Port 601Bh : Bit Function Description Auxi_ctl_2 reg. Default reset value : 00h 7:4 Reserved. 3 RW: Force the CPU that fetch codes from flash memory array 2 R/W: Force the system that become ICE debugging mode 1 R/W: Host interface RESET polarity 0: Low active 1: High active 0 RW: Disk interrupt polarity 0: Low active 1: High active Port601Ch: Bit Function Description Auxi_ctl_3 reg. Default reset value : 0000h 15 Reserved 14 RW : Test mode 2 for timer 0 : Normal mode 1 : Test mode enable 13 R:DRQ 12 R : Time out status 1: Time out event occurence 11 RAW: Timer enable/disable 0: Disable 1: Enable | REV. 1.0, OCT. 02,1998 P/N:PM0539 37-19M=Ic MxX9691A Port 601Ch: Bit Function Description 10:9 R/W: Power-down timer time-out select for 25MHz main clock 00 : 16 x 1.28 = 20.48 sec. 01: 8x 1.28 = 10.24 sec. 10: 4x 1.28 = 5.12 sec. 11: 2x 1.28 = 2.56 sec. 8 R : ICE debugging mode detected 0: ICE debugging mode 1: Normal 7 R/W : Inverted data bus for access flash memory. 0: Inverted 1: Non-inverted 6 R: External ROM detect. 0: Firmware stored in external ROM 1: Firmware stored in flash memory array 5:4 R/W: Shadow ROM space control 00 : 512 bytes, Range: 7400h ~ 74ffh 01: 1Kbytes, Range: 7400h ~ 75ffh 10: 1.5Kbytes, Range: 7400h ~ 76ffh 11: 2Kbytes, Range: 7400h ~ 77ffh 3:2 R : Master/Slave mode detect in ATA mode 00 : Master of two drives 10 : Slave of two drives 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 Default reset value : 0000h 9:0 R/W : Flash memory Read address FA[24:15] latch for random mode When data space 8000h ~ ffffh is read, the output of the flash memory read address latch will be used. PIN:PMO539 : REV. 1.0, OCT. 02, 1998 37-20MX9691A For sequential mode this register has different definitions 9:8 Reserved 75 RW: FCE select for sequential mode 000: FCEO 001: FCE2 010: FCE4 011: FCE6 100: FCE1 101: FCE3 110: FCES 111: FCE7 RW: Command latch enable (FA19/CLE) 0 : Disable 1: Enable R/W: Address latch enable (FA18/ALE) 0: Disable 1: Enable 2:0 Reserved Port 6O1Eh : Bit Function Description Flash memory control register Default reset value : O8Ah R/W: Flash memory deep power down control 0 0: Enable Power Down pin PWDO0# active or FA23=1 for 16Mbit Random access flash memory 1: Disable R : Ready / Busy status 0: BUSY 1: READY 5:4 RW: Flash memory type select 00 : 4M flash memory /Bank 0 select for sequential select 01: 16M flash memory /Bank 1 select for sequential select 10 : Reserved 11 : Reserved P/N:PMO539 37-21 REV. 1.0, OCT. 02, 1998MxX9691A Function Description R/W: Flash memory deep power down control 1 0 : Enable Power Down pin PWD1# active or FA23=0 for 16Mbit Random access flash memory 1: Disable RW: CE# enable for sequential mode 0: Disable 1: Enable R/W: Sequential mode select 0: Random mode 1: Sequential mode Port 601Fh : Bit R/W: Flash memory write pulse width control 0: 1 system clock 1:2 system clock Function Description Default reset value : 0000h R/W : Flash memory Write address FA[24:15] latch for random mode When data space 8000h ~ ffffh is write or program space 8000h ~ ffffh is read, the output of the flash memory write address lused. For sequential mode this register is reserved. P/N:PM0539 REV. 1.0, OCT. 02, 1998 37-22M=Iic = MxX9691A ELECTRICAL SPECIFICATIONS DC Characteristics 1 : Ta = 0C to 70 C, VCC = 5V210% Symbol! Parameter Min Max Units Conditions VCC Power Supply voltage 45 5.5 Vv VILA Input Low voltage (TTL) 0.8 Vv VCC=5V VIH1 Input High voltage (TTL) 2.0 V VCC=5V ViL2 input Low voltage (CMOS) 0.8 Vv VCC=5V VIH2 Input High voltage (CMOS) 3.5 Vv VCC=5V VOL Output Low voltage 0.4 Vv lOL=8mA VOH Output High voltage 2.4 Vv IOH=-8mA ICC Supply Current 1 40 mA { = 25Mhz, Active mode, CL = Opf, VCC=5.5Volt, Temperature= 0C ICC2 Supply Current 2 35 mA f = 25Mhz, Idle mode, CL = Opf, VCC=5.5Volt, Temperature= 0C ICC3 Supply Currect 3 10 mA f = 25Mhz, Standby mode, CL = Opf, VCC=5.5Volt, Temperature= 0C Icc4 Supply Current 4 1 mA f = OMhz, Sleep mode, CL = Opf, VCC=5.5Volt, Temperature= 0C IL Input Leakage 10 uA 0< VIN < VCC CIN Input Capacitance 14 pf VIN=0V COUT Output Capacitance 16 pf VOUT=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. P/N:PM0539 37-23 REV. 1.0, OCT. 02, 1998a= MxXeGo1tA DC Characteristics 2 : Ta =0C to 70 C, VCC = 3.3V45% Symbol Parameter Min Max Units Conditions VCC Power Supply voltage 3.1 3.5 Vv VIL1 Input Low voltage(TTL) 0.8 Vv VCC=3.3V VIH1 Input High voitage(TTL) 2.0 Vv VCC=3.3V VIL2 Input Low voltage(CMOS) 0.8 Vv VCC=3.3V VIH2 Input High voltage(CMOS) =. 2.7 V VCC=3.3V VOL Output Low voltage 0.4 Vv IOL=4mA VOH Output High voltage 22 Vv IOH=-4mA ICct Supply Current 1 20 mA f = 16Mhz, Active mode, CL =0pf, VCC=3.5Volt, . Temperature= 0C Icc2 Supply Current 2 15 mA f = 16Mhz, Idle mode, CL = Opf, VCC=3.5Volt, Temperature= 0C ICC3 Supply Currect 3 5 mA f = 16Mhz, Standby mode, CL=0pf, VCC=3.5Volt, Temperature= 0C ICC4 Supply Current 4 0.5 mA f = OMhz, Sleep mode, CL = Opf, VCC=3.5Volt, Temperature= 0C. IL Input Leakage 10 uA 0< VIN < VCC CIN Input Capacitance 14 pf VIN=0V COUT Output Capacitance 16 pf VOUT=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. P/N:PMOS39 37-24 REV. 1.0, OCT. 02, 1998Mic MxX9S691A AC Characteristics (Condition : Ta=0C to 70 C, 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 duration when the data are accessed 417c by external DSP. Trd In ICE mode, RD# to output delay when the data are accessed 34 ns by external DSP. Tes Chip select access cycle 1.5Te 4.5Te ns Taa Address access cycle 1.5Tc 4.5Tc ns Trds Data setup time before RD# high 12 ns Tdh Data hold time after RD# high 0 ns VCC =3.3V+45% Symbol Description Min. Typ. Max. Unit Tw In ICE mode, WR# pulse duration when the data are accessed 4Tc by external DSP. Trd In ICE mode, RD# to output delay when the data are accessed 34 ns by external DSP. Tes Chip select access cycle 1.5Te 4.5Tc ns Taa Address access cycle 1.5Tc 4.5Tc ns Trds Data setup time before RD# high 15 ns Tdh Data hold time after RD# high 0 ns P/N:PM0539 REV. 1.0, OCT. 02, 1998 37-25M=Ic MxX9691A AL15:0] x Sx DCE# _ <<}! HO[15:0} x xX WR# A(15:0] DCE# RD# D[15:0] ae OX x DCE#/PCE# Tes | fo Taa A[15:0] * : x RD# REV. 1. 02, P/N:PMO539 37-26 1.0, OCT. 02, 1998a= MxX9S690 1A Power Reset Timing VCC = 5V+10% or VCC = 3.3V+5% Symbol Description Min. Typ. Max. = Unit Twirst) Reset low pulse width 3Tc ns Clock Timing VCC = 5V410% Symbol Description Min. Typ. Max. Unit Te(c) Clock cycle time 40 ns Tlpd(c) Clock low pulse duration(Tc=40ns) 16 24 ns Thpd(c) Clock high pulse duration(Tc=40ns) 16 24 ns VCC = 3.3Vi5% Symbol Description Min. Typ. Max. Unit Te(c) Clock cycle time 62.5 ns Tipd(c) Clock low pulse duration(Tc=62.5ns) 25 375 ns 2 37.5 ns Thpd(c) Clock high pulse duration(Tc=62.5ns) PWR RST# \ Te > _ ist) P/N:PM0539 37-27 REV. 1.0, OCT. 02, 1998M=Iic Mx9691A Interrupt Timing VCC = 5V+H10% Symbol Description Min. Typ. Max. Unit Tw INT 1# Jow pulse duration 1.5Tc ns Tf INT 1# fall time 10 ns VCC = 3.3V5% Symbol Description Min. Typ. Max. Unit Tw INT1# low pulse duration 1.5Tc ns Tt INT 1# fall time ns HOLD# Timing VGC = 5V410% or VCC = 3.3V+5% Symbol Description Min. Typ. Max. Unit Td(al-h) = HLDA# 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 HLDA# high 0.5Tc -10 0.5Tc Tc ns INTA i v t HOLD# = Ta(hh-ha) _ A; i HLDA# _. : yo Td(al-h) t i . AD[15:0} i, tf id ! Ten(ah-a) p! < P/N:PM0539 37-28 REV. 1.0, OCT. 02, 1998M=Ic MxX969 1A PCMCIA Bus Timing 1: Common Memory and Attribute memory Access Timing VCC = 5V+10% Symbol Parameter Min (ns) Max (ns) T1 Chip enable setup time before output enable 0 T2 Output data enable time from HOE# 31 T3 Chip disable hold time following output disabie 15 T4 Output data disable time following HOE# 10.5 T5 Chip enable setup time before HWE# 0 T6 Chip disable hold time following write disable 2 T7 Data setup time before HWE# 0 T8 Data hold time following HWE# 25 VOC =3.3V+5% Symbol Parameter Min (ns) Max (ns) Tt Chip enable setup time before output enable 0 T2 Output data enable time from HOE# 47 T3 Chip disable hold time following output disable 3 T4 Output data disable time following HOE# 17 T5 Chip enable setup time before HWE# 0 T6 Chip disable hold time following write disable 25 T7 Data setup time before HWE# 0 T8 Data hold time following HWE# 3 | REV. 1.0, OCT. 02, 1998 P/N:PM0539 37-29M=Iic MX9691A Common Memory and Attribute Memory Read Timing me xX CE[2:1}# < 7 : T1 ' : \ $$ eT HOE# : T2 } i ; sa 14 HD[15:0] a a x x Common Memory and Attribute Memory WriteTiming i a a x CEl2:1]# is. . $$ i i T6 HWE# : Vom \ fr TB. : HD[15:0] x xX > 17 P/N:PM0539 37-30 REV. 1.6, OCT. 02, 1998M=ic MX9691A PCMCIA Bus Timing 2: I/O mode Access Timing VCC = 5Vi10% Symbol Parameter Min (ns) Max (ns) T1 Address hold time following lIOR# 2 T2 REG# setup time before IOR# 0 T3 REG# hold time following |OR# 0 T4 CE# setup time before IOR# 0 TS CE# hold time following IOR# 2 T6 Address setup time before IOR# 0 T7 INPACK delay from |OR# falling 10 T8 INPACK delay from IOR# rising 10.5 T9 101816 falling delay after Address changed 14 T10 Data delay after |OR# falling 32 T11 1O1S16 rising delay after Address changed 125 T12 Data hold time following IOR# 20 T13 Address hoid time following |OW# 3 T14 REG# setup time before IOW# 0 T15 REG# hold time following |OW# 0 T16 CE# setup time before |OW# 0 T17 CE# hold time following IOW# 2 T18 Address setup time before |OW# 0 T19 IOIS16 rising delay after Address changed 10.5 T20 1OlS16 falling delay after Address changed 14 T21 Data setup time before |OW# T22 Data hold time following |OW# 25 P/N:PM0539 REV. 1.0, OCT. 02, 1998 37-31M: een Ic VCC =3.3V15% MX9SG6G9TIA Symbol Parameter Min (ns) Max (ns) T1 Address hold time following lOR# 2 T2 REG# setup time before |OR# 0 T3 REG# hold time following |OR# 0 T4 CE# setup time before IOR# 0 TS CE# hold time following |OR# 2 T6 Address setup time before [OR# 0 T7 INPACK delay from IOR# falling 18 T8 INPACK delay from IOR# rising 18 T9 1O1S16 falling delay after Address changed 23.5 T10 Data delay after |OR# falling 47 T11 {OlS16 rising delay after Address changed 20 T12 Data hold time following IOR# 31 T13 Address hold time following lOW# 4 T14 REG# setup time before lOW# 0 715 REG# hold time following |OW# 0 T16 CE# setup time before lOW# ) Ti7 CE# hold time following |OW# 25 118 Address setup time before |OW# 0 T19 lO1S16 rising delay after Address changed 20 T20 101S16 falling delay after Address changed 23.5 T21 Data setup time before |OW# 0 T22 Data hold time following |OW# 3 P/N:PMO539 37-32 REV. 1.G, OCT. 02, 1998Mx9691A ID Read Timing HA(10:0] REG# CE[2:1}# 1OR# INPACK# lOlS16# HD[15:0] V/O Write Timing HA(10:0] REG# CE[2:1}# for} br 4 a NA be - N KE 0 enn eee nels aaa zs $ Go 5 6 8 & x= REV. 1.0, OCT. 02, 1998 37-33 P/N:PM0539M=Ic MxX9691A Flash Memory Interface Timing VCC = 5V+10% Symbol Parameter Min. Max. Unit Tw(a-ce) FCE# fall time after DSP address decode when write 5.5 15 ns Twas FCE# setup time before WRFLASH# falling edge 10 30 ns Tw(wrilash) WRFLASH# low pulse duration 1Tc* ns Tr(a-ce) FCE# fall time after DSP address decode when read 5.5 15 ns Tr(rd-0e) RDFLASH# fall time after RD# falling edge 45 11.5 ns VCC =3.3V15% Symbol Parameter Min. Max. Unit Tw(a-ce) FCE# fall time after DSP address decode when write 8 24.5 ns Twas FCE# setup time before WRFLASH# falling edge 15 50 ns Tw(wrilash) =WRFLASH# low pulse duration 1Tc* ns Tr(a-ce) FCE# fall time after DSP address decode when read 8 25 ns Tr(rd-Oe) RDFLASH+# fall time after RD# falling edge 7 20 ns * Note:These timing are only for 1-system clock of flash memory write pulse is employed (601E[0]=0). If 2-system clock of pulse width is selected (601 E[0]=1), the minimum of Tw(wrflash) is 2Tc. P/N: PMO0539 37-34 REV. 1.0, OCT. 02, 1998M=Ii MxX9691A Flash memory write timing A[15:0} x x i! Tw(a-ce) , FCE[7:0] A ~< py! Tw(wrilash) WRFLASH# NSN Flash memory Read timing A[15:0] x x t! Ti(a-ce) FCE[7:0] a RDFLASH# : 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 1/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. : REV. 1.0, OCT. 02, 1998 P/N:PM0539 37-35