PD6710 INTEL | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 138
Technical content
Datasheet sections
- 1.0 Product Features
- 2.0 General Conventions
- 2.1 Numbers and Units
- 3.0 Pin Information
- 3.1 Pin Diagrams
- 3.2 Pin Description Conventions
- 3.3 Pin Descriptions
- 3.4 Power-On Configuration Summary
- 4.0 Introduction
- 4.1 System Architecture
- 4.1.1 PC Card Basics
- 4.1.2 PD67XX Windowing Capabilities
- 4.1.3 PD67XX Functional Blocks
- 4.1.4 Interrupts
- 4.1.5 Alternate Functions of Interrupt Pins
- 4.1.6 General-Purpose Strobe Feature
- 4.1.7 Voltage Sense Pins
- 4.1.8 PD67XX Power Management
- 4.1.9 Socket Power Management Features
- 4.1.10 Write FIFO
- 4.1.11 Bus Sizing
- 4.1.12 Programmable PC Card Timing
- 4.1.13 DMA Mode Operation for the PD6722
- 4.1.14 Selective Data Drive for I/O Windows
- 4.2 Host Access to Registers
- 4.3 Power-On Setup
- 5.0 Register Description Conventions
- 6.0 Operation Registers
- 6.1 Index
- 6.2 Data
- 7.0 Chip Control Registers
- 7.1 Chip Revision
- 7.2 Interface Status
- 7.3 Power Control
- 7.4 Interrupt and General Control
- 7.5 Card Status Change
- 7.6 Management Interrupt Configuration
- 7.7 Mapping Enable
- 8.0 I/O Window Mapping Registers
- 8.1 I/O Window Control
- 8.2 System I/O Map 0 –1 Start Address Low
PD6710/’22 ISA-to-PC-Card (PCMCIA) Controllers Datasheet The PD6710 and PD6722 are single-chip PC Card (PCMCIA) controller solutions capable of controlling one (PD6710) or two (PD6722) PC Card sockets. The chips are compliant with PC Card Standard, PCMCIA 2.1, and JEIDA 4.1 and are optimized for use in embedded applications and notebook/handheld/mobile computer systems where reduced form factor and low power consumption are critical design objectives. With the PD6710, a complete PC Card solution with power-control logic can occupy less than 1.5 square inches (excluding the socket connector). With the PD6722, a complete dual-socket PC Card solution with power-control logic can occupy less than 2 square inches (excluding socket connectors). The chips employ energy-efficient mixed-voltage technology that can reduce system power consumption by over 50 percent. The chips also provide: a Low-Power Dynamic mode, which automatically stops the internal clock during periods of card inactivity; a software-controlled Suspend mode, which dramatically reduces power by disabling most of the internal circuitry and stopping data transactions to the PC Cards; and a hardware-controlled Super Suspend mode, which reduces current to the µA range. Personal computer applications typically access PC Cards through a third-party socket/card- services software interface. To assure full compatibility with industry-standard socket/card- services software and PC Card applications, the register set in the PD6710 and PD6722 is a superset of the Intel 82365SL register set. The chips provide fully buffered PC Card interfaces, meaning that no external logic is required for buffering signals to/from the interface, and power consumption can be controlled by limiting signal transitions on the PC Card bus. As of May 2001, this document replaces the Basis Communications Corp. document CL-PD6710/’22 — ISA-to-PC-Card Host Adapters. May 2001
Information in this document is provided in connection with Intel® products. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted by this document. Except as provided in Intel’s Terms and Conditions of Sale for such products, Intel assumes no liability whatsoever, and Intel disclaims any express or implied warranty, relating to sale and/or use of Intel products including liability or warranties relating to fitness for a particular purpose, merchantability, or infringement of any patent, copyright or other intellectual property right. Intel products are not intended for use in medical, life saving, or life sustaining applications. Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined." Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The PD6710 or PD6722 may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request. Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order. Copies of documents which have an ordering number and are referenced in this document, or other Intel literature may be obtained by calling 1-800- 548-4725 or by visiting Intel’s website at http://www.intel.com. Copyright © Intel Corporation, May 2001 *Third-party brands and names are the property of their respective owners.
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
4 Datasheet
13.0 Using GPSTB Pins for External Port Control
(PD6722 only)91
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
6 Datasheet
15 VS1# and VS2# Sensing on a PD6722
16 DMA Handshake Connections to the ISA Bus
25 PC Card Read/Write Timing When System Is 8-Bit (SBHE
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Tables
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
8 Datasheet
Revision History
1.0 May 2001 Initial release.
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 9
1.0 Product Features
- Single-chip PC Card (PCMCIA) controllers Direct connection to ISA (PC AT) bus and one or two PC Card sockets Compliant with PC Card Standard, PCMCIA 2.1, and JEIDA 4.1 82365SL-compatible register set, ExCA -compatible Automatic Low-Power Dynamic mode for lowest active power consumption Programmable Suspend mode Hardware-enabled Super Suspend mode Five programmable memory windows per socket and two programmable I/O windows per socket Programmable card access cycle timing 8- or 16-bit system bus interface 8- and 16-bit PC Card interface support PCMCIA-ATA and ture-IDE disk interface support DMA support (PD6722) Card-voltage sense support PC Card activity indicator Mixed-voltage operation (3.3/5.0 V) Single-socket interface: 144-pin LQFP for smallest form factor (PD6710) Dual-socket interface: 208-pin MQFP or LQFP (PD6722) Embedded and Mobile Systems Design Priorities Supporting Features Small Form Factor Single-chip solutions No external buffers for host or socket Efficient board layout Minimum Power Consumption Automatic Low-Power Dynamic mode Hardware- and software-controlled Suspend modes Mixed-voltage operation High Performance Write cache Programmable timing supports more cards, faster reads and writes Automatic bus sizing for 8- or 16-bit DMA available with the PD6722 Hardware and Software Compatibility Compliant with PC Card Standard, PCMCIA 2.1, and JEIDA 4.1 82365SL A-step register-compatible, ExCA -compatible
10 Datasheet
Figure 1. System Block Diagram Figure 2. PC Card Controller Form Factor
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 11
2.0 General Conventions
The following general conventions apply to this document. Throughout this document, PD67XX means PD6710 and PD6722. Bits within words and words within various memory spaces are generally numbered with a 0 (zero) as the least-significant bit or word. For example, the least-significant bit of a byte is bit 0, while the most-significant bit is bit 7. In addition, number ranges for bit fields and words are presented with the most-significant value first. Thus, when discussing a bit field within a register, the bit number of the most-significant bit is written first, followed by a colon (:) and then the bit number of the least-significant bit; as in, bits 7:0. In this document, the names of the PD67XX internal registers are boldfaced. For example, Chip Revision and Power Control are register names. The names of bit fields are written with initial uppercase letters. For example, Card Power On and Battery V oltage Detect are bit field names.
2.1 Numbers and Units
The unit Kbyte designates 1024 bytes (210). The unit Mbyte designates 1,048,576 bytes (220). The unit Gbyte designates 1,073,741,824 bytes (230). The unit Hz designates hertz. The unit kHz designates 1000 Hz. The unit MHz designates 1,000,000 Hz. The unit ms designates millisecond. The unit µs designates microsecond. The unit ns designates nanosecond. The unit mA designates milliampere. The unit V immediately following a number designates volt. Hexadecimal numbers are presented with all letters in uppercase and a lowercase h appended. For example, 14h and 03CAh are hexadecimal numbers. Binary numbers are enclosed in single quotation marks when in text. For example, ‘11’ is a binary number. Numbers not appended with an h nor enclosed by single quotation marks are decimal. In addition, a capital letter X is used within numbers to indicate digits ignored by the PD67XX within the current context. For example, ‘101XX01’ is a binary number with bits 3:2 ignored.
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
12 Datasheet
3.0 Pin Information
The PD6710 is available in a 144-pin VQFP (very tight-pitch quad flat pack) component package and the PD6722 is available in either a 208-pin PQFP (plastic quad flat pack) component package or a 208-pin VQFP component package. The interface pins can be divided into five groups: ISA (or ISA-like) bus interface pins PC Card socket interface pins (one or two sets) General-purpose strobe / voltage sense pins Power control pins Power and ground pins Refer to Figure 3 for the PD6710 and Figure 4 for the PD6722 pin diagrams. The pin assignments for the groups of interface pins are shown in Table 1 through Table 5.
3.1 Pin Diagrams
Figure 3. PD6710 Pin Diagram
14 Datasheet
3.2 Pin Description Conventions
A dash (-) at the beginning of a pin name indicates an active-low signal for the PC Card bus. Figure 4. PD6722 Pin Diagram
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 15 An asterisk (*) at the end of a pin name indicates an active-low signal for the ISA bus or that is a general interface for the PD67XX. Pins marked with a dagger (†) in the pin description tables can be switched between CMOS and TTL input levels when CORE_VDD is powered at 5 volts. All other pins use CMOS input levels when CORE_VDD is powered at 5 volts and TTL input levels when powered at 3.3 volts. A pin name ending in bracketed digits separated by a colon [n:n] indicates a multi-pin bus. The pin number (Pin Number) column indicates the package pin that carries the listed signal. Note that multi-pin buses are listed with the first pin number corresponding to the most- significant bit of the bus. For example, pin numbers 123:120, 118, 117, 115, 114, 112, 110, 108:106, 104, 103, 101, and 100 are associated with ISA Bus Address Input and Data Input/ Output pins SA[16:0] and indicate that: — SA16 is pin 123 — SA15 is pin 122 — SA0 is pin 100 The quantity (Qty.) column indicates the number of pins used (per socket where applicable). The I/O-type code (I/O) column indicates the input and output configurations of the pins on the PD67XX.The possible types are defined below. The power-type code (Pwr.) column indicates the output drive power source for an output pin or the pull-up power source for an input pin on the PD67XX. The possible types are defined below. I/O Type Description I Input pin O Constant-driven output pin I/O Input/output pin O-OD Open-drain output pin O-TS Tristate output pin -PU An internal pull-up resistor is present GND Ground pin PWR Power pin Power Type Output or Pull-up Power Source +5V: powered from a 5.0-volt power supply in most systems (see description of +5V pin in Table 5) A_SOCKET_VCC: powered from the Socket A V CC supply connecting to PC Card pins 17 and 51 of Socket A
16 Datasheet
Note: All pin inputs are referenced to CORE_VDD, independent of their output supply voltage. input-only (I) pin is not applicable (–).
3.3 Pin Descriptions
4 ISA_VCC: powered from the ISA bus power
Table 1. ISA Bus Interface Pins (Sheet 1 of 4)
17 I 4 –
cycle. Connect to ISA signals SD[15:0].
16 I/O 4 12 mA
host memory read cycle is occurring. Connect to ISA signal MEMR*. host memory write cycle is occurring. Connect to ISA signal MEMW*. bus. Connect to ISA signal REFRESH*. when the POWERGOOD input is low. between DMA and non-DMA bus cycles. and DACK* (IRQ9) signals are active. low by the PD67XX to lengthen host cycles. Connect to the ISA bus IOCHRDY signal. Table 1. ISA Bus Interface Pins (Sheet 2 of 4)
18 Datasheet
from any of a number of card actions. to. In DMA mode this signal is active-low. is connected to the ISA bus IRQ12 signal. Extension Control 1 register bit 2). an interrupt request from one of the cards. Table 1. ISA Bus Interface Pins (Sheet 3 of 4)
SPKR pin for fax/modem/voice and audio. information on chip configuration. socket index values, refer to Table 11. and the internal synthesizer bypassed. bus. In DMA mode, this signal is active-high. voltage applied to other pin groups. Table 1. ISA Bus Interface Pins (Sheet 4 of 4)
20 Datasheet
Table 2. Socket Interface Pins (Sheet 1 of 4) cycle to or from the PC Card. A[25:0] PC Card socket address outputs.
26 O-TS 2 or 3 2 mA
D[15:0] † PC Card socket data I/O signals.
16 I/O 2 or 3 2 mA
A_A[25:0] and B_A[25:0] are the independent address buses to the sockets. 2.2When a socket is configured as an ATA drive interface, socket interface pin functions change. See Table 17 on page 88.
a memory write to the socket. the PC card write protect switch. software of its ready or busy state. low input indicates an interrupt request. Table 2. Socket Interface Pins (Sheet 2 of 4) A_A[25:0] and B_A[25:0] are the independent address buses to the sockets. 2.2When a socket is configured as an ATA drive interface, socket interface pin functions change. See Table 17 on page 88.
22 Datasheet
the card and low for normal operation. Table 2. Socket Interface Pins (Sheet 3 of 4) A_A[25:0] and B_A[25:0] are the independent address buses to the sockets. 2.2When a socket is configured as an ATA drive interface, socket interface pin functions change. See Table 17 on page 88.
as BVD1 (Battery Dead Status) input. applied to other PD67XX pin groups. Table 2. Socket Interface Pins (Sheet 4 of 4) A_A[25:0] and B_A[25:0] are the independent address buses to the sockets. 2.2When a socket is configured as an ATA drive interface, socket interface pin functions change. See Table 17 on page 88.
24 Datasheet
Table 3. General-Purpose Strobe / Voltage Sense Pins only available on the PD6722.
- General-purpose strobe controlled by ‘Socket A’ (index 2Eh/2Fh) Extension Control 2 register at extended index 0Bh.
- General-purpose strobe controlled by ‘Socket B’ (index 6Eh/6Fh) Extension Control 2 register at extended index 0Bh.
Table 4. Power Control Pins mutually exclusive with VPP_PGM. mutually exclusive with -VCC_5. mutually exclusive with -VCC_3.
Table 6 below summarizes the pin usage.
3.4 Power-On Configuration Summary
pin will cause the device to address Socket 2 (and Socket 3 for the PD6722). Table 5. Power and Ground Pins Cards will not be supported). Table 6. Pin Usage Summary
26 Datasheet
Table 7. Chip Configuration at Power-up for Socket Support
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 27
4.0 Introduction
4.1 System Architecture
This section describes PC Card basics, windowing, interrupts, PD67XX power management, socket power management, write FIFO, bus sizing, programmable PC Card timing, and A TA and DMA mode operation.
4.1.1 PC Card Basics
PCMCIA is an abbreviation for Personal Computer Memory Card International Association. PC Card Standard is a standard for using memory and I/O devices as insertable, exchangeable peripherals for PCs (personal computers) and handheld computers. For simpler end-user and vendor implementation of the standard, systems employing PC Card Standard should also be backward-compatible with industry-standard PC addressing. PD67XX is also compatible with JEIDA 4.1 and its earlier standards corresponding with the PCMCIA standards above. The memory information for memory-type PC Cards must be mapped into the system memory address space. This is accomplished with a ‘windowing’ technique that is similar to expanded memory schemes already used in PC systems (for example, LIM 4.0 memory manager). PC Cards can have attribute and common memory. Attribute memory is used to indicate to host software the capabilities of the PC Card, and it allows host software to change the configuration of the card. Common memory can be used by host software for any purpose (such as flash file system, system memory, and floppy emulation). I/O-type PC Cards, such as modem network cards, should also be directly addressable, as if the cards were I/O devices plugged into the system bus. For example, it would be highly desirable to have a PC Card modem accessible to standard communications software as if it were at a COM port. For COM1, this would require that the modem be accessed at system I/O address 3F8h–3FFh. The method of mapping a PC Card I/O address into anticipated areas of ISA I/O space is done similarly to memory windowing. I/O-type PC Cards usually have interrupts that need to be serviced by host software. For the example of a modem card accessed as if at COM1, software would expect the modem to generate interrupts on the IRQ4 line. To be sure all interrupts are routed as expected, the PD67XX can steer the interrupt from the PC Card to one of several standard PC interrupts (see “Interrupts” on page 30 and the “Interrupt and General Control” on page 51).
4.1.2 PD67XX Windowing Capabilities
For full compatibility with existing software, and to ensure compatibility with future memory cards and software, the PD67XX provides five programmable memory windows per socket and two programmable I/O windows per socket. These windows can be used by an inserted PC Card to access ISA memory and I/O space.
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
28 Datasheet
Having five memory windows per socket allows a memory-type card to be accessed through four memory windows programmed for common memory access (allowing PC-type expanded- memory-style management), leaving the fifth memory window available to be programmed to access the card’s attribute memory without disrupting the common memory in use. Each of the five memory windows has several programming options, including: Each of the two I/O windows has several programming options, including: Caution: The windows of the PD67XX should never be allowed to overlap with each other or the other devices in the system. This would cause collisions in the IOCS16*, MEMCS16*, IOCHRDY , and SD[15:0] signals, resulting in erratic behavior. Memory Window Option Description Enabled Each of the five memory windows can be individually enabled. Disabled windows are not responded to. Start Address The starting address of the window is programmable on 4-Kbyte boundaries starting at 64 Kbytes (1000h) with a maximum address of 16 Mbyte. End Address The ending address of the window is programmable on 4-Kbyte boundaries starting at 64 Kbytes (1000h) with a maximum address of 16 Mbyte. Only memory accesses between the starting and ending address are responded to. Offset Address The offset address is added to the ISA address to determine the address for accessing the PC Card. This allows the addresses in the PC Card address space to be different from the ISA address space. Data Size The size of accesses can be set manually to either 8 or 16 bits. Timing The timing of accesses (Setup/Command/Recovery) can be set by either of two timing register sets: Timer Set 0 or Timer Set 1. Register Access Setting The -REG pin can be enabled on a per-window basis so that any of the windows can be used for accessing attribute memory. Write Protect If the window is programmed to be write-protected, then writes to the memory window are ignored (reads are still performed normally). I/O Window Option Description Enabled Each of the two I/O windows can be individually enabled. Start Address The starting address of the window is programmable on single-byte boundaries from 0 to 64 Kbytes. End Address The ending address of the window is also programmable on single-byte boundaries from 0 to 64 Kbytes. Offset Address The offset address is added to the ISA address to determine the address for accessing the PC Card. Auto Size The size of accesses can be set automatically, based on the PC Card -IOIS16 signal. Data Size The size of accesses can be set manually to either 8 or 16 bits, overriding the Auto Size option. Timing The timing of accesses (Setup/Command/Recovery) can be set by either of two timing register sets: Timer Set 0 or Timer Set 1.
Figure 5. Memory Window Organization Figure 6. I/O Window Organization
16 Mbytes
64 Mbytes
common or attribute PC Card memory.
64 Kbytes
30 Datasheet
4.1.3 PD67XX Functional Blocks
4.1.4 Interrupts
programming interrupt routing from the PD67XX. Either class of interrupts can be routed to any of the ten interrupt pins on the PD67XX. Figure 7. Functional Block Diagram
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 31 Connection of Interrupt Pins IRQ interrupts in PC-compatible systems are not generally shared by hardware. Therefore, each device in the system using IRQ interrupts must have a unique interrupt line. Additionally, many software applications assume that certain I/O devices use specific IRQ signals. To allow PC Cards with differing I/O functionalities to be connected to appropriate nonconflicting IRQ locations, the PD67XX can steer the interrupt signal from a PC Card to any one of the ten different hardware interrupt lines. For some I/O-type cards, software is written so that IRQ interrupts can be shared. The PD67XX contains unique logic that allows IRQ interrupts to be shared under software control. This is accomplished by programming the PD67XX to alternately pulse and then three-state the desired interrupt pin, which has been programmed as an IRQ output. This unique IRQ interrupt sharing technique can be controlled through software so that systems incapable of IRQ sharing have no loss of functionality.
4.1.5 Alternate Functions of Interrupt Pins
The PD67XX has two interrupt pins that can be programmed for alternate functions: IRQ12/ LED_OUT* and IRQ15/RI_OUT*. In addition, the PD6722 allows IRQ9 and IRQ10 to be programmed for system DMA transfer handshake functions.
4.1.5.1 IRQ12 as LED_OUT* Driver
If a disk-activity or card-cycle-activity indicator is desired, IRQ12/LED_OUT* can be programmed as an open-collector LED driver, capable of driving most common LEDs. There is no specific bit that programs the IRQ12 pin to become an LED driver; instead, whenever a socket interface is programmed to support a drive status LED input or is programmed to show card activity on the LED (as described below), the IRQ12 pin becomes reconfigured as an open- collector LED driver. The Extension Control 1 register’s LED Activity Enable bit (extended index 03h bit 2) is used to enable the LED being used to show card activity. When this bit is set, any type of read or write cycles to the respective socket cause the IRQ12/LED_OUT* signal to be driven low for the duration of the card activity. The Drive LED Enable bit (Misc Control 2 register bit 4) is used to enable the BVD2/-SPKR/- LED input from an I/O-interfaced card to be interpreted as a drive LED input, where an open- collector signal driven low on this input will cause the IRQ12/LED_OUT* open-collector output to go low. Any combination of settings of LED Activity Enable and Drive LED Enable bits can be used on each socket, with each type of activity being able to separately cause the LED to be illuminated. Status from non-present or non-activated cards is automatically masked off from causing the IRQ12/LED_OUT* signal to be driven low.
4.1.5.2 IRQ15 as RI_OUT*
If the capability to ‘wake up’ a system on an incoming phone call to a PC Card modem is desired, it may be necessary in some systems to use a dedicated wakeup signal to the system’s SMI or NMI controller to facilitate this instead of using the normal interrupt connections. If this is the case, the IRQ15 connection can be reprogrammed to pass through a qualified version of an I/O interfaced card’s -RI signal.
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
32 Datasheet
IRQ15/RI_OUT* is programmed as RI_OUT* by programming the IRQ15 Is RI Out bit (Misc Control 2 register 1Eh bit 7) to ‘1’. Then if a particular socket supporting a modem is to have its BVD1/-STSCHG/-RI pin passed to the IRQ15/RI_OUT* pin, that socket’s Ring Indicate Enable bit (Interrupt and General Control register 03h bit 7) should be set to ‘1’. When the PD67XX is configured this way, a low level at the BVD1/-STSCHG/-RI pin on an I/O interfaced PC Card will cause the IRQ15/RI_OUT* signal to become active-low (because it is intended to be connected to an SMI* or NMI* input on the system processor or core logic). To prevent multiple SMI or NMI interrupts from occurring on one ring condition, the IRQ15/ RI_OUT* pin remains low until ISA bus activity resumes, indicated by the resumption of ISA bus memory or I/O reads or writes.
4.1.5.3 IRQ9 as DACK* and IRQ10 as DRQ
When a PD6722 is to be used for DMA support, IRQ9 is programmed as a DACK* input from an ISA bus DACK* signal selected by the system designer. Similarly, IRQ10 is programmed as an active-high DRQ output to the ISA bus and should be connected to the system bus DRQ signal corresponding to that used for DACK*. IRQ9 and IRQ10 are thus redefined for DMA cycle support by the setting of the DMA System bit (Misc Control 2 register 1Eh, bit 6) to ‘1’. Setting the DMA System bit redefines these ISA interface signals but does not cause DMA to a card to be enabled.
4.1.6 General-Purpose Strobe Feature
The PD6722 has capability to use two pins as general-purpose strobes. This is a feature that causes a pin programmed as a general-purpose strobe to appear in software as an extended register in the PD6722 register set, while in reality accesses to this extended register cause the general-purpose strobe pin to go active during the register access. The strobe can be programmed to activate on reads or writes to this virtual extended register, allowing straightforward single-chip implementation of an 8-bit general purpose read or write port. “Using GPSTB Pins for External Port Control (PD6722 only)” on page 91 provides detailed information on how this port can be used.
4.1.7 Voltage Sense Pins
The PD6710 provides a single pin to detect 5 V or 3.3 V on pin 57 of the PC Card. The PD6722 can be simply configured for dual-socket VS1 and VS2 detection with an external read port consisting of half of a ’244 buffer or other similar device, enabled by the B_GPSTB pin programmed as a read port. “VS1# and VS2# V oltage Detection” on page 95 provides detailed information on the programming model for VS1 and VS2 detection and how connections are made to achieve this functionality.
4.1.8 PD67XX Power Management
To provide the longest possible battery life, the PD67XX provides many power management features, including Low-Power Dynamic mode, Suspend mode, and control of PC Card socket power.
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 33 Low-Power Dynamic mode is transparent to the ISA bus. After reset, the PD67XX is configured for Low-Power Dynamic mode. This mode can be turned off by setting Misc Control 2 register, bit 1 to ‘0’. When in Low-Power Dynamic mode, periods of inactivity (no activity on the PC Card bus and system accesses to chip registers or inserted cards are no longer being performed) cause the PD67XX to enter a low-power state where the clock is turned off to most of the chip and the PC Card address and data lines are set to a static value. V CC and VPP power to the card is left unchanged. When there is activity present on the PC Card bus, or the system accesses PD67XX registers, or PC Cards are inserted or removed from the socket, the PD67XX enters its active state, services the transaction, and then returns to its low-power state. A Suspend mode can also be programmed. The PD67XX Suspend mode is the chip’s lowest software-controlled power mode. The PD67XX is put into Suspend mode by setting the Misc Control 2 register, bit 2 to ‘1’. In Suspend mode, all the internal clocks are turned off, and only read/write access to the Index register and write access to the Misc Control 2 register is supported. All accesses to the PC Cards are ignored when in Suspend mode. V CC and VPP power to the card is left unchanged (the system power management software is responsible for turning off power to the socket and entering Suspend mode). Interrupts and ring indicate signals are passed through to the system bus when in Suspend mode. To exit Suspend mode, the Misc Control 2 register bit 2 must be reset to ‘0’. It requires 50 ms for the PD67XX to restart the internal clock synthesizer and become active again. In addition to the software suspend, if the system hold’s the AEN signal of the PD67XX high, a hardware-assisted Super-Suspend mode occurs where ISA inputs to the chip are internally shut off. Internal in the PD67XX, the ISA inputs are ignored and floating conditions on the ISA bus will not cause high current flow in the PD67XX ISA input receivers. Since the ISA bus inputs to the core logic of the PD67XX are also not toggling when AEN is set high, power consumption is further reduced. Interrupts and ring indicate signals are passed through to the system bus when in Super- Suspend mode The PD67XX power can be further managed by controlling socket power as outlined in “Socket Power Management Features” on page 34. Socket power can be turned on and off through software or automatically when cards are inserted or removed. The PD67XX provides six pins per socket for controlling external logic to switch V CC and VPP voltages on and off and for sensing a card’s operating voltage range. Cards can be turned off when not in use.
34 Datasheet
4.1.9 Socket Power Management Features
have management interrupts notify software of card removal. independent actions can be programmed to occur. Table 8. PD67XX Power-Management Modes
- IOR*, IOW*, MEMR*, and MEMW* must be held high when PWRGOOD is low to prevent manufacturing test mode outputs
on (Power Control register bit 5 is ‘1’ and Extension Control 1 register bit 1 is ‘1’)).
4.1.10 Write FIFO
FIFOs are used. Writes to PC Cards will complete without wait states until the FIFO is full. Register states should not be changed until the write FIFO is empty.
4.1.11 Bus Sizing
transfer and the location of data on the bus (which byte lane has the data) during 8-bit transfers. IOCS16*. Data is transferred to/from the data bus as a word on both byte lanes. Table 9. 16-Bit Mode Operation Table 10. 8-Bit Mode Operation
- The SBHE* signal is pulled up. If the SBHE*
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
36 Datasheet
byte lane on which the transfer is to occur. The data is transferred to/from the data bus (see Table 9). 8-Bit Transfer from 8-Bit Processor — The CPU puts the address on the bus. The host determines that it will be an 8-bit transfer since the SBHE* signal has been tied high. The PD67XX queries SA0 to determine if the byte is odd/even. The data is transferred to/from the Data bus (D[7:0]).
4.1.12 Programmable PC Card Timing
The Setup, Command, and Recovery time for the PC Card bus is programmable (see “Timing Registers” on page 84). The PD67XX can be programmed to match the timing requirements of any PC Card. There are two sets of timing registers, Timer Set 0 and Timer Set 1, that can be selected on a per-window basis for both I/O and memory windows. To be compatible with the 82365SL, the two timing sets are programmed at the rising edge of PWRGOOD to include normal-wait and one-wait-state timing.
4.1.12.1 ATA Mode Operation
The PD67XX supports direct connection to AT-attached-interface hard drives. ATA drives use an interface very similar to the IDE interface found on many popular portable computers. In this mode, the address and data conflict with the floppy drive is handled automatically. See “ATA Mode Operation” on page 88 for more information.
4.1.13 DMA Mode Operation for the PD6722
A slave mode Direct Memory Access (DMA) feature exists in the PD6722. To use DMA mode, the Interrupt and General Control register, bit 5 must be set to ‘1’ to operate the PC Card in I/O Card Interface mode. PC Card interface DMA handshake signal options must also be selected. Refer to the description of the “Extension Control 1 (PD6722 only, formerly DMA Control)” on page 78 as well as “DMA Operation (PD6722 only)” on page 97.
4.1.14 Selective Data Drive for I/O Windows
The PD67XX can be programmed to drive only some of the ISA bus data pins on reads from I/O windows. This reduces data contention for I/O addresses that include more than one peripheral. In the standard IBM PC AT, I/O map, floppy disk, and hard disk share address 3F7h. The floppy disk drives ISA-data-bus bit 7 on a read from 3F7h, and the hard disk drives bits 6:0. To allow both floppy disk controllers on the motherboard and hard disks on the PC Card bus (or vice versa) to coexist, the PD67XX can be programmed through use of its Data Mask registers to disable bit 7 on I/O reads at addresses 3F7h and 377h. This is done by programming up I/O windows to these addresses as part of the task of configuring a socket for ATA drive support (see “Extended Data” on page 77). Alternately, all bits except bit 7 can also be disabled to allow the opposite case.
4.2 Host Access to Registers
The PD67XX registers are accessed through an 8-bit indexing mechanism. An index register scheme allows a large number of internal registers to be accessed by the CPU using only two I/O addresses.
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
38 Datasheet
out dx, ax mov al, Index_Reg mov ah, user_data ;Desired data to be out dx, ax ;written to ;extended index 03h ;Read from Extension Control 1 register example ;Code section mov dx, PD67XX_Index mov al, Extended_Index mov ah, Ext_Cntrl_1 out dx, ax mov al, Index_Reg out dx, al inc dx ;al has extended in al, dx ;index 03h data
4.3 Power-On Setup
Following reset, the PD67XX must be configured by host software. The host software’s setup procedure is different depending on its PC system configuration, in particular, the power supply arrangement. The application of the RESET signal (see Table 2 on page 20) on power-up causes initialization of all the PD67XX register bits and fields to their reset values. Not all registers have reset values; only registers with bits and fields specified to have reset values are initialized. One bit, which is loaded on hardware reset from the SPKR_OUT*/C_SEL pin (see Table 1 on page 16), is used to determine the socket to which the PD67XX will respond.
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 39
5.0 Register Description Conventions
The description of each register starts with a header containing the following information: Special Function Bits Following is a description of bits with special functions: Header Field Description Register Name Indicates the register name. Index1 The Index value through which an internal register in an indexed register set is accessed. Register Per Indicates whether the register affects both sockets, marked chip, or an individual socket, marked socket. If socket is indicated, there are two registers being described, each with a separate Index value (one for each socket, A and B). a Register Compatibility Type Indicates whether the register is 82365SL- compatible, marked 365 or a register extension, marked ext. 1. When the register is socket-specific, the Index value given in the register heading is for Socket A only. For the Socket B register on the PD6722, add 40h to the Index value of the Socket A register. Bit Type Description Reserved These bits are Reserved and should not be changed. Compatibility Bit These bits have no function on the PD67XX, but are included for compatibility with the 82365SL register set. 0 or 1 These read-only bits are forced to either ‘0’ or ‘1’ at reset and cannot be changed. Scratchpad Bit These read/write bits are available for use as bits of memory.
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
40 Datasheet
The following keywords are used within bit and field names: Read/Write Convention Keyword Description Enable Indicates that the function described in the rest of the bit name is active when the bit is ‘1’. Disable Indicates that the function described in the rest of the bit name is active when the bit is ‘0’. Mode Indicates that the function of the bit alters the interpretation of the values in other registers. Input Indicates a bit or field that is read from a pin. Output Indicates a bit or field that is driven to a pin. Select Indicates that the bit or field selects between multiple alternatives. Fields that contain Select in their names have an indirect mapping between the value of the field and the effect. Status Indicates one of two types of bits: either read- only bits used by the PD67XX to report information to the system, or bits set by the PD67XX in response to an event, and can also be cleared by the system. The system cannot directly cause a Status bit to become ‘1’. Value Indicates that the bit or field value is used as a number. Bit Access Description RW:n Bit is read/write and resets to value n when PWRGOOD is cycled. R Bit is read-only and setting is determined by conditions noted. Set this bit to ‘0’, or echo back value read. R:n Bit is read-only and resets to value n when PWRGOOD is cycled. Set this bit to ‘0’, or echo back value read. R:n W:m Bit is read/write and resets to value n when PWRGOOD is cycled. Set this bit to value m only.
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 41
6.0 Operation Registers
The PD67XX internal registers are accessed through a pair of Operation registers — an Index register and a Data register. The Index register is accessed at address 03E0h, and the Data register is accessed at 03E1h.
6.1 Index
The Data register is accessed at 03E1h. Bits 5:0 — Register Index These bits determine which of the 64 possible socket-specific registers will be accessed when the Data register is next accessed by the processor. Note that some values of the Register Index field are reserved (see Table 11 on page 42). Bit 6 — Socket Index This bit determines which set of socket-specific registers is currently selected. When this bit is ‘0’, a Socket A register is selected. When this bit is ‘1’, a Socket B register is selected. Note that the PD6710 supports one socket, and the PD6722 supports two sockets. Bit 7 — Device Index In systems where two PD67XXs are used, this bit differentiates between them. The Index register value determines which internal register should be accessed (read or written) in response to each CPU access of the Data register. Each of the possible PC Card sockets is allocated 64 of the 256 locations in the internal register index space Register Name: Index Index: n/a Register Per: chip Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Device Index Socket Index Register Index RW:0 RW:0 RW:000000
42 Datasheet
Figure 10. Device/Socket/Register Index Space Table 11. Index Registers (Sheet 1 of 3)
- Socket B is available on the dual-socket PD6722.
- This register affects both sockets (it is not specific to either socket).
- These registers are not available on the PD6710.
Table 11. Index Registers (Sheet 2 of 3)
- Socket B is available on the dual-socket PD6722.
- This register affects both sockets (it is not specific to either socket).
- These registers are not available on the PD6710.
44 Datasheet
6.2 Data
Table 11. Index Registers (Sheet 3 of 3)
- Socket B is available on the dual-socket PD6722.
- This register affects both sockets (it is not specific to either socket).
- These registers are not available on the PD6710.
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 45 The Data register is accessed at 03E1h. This register indicates the contents of the register at the Device/Socket/Register Index selected by the Index register.
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
46 Datasheet
7.0 Chip Control Registers
7.1 Chip Revision
Bits 3:0 — Revision This field indicates compatibility with the 82365SL A-step. Bits 7:6 — Interface ID These bits identify what type of interface this controller supports. Register Name: Chip Revision Index: 00h Register Per: chip Register Compatibility Type: 365 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Interface ID Revision R:10 R:0 R:0 R:0010 1 1. Value for the current stepping only. 00 I/O only. 01 Memory only. 10 Memory and I/O. 11 Reserved.
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 47
7.2 Interface Status
Bits 1:0 — Battery Voltage Detect These bits are used by PC Card support software and firmware to indicate the amount of capacity left in the battery in battery-backed cards in Memory Card Interface mode only. In I/O Card Interface mode, bit 0 indicates the state of the BVD1/-STSCHG pin ( Table 2). Bit 1 status should be ignored in I/O Card Interface mode. Bits 3:2 — Card Detect These bits indicate the state of the -CD1 and -CD2 pins ( Table 2). Register Name: Interface Status Index: 01h Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3 B i t 2B i t 1B i t 0 -VPP_VALID RDY WP -CD2 -CD1 BVD2 BVD1 VPP Valid Card Power On Ready/Busy* Write Protect Card Detect Battery Voltage Detect R 1 R:0 R 2 R 3 R 4 R 5 1. Bit 7 is the inversion of the value of the -VPP_VALID pin (Table 1). 2. Bit 5 is the value of the RDY/-IREQ pin (Table 2). 3. Bit 4 is the value of the WP/-IOIS16 pin (Table 2). 4. Bits 3:2 are the inversion of the values of the -CD1 and -CD2 pins (Table 2). 5. Bits 1:0 are the values of the BVD1/-STSCHG and BVD2/-SPKR pins (Table 2). BVD2 Input Level BVD1 Input Level Bit 1 Bit 0 PC Card Interpretation Low Low 0 0 Card data lost Low High 0 1 Battery low warning High Low 1 0 Card data lost High High 1 1 Battery/data okay -CD2 Level -CD1 Level Bit 3 Bit 2 Card Detect Status High High 0 0 Either no card or card is not fully inserted High Low 0 1 Card is not fully inserted Low High 1 0 Card is not fully inserted Low Low 1 1 Card is fully inserted
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
48 Datasheet
Bit 4 — Write Protect This bit indicates the state of the WP/-IOIS16 pin ( Table 2) on the card and has meaning only in Memory Card Interface mode. Bit 5 — Ready/Busy* This bit indicates the state of the RDY/-IREQ pin ( Table 2) on the card. If the card has been configured for I/O, then this bit will not be valid. Bit 6 — Card Power On This status bit indicates whether power to the card is on. Refer to Table 11 on page 42 for details. Bit 7 — VPP Valid This bit indicates the status of the -VPP_V ALID pin ( Table 1).
7.3 Power Control
0 Card is not write protected. 1 Card is write protected. 0 Card is not ready. 1 Card is ready. 0 Power to the card is not on. 1 Power to the card is on. 0 This status bit indicates a logic high at the -VPP_VALID pin. 1 This status bit indicates a logic low at the -VPP_VALID pin.Register Name: Power Control Index: 02h Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Card Enable Compatibility Bit Auto-Power V CC Power Compatibility Bits V PP 1 Power RW:0 RW:0 RW:0 RW:0 RW:00 RW:00
Table 12. Enabling of Socket Power Controls Table 13. Enabling of Outputs to Card Socket
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
50 Datasheet
Bits 1:0 — VPP 1 Power These bits are intended to be used to control the power to the VPP1 pin of the PC Card. Bit 4 — VCC Power Depending on the value of bit 5 below, setting this bit to ‘1’ will cause power to be applied to the card. The VCC 3.3V bit (see bit 1, “Misc Control 1” on page 70) determines whether 3.3V or 5V power is applied. Bit 5 — Auto-Power When this bit is set to ‘1’, the PD67XX causes power to the card to be turned on and off automatically with the insertion and removal of a PC card from the socket. Bit 7 — Card Enable When this bit is ‘1’, the outputs to the PC Card are enabled if a card is present and card power is being supplied. The pins affected include: -CE2, -CE1, -IORD, -IOWR, -OE, -REG, RESET, A[25:0], D[15:0], and -WE (see Table 2). VPP 1 Power Bit 1 Bit 0 VPP_PGM VPP_VCC PC Card Intended Socket Function 0 0 Inactive low Inactive low Zero volts to PC Card socket V PP 1 pin 0 1 Inactive low Active high 1 Selected card VCC to PC Card socket VPP 1 pin 1 0 Active high a Inactive low +12V to PC Card socket VPP 1 pin 1 1 Inactive low Inactive low Zero volts to PC Card socket V PP 1 pin 1. Under conditions where VPP 1 power is activated. See “Power Control” on page 48.
0 Power is not applied to the card: the -VCC_3 and -VCC_5 socket power control pins are
inactive high.
1 Power is applied to the card: if bit 5 is ‘0’, or bit 5 is ‘1’ and -CD2 and -CD1 are active low,
then the selected -VCC_3 or -VCC_5 socket power control pin is active low.
0 VCC and VPP 1 power control signals are activated independent of the socket’s -CD2 and -
CD1 input levels.
1 VCC and VPP 1 power control signals are only activated if the socket’s -CD2 and -CD1 inputs
are active low. 0 Outputs to card socket are not enabled and are floating. 1 Outputs to card socket are enabled if -CD1 and -CD2 are active low and bit 4 is ‘1’.
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 51
7.4 Interrupt and General Control
Bits 3:0 — Card IRQ Select These bits determine which IRQ will occur when the card causes an interrupt through the RDY/ -IREQ pin on the PC Card connector. Bit 4 — Enable Manage Int This bit determines how management interrupts will occur. Register Name: Interrupt and General Control Index: 03h Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Ring Indicate Enable Card Reset* Card Is I/O Enable Manage Int Card IRQ Select RW:0 RW:0 RW:0 RW:0 RW:0000
0000 IRQ disabled
0001 Reserved
0010 Reserved
0011 IRQ 3
0100 IRQ 4
0101 IRQ 5
0110 Reserved
0111 IRQ 7
1000 Reserved
1001 IRQ 9 (On the PD6722, this output may alternately be used as an ISA bus DACK* signal)
1010 IRQ 10 (On the PD6722, this output may alternately be used as an ISA bus DRQ signal)
1011 IRQ 11
1100 IRQ 12 (This output may alternately be used for LED)
1101 Reserved
1110 IRQ 14
1111 IRQ 15 (This output may alternately be used for ring indicate)
Card status management interrupts occur as programmed by Management IRQ Select bits (bits 7:4 of Management Interrupt Configuration register, see “Bits 7:4 — Management IRQ Select” on page 55).
1 Card status management interrupts are redirected to the -INTR line instead of the programmed
IRQ pin.
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
52 Datasheet
Bit 5 — Card Is I/O This bit determines how dual-function socket interface pins will be used. Bit 6 — Card Reset* This bit determines whether the RESET signal (see Table 2 on page 20) to the card is active or inactive. When the Card Enable bit (see “Bit 7 — Card Enable” on page 50) is ‘0’, the RESET signal to the card will be high-impedance. See Chapter 10 for further description of ATA mode functions. Bit 7 — Ring Indicate Enable This bit determines whether the -STSCHG input pin is used to activate the IRQ15 pin in conjunction with Misc Control 2, IRQ15 Is RI Out (see “Bit 7 — IRQ15 Is RI Out” on page 74). This bit has no significance when the card socket is configured for memory card operation.
7.5 Card Status Change
This register indicates the source of a management interrupt generated by the PD67XX. Note: The corresponding bit in the Management Interrupt Configuration register must be set to ‘1’ to enable each specific status change detection. 0 Memory Card Interface mode: card socket configured to support memory cards. Dual-function socket interface pins perform memory card-type interface functions.
1 I/O Card Interface mode: card socket configured to support I/O/memory card-type interface
functions. Dual-function socket interface pins perform I/O/memory card-type interface functions. 0 The RESET signal to the card socket is set active (high for normal, low for ATA mode). 1 The RESET signal to the card socket is set inactive (low for normal, high for ATA mode). 0 BVD1/-STSCHG pin is status change function. 1 BVD1/-STSCHG pin is ring indicate input pin from card. Register Name: Card Status Change Index: 04h Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Card Detect Change Ready Change Battery Warning Change Battery Dead Or Status Change R:0 R:0 R:0 R:0 R:0 R:0 R:0 R:0
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 53 Bit 0 — Battery Dead Or Status Change When the socket is configured for memory card support, this bit is set to ‘1’ when a BVD1 battery dead high-to-low transition has been detected. When the socket is configured for I/O card support, this bit is set to ‘1’ when the BVD1/-STSCHG pin (see Table 2 on page 20) changes from either high to low or low to high. This bit is reset to ‘0’ whenever this register is read. In I/O Card Interface mode, function of this bit is not affected by bit 7 of the Interrupt and General Control register. Bit 1 — Battery Warning Change When a socket is configured for memory card support, this bit is set to ‘1’ when a high-to-low transition on BVD2 occurs indicating a battery warning was detected. This bit should be ignored when the socket is configured for I/O card support. This bit is reset to ‘0’ whenever this register is read. Bit 2 — Ready Change When this bit is ‘1’, a change has occurred in the card RDY/-IREQ pin (see Table 2 on page 20). This bit will always read 0 when the card is configured as an I/O card. This bit is reset to ‘0’ whenever this register is read. Bit 3 — Card Detect Change When this bit is ‘1’, a change has occurred on the -CD1 or -CD2 pins (see Table 2 on page 20). This bit is reset to ‘0’ whenever this register is read.
0 A transition (from high to low for memory card support or either high to low or low to high for I/O
card support) on the BVD1/-STSCHG pin has not occurred since this register was last read. 1 A transition on the BVD1/-STSCHG pin has occurred.
0 A transition (from high to low) on the BVD2 pin has not occurred since this register was last
read. 1 A transition on the BVD2 pin has occurred. 0 A transition on the RDY/-IREQ pin has not occurred since this register was last read. 1 A transition on the RDY/-IREQ pin has occurred.0 A transition on the -CD1 or -CD2 pins has not occurred since this register was last read. 1 A transition on the -CD1 or -CD2 pins has occurred.
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
54 Datasheet
7.6 Management Interrupt Configuration
This register controls which status changes may cause management interrupts and at which pin the management interrupts will appear. Bit 0 — Battery Dead Or Status Change Enable When this bit is ‘1’, a management interrupt will occur when the Card Status Change register’s Battery Dead Or Status Change bit (see “Bit 0 — Battery Dead Or Status Change” on page 53) is ‘1’. This allows management interrupts to be generated on changes in level of the BVD1/ -STSCHG pin. Bit 1 — Battery Warning Enable When this bit is ‘1’, a management interrupt will occur when the Card Status Change register’s Battery Warning Change bit (see “Bit 1 — Battery Warning Change” on page 53) is ‘1’. This bit is ignored when the card socket is in I/O mode. Bit 2 — Ready Enable When this bit is ‘1’, a management interrupt will occur when the Card Status Change register’s Ready Change bit (see “Bit 1 — Battery Warning Change” on page 53) is ‘1’. Register Name; Management Interrupt Configuration Index: 05h Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Management IRQ Select Card Detect Enable Ready Enable Battery Warning Enable Battery Dead Or Status Change Enable RW:0000 RW:0 RW:0 RW:0 RW:0 0 Battery Dead Or Status Change management interrupt disabled. 1 If Battery Dead Or Status Change is ‘1’, a management interrupt will occur. 0 Battery Warning Change management interrupt disabled. 1 If Battery Warning Change is ‘1’, a management interrupt will occur. 0 Ready Change management interrupt disabled. 1 If Ready Change is ‘1’, a management interrupt will occur.
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 55 Bit 3 — Card Detect Enable When this bit is ‘1’, a management interrupt will occur when the Card Status Change register’s Card Detect Change bit (see “Bit 3 — Card Detect Change” on page 53) is ‘1’. Bits 7:4 — Management IRQ Select These bits determine which interrupt pin will be used for card status change management interrupts.
7.7 Mapping Enable
0 Card Detect Change management interrupt disabled. 1 If Card Detect Change is ‘1’, a management interrupt will occur. Register Name: Mapping Enable Index: 06h Register Per: socket Register Compatibility Type: 365 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 I/O Map 1 Enable I/O Map 0 Enable MEMCS16 Full Decode Memory Map
4 Enable
3 Enable
2 Enable
1 Enable
0 Enable
RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 RW:0
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
56 Datasheet
Bit 0 — Memory Map 0 Enable When this bit is ‘1’, the Memory Mapping registers for Memory Space 0 will be enabled and the controller will respond to memory accesses in the memory space defined by those registers. Bit 1 — Memory Map 1 Enable When this bit is ‘1’, the Memory Mapping registers for Memory Space 1 will be enabled and the controller will respond to memory accesses in the memory space defined by those registers. Bit 2 — Memory Map 2 Enable When this bit is ‘1’, the Memory Mapping registers for Memory Space 2 will be enabled and the controller will respond to memory accesses in the memory space defined by those registers. Bit 3 — Memory Map 3 Enable When this bit is ‘1’, the Memory Mapping registers for Memory Space 3 will be enabled and the controller will respond to memory accesses in the memory space defined by those registers. Bit 4 — Memory Map 4 Enable When this bit is ‘1’, the Memory Mapping registers for Memory Space 4 will be enabled and the controller will respond to memory accesses in the memory space defined by those registers. Bit 5 — MEMCS16 Full Decode This bit is not used. All addresses are used to determine the level of MEMCS16*. 0 Memory Mapping registers for Memory Space 0 disabled. 1 Memory Mapping registers for Memory Space 0 enabled. 0 Memory Mapping registers for Memory Space 1 disabled. 1 Memory Mapping registers for Memory Space 1 enabled. 0 Memory Mapping registers for Memory Space 2 disabled. 1 Memory Mapping registers for Memory Space 2 enabled. 0 Memory Mapping registers for Memory Space 3 disabled. 1 Memory Mapping registers for Memory Space 3 enabled. 0 Memory Mapping registers for Memory Space 4 disabled. 1 Memory Mapping registers for Memory Space 4 enabled.
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 57 Bit 6 — I/O Map 0 Enable When this bit is ‘1’, the I/O Mapping registers for I/O Space 0 will be enabled and the controller will respond to I/O accesses in the I/O space defined by those registers. Bit 7 — I/O Map 1 Enable When this bit is ‘1’, the I/O Mapping registers for I/O Space 1 will be enabled and the controller will respond to I/O accesses in the I/O space defined by those registers. 0 I/O Mapping registers for I/O Space 0 disabled. 1 I/O Mapping registers for I/O Space 0 enabled. 0 I/O Mapping registers for I/O Space 1 disabled. 1 I/O Mapping registers for I/O Space 1 enabled.
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
58 Datasheet
8.0 I/O Window Mapping Registers
The I/O windows must never include 3E0h and 3E1h.
8.1 I/O Window Control
Bit 0 — I/O Window 0 Size When bit 1 below is ‘0’, this bit determines the size of the data path to I/O Window 0. When bit 1 is ‘1’, this bit is ignored. Bit 1 — Auto-Size I/O Window 0 This bit determines the data path to I/O Window 0. Note that when this bit is ‘1’, the -IOIS16 signal (see Table 2 on page 20) determines the width of the data path to the card. Bit 3 — Timing Register Select 0 This bit determines the access timing specification for I/O Window 0 (see “Setup Timing 0–1” on page 84). Register Name: I/O Window Control Index: 07h Register Per: socket Register Compatibility Type: 365 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Timing Register Select 1 Compatibility Bit Auto-Size I/O Window 1 I/O Window 1 Size Timing Register Select 0 Compatibility Bit Auto-Size I/O Window 0 I/O Window 0 Size RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 0 8-bit data path to I/O Window 0. 1 16-bit data path to I/O Window 0. 0 I/O Window 0 Size (see bit 0 above) determines the data path to I/O Window 0. 1 The data path to I/O Window 0 will be determined based on -IOIS16 returned by the card. 0 Accesses made with timing specified in Timing Set 0. 1 Accesses made with timing specified in Timing Set 1.
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 59 Bit 4 — I/O Window 1 Size When bit 5 below is ‘0’, this bit determines the size of the data path to I/O Window 1. When bit 5 is ‘1’, this bit is ignored. Bit 5 — Auto-Size I/O Window 1 This bit determines the width of the data path to I/O Window 1. Note that when this bit is ‘1’, the -IOIS16 signal (see Table 2 on page 20) determines the window size. This bit must be set for proper ATA mode operation (see “ATA Mode Operation” on page 88). Bit 7 — Timing Register Select 1 This bit determines the access timing specification for I/O Window 1 (see “Setup Timing 0–1” on page 84).
8.2 System I/O Map 0 –1 Start Address Low
There are two separate System I/O Map Start Address Low registers, each with identical fields. These registers are located at the following indexes: Index System I/O Map Start Address Low 8h System I/O Map 0 Start Address Low Ch System I/O Map 1 Start Address Low 0 8-bit data path to I/O Window 1. 1 16-bit data path to I/O Window 1. 0 I/O Window 1 Size (see bit 4) determines the data path to I/O Window 1. 1 The data path to I/O Window 1 will be determined based on -IOIS16 returned by the card.0 Accesses made with timing specified in Timing Set 0. 1 Accesses made with timing specified in Timing Set 1. Register Name: System I/O Map 0–1 Start Address Low Index: 08h, 0Ch Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Start Address 7:0 RW:00000000
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
60 Datasheet
Bits 7:0 — Start Address 7:0 This register contains the least-significant byte of the address that specifies the beginning of the I/O space within the corresponding I/O map. I/O accesses that are equal or above this address and equal or below the corresponding System I/O Map End Address will be mapped into the I/O space of the corresponding PC Card. The most-significant byte is located in the System I/O Map 0–1 Start Address High register (see “System I/O Map 0–1 Start Address High” on page 60).
8.3 System I/O Map 0 –1 Start Address High
There are two separate System I/O Map Start Address High registers, each with identical fields. These registers are located at the following indexes: Index System I/O Map Start Address High 9h System I/O Map 0 Start Address High Dh System I/O Map 1 Start Address High Bits 15:8 — Start Address 15:8 This register contains the most-significant byte of the Start Address. See the description of the Start Address field associated with bits 7:0 of the System I/O Map 0–1 Start Address Low register.
8.4 System I/O Map 0 –1 End Address Low
There are two separate System I/O Map End Address Low registers, each with identical fields. These registers are located at the following indexes: Register Name: System I/O Map 0–1 Start Address High Index: 09h, 0Dh Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Start Address 15:8 RW:00000000 Register Name: System I/O Map 0–1 End Address Low Index: 0Ah, 0Eh Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 End Address 7:0 RW:00000000
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 61 Index System I/O Map End Address Low Ah System I/O Map 0 End Address Low Eh System I/O Map 1 End Address Low Bits 7:0 — End Address 7:0 This register contains the least-significant byte of the address that specifies the termination of the I/ O space within the corresponding I/O map. I/O accesses that are equal or below this address and equal or above the corresponding System I/O Map Start Address will be mapped into the I/O space of the corresponding PC Card. The most-significant byte is located in the System I/O Map 0–1 End Address High register (see “System I/O Map 0–1 End Address High” on page 61).
8.5 System I/O Map 0 –1 End Address High
There are two separate System I/O Map End Address High registers, each with identical fields. These registers are located at the following indexes: Index System I/O Map End Address High Bh System I/O Map 0 End Address High Fh System I/O Map 1 End Address High Bits 15:8 — End Address 15:8 This register contains the most-significant byte of the End Address. See the description of the End Address field associated with bits 7:0 of the System I/O Map 0–1 End Address Low register (see “System I/O Map 0–1 End Address Low” on page 60). Register Name: System I/O Map 0–1 End Address High Index: 0Bh, 0Fh Register Per: socket Register Compatibility Type: 365 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 End Address 15:8 RW:00000000
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
62 Datasheet
8.6 Card I/O Map 0 –1 Offset Address Low
There are two separate Card I/O Map Offset Address Low registers, each with identical fields. These registers are located at the following indexes: Index Card I/O Map Offset Address Low 36h Card I/O Map 0 Offset Address Low 38h Card I/O Map 1 Offset Address Low Bits 7:1 — Offset Address 7:1 This register contains the least-significant byte of the quantity that will be added to the host I/O address; this will determine the PC Card I/O map location where the I/O access will occur. The most-significant byte is located in the Card I/O Map 0–1 Offset Address High register (see “Card I/O Map 0–1 Offset Address High” on page 62).
8.7 Card I/O Map 0 –1 Offset Address High
There are two separate Card I/O Map Offset Address High registers, each with identical fields. These registers are located at the following indexes: Index Card I/O Map Offset Address High 37h Card I/O Map 0 Offset Address High 39h Card I/O Map 1 Offset Address High Register Name: Card I/O Map 0–1 Offset Address Low Index: 36h, 38h Register Per: socket Register Compatibility Type: ext. B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Offset Address 7:1 0 1 RW:0000000 RW:0 1. This bit must be programmed to ‘0’. Register Name: Card I/O Map 0–1 Offset Address High Index: 37h, 39h Register Per: socket Register Compatibility Type: ext. B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Offset Address 15:8 RW:00000000
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 63 Bits 15:8 — Offset Address 15:8 This register contains the most-significant byte of the Offset Address. See the description of the End Address field associated with bits 7:1 of the Card I/O Map 0–1 Offset Address Low register (see “Card I/O Map 0–1 Offset Address Low” on page 62).
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
64 Datasheet
9.0 Memory Window Mapping Registers
The following information about the memory map windows is important: The memory window mapping registers determine where in the ISA memory space and PC Card memory space accesses will occur. There are five memory windows that can be used independently. The memory windows are enabled and disabled using the Mapping Enable register (see “Mapping Enable” on page 55). To specify where in the ISA space a memory window is mapped, start and end addresses are specified. A memory window is selected whenever the appropriate Memory Map Enable bit (see “Mapping Enable”) is set, and when the ISA address is greater than or equal to the appropriate System Memory Map Start Address register (see “System Memory Map 0–4 Start Address Low” on page 64) and the ISA address is less than or equal to the appropriate System Memory Map End Address register (see “System Memory Map 0–4 End Address Low ” on page 66). Start and end addresses are specified with ISA Address bits 23:12. This sets the minimum size of a memory window to 4K bytes. Memory windows are specified in the ISA address from 64 Kbytes to 16 Mbytes (0010000h–FFFFFFh). Note that no memory window can be mapped in the first 64 Kbytes of the ISA address space. To ensure proper operation, none of the windows can overlap in the ISA address space.
9.1 System Memory Map 0 –4 Start Address Low
There are five separate System Memory Map Start Address Low registers, each with identical fields. These registers are located at the following indexes: Index System Memory Map Start Address Low 10h System Memory Map 0 Start Address Low 18h System Memory Map 1 Start Address Low 20h System Memory Map 2 Start Address Low 28h System Memory Map 3 Start Address Low 30h System Memory Map 4 Start Address Low Register Name: System Memory Map 0 –4 Start Address Low Index: 10h, 18h, 20h, 28h, 30h Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Start Address 19:12 RW:00000000
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 65 Bits 7:0 — Start Address 19:12 This register contains the least-significant byte of the address that specifies where in the memory space the corresponding memory map will begin. Memory accesses that are equal or above this address and equal or below the corresponding System Memory Map End Address will be mapped into the memory space of the corresponding PC Card. The most-significant four bits are located in the System Memory Map 0 –4 Start Address High register (see “System Memory Map 0–4 Start Address High” on page 65).
9.2 System Memory Map 0 –4 Start Address High
There are five separate System Memory Map Start Address High registers, each with identical fields. These registers are located at the following indexes: Index System Memory Map Start Address High 11h System Memory Map 0 Start Address High 19h System Memory Map 1 Start Address High 21h System Memory Map 2 Start Address High 29h System Memory Map 3 Start Address High 31h System Memory Map 4 Start Address High Bits 3:0 — Start Address 23:20 This field contains the most-significant four bits of the Start Address. See the description of the Start Address field associated with bits 7:0 of the System Memory Map 0 –4 Start Address Low register (see “System Memory Map 0–4 Start Address Low” on page 64). Bit 7 — Window Data Size This bit determines the data path size to the card. Register Name: System Memory Map 0 –4 Start Address High Index: 11h, 19h, 21h, 29h, 31h Register Per: socket Register Compatibility Type: 365 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Window Data Size Compatibility Bit Scratchpad Bits Start Address 23:20 RW:0 RW:0 RW:00 RW:0000 0 8-bit data path to the card. 1 16-bit data path to the card.
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
66 Datasheet
9.3 System Memory Map 0 –4 End Address Low
There are five separate System Memory Map End Address Low registers, each with identical fields. These registers are located at the following indexes: Index System Memory Map End Address Low 12h System Memory Map 0 End Address Low 1Ah System Memory Map 1 End Address Low 22h System Memory Map 2 End Address Low 2Ah System Memory Map 3 End Address Low 32h System Memory Map 4 End Address Low Bits 7:0 — End Address 19:12 This register contains the least-significant byte of the address that specifies where in the memory space the corresponding memory map will end. Memory accesses that are equal or below this address and equal or above the corresponding System Memory Map Start Address will be mapped into the memory space of the corresponding PC Card. The most-significant four bits are located in the System Memory Map 0 –4 End Address High register (see “System Memory Map 0–4 End Address High” on page 66).
9.4 System Memory Map 0 –4 End Address High
There are five separate System Memory Map End Address High registers, each with identical fields. These registers are located at the following indexes: Index System Memory Map End Address High 13h System Memory Map 0 End Address High 1Bh System Memory Map 1 End Address High Register Name: System Memory Map 0 –4 End Address Low Index: 12h, 1Ah, 22h, 2Ah, 32h Register Per: socket Register Compatibility Type: 365 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 End Address 19:12 RW:00000000 Register Name: System Memory Map 0 –4 End Address High Index: 13h, 1Bh, 23h, 2Bh, 33h Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Card Timer Select Scratchpad Bits End Address 23:20 RW:00 RW:00 RW:0000
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 67 23h System Memory Map 2 End Address High 2Bh System Memory Map 3 End Address High 33h System Memory Map 4 End Address High
9.4.0.1 Bits 3:0 — End Address 23:20
This field contains the most-significant four bits of the End Address. See the description of the End Address field associated with bits 7:0 of the System Memory Map 0 –4 End Address Low register (see “System Memory Map 0–4 End Address Low” on page 66). Bits 7:6 — Card Timer Select This field selects the Timeset registers used to control socket timing for card accesses in this window address range. Timeset 0 and 1 reset to values compatible with PC Card standards. The mapping of bits 7:6 to Timeset 0 and 1, as shown in the preceding table, is done for software compatibility with older ISA bus-based PC Card controllers that use ISA bus wait states instead of Timeset registers (see “Setup Timing 0–1” on page 84).
9.5 Card Memory Map 0 –4 Offset Address Low
There are five separate Card Memory Map Offset Address Low registers, each with identical fields. These registers are located at the following indexes: Index Card Memory Map Offset Address Low 14h Card Memory Map 0 Offset Address Low 1Ch Card Memory Map 1 Offset Address Low 24h Card Memory Map 2 Offset Address Low 2Ch Card Memory Map 3 Offset Address Low 34h Card Memory Map 4 Offset Address Low 00 Selects Timer Set 0. 01 Selects Timer Set 1. 10 Selects Timer Set 1. 11 Selects Timer Set 1. Register Name: Card Memory Map 0 –4 Offset Address Low Index: 14h, 1Ch, 24h, 2Ch, 34h Register Per: socket Register Compatibility Type: 365 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Offset Address 19:12 RW:00000000
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
68 Datasheet
Bits 7:0 — Offset Address 19:12 This register contains the least-significant byte of the quantity that will be added to the host memory address, which will determine where the memory access will occur in the PC Card memory map. The most-significant six bits are located in the Card Memory Map 0 –4 Offset Address High register (see “Card Memory Map 0–4 Offset Address High” on page 68).
9.6 Card Memory Map 0 –4 Offset Address High
There are five separate Card Memory Map Offset Address High registers, each with identical fields. These registers are located at the following indexes: Index Card Memory Map Offset Address High 15h Card Memory Map 0 Offset Address High 1Dh Card Memory Map 1 Offset Address High 25h Card Memory Map 2 Offset Address High 2Dh Card Memory Map 3 Offset Address High 35h Card Memory Map 4 Offset Address High Bits 5:0 — Offset Address 25:20 This field contains the most-significant six bits of the Offset Address. See the description of the Offset Address field associated with bits 7:0 of the Card Memory Map 0 –4 Offset Address Low register (see “Card Memory Map 0–4 Offset Address Low” on page 67). Bit 6 — REG Setting This bit determines whether -REG ( Table 2) will be active for accesses made through this window. Card Information Structure (CIS) memory is accessed by setting this bit to ‘1’. Register Name: Card Memory Map 0 –4 Offset Address High Index: 15h, 1Dh, 25h, 2Dh, 35h Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Write Protect REG Setting Offset Address 25:20 RW:0 RW:0 RW:000000 0 -REG (see Table 2 on page 20) is not active for accesses made through this window. 1 -REG is active for accesses made through this window.
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 69 Bit 7 — Write Protect This bit determines whether writes to the card through this window are allowed. This bit only applies to Memory Card Interface mode. Note: This bit must be set to ‘0’ and a memory card’s ‘WP ’ switch must be turned off to allow writes to a card using a memory interface, such as an SRAM card. 0 Writes to the card through this window are allowed. 1 Writes to the card through this window are inhibited.
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
70 Datasheet
10.0 Extension Registers
10.1 Misc Control 1
Bit 0 — 5 V Detect (PD6710 only) This bit is connected to pins VS1 and VS2. Cards that will only operate at 3.3 V will drive this bit to ‘0’. Bit 1 — VCC 3.3V This bit determines which output pin is to be used to enable VCC power to the socket when card power is to be applied; it is used in conjunction with bits 5:4 of the Power Control register (see “Power Control” on page 48). Bit 2 — Pulse Management Interrupt This bit selects Level or Pulse mode operation of the IRQ[XX] or -INTR pin being used for card status change management interrupts (see Table 1). Note that a clock must be present on the incoming CLK for pulsed interrupts to work. Register Name: Misc Control 1 Index: 16h Register Per: socket Register Compatibility Type: ext. B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Inpack Enable Scratchpad Bits Speaker Enable Pulse System IRQ Pulse Management Interrupt VCC 3.3V
5 V Detect
(PD6710) Reserved1 (PD6722) RW:0 RW:00 RW:0 RW:0 RW:0 RW:0 R:X W:0 1. On some versions of the PD6722, this bit can be used to read levels of the A_GPSTB and B_GPSTB pins. 0 3.3 V card detected. 1 Old or 5 V card detected. 0 -VCC_5 activated when card power is to be applied. 1 -VCC_3 activated when card power is to be applied.
0 Card status change management interrupts are passed to the appropriate IRQ[XX] or -INTR pin
as level-sensitive.
1 When a card status change management interrupt occurs, the appropriate IRQ[XX] or -INTR
pin is driven with the pulse train shown in Figure 11 and allows for interrupt sharing.
This bit determines whether the card -SPKR pin will drive SPKR_OUT* ( Table 1). This bit is used to determine when to drive data onto the ISA bus. Figure 11. Pulse Mode Interrupts 0 RDY/-IREQ generated interrupts are passed to the IRQ[XX] pin as level-sensitive.
1 When a RDY/-IREQ interrupt occurs, the IRQ[XX] pin is driven with the pulse train shown in
Figure 11 and allows for interrupt sharing. 0 SPKR_OUT* is high-impedance. 1 SPKR_OUT* is driven from the XOR of -SPKR from each enabled socket. 0 -INPACK pin ( Table 2) ignored. 1 -INPACK pin used to control data bus drivers during I/O read from the socket.
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
72 Datasheet
10.2 FIFO Control
Bit 7 — Empty Write FIFO This bit controls FIFO operation and reports FIFO status. When this bit is written to ‘1’, all data in the FIFO is lost. During read operations when this bit is ‘1’, the FIFO is empty. During read operations when this bit is ‘0’, data is still in the FIFO. This bit is used to ensure the FIFO is empty before changing timing registers. FIFO contents will be lost whenever any of the following occur: PWRGOOD pin ( Table 1) is ‘0’. The card is removed. V CC Power bit (see “Bit 4 — VCC Power ” on page 50) is programmed to ‘0’.
10.3 Misc Control 2
Register Name: FIFO Control Index: 17h Register Per: socket Register Compatibility Type: ext. B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Empty Write FIFO Scratchpad Bitsa RW RW:0000000 1. Because a write will flush the FIFO, these scratchpad bits should be used only when card activity is guaranteed not to occur. Value I/O Read I/O Write
0 FIFO not empty No operation occurs; default on reset
1 FIFO empty Flush the FIFO
Register Name: Misc Control 2 Index: 1Eh Register Per: chip Register Compatibility Type: ext. B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 IRQ15 Is RI Out DMA System (PD6722) Three-State Bit 7 Drive LED Enable 5V Core Suspend Low-Power Dynamic Mode Bypass Frequency Synthesizer RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 RW:1 RW:0
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 73 Bit 0 — Bypass Frequency Synthesizer This bit determines internal time base. Bit 1 — Low-Power Dynamic Mode This bit determines whether Low-Power Dynamic mode is enabled. For maximum operational power savings, keep this bit set to ‘1’. Bit 2 — Suspend This bit enables Suspend mode. After entering Suspend, AEN should be pulled high for lowest power consumption. When this bit is high and AEN is high, all ISA bus interface inputs are turned off. In 82386SL systems when the processor is in Suspend mode, the ISA bus interface signals float; this feature will prevent high current flow in the PD67XX inputs. Bit 3 — 5V Core This bit selects input threshold circuits for use when 3.3 or 5.0 volts is connected to the PD67XX CORE_VDD pins. This bit must be set to ‘0’ when the CORE_VDD pins are connected to 3.3 volts to preserve TTL-compatible input thresholds to the card socket. Bit 4 — Drive LED Enable Note: This bit should be set to ‘0’ if in Memory Card Interface mode. This bit determines whether -SPKR is used to drive an LED on the IRQ12 ( Table 1) for disk drives. 0 Normal operation, internal clock = CLK input frequency x 7/4. 1 Internal clock = CLK input frequency (see Table 1). 0 Clock runs always. 1 Normal operation, stop clock when possible. 0 Normal operation. 1 Stop Frequency Synthesizer, enable all Low-Power modes and disable socket access. 0 Normal operation: use when CORE_VDD pin is connected to 3.3 volts. 1 Selects input thresholds for use when 5.0 volts is connected to the PD67XX CORE_VDD pins.0 IRQ12 operates normally. IRQ12 becomes an open-drain output suitable for driving an LED (driven whenever the card - SPKR output is turned on, and the corresponding Speaker Is LED input bit (see “Bit 1 — Speaker Is LED Input” on page 76) is set).
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
74 Datasheet
Bit 5 — Three-State Bit 7 This bit enables floppy change bit compatibility. Bit 6 — DMA System (PD6722 only) On the PD6710, this bit is reserved. On the PD6722, this bit is used to configure system interface signals for normal or DMA operation. At reset, the signals IRQ9, IRQ10, and -VPP_V ALID are in non-DMA mode, and this bit is set to ‘0’. When this bit is set to ‘1’, the IRQ9, IRQ10, and -VPP_V ALID pins are reconfigured for system bus DMA interfacing. Refer to “DMA Operation (PD6722 only)” on page 97 for a functional description of these pins during DMA operation. Bit 7 — IRQ15 Is RI Out This bit determines the function of the IRQ15 pin. When configured for ring indicate, IRQ15 is used to resume a processor with NMI or SMI such as an 82486SL when a high-to-low change is detected on the -STSCHG pin.
10.4 Chip Information
0 Normal operation. 1 For socket I/O at address 03F7h and 0377h, do not drive bit 7. 0 Configured for non-DMA mode on the PD6722. 1 Configured for DMA mode on the PD6722. 0 Normal IRQ15 operation. 1 IRQ15 is connected to Ring Indicate pin on the host processor. Register Name: Chip Information Index: 1Fh Register Per: chip Register Compatibility Type: ext. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PC Card Controller Identifi- cation Dual/Single Socket* PD67XX Revision Level Reserved R:11 R:n 1 R:nnnn2 R:n3 1. The value for PD6710 is ‘0’, and the value for PD6722 is ‘1’. 2. This read-only value depends on the revision level of the PD67XX chip. 3. The value for PD6722 is ‘1’. The value for the PD6710 is ‘0’.
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 75 Bits 4:1 — PD67XX Revision Level This field identifies the revision of the controller. The initial value is ‘111’. Bit 5 — Dual/Single Socket* This bit specifies the number of sockets supported by the PD67XX. Bits 7:6 — PC Card Controller Identification This field identifies a PC Card controller device. After chip reset or doing an I/O write to this register, the first read of this register will return ‘11’. On the next read, this field will be ‘00’. This pattern of toggling data on subsequent reads can be used by software to determine presence of a PC Card controller in a system or to determine occurrence of a device reset.
10.5 ATA Control
Bit 0 — ATA Mode This bit reconfigures the particular socket as an ATA drive interface. Refer to Table 17 on page 88 for PC Card socket pin definitions in ATA mode. 0 Chip identified as a single-socket controller. 1 Chip identified as a dual-socket controller. 00 Second read after I/O write to this register. 11 First read after I/O write to this register. Register Name: ATA Control Index: 26h Register Per: socket Register Compatibility Type: ext. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 A25/CSEL A24/M/S* A23/VU A22 A21 Scratchpad Bit Speaker Is LED Input ATA Mode RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 0 Normal operation. 1 Configures the socket interface to handle ATA-type disk drives.
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
76 Datasheet
Bit 1 — Speaker Is LED Input This bit changes the function of the BVD2/-SPKR/-LED pin (see Table 2 on page 20) from digital speaker input to disk status LED input. When in I/O Card Interface mode or ATA mode, setting this bit to ‘1’ reconfigures the BVD2/-SPKR/-LED input pin to serve as a -LED input from the socket. Note: This bit should be set to ‘0’ if in Memory Card Interface mode. Bit 3 — A21 In ATA mode, the value in this bit is applied to the A TA A21 pin and is vendor-specific. Certain ATA drive vendor-specific performance enhancements beyond the PC Card Standard may be controlled through use of this bit. This bit has no hardware control function when not in ATA mode. Bit 4 — A22 In ATA mode, the value in this bit is applied to the A TA A22 pin and is vendor-specific. Certain ATA drive vendor-specific performance enhancements beyond the PC Card Standard may be controlled through use of this bit. This bit has no hardware control function when not in ATA mode. Bit 5 — A23/VU In ATA mode, the value in this bit is applied to the A TA A23 pin and is vendor-specific. Certain ATA drive vendor-specific performance enhancements beyond the PC Card Standard may be controlled through use of this bit. This bit has no hardware control function when not in ATA mode. Bit 6 — A24/M/S* In ATA mode, the value in this bit is applied to the A TA A24 pin and is vendor-specific. Certain ATA drive vendor-specific performance enhancements beyond the PC Card Standard may be controlled through use of this bit. This bit has no hardware control function when not in ATA mode. Bit 7 — A25/CSEL In ATA mode, the value in this bit is applied to the A TA A25 pin and is vendor-specific. Certain ATA drive vendor-specific performance enhancements beyond the PC Card Standard may be controlled through use of this bit. This bit has no hardware control function when not in ATA mode. 0 Normal operation.
1 The PC Card -SPKR pin will be used to drive IRQ12 if Drive LED Enable (see “Bit 4 — Drive
LED Enable” on page 73) is set.
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 77
10.6 Extended Index
In the PD6722 only, this register controls which of the following registers at index 2Fh can be accessed:
10.7 Extended Data
The data in this register allows the registers indicated by the Extended Index register to be read and written. The value of this register is the value of the register selected by the Extended Index register. Register Name: Extended Index Index: 2Eh Register Per: socket Register Compatibility Type: ext. B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Extended Index RW:00000000 Register Name at Index 2Fh Extended Register Index Scratchpad 00h Data Mask 0 01h Data Mask 1 02h Extension Control 1 (formerly named DMA Control) 03h Maximum DMA Acknowledge Delay 04h Reserved 05h–09h External Data 0Ah Extension Control 2 0Bh Register Name: Extended Data Index: 2Fh Register Per: socket Register Compatibility Type: ext. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Extended Data
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
78 Datasheet
10.7.1 Data Mask 0 –1
Data Mask 0 is the mask register for I/O Map 0. For each bit set in the Data Mask Select 0 field, the corresponding data bit will not be driven when the host addresses PC Card I/O addresses in the I/O Map 0 range. If this register is set to 00h, then all data bits will be driven from the PC Card to the ISA bus (this is the reset condition). If any bits are set to ‘1’, accesses to the I/O Map 0 range of I/O on the PC Card will be forced to 8-bit operation on the ISA side. If, for example, I/O Map 0 registers are set for the range 3F7h to 3F7h, I/O Map 1 registers are set for the range 3F0h to 3F6h, Data Mask Select 0 is set to 7Fh, and a floppy drive is the PC Card device, then the conflict between the floppy address 3F7h and the hard disk register at 3F7h would not cause a conflict on the ISA bus — the floppy change bit would be correctly presented to the host. The Data Mask 1 register operates the same as the Data Mask 0 register but acts on I/O addresses in the range indicated by the I/O Map 1 registers.
10.7.2 Extension Control 1 (PD6722 only, formerly DMA Control)
Bit 0 — VCC Power Lock This bit can be used to prevent card drivers from overriding the Socket Services’ task of controlling power to the card, thus preventing situations where cards are powered incorrectly. Bit 1 — Auto Power Clear Disable Register Name: Data Mask 0–1 Index: 2Fh Extended Index: 01h, 02h Register Per: socket Register Compatibility Type: ext. B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Data Mask Select 0–1 RW:00000000 Register Name: Extension Control 1 Index: 2Fh Extended Index: 03h Register Per: socket Register Compatibility Type: ext. B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 DMA Enable (PD6722) Pull-up Control Reserved LED Activity Enable Auto Power Clear Disable VCC Power Lock RW:00 RW:0 RW:00 RW:0 RW:0 RW:0 0T h e V CC Power bit (bit 4 of Power Control register) is not locked. 1T h e V CC Power bit (bit 4 of Power Control register) cannot be changed by software. 0 The V CC Power bit (bit 4 of Power Control register) is reset to ‘0’ when the card is removed. 1 The V CC Power bit (bit 4 of Power Control register) is not affected by card removal.
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 79 Bit 2 — LED Activity Enable This bit allows the LED_OUT* pin to reflect any activity in the card. Whenever PC Card cycles are in process to or from a card in either socket, LED_OUT* will be active (low). Bit 5 — Pull-up Control This bit turns off the pull-ups on CD2, CD1, and A_GPSTB and B_GPSTB (PD6722). Turning off these pull-ups can be used in addition to Suspend mode to even further reduce power when cards are inserted but no card accessibility is required. Even though power may or may not still be applied, all pull-ups and their associated inputs will be disabled. Bit 7:6 — DMA Enable (PD6722 only) On the PD6722, DMA Enable bits 6 and 7 enable the DMA operation of the PC Card socket. At reset these bits are set to ‘0’, and this is non-DMA mode. If either or both of these bits is set, the socket is in DMA mode. The three codes that cause DMA mode also select the use of one of three pins for the active-low -DREQ input at the PC Card interface. For cards requiring DMA services but also needing input acknowledge functionality, or needing to indicate the size of I/O registers within a window, or needing digital speaker or LED operation, the selection of the -DREQ signal to the socket is made to be as flexible as possible.
10.7.3 Maximum DMA Acknowledge Delay (PD6722 only)
0 LED activity disabled. 1 LED activity enabled. 0 Pull-ups on CD2, CD1, A_GPSTB, and B_GPSTB (PD6722) are in use. 1 Pull-ups on CD2, CD1, A_GPSTB, and B_GPSTB (PD6722) are turned off. Bit 7 Bit 6 Pin Used 01- I N P A C K 1 0 WP/-IOIS16 1 1 BVD2/-SPKR Register Name: Maximum DMA Acknowledge Delay Index: 2Fh Extended Index: 04h Register Per: socket Register Compatibility Type: ext. B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Maximum DMA Acknowledge Delay RW:00000000
80 Datasheet
system can issue a DMA acknowledge without following it with a DMA read or write cycle. there are no system-generated DMA read or write cycles to the card within a programmable time. intended verify-cycle functions. the specifications for the systems DMA cycle timing. Figure 12. Selection of Acknowledge Time-out Interval t1 = time delay from DMA acknowledge to IOR* or IOW* command (specified by system design). t2 = time to program into the Maximum DMA Acknowledge Delay register for when IOR* or IOW* falling edge does not occur (t2 > t1). Table 14. Maximum DMA Acknowledge Delay Register Values (Sheet 1 of 2)
10.7.4 External Data (PD6722 only, Socket A, Index 2Fh)
Extension Control 2 register (Index 2Fh, Extended Index 0Bh). the upper nibble should be ignored. information on the use of the External Data register. Register Compatibility Type: ext. Table 14. Maximum DMA Acknowledge Delay Register Values (Sheet 2 of 2) Table 15. Functions of Socket A External Data Register
01 External read port: A_GPSTB is a read buffer enable for external data on
produce the value written to the latch.
11 R e s e r v e d
82 Datasheet
10.7.5 External Data (PD6722 only, Socket A, Index 6Fh)
Extension Control 2 register (Index 6Fh, Extended Index 0Bh). to the external read buffer as shown in Figure 15 on page 96. page 95 for more information on VS1# and VS2# detection. Register Compatibility Type: ext. Table 16. Functions of Socket B External Data Register (PD6722 only)
01 External read port: B_GPSTB is a read buffer enable for external data on
produce the value written to the latch.
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 83
10.7.6 Extension Control 2 (PD6722 only)
Bit 5 — Active-high GPSTB Bit 4 — GPSTB on IOW* (PD6722 only) Note that setting this bit forces the pull-ups on A_GPSTB (PD6722) to be off, independent of the setting of the Pull-Up Control bit (index 2Fh, extended index 03h, bit 5). See “External Data (PD6722 only, Socket A, Index 6Fh)” on page 82, “Using GPSTB Pins for External Port Control (PD6722 only)” on page 91, and “VS1# and VS2# V oltage Detection” on page 95. Bit 3 — GPSTB on IOR* (PD6722 only) Note that setting this bit forces the pull-ups on B_GPSTB (PD6722) to be off, independent of the setting of the Pull-Up Control bit (index 6Fh, extended index 03h, bit 5). See “External Data (PD6722 only, Socket A, Index 6Fh)”, “Using GPSTB Pins for External Port Control (PD6722 only)”, and “VS1# and VS2# V oltage Detection”. Bit 2 — Totem-pole GPSTB When GPSTB outputs are totem-pole, their ‘high’ level is driven to the level of the +5V pin, instead of high-impedance. Register Name: Extension Control 2 Index: 2Fh Extended Index: 0Bh Register Per: socket Register Compatibility Type: ext. B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Reserved Active-high GPSTB GPSTB on IOW* GPSTB on IOR* Totem-pole GPSTB Reserved RW:00 RW:0 RW:0 RW:0 RW:0 RW:00 0 GPSTB ouputs are active-low. 1 GPSTB ouputs are active-high. 0 A_GPSTB (PD6722) pins are used as voltage sense. 1 A_GPSTB (PD6722) pins are used to strobe I/O writes on SD[15:8]. 0 B_GPSTB (PD6722) pins (socket B) are used as voltage sense. 1 B_GPSTB (PD6722) pins are used to strobe I/O reads on SD[15:8]. 0 GPSTB ouputs are open-collector. 1 GPSTB ouputs are totem-pole.
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
84 Datasheet
11.0 Timing Registers
The following information about the timing registers is important: All timing registers take effect immediately and should only be changed when the FIFO is empty (see the FIFO Control register on “FIFO Control” on page 72). Selection of Timing 0 or Timing 1 register sets is controlled by I/O Window Control, bit 3 and/or bit 7 (see “I/O Window Control” on page 58).
11.1 Setup Timing 0 –1
There are two separate Setup Timing registers, each with identical fields. These registers are located at the following indexes: Index Setup Timing 3Ah Setup Timing 0 3Dh Setup Timing 1 The Setup Timing register for each timing set controls how long a PC Card cycle’s command (that is, -OE, -WE, -IORD, -IOWR; see Table 2 on page 20) setup will be, in terms of the number of internal clock cycles. The overall command setup number of clocks S is programmed by selecting a 2-bit prescaling value (bits 7:6 of this register) representing weights of 1, 16, 256, or 8192, and then selecting a multiplier value (bits 5:0) to which that prescalar is multiplied to produce the overall command setup timing length according to the following formula: S = (N pres × N val) + 1 The value of S, representing the number of internal clock cycles for command setup, is then multiplied by the internal clock’s period to determine the command setup time (see “PC Card Bus Timing Calculations” on page 109 for further discussion). Bits 5:0 — Setup Multiplier Value This field indicates an integer value N val from 0 to 63; it is combined with a prescalar value (bits 7:6) to control the length of setup time before a command becomes active. Register Name: Setup Timing 0–1 Index: 3Ah, 3Dh Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Setup Prescalar Select Setup Multiplier Value RW:00 RW:000001
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 85 Bits 7:6 — Setup Prescalar Select This field chooses one of four prescalar values N pres that are combined with the value of the Setup Multiplier Value (bits 5:0) to control the length of setup time before a command becomes active.
11.2 Command Timing 0 –1
There are two separate Command Timing registers, each with identical fields. These registers are located at the following indexes: Index Command Timing 3Bh Command Timing 0 3Eh Command Timing 1 The Command Timing register for each timing set controls how long a PC Card cycle’s command (that is, -OE, -WE, -IORD, -IOWR; see Table 2 on page 20) active time will be, in terms of the number of internal clock cycles. The overall command timing length C is programmed by selecting a 2-bit prescaling value (bits 7:6 of this register) representing weights of 1, 16, 256, or 8192, and then selecting a multiplier value (bits 5:0) to which that prescalar is multiplied to produce the overall command timing length according to the following formula: C = (N pres × N val) + 1 The value of C , representing the number of internal clock cycles for a command, is then multiplied by the internal clock’s period to determine the command active time (see “PC Card Bus Timing Calculations” on page 109 for further discussion).
00 N pres = 1
01 N pres = 16
10 N pres = 256
11 N pres = 8192
Register Name: Command Timing 0 –1 Index: 3Bh, 3Eh Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Command Prescalar Select Command Multiplier Value RW:00 RW:000110/001111 1 1. Timing set 0 (index 3Bh) resets to 06h for socket timing equal to standard AT-bus-based cycle times. Timing set 1 (3Eh) resets to 0Fh for socket timings equal to standard AT-bus timing using one additional wait state.
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
86 Datasheet
Bits 5:0 — Command Multiplier Value This field indicates an integer value N val from 0 to 63; it is combined with a prescalar value (bits 7:6) to control the length that a command is active. Bits 7:6 — Command Prescalar Select This field chooses one of four prescalar values N pres that are combined with the value of the Command Multiplier Value (bits 5:0) to control the length that a command is active.
11.3 Recovery Timing 0 –1
There are two separate Recover Timing registers, each with identical fields. These registers are located at the following indexes: Index Recovery Timing 3Ch Recovery Timing 0 3Fh Recovery Timing 1 The Recovery Timing register for each timing set controls how long a PC Card cycle’s command (that is, -OE, -WE, -IORD, -IOWR; see Table 2 on page 20) recovery will be, in terms of the number of internal clock cycles. The overall command recovery timing length R is programmed by selecting a 2-bit prescaling value (bits 7:6 of this register) representing weights of 1, 16, 256, or 8192, and then selecting a multiplier value (bits 5:0) to which that prescalar is multiplied to produce the overall command recovery timing length according to the following formula: R = (N pres × N val) + 1 The value of R, representing the number of internal clock cycles for command recovery, is then multiplied by the internal clock’s period to determine the command recovery time (see “PC Card Bus Timing Calculations” on page 109 for further discussion). Register Name: Recovery Timing 0–1 Index: 3Ch, 3Fh Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Recovery Prescalar Select Recovery Multiplier Value RW:00 RW:000011
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 87 Bits 5:0 — Recovery Multiplier Value This field indicates an integer value N val from 0 to 63; it is combined with a prescalar value (bits 7:6) to control the length of recovery time after a command is active. Bits 7:6 — Recovery Prescalar Select This field chooses one of four prescalar values N pres that are combined with the value of the Recovery Multiplier Value (bits 5:0) to control the length of recovery time after a command is active.
88 Datasheet
12.0 ATA Mode Operation
through the socket using the A TA electrical interface. Configuring PCMCIA Sockets for ATA Drive Interface, for more information. Table 17. ATA Pin Cross-Reference (Sheet 1 of 3)
1 Ground Ground
8 A10 n/c
10 A11 n/c
11 A9 CS1*
12 A8 n/c
13 A13 n/c
14 A14 n/c
17 VCC VCC
18 VPP1 n/c
19 A16 n/c
20 A15 n/c
21 A12 n/c
22 A7 n/c
- Not supported by the PD67XX.
23 A6 n/c
24 A5 n/c
25 A4 n/c
26 A3 n/c
27 A2 A2
28 A1 A1
29 A0 A0
30 D0 D0
31 D1 D1
32 D2 D2
34 Ground Ground
35 Ground Ground
37 D11 D11
38 D12 D12
39 D13 D13
40 D14 D14
41 D15 D15
43 VS1 VS1
46 A17 n/c
47 A18 n/c
48 A19 n/c
49 A20 n/c
50 A21 n/c
51 VCC VCC
52 VPP2 n/c
53 A22 n/c
54 A23 VU
55 A24 -M/S
56 A25 CSEL
57 VS2 VS2
Table 17. ATA Pin Cross-Reference (Sheet 2 of 3)
- Not supported by the PD67XX.
90 Datasheet
58 RESET RESET*
64 D8 D8
65 D9 D9
66 D10 D10
68 Ground Ground
Table 17. ATA Pin Cross-Reference (Sheet 3 of 3)
- Not supported by the PD67XX.
eject solenoid position status, or general system signal status. card-state LEDs, card mechanism solenoids, or motor eject mechanisms.
13.1 Control of GPSTB Pins
The Extension Control 2 register controls the GPSTB pins. register at Socket B (index 6Fh, extended index 0Bh). from external ports created by using a GPSTB pin to control an external read or write port. Table 18. Registers for Control and Data of GPSTB Pins Register Compatibility Type: ext.
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
92 Datasheet
Bit 5 allows programming of the active level of GPSTB, with the default being active-low. Setting bit 5 to ‘1’ causes a GPSTB output to be low normally and high (active) upon external data access. Bit 4 controls use of the respective GPSTB pin as a write strobe for an external general-purpose latch. When the respective extended index is set to 0Ah and the index register is set to the respective 2Fh or 6Fh setting, I/O writes that access address 3E1h will result in the respective GPSTB signal being driven active for the duration of the ISA bus IOW* signal being driven low. Bit 3 controls use of the respective GPSTB pin a read strobe for an external general-purpose buffer. When the respective extended index is set to 0Ah and the index register is set to the respective 2Fh or 6Fh setting, I/O reads that access address 3E1h will result in the respective GPSTB signal being driven active for the duration of the ISA bus IOR* signal being driven low. Bit 2 cause the GPSTB output to be totem-pole instead of the default open-collector configuration. When GPSTB outputs are totem-pole, their ‘high’ level is driven to the voltage of the ‘+5V ’ pin, instead of to high-impedance. If neither bit 3 nor bit 4 is set, the respective GPSTB pin functions as a reserved input in a PD6722 that is an internal pull-up to the ‘+5V ’ pin. This internal pull-up is turned off whenever the GPSTB pin is configured as a general-purpose strobe, or when the respective socket’s Pull-up Control bit is set to ‘1’. Bits 7:6 and 1:0 are reserved and must be programmed to ‘0’. These bits should not be used as scratchpad bits. External Data Port Access through the External Data Register Data to be accessed from an external read or write port is mapped to the respective External Data register at Extended Index 0Ah. This allows external data to be accessed as if it were a register in the PD67XX register set. To achieve this mapping, the external data port’s buffer or latch data connections should be made to SD[15:8] of the system bus for 16-bit systems, and to SD[7:0] of the system bus for 8-bit systems. To support readback of data written to an external I/O port by use of a GPSTB pin, a shadow of the external data register exists, which is read when an I/O read is done from the external data register location corresponding to a GPSTB pin programmed as a write strobe. For more information on the Socket A and Socket B versions of this register, see the description of this register in “External Data (PD6722 only, Socket A, Index 2Fh)” on page 81 and “External Data (PD6722 only, Socket A, Index 6Fh)” on page 82. Register Name: External Data Index: 2Fh Extended Index: 0Ah Register Per: socket Register Compatibility Type: ext. B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 External Data External Data External Data External Data External Data External Data External Data External Data RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 RW:0
13.2 Example Implementations of GPSTB-Controlled Read and
active (low) for the duration of the system’s IOW* pulse. all ‘0’s at its outputs when the PD67XX is reset. Figure 13. Example GPSTB Write Port (Extension Control 2 bits 4:3 are ‘10’) † Pull-up resistor, or set Extension Control 2 bit 2 to ‘1’ for totem-pole output. Figure 14. Example GPSTB Read Port (Extension Control 2 bits 4:3 are ‘01’) † Pull-up resistor, or set Extension Control 2 bit 2 to ‘1’ for totem-pole output.
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
94 Datasheet
In this mode, Extension Control 2 register bit 3 is set to ‘1’, enabling the respective GPSTB pin to function as a read strobe. Reads from the corresponding extended index 0Ah cause GPSTB to go active (default active level is low) for the duration of the system’s IOR* pulse. Note: Data is still written to the shadowed External Data register on writes to Extended Index 0Ah but is not visible.
13.3 GPSTB in Suspend Mode
GPSTB read and write strobes operate while the device is in suspend mode, but they are not allowed when the device is in hardware-assisted ‘Super-Suspend’ mode (AEN held high while in Suspend mode). A clock to the PD6722 is not required for the external signal at GPSTB to occur, but shadowing of write values in the internal register at Extended Index 0Ah requires that the PD67XX is not in Suspend mode so there is an active internal clock for register writes.
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 95
14.0 VS1# and VS2# Voltage Detection
The PD6722 provides support for VS1# and VS2# voltage sense for environments where special low-voltage keyed PC Card sockets are to be used. With a low-voltage keyed socket, it is necessary to determine the operating voltage range of a card before applying power to it. The PD6722 supports reading of the levels on a socket’s VS1# and VS2# pins through a uniform extended register programming model using Socket B extended register 0Ah. The programming model is as follows: For voltage detection on the PD6710, refer to the 5V_DET pin. On the PD6722, the B_GPSTB pin is programmed as a general-purpose read strobe. The VS1# and VS2# pins from the A and B sockets are connected to the external half of a ’244 buffer as follows (which allows Socket A VS1 and VS2 to appear as bits 0 and 1, and Socket B VS1 and VS2 to appear as bits 2 and 3): Register Name: External Data Index: 6Fh Extended Index: 0Ah Register Per: socket Register Compatibility Type: ext. B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 External Data External Data External Data External Data
4 B_VS2 Input B_VS1 Input A_VS2 Input A_VS1 Input
RW:0 RW:0 RW:0 RW:0 R:0 R:0 R:0 R:0
96 Datasheet
Figure 15. VS1# and VS2# Sensing on a PD6722 † Pull-up resistor, or set Extension Control 2 bit 2 to ‘1’ for totem-pole output.
15.0 DMA Operation (PD6722 only)
15.1 DMA Capabilities of the PD6722
from the card with the ISA bus as a DMA master. handshake signals are shared between both socket interfaces. bit transfers, connect PD6722 DMA handshake signals to ISA bus DMA channels 5, 6, or 7.
15.2 DMA-Type PC Card Cycles
interface cycle. This cycle is defined to not conflict with standard PC Card memory or I/O cycles. only standard PC Card cycles will be issued to the card. The PC Card address is also undefined during the DMA read or write cycle. Card DMA data read and write cycles transfer DMA data to or from a DMA-capable PC Card. the cycle, which is an undefined condition in the PC Card Standard. Table 19. Four Card Cycle Types for DMA-Type PC Card Interface
98 Datasheet
15.3 ISA Bus DMA Handshake Signal
read process, terminal count is indicated by -WE being active-low during the last card cycle.
15.4 Configuring the PD6722 Registers for a DMA Transfer
- Select which pin on the PC Card interface will serve as the DMA request input.
- Configure the socket interface as I/O-capable.
- Prevent dual-interpretation of socket interface DMA handshake signals.
15.4.1 Programming the DMA Request Pin from the Card
those of the DMA-capable PC Card to be used. signal level for DMA card interfacing. Figure 16. DMA Handshake Connections to the ISA Bus
must understand that receiving the first DMA cycle is its DMA acknowledgment.
15.4.2 Configuring the Socket Interface for I/O
card interface in I/O Card Interface mode.
15.4.3 Preventing Dual Interpretation of DMA Handshake Signals
- Bit 4 of the Interface Status register is now the level of the DMA request line from the card.
- Bit 5 of the socket’s two I/O Window Control registers should be set to ‘0’.
that socket is not available. be set to ‘0’ to disable use of this signal as input acknowledge control. Figure 17. Card DMA Request and Acknowledge Handshake with Terminal Count a A DMA cycle is the DMA acknowledge to the card.
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
100 Datasheet
No other register bits require special settings to accommodate DMA support on a socket interface.
15.4.4 Turning On DMA System
The DMA System bit (bit 6 of the Misc Control 2 register) should be programmed to ‘1’ to allow DMA operation and to redefine ISA bus interface pins for DMA support as in Figure 16.
15.4.5 The DMA Transfer Process
As soon as the selected DMA request input from the card becomes active (low) and the FIFO empties, IRQ10 becomes active (high), signifying a DMA request to the system. The system then responds with an active (low) -DACK at IRQ9, which enables the PD6722 to decode any ISA bus DMA transfers that may occur and perform the corresponding transfers at the card. Normal card I/ O or memory reads or writes may be interspersed with DMA read and write cycles.
15.4.6 Terminal Count to Card at Conclusion of Transfer
At the conclusion of each transfer process, systems send active (high) TC (terminal count) pulses to the -VPP_V ALID pin during the last DMA cycles to the PD6722. For a DMA write cycle, TC active is signaled at the socket interface as the -OE pin going low during DMA-type read cycles from the PC Card. For a DMA read cycle, TC active is signaled as the -WE pin going low during DMA-type write cycles to the PC Card.
16.0 Electrical Specifications
16.1 Absolute Maximum Ratings
conditions for extended periods may affect system reliability.
16.2 DC Specifications
Table 20. General DC Specifications Table 21. PC Card Bus Interface DC Specifications (Sheet 1 of 2)
102 Datasheet
Table 22. ISA Bus Interface DC Specifications (Sheet 1 of 2)
- When the CORE_VDD voltage is 3.3 V, input thresholds are TTL compatible; when the CORE_VDD voltage is 5 V, input
thresholds are CMOS compatible. 2.The value of the input threshold level is dependent on the voltage applied to VDD pins of the PD67XX. Table 21. PC Card Bus Interface DC Specifications (Sheet 2 of 2)
Table 23. Power Control Interface (+5V Powered) DC Specifications Table 24. Operating Current Specifications
- No cards in sockets; for PD6722, bit 5 of the DMA Control register is ‘1’.
Table 22. ISA Bus Interface DC Specifications (Sheet 2 of 2)
- When the CORE_VDD voltage is 3.3 V, input thresholds are TTL compatible; when the CORE_VDD voltage is 5 V, input
thresholds are CMOS compatible. 2.The value of the input threshold level is dependent on the voltage applied to VDD pins of the PD67XX.
104 Datasheet
16.3 AC Timing Specifications
and a dash (-) denotes an active-low signal for the PC Card socket interface. All timings assume a load of 50 pF. TTL signals are measured at TTL threshold; CMOS signals are measured at CMOS threshold.
16.4 ISA Bus Timing
Table 25. List of AC Timing Specifications Table 26. ISA Bus Timing (Sheet 1 of 2)
- AEN must be inactive for t2, t3, and t6 timing specifications to be applicable.
- Command is defined as IOR*, IOW*, MEMR*, or MEMW*.
- Except for valid card memory writes, which are zero wait state when internal write FIFO is not full.
- If card is removed during a card access cycle, IOCHRDY is three-stated without waiting for end of Command.
- Based on 25-MHz internal clock, produced either by an internal synthesizer and 14.318-MHz signal applied to CLK pin, or by
supplying 25 MHz directly to CLK pin and bypassing the internal synthesizer.
Table 26. ISA Bus Timing (Sheet 2 of 2)
- AEN must be inactive for t2, t3, and t6 timing specifications to be applicable.
- Command is defined as IOR*, IOW*, MEMR*, or MEMW*.
- Except for valid card memory writes, which are zero wait state when internal write FIFO is not full.
- If card is removed during a card access cycle, IOCHRDY is three-stated without waiting for end of Command.
- Based on 25-MHz internal clock, produced either by an internal synthesizer and 14.318-MHz signal applied to CLK pin, or by
supplying 25 MHz directly to CLK pin and bypassing the internal synthesizer.
106 Datasheet
Figure 18. Bus Timing — ISA Bus
16.4.1 Reset Timing
16.4.2 System Interrupt Timing
Table 27. Reset Timing
- Clock input must be active for a minimum of 500 ns before PWRGOOD goes active to allow sufficient internal clocks to
initialize internal circuitry. Figure 19. Reset Timing Table 28. Pulse Mode Interrupt Timing
108 Datasheet
16.4.3 General-Purpose Strobe Timing (PD6722 only)
16.4.4 Input Clock Specification
Figure 20. Pulse Mode Interrupt Timing Table 29. General-Purpose Strobe Timing Figure 21. General-Purpose Strobe Timing Table 30. Input Clock Specification (Sheet 1 of 2) Bypass Frequency Synthesizer bit.
16.4.5 PC Card Bus Timing Calculations
applying the factor to an equation relating it to the internal clock period. Figure 22. Input Clock Specification Table 30. Input Clock Specification (Sheet 2 of 2)
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
110 Datasheet
N pres and N val are the specific selected prescaler and multiplier value from the timer set’s Setup, Command, and Recovery Timing registers (see “Timing Registers” on page 84 for a description of these registers). From this, a PC Card cycle’s Setup, Command, and Recovery time for the selected timer set are calculated as follows: Setup time = (S × Tcp) ± 10 ns Command time = (C × Tcp) ± 10 ns Recovery time = (R × Tcp) ± 10 ns When the internal synthesizer is used, the calculation of the internal clock period Tcp is: Tcp = TCLKP × 4/7 where TCLKP is the period of the clock supplied to the CLK input pin. An input frequency of 14.318 MHz at the CLK input pin results in an internal clock period of Tcp = 40 ns. When the internal synthesizer is bypassed, Tcp = TCLKP . An input frequency of 25 MHz in this circumstance would also result in an internal clock period of Tcp = 40 ns. The timing diagrams that follow were derived for a PD67XX using the internal synthesizer and a 14.318-MHz CLK pin input. The internal clock frequency of the PD67XX is 7/4 of this incoming signal (Tcp = 40 ns). The examples are for the default values of the Timing registers for Timer Set 0, as follows: Thus the minimum times for the default values are as follows: Default minimum Setup time = (S × Tcp) – 10 ns = {2 × 40 ns} – 10 ns = 70 ns Default minimum Command time = (C × Tcp) – 10 ns = {7 × 40 ns} – 10 ns = 270 ns Default minimum Recovery time = (R × Tcp) – 10 ns = {4 × 40 ns} – 10 ns = 150 ns Timing Register Name (Timer Set 0) Index Value (Default) Resultant N pres Resultant N val Setup Timing 0 3Ah 01h 1 1 Command Timing 0 3Bh 06h 1 6 Recovery Timing 0 3Ch 03h 1 3
16.4.5.1 PC Card Socket Timing
Table 31. Memory Read/Write Timing (Word Access)
- The Setup time is determined by the value programmed into the Setup Timing register, index 3Ah/3Dh. Using the Timer Set
- The Command time is determined by the value programmed into the Command Timing register, index 3Bh/3Eh. Using the
Timer Set 0 default value of 06h, the Command time would be 270 ns. C = (Npres × Nval + 1), see page 109.
- The Recovery time is determined by the value programmed into the Recovery Timing register, index 3Ch/3Fh. Using the
Timer Set 0 default value of 03h, the hold (Recovery) time would be 150 ns. R = (Npres × Nval + 1), see page 109.
- For typical active timing programmed at 280 ns, maximum -WAIT timing is 190 ns after Command active.
Figure 23. Memory Read/Write Timing
112 Datasheet
Table 32. Word I/O Read/Write Timing
- The Setup time is determined by the value programmed into the Setup Timing register, index 3Ah/3Dh. Using the Timer Set
- The Command time is determined by the value programmed into the Command Timing register, index 3Bh/3Eh. Using the
Timer Set 0 default value of 06h, the Command time would be 270 ns. C = (Npres × Nval + 1), see page 109.
- The Recovery time is determined by the value programmed into the Recovery Timing register, index 3Ch/3Fh. Using the
Timer Set 0 default value of 03h, the hold (Recovery) time would be 150 ns. R = (Npres × Nval + 1), see page 109.
- For typical active timing programmed at 280 ns, maximum -WAIT timing is 190 ns after Command active.
- -IOIS16 must go low within 3Tcp + 10 ns of the cycle beginning or -IOIS16 will be ignored and -CE will not be activated.
Figure 24. Word I/O Read/Write Timing Table 33. PC Card Read/Write Timing when System Is 8-Bit
- The Setup time is determined by the value programmed into the Setup Timing register, index 3Ah/3Dh. Using the Timer Set
- The Command time is determined by the value programmed into the Command Timing register, index 3Bh/3Eh. Using the
Timer Set 0 default value of 06h, the Command time would be 270 ns. C = (Npres × Nval + 1), see page 109.
- The Recovery time is determined by the value programmed into the Recovery Timing register, index 3Ch/3Fh. Using the
Timer Set 0 default value of 03h, the hold (Recovery) time would be 150 ns. R = (Npres × Nval + 1), see page 109.
114 Datasheet
Figure 25. PC Card Read/Write Timing When System Is 8-Bit (SBHE Tied High) Table 34. Normal Byte Read/Write Timing
- The Setup time is determined by the value programmed into the Setup Timing register, index 3Ah/3Dh. Using the Timer Set
- The Command time is determined by the value programmed into the Command Timing register, index 3Bh/3Eh. Using the
Timer Set 0 default value of 06h, the Command time would be 270 ns. C = (Npres × Nval + 1), see page 109.
- The Recovery time is determined by the value programmed into the Recovery Timing register, index 3Ch/3Fh. Using the
Timer Set 0 default value of 03h, the hold (Recovery) time would be 150 ns. R = (Npres × Nval + 1), see page 109.
Figure 26. Normal Byte Read/Write Timing Table 35. 16-Bit System to 8-Bit I/O Card: Odd Byte Timing
- The Setup time is determined by the value programmed into the Setup Timing register, index 3Ah/3Dh. Using the Timer Set
- The Command time is determined by the value programmed into the Command Timing register, index 3Bh/3Eh. Using the
Timer Set 0 default value of 06h, the Command time would be 270 ns. C = (Npres × Nval + 1), see page 109.
- The Recovery time is determined by the value programmed into the Recovery Timing register, index 3Ch/3Fh. Using the
Timer Set 0 default value of 03h, the hold (Recovery) time would be 150 ns. R = (Npres × Nval + 1), see page 109.
- -IOIS16 level from card should be valid before -IOWR/-IORD goes active. For a typical setup time of 70 ns, a PC Card
meeting the PCMCIA specification for -IOIS16 from A[25:0] change will meet this condition. NOTE: Figure 26 applies to all other byte accesses, including odd I/O cycles where -IOIS16 is low.
116 Datasheet
Figure 27. 16-Bit System to 8-Bit I/O Card: Odd Byte Timing Table 36. DMA Read Cycle Timing (PD6722 only) (Sheet 1 of 2)
- The Setup time is determined by the value programmed into the Setup Timing register, index 3Ah/3Dh. Using the Timer Set
- The Command time is determined by the value programmed into the Command Timing register, index 3Bh/3Eh. Using the
Timer Set 0 default value of 06h, the Command time would be 270 ns. C = (Npres × Nval + 1), see page 109.
- The Recovery time is determined by the value programmed into the Recovery Timing register, index 3Ch/3Fh. Using the
Timer Set 0 default value of 03h, the hold (Recovery) time would be 150 ns. R = (Npres × Nval + 1), see page 109.
- Based on an internal clock period of 40 ns (25 MHz).
Figure 28. DMA Read Cycle Timing Table 36. DMA Read Cycle Timing (PD6722 only) (Sheet 2 of 2)
- The Setup time is determined by the value programmed into the Setup Timing register, index 3Ah/3Dh. Using the Timer Set
- The Command time is determined by the value programmed into the Command Timing register, index 3Bh/3Eh. Using the
Timer Set 0 default value of 06h, the Command time would be 270 ns. C = (Npres × Nval + 1), see page 109.
- The Recovery time is determined by the value programmed into the Recovery Timing register, index 3Ch/3Fh. Using the
Timer Set 0 default value of 03h, the hold (Recovery) time would be 150 ns. R = (Npres × Nval + 1), see page 109.
- Based on an internal clock period of 40 ns (25 MHz).
118 Datasheet
Table 37. DMA Write Cycle Timing (PD6722 only)
- The Setup time is determined by the value programmed into the Setup Timing register, index 3Ah/3Dh. Using the Timer Set
- The Command time is determined by the value programmed into the Command Timing register, index 3Bh/3Eh. Using the
Timer Set 0 default value of 06h, the Command time would be 270 ns. C = (Npres × Nval + 1), see page 109.
- The Recovery time is determined by the value programmed into the Recovery Timing register, index 3Ch/3Fh. Using the
Timer Set 0 default value of 03h, the hold (Recovery) time would be 150 ns. R = (Npres × Nval + 1), see page 109.
- Based on an internal clock period of 40 ns (25 MHz).
Figure 29. DMA Write Cycle Timing Table 38. DMA Request Timing (PD6722 only)
- After FIFO empty, DMA requests held off from being presented to the system until all write data to a card has been emptied
from the socket interface FIFO.
120 Datasheet
Figure 30. DMA Request Timing 2 DMA Control register bits 7 and 6 define which of these three signals serve as the active-low DMA request from the card.
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 121
17.0 Package Specifications
17.1 144-Pin LQFP Package NOTES: 1. Dimensions are in millimeters (inches), and controlling dimension is millimeter. 2. Before beginning any new design with this device, please contact Intel Corp. for the latest package information. Pin 1 Indicator 17.50 (0.689) REF Pin 1 21.60 (0.850) 22.40 (0.882) 0.10 (0.004) 0.30 (0.012) 19.90 (0.783) 20.10 (0.791) 17.50 (0.689) REF 0.50 (0.0197) BSC 1.25 (0.049) 1.50 (0.059) 0° MIN 7° MAX 0.10 (0.004) 0.20 (0.008) 1.40 (0.055) 1.65 (0.065) 0.45 (0.018) 0.75 (0.030) 21.60 (0.850) 22.40 (0.882) 19.90 (0.783) 20.10 (0.791) 1.00 (0.039) REF 0.05 (0.002) 0.15 (0.006) Pin 144 144-Pin LQFP DZPD6710VCB
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
122 Datasheet
17.2 208-Pin MQFP Package NOTES: 1. Dimensions are in millimeters (inches), and controlling dimension is inches. 2. Drawing above does not reflect exact package pin count. 3. Before beginning any new design with this device, please contact Intel Corp. for the latest package information. Pin 1 Indicator 25.50 (1.004) REF 30.35 (1.195) 30.85 (1.215) 0.13 (0.005) 0.28 (0.011) 27.90 (1.098) 28.10 (1.106) 25.50 (1.004) REF 0.50 (0.0197) BSC 30.35 (1.195) 30.85 (1.215) 27.90 (1.098) 28.10 (1.106) 3.17 (0.125) 3.67 (0.144) 0° MIN 7° MAX 0.09 (0.004) 0.23 (0.009) 4.07 (0.160) MAX 0.40 (0.016) 0.75 (0.030) 0.25 (0.010) MIN 1.30 (0.051) REF Pin 1 Pin 208 208-Pin MQFP SPD6722QCCE
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 123 17.3 208-Pin LQFP Package NOTES: 1. Dimensions are in millimeters (inches), and controlling dimension is inches. 2. Drawing above does not reflect exact package pin count. 3. Before beginning any new design with this device, please contact Intel Corp. for the latest package information. 208-Pin LQFP DZPD6722VCCE Pin 1 Indicator 29.60 (1.165) 30.40 (1.197) 0.17 (0.007) 0.27 (0.011) 27.80 (1.094) 28.20 (1.110) 0.50 (0.0197) BSC 29.60 (1.165) 30.40 (1.197) 27.80 (1.094) 28.20 (1.110) 1.35 (0.053) 1.45 (0.057) ° MIN 7° MAX 0.09 (0.004) 0.20 (0.008) 1.40 (0.055) 0.45 (0.018) 0.75 (0.030) 0.05 (0.002) 1.00 (0.039) BSC Pin 1 Pin 208
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
124 Datasheet
18.0 Order Numbers Example
The example order numbers for PD67XX devices are as follows: DZPD6710VCB Product Line: Part Number Package Type: LQFP Temperature Range: Revision C = CommercialPortable Products Low-profile quad flat pack SPD6722QCCE Product Line: Part Number Package Type: MQFP Temperature Range: Revision C = CommercialPortable Products Metric quad flat pack DZPD6722VCCE Product Line: Part Number Package Type: LQFP Temperature Range: Revision C = CommercialPortable Products Low-profile quad flat pack
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 125
19.0 Appendix A
19.1 Register Summary Tables
19.1.1 Operation Registers
19.2 Chip Control Registers
Register Name: Index Index: n/a Register Per: chip Register Compatibility Type: 365 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Device Index Socket Index Register Index RW:0 RW:0 RW:000000 Register Name: Data Index: n/a Register Per: chip Register Compatibility Type: 365 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Data Register Name: Chip Revision Index: 00h Register Per: chip Register Compatibility Type: 365 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Interface ID Revision R:10 R:0 R:0 R:001 1 1. Value for the current stepping only.
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
126 Datasheet
Register Name: Interface Status Index: 01h Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3 B i t 2B i t 1B i t 0 -VPP_VALID RDY WP -CD2 -CD1 BVD2 BVD1 VPP Valid Card Power On Ready/Busy* Write Protect Card Detect Battery Voltage Detect R 1 R:0 R 2 R 3 R 4 R 5 1. Bit 7 is the inversion of the value of the -VPP_VALID pin (see Table 1 on page 16). 2. Bit 5 is the value of the RDY/-IREQ pin (see Table 2 on page 20). 3. Bit 4 is the value of the WP/-IOIS16 pin (see Table 2). 4. Bits 3:2 are the inversion of the values of the -CD1 and -CD2 pins (see Table 2). 5. Bits 1:0 are the values of the BVD1/-STSCHG and BVD2/-SPKR pins (see Table 2). Register Name: Power Control Index: 02h Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Card Enable Compatibility Bit Auto-Power V CC Power Compatibility Bits V PP 1 Power RW:0 RW:0 RW:0 RW:0 RW:00 RW:00 Register Name: Interrupt and General Control Index: 03h Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Ring Indicate Enable Card Reset* Card Is I/O Enable Management Interrupts Card IRQ Select RW:0 RW:0 RW:0 RW:0 RW:0000 Register Name: Card Status Change Index: 04h Register Per: socket Register Compatibility Type: 365 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Card Detect Change Ready Change Battery Warning Change Battery Dead Or Status Change R:0 R:0 R:0 R:0 R:0 R:0 R:0 R:0
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 127
19.3 I/O Window Mapping Registers
Register Name: Management Interrupt Configuration Index: 05h Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Management IRQ Select Card Detect Enable Ready Enable Battery Warning Enable Battery Dead Or Status Change Enable R W : 0 0 0 0 R W : 0R W : 0R W : 0R W : 0 Register Name: Mapping Enable Index: 06h Register Per: socket Register Compatibility Type: 365 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 I/O Map 1 Enable I/O Map 0 Enable MEMCS16 Full Decode Memory Map RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 Register Name: I/O Window Control Index: 07h Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Timing Register Select 1 Compatibility Bit Auto-Size I/O Window 1 I/O Window 1 Size Timing Register Select 0 Compatibility Bit Auto-Size I/O Window 0 I/O Window 0 Size RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 Register Name: System I/O Map 0–1 Start Address Low Index: 08h, 0Ch Register Per: socket Register Compatibility Type: 365 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Start Address 7:0 RW:00000000
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
128 Datasheet
Register Name: System I/O Map 0–1 Start Address High Index: 09h, 0Dh Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Start Address 15:8 RW:00000000 Register Name: System I/O Map 0–1 End Address Low Index: 0Ah, 0Eh Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 End Address 7:0 RW:00000000 Register Name: System I/O Map 0–1 End Address High Index: 0Bh, 0Fh Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 End Address 15:8 RW:00000000 Register Name: Card I/O Map 0–1 Offset Address Low Index: 36h, 38h Register Per: socket Register Compatibility Type: ext. B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Offset Address 7:1 01 RW:0000000 RW:0 1. This bit must be programmed to ‘0’. Register Name: Card I/O Map 0–1 Offset Address High Index: 37h, 39h Register Per: socket Register Compatibility Type: ext. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Offset Address 15:8 RW:00000000
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 129
19.4 Memory Window Mapping Registers
Register Name: System Memory Map 0 –4 Start Address Low Index: 10h, 18h, 20h, 28h, 30h Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Start Address 19:12 RW:00000000 Register Name: System Memory Map 0 –4 Start Address High Index: 11h, 19h, 21h, 29h, 31h Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Window Data Size Compatibility Bit Scratchpad Bits Start Address 23:20 RW:0 RW:0 RW:00 RW:0000 Register Name: System Memory Map 0 –4 End Address Low Index: 12h, 1Ah, 22h, 2Ah, 32h Register Per: socket Register Compatibility Type: 365 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 End Address 19:12 RW:00000000 Register Name: System Memory Map 0 –4 End Address High Index: 13h, 1Bh, 23h, 2Bh, 33h Register Per: socket Register Compatibility Type: 365 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Card Timer Select Scratchpad Bits End Address 23:20 RW:00 RW:00 RW:0000 Register Name: Card Memory Map 0 –4 Offset Address Low Index: 14h, 1Ch, 24h, 2Ch, 34h Register Per: socket Register Compatibility Type: 365 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Offset Address 19:12 RW:00000000
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
130 Datasheet
19.5 Extension Registers
Register Name: Card Memory Map 0 –4 Offset Address High Index: 15h, 1Dh, 25h, 2Dh, 35h Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Write Protect REG Setting Offset Address 25:20 RW:0 RW:0 RW:000000 Register Name: Misc Control 1 Index: 16h Register Per: socket Register Compatibility Type: ext. B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Inpack Enable Scratchpad Bits Speaker Enable Pulse System IRQ Pulse Management Interrupt VCC 3.3V (PD6710) Reserved (PD6722) RW:0 RW:00 RW:0 RW:0 RW:0 RW:0 R:X W:0 Register Name: FIFO Control Index: 17h Register Per: socket Register Compatibility Type: ext. B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Empty Write FIFO Scratchpad Bits1 RW RW:0000000 1. Because a write will flush the FIFO, these scratchpad bits should be used only when card activity is guaranteed not to occur. Register Name: Misc Control 2 Index: 1Eh Register Per: chip Register Compatibility Type: ext. B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 IRQ15 Is RI Out DMA System (PD6722) Three-State Bit 7 Drive LED Enable 5V Core Suspend Low-Power Dynamic Mode Bypass Frequency Synthesizer RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 RW:1 RW:0
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 131 Register Name: Chip Information Index: 1Fh Register Per: chip Register Compatibility Type: ext. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PC Card Controller Identification Dual/Single Socket* PD67XX Revision Level Reserved R:11 R:n 1 R:nnnn2 R:n3 1. The value for PD6710 is ’0’, and the value for PD6722 is ’1’. 2. This read-only value depends on the revision level of the PD67XX chip. 3. The value for PD6722 is ‘1’. Register Name: ATA Control Index: 26h Register Per: socket Register Compatibility Type: ext. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 A25/CSEL A24/M/S* A23/VU A22 A21 Scratchpad Bit Speaker Is LED Input ATA Mode RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 Register Name: Extended Index (PD6722 only) Index: 2Eh Register Per: socket Register Compatibility Type: ext. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Extended Index RW:00000000 Register Name: Extended Data (PD6722 only) Index: 2Fh Register Per: socket Register Compatibility Type: ext. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Extended Data Register Name: Data Mask 0 (PD6722 only) Index: 2Fh Extended Index: 01h Register Per: socket Register Compatibility Type: ext. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Data Mask Select 0 RW:00000000
PD6710/’22 — ISA-to-PC-Card (PCMCIA) Controllers
132 Datasheet
Register Name: Data Mask 1 (PD6722 only) Index: 2Fh Extended Index: 02h Register Per: socket Register Compatibility Type: ext. B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Data Mask Select 1 RW:00000000 Register Name: Extension Control 1 (PD6722 only) Index: 2Fh Extended Index: 03h Register Per: socket Register Compatibility Type: ext. B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 DMA Enable Pull-up Control Reserved LED Activity Enable Auto Power Clear Disable VCC Power Lock RW:00 RW:0 RW:00 RW:0 RW:0 RW:0 Register Name: Maximum DMA Acknowledge Delay (PD6722 only) Index: 2Fh Extended Index: 04h Register Per: socket Register Compatibility Type: ext. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Maximum DMA Acknowledge Delay RW:00000000 Register Name: External Data (PD6722 only) Index: 2Fh Extended Index: 0Ah Register Per: socket Register Compatibility Type: ext. B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 External Data External Data External Data External Data External Data External Data External Data External Data RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 RW:0 Register Name: External Data (PD6722 only) Index: 6Fh Extended Index: 0Ah Register Per: socket Register Compatibility Type: ext. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 External Data External Data External Data External Data External Data 3 or B_VS2 Input External Data 2 or B_VS1 Input External Data 1 or A_VS2 Input External Data 0 or A_VS1 Input RW:0 RW:0 RW:0 RW:0 R:0 R:0 R:0 R:0
ISA-to-PC-Card (PCMCIA) Controllers — PD6710/’22 Datasheet 133
19.6 Timing Registers
Register Name: Extension Control 2 (PD6722 only) Index: 2Fh and 6Fh Extended Index: 0Bh Register Per: socket Register Compatibility Type: ext. B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Reserved Active-high GPSTB GPSTB on IOW* GPSTB on IOR* Totem-pole GPSTB Reserved RW:00 RW:0 RW:0 RW:0 RW:0 RW:00 Register Name: Setup Timing 0–1 Index: 3Ah, 3Dh Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Setup Prescalar Select Setup Multiplier Value RW:00 RW:000001 Register Name: Command Timing 0 –1 Index: 3Bh, 3Eh Register Per: socket Register Compatibility Type: 365 B i t 7B i t 6B i t 5B i t 4B i t 3B i t 2B i t 1B i t 0 Command Prescalar Select Command Multiplier Value RW:00 RW:000110/001111 1 1. Timing set 0 (index 3Bh) resets to 06h for socket timing equal to standard AT-bus-based cycle times. Timing set 1 (3Eh) resets to 0Fh for socket timings equal to standard AT-bus timing using one additional wait state. Register Name: Recovery Timing 0–1 Index: 3Ch, 3Fh Register Per: socket Register Compatibility Type: 365 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Recovery Prescalar Select Recovery Multiplier Value RW:00 RW:000011
+5V 25 Numerics 5V Core bit 73 A A[25:0] 20 A21 bit 76 A22 bit 76 A23/VU bit 76 A24/M/S* bit 76 A25/CSEL bit 76 Active-high GPSTB bit 83 AEN 17 ALE 17 ATA Control register 75 ATA mode description 88 overview 36 pin cross reference 88 ATA Mode bit 75 Auto Power Clear Disable bit 78 Auto-Power bit 50 Auto-Size I/O Window 0 bit 58 Auto-Size I/O Window 1 bit 59 B Battery Dead Or Status Change bit 53 Battery Dead Or Status Change Enable bit 54 Battery Voltage Detect bits 47 Battery Warning Change bit 53 Battery Warning Enable bit 54 bus sizing 35 BVD1/-STSCHG/-RI 23 BVD2/-SPKR/-LED 23 Bypass Frequency Synthesizer bit 73 C C_SEL 19 Card Detect bits 47 Card Detect Change bit 53 Card Detect Enable bit 55 Card Enable bit 50 Card I/O Map 0–1 Address Offset High regis- ters 62 Card I/O Map 0–1 Address Offset Low regis- ters 62 Card Is I/O bit 52 Card Memory Map 0 –4 Offset Address High registers 68 Card Memory Map 0 –4 Offset Address Low registers 67 Card Power On bit 48 Card Reset* bit 52 Card Status Change register 52 Card Timer Select bits 67 -CD[2:1] 22 -CE[2:1] 22 Chip Information register 74 Chip Revision register 46 CLK 19 Command Multiplier Value bits 86 Command Prescalar Select bits 86 Command Timing 0–1 registers 85 conventions bit naming 40 numbers and units 11 pin naming 14 register headings 39 D D[15:0] 20 Data Mask 0–1 register 78 Data Mask Select 0–1 bits 78 Data register 44
136 Datasheet
DMA Write Cycle timing 118 Drive LED Enable bit 73 Dual/Single Socket* bit 75 E Empty Write FIFO bit 72 Enable Manage Int bit 51 End Address 19:12 bits 66 23:20 bits 67 7:0 bits 61 Extended Data register 77 Extended Index register 77 Extended Register Index bits 77 Extension Control 2 register 83 External Data bits 81, 82 External Data register 81 F FIFO Control register 72 form factor 1, ??–123 functional blocks 30 G general-purpose strobe control 91 example implementations 93 overview 32 suspend mode 94 General-Purpose Strobe timing 108 GND 25 GPSTB 24 GPSTB on IOR* bit 83 GPSTB on IOW* bit 83 H host access to registers 36 I I/O Map 0 Enable bit 57 I/O Map 0–1 Start Address High registers 60 I/O Map 1 Enable bit 57 I/O Window 0 Size bit 58 I/O Window 1 Size bit 59 I/O Window Control register 58 IDE 88 Index register 41 -INPACK 21 Inpack Enable bit 71 Input Clock specification 108 Interface ID bits 46 Interface Status register 47 Interrupt and General Control register 51 interrupts 30 -INTR 18 IOCHRDY 17 IOCS16* 17 -IOIS16 21 IOR* 16 -IORD 21 IOW* 16 -IOWR 21 -IREQ 21 IRQ10 18 IRQ10 as DRQ, description 32 IRQ12 as LED_OUT*, description 31 IRQ12/LED_OUT* 18 IRQ15 as RI_OUT*, description 31 IRQ15 Is RI Out bit 74 IRQ15/RI_OUT* 18 IRQ9 18 IRQ9 as DACK*, description 32 ISA bus timing 104 ISA_VCC 19
L LA[23:17] 16 -LED 23 LED Activity Enable bit 79 LED_OUT* 18 Low-Power Dynamic mode 32 Low-Power Dynamic Mode bit 73 M Management Interrupt Configuration register Management IRQ Select bits 55 Mapping Enable register 55 MEMCS16 Full Decode bit 56 MEMCS16* 17 Memory Map
0 Enable bit 56
MEMR* 17 MEMW* 17 Misc Control 1 register 70 Misc Control 2 register 72 N Normal Byte Read/Write timing 114 O Odd Byte timing 115 -OE 20 ordering information 124 P package 144-pin VQFP 121 208-pin PQFP 122 208-pin VQFP 123 PC Card basics 27 bus timing calculations 109 Read/Write timing 113 socket timing 111 timing 36 PCMCIA 27 pin descriptions 12–25 pin diagram 144-pin VQFP 13 208-pin PQFP or VQFP 14 pin usage summary 25 power consumption 34 Power Control register 48 power management 32 power-on configuration 25 setup 38 Pull-up Control bit 79 Pulse Management Interrupt bit 70 Pulse Mode Interrupt timing 107 Pulse System IRQ bit 71 PWRGOOD 17 R RDY/-IREQ 21 Ready Change bit 53 Ready Enable bit 54 Ready/Busy* bit 48 Recovery Multiplier Value bits 87 Recovery Prescalar Select bits 87 Recovery Timing 0–1 registers 86 REFRESH* 17 -REG 20 REG Setting bit 68 Register Index bits 41 RESET 22 Reset timing 107 Revision bits 46 -RI 23 RI_OUT* 18 Ring Indicate Enable bit 52 S SA[16:0] 16 SBHE* 16 SD[15:0] 16
138 Datasheet
Setup Multiplier Value bits 84 Setup Prescalar Select bit 85 Setup Timing 0–1 registers 84 SLOT_VCC. See SOCKET_VCC socket accessing specific registers 42 register per 39 Socket Index bit 41 socket power features 34 SOCKET_VCC 23 Speaker Enable bit 71 Speaker Is LED Input bit 76 -SPKR 23 SPKR_OUT*/C_SEL 19 -STSCHG 23 Super-Suspend mode, description 33 Suspend bit 73 Suspend mode, description 32 System Interrupt timing 107 T Three-State Bit 7 bit 74 timing DMA Read Cycle 116 DMA request 119 DMA Write Cycle 118 General-Purpose Strobe 108 ISA bus 104 Normal Byte Read/Write 114 Odd Byte 115 PC Card bus 109 PC Card Read/Write 113 PC Card socket 111 Pulse Mode Interrupt 107 Reset 107 System Interrupt 107 Word I/O Read/Write 112 Timing Register Select 0 bit 58 Timing Register Select 1 bit 59 Totem-pole GPSTB bit 83 V V CC 3.3V bit 70 V CC Power bit 50 V CC Power Lock bit 78 -VCC_3 24 -VCC_5 24 voltage sense 95–96 overview 32 V PP Valid bit 48 VPP_PGM 24 -VPP_VALID 19 VPP_VCC 24 V PP1 Power bits 50 W -WAIT 21 -WE 21 Window Data Size bit 65 windowing 27 Word I/O Read/Write timing 112 WP/-IOIS16 21 write FIFO 35 Write Protect bit 48, 69 Z ZWS* 18