![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
PCI4410A GHK/PDV PC Card and OHCI Controller Data Manual 2000 PCI Bus Solutions SCPS059 IMPORTANT NOTICE Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue any product or service without notice, and advise customers to obtain the latest version of relevant information to verify, before placing orders, that information being relied on is current and complete. All products are sold subject to the terms and conditions of sale supplied at the time of order acknowledgment, including those pertaining to warranty, patent infringement, and limitation of liability. TI warrants performance of its semiconductor products to the specifications applicable at the time of sale in accordance with TI's standard warranty. Testing and other quality control techniques are utilized to the extent TI deems necessary to support this warranty. Specific testing of all parameters of each device is not necessarily performed, except those mandated by government requirements. Customers are responsible for their applications using TI components. In order to minimize risks associated with the customer's applications, adequate design and operating safeguards must be provided by the customer to minimize inherent or procedural hazards. TI assumes no liability for applications assistance or customer product design. TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right of TI covering or relating to any combination, machine, or process in which such semiconductor products or services might be or are used. TI's publication of information regarding any third party's products or services does not constitute TI's approval, warranty or endorsement thereof. Copyright (c) 2000, Texas Instruments Incorporated Contents Section 1 Title Page 1-1 1-1 1-2 1-3 1-3 1-3 2-1 3-1 3-1 3-1 3-2 3-2 3-2 3-3 3-3 3-3 3-4 3-5 3-6 3-6 3-6 3-7 3-7 3-8 3-8 3-10 3-10 3-11 3-11 3-11 3-13 3-15 3-15 3-16 3-17 3-18 3-18 2 3 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3 Related Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.4 Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.5 Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Terminal Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Feature/Protocol Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1 Power-Supply Sequencing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2 I/O Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3 Clamping Voltages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4 Peripheral Component Interconnect (PCI) Interface . . . . . . . . . . . . . . 3.4.1 PCI Bus Lock (LOCK) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4.2 Loading Subsystem Identification . . . . . . . . . . . . . . . . . . . . . 3.5 PC Card Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.1 PC Card Insertion/Removal and Recognition . . . . . . . . . . . 3.5.2 P2C Power Switch Interface (TPS2211) . . . . . . . . . . . . . . . . 3.5.3 Zoomed-Video Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.4 Ultra Zoomed Video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.5 D3_STAT Terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.6 Internal Ring Oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.7 Integrated Pullup Resistors for PC Card Interface . . . . . . . 3.5.8 SPKROUT and CAUDPWM Usage . . . . . . . . . . . . . . . . . . . 3.5.9 LED Socket Activity Indicators . . . . . . . . . . . . . . . . . . . . . . . . 3.5.10 PC Card-16 Distributed DMA Support . . . . . . . . . . . . . . . . . 3.5.11 PC Card-16 PC/PCI DMA . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.12 CardBus Socket Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6 Serial Bus Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6.1 Serial Bus-Interface Implementation . . . . . . . . . . . . . . . . . . . 3.6.2 Serial Bus-Interface Protocol . . . . . . . . . . . . . . . . . . . . . . . . . 3.6.3 Serial Bus EEPROM Application . . . . . . . . . . . . . . . . . . . . . . 3.6.4 Accessing Serial Bus Devices Through Software . . . . . . . . 3.7 Programmable Interrupt Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.7.1 PC Card Functional and Card Status Change Interrupts . 3.7.2 Interrupt Masks and Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.7.3 Using Parallel IRQ Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . 3.7.4 Using Parallel PCI Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . iii 4 3.7.5 Using Serialized IRQSER Interrupts . . . . . . . . . . . . . . . . . . . 3.7.6 SMI Support in the PCI4410A Device . . . . . . . . . . . . . . . . . . 3.8 Power-Management Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8.1 Clock-Run Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8.2 CardBus PC Card Power Management . . . . . . . . . . . . . . . . 3.8.3 16-Bit PC Card Power Management . . . . . . . . . . . . . . . . . . . 3.8.4 Suspend Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8.5 Requirements for Suspend Mode . . . . . . . . . . . . . . . . . . . . . 3.8.6 Ring Indicate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8.7 PCI Power Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8.8 CardBus Bridge Power Management . . . . . . . . . . . . . . . . . . 3.8.9 ACPI Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8.10 Master List of PME Context Bits and Global Reset-Only Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PC Card Controller Programming Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.1 PCI Configuration Registers (Functions 0 and 1) . . . . . . . . . . . . . . . . . 4.2 Vendor ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3 Device ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.4 Command Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.5 Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.6 Revision ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.7 PCI Class Code Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.8 Cache Line Size Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.9 Latency Timer Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.10 Header Type Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.11 BIST Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.12 CardBus Socket/ExCA Base Address Register . . . . . . . . . . . . . . . . . . 4.13 Capability Pointer Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.14 Secondary Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.15 PCI Bus Number Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.16 CardBus Bus Number Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.17 Subordinate Bus Number Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.18 CardBus Latency Timer Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.19 Memory Base Registers 0, 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.20 Memory Limit Registers 0, 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.21 I/O Base Registers 0, 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.22 I/O Limit Registers 0, 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.23 Interrupt Line Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.24 Interrupt Pin Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.25 Bridge Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.26 Subsystem Vendor ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.27 Subsystem ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.28 PC Card 16-Bit I/F Legacy-Mode Base Address Register . . . . . . . . . 4.29 System Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-18 3-19 3-19 3-19 3-19 3-20 3-20 3-21 3-21 3-22 3-23 3-23 3-24 4-1 4-1 4-2 4-2 4-3 4-4 4-5 4-5 4-5 4-6 4-6 4-6 4-7 4-7 4-8 4-9 4-9 4-9 4-10 4-10 4-11 4-11 4-12 4-12 4-13 4-14 4-15 4-15 4-15 4-16 iv 5 General Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . General Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Multifunction Routing Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Retry Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Card Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Device Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Diagnostic Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Socket DMA Register 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Socket DMA Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Capability ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Next-Item Pointer Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power Management Capabilities Register . . . . . . . . . . . . . . . . . . . . . . Power Management Control/Status Register . . . . . . . . . . . . . . . . . . . . Power Management Control/Status Register Bridge Support Extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.44 Power Management Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.45 General-Purpose Event Status Register . . . . . . . . . . . . . . . . . . . . . . . . 4.46 General-Purpose Event Enable Register . . . . . . . . . . . . . . . . . . . . . . . 4.47 General-Purpose Input Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.48 General-Purpose Output Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ExCA Compatibility Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1 ExCA Identification and Revision Register . . . . . . . . . . . . . . . . . . . . . . 5.2 ExCA Interface Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3 ExCA Power Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.4 ExCA Interrupt and General Control Register . . . . . . . . . . . . . . . . . . . 5.5 ExCA Card Status-Change Register . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.6 ExCA Card Status-Change-Interrupt Configuration Register . . . . . . . 5.7 ExCA Address Window Enable Register . . . . . . . . . . . . . . . . . . . . . . . . 5.8 ExCA I/O Window Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.9 ExCA I/O Windows 0 and 1 Start-Address Low-Byte Registers . . . . 5.10 ExCA I/O Windows 0 and 1 Start-Address High-Byte Registers . . . . 5.11 ExCA I/O Windows 0 and 1 End-Address Low-Byte Registers . . . . . 5.12 ExCA I/O Windows 0 and 1 End-Address High-Byte Registers . . . . 5.13 ExCA Memory Windows 0-4 Start-Address Low-Byte Registers . . . 5.14 ExCA Memory Windows 0-4 Start-Address High-Byte Registers . . . 5.15 ExCA Memory Windows 0-4 End-Address Low-Byte Registers . . . . 5.16 ExCA Memory Windows 0-4 End-Address High-Byte Registers . . . 5.17 ExCA Memory Windows 0-4 Offset-Address Low-Byte Registers . . 5.18 ExCA Memory Windows 0-4 Offset-Address High-Byte Registers . 5.19 ExCA I/O Windows 0 and 1 Offset-Address Low-Byte Registers . . . 5.20 ExCA I/O Windows 0 and 1 Offset-Address High-Byte Registers . . . 5.21 ExCA I/O Card Detect and General Control Register . . . . . . . . . . . . . 5.22 ExCA Global Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.23 ExCA Memory Windows 0-4 Page Register . . . . . . . . . . . . . . . . . . . . 4.30 4.31 4.32 4.33 4.34 4.35 4.36 4.37 4.38 4.39 4.40 4.41 4.42 4.43 4-19 4-19 4-20 4-21 4-22 4-23 4-24 4-25 4-26 4-27 4-27 4-28 4-29 4-30 4-30 4-31 4-32 4-33 4-34 5-1 5-4 5-5 5-6 5-8 5-9 5-10 5-11 5-12 5-13 5-13 5-14 5-14 5-15 5-16 5-17 5-18 5-19 5-20 5-21 5-21 5-22 5-23 5-23 v 6 7 8 9 CardBus Socket Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.1 Socket Event Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2 Socket Mask Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.3 Socket Present State Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.4 Socket Force Event Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.5 Socket Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.6 Socket Power Management Register . . . . . . . . . . . . . . . . . . . . . . . . . . . Distributed DMA (DDMA) Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.1 DMA Current Address/Base Address Register . . . . . . . . . . . . . . . . . . . 7.2 DMA Page Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3 DMA Current Count/Base Count Register . . . . . . . . . . . . . . . . . . . . . . . 7.4 DMA Command Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.5 DMA Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.6 DMA Request Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.7 DMA Mode Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.8 DMA Master Clear Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.9 DMA Multichannel/Mask Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OHCI-Lynx Controller Programming Model . . . . . . . . . . . . . . . . . . . . . . . . . 8.1 PCI Configuration Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.2 Vendor ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.3 Device ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.4 PCI Command Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.5 PCI Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.6 Class Code and Revision ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . 8.7 Latency Timer and Class Cache Line Size Register . . . . . . . . . . . . . . 8.8 Header Type and BIST Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.9 Open HCI Registers Base Address Register . . . . . . . . . . . . . . . . . . . . 8.10 TI Extension Base Address Register . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.11 PCI Subsystem Identification Register . . . . . . . . . . . . . . . . . . . . . . . . . . 8.12 PCI Power Management Capabilities Pointer Register . . . . . . . . . . . . 8.13 Interrupt Line and Interrupt Pin Registers . . . . . . . . . . . . . . . . . . . . . . . 8.14 MIN_GNT and MAX_LAT Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.15 PCI OHCI Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.16 Capability ID and Next Item Pointer Registers . . . . . . . . . . . . . . . . . . . 8.17 Power Management Capabilities Register . . . . . . . . . . . . . . . . . . . . . . 8.18 Power Management Control and Status Register . . . . . . . . . . . . . . . . 8.19 Power Management Extension Register . . . . . . . . . . . . . . . . . . . . . . . . 8.20 PCI Miscellaneous Configuration Register . . . . . . . . . . . . . . . . . . . . . . 8.21 Link Enhancement Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.22 Subsystem Access Identification Register . . . . . . . . . . . . . . . . . . . . . . 8.23 GPIO Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Open HCI Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.1 OHCI Version Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.2 GUID ROM Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1 6-2 6-3 6-4 6-6 6-7 6-8 7-1 7-2 7-2 7-3 7-3 7-4 7-4 7-5 7-5 7-6 8-1 8-1 8-2 8-2 8-3 8-4 8-5 8-5 8-6 8-6 8-7 8-8 8-8 8-9 8-9 8-10 8-10 8-11 8-12 8-13 8-14 8-15 8-16 8-17 9-1 9-4 9-5 vi 9.3 Asynchronous Transmit Retries Register . . . . . . . . . . . . . . . . . . . . . . . 9.4 CSR Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.5 CSR Compare Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.6 CSR Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.7 Configuration ROM Header Register . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.8 Bus Identification Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.9 Bus Options Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.10 GUID High Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.11 GUID Low Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.12 Configuration ROM Mapping Register . . . . . . . . . . . . . . . . . . . . . . . . . . 9.13 Posted Write Address Low Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.14 Posted Write Address High Register . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.15 Vendor ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.16 Host Controller Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.17 Self ID Buffer Pointer Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.18 Self ID Count Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.19 Isochronous Receive Channel Mask High Register . . . . . . . . . . . . . . 9.20 Isochronous Receive Channel Mask Low Register . . . . . . . . . . . . . . . 9.21 Interrupt Event Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.22 Interrupt Mask Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.23 Isochronous Transmit Interrupt Event Register . . . . . . . . . . . . . . . . . . 9.24 Isochronous Transmit Interrupt Mask Register . . . . . . . . . . . . . . . . . . . 9.25 Isochronous Receive Interrupt Event Register . . . . . . . . . . . . . . . . . . . 9.26 Isochronous Receive Interrupt Mask Register . . . . . . . . . . . . . . . . . . . 9.27 Fairness Control Register (Optional Register) . . . . . . . . . . . . . . . . . . . 9.28 Link Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.29 Node Identification Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.30 PHY Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.31 Isochronous Cycle Timer Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.32 Asynchronous Request Filter High Register . . . . . . . . . . . . . . . . . . . . . 9.33 Asynchronous Request Filter Low Register . . . . . . . . . . . . . . . . . . . . . 9.34 Physical Request Filter High Register . . . . . . . . . . . . . . . . . . . . . . . . . . 9.35 Physical Request Filter Low Register . . . . . . . . . . . . . . . . . . . . . . . . . . 9.36 Physical Upper Bound Register (Optional Register) . . . . . . . . . . . . . . 9.37 Asynchronous Context Control Register . . . . . . . . . . . . . . . . . . . . . . . . 9.38 Asynchronous Context Command Pointer Register . . . . . . . . . . . . . . 9.39 Isochronous Transmit Context Control Register . . . . . . . . . . . . . . . . . . 9.40 Isochronous Transmit Context Command Pointer Register . . . . . . . . 9.41 Isochronous Receive Context Control Register . . . . . . . . . . . . . . . . . . 9.42 Isochronous Receive Context Command Pointer Register . . . . . . . . 9.43 Isochronous Receive Context Match Register . . . . . . . . . . . . . . . . . . . 10 Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.1 Absolute Maximum Ratings Over Operating Temperature Ranges . 10.2 Recommended Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . 9-6 9-6 9-7 9-7 9-8 9-8 9-9 9-10 9-10 9-11 9-11 9-12 9-12 9-13 9-14 9-14 9-15 9-16 9-17 9-19 9-20 9-21 9-22 9-23 9-23 9-24 9-25 9-26 9-27 9-28 9-30 9-31 9-33 9-33 9-34 9-35 9-36 9-37 9-37 9-39 9-40 10-1 10-1 10-2 vii Electrical Characteristics Over Recommended Operating Conditions (unless otherwise noted) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-3 10.4 PCI Clock/Reset Timing Requirements Over Recommended Ranges of Supply Voltage and Operating Free-Air Temperature . . . . . . . . . . . 10-4 10.5 PCI Timing Requirements Over Recommended Ranges of Supply Voltage and Operating Free-Air Temperature . . . . . . . . . . . . . . . . . . . . 10-4 11 Mechanical Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-1 10.3 List of Illustrations Figure 2-1 2-2 2-3 3-1 3-2 3-3 3-4 3-5 3-6 3-7 3-8 3-9 3-10 3-11 3-12 3-13 3-14 3-15 3-16 3-17 3-18 5-1 5-2 6-1 Title PCI-to-CardBus Terminal Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI-to-PC Card (16-Bit) Terminal Diagram . . . . . . . . . . . . . . . . . . . . . . . . . MicroStar BGAt Ball Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI4410A System Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-State Bidirectional Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TPS2211 Terminal Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TPS2211 Typical Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Zoomed-Video Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sample Application of SPKROUT and CAUDPWM . . . . . . . . . . . . . . . . . . Two Sample LED Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial EEPROM Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial Bus Start/Stop Conditions and Bit Transfers . . . . . . . . . . . . . . . . . . Serial Bus-Protocol Acknowledge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial Bus Protocol - Byte Write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial Bus Protocol - Byte Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . EEPROM Interface Doubleword Data Collection . . . . . . . . . . . . . . . . . . . . EEPROM Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IRQ Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Suspend Functional Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Signal Diagram of Suspend Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RI_OUT Functional Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ExCA Register Access Through I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ExCA Register Access Through Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . Accessing CardBus Socket Registers Through PCI Memory . . . . . . . . . . Page 2-1 2-2 2-3 3-1 3-2 3-4 3-5 3-6 3-8 3-8 3-11 3-12 3-12 3-13 3-13 3-13 3-15 3-18 3-20 3-21 3-22 5-1 5-1 6-1 viii List of Tables Table Title 2-1 CardBus And 16-Bit PC Card Signal Names by PDV Terminal Number 2-2 CardBus And 16-Bit PC Card Signal Names by GHK Terminal Number 2-3 CardBus PC Card Signal Names Sorted Alphabetically to GHK/PDV Terminal Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4 16-Bit PC Card Signal Names Sorted Alphabetically to GHK/PDV Terminal Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5 Power Supply Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6 PC Card Power Switch Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7 PCI System Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8 PCI Address and Data Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9 PCI Interface Control Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10 Multifunction and Miscellaneous Terminals . . . . . . . . . . . . . . . . . . . . . . . . . 2-11 16-Bit PC Card Address and Data Terminals . . . . . . . . . . . . . . . . . . . . . . . 2-12 16-Bit PC Card Interface Control Terminals . . . . . . . . . . . . . . . . . . . . . . . . . 2-13 CardBus PC Card Interface System Terminals . . . . . . . . . . . . . . . . . . . . . . 2-14 CardBus PC Card Address and Data Terminals . . . . . . . . . . . . . . . . . . . . . 2-15 CardBus PC Card Interface Control Terminals . . . . . . . . . . . . . . . . . . . . . . 2-16 IEEE1394 PHY/Link Interface Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17 Zoomed-Video Interface Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 PC Card Card-Detect and Voltage-Sense Connections . . . . . . . . . . . . . . 3-2 Integrated Pullup Resistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3 Distributed DMA Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4 PC/PCI Channel Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5 I/O Addresses Used for PC/PCI DMA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6 CardBus Socket Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7 Registers and Bits Loadable Through Serial EEPROM . . . . . . . . . . . . . . . 3-8 Interrupt Mask and Flag Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9 PC Card Interrupt Events and Description . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10 SMI Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11 Power-Management Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1 PCI Configuration Registers (Functions 0 and 1) . . . . . . . . . . . . . . . . . . . . 4-2 Bit-Field Access Tag Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3 Command Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4 Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5 Secondary Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6 Bridge Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7 System Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8 General Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 2-4 2-6 2-8 2-10 2-12 2-12 2-12 2-13 2-14 2-15 2-16 2-17 2-18 2-19 2-20 2-21 2-21 3-4 3-7 3-9 3-10 3-10 3-11 3-14 3-16 3-17 3-19 3-23 4-1 4-2 4-3 4-4 4-8 4-14 4-17 4-19 ix 4-9 4-10 4-11 4-12 4-13 4-14 4-15 4-16 4-17 4-18 4-19 4-20 4-21 4-22 4-23 5-1 5-2 5-3 5-4 5-5 5-6 5-7 5-8 5-9 5-10 5-11 5-12 5-13 5-14 5-15 6-1 6-2 6-3 6-4 6-5 6-6 6-7 7-1 7-2 7-3 7-4 General Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Multifunction Routing Register Description . . . . . . . . . . . . . . . . . . . . . . . . . Retry Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Card Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Device Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Diagnostic Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Socket DMA Register 0 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Socket DMA Register 1 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power Management Capabilities Register Description . . . . . . . . . . . . . . . Power Management Control/Status Register Description . . . . . . . . . . . . . Power Management Control/Status Register Bridge Support Extensions Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . General-Purpose Event Status Register Description . . . . . . . . . . . . . . . . . General-Purpose Event Enable Register Description . . . . . . . . . . . . . . . . General-Purpose Input Register Description . . . . . . . . . . . . . . . . . . . . . . . . General-Purpose Output Register Description . . . . . . . . . . . . . . . . . . . . . . ExCA Registers and Offsets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ExCA Identification and Revision Register Description . . . . . . . . . . . . . . . ExCA Interface Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . ExCA Power Control Register 82365SL Support Description . . . . . . . . . ExCA Power Control Register 82365SL-DF Support Description . . . . . . ExCA Interrupt and General Control Register Description . . . . . . . . . . . . ExCA Card Status-Change Register Description . . . . . . . . . . . . . . . . . . . . ExCA Card Status-Change-Interrupt Configuration Register Description ExCA Address Window Enable Register Description . . . . . . . . . . . . . . . . ExCA I/O Window Control Register Description . . . . . . . . . . . . . . . . . . . . . ExCA Memory Windows 0-4 Start-Address High-Byte Registers Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ExCA Memory Windows 0-4 End-Address High-Byte Registers Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ExCA Memory Windows 0-4 Offset-Address High-Byte Registers Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ExCA I/O Card-Detect and General Control Register Description . . . . . . ExCA Global Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . CardBus Socket Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Socket Event Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Socket Mask Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Socket Present State Register Description . . . . . . . . . . . . . . . . . . . . . . . . . Socket Force Event Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . Socket Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Socket Power Management Register Description . . . . . . . . . . . . . . . . . . . Distributed DMA Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DMA Command Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DMA Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DMA Mode Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-19 4-20 4-21 4-22 4-23 4-24 4-25 4-26 4-28 4-29 4-30 4-31 4-32 4-33 4-34 5-2 5-4 5-5 5-6 5-7 5-8 5-9 5-10 5-11 5-12 5-16 5-18 5-20 5-22 5-23 6-1 6-2 6-3 6-4 6-6 6-7 6-8 7-1 7-3 7-4 7-5 x 7-5 8-1 8-2 8-3 8-4 8-5 8-6 8-7 8-8 8-9 8-10 8-11 8-12 8-13 8-14 8-15 8-16 8-17 8-18 8-19 8-20 9-1 9-2 9-3 9-4 9-5 9-6 9-7 9-8 9-9 9-10 9-11 9-12 9-13 9-14 9-15 9-16 9-17 9-18 9-19 9-20 9-21 9-22 9-23 DMA Multichannel/Mask Register Description . . . . . . . . . . . . . . . . . . . . . . Bit-Field Access Tag Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI Configuration Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI Command Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Class Code and Revision ID Register Description . . . . . . . . . . . . . . . . . . . Latency Timer and Class Cache Line Size Register Description . . . . . . . Header Type and BIST Register Description . . . . . . . . . . . . . . . . . . . . . . . . Open HCI Registers Base Address Register Description . . . . . . . . . . . . . TI Extension Base Address Register Description . . . . . . . . . . . . . . . . . . . . PCI Subsystem Identification Register Description . . . . . . . . . . . . . . . . . . Interrupt Line and Interrupt Pin Registers Description . . . . . . . . . . . . . . . . MIN_GNT and MAX_LAT Registers Description . . . . . . . . . . . . . . . . . . . . Capability ID and Next Item Pointer Registers Description . . . . . . . . . . . . Power Management Capabilities Register Description . . . . . . . . . . . . . . . Power Management Control and Status Register Description . . . . . . . . . Power Management Extension Register Description . . . . . . . . . . . . . . . . . PCI Miscellaneous Configuration Register Description . . . . . . . . . . . . . . . Link Enhancement Control Register Description . . . . . . . . . . . . . . . . . . . . Subsystem Access Identification Register Description . . . . . . . . . . . . . . . GPIO Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Open HCI Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OHCI Version Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . GUID ROM Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Asynchronous Transmit Retries Register Description . . . . . . . . . . . . . . . . CSR Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration ROM Header Register Description . . . . . . . . . . . . . . . . . . . . Bus Options Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration ROM Mapping Register Description . . . . . . . . . . . . . . . . . . . Posted Write Address Low Register Description . . . . . . . . . . . . . . . . . . . . Posted Write Address High Register Description . . . . . . . . . . . . . . . . . . . . Host Controller Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . Self ID Count Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Isochronous Receive Channel Mask High Register Description . . . . . . . Isochronous Receive Channel Mask Low Register Description . . . . . . . . Interrupt Event Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Interrupt Mask Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Isochronous Transmit Interrupt Event Register Description . . . . . . . . . . . Isochronous Receive Interrupt Event Register Description . . . . . . . . . . . Fairness Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Link Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Node Identification Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . PHY Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Isochronous Cycle Timer Register Description . . . . . . . . . . . . . . . . . . . . . . 7-6 8-1 8-1 8-3 8-4 8-5 8-5 8-6 8-6 8-7 8-8 8-9 8-9 8-10 8-11 8-12 8-13 8-14 8-15 8-16 8-17 9-1 9-4 9-5 9-6 9-7 9-8 9-9 9-11 9-11 9-12 9-13 9-14 9-15 9-16 9-17 9-19 9-20 9-22 9-23 9-24 9-25 9-26 9-27 xi 9-24 9-25 9-26 9-27 9-28 9-29 9-30 9-31 9-32 Asynchronous Request Filter High Register Description . . . . . . . . . . . . . Asynchronous Request Filter Low Register Description . . . . . . . . . . . . . . Physical Request Filter High Register Description . . . . . . . . . . . . . . . . . . . Physical Request Filter Low Register Description . . . . . . . . . . . . . . . . . . . Asynchronous Context Control Register Description . . . . . . . . . . . . . . . . . Asynchronous Context Command Pointer Register Description . . . . . . . Isochronous Transmit Context Control Register Description . . . . . . . . . . Isochronous Receive Context Control Register Description . . . . . . . . . . . Isochronous Receive Context Match Register Description . . . . . . . . . . . . 9-28 9-30 9-31 9-33 9-34 9-35 9-36 9-38 9-40 xii 1 Introduction The Texas Instruments PCI4410A device is an integrated single-socket PC Card controller and IEEE 1394 Open HCI host controller. This high-performance integrated solution provides the latest in both PC Card and IEEE 1394 technology. 1.1 Description The PCI4410A device is a dual-function PCI device compliant with the PCI Local Bus Specification. Function 0 provides the independent PC Card socket controller compliant with the PC Card Standard. The PCI4410A device provides features that make it the best choice for bridging between the PCI bus and PC Cards, and supports either 16-bit or CardBus PC Cards in the socket, powered at 5 V or 3.3 V, as required. All card signals are buffered internally to allow hot insertion and removal without external buffering. The PCI4410A device is compatible with the register of the IntelTM 82365SL-DF and 82365SL ExCA controllers. The PCI4410A internal data-path logic allows the host to access 8-, 16-, and 32-bit cards using full 32-bit PCI cycles for maximum performance. Independent buffering and a pipeline architecture provide an unsurpassed performance level with sustained bursting. The PCI4410A device can be programmed to accept posted writes to improve bus utilization. Function 1 of the PCI4410A device is compatible with IEEE 1394a-2000 and the latest 1394 open host controller interface (OHCI) specifications. The chip provides the IEEE 1394 link function and is compatible with data rates of 100, 200, and 400 Mbits/s. Deep FIFOs are provided to buffer 1394 data and accommodate large host bus latencies. The PCI4410A device provides physical write posting and a highly tuned physical data path for SBP-2 performance. Multiple-cache line burst transfers, advanced internal arbitration, and bus-holding buffers on the PHY/Link interface are other features that make the PCI4410A device the best-in-class 1394 OHCI solution. The PCI4410A device provides an internally buffered zoomed-video (ZV) path. This reduces the design effort of PC board manufacturers to add a ZV-compatible solution and ensures compliance with the CardBus loading specifications. Various implementation-specific functions and general-purpose inputs and outputs are provided through eight multifunction terminals. These terminals present a system with options in PC/PCI DMA, PCI LOCK and parallel interrupts, PC Card activity indicator LEDs, and other platform-specific signals. ACPI-compliant general-purpose events can be programmed and controlled through the multifunction terminals, and an ACPI-compliant programming interface is included for the general-purpose inputs and outputs. The PCI4410A device is compliant with the latest PCI Bus Power Management Specification, and provides several low-power modes that enable the host power system to further reduce power consumption. The PC Card (CardBus) Controller and IEEE 1394 Host Controller Device Class Specifications required for Microsoft OnNowt power management are supported. Furthermore, an advanced complementary metal-oxide semiconductor (CMOS) process achieves low system power consumption. Unused PCI4410A device inputs must be pulled to a valid logic level using a 43-k resistor. 1-1 1.2 Features The PCI4410A device supports the following features: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Ability to wake from D3hot and D3cold Fully compatible with the Intel 430TX (Mobile Triton II) chipset A 208-pin low-profile QFP (PDV) or 209-ball MicroStar BGATM ball grid array (GHK) package 3.3-V core logic with universal PCI interfaces compatible with 3.3-V and 5-V PCI signaling environments Mix-and-match 5-V/3.3-V 16-bit PC Cards and 3.3-V CardBus Cards Single PC Card or CardBus slot with hot insertion and removal Burst transfers to maximize data throughput on the PCI bus and the CardBus bus Parallel PCI interrupts, parallel ISA IRQ and parallel PCI interrupts, serial ISA IRQ with parallel PCI interrupts, and serial ISA IRQ and PCI interrupts Serial EEPROM interface for loading subsystem ID and subsystem vendor ID Pipelined architecture allows greater than 130 Mbit/s sustained throughput from CardBus-to-PCI and from PCI-to-CardBus Interface to parallel single-slot PC Card power-switch interfaces like the TITM TPS2211 device Up to five general-purpose I/Os Programmable output select for CLKRUN Five PCI memory windows and two I/O windows available to the 16-bit PC Card socket Two I/O windows and two memory windows available to the CardBus socket Exchangeable Card Architecture (ExCA) compatible registers are mapped in memory and I/O space Compatibility with Intel 82365SL-DF and 82365SL registers Distributed DMA (DDMA) and PC/PCI DMA 16-bit DMA on the PC Card socket Ring indicate, SUSPEND, PCI CLKRUN, and CardBus CLKRUN Socket-activity LED pins PCI bus lock (LOCK) Advanced submicron, low-power CMOS technology Internal ring oscillator OHCI link function designed to IEEE 1394 Open Host Controller Interface (OHCI) Specification Implements PCI burst transfers and deep FIFOs to tolerate large host latency Supports physical write posting of up to three outstanding transactions OHCI link function is compliant with IEEE 1394-1995 and compatible with IEEE 1394a-2000 Supports serial bus data rates of 100, 200, and 400 Mbits/s Provides bus-hold buffers on the PHY-Link I/F for low-cost single-capacitor isolation 1-2 1.3 Related Documents * * * * * * * * * * * * * Advanced Configuration and Power Interface (ACPI) Specification (Revision 2.0) PCI Bus Power Management Interface Specification (Revision 1.1) PCI Bus Power Management Interface Specification for PCI to CardBus Bridges (Revision 1.1) PCI Local Bus Specification (Revision 2.2) PCI Mobile Design Guide (Revision 1.0) PCI14xx Implemenation Guide for D3 Wake-Up PC Card Standard, Release 7 PC 98/99 Serialized IRQ Support for PCI Systems (Revision 6) Serial Bus Protocol 2 (SBP-2) 1394 Open Host Controller Interface Specification (Revision 1.0) P1394 Standard for a High-Performance Serial Bus (IEEE 1394-1995) IEEE Standard for a High-Performance Serial Bus--Amendment 1 (IEEE 1394a-2000) 1.4 Trademarks MicroStar BGA, OHCI-Lynx, and TI are trademarks of Texas Instruments. Microsoft OnNow is a trademark of Microsoft Corporation. Intel is a trademark of Intel Corporation. Maxim is a trademark of Maxim Integrated Products, Inc. Other trademarks are the property of their respective owners. 1.5 Ordering Information ORDERING NUMBER PCI4410A NAME PC Card controller VOLTAGE 3.3-V, 5-V tolerant I/Os PACKAGE 208-pin LQFP 209-ball PBGA 1-3 1-4 2 Terminal Descriptions The PCI4410A device is packaged in either a 209-ball GHK MicroStar BGAt or a 208-terminal PDV package. The PCI4410A device is a single-socket CardBus bridge with integrated OHCI link. Figure 2-1 is a terminal diagram of the PDV package with PCI-to-CardBus signal names. Figure 2-2 is a terminal diagram of the PDV package with PCI-to-PC Card signal names. Figure 2-3 is a terminal diagram of the GHK package. CCLK CDEVSEL CGNT CSTOP CPERR CBLOCK VCC CPAR CRSVD CC/BE1 CAD16 CAD14 CAD15 CAD12 GND CAD13 CAD11 CAD10 VCCCB CAD9 CC/BE0 CAD8 VCC CAD7 CRSVD CAD5 CAD6 CAD3 CAD4 CAD1 GND CAD2 CAD0 CCD1 VCCD1 VCCD0 ZV_PCLK ZV_SDATA ZV_LRCLK ZV_MCLK ZV_UV(7) VCC ZV_SCLK ZV_UV(5) ZV_UV(6) ZV_UV(3) GND ZV_UV(4) ZV_UV(1) ZV_UV(2) ZV_UV(0) ZV_Y(7) 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 CTRDY CIRDY CFRAME CC/BE2 CAD17 GND CAD18 CAD19 CVS2 CAD20 CRST CAD21 CAD22 VCC CREQ CAD23 CC/BE3 VCCCB CAD24 CAD25 CAD26 GND CVS1 CINT CSERR CAUDIO CSTSCHG CCLKRUN CCD2 VCC CAD27 CAD28 CAD29 CAD30 CRSVD CAD31 LPS PHY_LREQ VCC PHY_CLK PHY_CTL(0) PHY_CTL(1) LINKON PHY_DATA0 VCCL PHY_DATA1 GND PHY_DATA2 PHY_DATA3 PHY_DATA4 PHY_DATA5 PHY_DATA6 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 ZV_Y(6) ZV_Y(5) ZV_Y(4) ZV_Y(3) GND ZV_Y(2) ZV_Y(1) ZV_Y(0) ZV_VSYNC ZV_HREF RSVD INTB INTA VCC LED_SKT RSVD VPPD1 VPPD0 SUSPEND MFUNC6 MFUNC5 MFUNC4 GRST MFUNC3 MFUNC2 VCCI SPKROUT MFUNC1 MFUNC0 RI_OUT/PME GND AD0 AD1 AD2 AD3 AD4 AD5 AD6 VCC AD7 C/BE0 AD8 AD9 AD10 VCCP AD11 GND AD12 AD13 AD14 AD15 C/BE1 PHY_DATA7 PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD GND PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD VCC PHY_RSVD PHY_RSVD REQ GNT AD31 AD30 AD29 GND AD28 AD27 AD26 AD25 AD24 C/BE3 IDSEL VCC AD23 AD22 AD21 VCCP AD20 PRST PCLK GND AD19 AD18 AD17 AD16 C/BE2 FRAME IRDY VCC TRDY DEVSEL STOP PERR SERR PAR Figure 2-1. PCI-to-CardBus Terminal Diagram 2-1 ADDR22 ADDR15 ADDR23 ADDR12 ADDR24 GND ADDR7 ADDR25 VS2 ADDR6 RESET ADDR5 ADDR4 VCC INPACK ADDR3 REG VCCCB ADDR2 ADDR1 ADDR0 GND VS1 READY(IREQ) WAIT BVD2(SPKR) BVD1(STSCHG/RI) WP(IOIS16) CD2 VCC DATA0 DATA8 DATA1 DATA9 DATA2 DATA10 LPS PHY_LREQ VCC PHY_CLK PHY_CTL(0) PHY_CTL(1) LINKON PHY_DATA0 VCCL PHY_DATA1 GND PHY_DATA2 PHY_DATA3 PHY_DATA4 PHY_DATA5 PHY_DATA6 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 ADDR16 ADDR21 WE ADDR20 ADDR14 ADDR19 VCC ADDR13 ADDR18 ADDR8 ADDR17 ADDR9 IOWR ADDR11 GND IORD OE CE2 VCCCB ADDR10 CE1 DATA15 VCC DATA7 DATA14 DATA6 DATA13 DATA5 DATA12 DATA4 GND DATA11 DATA3 CD1 VCCD1 VCCD0 ZV_PCLK ZV_SDATA ZV_LRCLK ZV_MCLK ZV_UV(7) VCC ZV_SCLK ZV_UV(5) ZV_UV(6) ZV_UV(3) GND ZV_UV(4) ZV_UV(1) ZV_UV(2) ZV_UV(0) ZV_Y(7) 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 ZV_Y(6) ZV_Y(5) ZV_Y(4) ZV_Y(3) GND ZV_Y(2) ZV_Y(1) ZV_Y(0) ZV_VSYNC ZV_HREF RSVD INTB INTA VCC LED_SKT RSVD VPPD1 VPPD0 SUSPEND MFUNC6 MFUNC5 MFUNC4 GRST MFUNC3 MFUNC2 VCCI SPKROUT MFUNC1 MFUNC0 RI_OUT/PME GND AD0 AD1 AD2 AD3 AD4 AD5 AD6 VCC AD7 C/BE0 AD8 AD9 AD10 VCCP AD11 GND AD12 AD13 AD14 AD15 C/BE1 2-2 PHY_DATA7 PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD GND PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD VCC PHY_RSVD PHY_RSVD REQ GNT AD31 AD30 AD29 GND AD28 AD27 AD26 AD25 AD24 C/BE3 IDSEL VCC AD23 AD22 AD21 VCCP AD20 PRST PCLK GND AD19 AD18 AD17 AD16 C/BE2 FRAME IRDY VCC TRDY DEVSEL STOP PERR SERR PAR Figure 2-2. PCI-to-PC Card (16-Bit) Terminal Diagram W V U T R P N M L K J H G F E D C B A 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Figure 2-3. MicroStar BGAt Ball Diagram Table 2-1 shows the terminal assignments for the 208-terminal PDV CardBus and 16-bit PC Card signal names. Table 2-2 shows the terminal assignments for the 209-ball GHK CardBus and 16-bit PC Card signal names. Table 2-3 shows the CardBus PC Card signal names, sorted alphabetically to the GHK/PDV terminal numbers. Table 2-4 shows the 16-bit PC Card signal names, sorted alphabetically to the GHK/PDV terminal numbers. 2-3 Table 2-1. CardBus and 16-Bit PC Card Signal Names by PDV Terminal Number TERM. NO. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 SIGNAL NAME CARDBUS PHY_DATA7 PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD GND PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD VCC PHY_RSVD PHY_RSVD REQ GNT AD31 AD30 AD29 GND AD28 AD27 AD26 AD25 AD24 C/BE3 IDSEL VCC AD23 AD22 AD21 VCCP AD20 PRST PCLK GND AD19 AD18 AD17 AD16 C/BE2 16-BIT PHY_DATA7 PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD GND PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD VCC PHY_RSVD PHY_RSVD REQ GNT AD31 AD30 AD29 GND AD28 AD27 AD26 AD25 AD24 C/BE3 IDSEL VCC AD23 AD22 AD21 VCCP AD20 PRST PCLK GND AD19 AD18 AD17 AD16 C/BE2 TERM. NO. 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 SIGNAL NAME CARDBUS FRAME IRDY VCC TRDY DEVSEL STOP PERR SERR PAR C/BE1 AD15 AD14 AD13 AD12 GND AD11 VCCP AD10 AD9 AD8 C/BE0 AD7 VCC AD6 AD5 AD4 AD3 AD2 AD1 AD0 GND RI_OUT/PME MFUNC0 MFUNC1 SPKROUT VCCI MFUNC2 MFUNC3 GRST MFUNC4 MFUNC5 MFUNC6 SUSPEND 16-BIT FRAME IRDY VCC TRDY DEVSEL STOP PERR SERR PAR C/BE1 AD15 AD14 AD13 AD12 GND AD11 VCCP AD10 AD9 AD8 C/BE0 AD7 VCC AD6 AD5 AD4 AD3 AD2 AD1 AD0 GND RI_OUT/PME MFUNC0 MFUNC1 SPKROUT VCCI MFUNC2 MFUNC3 GRST MFUNC4 MFUNC5 MFUNC6 SUSPEND TERM. NO. 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 SIGNAL NAME CARDBUS VPPD0 VPPD1 RSVD LED_SKT VCC INTA INTB RSVD ZV_HREF ZV_VSYNC ZV_Y(0) ZV_Y(1) ZV_Y(2) GND ZV_Y(3) ZV_Y(4) ZV_Y(5) ZV_Y(6) ZV_Y(7) ZV_UV(0) ZV_UV(2) ZV_UV(1) ZV_UV(4) GND ZV_UV(3) ZV_UV(6) ZV_UV(5) ZV_SCLK VCC ZV_UV(7) ZV_MCLK ZV_LRCLK ZV_SDATA ZV_PCLK VCCD0 VCCD1 CCD1 CAD0 CAD2 GND CAD1 CAD4 CAD3 16-BIT VPPD0 VPPD1 RSVD LED_SKT VCC INTA INTB RSVD ZV_HREF ZV_VSYNC ZV_Y(0) ZV_Y(1) ZV_Y(2) GND ZV_Y(3) ZV_Y(4) ZV_Y(5) ZV_Y(6) ZV_Y(7) ZV_UV(0) ZV_UV(2) ZV_UV(1) ZV_UV(4) GND ZV_UV(3) ZV_UV(6) ZV_UV(5) ZV_SCLK VCC ZV_UV(7) ZV_MCLK ZV_LRCLK ZV_SDATA ZV_PCLK VCCD0 VCCD1 CD1 DATA3 DATA11 GND DATA4 DATA12 DATA5 2-4 Table 2-1. CardBus and 16-Bit PC Card Signal Names by PDV Terminal Number (Continued) TERM. NO. 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 SIGNAL NAME CARDBUS CAD6 CAD5 CRSVD CAD7 VCC CAD8 CC/BE0 CAD9 VCCCB CAD10 CAD11 CAD13 GND CAD12 CAD15 CAD14 CAD16 CC/BE1 CRSVD CPAR VCC CBLOCK CPERR CSTOP CGNT CDEVSEL CCLK 16-BIT DATA13 DATA6 DATA14 DATA7 VCC DATA15 CE1 ADDR10 VCCCB CE2 OE IORD GND ADDR11 IOWR ADDR9 ADDR17 ADDR8 ADDR18 ADDR13 VCC ADDR19 ADDR14 ADDR20 WE ADDR21 ADDR16 TERM. NO. 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 SIGNAL NAME CARDBUS CTRDY CIRDY CFRAME CC/BE2 CAD17 GND CAD18 CAD19 CVS2 CAD20 CRST CAD21 CAD22 VCC CREQ CAD23 CC/BE3 VCCCB CAD24 CAD25 CAD26 GND CVS1 CINT CSERR CAUDIO CSTSCHG 16-BIT ADDR22 ADDR15 ADDR23 ADDR12 ADDR24 GND ADDR7 ADDR25 VS2 ADDR6 RESET ADDR5 ADDR4 VCC INPACK ADDR3 REG VCCCB ADDR2 ADDR1 ADDR0 GND VS1 READY(IREQ) WAIT BVD2(SPKR) BVD1 (STSCHG/RI) TERM. NO. 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 SIGNAL NAME CARDBUS CCLKRUN CCD2 VCC CAD27 CAD28 CAD29 CAD30 CRSVD CAD31 LPS PHY_LREQ VCC PHY_CLK PHY_CTL(0) PHY_CTL(1) LINKON PHY_DATA0 VCCL PHY_DATA1 GND PHY_DATA2 PHY_DATA3 PHY_DATA4 PHY_DATA5 PHY_DATA6 CD2 VCC DATA0 DATA8 DATA1 DATA9 DATA2 DATA10 LPS PHY_LREQ VCC PHY_CLK PHY_CTL(0) PHY_CTL(1) LINKON PHY_DATA0 VCCL PHY_DATA1 GND PHY_DATA2 PHY_DATA3 PHY_DATA4 PHY_DATA5 PHY_DATA6 16-BIT WP(IOIS16) 2-5 Table 2-2. CardBus and 16-Bit PC Card Signal Names by GHK Terminal Number TERM. NO. A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15 A16 B5 B6 B7 B8 B9 B10 B11 B12 B13 B14 B15 C5 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15 D1 D19 E1 E2 E3 E6 E7 SIGNAL NAME CARDBUS PHY_DATA6 GND LINKON VCC CAD30 CCD2 CINT CAD24 VCCCB VCC CAD20 GND CTRDY PHY_DATA3 PHY_DATA0 PHY_CLK CRSVD VCC CSERR CAD25 CC/BE3 CAD22 CAD19 CAD17 PHY_DATA5 PHY_DATA1 PHY_CTL(0) CAD31 CAD27 CAUDIO CAD26 CAD23 CAD21 CAD18 CIRDY PHY_DATA7 CCLK GND PHY_RSVD PHY_RSVD PHY_DATA4 VCCL 16-BIT PHY_DATA6 GND LINKON VCC DATA9 CD2 READY(IREQ) ADDR2 VCCCB VCC ADDR6 GND ADDR22 PHY_DATA3 PHY_DATA0 PHY_CLK DATA2 VCC WAIT ADDR1 REG ADDR4 ADDR25 ADDR24 PHY_DATA5 PHY_DATA1 PHY_CTL(0) DATA10 DATA0 BVD2(SPKR) ADDR0 ADDR3 ADDR5 ADDR7 ADDR15 PHY_DATA7 ADDR16 GND PHY_RSVD PHY_RSVD PHY_DATA4 VCCL TERM. NO. E8 E9 E10 E11 E12 E13 E14 E17 E18 E19 F1 F2 F3 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 F15 F17 F18 F19 G1 G2 G3 G5 G6 G14 G15 G17 G18 G19 H1 H2 H3 H5 H6 SIGNAL NAME CARDBUS PHY_LREQ CAD29 CSTSCHG GND CREQ CVS2 CFRAME CDEVSEL CSTOP CBLOCK PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_DATA2 PHY_CTL(1) LPS CAD28 CCLKRUN CVS1 CRST CC/BE2 CPERR CGNT VCC CRSVD CC/BE1 VCC PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD CAD16 CPAR CAD14 CAD15 CAD12 GNT REQ PHY_RSVD PHY_RSVD PHY_RSVD 16-BIT PHY_LREQ DATA1 BVD1 (STSCHG/RI) GND INPACK VS2 ADDR23 ADDR21 ADDR20 ADDR19 PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_DATA2 PHY_CTL(1) LPS DATA8 WP(IOIS16) VS1 RESET ADDR12 ADDR14 WE VCC ADDR18 ADDR8 VCC PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD ADDR17 ADDR13 ADDR9 IOWR ADDR11 GNT REQ PHY_RSVD PHY_RSVD PHY_RSVD TERM. NO. H14 H15 H17 H18 H19 J1 J2 J3 J5 J6 J14 J15 J17 J18 J19 K1 K2 K3 K5 K6 K14 K15 K17 K18 K19 L1 L2 L3 L5 L6 L14 L15 L17 L18 L19 M1 M2 M3 M5 M6 M14 M15 SIGNAL NAME CARDBUS CAD13 GND CAD11 CAD10 VCCCB AD31 AD30 AD29 GND AD28 CC/BE0 CAD9 CAD8 VCC CAD7 AD27 AD26 AD25 AD24 C/BE3 CRSVD CAD5 CAD6 CAD3 CAD4 IDSEL VCC AD23 AD21 AD22 CAD1 GND CAD2 CAD0 CCD1 VCCP AD20 PRST GND PCLK VCC ZV_SDATA 16-BIT IORD GND OE CE2 VCCCB AD31 AD30 AD29 GND AD28 CE1 ADDR10 DATA15 VCC DATA7 AD27 AD26 AD25 AD24 C/BE3 DATA14 DATA6 DATA13 DATA5 DATA12 IDSEL VCC AD23 AD21 AD22 DATA4 GND DATA11 DATA3 CD1 VCCP AD20 PRST GND PCLK VCC ZV_SDATA 2-6 Table 2-2. CardBus and 16-Bit PC Card Signal Names by GHK Terminal Number (Continued) TERM. NO. M17 M18 M19 SIGNAL NAME CARDBUS ZV_PCLK VCCD0 VCCD1 AD19 AD18 AD17 IRDY AD16 ZV_UV(1) ZV_UV(5) ZV_UV(7) ZV_MCLK ZV_LRCLK C/BE2 FRAME VCC PERR DEVSEL AD13 AD8 RI_OUT/PME MFUNC2 MFUNC5 RSVD RSVD GND ZV_UV(2) ZV_UV(3) 16-BIT ZV_PCLK VCCD0 VCCD1 AD19 AD18 AD17 IRDY AD16 ZV_UV(1) ZV_UV(5) ZV_UV(7) ZV_MCLK ZV_LRCLK C/BE2 FRAME VCC PERR DEVSEL AD13 AD8 RI_OUT/PME MFUNC2 MFUNC5 RSVD RSVD GND ZV_UV(2) ZV_UV(3) TERM. NO. P18 P19 R1 R2 R3 R6 R7 R8 R9 R10 R11 R12 R13 R14 R17 R18 R19 T1 T19 U5 U6 U7 U8 U9 U10 U11 U12 U13 SIGNAL NAME CARDBUS ZV_UV(6) ZV_SCLK TRDY STOP SERR AD14 AD10 AD6 GND VCCI MFUNC6 LED_SKT ZV_Y(0) ZV_Y(4) ZV_UV(0) ZV_UV(4) GND PAR ZV_Y(7) AD15 AD11 C/BE0 AD5 AD0 SPKROUT MFUNC4 VPPD1 INTB 16-BIT ZV_UV(6) ZV_SCLK TRDY STOP SERR AD14 AD10 AD6 GND VCCI MFUNC6 LED_SKT ZV_Y(0) ZV_Y(4) ZV_UV(0) ZV_UV(4) GND PAR ZV_Y(7) AD15 AD11 C/BE0 AD5 AD0 SPKROUT MFUNC4 VPPD1 INTB TERM. NO. U14 U15 V5 V6 V7 V8 V9 V10 V11 V12 V13 V14 V15 W4 W5 W6 W7 W8 W9 W10 W11 W12 W13 W14 W15 W16 SIGNAL NAME CARDBUS ZV_Y(1) ZV_Y(5) AD12 VCCP AD7 AD4 AD1 MFUNC1 GRST VPPD0 INTA ZV_VSYNC ZV_Y(3) C/BE1 GND AD9 VCC AD3 AD2 MFUNC0 MFUNC3 SUSPEND VCC ZV_HREF ZV_Y(2) ZV_Y(6) 16-BIT ZV_Y(1) ZV_Y(5) AD12 VCCP AD7 AD4 AD1 MFUNC1 GRST VPPD0 INTA ZV_VSYNC ZV_Y(3) C/BE1 GND AD9 VCC AD3 AD2 MFUNC0 MFUNC3 SUSPEND VCC ZV_HREF ZV_Y(2) ZV_Y(6) N1 N2 N3 N5 N6 N14 N15 N17 N18 N19 P1 P2 P3 P5 P6 P7 P8 P9 P10 P11 P12 P13 P14 P15 P17 2-7 Table 2-3. CardBus PC Card Signal Names Sorted Alphabetically to GHK/PDV Terminal Number TERM. NO. SIGNAL NAME AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7 AD8 AD9 AD10 AD11 AD12 AD13 AD14 AD15 AD16 AD17 AD18 AD19 AD20 AD21 AD22 AD23 AD24 AD25 AD26 AD27 AD28 AD29 AD30 AD31 CAD0 CAD1 CAD2 CAD3 CAD4 CAD5 CAD6 CAD7 CAD8 CAD9 CAD10 PDV 73 72 71 70 69 68 67 65 63 62 61 59 57 56 55 54 42 41 40 39 35 33 32 31 27 26 25 24 23 21 20 19 124 127 125 129 128 131 130 133 135 137 139 GHK U9 V9 W9 W8 V8 U8 R8 V7 P8 W6 R7 U6 V5 P7 R6 U5 N6 N3 N2 N1 M2 L5 L6 L3 K5 K3 K2 K1 J6 J3 J2 J1 L18 L14 L17 K18 K19 K15 K17 J19 J17 J15 H18 SIGNAL NAME CAD11 CAD12 CAD13 CAD14 CAD15 CAD16 CAD17 CAD18 CAD19 CAD20 CAD21 CAD22 CAD23 CAD24 CAD25 CAD26 CAD27 CAD28 CAD29 CAD30 CAD31 CAUDIO C/BE0 C/BE1 C/BE2 C/BE3 CBLOCK CC/BE0 CC/BE1 CC/BE2 CC/BE3 CCD1 CCD2 CCLK CCLKRUN CDEVSEL CFRAME CGNT CINT CIRDY CPAR CPERR CREQ TERM. NO. PDV 140 143 141 145 144 146 161 163 164 166 168 169 172 175 176 177 187 188 189 190 192 182 64 53 43 28 151 136 147 160 173 123 185 156 184 155 159 154 180 158 149 152 171 GHK H17 G19 H14 G17 G18 G14 B15 C14 B14 A14 C13 B13 C12 A11 B11 C11 C9 F9 E9 A8 C8 C10 U7 W4 P1 K6 E19 J14 F19 F13 B12 L19 A9 D19 F10 E17 E14 F15 A10 C15 G15 F14 E12 SIGNAL NAME CRST CRSVD CRSVD CRSVD CSERR CSTOP CSTSCHG CTRDY CVS1 CVS2 DEVSEL FRAME GND GND GND GND GND GND GND GND GND GND GND GND GNT GRST IDSEL INTA INTB IRDY LED_SKT LINKON LPS MFUNC0 MFUNC1 MFUNC2 MFUNC3 MFUNC4 MFUNC5 MFUNC6 PAR PCLK PERR TERM. NO. PDV 167 132 148 191 181 153 183 157 179 165 48 44 6 22 38 58 74 100 110 126 142 162 178 203 18 82 29 92 93 45 90 199 193 76 77 80 81 83 84 85 52 37 50 GHK F12 K14 F18 B8 B10 E18 E10 A16 F11 E13 P6 P2 E1 J5 M5 W5 R9 P14 R19 L15 H15 A15 E11 A5 H1 V11 L1 V13 U13 N5 R12 A6 F8 W10 V10 P10 W11 U11 P11 R11 T1 M6 P5 SIGNAL NAME PHY_CLK PHY_CTL(0) PHY_CTL(1) PHY_DATA0 PHY_DATA1 PHY_DATA2 PHY_DATA3 PHY_DATA4 PHY_DATA5 PHY_DATA6 PHY_DATA7 PHY_LREQ PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PRST REQ RI_OUT/PME RSVD RSVD SERR SPKROUT STOP SUSPEND TRDY VCC VCC VCC VCC VCC VCC VCC VCC TERM. NO. PDV 196 197 198 200 202 204 205 206 207 208 1 194 2 3 4 5 7 8 9 10 11 12 13 15 16 36 17 75 89 94 51 78 49 86 47 14 30 46 66 91 115 134 150 GHK B7 C7 F7 B6 C6 F6 B5 E6 C5 A4 D1 E8 E3 F5 G6 E2 F3 F2 G5 F1 H6 G3 G2 H5 H3 M3 H2 P9 P12 P13 R3 U10 R2 W12 R1 G1 L2 P3 W7 W13 M14 J18 F17 2-8 Table 2-3. CardBus PC Card Signal Names Sorted Alphabetically to GHK/PDV Terminal Number (Continued) TERM. NO. SIGNAL NAME VCC VCC VCC VCCCB VCCCB VCCD0 VCCD1 VCCI VCCL PDV 170 186 195 138 174 121 122 79 201 GHK A13 B9 A7 H19 A12 M18 M19 R10 E7 SIGNAL NAME VCCP VCCP VPPD0 VPPD1 ZV_HREF ZV_LRCLK ZV_MCLK ZV_PCLK ZV_SCLK TERM. NO. PDV 34 60 87 88 95 118 117 120 114 GHK M1 V6 V12 U12 W14 N19 N18 M17 P19 SIGNAL NAME ZV_SDATA ZV_UV(0) ZV_UV(1) ZV_UV(2) ZV_UV(3) ZV_UV(4) ZV_UV(5) ZV_UV(6) ZV_UV(7) TERM. NO. PDV 119 106 108 107 111 109 113 112 116 GHK M15 R17 N14 P15 P17 R18 N15 P18 N17 SIGNAL NAME ZV_VSYNC ZV_Y(0) ZV_Y(1) ZV_Y(2) ZV_Y(3) ZV_Y(4) ZV_Y(5) ZV_Y(6) ZV_Y(7) TERM. NO. PDV 96 97 98 99 101 102 103 104 105 GHK V14 R13 U14 W15 V15 R14 U15 W16 T19 2-9 Table 2-4. 16-Bit PC Card Signal Names Sorted Alphabetically to GHK/PDV Terminal Number TERM. NO. SIGNAL NAME AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7 AD8 AD9 AD10 AD11 AD12 AD13 AD14 AD15 AD16 AD17 AD18 AD19 AD20 AD21 AD22 AD23 AD24 AD25 AD26 AD27 AD28 AD29 AD30 AD31 ADDR0 ADDR1 ADDR2 ADDR3 ADDR4 ADDR5 ADDR6 ADDR7 ADDR8 ADDR9 PDV 73 72 71 70 69 68 67 65 63 62 61 59 57 56 55 54 42 41 40 39 35 33 32 31 27 26 25 24 23 21 20 19 177 176 175 172 169 168 166 163 147 145 GHK U9 V9 W9 W8 V8 U8 R8 V7 P8 W6 R7 U6 V5 P7 R6 U5 N6 N3 N2 N1 M2 L5 L6 L3 K5 K3 K2 K1 J6 J3 J2 J1 C11 B11 A11 C12 B13 C13 A14 C14 F19 G17 SIGNAL NAME ADDR10 ADDR11 ADDR12 ADDR13 ADDR14 ADDR15 ADDR16 ADDR17 ADDR18 ADDR19 ADDR20 ADDR21 ADDR22 ADDR23 ADDR24 ADDR25 BVD1 (STSCHG/RI) BVD2(SPKR) C/BE0 C/BE1 C/BE2 C/BE3 CD1 CD2 CE1 CE2 DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7 DATA8 DATA9 DATA10 DATA11 DATA12 DATA13 DATA14 DATA15 TERM. NO. PDV 137 143 160 149 152 158 156 146 148 151 153 155 157 159 161 164 183 182 64 53 43 28 123 185 136 139 187 189 191 124 127 129 131 133 188 190 192 125 128 130 132 135 GHK J15 G19 F13 G15 F14 C15 D19 G14 F18 E19 E18 E17 A16 E14 B15 B14 E10 C10 U7 W4 P1 K6 L19 A9 J14 H18 C9 E9 B8 L18 L14 K18 K15 J19 F9 A8 C8 L17 K19 K17 K14 J17 SIGNAL NAME DEVSEL FRAME GND GND GND GND GND GND GND GND GND GND GND GND GNT GRST IDSEL INPACK INTA INTB IRDY IORD IOWR LED_SKT LINKON LPS MFUNC0 MFUNC1 MFUNC2 MFUNC3 MFUNC4 MFUNC5 MFUNC6 OE PAR PCLK PERR PHY_CLK PHY_CTL(0) PHY_CTL(1) PHY_DATA0 PHY_DATA1 TERM. NO. PDV 48 44 6 22 38 58 74 100 110 126 142 162 178 203 18 82 29 171 92 93 45 141 144 90 199 193 76 77 80 81 83 84 85 140 52 37 50 196 197 198 200 202 GHK P6 P2 E1 J5 M5 W5 R9 P14 R19 L15 H15 A15 E11 A5 H1 V11 L1 E12 V13 U13 N5 H14 G18 R12 A6 F8 W10 V10 P10 W11 U11 P11 R11 H17 T1 M6 P5 B7 C7 F7 B6 C6 SIGNAL NAME PHY_DATA2 PHY_DATA3 PHY_DATA4 PHY_DATA5 PHY_DATA6 PHY_DATA7 PHY_LREQ PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PHY_RSVD PRST READY(IREQ) REG REQ RESET RI_OUT/PME RSVD RSVD SERR SPKROUT STOP SUSPEND TRDY VCC VCC VCC VCC VCC VCC VCC VCC VCC TERM. NO. PDV 204 205 206 207 208 1 194 2 3 4 5 7 8 9 10 11 12 13 15 16 36 180 173 17 167 75 89 94 51 78 49 86 47 14 30 46 66 91 115 134 150 170 GHK F6 B5 E6 C5 A4 D1 E8 E3 F5 G6 E2 F3 F2 G5 F1 H6 G3 G2 H5 H3 M3 A10 B12 H2 F12 P9 P12 P13 R3 U10 R2 W12 R1 G1 L2 P3 W7 W13 M14 J18 F17 A13 2-10 Table 2-4. 16-Bit PC Card Signal Names Sorted Alphabetically to GHK/PDV Terminal Number (Continued) TERM. NO. SIGNAL NAME VCC VCC VCCCB VCCCB VCCD0 VCCD1 VCCI VCCL VCCP VCCP PDV 186 195 138 174 121 122 79 201 34 60 GHK B9 A7 H19 A12 M18 M19 R10 E7 M1 V6 SIGNAL NAME VPPD0 VPPD1 VS1 VS2 WAIT WE WP(IOIS16) ZV_HREF ZV_LRCLK ZV_MCLK TERM. NO. PDV 87 88 179 165 181 154 184 95 118 117 GHK V12 U12 F11 E13 B10 F15 F10 W14 N19 N18 SIGNAL NAME ZV_PCLK ZV_SCLK ZV_SDATA ZV_UV(0) ZV_UV(1) ZV_UV(2) ZV_UV(3) ZV_UV(4) ZV_UV(5) ZV_UV(6) TERM. NO. PDV 120 114 119 106 108 107 111 109 113 112 GHK M17 P19 M15 R17 N14 P15 P17 R18 N15 P18 SIGNAL NAME ZV_UV(7) ZV_VSYNC ZV_Y(0) ZV_Y(1) ZV_Y(2) ZV_Y(3) ZV_Y(4) ZV_Y(5) ZV_Y(6) ZV_Y(7) TERM. NO. PDV 116 96 97 98 99 101 102 103 104 105 GHK N17 V14 R13 U14 W15 V15 R14 U15 W16 T19 2-11 The terminals are grouped in tables by functionality, such as PCI system function and power-supply function (see Table 2-5 through Table 2-17). The terminal numbers also are listed for convenient reference. Table 2-5. Power-Supply Terminals TERMINAL NUMBER NAME PDV 6, 22, 38, 58, 74, 100, 110, 126, 142, 162, 178, 203 14, 30, 46, 66, 91, 115, 134, 150, 170, 186, 195 138, 174 79 201 34, 60 GHK A5, A15, E1, E11, H15, J5, L15, M5, P14, R9, W5 A7, A13, B9, F17, G1, J18, L2, M14, P3, W7, W13 A12, H19 R10 E7 M1, V6 DESCRIPTION GND Device ground terminals VCC Power-supply terminal for core logic (3.3 V) VCCCB VCCI VCCL VCCP Clamp voltage for PC Card interface. Matches card signaling environment, 5 V or 3.3 V. Clamp voltage for miscellaneous I/O signals (MFUNC, GRST, and SUSPEND) Clamp voltage for 1394 link function Clamp voltage for PCI interface, ZV interface, SPKROUT, INTA, INTB LED_SKT, VCCD0, VCCD1, VPPD0, VPPD1 Table 2-6. PC Card Power-Switch Terminals TERMINAL NUMBER NAME VCCD0 VCCD1 VPPD0 VPPD1 PDV 121 122 87 88 GHK M18 M19 V12 U12 O O Logic controls to the TPS2211 PC Card power-switch interface to control AVCC Logic controls to the TPS2211 PC Card power-switch interface to control AVPP I/O DESCRIPTION Table 2-7. PCI System Terminals TERMINAL NAME NUMBER PDV GHK Global reset. When global reset is asserted, GRST causes the PCI4410A device to place all output buffers in a high-impedance state and reset all internal registers. When GRST is asserted, the device is completely in its default state. For systems that require wake-up from D3, GRST normally is asserted only during initial boot. PRST should be asserted following initial boot so that PME context is retained when transitioning from D3 to D0. For systems that do not require wake-up from D3, GRST should be tied to PRST. When the SUSPEND mode is enabled, the device is protected from GRST, and the internal registers are preserved. All outputs are placed in a high-impedance state, but the contents of the registers are preserved. PCLK 37 M6 I PCI bus clock. PCLK provides timing for all transactions on the PCI bus. All PCI signals are sampled at the rising edge of PCLK. PCI bus reset. When the PCI bus reset is asserted, PRST causes the PCI4410A device to place all output buffers in a high-impedance state and reset internal registers. When PRST is asserted, the device is completely nonfunctional. After PRST is deasserted, the PCI4410A device is in a default state. When SUSPEND and PRST are asserted, the device is protected from PRST clearing the internal registers. All outputs are placed in a high-impedance state, but the contents of the registers are preserved. I/O DESCRIPTION GRST 82 V11 I PRST 36 M3 I 2-12 Table 2-8. PCI Address and Data Terminals TERMINAL NUMBER NAME AD31 AD30 AD29 AD28 AD27 AD26 AD25 AD24 AD23 AD22 AD21 AD20 AD19 AD18 AD17 AD16 AD15 AD14 AD13 AD12 AD11 AD10 AD9 AD8 AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 C/BE3 C/BE2 C/BE1 C/BE0 PDV 19 20 21 23 24 25 26 27 31 32 33 35 39 40 41 42 54 55 56 57 59 61 62 63 65 67 68 69 70 71 72 73 28 43 53 64 GHK J1 J2 J3 J6 K1 K2 K3 K5 L3 L6 L5 M2 N1 N2 N3 N6 U5 R6 P7 V5 U6 R7 W6 P8 V7 R8 U8 V8 W8 W9 V9 U9 K6 P1 W4 U7 I/O DESCRIPTION I/O PCI address/data bus. These signals make up the multiplexed PCI address and data bus on the primary interface. During the address phase of a primary bus PCI cycle, AD31-AD0 contain a 32-bit address or other destination information. During the data phase, AD31-AD0 contain data. I/O PCI bus commands and byte enables. These signals are multiplexed on the same PCI terminals. During the address phase of a primary bus PCI cycle, C/BE3-C/BE0 define the bus command. During the data phase, this 4-bit bus is used as byte enables. The byte enables determine which byte paths of the full 32-bit data bus carry meaningful data. C/BE0 applies to byte 0 (AD7-AD0), C/BE1 applies to byte 1 (AD15-AD8), C/BE2 applies to byte 2 (AD23-AD16), and C/BE3 applies to byte 3 (AD31-AD24). PCI bus parity. In all PCI bus read and write cycles, the PCI4410A device calculates even parity across the AD31-AD0 and C/BE3-C/BE0 buses. As an initiator during PCI cycles, the PCI4410A device outputs this parity indicator with a one-PCLK delay. As a target during PCI cycles, the calculated parity is compared to the initiator's parity indicator. A compare error results in the assertion of a parity error (PERR). PAR 52 T1 I/O 2-13 Table 2-9. PCI Interface Control Terminals TERMINAL NUMBER NAME PDV 48 GHK P6 I/O PCI device select. The PCI4410A device asserts DEVSEL to claim a PCI cycle as the target device. As a PCI initiator on the bus, the PCI4410A device monitors DEVSEL until a target responds. If no target responds before timeout occurs, the PCI4410A device terminates the cycle with an initiator abort. PCI cycle frame. FRAME is driven by the initiator of a bus cycle. FRAME is asserted to indicate that a bus transaction is beginning, and data transfers continue while this signal is asserted. When FRAME is deasserted, the PCI bus transaction is in the final data phase. PCI bus grant. GNT is driven by the PCI bus arbiter to grant the PCI4410A device access to the PCI bus after the current data transaction has completed. GNT may or may not follow a PCI bus request, depending on the PCI bus parking algorithm. Initialization device select. IDSEL selects the PCI4410A device during configuration space accesses. IDSEL can be connected to one of the upper 24 PCI address lines on the PCI bus. PCI initiator ready. IRDY indicates the PCI bus initiator's ability to complete the current data phase of the transaction. A data phase is completed on a rising edge of PCLK, when both IRDY and TRDY are asserted. Until IRDY and TRDY are both sampled asserted, wait states are inserted. PCI parity error indicator. PERR is driven by a PCI device to indicate that calculated parity does not match PAR when PERR is enabled through bit 6 (PERR_EN) of the command register (PCI offset 04h, see Section 4.4). PCI bus request. REQ is asserted by the PCI4410A device to request access to the PCI bus as an initiator. PCI system error. SERR is an output that is pulsed from the PCI4410A device when enabled through bit 8 (SERR_EN) of the command register (PCI offset 04h, see Section 4.4) indicating a system error has occurred. The PCI4410A device need not be the target of the PCI cycle to assert this signal. When SERR is enabled in the command register, this signal also pulses, indicating that an address parity error has occurred on a CardBus interface. PCI cycle stop signal. STOP is driven by a PCI target to request the initiator to stop the current PCI bus transaction. STOP is used for target disconnects and is commonly asserted by target devices that do not support burst data transfers. PCI target ready. TRDY indicates the primary bus target's ability to complete the current data phase of the transaction. A data phase is completed on a rising edge of PCLK, when both IRDY and TRDY are asserted. Until both IRDY and TRDY are asserted, wait states are inserted. I/O DESCRIPTION DEVSEL FRAME 44 P2 I/O GNT 18 H1 I IDSEL 29 L1 I IRDY 45 N5 I/O PERR REQ 50 17 P5 H2 I/O O SERR 51 R3 O STOP 49 R2 I/O TRDY 47 R1 I/O 2-14 Table 2-10. Multifunction and Miscellaneous Terminals TERMINAL NUMBER NAME INTA INTB LED_SKT MFUNC0 PDV 92 93 90 76 GHK V13 U13 R12 W10 O O O I/O Parallel PCI interrupt. INTA Parallel PCI interrupt. INTB PC Card socket activity LED indicator. LED_SKT provides an output indicating PC Card socket activity. Multifunction terminal 0. MFUNC0 can be configured as parallel PCI interrupt INTA, GPI0, GPO0, socket activity LED output, ZV switching outputs, CardBus audio PWM, GPE, or a parallel IRQ. See Section 4.32, Multifunction Routing Register, for configuration details. Multifunction terminal 1. MFUNC1 can be configured as GPI1, GPO1, socket activity LED output, ZV switching outputs, CardBus audio PWM, GPE, or a parallel IRQ. See Section 4.32, Multifunction Routing Register, for configuration details. MFUNC1 77 V10 I/O Serial data (SDA). When VCCD0 and VCCD1 are high after a PCI reset, the MFUNC1 terminal provides the SDA signaling for the serial bus interface. The two-terminal serial interface loads the subsystem identification and other register defaults from an EEPROM after a PCI reset. See Section 3.6.1, Serial Bus Interface Implementation, for details on other serial bus applications. Multifunction terminal 2. MFUNC2 can be configured as PC/PCI DMA request, GPI2, GPO2, ZV switching outputs, CardBus audio PWM, GPE, RI_OUT, or a parallel IRQ. See Section 4.32, Multifunction Routing Register, for configuration details. Multifunction terminal 3. MFUNC3 can be configured as a parallel IRQ or the serialized interrupt signal IRQSER. See Section 4.32, Multifunction Routing Register, for configuration details. Multifunction terminal 4. MFUNC4 can be configured as PCI LOCK, GPI3, GPO3, socket activity LED output, ZV switching outputs, CardBus audio PWM, GPE, RI_OUT, or a parallel IRQ. See Section 4.32, Multifunction Routing Register, for configuration details. MFUNC4 83 U11 I/O Serial clock (SCL). When VCCD0 and VCCD1 are high after a PCI reset, the MFUNC4 terminal provides the SCL signaling for the serial bus interface. The two-terminal serial interface loads the subsystem identification and other register defaults from an EEPROM after a PCI reset. See Section 3.6.1, Serial Bus Interface Implementation, for details on other serial bus applications. Multifunction terminal 5. MFUNC5 can be configured as PC/PCI DMA grant, GPI4, GPO4, socket activity LED output, ZV switching outputs, CardBus audio PWM, GPE, or a parallel IRQ. See Section 4.32, Multifunction Routing Register, for configuration details. Multifunction terminal 6. MFUNC6 can be configured as a PCI CLKRUN or a parallel IRQ. See Section 4.32, Multifunction Routing Register, for configuration details. Ring indicate out and power-management event output. Terminal provides an output for ring-indicate or PME signals. Speaker output. SPKROUT is the output to the host system that can carry SPKR or CAUDIO through the PCI4410A device from the PC Card interface. SPKROUT is driven as the exclusive-OR combination of card SPKR//CAUDIO inputs. Suspend. SUSPEND protects the internal registers from clearing when the GRST or PRST signal is asserted. See Section 3.8.4, Suspend Mode, for details. I/O DESCRIPTION MFUNC2 80 P10 I/O MFUNC3 81 W11 I/O MFUNC5 84 P11 I/O MFUNC6 RI_OUT/PME 85 75 R11 P9 I/O O SPKROUT 78 U10 O SUSPEND 86 W12 I 2-15 Table 2-11. 16-Bit PC Card Address and Data Terminals TERMINAL NUMBER NAME ADDR25 ADDR24 ADDR23 ADDR22 ADDR21 ADDR20 ADDR19 ADDR18 ADDR17 ADDR16 ADDR15 ADDR14 ADDR13 ADDR12 ADDR11 ADDR10 ADDR9 ADDR8 ADDR7 ADDR6 ADDR5 ADDR4 ADDR3 ADDR2 ADDR1 ADDR0 DATA15 DATA14 DATA13 DATA12 DATA11 DATA10 DATA9 DATA8 DATA7 DATA6 DATA5 DATA4 DATA3 DATA2 DATA1 DATA0 PDV 164 161 159 157 155 153 151 148 146 156 158 152 149 160 143 137 145 147 163 166 168 169 172 175 176 177 135 132 130 128 125 192 190 188 133 131 129 127 124 191 189 187 GHK B14 B15 E14 A16 E17 E18 E19 F18 G14 D19 C15 F14 G15 F13 G19 J15 G17 F19 C14 A14 C13 B13 C12 A11 B11 C11 J17 K14 K17 K19 L17 C8 A8 F9 J19 K15 K18 L14 L18 B8 E9 C9 I/O DESCRIPTION O PC Card address. 16-bit PC Card address lines. ADDR25 is the most significant bit. I/O PC Card data. 16-bit PC Card data lines. DATA15 is the most significant bit. 2-16 Table 2-12. 16-Bit PC Card Interface Control Terminals TERMINAL NUMBER NAME PDV GHK Battery voltage detect 1. BVD1 is generated by 16-bit memory PC Cards that include batteries. BVD1 is used with BVD2 as an indication of the condition of the batteries on a memory PC Card. Both BVD1 and BVD2 are high when the battery is good. When BVD2 is low and BVD1 is high, the battery is weak and should be replaced. When BVD1 is low, the battery is no longer serviceable and the data in the memory PC Card is lost. See Section 5.6, ExCA Card Status-Change-Interrupt Configuration Register, for enable bits. See Section 5.5, ExCA Card Status-Change Register, and Section 5.2, ExCA Interface Status Register, for the status bits for this signal. Status change. STSCHG is used to alert the system to a change in the READY, write protect, or battery voltage dead condition of a 16-bit I/O PC Card. Ring indicate. RI is used by 16-bit modem cards to indicate a ring detection. Battery voltage detect 2. BVD2 is generated by 16-bit memory PC Cards that include batteries. BVD2 is used with BVD1 as an indication of the condition of the batteries on a memory PC Card. Both BVD1 and BVD2 are high when the battery is good. When BVD2 is low and BVD1 is high, the battery is weak and should be replaced. When BVD1 is low, the battery is no longer serviceable and the data in the memory PC Card is lost. See Section 5.6, ExCA Card Status-Change-Interrupt Configuration Register, for enable bits. See Section 5.5, ExCA Card Status-Change Register, and Section 5.2, ExCA Interface Status Register, for the status bits for this signal. Speaker. SPKR is an optional binary audio signal available only when the card and socket have been configured for the 16-bit I/O interface. The audio signals from cards A and B are combined by the PCI4410A device and are output on SPKROUT. DMA request. BVD2 can be used as the DMA request signal during DMA operations to a 16-bit PC Card that supports DMA. The PC Card asserts BVD2 to indicate a request for a DMA operation. CD1 CD2 CE1 CE2 123 185 136 139 L19 A9 J14 H18 I Card detect 1 and Card detect 2. CD1 and CD2 are connected internally to ground on the PC Card. When a PC Card is inserted into a socket, CD1 and CD2 are pulled low. For signal status, see Section 5.2, ExCA Interface Status Register. Card enable 1 and card enable 2. CE1 and CE2 enable even- and odd-numbered address bytes. CE1 enables even-numbered address bytes, and CE2 enables odd-numbered address bytes. Input acknowledge. INPACK is asserted by the PC Card when it can respond to an I/O read cycle at the current address. INPACK 171 E12 I DMA request. INPACK can be used as the DMA request signal during DMA operations from a 16-bit PC Card that supports DMA. If it is used as a strobe, the PC Card asserts this signal to indicate a request for a DMA operation. I/O read. IORD is asserted by the PCI4410A device to enable 16-bit I/O PC Card data output during host I/O read cycles. IORD 141 H14 O DMA write. IORD is used as the DMA write strobe during DMA operations from a 16-bit PC Card that supports DMA. The PCI4410A device asserts IORD during DMA transfers from the PC Card to host memory. I/O write. IOWR is driven low by the PCI4410A device to strobe write data into 16-bit I/O PC Cards during host I/O write cycles. IOWR 144 G18 O DMA read. IOWR is used as the DMA write strobe during DMA operations from a 16-bit PC Card that supports DMA. The PCI4410A device asserts IOWR during transfers from host memory to the PC Card. Output enable. OE is driven low by the PCI4410A device to enable 16-bit memory PC Card data output during host memory read cycles. DMA terminal count. OE is used as terminal count (TC) during DMA operations to a 16-bit PC Card that supports DMA. The PCI4410A device asserts OE to indicate TC for a DMA write operation. I/O DESCRIPTION BVD1 (STSCHG/RI) 183 E10 I BVD2 (SPKR) 182 C10 I O OE 140 H17 O 2-17 Table 2-12. 16-Bit PC Card Interface Control Terminals (Continued) TERMINAL NAME NUMBER PDV GHK Ready. The ready function is provided by READY when the 16-bit PC Card and the host socket are configured for the memory-only interface. READY is driven low by the 16-bit memory PC Cards to indicate that the memory card circuits are busy processing a previous write command. READY is driven high when the 16-bit memory PC Card is ready to accept a new data-transfer command. Interrupt request. IREQ is asserted by a 16-bit I/O PC Card to indicate to the host that a device on the 16-bit I /O PC Card requires service by the host software. IREQ is high (deasserted) when no interrupt is requested. Attribute memory select. REG remains high for all common memory accesses. When REG is asserted, access is limited to attribute memory (OE or WE active) and to the I/O space (IORD or IOWR active). Attribute memory is a separately accessed section of card memory and generally is used to record card capacity and other configuration and attribute information. DMA acknowledge. REG is used as a DMA acknowledge (DACK) during DMA operations to a 16-bit PC Card that supports DMA. The PCI4410A device asserts REG to indicate a DMA operation. REG is used in conjunction with the DMA read (IOWR) or DMA write (IORD) strobes to transfer data. RESET WAIT 167 181 F12 B10 O I PC Card reset. RESET forces a hard reset to a 16-bit PC Card. Bus cycle wait. WAIT is driven by a 16-bit PC Card to extend the completion of the memory or I/O cycle in progress. Write enable. WE is used to strobe memory write data into 16-bit memory PC Cards. WE also is used for memory PC Cards that employ programmable memory technologies. DMA terminal count. WE is used as TC during DMA operations to a 16-bit PC Card that supports DMA. The PCI4410A device asserts WE to indicate TC for a DMA read operation. Write protect. WP applies to 16-bit memory PC Cards. WP reflects the status of the write-protect switch on 16-bit memory PC Cards. For 16-bit I/O PC cards, WP is used for the 16-bit port (IOIS16) function. WP (IOIS16) 184 F10 I I/O is 16 bits. IOIS16 applies to 16-bit I/O PC Cards. IOIS16 is asserted by the 16-bit PC Card when the address on the bus corresponds to an address to which the 16-bit PC Card responds, and the I/O port that is addressed is capable of 16-bit accesses. DMA request. WP can be used as the DMA request signal during DMA operations to a 16-bit PC Card that supports DMA. If used, the PC Card asserts WP to indicate a request for a DMA operation. VS1 VS2 179 165 F11 E13 I/O Voltage sense 1 and voltage sense 2. VS1 and VS2, when used in conjunction with each other, determine the operating voltage of the PC Card. I/O DESCRIPTION READY (IREQ) 180 A10 I REG 173 B12 O WE 154 F15 O Table 2-13. CardBus PC Card Interface System Terminals TERMINAL NUMBER NAME PDV GHK CardBus clock. CCLK provides synchronous timing for all transactions on the CardBus interface. All signals except CRST, CCLKRUN, CINT, CSTSCHG, CAUDIO, CCD2, CCD1, CVS2, and CVS1 are sampled on the rising edge of CCLK, and all timing parameters are defined with the rising edge of this signal. CCLK operates at the PCI bus clock frequency, but it can be stopped in the low state or slowed down for power savings. CardBus clock run. CCLKRUN is used by a CardBus PC Card to request an increase in the CCLK frequency, and by the PCI4410A device to indicate that the CCLK frequency is going to be decreased. CardBus reset. CRST brings CardBus PC Card-specific registers, sequencers, and signals to a known state. When CRST is asserted, all CardBus PC Card signals are placed in a high-impedance state, and the PCI4410A device drives these signals to a valid logic level. Assertion can be asynchronous to CCLK, but deassertion must be synchronous to CCLK. I/O DESCRIPTION CCLK 156 D19 O CCLKRUN 184 F10 I/O CRST 167 F12 O 2-18 Table 2-14. CardBus PC Card Address and Data Terminals TERMINAL NUMBER NAME CAD31 CAD30 CAD29 CAD28 CAD27 CAD26 CAD25 CAD24 CAD23 CAD22 CAD21 CAD20 CAD19 CAD18 CAD17 CAD16 CAD15 CAD14 CAD13 CAD12 CAD11 CAD10 CAD9 CAD8 CAD7 CAD6 CAD5 CAD4 CAD3 CAD2 CAD1 CAD0 CC/BE3 CC/BE2 CC/BE1 CC/BE0 PDV 192 190 189 188 187 177 176 175 172 169 168 166 164 163 161 146 144 145 141 143 140 139 137 135 133 130 131 128 129 125 127 124 173 160 147 136 GHK C8 A8 E9 F9 C9 C11 B11 A11 C12 B13 C13 A14 B14 C14 B15 G14 G18 G17 H14 G19 H17 H18 J15 J17 J19 K17 K15 K19 K18 L17 L14 L18 B12 F13 F19 J14 I/O DESCRIPTION I/O CardBus address and data. These signals make up the multiplexed CardBus address and data bus on the CardBus interface. During the address phase of a CardBus cycle, CAD31-CAD0 contain a 32-bit address. During the data phase of a CardBus cycle, CAD31-CAD0 contain data. CAD31 is the most significant bit. I/O CardBus bus commands and byte enables. CC/BE3-CC/BE0 are multiplexed on the same CardBus terminals. During the address phase of a CardBus cycle, CC/BE3-CC/BE0 define the bus command. During the data phase, this 4-bit bus is used as byte enables. The byte enables determine which byte paths of the full 32-bit data bus carry meaningful data. CC/BE0 applies to byte 0 (CAD7-CAD0), CC/BE1 applies to byte 1 (CAD15-CAD8), CC/BE2 applies to byte 2 (CAD23-CAD16), and CC/BE3 applies to byte 3 (CAD31-CAD24). CardBus parity. In all CardBus read and write cycles, the PCI4410A device calculates even parity across the CAD and CC/BE buses. As an initiator during CardBus cycles, the PCI4410A device outputs CPAR with a one-CCLK delay. As a target during CardBus cycles, the calculated parity is compared to the initiator's parity indicator; a compare error results in a parity-error assertion. CPAR 149 G15 I/O 2-19 Table 2-15. CardBus PC Card Interface Control Terminals TERMINAL NUMBER NAME CAUDIO CBLOCK CCD1 CCD2 PDV 182 151 123 185 GHK C10 E19 L19 A9 I I/O I CardBus audio. CAUDIO is a digital input signal from a PC Card to the system speaker. The PCI4410A device supports the binary audio mode and outputs a binary signal from the card to SPKROUT. CardBus lock. CBLOCK is used to gain exclusive access to a target. CardBus detect 1 and CardBus detect 2. CCD1 and CCD2 are used in conjunction with CVS1 and CVS2 to identify card insertion and interrogate cards to determine the operating voltage and card type. CardBus device select. The PCI4410A device asserts CDEVSEL to claim a CardBus cycle as the target device. As a CardBus initiator on the bus, the PCI4410A device monitors CDEVSEL until a target responds. If no target responds before timeout occurs, the PCI4410A device terminates the cycle with an initiator abort. CardBus cycle frame. CFRAME is driven by the initiator of a CardBus bus cycle. CFRAME is asserted to indicate that a bus transaction is beginning, and data transfers continue while this signal is asserted. When CFRAME is deasserted, the CardBus bus transaction is in the final data phase. CardBus bus grant. CGNT is driven by the PCI4410A device to grant a CardBus PC Card access to the CardBus bus after the current data transaction has been completed. CardBus interrupt. CINT is asserted low by a CardBus PC Card to request interrupt servicing from the host. CardBus initiator ready. CIRDY indicates the CardBus initiator's ability to complete the current data phase of the transaction. A data phase is completed on a rising edge of CCLK when both CIRDY and CTRDY are asserted. Until both CIRDY and CTRDY are sampled asserted, wait states are inserted. CardBus parity error. CPERR reports parity errors during CardBus transactions, except during special cycles. It is driven low by a target two clocks following that data when a parity error is detected. CardBus request. CREQ indicates to the arbiter that the CardBus PC Card desires use of the CardBus bus as an initiator. CardBus system error. CSERR reports address parity errors and other system errors that could lead to catastrophic results. CSERR is driven by the card synchronous to CCLK, but deasserted by a weak pullup, and may take several CCLK periods. The PCI4410A device can report CSERR to the system by assertion of SERR on the PCI interface. CardBus stop. CSTOP is driven by a CardBus target to request the initiator to stop the current CardBus transaction. CSTOP is used for target disconnects, and is commonly asserted by target devices that do not support burst data transfers. CardBus status change. CSTSCHG alerts the system to a change in the card's status, and is used as a wake-up mechanism. CardBus target ready. CTRDY indicates the CardBus target's ability to complete the current data phase of the transaction. A data phase is completed on a rising edge of CCLK, when both CIRDY and CTRDY are asserted; until this time, wait states are inserted. CardBus voltage sense 1 and CardBus voltage sense 2. CVS1 and CVS2 are used in conjunction with CCD1 and CCD2 to identify card insertion and interrogate cards to determine the operating voltage and card type. I/O DESCRIPTION CDEVSEL 155 E17 I/O CFRAME 159 E14 I/O CGNT CINT 154 180 F15 A10 O I CIRDY 158 C15 I/O CPERR CREQ 152 171 F14 E12 I/O I CSERR 181 B10 I CSTOP 153 E18 I/O CSTSCHG 183 E10 I CTRDY 157 A16 I/O CVS1 CVS2 179 165 F11 E13 I/O 2-20 Table 2-16. IEEE 1394 PHY/Link Interface Terminals TERMINAL NUMBER NAME PHY_CTL1 PHY_CTL0 PHY_DATA7 PHY_DATA6 PHY_DATA5 PHY_DATA4 PHY_DATA3 PHY_DATA2 PHY_DATA1 PHY_DATA0 PHY_CLK PHY_LREQ LINKON LPS PDV 198 197 1 208 207 206 205 204 202 200 196 194 199 193 GHK F7 C7 D1 A4 C5 E6 B5 F6 C6 B6 B7 E8 A6 F8 I/O PHY-link interface control. These bidirectional signals control passage of information between the PHY and link. The link can drive these terminals only after the PHY has granted permission, following a link request (LREQ). I/O FUNCTION I/O PHY-link interface data. These bidirectional signals pass data between the PHY and link. These terminals are driven by the link on transmissions and are driven by the PHY on receptions. Only DATA1-DATA0 are valid for 100-Mbit speed. DATA4-DATA0 are valid for 200-Mbit speed and DATA7-DATA0 are valid for 400-Mbit speed. I O I O System clock. This input provides a 49.152-MHz clock signal for data synchronization. Link request. This signal is driven by the link to initiate a request for the PHY to perform some service. 1394 link on. This input from the PHY indicates that the link should turn on. Link power status. LPS indicates that link is powered and fully functional. Table 2-17. Zoomed-Video Interface Terminals TERMINAL NUMBER NAME ZV_HREF ZV_VSYNC ZV_Y7 ZV_Y6 ZV_Y5 ZV_Y4 ZV_Y3 ZV_Y2 ZV_Y1 ZV_Y0 ZV_UV7 ZV_UV6 ZV_UV5 ZV_UV4 ZV_UV3 ZV_UV2 ZV_UV1 ZV_UV0 ZV_SCLK ZV_MCLK ZV_PCLK ZV_LRCLK ZV_SDATA PDV 95 96 105 104 103 102 101 99 98 97 116 112 113 109 111 107 108 106 114 117 120 118 119 GHK W14 V14 T19 W16 U15 R14 V15 W15 U14 R13 N17 P18 N15 R18 P17 P15 N14 R17 P19 N18 M17 N19 M15 O O Horizontal sync to the zoomed-video port Vertical sync to the zoomed-video port I/O FUNCTION O Video data to the zoomed-video port in YUV:4:2:2 format O Video data to the zoomed-video port in YUV:4:2:2 format O O O O O Audio SCLK PCM Audio MCLK PCM Pixel clock to the zoomed-video port Audio LRCLK PCM Audio SDATA PCM 2-21 2-22 3 Feature/Protocol Descriptions The following sections give an overview of the PCI4410A device. Figure 3-1 shows connections to the PCI4410A device. The PCI interface includes all address/data and control signals for PCI protocol. The interrupt interface includes terminals for parallel PCI, parallel ISA, and serialized PCI and ISA signaling. Miscellaneous system interface terminals include multifunction terminals: SUSPEND, RI_OUT/PME (power-management control signal), and SPKROUT. North Bridge 1394 Ports CPU Memory PCI Bus OHCI-PHY Interface 14 1394 PHY Super I/O South Bridge VGA Controller PCI4410A PC Card Controller TPS2211 Power Switch 19 ISA Audio Codec 23 4 Zoomed Video PC Card Interface Figure 3-1. PCI4410A System Block Diagram 3.1 Power-Supply Sequencing The PCI4410A device contains 3.3-V I/O buffers with 5-V tolerance, requiring a core power supply and clamp voltages. The core power supply always is 3.3 V. The clamp voltages can be either 3.3 V or 5 V, depending on the interface. The following power-up and power-down sequences are recommended. The power-up sequence is: 1. Apply 3.3-V power to the core. 2. Assert GRST to the device to disable the outputs during power up. Output drivers must be powered up in the high-impedance state to prevent high current levels through the clamp diodes to the 5-V supply. 3. Apply the clamp voltage. The power-down sequence is: 1. Use GRST to switch outputs to a high-impedance state. 2. Remove the clamp voltage. 3. Remove the 3.3-V power from the core. 3.2 I/O Characteristics Figure 3-2 shows a 3-state bidirectional buffer. Section 10.2, Recommended Operating Conditions, provides the electrical characteristics of the inputs and outputs. NOTE: The PCI4410A device meets the ac specifications of the PC Card Standard and the PCI Local Bus Specification. 3-1 Tied for Open Drain OE VCCP Pad Figure 3-2. 3-State Bidirectional Buffer NOTE: Unused pins (input or I/O) must be held high or low to prevent them from floating. 3.3 Clamping Voltages The clamping voltages are set to match whatever external environment the PCI4410A device is interfaced with: 3.3 V or 5 V. The I/O sites can be pulled through a clamping diode to a voltage rail that protects the core from external signals. The core power supply always is 3.3 V and is independent of the clamping voltages. For example, PCI signaling can be either 3.3 V or 5 V, and the PCI4410A device must reliably accommodate both voltage levels. This is accomplished by using a 3.3-V I/O buffer that is 5-V tolerant, with the applicable clamping voltage applied. If a system designer desires a 5-V PCI bus, VCCP can be connected to a 5-V power supply. The PCI4410A device requires four separate clamping voltages because it supports a wide range of features. The four voltages are listed and defined in Section 10.2, Recommended Operating Conditions. 3.4 Peripheral Component Interconnect (PCI) Interface The PCI4410A device is fully compliant with the PCI Local Bus Specification. The PCI4410A device provides all required signals for PCI master or slave operation, and can operate in either a 5-V or 3.3-V signaling environment by connecting the VCCP terminals to the desired voltage level. In addition to the mandatory PCI signals, the PCI4410A device provides the optional interrupt signal INTA. 3.4.1 PCI Bus Lock (LOCK) The bus-locking protocol defined in the PCI Local Bus Specification is not highly recommended, but is provided on the PCI4410A device as an additional compatibility feature. The PCI LOCK signal can be routed to the MFUNC4 terminal via the multifunction routing register. See Section 4.32, Multifunction Routing Register, for details. Note that the use of LOCK is supported only by PCI-to-CardBus bridges in the downstream direction (away from the processor). PCI LOCK indicates an atomic operation that may require multiple transactions to complete. When LOCK is asserted, nonexclusive transactions can proceed to an address that currently is not locked. A grant to start a transaction on the PCI bus does not guarantee control of LOCK; control of LOCK is obtained under its own protocol. It is possible for different initiators to use the PCI bus while a single master retains ownership of LOCK. Note that the CardBus signal for this protocol is CBLOCK to avoid confusion with the bus clock. An agent may need to do an exclusive operation because a critical access to memory might be broken into several transactions, but the master wants exclusive rights to a region of memory. The granularity of the lock is defined by PCI to be 16 bytes, aligned. The LOCK protocol defined by the PCI Local Bus Specification allows a resource lock without interfering with nonexclusive real-time data transfer, such as video. The PCI bus arbiter may be designed to support only complete bus locks using the LOCK protocol. In this scenario, the arbiter will not grant the bus to any other agent (other than the LOCK master) while LOCK is asserted. A complete bus lock may have a significant impact on the performance of the video. The arbiter that supports complete bus lock must grant the bus to the cache to perform a writeback due to a snoop to a modified line when a locked operation is in progress. The PCI4410A device supports all LOCK protocol associated with PCI-to-PCI bridges, as also defined for PCI-to-CardBus bridges. This includes disabling write posting while a locked operation is in progress, which can solve 3-2 a potential deadlock when devices such as PCI-to-PCI bridges are used. The potential deadlock can occur if a CardBus target supports delayed transactions and blocks access to the target until it completes a delayed read. This target characteristic is prohibited by the PCI Local Bus Specification, and the issue is resolved by the PCI master using LOCK. 3.4.2 Loading Subsystem Identification The subsystem vendor ID register (PCI offset 40h, see Section 4.26) and subsystem ID register (PCI offset 42h, see Section 4.27) make up a doubleword of PCI configuration space located at offset 40h for functions 0 and 1. This doubleword register is used for system and option card (mobile dock) identification purposes and is required by some operating systems. Implementation of this unique identifier register is a PC 99 requirement. The PCI4410A device offers two mechanisms to load a read-only value into the subsystem registers. The first mechanism relies upon the system BIOS providing the subsystem ID value. The default access mode to the subsystem registers is read-only, but can be made read/write by setting bit 5 (SUBSYSRW) in the system control register (PCI offset 80h, see Section 4.29). When this bit is set, the BIOS can write a subsystem identification value into the registers at PCI offset 40h. The BIOS must clear the SUBSYSRW bit such that the subsystem vendor ID register and subsystem ID register are limited to read-only access. This approach saves the added cost of implementing the serial electrically erasable programmable ROM (EEPROM). In some conditions, such as in a docking environment, the subsystem vendor ID register and subsystem ID register must be loaded with a unique identifier via a serial EEPROM. The PCI4410A device loads the data from the serial EEPROM after a reset of the primary bus. Note that the SUSPEND input gates the PCI reset from the entire PCI4410A core, including the serial bus state machine (see Section 3.8.4, Suspend Mode, for details on using SUSPEND). The PCI4410A device provides a two-line serial bus host controller that can interface to a serial EEPROM. See Section 3.6, Serial Bus Interface, for details on the two-wire serial bus controller and applications. 3.5 PC Card Applications This section describes the PC Card interfaces of the PCI4410A device: * * * * * * * * Card insertion/removal and recognition P2C power-switch interface Zoomed-video support Speaker and audio applications LED socket activity indicators PC Card-16 DMA support PC Card controller programming model CardBus socket registers 3.5.1 PC Card Insertion/Removal and Recognition The PC Card Standard addresses the card-detection and recognition process through an interrogation procedure that the socket must initiate on card insertion into a cold, nonpowered socket. Through this interrogation, card voltage requirements and interface (16-bit versus CardBus) are determined. The scheme uses the card-detect and voltage-sense signals. The configuration of these four terminals identifies the card type and voltage requirements of the PC Card interface. The encoding scheme is defined in the PC Card Standard and in Table 3-1. 3-3 Table 3-1. PC Card Card-Detect and Voltage-Sense Connections CD2//CCD2 Ground Ground Ground Ground Ground Ground Connect to CVS2 Connect to CVS1 Ground Connect to CVS2 Ground Connect to CVS1 Ground Ground CD1//CCD1 Ground Ground Ground Ground Connect to CVS1 Ground Ground Ground Ground Ground Connect to CVS2 Ground Connect to CVS1 Connect to CVS2 VS2//CVS2 Open Open Ground Open Open Ground Connect to CCD2 Ground Ground Connect to CCD2 Connect to CCD1 Open Ground Connect to CCD1 VS1//CVS1 Open Ground Ground Ground Connect to CCD1 Ground Ground Connect to CCD2 Open Open Open Connect to CCD2 Connect to CCD1 Ground KEY 5V 5V 5V LV LV LV LV LV LV LV LV LV INTERFACE 16-bit PC Card 16-bit PC Card 16-bit PC Card 16-bit PC Card CardBus PC Card 16-bit PC Card CardBus PC Card CardBus PC Card 16-bit PC Card CardBus PC Card CardBus PC Card CardBus PC Card Reserved Reserved VOLTAGE 5V 5 V and 3.3 V 5 V, 3.3 V, and X.X V 3.3 V 3.3 V 3.3 V and X.X V 3.3 V and X.X V 3.3 V, X.X V, and Y.Y V Y.Y V Y.Y V X.X V and Y.Y V Y.Y V 3.5.2 P2C Power-Switch Interface (TPS2211) The PCI4410A device provides a P2C (PCMCIA peripheral control) interface for control of the PC Card power switch. The VCCD and VPPD terminals are used with the TI TPS2211 single-slot PC Card power-switch interface to provide power-switch support. Figure 3-3 shows terminal assignments for the TPS2211 power-switch interface. Figure 3-4 illustrates a typical application, where the PCI4410A device represents the PC Card controller. VCCD0 VCCD1 3.3 V 3.3 V 5V 5V GND OC 1 2 3 4 5 6 7 8 16 15 14 13 12 11 10 9 SHDN VPPD0 VPPD1 AVCC AVCC AVCC AVPP 12 V Figure 3-3. TPS2211 Terminal Assignments The PCI4410A device also includes support for the MaximTM 1602 and Micrel MIC2562A single-channel CardBus power switches. Application of these power switches is similar to that of the TPS2211 power-switch interface. 3-4 Power Supply 12 V 5V 3.3 V Supervisor 12 V 5V 3.3 V SHDN SHDN VCCD0 VCCD1 VPPD0 VPPD1 OC TPS2211 AVPP AVCC VPP1 VPP2 VCC VCC PC Card PCI4410A (PCMCIA Controller) Figure 3-4. TPS2211 Typical Application 3.5.3 Zoomed-Video Support The zoomed-video (ZV) port on the PCI4410A device provides an internally buffered 16-bit ZV PC Card data path. This internal routing is programmed through the card control register (PCI offset 91h, bits 5 and 6). Figure 3-5 summarizes the ZV subsystem implemented in the PCI4410A device, and details the bit functions found in the card control register. When ZV PORT_ENABLE is enabled, the ZV output terminals are enabled and allow the PCI4410A device to route the ZV data. However, no data is transmitted unless ZVENABLE (PCI offset 91h, bit 6) is enabled. If ZVENABLE is set to low, the ZV output port drives a logic 0 on the ZV bus of the PCI4410A device. 3-5 Card Output Enable Logic Zoomed-Video Subsystem ZV PORT_ENABLE PC Card Socket PC Card I/F Note: ZVSTAT must be enabled through the GPIO Control Register ZVSTAT 23 19 Video Signals VGA ZVENABLE Audio Codec 4 Audio Signals Figure 3-5. Zoomed-Video Subsystem 3.5.4 Ultra Zoomed Video Ultra zoomed video is an enhancement to the PCI4410A DMA engine and is intended to improve the 16-bit bandwidth for MPEG I and MPEG II decoder PC Cards. This enhancement allows the PCI4410A device to fetch 32 bits of data from memory, versus the PCI11XX/12XX 16-bit fetch capability. This enhancement allows a higher sustained throughput to the 16-bit PC Card because the PCI4410A device prefetches an extra 16 bits (32 bits total) during each PCI read transaction. If the PCI bus becomes busy, the PCI4410A device has an extra 16 bits of data to perform back-to-back 16-bit transactions to the PC Card before having to fetch more data. This feature is built into the DMA engine, and software is not required to enable this enhancement. NOTE: The PCI11XX and PCI12XX series CardBus controllers have enough 16-bit bandwidth to support MPEG II PC Card decoders. But, it was decided to improve the bandwidth even more in the PCI14XX series CardBus controllers. 3.5.5 D3_STAT Terminal Additional functionality for the PCI4410A device versus the PCI12xx series is the D3_STAT (D3 status) pin. This pin is asserted under the following two conditions (both conditions must be true before D3_STAT is asserted): * * Function 0 (PC Card controller) and function 1 (OHCI-Lynxt) are both in D3. PME is enabled for either function. 3.5.6 Internal Ring Oscillator The internal ring oscillator provides an internal clock source for the PCI4410A device so that neither the PCI clock nor an external clock is required for the PCI4410A device to power down a socket or interrogate a PC Card. This internal oscillator operates nominally at 16 kHz and can be enabled by setting bit 27 (P2CCLK) of the system control register (PCI offset 80h, see Section 4.29) to a 1. This function is disabled by default. 3-6 3.5.7 Integrated Pullup Resistors for PC Card Interface The PC Card Standard requires pullup resistors on various terminals to support both CardBus and 16-bit card configurations. Unlike the PCI1210 or PCI1211 device, which required external pullup resistors, the PCI4410A device has integrated all of these pullup resistors on the terminals shown in Table 3-2, except for the CCLKRUN/WP(IOIS16) pullup resistor. Table 3-2. Integrated Pullup Resistors TERMINAL NUMBER SIGNAL NAME ADDR14/CPERR ADDR15/CIRDY ADDR19/CBLOCK ADDR20/CSTOP ADDR21/CDEVSEL ADDR22/CTRDY BVD1(STSCHG)/CSTSCHG BVD2(SPKR)/CAUDIO CD1/CCD1 CD2/CCD2 INPACK/CREQ READY/CINT RESET/CRST VS1/CVS1 VS2/CVS2 WAIT/CSERR WP(IOIS16)/CLKRUN PDV 152 158 151 153 155 157 183 182 123 185 171 180 167 179 165 181 184 GHK F14 C15 E19 E18 E17 A16 E10 C10 L19 A9 E12 A10 F12 F11 E13 B10 F10 This terminal requires pullup, but the PCI4410A lacks an integrated pullup resistor. 3.5.8 SPKROUT and CAUDPWM Usage SPKROUT carries the digital audio signal from the PC Card to the system. When a 16-bit PC Card is configured for I/O mode, the BVD2 pin becomes SPKR. This terminal also is used in CardBus binary audio applications, and is referred to as CAUDIO. SPKR passes a TTL-level digital audio signal to the PCI4410A device. The CardBus CAUDIO signal also can pass a single-amplitude binary waveform. The binary audio signals from the PC Card socket is used in the PCI4410A device to produce SPKROUT. This output is enabled by bit 1 (SPKROUTEN) in the card control register (PCI offset 91h, see Section 4.34). Older controllers support CAUDIO in binary or PWM mode, but use the same terminal (SPKROUT). Some audio chips may not support both modes on one terminal and may have a separate terminal for binary and PWM. The PCI4410A implementation includes a signal for PWM, CAUDPWM, which can be routed to a MFUNC terminal. Bit 2 (AUD2MUX), located in the card control register, is programmed to route a CardBus CAUDIO PWM terminal to CAUDPWM. See Section 4.32, Multifunction Routing Register, for details on configuring the MFUNC terminals. Figure 3-6 illustrates a sample application using SPKROUT and CAUDPWM. 3-7 System Core Logic BINARY_SPKR SPKROUT Speaker Subsystem PCI4410A CAUDPWM PWM_SPKR Figure 3-6. Sample Application of SPKROUT and CAUDPWM 3.5.9 LED Socket Activity Indicators The socket activity LEDs indicate when a PC Card is being accessed. The LED_SKT signal can be routed to the multifunction terminals and also is provided on a dedicated pin (LED_SKT). When configured for LED output, this terminal outputs an active high signal to indicate socket activity. See Section 4.32, Multifunction Routing Register, for details on configuring the multifunction terminals. The LED signal is active high and is driven for 64-ms durations. When the LED is not being driven high, it is driven to a low state. Either of the two circuits shown in Figure 3-7 can be implemented to provide LED signaling. It is left for the board designer to implement the circuit that best fits the application. The LED activity signals are valid when a card is inserted, powered, and not in reset. For PC Card-16, the LED activity signal is pulsed when READY/IREQ is low. For CardBus cards, the LED activity signal is pulsed if CFRAME, CIRDY, or CREQ is active. Current Limiting R 500 PCI4410A LED ApplicationSpecific Delay PCI4410A Current Limiting R 500 LED Figure 3-7. Two Sample LED Circuits As indicated, the LED signals are driven for a period of 64 ms by a counter circuit. To avoid the possibility of the LED appearing to be stuck when the PCI clock is stopped, the LED signaling is cut off when the SUSPEND signal is asserted, when the PCI clock is to be stopped during the clock run protocol, or in the D2 or D1 power state. If any additional socket activity occurs during this counter cycle, the counter is reset and the LED signal remains driven. If socket activity is frequent (at least once every 64 ms), the LED signal remains driven. 3.5.10 PC Card-16 Distributed DMA Support The PCI4410A device supports a distributed DMA slave engine for 16-bit PC Card DMA support. The distributed DMA (DDMA) slave register set provides the programmability necessary for the slave DDMA engine. Table 3-3 provides the DDMA register configuration. 3-8 Two socket function-dependent PCI configuration header registers that are critical for DDMA are the socket DMA register 0 (PCI offset 94h, see Section 4.37) and the socket DMA register 1 (PCI offset 98h, see Section 4.38). Distributed DMA is enabled through socket DMA register 0, and the contents of this register configure the PC Card-16 terminal (SPKR, IOIS16, or INPACK), which is used for the DMA request signal, DREQ. The base address of the DDMA slave registers and the transfer size (bytes or words) are programmed through the socket DMA register 1. See the programming model and register descriptions in Section 4 for details. Table 3-3. Distributed DMA Registers TYPE R W R W R W R W Reserved N/A Mode Multichannel Mask Reserved Reserved Reserved N/A Request N/A Master clear Reserved Page REGISTER NAME Current address Base address Current count Base count Status Command Reserved 08h 0Ch 04h 00h DDMA BASE ADDRESS OFFSET The DDMA registers contain control and status information consistent with the 8237 DMA controller; however, the register locations are reordered and expanded in some cases. While the DDMA register definitions are identical to those in the 8237 DMA controller of the same name, some register bits defined in the 8237 DMA controller do not apply to distributed DMA in a PCI environment. In such cases, the PCI4410A device implements these obsolete register bits as read-only, nonfunctional bits. The reserved registers shown in Table 3-3 are implemented as read-only and return 0s when read. Write transactions to reserved registers have no effect. The DDMA transfer is prefaced by several configuration steps that are specific to the PC Card and must be completed after the PC Card is inserted and interrogated. These steps include setting the proper DREQ signal assignment, setting the data transfer width, and mapping and enabling the DDMA register set. As discussed above, this is done through socket DMA register 0 and socket DMA register 1. The DMA register set is then programmed similarly to an 8237 controller, and the PCI4410A device awaits a DREQ assertion from the PC Card requesting a DMA transfer. DMA writes transfer data from the PC Card-to-PCI memory addresses. The PCI4410A device accepts data 8 or 16 bits at a time, depending on the programmed data width, and then requests access to the PCI bus by asserting its REQ signal. Once the PCI bus is granted in an idle state, the PCI4410A device initiates a PCI memory write command to the current memory address and transfers the data in a single data phase. After terminating the PCI cycle, the PCI4410A device accepts the next byte(s) from the PC Card until the transfer count expires. DMA reads transfer data from PCI memory addresses to the PC Card application. Upon the assertion of DREQ, the PCI4410A device asserts REQ to acquire the PCI bus. Once the bus is granted in an idle state, the PCI4410A device initiates a PCI memory read operation to the current memory address and accepts 8 or 16 bits of data, depending on the programmed data width. After terminating the PCI cycle, the data is passed on to the PC Card. After terminating the PC Card cycle, the PCI4410A device requests access to the PCI bus again, until the transfer count has expired. The PCI4410A target interface acts normally during this procedure and accepts I/O reads and writes to the DDMA registers. While a DDMA transfer is in progress and the host resets the DMA channel, the PCI4410A device asserts TC and ends the PC Card cycle(s). TC is indicated in the DDMA status register (see Section 7.5). At the PC Card interface, the PCI4410A device supports demand mode transfers. The PCI4410A device asserts DACK during the transfer unless DREQ is deasserted before TC. TC is mapped to the OE PC Card terminal for DMA write operations and is mapped to the WE PC Card terminal for DMA read operations. The DACK signal is mapped to the PC Card REG signal in all transfers, and the DREQ terminal is routed to one of three options, which is programmed through socket DMA register 0. 3-9 3.5.11 PC Card-16 PC/PCI DMA Some chipsets provide a way for legacy I/O devices to do DMA transfers on the PCI bus. In the PC/PCI DMA protocol, the PCI4410A device acts as a PCI target device to certain DMA-related I/O addresses. The PCI4410A PCREQ and PCGNT signals are provided as a point-to-point connection to a chipset supporting PC/PCI DMA. The PCREQ and PCGNT signals may be routed to the MFUNC2 and MFUNC5 terminals, respectively. See Section 4.32, Multifunction Routing Register, for details on configuring the multifunction terminals. Under the PC/PCI protocol, a PCI DMA slave device (such as the PCI4410A device) requests a DMA transfer on a particular channel using a serialized protocol on PCREQ. The I/O DMA bus master arbitrates for the PCI bus and grants the channel through a serialized protocol on PCGNT when it is ready for the transfer. The I/O cycle and memory cycles are then presented on the PCI bus, which performs the DMA transfers similarly to legacy DMA master devices. PC/PCI DMA is enabled for each PC Card-16 slot by setting bit 19 (CDREQEN) in the respective system control register (PCI offset 80h, see Section 4.29). On power up, this bit is reset and the card PC/PCI DMA is disabled. Bit 3 (CDMA_EN) of the system control register is a global enable for PC/PCI DMA, and is set at power up and never cleared if the PC/PCI DMA mechanism is implemented. The desired DMA channel for each PC Card-16 slot must be configured through bits 18-16 (CDMACHAN field) in the system control register. The channels are configured as indicated in Table 3-4. Table 3-4. PC/PCI Channel Assignments SYSTEM CONTROL REGISTER BIT 18 0 0 0 0 1 1 1 1 BIT 17 0 0 1 1 0 0 1 1 BIT16 0 1 0 1 0 1 0 1 Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 Channel 5 Channel 6 Channel 7 DMA CHANNEL CHANNEL TRANSFER DATA WIDTH 8-bit DMA transfers 8-bit DMA transfers 8-bit DMA transfers 8-bit DMA transfers Not used 16-bit DMA transfers 16-bit DMA transfers 16-bit DMA transfers As in distributed DMA, the PC Card terminal mapped to DREQ must be configured through socket DMA register 0 (PCI offset 94h, see Section 4.37). The data transfer width is a function of channel number, and the DDMA slave registers are not used. When a DREQ is received from a PC Card and the channel has been granted, the PCI4410A device decodes the I/O addresses listed in Table 3-5 and performs actions dependent upon the address. Table 3-5. I/O Addresses Used for PC/PCI DMA DMA I/O ADDRESS 00h 04h C0h C4h DMA CYCLE TYPE Normal Normal TC Verify Verify TC TERMINAL COUNT 0 1 0 1 PCI CYCLE TYPE I/O read/write I/O read/write I/O read I/O read When the PC/PCI DMA is used as a PC Card-16 DMA mechanism, it may not provide the performance levels of DDMA; however, the design of a PCI target implementing PC/PCI DMA is considerably less complex. No bus master state machine is required to support PC/PCI DMA, because the DMA control is centralized in the chipset. This DMA scheme often is referred to as centralized DMA for this reason. 3.5.12 CardBus Socket Registers The PCI4410A device contains all registers for compatibility with the PC Card Standard. These registers exist as the CardBus socket registers and are listed in Table 3-6. 3-10 Table 3-6. CardBus Socket Registers REGISTER NAME Socket event Socket mask Socket present state Socket force event Socket control Reserved Reserved Reserved Socket power management OFFSET 00h 04h 08h 0Ch 10h 14h 18h 1Ch 20h 3.6 Serial Bus Interface The PCI4410A device provides a serial bus interface to load subsystem identification and select register defaults through a serial EEPROM and to provide a PC Card power switch interface alternative to P2C. See Section 3.5.2, P 2C Power-Switch Interface (TPS2211), for details. The PCI4410A serial bus interface is compatible with various I2C and SMBus components. 3.6.1 Serial Bus-Interface Implementation The PCI4410A device defaults to the serial bus interface are disabled. To enable the serial interface, a pullup resistor must be implemented on the VCCD0 and VCCD1 terminals and the appropriate pullup resistors must be implemented on the SDA and SCL signals, that is, the MFUNC1 and MFUNC4 terminals. The PCI4410A device implements a two-pin serial interface with one clock signal (SCL) and one data signal (SDA). When pullup resistors are provided on the VCCD0 and VCCD1 terminals, the SCL signal is mapped to the MFUNC4 terminal and the SDA signal is mapped to the MFUNC1 terminal. The PCI4410A device drives SCL at nearly 100 kHz during data transfers, which is the maximum specified frequency for standard-mode I2C. The serial EEPROM must be located at address A0h. Figure 3-8 illustrates an example application implementing the two-wire serial bus. VCC Serial EEPROM PCI4410A VCCD0 VCCD1 VCC SCL SDA MFUNC4 MFUNC1 Figure 3-8. Serial EEPROM Application Some serial device applications may include PC Card power switches, ZV source switches, card ejectors, or other devices that may enhance the user's PC Card experience. The serial EEPROM device and PC Card power switches are discussed in the sections that follow. 3.6.2 Serial Bus-Interface Protocol The SCL and SDA signals are bidirectional, open-drain signals and require pullup resistors as shown in Figure 3-8. The PCI4410A device supports up to 100 Kb/s data transfer rate and is compatible with standard-mode I2C using 7-bit addressing. All data transfers are initiated by the serial bus master. The beginning of a data transfer is indicated by a start condition, which is signaled when the SDA line transitions to a low state while SCL is in the high state, as illustrated 3-11 in Figure 3-9. The end of a requested data transfer is indicated by a stop condition, which is signaled by a low-to-high transition of SDA while SCL is in the high state, as shown in Figure 3-9. Data on SDA must remain stable during the high state of the SCL signal, because changes on the SDA signal during the high state of SCL are interpreted as control signals, that is, a start or a stop condition. SDA SCL Start Condition Stop Condition Data Line Stable, Data Valid Change of Data Allowed Figure 3-9. Serial Bus Start/Stop Conditions and Bit Transfers Data is transferred serially in 8-bit bytes. The number of bytes that can be transmitted during a data transfer is unlimited; however, each byte must be completed with an acknowledge bit. An acknowledge (ACK) is indicated by the receiver pulling the SDA signal low so that it remains low during the high state of the SCL signal. Figure 3-10 illustrates the acknowledge protocol. SCL From Master 1 2 3 7 8 9 SDA Output by Transmitter SDA Output by Receiver Figure 3-10. Serial Bus-Protocol Acknowledge The PCI4410A device is a serial bus master; all other devices connected to the serial bus external to the PCI4410A device are slave devices. As the bus master, the PCI4410A device drives the SCL clock at nearly 100 kHz during bus cycles and places SCL in a high-impedance state (zero frequency) during idle states. Typically, the PCI4410A device masters byte reads and byte writes under software control. Doubleword reads are performed by the serial EEPROM initialization circuitry upon a PCI reset, and may not be generated under software control. See Section 3.6.3, Serial Bus EEPROM Application, for details on how the PCI4410A device automatically loads the subsystem identification and other register defaults through a serial bus EEPROM. Figure 3-11 illustrates a byte write. The PCI4410A device issues a start condition and sends the 7-bit slave device address and the command bit 0. A 0 in the R/W command bit indicates that the data transfer is a write. The slave device acknowledges if it recognizes the address. The word address byte is then sent by the PCI4410A device and another slave acknowledgment is expected. The PCI4410A device then delivers the data byte, MSB first, and expects a final acknowledgment before issuing the stop condition. 3-12 Slave Address S b6 b5 b4 b3 b2 b1 b0 0 A Word Address b7 b6 b5 b4 b3 b2 b1 b0 Data Byte A b7 b6 b5 b4 b3 b2 b1 b0 A P R/W A = Slave acknowledgement S/P = Start/stop condition Figure 3-11. Serial Bus Protocol - Byte Write Figure 3-12 illustrates a byte read. The read protocol is very similar to the write protocol, except the R/W command bit must be set to 1 to indicate a read-data transfer. In addition, the PCI4410A master must acknowledge reception of the read bytes from the slave transmitter. The slave transmitter drives the SDA signal during read data transfers. The SCL signal remains driven by the PCI4410A master. Slave Address S b6 b5 b4 b3 b2 b1 b0 1 A Word Address b7 b6 b5 b4 b3 b2 b1 b0 A R/W Slave Address b6 b5 b4 b3 b2 b1 b0 A = Slave acknowledgement Data Byte A b7 b6 b5 b4 b3 b2 b1 b0 M P M = Master acknowledgement S/P = Start/stop condition Figure 3-12. Serial Bus Protocol - Byte Read Figure 3-13 illustrates EEPROM interface doubleword data-collection protocol. Slave Address S Start 1 0 1 0 0 0 0 0 R/W A Word Address b7 b6 b5 b4 b3 b2 b1 b0 A S 1 0 Slave Address 1 0 0 0 0 1 R/W A Restart Data Byte 3 M Data Byte 2 M Data Byte 1 M Data Byte 0 M P A = Slave acknowledgement M = Master acknowledgement S/P = Start/stop condition Figure 3-13. EEPROM Interface Doubleword Data Collection 3.6.3 Serial Bus EEPROM Application When the PCI bus is reset and the serial bus interface is detected, the PCI4410A device attempts to read the subsystem identification and other register defaults from a serial EEPROM. The registers and corresponding bits that may be loaded with defaults through the EEPROM are provided in Table 3-7. 3-13 Table 3-7. Registers and Bits Loadable Through Serial EEPROM OHCI REGISTERS LOADED OFFSET REFERENCE 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 PCI F4h PCI F0h PCI F0h PCI 24h PCI 24h PCI 24h PCI 24h PCI 28h PCI 28h PCI 28h PCI 28h REGISTER 3Eh 3Fh PCI 2Ch PCI 2Ch PCI 2Ch PCI 2Ch PCI F4h REGISTER NAME MIN_GNT and MAX_LAT (see Section 8.14) MIN_GNT and MAX_LAT (see Section 8.14) Subsystem identification (see Section 8.11) Subsystem identification (see Section 8.11) Subsystem identification (see Section 8.11) Subsystem identification (see Section 8.11) Link enhancement control (see Section 8.21) Mini-ROM address GUID high (see Section 9.10) GUID high (see Section 9.10) GUID high (see Section 9.10) GUID high (see Section 9.10) GUID low (see Section 9.11) GUID low (see Section 9.11) GUID low (see Section 9.11) GUID low (see Section 9.11) Checksum Link enhancement control (see Section 8.21) Miscellaneous configuration (see Section 8.20) Miscellaneous configuration (see Section 8.20) CARDBUS REGISTERS LOADED OFFSET REFERENCE 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 PCI 40h PCI 40h PCI 42h PCI 42h PCI 80h PCI 80h PCI 80h PCI 86h PCI 8Ch PCI 8Ch PCI 8Ch PCI 8Ch PCI 90h PCI 91h PCI 92h PCI 93h PCI A2h ExCA 00h REGISTER Flag byte Subsystem vendor ID (see Section 4.26) Subsystem vendor ID (see Section 4.26) Subsystem ID (see Section 4.27) Subsystem ID (see Section 4.27) System control (see Section 4.29) System control (see Section 4.29) System control (see Section 4.29) General control (see Section 4.31) Multifunction routing (see Section 4.32) Multifunction routing (see Section 4.32) Multifunction routing (see Section 4.32) Multifunction routing (see Section 4.32) Retry status (see Section 4.33) Card control (see Section 4.34) Device control (see Section 4.35) Diagnostic (see Section 4.36) Power management capabilities (see Section 4.41) ExCA Identification and revision (see Section 5.1) Byte 0 Byte 1 Byte 0 Byte 1 Byte 0 Byte 1, bits 7, 6 Byte 3, bits 7, 5, 3, 2, 0 Bits 3, 1, 0 Byte 0 Byte 1 Byte 2 Byte 3, bits 3-0 Bits 7, 6 Bit 7 Bits 6-0 Bits 7, 4-0 Bit 15 Bits 7-0 REGISTER NAME BITS LOADED FROM EEPROM Byte 1, bits 5, 4, 1, 0 Byte 0, bits 4, 2-0 Byte 1, bits 7, 5, 2 Byte 0 Byte 1 Byte 2 Byte 3 Byte 0 Byte 1 Byte 2 Byte 3 BITS LOADED FROM EEPROM Byte 0, bits 3-0 Byte 1, bits 3-0 Byte 0 Byte 1 Byte 2 Byte 3 Byte 0, bits 7, 2, 1 3-14 Figure 3-14 details the EEPROM data format. This format must be followed for the PCI4410A device to properly load initializations from a serial EEPROM. Slave Address = 1010 000 Reference(0) Byte 3 (0) Byte 2 (0) Byte 1 (0) Byte 0 (0) RSVD RSVD RSVD Reference(1) Word Address 00h Word Address 01h Word Address 02h Word Address 03h Word Address 04h Reference(n) Byte 3 (n) Byte 2 (n) Byte 1 (n) Byte 0 (n) RSVD RSVD Word Address 08h RSVD EOL Word Address 8 x (n) Word Address 8 x (n-1) Word Address 8 x (n-1) + 1 Word Address 8 x (n-1) + 2 Word Address 8 x (n-1) + 3 Word Address 8 x (n-1) + 4 Figure 3-14. EEPROM Data Format The byte at the EEPROM word address 00h must contain either a valid offset reference, as listed in Table 3-7, or an end-of-list (EOL) indicator. The EOL indicator has a byte value of FFh, and indicates the end of the data to load from the EEPROM. Only doubleword registers are loaded from the EEPROM, and all bit fields must be considered when the EEPROM is programmed. The serial EEPROM is addressed at slave address 101 0000b by the PCI4410A device. All hardware address bits for the EEPROM should be tied to the appropriate level to achieve this address. The serial EEPROM chip in the sample application circuit (see Figure 3-8) assumes the 1010b high address nibble. The lower three address bits are terminal inputs to the chip, and the sample application shows these terminal inputs tied to GND. When a valid offset reference is read, four bytes are read from the EEPROM, MSB first, as illustrated in Figure 3-13. The address autoincrements after every byte transfer according to the doubleword read protocol. Note that the word addresses align with the data format illustrated in Figure 3-14. The PCI4410A device continues to load data from the serial EEPROM until an end-of-list indicator is read. Three reserved bytes are stuffed to maintain 8-byte data structures. Note, the 8-byte data structure is important to provide correct addressing per the doubleword read format shown in Figure 3-13. In addition, the reference offsets must be loaded in the EEPROM in sequential order, that is, 01h, 02h, 03h, 04h. If the offsets are not sequential, the registers may be loaded incorrectly. 3.6.4 Accessing Serial Bus Devices Through Software The PCI4410A device provides a programming mechanism to control serial bus devices through software. The programming is accomplished through a doubleword of PCI configuration space at offset B0h. 3.7 Programmable Interrupt Subsystem Interrupts provide a way for I/O devices to let the microprocessor know that they require servicing. The dynamic nature of PC Cards and the abundance of PC Card I/O applications require substantial interrupt support from the PCI4410A device. The PCI4410A device provides several interrupt signaling schemes to accommodate the needs of a variety of platforms. The different mechanisms for dealing with interrupts in this device are based on various specifications and industry standards. The ExCA register set provides interrupt control for some 16-bit PC Card functions, and the CardBus socket register set provides interrupt control for the CardBus PC Card functions. The PCI4410A device is, therefore, backward compatible with existing interrupt control register definitions, and new registers have been defined where required. 3-15 The PCI4410A device detects PC Card interrupts and events at the PC Card interface and notifies the host controller, using one of several interrupt signaling protocols. To simplify the discussion of interrupts in the PCI4410A device, PC Card interrupts are classified as either card status change (CSC) or as functional interrupts. The method by which any type of PCI4410A interrupt is communicated to the host interrupt controller varies from system to system. The PCI4410A device offers system designers the choice of using parallel PCI interrupt signaling, parallel ISA-type IRQ interrupt signaling, or the IRQSER serialized ISA and/or PCI interrupt protocol. It is possible to use the parallel PCI interrupts in combination with either parallel IRQs or serialized IRQs, as detailed in the sections that follow. All interrupt signaling is provided through the seven multifunction terminals, MFUNC0-MFUNC6. In addition, PCI interrupts (INTA and INTB) are available on dedicated pins. 3.7.1 PC Card Functional and Card Status Change Interrupts PC Card functional interrupts are defined as requests from a PC Card application for interrupt service and are indicated by asserting specially defined signals on the PC Card interface. Functional interrupts are generated by 16-bit I/O PC Cards and by CardBus PC Cards. Card status change (CSC)-type interrupts are defined as events at the PC Card interface that are detected by the PCI4410A device, and may warrant notification of host card and socket services software for service. CSC events include both card insertion and removal from PC Card sockets, as well as transitions of certain PC Card signals. Table 3-8 summarizes the sources of PC Card interrupts and the type of card associated with them. CSC and functional interrupt sources are dependent on the type of card inserted in the PC Card socket. The three types of cards that can be inserted into any PC Card socket are: * * * 16-bit memory card 16-bit I/O card CardBus cards Table 3-8. Interrupt Mask and Flag Registers CARD TYPE 16 bit 16-bit memory EVENT Battery conditions (BVD1, BVD2) Wait states (READY) Change in card status (STSCHG) 16-bit 16 bit I/O Interrupt request (IREQ) Power cycle complete Change in card status (CSTSCHG) Interrupt request (CINT) Power cycle complete Card insertion or removal MASK ExCA offset 05h/805h bits 1 and 0 ExCA offset 05h/805h bit 2 ExCA offset 05h/805h bit 0 Always enabled ExCA offset 05h/805h bit 3 Socket mask bit 0 Always enabled Socket mask bit 3 Socket mask bits 2 and 1 FLAG ExCA offset 04h/804h bits 1 and 0 ExCA offset 04h/804h bit 2 ExCA offset 04h/804h bit 0 PCI configuration offset 91h bit 0 ExCA offset 04h/804h bit 3 Socket event bit 0 PCI configuration offset 91h bit 0 Socket event bit 3 Socket event bits 2 and 1 All 16-bit PC Cards CardBus Functional interrupt events are valid only for 16-bit I/O and CardBus cards; that is, the functional interrupts are not valid for 16-bit memory cards. Furthermore, card insertion and removal-type CSC interrupts are independent of the card type. Table 3-9 describes the PC Card interrupt events. 3-16 Table 3-9. PC Card Interrupt Events and Description CARD TYPE EVENT Battery conditions (BVD1, BVD2) Wait states (READY) Change in card status (STSCHG) 16 bit I/O 16-bit Interrupt request (IREQ) Change in card status (CSTSCHG) CardBus Interrupt request (CINT) Card insertion or removal Power cycle complete TYPE SIGNAL BVD1(STSCHG)//CSTSCHG CSC BVD2(SPKR)//CAUDIO CSC CSC Functional CSC Functional READY(IREQ)//CINT BVD1(STSCHG)//CSTSCHG READY(IREQ)//CINT BVD1(STSCHG)//CSTSCHG READY(IREQ)//CINT CD1//CCD1, CD2//CCD2 N/A DESCRIPTION A transition on BVD1 indicates a change in the PC Card battery conditions. A transition on BVD2 indicates a change in the PC Card battery conditions. A transition on READY indicates a change in the ability of the memory PC Card to accept or provide data. The assertion of STSCHG indicates a status change on the PC Card. The assertion of IREQ indicates an interrupt request from the PC Card. The assertion of CSTSCHG indicates a status change on the PC Card. The assertion of CINT indicates an interrupt request from the PC Card. A transition on either CD1//CCD1 or CD2//CCD2 indicates an insertion or removal of a 16-bit or CardBus PC Card. An interrupt is generated when a PC Card power-up cycle has completed. 16-bit memory CSC All PC Cards CSC The naming convention for PC Card signals describes the function for 16-bit memory, I/O cards, and CardBus. For example, READY(IREQ)//CINT includes READY for 16-bit memory cards, IREQ for 16-bit I/O cards, and CINT for CardBus cards. The 16-bit memory card signal name is first, with the I/O card signal name second, enclosed in parentheses. The CardBus signal name follows after a forward double slash (//). The PC Card Standard describes the power-up sequence that must be followed by the PCI4410A device when an insertion event occurs and the host requests that the socket VCC and VPP be powered. Upon completion of this power-up sequence, the PCI4410A interrupt scheme can be used to notify the host system (see Table 3-9), denoted by the power cycle complete event. This interrupt source is considered a PCI4410A internal event because it depends on the completion of applying power to the socket rather than on a signal change at the PC Card interface. 3.7.2 Interrupt Masks and Flags Host software may individually mask (or disable) most of the potential interrupt sources listed in Table 3-9 by setting the appropriate bits in the PCI4410A device. By individually masking the interrupt sources listed, software can control those events that cause a PCI4410A interrupt. Host software has some control over the system interrupt the PCI4410A device asserts by programming the appropriate routing registers. The PCI4410A device allows host software to route PC Card CSC and PC Card functional interrupts to separate system interrupts. Interrupt routing somewhat specific to the interrupt signaling method used is discussed in more detail in the following sections. When an interrupt is signaled by the PCI4410A device, the interrupt service routine must determine which of the events listed in Table 3-8 caused the interrupt. Internal registers in the PCI4410A device provide flags that report the source of an interrupt. By reading these status bits, the interrupt service routine can determine the action to be taken. Table 3-8 details the registers and bits associated with masking and reporting potential interrupts. All interrupts can be masked, except the functional PC Card interrupts, and an interrupt status flag is available for all types of interrupts. Notice that there is not a mask bit to stop the PCI4410A device from passing PC Card functional interrupts through to the appropriate interrupt scheme. These interrupts are not valid until the card is properly powered, and there never should be a card interrupt that does not require service after proper initialization. Table 3-8 lists the various methods of clearing the interrupt flag bits. The flag bits in the ExCA registers (16-bit PC Card-related interrupt flags) can be cleared using two different methods. One method is an explicit write of 1 to the flag bit to clear and the other is by reading the flag bit register. The selection of flag bit clearing is made by bit 2 (IFCMODE) in the ExCA global control register (see Section 5.22), located at ExCA offset 1Eh/5Eh/81Eh, and defaults to the flag cleared on read method. 3-17 The CardBus-related interrupt flags can be cleared by an explicit write of 1 to the interrupt flag in the socket event register (CardBus offset 00h, see Section 6.1). Although some of the functionality is shared between the CardBus registers and the ExCA registers, software should not program the chip through both register sets when a CardBus card is functioning. 3.7.3 Using Parallel IRQ Interrupts The seven multifunction terminals, MFUNC6-MFUNC0, implemented in the PCI4410A device may be routed to obtain a subset of the ISA IRQs. The IRQ choices provide ultimate flexibility in PC Card host interruptions. To use the parallel ISA type IRQ interrupt signaling, software must program the device control register (PCI offset 92h, see Section 4.35) to select the parallel IRQ signaling scheme. See Section 4.32, Multifunction Routing Register, for details on configuring the multifunction terminals. A system using parallel IRQs requires a minimum of one PCI terminal, INTA, to signal CSC events. This requirement is dictated by certain card and socket services software. The MFUNC pins provide (at a maximum) seven different IRQs to support legacy 16-bit PC Card functions. As an example, suppose the seven IRQs used by legacy PC Card applications are IRQ3, IRQ4, IRQ5, IRQ9, IRQ10, IRQ11, and IRQ15. The multifunction routing register must be programmed to a value of 0x0FBA5439. This routes the MFUNC terminals as illustrated in Figure 3-15. Not shown is that INTA also must be routed to the programmable interrupt controller (PIC), or to some circuitry that provides parallel PCI interrupts to the host. PCI4410A MFUNC0 MFUNC1 MFUNC2 MFUNC3 MFUNC4 MFUNC5 MFUNC6 PIC IRQ9 IRQ3 IRQ4 IRQ5 IRQ10 IRQ11 IRQ15 Figure 3-15. IRQ Implementation Power-on software is responsible for programming the multifunction routing register to reflect the IRQ configuration of a system implementing the PCI4410A device. See Section 4.32, Multifunction Routing Register, for details on configuring the multifunction terminals. The parallel ISA-type IRQ signaling from the MFUNC6-MFUNC0 terminals is compatible with those input directly into the 8259 PIC. The parallel IRQ option is provided for system designs that require legacy ISA IRQs. Design constraints may demand more MFUNC6-MFUNC0 IRQ terminals than the PCI4410A device makes available. 3.7.4 Using Parallel PCI Interrupts Parallel PCI interrupts are available in parallel PCI interrupt mode, parallel IRQ and parallel PCI interrupt mode, or serialized IRQ and parallel PCI interrupt mode. 3.7.5 Using Serialized IRQSER Interrupts The serialized interrupt protocol implemented in the PCI4410A device uses a single terminal to communicate all interrupt status information to the host controller. The protocol defines a serial packet consisting of a start cycle, multiple interrupt indication cycles, and a stop cycle. All data in the packet is synchronous with the PCI clock. The packet data describes 16 parallel ISA IRQ signals and the optional 4 PCI interrupts INTA, INTB, INTC, and INTD. For details on the IRQSER protocol, refer to the document Serialized IRQ Support for PCI Systems. 3-18 3.7.6 SMI Support in the PCI4410A Device The PCI4410A device provides a mechanism for interrupting the system when power changes have been made to the PC Card socket interfaces. The interrupt mechanism is designed to fit into a system maintenance interrupt (SMI) scheme. SMI interrupts are generated by the PCI4410A device, when enabled, after a write cycle to either the socket control register (CardBus offset 10h, see Section 6.5) of the CardBus register set or the ExCA power control register (ExCA offset 02h, see Section 5.3). The SMI control is programmed through three bits in the system control register (PCI offset 80h, see Section 4.29). These bits are SMIROUTE (bit 26), SMISTATUS (bit 25), and SMIENB (bit 24). Table 3-10 describes the SMI control bits function. Table 3-10. SMI Control BIT NAME SMIROUTE SMISTATUS SMIENB FUNCTION This shared bit controls whether the SMI interrupts are sent as a CSC interrupt or as IRQ2. This socket-dependent bit is set when an SMI interrupt is pending. This status flag is cleared by writing back a 1. When set, SMI interrupt generation is enabled. If CSC SMI interrupts are selected, the SMI interrupt is sent as the CSC. The CSC interrupt can be either level or edge mode, depending upon bit 1 (CSCMODE) in the ExCA global control register (ExCA offset 1Eh, see Section 5.22). If IRQ2 is selected by SMIROUTE, the IRQSER signaling protocol supports SMI signaling in the IRQ2 IRQ/Data slot. In a parallel ISA IRQ system, the support for an active low IRQ2 is provided only if IRQ2 is routed to MFUNC1, MFUNC3, or MFUNC6 through the multifunction routing register (PCI offset 8Ch, see Section 4.32). 3.8 Power-Management Overview In addition to the low-power CMOS technology process used for the PCI4410A device, various features are designed into the device to allow implementation of popular power-saving techniques. These features and techniques are discussed in this section. 3.8.1 Clock-Run Protocol The PCI CLKRUN feature is the primary method of power management on the PCI interface of the PCI4410A device. CLKRUN signaling is provided through the MFUNC6 terminal. Because some chipsets do not implement CLKRUN, this is not always available to the system designer, and alternative power-saving features are provided. For details on the CLKRUN protocol see the PCI Mobile Design Guide. The PCI4410A device does not permit the central resource to stop the PCI clock under any of the following conditions: * * * * * * * * * * * Bit 1 (KEEPCLK) in the system control register (PCI offset 80h, see Section 4.29) is set. The PC Card-16 resource manager is busy. The PCI4410A CardBus master state machine is busy. A cycle may be in progress on CardBus. The PCI4410A master is busy. There may be posted data from CardBus to PCI in the PCI4410A device. Interrupts are pending. The CardBus CCLK for either socket has not been stopped by the PCI4410A CCLKRUN manager. A PC Card-16 IREQ or a CardBus CINT has been asserted. A CardBus CBWAKE (CSTSCHG) or PC Card-16 STSCHG/RI event occurs. A CardBus attempts to start the CCLK using CCLKRUN. A CardBus card arbitrates for the CardBus bus using CREQ. A 16-bit DMA PC Card asserts DREQ. The PCI4410A device restarts the PCI clock using the CLKRUN protocol under any of the following conditions: 3.8.2 CardBus PC Card Power Management The PCI4410A device implements its own card power-management engine that can turn off the CCLK to a socket when there is no activity to the CardBus PC Card. The PCI clock-run protocol is followed on the CardBus CCLKRUN interface to control this clock management. 3-19 3.8.3 16-Bit PC Card Power Management Bit 7 (COE) in the ExCA power control register (ExCA offset 02h, see Section 5.3) and bit 0 (PWRDWN) in the ExCA global control register (ExCA offset 1Eh, Section 5.22) are provided for 16-bit PC Card power management. The COE bit places the card interface in a high-impedance state to save power. The power savings when using this feature are minimal. The COE bit will reset the PC Card when used, and the PWRDWN bit will not. Furthermore, the PWRDWN bit is an automatic COE; that is, the PWRDWN performs the COE function when there is no card activity. NOTE: The 16-bit PC Card must implement the proper pullup resistors for the COE and PWRDWN modes. 3.8.4 Suspend Mode The SUSPEND signal, provided for backward compatibility, gates the PRST (PCI reset) signal and the GRST (global reset) signal from the PCI4410A device. Besides gating PRST and GRST, SUSPEND also gates PCLK inside the PCI4410A device to minimize power consumption. Gating PCLK does not create any issues with respect to the power switch interface in the PCI4410A device. This is because the PCI4410A device does not depend on the PCI clock to clock the power-switch interface. There are two methods to clock the power-switch interface in the PCI4410A device: * * Use an external clock to the PCI4410A CLOCK terminal Use the internal oscillator It also should be noted that asynchronous signals, such as card status change interrupts and RI_OUT, can be passed to the host system without a PCI clock. However, if card status change interrupts are routed over the serial interrupt stream, the PCI clock must be restarted to pass the interrupt, because neither the internal oscillator nor an external clock is routed to the serial interrupt state machine. Figure 3-16 shows the suspend functional implementation diagram. xRST xRSTIN PCI4410A Core SUSPEND GNT PCLK SUSPENDIN PCLKIN Figure 3-16. Suspend Functional Implementation Figure 3-17 is a signal diagram of the suspend function. 3-20 xRST GNT SUSPEND PCLK External Terminals Internal Signals xRSTIN SUSPENDIN PCLKIN Figure 3-17. Signal Diagram of Suspend Function 3.8.5 Requirements for Suspend Mode The suspend mode prevents the clearing of all register contents on the assertion of reset (PRST or GRST) that would require the reconfiguration of the PCI4410A device by software. Asserting the SUSPEND signal places the controller's PCI outputs in a high-impedance state and gates the PCLK signal internally to the controller unless a PCI transaction currently is in process (GNT is asserted). It is important that the PCI bus not be parked on the PCI4410A device when SUSPEND is asserted, because the outputs are in a high-impedance state. The GPIOs, MFUNC signals, and RI_OUT signals are all active during SUSPEND, unless they are disabled in the appropriate PCI4410A registers. 3.8.6 Ring Indicate The RI_OUT output is an important feature in power management, allowing a system to go into a suspended mode and wake up on modem rings and other card events. TI-designed flexibility permits this signal to fit wide platform requirements. RI_OUT on the PCI4410A device can be asserted under any of the following conditions: * * * A 16-bit PC Card modem in a powered socket asserts RI to indicate to the system the presence of an incoming call. A powered-down CardBus card asserts CSTSCHG (CBWAKE), requesting system and interface wake-up. A powered CardBus card asserts CSTSCHG from the insertion/removal of cards or change in battery voltage levels. Figure 3-18 shows various enable bits for the PCI4410A RI_OUT function; however, it does not show the masking of CSC events. See Table 3-8 for a detailed description of CSC interrupt masks and flags. 3-21 RI_OUT Function CSTSMASK PC Card Socket Card I/F RIENB RINGEN RI_OUT CDRESUME Figure 3-18. RI_OUT Functional Diagram RI from the 16-bit PC Card interface is masked by bit 7 (RINGEN) in the ExCA interrupt and general control register (ExCA offset 03h, see Section 5.4). This is programmed on a per-socket basis and is applicable only when a 16-bit card is powered in the socket. The CBWAKE, signaling to RI_OUT, is enabled through the same mask as the CSC event for CSTSCHG. The mask bit (bit 0, CSTSMASK) is programmed through the socket mask register (CardBus offset 04h, see Section 6.2) in the CardBus socket registers. 3.8.7 PCI Power Management The PCI Bus Power Management Interface Specification for PCI to CardBus Bridges establishes the infrastructure required for the operating system to control the power of PCI functions. This is done by defining a standard PCI interface and operations to manage the power of PCI functions on the bus. The PCI bus and the PCI functions can be assigned one of four software-visible power-management states that result in varying levels of power savings. The four power-management states of PCI functions are: * * * D0 - Fully-on state D1 and D2 - Intermediate states D3 - Off state Similarly, bus power states of the PCI bus are B0-B3. The bus power states B0-B3 are derived from the device power state of the originating bridge device. For the operating system (OS) to manage the device power states on the PCI bus, the PCI function must support four power-management operations. These operations are: * * * * Capabilities reporting Power status reporting Setting the power state System wake-up The OS identifies the capabilities of the PCI function by traversing the new capabilities list. The presence of capabilities, in addition to the standard PCI capabilities, is indicated by a 1 in bit 4 (CAPLIST) of the status register (PCI offset 06h, see Section 4.5). The capabilities pointer provides access to the first item in the linked list of capabilities. For the PCI4410A device, a CardBus bridge with PCI configuration space header type 2, the capabilities pointer is mapped to an offset of 14h. The first byte of each capability register block is required to be a unique ID of that capability. PCI power management has been assigned an ID of 01h. The next byte is a pointer to the next pointer item in the list of capabilities. If there are no more items in the list, the next item pointer should be set to 0. The registers following the next item pointer are specific to the function's capability. The PCI power-management capability implements the register block outlined in Table 3-11. 3-22 Table 3-11. Power-Management Registers REGISTER NAME Power management capabilities Data PMCSR bridge support extensions Next item pointer Capability ID Power management control/status (CSR) OFFSET A0h A4h The power management capabilities register (PCI offset A2h, see Section 4.41) is a static read-only register that provides information on the capabilities of the function related to power management. The power management control/status register (PCI offset A4h, see Section 4.42) enables control of power management states and enables/monitors power management events. The data register is an optional register that can provide dynamic data. For more information on PCI power management, see the PCI Bus Power Management Interface Specification for PCI to CardBus Bridges. 3.8.8 CardBus Bridge Power Management The PCI Bus Power Management Interface Specification for PCI to CardBus Bridges was approved by PCMCIA in December of 1997. This specification follows the device and bus state definitions provided in the PCI Bus Power Management Interface Specification published by the PCI Special Interest Group (SIG). The main issue addressed in the PCI Bus Power Management Interface Specification for PCI to CardBus Bridges is wake up from D3hot or D3cold without losing wake-up context (also called PME context). The specific issues addressed by the PCI Bus Power Management Interface Specification for PCI to CardBus Bridges for D3 wake up are as follows: * Preservation of device context: The specification states that a reset must occur when transitioning from D3 to D0. Some method to preserve wake-up context must be implemented so that the reset does not clear the PME context registers. Power source in D3cold if wake-up support is required from this state. * * The Texas Instruments PCI4410A device addresses these D3 wake-up issues in the following manner: Two resets are provided to handle preservation of PME context bits: - Global reset (GRST) is used only on the initial boot up of the system after power up. It places the PCI4410A device in its default state and requires BIOS to configure the device before becoming fully functional. PCI reset (PRST) now has dual functionality based on whether PME is enabled or not. If PME is enabled, PME context is preserved. If PME is not enabled, PRST acts the same as a normal PCI reset. Please see the master list of PME context bits in Section 3.8.10. - * Power source in D3cold if wake-up support is required from this state. Because VCC is removed in D3cold, an auxiliary power source must be supplied to the PCI4410A VCC pins. Consult the PCI14xx Implementation Guide for D3 Wake-Up or the PCI Power Management Interface Specification for PCI to CardBus Bridges for further information. 3.8.9 ACPI Support The Advanced Configuration and Power Interface (ACPI) Specification provides a mechanism that allows unique pieces of hardware to be described to the ACPI driver. The PCI4410A device offers a generic interface that is compliant with ACPI design rules. Two doublewords of general-purpose ACPI programming bits reside in PCI4410A PCI configuration space at offset A8h. The programming model is broken into status and control functions. In compliance with ACPI, the top-level event status and enable bits reside in the general-purpose event status (PCI offset A8h, see Section 4.45) and general-purpose event enable (PCI offset AAh, see Section 4.46) registers. 3-23 The status and enable bits generate an event that allows the ACPI driver to call a control method associated with the pending status bit. The control method can then control the hardware by manipulating the hardware control bits or by investigating child status bits and calling their respective control methods. A hierarchical implementation would be somewhat limiting, however, as upstream devices would have to remain in some level of power state to report events. For more information on ACPI, see the Advanced Configuration and Power Interface (ACPI) Specification. 3.8.10 Master List of PME Context Bits and Global Reset-Only Bits If the PME enable bit (PCI offset A4h, bit 8) is asserted, the assertion of PRST will not clear the following PME context bits. If the PME enable bit is not asserted, the PME context bits are cleared with PRST. The PME context bits are: * * * * * * * * * Bridge control register (PCI offset 3Eh): bit 6 Power management control/status register (PCI offset A4h): bits 15, 8 ExCA power control register (ExCA offset 802h): bits 4, 3, 1, 0 ExCA interrupt and general control (ExCA offset 803h): bits 6, 5 ExCA card status change interrupt register (ExCA offset 805h): bits 3-0 CardBus socket event register (CardBus offset 00h): bits 3-0 CardBus socket mask register (CardBus offset 04h): bits 3-0 CardBus socket present state register (CardBus offset 08h): bits 13-10, 7, 5-0 CardBus socket control register (CardBus offset 10h): bits 6-4, 2-0 Global reset places all registers in their default state regardless of the state of the PME enable bit. The GRST signal is gated only by the SUSPEND signal. This means that assertion of SUSPEND blocks the GRST signal internally, thus preserving all register contents. The registers cleared by GRST are: * * * * * * * * * * * * * * * * * * * * * * Subsystem ID/subsystem vendor ID (PCI offset 40h): bits 31-0 PC Card 16-bit legacy mode base address register (PCI offset 44h): bits 31-1 System control register (PCI offset 80h): bits 31-24, 22-14, 6-3, 1, 0 General status register (PCI offset 85h): bits 2-0 General control register (PCI offset 86h): bits 3, 1, 0 Multifunction routing register (PCI offset 8Ch): bits 27-0 Retry status register (PCI offset 90h): bits 7, 6, 3, 1 Card control register (PCI offset 91h): bits 7-5, 2-0 Device control register (PCI offset 92h): bits 7-0 Diagnostic register (PCI offset 93h): bits 7-0 Socket DMA register 0 (PCI offset 94h): bits 1-0 Socket DMA register 1 (PCI offset 98h): bits 15-4, 2-0 Power management capabilities register (PCI offset A2h): bit 15 General-purpose event enable register (PCI offset AAh): bits 15, 11, 8, 4-0 General-purpose output register (PCI offset AEh): bits 4-0 PCI miscellaneous configuration register (OHCI function, PCI offset F0h): bits 15, 13, 10, 2-0 Link enhancements register (OHCI function, PCI offset F4h): bits 13, 12, 9-7, 2, 1 GPIO control register (OHCI function, PCI offset FCh): bits 29, 28, 24, 21, 20, 16, 15, 13, 12, 8, 7, 5, 4, 0 Global unique ID low/high (OHCI function, PCI offset 24h-28h): bits 31-0 ExCA identification and revision register (ExCA offset 00h): bits 7-0 ExCA card status change register (ExCA offset 804h): bits 3-0 ExCA global control register (ExCA offset 1Eh): bits 3-0 3-24 4 PC Card Controller Programming Model This section describes the PCI4410A PCI configuration registers that make up the 256-byte PCI configuration header for each PCI4410A function. As noted, some bits are global in nature and are accessed only through function 0. 4.1 PCI Configuration Registers (Functions 0 and 1) The PCI4410A device is a multifunction PCI device, and the PC Card controller is integrated as PCI functions 0 and 1. The configuration header is compliant with the PCI Local Bus Specification as a CardBus bridge header and is PC 99 compliant as well. Table 4-1 shows the PCI configuration header, which includes both the predefined portion of the configuration space and the user-definable registers. Table 4-1. PCI Configuration Registers (Functions 0 and 1) REGISTER NAME Device ID Status PCI class code BIST Secondary status CardBus latency timer Subordinate bus number Header type Latency timer Reserved CardBus bus number CardBus memory base register 0 CardBus memory limit register 0 CardBus memory base register 1 CardBus memory limit register 1 CardBus I/O base register 0 CardBus I/O limit register 0 CardBus I/O base register 1 CardBus I/O limit register 1 Bridge control Subsystem ID Reserved System control Reserved General control Reserved Multifunction routing Diagnostic Device control Card control Retry status Socket DMA register 0 Socket DMA register 1 Reserved Power management capabilities Power management data Power management control/status register bridge support extensions Next-item pointer Capability ID General status Reserved Interrupt pin PC Card 16-bit I/F legacy-mode base address Interrupt line Subsystem vendor ID CardBus socket/ExCA base address Capability pointer PCI bus number Vendor ID Command Revision ID Cache line size OFFSET 00h 04h 08h 0Ch 10h 14h 18h 1Ch 20h 24h 28h 2Ch 30h 34h 38h 3Ch 40h 44h 48h-7Ch 80h 84h 88h-8Bh 8Ch 90h 94h 98h 9Ch A0h A4h A8h ACh B0h-FCh Power management control/status General-purpose event status General-purpose input General-purpose event enable General-purpose output Reserved 4-1 A bit description table, typically included when a register contains bits of more than one type or purpose, indicates bit field names, a detailed field description, and field access tags, which appear in the type column of the bit-description table. Table 4-2 describes the field access tags. Table 4-2. Bit-Field Access Tag Descriptions ACCESS TAG R W S C U NAME Read Write Set Clear Field can be read by software. Field can be written by software to any value. Field can be set by a write of 1. Writes of 0 have no effect. Field can be cleared by a write of 1. Writes of 0 have no effect. MEANING Update Field can be autonomously updated by the PCI4410A device. A bit can display either of two types of behavior when read. After having been read, it can maintain the value it had previously, or the read process can cause it to be reset to 0. 4.2 Vendor ID Register This 16-bit register contains a value allocated by the PCI SIG (special interest group) and identifies the manufacturer of the PCI device. The vendor ID assigned to TI is 104Ch. Bit Name Type Default R 0 R 0 R 0 R 1 R 0 R 0 R 0 15 14 13 12 11 10 9 8 R 0 7 R 0 6 R 1 5 R 0 4 R 0 3 R 1 2 R 1 1 R 0 0 R 0 Vendor ID Register: Type: Offset: Default: Vendor ID Read-only 00h 104Ch 4.3 Device ID Register This 16-bit register contains a value assigned to the PCI4410A device by TI. The device identification for the PCI4410A device is AC41h. Bit Name Type Default R 1 R 0 R 1 R 0 R 1 R 1 R 0 15 14 13 12 11 10 9 8 R 0 7 R 0 6 R 1 5 R 0 4 R 0 3 R 0 2 R 0 1 R 0 0 R 1 Device ID Register: Type: Offset: Default: Device ID Read-only 02h AC41h 4-2 4.4 Command Register The command register provides control over the PCI4410A interface to the PCI bus. All bit functions adhere to the definitions in PCI Local Bus Specification. See Table 4-3 for the complete description of the register contents. Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 14 13 12 11 10 9 8 R/W 0 7 R 0 6 R/W 0 5 R/W 0 4 R 0 3 R 0 2 R/W 0 1 R/W 0 0 R/W 0 Command Register: Type: Offset: Default: BIT 15-10 9 SIGNAL RSVD FBB_EN Command Read-only, Read/Write 04h 0000h Table 4-3. Command Register Description TYPE R R Reserved. Bits 15-10 return 0s when read. Fast back-to-back enable. The PCI4410A device does not generate fast back-to-back transactions; therefore, bit 9 returns 0 when read. System error (SERR) enable. Bit 8 controls the enable for the SERR driver on the PCI interface. SERR can be asserted after detecting an address parity error on the PCI bus. Both bits 8 and 6 must be set for the PCI4410A device to report address parity errors. 0 = Disable SERR output driver (default) 1 = Enable SERR output driver Address/data stepping control. The PCI4410A device does not support address/data stepping; therefore, bit 7 is hardwired to 0. Parity-error response enable. Bit 6 controls the PCI4410A device's response to parity errors through PERR. Data parity errors are indicated by asserting PERR; address parity errors are indicated by asserting SERR. 0 = PCI4410A device ignores detected parity error (default). 1 = PCI4410A device responds to detected parity errors. VGA palette snoop. When bit 5 is set to 1, palette snooping is enabled (that is, the PCI4410A device does not respond to palette register writes and snoops the data). When bit 5 is 0, the PCI4410A device treats all palette accesses like all other accesses. Memory write and invalidate enable. Bit 4 controls whether a PCI initiator device can generate memory write-and-Invalidate commands. The PCI4410A controller does not support memory write and invalidate commands. It uses memory write commands instead; therefore, this bit is hardwired to 0. Special cycles. Bit 3 controls whether or not a PCI device ignores PCI special cycles. The PCI4410A device does not respond to special cycle operations; therefore, this bit is hardwired to 0. Bus-master control. Bit 2 controls whether or not the PCI4410A device can act as a PCI bus initiator (master). The PCI4410A device can take control of the PCI bus only when this bit is set. 0 = Disables the PCI4410A device's ability to generate PCI bus accesses (default). 1 = Enables the PCI4410A device's ability to generate PCI bus accesses. Memory space enable. Bit 1 controls whether or not the PCI4410A device can claim cycles in PCI memory space. 0 = Disables the PCI4410A device's response to memory space accesses (default). 1 = Enables the PCI4410A device's response to memory space accesses. I/O space control. Bit 0 controls whether or not the PCI4410A device can claim cycles in PCI I/O space. 0 = Disables the PCI4410A device's response to I/O space accesses (default). 1 = Enables the PCI4410A device's response to I/O space accesses. FUNCTION 8 SERR_EN R/W 7 STEP_EN R 6 PERR_EN R/W 5 VGA_EN R/W 4 MWI_EN R 3 SPECIAL R 2 MAST_EN R/W 1 MEM_EN R/W 0 IO_EN R/W 4-3 4.5 Status Register The status register provides device information to the host system. Bits in this register can be read normally. A bit in the status register is reset when a 1 is written to that bit location; a 0 written to a bit location has no effect. All bit functions adhere to the definitions in the PCI Local Bus Specification. PCI bus status is shown through each function. See Table 4-4 for the complete description of the register contents. Bit Name Type Default R/C 0 R/C 0 R/C 0 R/C 0 R/C 0 R 0 R 1 0 15 14 13 12 11 10 9 8 Status R/C R 0 R 0 R 0 R 1 R 0 R 0 R 0 R 0 7 6 5 4 3 2 1 0 Register: Type: Offset: Default: BIT 15 14 13 12 11 10-9 SIGNAL PAR_ERR SYS_ERR MABORT TABT_REC TABT_SIG PCI_SPEED Status Read-only, Read/Clear 06h 0210h Table 4-4. Status Register Description TYPE R/C R/C R/C R/C R/C R FUNCTION Detected parity error. Bit 15 is set when a parity error is detected (either address or data). Signaled system error. Bit 14 is set when SERR is enabled and the PCI4410A device signals a system error to the host. Received master abort. Bit 13 is set when a cycle initiated by the PCI4410A device on the PCI bus is terminated by a master abort. Received target abort. Bit 12 is set when a cycle initiated by the PCI4410A device on the PCI bus is terminated by a target abort. Signaled target abort. Bit 11 is set by the PCI4410A device when it terminates a transaction on the PCI bus with a target abort. DEVSEL timing. These bits encode the timing of DEVSEL and are hardwired 01b, indicating that the PCI4410A device asserts PCI_SPEED at a medium speed on nonconfiguration cycle accesses. Data parity error detected. 0 = The conditions for setting bit 8 have not been met. 1 = A data parity error occurred, and the following conditions were met: a. PERR was asserted by any PCI device, including the PCI4410A device. b. The PCI4410A device was the bus master during the data parity error. c. Bit 6 (PERR_EN) in the command register (PCI offset 04h, see Section 4.4) is set. Fast back-to-back capable. The PCI4410A device cannot accept fast back-to-back transactions; therefore, bit 7 is hardwired to 0. User-definable feature support. The PCI4410A device does not support the user-definable features; therefore, bit 6 is hardwired to 0. 66-MHz capable. The PCI4410A device operates at a maximum PCLK frequency of 33 MHz; therefore, bit 5 is hardwired to 0. Capabilities list. Bit 4 returns 1 when read. This bit indicates that capabilities, in addition to standard PCI capabilities, are implemented. The linked list of PCI power management capabilities is implemented in this function. Reserved. Bits 3-0 return 0s when read. 8 DATAPAR R/C 7 6 5 FBB_CAP UDF 66MHZ R R R 4 3-0 CAPLIST RSVD R R 4-4 4.6 Revision ID Register The revision ID register indicates the silicon revision of the PCI4410A device. Bit Name Type Default R 0 R 0 R 0 R 0 7 6 5 4 Revision ID R 0 R 0 R 1 R 0 3 2 1 0 Register: Type: Offset: Default: Revision ID Read-only 08h 02h 4.7 PCI Class Code Register The class code register recognizes the PCI4410A device as a bridge device (06h) and CardBus bridge device (07h) with a 00h programming interface. Bit Name Base class Type Default R 0 R 0 R 0 R 0 R 0 R 1 R 1 R 0 R 0 R 0 R 0 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PCI class code Subclass R 0 R 0 R 1 R 1 R 1 R 0 R 0 Programming interface R 0 R 0 R 0 R 0 R 0 R 0 Register: Type: Offset: Default: PCI class code Read-only 09h 06 0700h 4.8 Cache Line Size Register The cache line size register is programmed by host software to indicate the system cache line size. Bit Name Type Default R/W 0 R/W 0 R/W 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 Cache line size Register: Type: Offset: Default: Cache line size Read/Write 0Ch 00h 4-5 4.9 Latency Timer Register The latency timer register specifies the latency timer for the PCI4410A device in units of PCI clock cycles. When the PCI4410A device is a PCI bus initiator and asserts FRAME, the latency timer begins counting from zero. If the latency timer expires before the PCI4410A transaction has terminated, the PCI4410A device terminates the transaction when its GNT is deasserted. Bit Name Type Default R/W 0 R/W 0 R/W 0 0 7 6 5 4 Latency timer R/W R/W 0 R/W 0 R/W 0 R/W 0 3 2 1 0 Register: Type: Offset: Default: Latency timer Read/Write 0Dh 00h 4.10 Header Type Register This register returns 82h when read, indicating that the PCI4410A configuration spaces adhere to the CardBus bridge PCI header. The CardBus bridge PCI header ranges from PCI register 0 to 7Fh, and 80h-FFh are user-definable extension registers. Bit Name Type Default R 1 R 0 R 0 R 0 7 6 5 4 Header type R 0 R 0 R 1 R 0 3 2 1 0 Register: Type: Offset: Default: Header type Read-only 0Eh 82h 4.11 BIST Register Because the PCI4410A device does not support a built-in self-test (BIST), this register returns the value of 00h when read. Bit Name Type Default R 0 R 0 R 0 R 0 7 6 5 4 BIST R 0 R 0 R 0 R 0 3 2 1 0 Register: Type: Offset: Default: BIST Read-only 0Fh 00h 4-6 4.12 CardBus Socket/ExCA Base Address Register The CardBus socket/ExCA base-address register is programmed with a base address referencing the CardBus socket registers and the memory-mapped ExCA register set. Bits 31-12 are read/write and allow the base address to be located anywhere in the 32-bit PCI memory address space on a 4-Kbyte boundary. Bits 11-0 are read-only, returning 0s when read. When software writes all 1s to this register, the value read back is FFFF F000h, indicating that at least 4 Kbytes of memory address space are required. The CardBus registers start at offset 000h, and the memory-mapped ExCA registers begin at offset 800h. Bit Name Type Default Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R 0 R 0 R/W 0 15 R/W 0 14 R/W 0 13 R/W 0 12 R/W 0 11 0 10 31 30 29 28 27 26 R/W 25 R/W 0 9 R 0 24 R/W 0 8 R 0 23 R/W 0 7 R 0 22 R/W 0 6 R 0 21 R/W 0 5 R 0 20 R/W 0 4 R 0 19 R/W 0 3 R 0 18 R/W 0 2 R 0 17 R/W 0 1 R 0 16 R/W 0 0 R 0 CardBus socket/ExCA base-address CardBus socket/ExCA base-address Register: Type: Offset: Default: CardBus socket/ExCA base-address Read-only, Read/Write 10h 0000 0000h 4.13 Capability Pointer Register The capability pointer register provides a pointer into the PCI configuration header where the PCI power-management register block resides. PCI header doublewords at A0h and A4h provide the power-management (PM) registers. The socket has its own capability pointer register. This register returns A0h when read. Bit Name Type Default R 1 R 0 R 1 7 6 5 4 R 0 3 R 0 2 R 0 1 R 0 0 R 0 Capability pointer Register: Type: Offset: Default: Capability pointer Read-only 14h A0h 4-7 4.14 Secondary Status Register The secondary status register is compatible with the PCI-to-PCI bridge secondary status register and indicates CardBus-related device information to the host system. This register is very similar to the status register (PCI offset 06h); status bits are cleared by writing a 1. See Table 4-5 for a complete description of the register contents. Bit Name Type Default R/C 0 R/C 0 R/C 0 R/C 0 R/C 0 R 0 R 1 15 14 13 12 11 10 9 8 R/C 0 7 R 0 6 R 0 5 R 0 4 R 0 3 R 0 2 R 0 1 R 0 0 R 0 Secondary status Register: Type: Offset: Default: BIT 15 14 13 12 11 10-9 SIGNAL CBPARITY CBSERR CBMABORT REC_CBTA SIG_CBTA CB_SPEED Secondary status Read-only, Read/Clear 16h 0200h Table 4-5. Secondary Status Register Description TYPE R/C R/C R/C R/C R/C R FUNCTION Detected parity error. Bit 15 is set when a CardBus parity error is detected (either address or data). Signaled system error. Bit 14 is set when CSERR is signaled by a CardBus card. The PCI4410A device does not assert CSERR. Received master abort. Bit 13 is set when a cycle initiated by the PCI4410A device on the CardBus bus is terminated by a master abort. Received target abort. Bit 12 is set when a cycle initiated by the PCI4410A device on the CardBus bus is terminated by a target abort. Signaled target abort. Bit 11 is set by the PCI4410A device when it terminates a transaction on the CardBus bus with a target abort. CDEVSEL timing. These bits encode the timing of CDEVSEL and are hardwired 01b, indicating that the PCI4410A device asserts CB_SPEED at a medium speed. CardBus data parity error detected. 0 = The conditions for setting bit 8 have not been met. 1 = A data parity error occurred and the following conditions were met: a. CPERR was asserted on the CardBus interface. b. The PCI4410A device was the bus master during the data parity error. c. Bit 0 (CPERREN) in the bridge control register (PCI offset 3Eh, see Section 4.25) is set. Fast back-to-back capable. The PCI4410A device cannot accept fast back-to-back transactions; therefore, bit 7 is hardwired to 0. User-definable feature support. The PCI4410A device does not support the user-definable features; therefore, bit 6 is hardwired to 0. 66-MHz capable. The PCI4410A CardBus interface operates at a maximum CCLK frequency of 33 MHz; therefore, bit 5 is hardwired to 0. Reserved. Bits 4-0 return 0s when read. 8 CB_DPAR R/C 7 6 5 4-0 CBFBB_CAP CB_UDF CB66MHZ RSVD R R R R 4-8 4.15 PCI Bus Number Register This register is programmed by the host system to indicate the bus number of the PCI bus to which the PCI4410A device is connected. The PCI4410A device uses this register in conjunction with the CardBus bus number (PCI offset 19h, see Section 4.16) and subordinate bus number (PCI offset 1Ah, see Section 4.17) registers to determine when to forward PCI configuration cycles to its secondary buses. Bit Name Type Default R/W 0 R/W 0 R/W 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 PCI bus number Register: Type: Offset: Default: PCI bus number Read/Write 18h 00h 4.16 CardBus Bus Number Register This register is programmed by the host system to indicate the bus number of the CardBus bus to which the PCI4410A device is connected. The PCI4410A device uses this register in conjunction with the PCI bus number (PCI offset 18h, see Section 4.15) and subordinate bus number (PCI offset 1Ah, see Section 4.17) registers to determine when to forward PCI configuration cycles to its secondary buses. Bit Name Type Default R/W 0 R/W 0 R/W 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 CardBus bus number Register: Type: Offset: Default: CardBus bus number Read/Write 19h 00h 4.17 Subordinate Bus Number Register This register is programmed by the host system to indicate the highest-numbered bus below the CardBus bus. The PCI4410A device uses this register in conjunction with the PCI bus number (PCI offset 18h, see Section 4.15) and CardBus bus number (PCI offset 19h, see Section 4.16) registers to determine when to forward PCI configuration cycles to its secondary buses. Bit Name Type Default R/W 0 R/W 0 R/W 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 Subordinate bus number Register: Type: Offset: Default: Subordinate bus number Read/Write 1Ah 00h 4-9 4.18 CardBus Latency Timer Register This register is programmed by the host system to specify the latency timer for the PCI4410A CardBus interface in units of CCLK cycles. When the PCI4410A device is a CardBus initiator and asserts CFRAME, the CardBus latency timer begins counting. If the latency timer expires before the PCI4410A transaction has terminated, the PCI4410A device terminates the transaction at the end of the next data phase. A recommended minimum value for this register is 20h, which allows most transactions to be completed. Bit Name Type Default R/W 0 R/W 0 R/W 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 CardBus latency timer Register: Type: Offset: Default: CardBus latency timer Read/Write 1Bh 00h 4.19 Memory Base Registers 0, 1 The memory base registers indicate the lower address of a PCI memory address range. These registers are used by the PCI4410A device to determine when to forward a memory transaction to the CardBus bus and when to forward a CardBus cycle to PCI. Bits 31-12 of these registers are read/write and allow the memory base to be located anywhere in the 32-bit PCI memory space on 4-Kbyte boundaries. Bits 11-0 are read-only and always return 0s. Write transactions to these bits have no effect. Bits 8 and 9 of the bridge control register (PCI offset 3Eh, see Section 4.25) specify whether memory windows 0 and 1 are prefetchable or nonprefetchable. The memory base register or the memory limit register must be nonzero for the PCI4410A device to claim any memory transactions through CardBus memory windows (that is, these windows are not enabled by default to pass the first 4 Kbytes of memory to CardBus). Bit Name Type Default Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R 0 R 0 R/W 0 15 R/W 0 14 R/W 0 13 R/W 0 12 R/W 0 11 R/W 0 10 31 30 29 28 27 26 25 R/W 0 9 R 0 24 R/W 0 8 R 0 23 R/W 0 7 R 0 22 R/W 0 6 R 0 21 R/W 0 5 R 0 20 R/W 0 4 R 0 19 R/W 0 3 R 0 18 R/W 0 2 R 0 17 R/W 0 1 R 0 16 R/W 0 0 R 0 Memory base registers 0, 1 Memory base registers 0, 1 Register: Type: Offset: Default: Memory base registers 0, 1 Read-only, Read/Write 1Ch, 24h 0000 0000h 4-10 4.20 Memory Limit Registers 0, 1 The memory limit registers indicate the upper address of a PCI memory address range. These registers are used by the PCI4410A device to determine when to forward a memory transaction to the CardBus bus and when to forward a CardBus cycle to PCI. Bits 31-12 of these registers are read/write and allow the memory base to be located anywhere in the 32-bit PCI memory space on 4-Kbyte boundaries. Bits 11-0 are read-only and always return 0s. Write transactions to these bits have no effect. Bits 8 and 9 of the bridge control register (PCI offset 3Eh, see Section 4.25) specify whether memory windows 0 and 1 are prefetchable or nonprefetchable. The memory base register or the memory limit register must be nonzero for the PCI4410A device to claim any memory transactions through CardBus memory windows (that is, these windows are not enabled by default to pass the first 4 Kbytes of memory to CardBus). Bit Name Type Default Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R 0 R 0 R/W 0 15 R/W 0 14 R/W 0 13 R/W 0 12 R/W 0 11 R/W 0 10 31 30 29 28 27 26 25 R/W 0 9 R 0 24 R/W 0 8 R 0 23 R/W 0 7 R 0 22 R/W 0 6 R 0 21 R/W 0 5 R 0 20 R/W 0 4 R 0 19 R/W 0 3 R 0 18 R/W 0 2 R 0 17 R/W 0 1 R 0 16 R/W 0 0 R 0 Memory limit registers 0, 1 Memory limit registers 0, 1 Register: Type: Offset: Default: Memory limit registers 0, 1 Read-only, Read/Write 20h, 28h 0000 0000h 4.21 I/O Base Registers 0, 1 The I/O base registers indicate the lower address of a PCI I/O address range. These registers are used by the PCI4410A device to determine when to forward an I/O transaction to the CardBus bus and when to forward a CardBus cycle to the PCI bus. The lower 16 bits of this register locate the bottom of the I/O window within a 64-Kbyte page, and the upper 16 bits (31-16) are a page register that locates this 64-Kbyte page in 32-bit PCI I/O address space. Bits 31-2 are read/write. Bits 1 and 0 are read-only and always return 0s, forcing I/O windows to be aligned on a natural doubleword boundary. NOTE: Either the I/O base or the I/O limit register must be nonzero to enable any I/O transactions. Bit Name Type Default Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 0 R/W 0 15 R/W 0 14 R/W 0 13 R/W 0 12 R/W 0 11 R/W 0 10 0 9 R/W 31 30 29 28 27 26 25 R/W 24 R/W 0 8 R/W 0 23 R/W 0 7 R/W 0 22 R/W 0 6 R/W 0 21 R/W 0 5 R/W 0 20 R/W 0 4 R/W 0 19 R/W 0 3 R/W 0 18 R/W 0 2 R/W 0 17 R/W 0 1 R 0 16 R/W 0 0 R 0 I/O base registers 0, 1 I/O base registers 0, 1 Register: Type: Offset: Default: I/O base registers 0, 1 Read-only, Read/Write 2Ch, 34h 0000 0000h 4-11 4.22 I/O Limit Registers 0, 1 The I/O limit registers indicate the upper address of a PCI I/O address range. These registers are used by the PCI4410A device to determine when to forward an I/O transaction to the CardBus bus and when to forward a CardBus cycle to PCI. The lower 16 bits of this register locate the top of the I/O window within a 64-Kbyte page, and the upper 16 bits are a page register that locates this 64-Kbyte page in 32-bit PCI I/O address space. Bits 15-2 are read/write and allow the I/O limit address to be located anywhere in the 64-Kbyte page (indicated by bits 31-16 of the appropriate I/O base register) on doubleword boundaries. Bits 31-16 are read-only and always return 0s when read. The page is set in the I/O base register. Bits 1 and 0 are read-only and always return 0s, forcing I/O windows to be aligned on a natural doubleword boundary. Write transactions to read-only bits have no effect. The PCI4410A device assumes that the lower 2 bits of the limit address are 1s. NOTE: The I/O base or the I/O limit register must be nonzero to enable an I/O transaction. Bit Name Type Default Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 R 0 9 R/W 31 30 29 28 27 26 25 24 R 0 8 R/W 0 23 R 0 7 R/W 0 22 R 0 6 R/W 0 21 R 0 5 R/W 0 20 R 0 4 R/W 0 19 R 0 3 R/W 0 18 R 0 2 R/W 0 17 R 0 1 R 0 16 R 0 0 R 0 I/O limit registers 0, 1 I/O limit registers 0, 1 Register: Type: Offset: Default: I/O limit registers 0, 1 Read-only, Read/Write 30h, 38h 0000 0000h 4.23 Interrupt Line Register The interrupt line register communicates interrupt line routing information. Bit Name Type Default R/W 1 R/W 1 R/W 1 1 7 6 5 4 Interrupt line R/W R/W 1 R/W 1 R/W 1 R/W 1 3 2 1 0 Register: Type: Offset: Default: Interrupt line Read/Write 3Ch FFh 4-12 4.24 Interrupt Pin Register The value read from the interrupt pin register is function dependent and depends on the interrupt signaling mode, selected through bits 2-1 (INTMODE field) of the device control register (PCI offset 92h, see Section 4.35). The PCI4410A device defaults to serialized PCI and ISA interrupt mode. Bit Name Type Default R 0 R 0 R 0 R 0 7 6 5 4 Interrupt pin R 0 R 0 R 0 R 1 3 2 1 0 Register: Type: Offset: Default: Interrupt pin Read-only 3Dh 01h 4-13 4.25 Bridge Control Register The bridge control register provides control over various PCI4410A bridging functions. See Table 4-6 for a complete description of the register contents. Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R/W 0 R/W 1 15 14 13 12 11 10 9 8 R/W 1 7 R/W 0 6 R/W 1 5 R/W 0 4 R 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 Bridge control Register: Type: Offset: Default: Bridge control Read-only, Read/Write 3Eh 0340h Table 4-6. Bridge Control Register Description BIT 15-11 10 SIGNAL RSVD POSTEN TYPE R R/W Reserved. Bits 15-11 return 0s when read. FUNCTION Write posting enable. Enables write posting to and from the CardBus sockets. Write posting enables posting of write data on burst cycles. Operating with write posting disabled inhibits performance on burst cycles. Note that bursted write data can be posted, but various write transactions cannot. Memory window 1 type. Bit 9 specifies whether or not memory window 1 is prefetchable. This bit is socket dependent. Bit 9 is encoded as: 0 = Memory window 1 is nonprefetchable. 1 = Memory window 1 is prefetchable (default). Memory window 0 type. Bit 8 specifies whether or not memory window 0 is prefetchable. This bit is encoded as: 0 = Memory window 0 is nonprefetchable. 1 = Memory window 0 is prefetchable (default). PCI interrupt - IREQ routing enable. Bit 7 selects whether PC Card functional interrupts are routed to PCI interrupts or to the IRQ specified in the ExCA registers. 0 = Functional interrupts are routed to PCI interrupts (default). 1 = Functional interrupts are routed to IRQ interrupts. CardBus reset. When bit 6 is set, CRST is asserted on the CardBus interface. CRST also can be asserted by passing a PRST assertion to CardBus. 0 = CRST is deasserted. 1 = CRST is asserted (default). Master abort mode. Bit 5 controls how the PCI4410A device responds to a master abort when the PCI4410A device is an initiator on the CardBus interface. 0 = Master aborts are not signaled (default). 1 = Signal target abort on PCI. Signal SERR (if enabled) Reserved. Bit 4 returns 0 when read. VGA enable. Bit 3 affects how the PCI4410A device responds to VGA addresses. When this bit is set, accesses to VGA addresses are forwarded. ISA mode enable. Bit 2 affects how the PCI4410A device passes I/O cycles within the 64-Kbyte ISA range. This bit is not common between sockets. When this bit is set, the PCI4410A device does not forward the last 768 bytes of each 1K I/O range to CardBus. CSERR enable. Bit 1 controls the response of the PCI4410A device to CSERR signals on the CardBus bus. 0 = CSERR is not forwarded to PCI SERR. 1 = CSERR is forwarded to PCI SERR. CardBus parity error response enable. Bit 0 controls the response of the PCI4410A device to CardBus parity errors. 0 = CardBus parity errors are ignored. 1 = CardBus parity errors are reported using CPERR. 9 PREFETCH1 R/W 8 PREFETCH0 R/W 7 INTR R/W 6 CRST R/W 5 MABTMODE R/W 4 3 RSVD VGAEN R R/W 2 ISAEN R/W 1 CSERREN R/W 0 CPERREN R/W 4-14 4.26 Subsystem Vendor ID Register The subsystem vendor ID register is used for system and option-card identification purposes and may be required for certain operating systems. This register is read-only or read/write, depending on the setting of bit 5 (SUBSYSRW) in the system control register (PCI offset 80h, see Section 4.29). Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 14 13 12 11 10 9 8 R 0 7 R 0 6 R 0 5 R 0 4 R 0 3 R 0 2 R 0 1 R 0 0 R 0 Subsystem vendor ID Register: Type: Offset: Default: Subsystem vendor ID Read-only (Read/Write if enabled by SUBSYSRW) 40h 0000h 4.27 Subsystem ID Register The subsystem ID register is used for system and option-card identification purposes and may be required for certain operating systems. This register is read-only or read/write, depending on the setting of bit 5 (SUBSYSRW) in the system control register (PCI offset 80h, see Section 4.29). Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 14 13 12 11 10 9 8 R 0 7 R 0 6 R 0 5 R 0 4 R 0 3 R 0 2 R 0 1 R 0 0 R 0 Subsystem ID Register: Type: Offset: Default: Subsystem ID Read-only (Read/Write if enabled by SUBSYSRW) 42h 0000h 4.28 PC Card 16-Bit I/F Legacy-Mode Base-Address Register The PCI4410A device supports the index/data scheme of accessing the ExCA registers, which is mapped by this register. An address written to this register is the address for the index register and the address + 1 is the data address. Using this access method, applications requiring index/data ExCA access can be supported. The base address can be mapped anywhere in 32-bit I/O space on a word boundary; hence, bit 0 is read-only, returning 1 when read. See Section 5, ExCA Compatibility Registers, for register offsets. Bit Name Type Default Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 15 R/W 0 14 R/W 0 13 R/W 0 12 R/W 0 11 31 30 29 28 27 26 R/W 0 10 R/W 0 25 R/W 0 9 R/W 0 24 R/W 0 8 R/W 0 23 R/W 0 7 R/W 0 22 R/W 0 6 R/W 0 21 R/W 0 5 R/W 0 20 R/W 0 4 R/W 0 19 R/W 0 3 R/W 0 18 R/W 0 2 R/W 0 17 R/W 0 1 R/W 0 16 R/W 0 0 R 1 PC Card 16-bit I/F legacy-mode base address PC Card 16-bit I/F legacy-mode base address Register: Type: Offset: Default: PC Card 16-bit I/F legacy-mode base address Read-only, Read/Write 44h 0000 0001h 4-15 4.29 System Control Register System-level initializations are performed through programming this doubleword register. See Table 4-7 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R/W 1 R/W 0 R 0 R 1 R 0 R 0 R 0 R/W 0 15 R/W 0 14 R/W 0 13 R/W 0 12 R/W 0 11 R/W 0 10 R/C 0 9 31 30 29 28 27 26 25 24 R/W 0 8 R 0 23 R/W 0 7 R/W 0 22 R/W 1 6 R/W 1 21 R/W 0 5 R/W 1 20 R/W 0 4 R/W 0 19 R/W 0 3 R/W 0 18 R/W 1 2 R/W 0 17 R/W 0 1 R/W 0 16 R/W 0 0 R/W 0 System control System control Register: Type: Offset: Default: System control Read-only, Read/Write, Read/Clear 80h 0044 9060h 4-16 Table 4-7. System Control Register Description BIT SIGNAL TYPE FUNCTION Serialized PCI interrupt routing step. Bits 31 and 30 configure the serialized PCI interrupt stream signaling and accomplish an even distribution of interrupts signaled on the four PCI interrupt slots. Bits 31 and 30 are global to all PCI4410A functions. 31-30 SER_STEP R/W 00 = INTA/INTB signal in INTA/INTB slots (default) 01 = INTA/INTB signal in INTB/INTC slots 10 = INTA/INTB signal in INTC/INTD slots 11 = INTA/INTB signal in INTD/INTA slots Tie INTB to INTA. When bit 29 is set to 1, INTB is tied to INTA (default is 0). TI diagnostic (IIC_Test) bit (default is 0). Internal oscillator enable. 0 = Internal oscillator is disabled (default). 1 = Internal oscillator is enabled. SMI interrupt routing. Bit 26 selects whether IRQ2 or CSC is signaled when a write occurs to power a PC Card socket. 0 = PC Card power change interrupts are routed to IRQ2 (default). 1 = A CSC interrupt is generated on PC Card power changes. SMI interrupt status. This bit is set when bit 24 (SMIENB) is set and a write occurs to set the socket power. Writing a 1 to bit 25 clears the status. 0 = SMI interrupt is signaled (default). 1 = SMI interrupt is not signaled. SMI interrupt mode enable. When bit 24 is set and a write to the socket power control occurs, the SMI interrupt signaling is enabled and generates an interrupt. 29 28 27 TIE_INTB_INTA DIAGNOSTIC OSEN R/W R/W R/W 26 SMIROUTE R/W 25 SMISTATUS R/C 24 SMIENB R/W 23 PCIPMEN R/W PCI Bus Power Management Interface Specification (Revision 1.1) enable. 0 = Use PCI Bus Power Management Interface Specification (Revision 1.0) implementation (default). 1 = Use PCI Bus Power Management Interface Specification (Revision 1.1) implementation. Note: See bits 2-0 (VERSION field) in the power management capability register (PCI offset A2h, Section 4.41) for additional information. CardBus reserved-terminals signaling. When a CardBus card is inserted and bit 22 is set, the RSVD CardBus terminals are driven low. When this bit is 0, these signals are placed in a high-impedance state. 0 = 3-state CardBus RSVD 1 = Drive Cardbus RSVD low (default) VCC protection enable. 0 = VCC protection is enabled for 16-bit cards (default). 1 = VCC protection is disabled for 16-bit cards. Reduced zoomed-video enable. When this bit is enabled, pins A25-A22 of the card interface for PC Card-16 cards are placed in the high-impedance state. This bit should not be set for normal ZV operation. This bit is encoded as: 0 = Reduced zoomed video is disabled (default). 1 = Reduced zoomed video is enabled. PC/PCI DMA card enable. When bit 19 is set, the PCI4410A device allows 16-bit PC Cards to request PC/PCI DMA using the DREQ signaling. DREQ is selected through the socket DMA register 0 (PCI offset 94h, see Section 4.37). 0 = Ignore DREQ signaling from PC Cards (default) 1 = Signal DMA request on DREQ PC/PCI DMA channel assignment. Bits 18-16 are encoded as: 0-3 = 8-bit DMA channels 4 = PCI master; not used (default) 5-7 = 16-bit DMA channels Memory-read burst-enable downstream. When bit 15 is set, memory-read transactions are allowed to burst downstream. 0 = Downstream memory-read burst is disabled. 1 = Downstream memory-read burst is enabled (default). 22 CBRSVD R/W 21 VCCPROT R/W 20 REDUCEZV R/W 19 CDREQEN R/W 18-16 CDMACHAN R/W 15 MRBURSTDN R/W 4-17 Table 4-7. System Control Register Description (Continued) BIT SIGNAL TYPE FUNCTION Memory-read burst-enable upstream. When bit 14 is set, the PCI4410A device allows memory-read transactions to burst upstream. 0 = Upstream memory-read burst is disabled (default). 1 = Upstream memory-read burst is enabled. Socket activity status. When set, bit 13 indicates access has been performed to or from a PC card and is cleared upon read of this status bit. 0 = No socket activity (default) 1 = Socket activity Reserved. Bit 12 returns 1 when read. Power stream in progress status bit. When set, bit 11 indicates that a power stream to the power switch is in progress and a powering change has been requested. This bit is cleared when the power stream is complete. 0 = Power stream is complete and delay has expired. 1 = Power stream is in progress. Power-up delay in progress status. When set, bit 9 indicates that a power-up stream has been sent to the power switch and proper power may not yet be stable. This bit is cleared when the power-up delay has expired. Power-down delay in progress status. When set, bit 10 indicates that a power-down stream has been sent to the power switch and proper power may not yet be stable. This bit is cleared when the power-down delay has expired. Interrogation in progress. When set, bit 8 indicates an interrogation is in progress and clears when interrogation completes. This bit is socket dependent. 0 = Interrogation is not in progress (default). 1 = Interrogation is in progress. Auto power-switch enable. 0 = Bit 5 (AUTOPWRSWEN) in ExCA power control register (ExCA offset 02h, see Section 5.3) is disabled. (default). 1 = Bit 5 (AUTOPWRSWEN) in ExCA power control register (ExCA offset 02h, see Section 5.3) is enabled. Power savings mode enable. When this bit is set, if a CB card is inserted, idle, and without a CB clock, then the applicable CB state machine is not clocked. Subsystem ID (PCI offset 42h, see Section 4.27), subsystem vendor ID (PCI offset 40h, see Section 4.26), ExCA identification and revision (ExCA offset 00h, see Section 5.1) registers read/write enable. 0 = Subsystem ID, subsystem vendor ID, ExCA identification and revision registers are read/write. 1 = Subsystem ID, subsystem vendor ID, ExCA identification and revision registers are read-only (default). CardBus data parity error SERR signaling enable 0 = CardBus data parity error is not signaled on PCI SERR. 1 = CardBus data parity error is signaled on PCI SERR. PC/PCI DMA enable. Bit 3 enables PC/PCI DMA when set if MFUNC0-MFUNC6 are configured for centralized DMA. 0 = Centralized DMA is disabled (default). 1 = Centralized DMA is enabled. ExCA power control bit. Enabled by selecting the 82365SL mode. 0 = Enables 3.3 V 1 = Enables 5 V Keep clock. This bit works with PCI and CB CLKRUN protocols. 0 = Allows normal functioning of both CLKRUN protocols (default) 1 = Does not allow CB clock or PCI clock to be stopped using the CLKRUN protocols RI_OUT/PME multiplex enable. 0 = RI_OUT and PME are both routed to the RI_OUT/PME terminal. If both are enabled at the same time, RI_OUT has precedence over PME. 1 = Only PME is routed to the RI_OUT/PME terminal. 14 MRBURSTUP R/W 13 SOCACTIVE R 12 RSVD R 11 PWRSTREAM R 10 DELAYUP R 9 DELAYDOWN R 8 INTERROGATE R 7 AUTOPWRSWEN R/W 6 PWRSAVINGS R/W 5 SUBSYSRW R/W 4 CB_DPAR R/W 3 CDMA_EN R/W 2 ExCAPower R/W 1 KEEPCLK R/W 0 RIMUX R/W 4-18 4.30 General Status Register The general status register provides the general device status information. The status of the serial EEPROM interface is provided through this register. See Table 4-8 for a complete description of the register contents. Bit Name Type Default R 0 R 0 R 0 R 0 7 6 5 4 General status R 0 R X R/C 0 R 0 3 2 1 0 Register: Type: Offset: Default: General status Read/Clear, Read-only 85h (Function 0) 00h Table 4-8. General Status Register Description BIT 7-3 SIGNAL RSVD TYPE R Reserved. Bits 7-3 return 0s when read. FUNCTION Serial EEPROM detect. Serial EEPROM is detected by sampling a logic high on SCL while PRST is low. When this bit is set, the serial ROM is detected. This status bit is encoded as: 0 = EEPROM is not detected (default). 1 = EEPROM is detected. Serial EEPROM data error status. This bit indicates when a data error occurs on the serial EEPROM interface. This bit may be set due to a missing acknowledge. This bit is cleared by a writeback of 1. 0 = No error is detected (default). 1 = Data error is detected. Serial EEPROM busy status. This bit indicates the status of the PCI4410A serial EEPROM circuitry. This bit is set during the loading of the subsystem ID value. 0 = Serial EEPROM circuitry is not busy (default). 1 = Serial EEPROM circuitry is busy. 2 EEDETECT R 1 DATAERR R/C 0 EEBUSY R 4.31 General Control Register The general control register provides top-level PCI arbitration control. See Table 4-9 for a complete description of the register contents. Bit Name Type Default R 0 R 0 R 0 7 6 5 4 R 0 3 R/W 0 2 R 0 1 R/W 0 0 R/W 0 General control Register: Type: Offset: Default: General control Read-Only, Read/Write 86h 00h Table 4-9. General Control Register Description BIT 7-4 3 2 SIGNAL RSVD DISABLE_OHCI RSVD TYPE R R/W R Reserved. Bits 7-4 return 0s when read. FUNCTION When bit 3 is set, the open HCI 1394 controller function is completely nonaccessible and nonfunctional. Reserved. Bit 2 returns 0 when read. Controls top-level PCI arbitration. 00 = 1394 open HCI priority 01 = CardBus priority 10 = Fair round robin 11 = Reserved (fair round robin) 1-0 ARB_CTRL R/W 4-19 4.32 Multifunction Routing Register The multifunction routing register is used to configure the MFUNC0-MFUNC6 terminals. These terminals can be configured for various functions. All multifunction terminals default to the general-purpose input configuration. This register is intended to be programmed once at power-on initialization. The default value for this register can also be loaded through a serial bus EEPROM. See Table 4-10 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 0 R 0 15 R 0 14 R 0 13 R 0 12 R/W 0 11 R/W 0 10 0 9 R/W 31 30 29 28 27 26 25 R/W 24 R/W 0 8 R/W 0 23 R/W 0 7 R/W 0 22 R/W 0 6 R/W 0 21 R/W 0 5 R/W 0 20 R/W 0 4 R/W 0 19 R/W 0 3 R/W 0 18 R/W 0 2 R/W 0 17 R/W 0 1 R/W 0 16 R/W 0 0 R/W 0 Multifunction routing Multifunction routing Register: Type: Offset: Default: BIT 31-28 SIGNAL RSVD Multifunction routing Read-only, Read/Write 8Ch 0000 0000h Table 4-10. Multifunction Routing Register Description TYPE R Bits 31-28 return 0s when read. Multifunction terminal 6 configuration. These bits control the internal signal mapped to the MFUNC6 terminal as follows: 0000 = RSVD 0100 = IRQ4 1000 = IRQ8 1100 = IRQ12 0001 = CLKRUN 0101 = IRQ5 1001 = IRQ9 1101 = IRQ13 0010 = IRQ2 0110 = IRQ6 1010 = IRQ10 1110 = IRQ14 0011 = IRQ3 0111 = IRQ7 1011 = IRQ11 1111 = IRQ15 Multifunction terminal 5 configuration. These bits control the internal signal mapped to the MFUNC5 terminal as follows: 0000 = GPI4 0100 = IRQ4 1000 = CAUDPWM 1100 = LED_SKT 0001 = GPO4 0101 = D3_STAT 1001 = IRQ9 1101 = Diagnostic setup: OHCI test 0010 = PCGNT 0110 = ZVSTAT 1010 = IRQ10 1110 = GPE 0011 = IRQ3 0111 = ZVSEL0 1011 = IRQ11 1111 = IRQ15 Multifunction terminal 4 configuration. These bits control the internal signal mapped to the MFUNC4 terminal as follows: NOTE: When the serial bus mode is implemented by pulling up the VCCD0 and VCCD1 terminals, the MFUNC4 terminal provides the SCL signaling. 0000 = GPI3 0001 = GPO3 0010 = PCI LOCK 0011 = IRQ3 0100 = IRQ4 0101 = IRQ5 0110 = ZVSTAT 0111 = ZVSEL0 1000 = CAUDPWM 1001 = IRQ9 1010 = IRQ10 1011 = IRQ11 1100 = RI_OUT 1101 = LED_SKT 1110 = GPE 1111 = IRQ15 FUNCTION 27-24 MFUNC6 R/W 23-20 MFUNC5 R/W 19-16 MFUNC4 R/W 15-12 MFUNC3 R/W Multifunction terminal 3 configuration. These bits control the internal signal mapped to the MFUNC3 terminal as follows: 0000 = RSVD 0100 = IRQ4 1000 = IRQ8 1100 = IRQ12 0001 = IRQSER 0101 = IRQ5 1001 = IRQ9 1101 = IRQ13 0010 = IRQ2 0110 = IRQ6 1010 = IRQ10 1110 = IRQ14 0011 = IRQ3 0111 = IRQ7 1011 = IRQ11 1111 = IRQ15 Multifunction terminal 2 configuration. These bits control the internal signal mapped to the MFUNC2 terminal as follows: 0000 = GPI2 0100 = IRQ4 1000 = CAUDPWM 1100 = RI_OUT 0001 = GPO2 0101 = IRQ5 1001 = IRQ9 1101 = D3_STAT 0010 = PCREQ 0110 = ZVSTAT 1010 = IRQ10 1110 = GPE 0011 = IRQ3 0111 = ZVSEL0 1011 = IRQ11 1111 = IRQ7 11-8 MFUNC2 R/W 4-20 Table 4-10. Multifunction Routing Register Description (Continued) BIT SIGNAL TYPE FUNCTION Multifunction terminal 1 configuration. These bits control the internal signal mapped to the MFUNC1 terminal as follows: NOTE: When the serial bus mode is implemented by pulling up the VCCD0 and VCCD1 terminals, the MFUNC1 terminal provides the SDA signaling. 0000 = GPI1 0001 = GPO1 0010 = D3_STAT 0011 = IRQ3 0100 = IRQ4 0101 = IRQ5 0110 = ZVSTAT 0111 = ZVSEL0 1000 = CAUDPWM 1001 = IRQ9 1010 = IRQ10 1011 = IRQ11 1100 = LED_SKT 1101 = IRQ13 1110 = GPE 1111 = IRQ15 7-4 MFUNC1 R/W 3-0 MFUNC0 R/W Multifunction terminal 0 configuration. These bits control the internal signal mapped to the MFUNC0 terminal as follows: 0000 = GPI0 0100 = IRQ4 1000 = CAUDPWM 1100 = LED_SKT 0001 = GPO0 0101 = IRQ5 1001 = IRQ9 1101 = IRQ13 0010 = INTA 0110 = ZVSTAT 1010 = IRQ10 1110 = GPE 0011 = IRQ3 0111 = ZVSEL0 1011 = IRQ11 1111 = IRQ15 4.33 Retry Status Register The retry status register enables the retry timeout counters and displays the retry expiration status. The flags are set when the PCI4410A device retries a PCI or CardBus master request and the master does not return within 215 PCI clock cycles. The flags are cleared by writing a 1 to the bit. These bits are expected to be incorporated into the command, status, and bridge control registers by the PCI SIG. See Table 4-11 for a complete description of the register contents. Bit Name Type Default R/W 1 R/W 1 R 0 R 0 7 6 5 4 Retry status R/C 0 R 0 R/C 0 R 0 3 2 1 0 Register: Type: Offset: Default: BIT 7 SIGNAL PCIRETRY Retry status Read-only, Read/Write, Read/Clear 90h C0h Table 4-11. Retry Status Register Description TYPE R/W FUNCTION PCI retry timeout counter enable. Bit 7 is encoded: 0 = PCI retry counter is disabled. 1 = PCI retry counter is enabled (default). CardBus retry timeout counter enable. Bit 6 is encoded: 0 = CardBus retry counter is disabled. 1 = CardBus retry counter is enabled (default). Reserved. Bits 5 and 4 return 0s when read. CardBus target retry expired. Write a 1 to clear bit 3. 0 = Inactive (default) 1 = Retry has expired. Reserved. Bit 2 returns 0 when read. PCI target retry expired. Write a 1 to clear bit 1. 0 = Inactive (default) 1 = Retry has expired. Reserved. Bit 0 returns 0 when read. 6 5-4 3 2 1 0 CBRETRY RSVD TEXP_CB RSVD TEXP_PCI RSVD R/W R R/C R R/C R 4-21 4.34 Card Control Register The card control register is provided for PCI1130 compatibility. RI_OUT is enabled through this register. See Table 4-12 for a complete description of the register contents. Bit Name Type Default R/W 0 R/W 0 R/W 0 R 0 7 6 5 4 Card control R 0 R/W 0 R/W 0 R/C 0 3 2 1 0 Register: Type: Offset: Default: BIT SIGNAL Card control Read-only, Read/Write, Read/Clear 91h 00h Table 4-12. Card Control Register Description TYPE FUNCTION Ring indicate output enable. 0 = Disables any routing of RI_OUT signal (default). 1 = Enables RI_OUT signal for routing to the RI_OUT/PME terminal, when bit 0 (RIMUX) in the system control register (PCI offset 80h, see Section 4.29) is set to 0, and for routing to MFUNC2 or MFUNC4. Compatibility ZV mode enable. When set, the PC Card socket interface ZV terminals enter a high-impedance state. This bit defaults to 0. ZV output port enable. When bit 5 is set, the ZV output port is enabled. If bit 6 (ZVENABLE) is set, ZV data from the PC Card interface is routed to the ZV output port. Otherwise, the ZV output port drives a stable 0 pattern on all pins. When bit 5 is not set, the ZV output port pins are placed in a high-impedance state. Default is 0. Reserved. Bits 4 and 3 return 0 when read. CardBus audio-to-IRQMUX. When set, the CAUDIO CardBus signal is routed to the corresponding multifunction terminal, which may be configured for CAUDPWM. Speaker out enable. When bit 1 is set, SPKR on the PC Card is enabled and is routed to SPKROUT. The SPKROUT terminal drives data only when the socket's SPKROUTEN bit is set. This bit is encoded as: 0 = SPKR to SPKROUT is not enabled (default). 1 = SPKR to SPKROUT is enabled. Interrupt flag. Bit 0 is the interrupt flag for 16-bit I/O PC Cards and for CardBus cards. Bit 0 is set when a functional interrupt is signaled from a PC Card interface. Write back a 1 to clear this bit. 0 = No PC Card functional interrupt is detected (default). 1 = PC Card functional interrupt is detected. 7 RIENB R/W 6 ZVENABLE R/W 5 ZV PORT_ENABLE RSVD AUD2MUX R/W 4-3 2 R R/W 1 SPKROUTEN R/W 0 IFG R/C 4-22 4.35 Device Control Register The device control register is provided for PCI1130 compatibility. The interrupt mode select and the socket-capable force bits are programmed through this register. See Table 4-13 for a complete description of the register contents. Bit Name Type Default R/W 0 R/W 1 R/W 1 0 7 6 5 4 Device control R/W R/W 0 R/W 1 R/W 1 R/W 0 3 2 1 0 Register: Type: Offset: Default: BIT 7 SIGNAL Device control Read-only, Read/Write 92h 66h Table 4-13. Device Control Register Description TYPE R/W FUNCTION Socket-power lock bit. When this bit is set to 1, software cannot power down the PC Card socket while in D3. This may be necessary to support wake on LAN or RING if the operating system is programmed to power down a socket when the CardBus controller is placed in the D3 state. 3-V socket-capable force 0 = Not 3-V capable 1 = 3-V capable (default) Diagnostic bit. This bit defaults to 1. Bus-holder cell enable/disable. Setting bit 4 to 1 enables the bus-holder cells on the 1394 link interface. Default state is 0, bus-holder cells disabled. TI test. Only a 0 should be written to bit 3. Interrupt signaling mode. Bits 2 and 1 select the interrupt signaling mode. The interrupt signaling mode bits are encoded: 00 = Parallel PCI interrupts only 01 = Parallel IRQ and parallel PCI interrupts 10 = IRQ serialized interrupts and parallel PCI interrupt 11 = IRQ and PCI serialized interrupts (default) Reserved. Bit 0 is reserved for test purposes. Only 0 should be written to this bit. SKTPWR_LOCK 6 5 4 3 3VCAPABLE IO16V2 BUS_HOLDER_EN TEST R/W R/W R/W R/W 2-1 INTMODE R/W 0 RSVD R/W 4-23 4.36 Diagnostic Register The diagnostic register is provided for internal TI test purposes. In addition, the diagnostic register can be used to control CSC interrupt routing, enable asynchronous interrupts, and alter the PCI vendor ID and device ID register fields. See Table 4-14 for a complete description of the register contents. Bit Name Type Default R/W 0 R/W 0 R/W 1 R/W 0 7 6 5 4 Diagnostic R/W 0 R/W 0 R/W 0 R/W 1 3 2 1 0 Register: Type: Offset: Default: BIT SIGNAL Diagnostic Read/Write 93h 21h Table 4-14. Diagnostic Register Description TYPE FUNCTION This bit defaults to 0. This bit causes software to fail to recognize the PCI4410A device when set to 1. This bit is encoded as: 0 = Reads true values from the PCI vendor ID and PCI device ID registers (default). 1 = Reads all 1s from the PCI vendor ID and PCI device ID registers. Reserved. Bit 6 returns 0 when read. CSC interrupt routing control 0 = CSC interrupts are routed to PCI if ExCA 803 (see Section 5.4) bit 4 = 1. 1 = CSC interrupts are routed to PCI if ExCA 805 (see Section 5.6) bits 7-4 = 0000b (default). In this case, the setting of ExCA 803 bit 4 is a don't care. Diagnostic RETRY_DIS. Delayed transaction disabled. Diagnostic RETRY_EXT. Extends the latency from 16 to 64. Diagnostic DISCARD_TIM_SEL_CB. Set = 210, reset = 215. Diagnostic DISCARD_TIM_SEL_PCI. Set = 210, reset = 215. Asynchronous interrupt enable. 0 = CSC interrupt is not generated asynchronously. 1 = CSC interrupt is generated asynchronously (default). 7 TRUE_VAL R/W 6 RSVD R/W 5 CSC R/W 4 3 2 1 0 DIAG4 DIAG3 DIAG2 DIAG1 ASYNCINT R/W R/W R/W R/W R/W 4-24 4.37 Socket DMA Register 0 The socket DMA register 0 provides control over the PC Card DMA request (DREQ) signaling. See Table 4-15 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R 0 18 R 0 2 R 0 17 R 0 1 R/W 0 16 R 0 0 R/W 0 Socket DMA register 0 Socket DMA register 0 Register: Type: Offset: Default: BIT 31-2 SIGNAL RSVD Socket DMA register 0 Read-only, Read/Write 94h 0000 0000h Table 4-15. Socket DMA Register 0 Description TYPE R Reserved. Bits 31-2 return 0s when read. DMA request (DREQ). Bits 1 and 0 indicate which pin on the 16-bit PC Card interface acts as DREQ during DMA transfers. This field is encoded as: 00 = Socket is not configured for DMA (default). 01 = DREQ uses SPKR. 10 = DREQ uses IOIS16. 11 = DREQ uses INPACK. FUNCTION 1-0 DREQPIN R/W 4-25 4.38 Socket DMA Register 1 The socket DMA register 1 provides control over the distributed DMA (DDMA) registers and the PCI portion of DMA transfers. The DMA base address locates the DDMA registers in a 16-byte region within the first 64K bytes of PCI I/O address space. See Table 4-16 for a complete description of the register contents. NOTE: 32-bit transfers are not supported; the maximum transfer possible for 16-bit PC Cards is 16 bits. Bit Name Type Default Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 R 0 9 R/W 31 30 29 28 27 26 25 24 R 0 8 R/W 0 23 R 0 7 R/W 0 22 R 0 6 R/W 0 21 R 0 5 R/W 0 20 R 0 4 R/W 0 19 R 0 3 R 0 18 R 0 2 R/W 0 17 R 0 1 R/W 0 16 R 0 0 R/W 0 Socket DMA register 1 Socket DMA register 1 Register: Type: Offset: Default: BIT 31-16 SIGNAL RSVD Socket DMA register 1 Read-only, Read/Write 98h 0000 0000h Table 4-16. Socket DMA Register 1 Description TYPE R Reserved. Bits 31-16 return 0s when read. DMA base address. Locates the socket's DMA registers in PCI I/O space. This field represents a 16-bit PCI I/O address. The upper 16 bits of the address are hardwired to 0, forcing this window to within the lower 64K bytes of I/O address space. The lower 4 bits are hardwired to 0 and are included in the address decode. Thus, the window is aligned to a natural 16-byte boundary. Extended addressing. This feature is not supported by the PCI4410A device and always returns a 0. Transfer size. Bits 2 and 1 specify the width of the DMA transfer on the PC Card interface and are encoded as: 00 = Transfers are 8 bits (default). 01 = Transfers are 16 bits. 10 = Reserved 11 = Reserved DDMA registers decode enable. Enables the decoding of the distributed DMA registers based on the value of bits 15-4 (DMABASE field). 0 = Disabled (default) 1 = Enabled FUNCTION 15-4 DMABASE R/W 3 EXTMODE R 2-1 XFERSIZE R/W 0 DDMAEN R/W 4-26 4.39 Capability ID Register The capability ID register identifies the linked list item as the register for PCI power management. The register returns 01h when read, which is the unique ID assigned by the PCI SIG for the PCI location of the capabilities pointer and the value. Bit Name Type Default R 0 R 0 R 0 R 0 7 6 5 4 Capability ID R 0 R 0 R 0 R 1 3 2 1 0 Register: Type: Offset: Default: Capability ID Read-only A0h 01h 4.40 Next-Item Pointer Register The next-item pointer register indicates the next item in the linked list of the PCI power-management capabilities. Because the PCI4410A functions include only one capabilities item, this register returns 0s when read. Bit Name Type Default R 0 R 0 R 0 7 6 5 4 R 0 3 R 0 2 R 0 1 R 0 0 R 0 Next-item pointer Register: Type: Offset: Default: Next-item pointer Read-only A1h 00h 4-27 4.41 Power Management Capabilities Register This register contains information on the capabilities of the PC Card function related to power management. Both PCI4410A CardBus bridge functions support D0, D1, D2, and D3 power states. See Table 4-17 for a complete description of the register contents. Bit Name Type Default R/W 1 R 1 R 1 R 1 R 1 R 1 15 14 13 12 11 10 9 R 1 8 R 0 7 R 0 6 R 0 5 R 1 4 R 1 3 R 0 2 R 0 1 R 0 0 R 1 Power management capabilities Register: Type: Offset: Default: BIT SIGNAL Power management capabilities Read/Write, Read-only A2h FE31h Table 4-17. Power Management Capabilities Register Description TYPE FUNCTION PME support. This 5-bit field indicates the power states from which the PCI4410A functions can assert PME. A 0 (zero) for any bit indicates that the function cannot assert the PME signal while in that power state. These five bits return 11111b when read. Each of these bits is described below: 15 PME_SUPPORT R/W Bit 15 defaults to the value 1, indicating the PME signal can be asserted from the D3cold state. This bit is R/W because wake-up support from D3cold is contingent on the system providing an auxiliary power source to the VCC terminals. If the system designer chooses not to provide an auxiliary power source to the VCC terminals for D3cold wake-up support, the BIOS should write a 0 to this bit. Bit 14 contains the value 1, indicating that the PME signal can be asserted from D3hot state. Bit 13 contains the value 1, indicating that the PME signal can be asserted from D2 state. Bit 12 contains the value 1, indicating that the PME signal can be asserted from D1 state. Bit 11 contains the value 1, indicating that the PME signal can be asserted from the D0 state. D2 support. Bit 10 returns a 1 when read, indicating that the CardBus function supports the D2 device power state. D1 support. Bit 9 returns a 1 when read, indicating that the CardBus function supports the D1 device power state. Reserved. Bits 8-6 return 0s when read. Device-specific initialization. Bit 5 returns 1 when read, indicating that the CardBus controller function requires special initialization (beyond the standard PCI configuration header) before the generic class device driver is able to use it. Auxiliary power source. Bit 4 is meaningful only if bit 15 (PME_Support, D3cold) is set. When bit 4 is set, it indicates that support for PME in D3cold requires auxiliary power supplied by the system by way of a proprietary delivery vehicle. When bit 4 is 0, it indicates that the function supplies its own auxiliary power source. Because the PCI4410A device requires an auxiliary power supply, this bit returns 1. PME clock. Bit 3 returns 0 when read, indicating that no host bus clock is required for the PCI4410A device to generate PME. Version. Bits 2-0 return 001b when read, indicating that there are four bytes of general-purpose power management (PM) registers as described in the PCI Bus Power Management Interface Specification. See bit 23 (PCIPMEN) in the system control register (PCI offset 80h, Section 4.29) for additional information. It is recommended that the PCIPMEN bit be set by BIOS. If PCIPMEN is set, bits 2-0 (VERSION field) will return 010b, indicating support for the PCI Bus Power Management Interface Specification (Revision 1.1). 14-11 PME_SUPPORT R 10 9 8-6 5 D2_SUPPORT D1_SUPPORT RSVD DSI R R R R 4 AUX_PWR R 3 PMECLK R 2-0 VERSION R 4-28 4.42 Power Management Control/Status Register The power management control/status register determines and changes the current power state of the PCI4410A CardBus function. The contents of this register are not affected by the internally generated reset caused by the transition from D3hot to D0 state. All PCI, ExCA, and CardBus registers are reset as a result of a D3hot to D0 state transition. TI-specific registers, PCI power management registers, and the legacy base address register are not reset. See Table 4-18 for a complete description of the register contents. Bit Name Type Default R/C 0 R 0 R 0 R 0 R 0 R 0 15 14 13 12 11 10 9 R 0 8 R/W 0 7 R 0 6 R 0 5 R 0 4 R 0 3 R 0 2 R 0 1 R/W 0 0 R/W 0 Power management control/status Register: Type: Offset: Default: BIT 15 SIGNAL PMESTAT Power management control/status Read-only, Read/Write, Read/Clear A4h 0000h Table 4-18. Power Management Control/Status Register Description TYPE R/C FUNCTION PME status. Bit 15 is set when the CardBus function normally would assert PME, independent of the state of bit 8 (PME_EN). Bit 15 is cleared by a writeback of 1, and this also clears the PME signal if PME was asserted by this function. Writing a 0 to this bit has no effect. Data scale. This 2-bit field returns 0s when read. The CardBus function does not return any dynamic data, as indicated by bit 4 (DYN_DATA_PME_EN). Data select. This 4-bit field returns 0s when read. The CardBus function does not return any dynamic data, as indicated by bit 4 (DYN_DATA_PME_EN). PME enable. When set to 1, bit 8 enables the function to assert PME. When cleared to 0, the assertion of PME is disabled. Reserved. Bits 7-5 return 0s when read. Dynamic data PME enable. Bit 4 returns 0 when read, because the CardBus function does not report dynamic data. Reserved. Bits 3-2 return 0s when read. Power state. This 2-bit field is used both to determine the current power state of a function and to set the function into a new power state. This field is encoded as: 00 = D0 01 = D1 10 = D2 11 = D3hot 14-13 12-9 8 7-5 4 3-2 DATASCALE DATASEL PME_EN RSVD DYN_DATA_PME_EN RSVD R R R/W R R R 1-0 PWR_STATE R/W 4-29 4.43 Power Management Control/Status Register Bridge Support Extensions The power management control/status register bridge support extensions support PCI bridge-specific functionality. See Table 4-19 for a complete description of the register contents. Bit Name Type Default R 1 R/W 1 7 6 5 R 0 4 R 0 3 R 0 2 R 0 1 R 0 0 R 0 Power management control/status register bridge support extensions Register: Type: Offset: Default: BIT SIGNAL Power management control/status register bridge support extensions Read-only A6h C0h TYPE FUNCTION BPCC_Enable. Bus power/clock control enable. This bit returns 1 when read. This bit is encoded as: 0 = Bus power/clock control is disabled. 1 = Bus power/clock control is enabled (default). A 0 indicates that the bus power/clock control policies defined in the PCI Bus Power Management Interface Specification are disabled. When the bus power/clock control enable mechanism is disabled, the bridge's power management control/status register power state field (PCI offset A4h, see Section 4.42, bits 1-0) cannot be used by the system software to control the power or the clock of the bridge's secondary bus. A 1 indicates that the bus power/clock control mechanism is enabled. B2/B3 support for D3hot. The state of this bit determines the action that is to occur as a direct result of programming the function to D3hot. This bit is meaningful only if bit 7 (BPCC_EN) is a 1. This bit is encoded as: 0 = When the bridge is programmed to D3hot, its secondary bus will have its power removed (B3). 1 = When the bridge function is programmed to D3hot, its secondary bus's PCI clock will be stopped (B2). (Default) Reserved. Bits 5-0 return 0s when read. Table 4-19. Power Management Control/Status Register Bridge Support Extensions Description 7 BPCC_EN R 6 B2_B3 R/W 5-0 RSVD R 4.44 Power Management Data Register The power management data register returns 0s when read, because the CardBus functions do not report dynamic data. Bit Name Type Default R 0 R 0 R 0 7 6 5 4 R 0 3 R 0 2 R 0 1 R 0 0 R 0 Power management data Register: Type: Offset: Default: Power management data Read-only A7h 00h 4-30 4.45 General-Purpose Event Status Register The general-purpose event status register contains status bits that are set by different events. The bits in this register and the corresponding GPE are cleared by writing a 1 to the corresponding bit location. See Table 4-20 for a complete description of the register contents. Bit Name Type Default R/C 0 R 0 R 0 R 0 R/C 0 R 0 15 14 13 12 11 10 9 R 0 8 R/C 0 7 R 0 6 R 0 5 R 0 4 R/C 0 3 R/C 0 2 R/C 0 1 R/C 0 0 R/C 0 General-purpose event status Register: Type: Offset: Default: BIT 15 14-12 11 10-9 8 7-5 4 3 2 1 0 SIGNAL ZV_STS RSVD PWR_STS RSVD VPP12_STS RSVD GP4_STS GP3_STS GP2_STS GP1_STS GP0_STS General-purpose event status Read-only, Read/Clear A8h 0000h Table 4-20. General-Purpose Event Status Register Description TYPE R/C R R/C R R/C R R/C R/C R/C R/C R/C FUNCTION PC card ZV status. Bit 15 is set on a change in status of bit 6 (ZVENABLE) in the card control register (PCI offset 91h, see Section 4.34). Reserved. Bits 14-12 return 0s when read. Power change status. Bit 11 is set when software has changed the power state of the socket. A change in either VCC or VPP for the socket causes this bit to be set. Reserved. Bits 10 and 9 return 0s when read. 12-V VPP request status. Bit 8 is set when software has changed the requested VPP level to or from 12 V for the PC Card socket. Reserved. Bits 7-5 return 0s when read. GPI4 Status. Bit 4 is set on a change in status of the MFUNC5 terminal input level. This bit does not depend upon the state of a corresponding bit in the general-purpose event enable register. GPI3 Status. Bit 3 is set on a change in status of the MFUNC4 terminal input level. This bit does not depend upon the state of a corresponding bit in the general-purpose event enable register. GPI2 Status. Bit 2 is set on a change in status of the MFUNC2 terminal input level. This bit does not depend upon the state of a corresponding bit in the general-purpose event enable register. GPI1 Status. Bit 1 is set on a change in status of the MFUNC1 terminal input level. This bit does not depend upon the state of a corresponding bit in the general-purpose event enable register. GPI0 Status. Bit 0 is set on a change in status of the MFUNC0 terminal input level. This bit does not depend upon the state of a corresponding bit in the general-purpose event enable register. 4-31 4.46 General-Purpose Event Enable Register The general-purpose event enable register contains bits that are set to enable a GPE signal. The GPE signal is driven until the corresponding status bit is cleared and the event is serviced. The GPE can be signaled only if one of the multifunction terminals, MFUNC6-MFUNC0, is configured for GPE signaling. See Table 4-21 for a complete description of the register contents. Bit Name Type Default R/W 0 R 0 R 0 R 0 R/W 0 R 0 15 14 13 12 11 10 9 R 0 8 R/W 0 7 R 0 6 R 0 5 R 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 General-purpose event enable Register: Type: Offset: Default: BIT 15 14-12 11 10-9 8 7-5 4 3 2 1 0 SIGNAL ZV_EN RSVD PWR_EN RSVD VPP12_EN RSVD GP4_EN GP3_EN GP2_EN GP1_EN GP0_EN General-purpose event enable Read-only, Read/Write AAh 0000h Table 4-21. General-Purpose Event Enable Register Description TYPE R/W R R/W R R/W R R/W R/W R/W R/W R/W FUNCTION PC card socket ZV enable. When bit 15 is set, a GPE is signaled on a change in status of bit 6 (ZVENABLE) in the card control register (PCI offset 91h, see Section 4.34). Reserved. Bits 14-12 return 0s when read. Power change enable. When bit 11 is set, a GPE is signaled when software has changed the power state of the socket. Reserved. Bits 10 and 9 return 0s when read. 12-V VPP request enable. When bit 8 is set, a GPE is signaled when software has changed the requested VPP level to or from 12 V for the card socket. Reserved. Bits 7-5 return 0s when read. GPI4 enable. When bit 4 is set, a GPE is signaled when there has been a change in status of the MFUNC5 terminal input level if configured as GPI4. GPI3 enable. When bit 3 is set, a GPE is signaled when there has been a change in status of the MFUNC4 terminal input level if configured as GPI3. GPI2 enable. When bit 2 is set, a GPE is signaled when there has been a change in status of the MFUNC2 terminal input if configured as GPI2. GPI1 enable. When bit 1 is set, a GPE is signaled when there has been a change in status of the MFUNC1 terminal input if configured as GPI1. GPI0 enable. When bit 0 is set, a GPE is signaled when there has been a change in status of the MFUNC0 terminal input if configured as GPI0. 4-32 4.47 General-Purpose Input Register The general-purpose input register provides the logical value of the data input from the GPI terminals, MFUNC5, MFUNC4, and MFUNC2-MFUNC0. See Table 4-22 for a complete description of the register contents. Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 14 13 12 11 10 9 8 R 0 7 R 0 6 R 0 5 R 0 4 R X 3 R X 2 R X 1 R X 0 R X General-purpose input Register: Type: Offset: Default: BIT 15-5 4 3 2 1 0 SIGNAL RSVD GPI4_DATA GPI3_DATA GPI2_DATA GPI1_DATA GPI0_DATA General-purpose input Read-only ACh 00XXh Table 4-22. General-Purpose Input Register Description TYPE R R R R R R Reserved. Bits 15-5 return 0s when read. GPI4 data bit. The value read from bit 4 represents the logical value of the data input from the MFUNC5 terminal. GPI3 data bit. The value read from bit 3 represents the logical value of the data input from the MFUNC4 terminal. GPI2 data bit. The value read from bit 2 represents the logical value of the data input from the MFUNC2 terminal. GPI1 data bit. The value read from bit 1 represents the logical value of the data input from the MFUNC1 terminal. GPI0 data bit. The value read from bit 0 represents the logical value of the data input from the MFUNC0 terminal. FUNCTION 4-33 4.48 General-Purpose Output Register The general-purpose output register is used for control of the general-purpose outputs. See Table 4-23 for a complete description of the register contents. Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 15 14 13 12 11 10 9 R 0 8 R 0 7 R 0 6 R 0 5 R 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 General-purpose output Register: Type: Offset: Default: BIT 15-5 4 3 2 1 0 SIGNAL RSVD GPO4_DATA GPO3_DATA GPO2_DATA GPO1_DATA GPO0_DATA General-purpose output Read-only, Read/Write AEh 0000h Table 4-23. General-Purpose Output Register Description TYPE R R/W R/W R/W R/W R/W Reserved. Bits 15-5 return 0s when read. GPO4 data bit. The value written to bit 4 represents the logical value of the data driven to the MFUNC5 terminal if configured as GPO4. Read transactions return the last data value written. GPO3 data bit. The value written to bit 3 represents the logical value of the data driven to the MFUNC4 terminal if configured as GPO3. Read transactions return the last data value written. GPO2 data bit. The value written to bit 2 represents the logical value of the data driven to the MFUNC2 terminal if configured as GPO2. Read transactions return the last data value written. GPO1 data bit. The value written to bit 1 represents the logical value of the data driven to the MFUNC1 terminal if configured as GPO1. Read transactions return the last data value written. GPO0 data bit. The value written to bit 0 represents the logical value of the data driven to the MFUNC0 terminal if configured as GPO0. Read transactions return the last data value written. FUNCTION 4-34 5 ExCA Compatibility Registers The ExCA registers implemented in the PCI4410A device are register-compatible with the Intel 82365SL-DF PCMCIA controller. The ExCA registers are identified by an offset value that is compatible with the legacy I/O index/data scheme used on the Intel 82365 ISA controller. The ExCA registers are accessed through this scheme by writing the register offset value into the index register (I/O base) and reading or writing the data register (I/O base + 1). The I/O base address used in the index/data scheme is programmed in the PC Card 16-bit I/F legacy-mode base address register (PCI offset 44h, see Section 4.28). The offsets from this base address run contiguously from 00h to 3Fh for the socket. See Figure 5-1 for an ExCA I/O-mapping illustration. PCI4410A Configuration Registers Offset Offset PC Card ExCA Registers 00h Host I/O Space CardBus Socket/ExCA Base Address 10h Index Data 3Fh 16-Bit Legacy-Mode Base Address 44h Figure 5-1. ExCA Register Access Through I/O The TI PCI4410A device also provides a memory-mapped alias of the ExCA registers by directly mapping them into PCI memory space. They are located through the CardBus socket/ExCA base address register (PCI offset 10h, see Section 4.12) at memory offset 800h. See Figure 5-2 for an ExCA memory-mapping illustration. This illustration also identifies the CardBus socket-register mapping, which is mapped into the same 4K window at memory offset 0h. PCI4410A Configuration Registers Offset Host Memory Space Offset 00h CardBus Socket Registers 20h 800h 16-Bit Legacy-Mode Base Address 44h ExCA Registers 844h CardBus Socket/ExCA Base Address 10h Figure 5-2. ExCA Register Access Through Memory 5-1 As defined by the 82365SL-DL Specification, the interrupt registers in the ExCA register set control such card functions as reset, type, interrupt routing, and interrupt enables. Special attention must be paid to the interrupt routing registers and the host-interrupt signaling method selected for the PCI4410A device to ensure that all possible PCI4410A interrupts potentially can be routed to the programmable interrupt controller. The ExCA registers that are critical to the interrupt signaling are the ExCA interrupt and general control register (ExCA offset 03h, see Section 5.4) and the ExCA card status-change-interrupt configuration register (ExCA offset 05h, see Section 5.6). Access to I/O-mapped 16-bit PC Cards is available to the host system via two ExCA I/O windows. These are regions of host I/O address space into which the card I/O space is mapped. These windows are defined by start, end, and offset addresses programmed in the ExCA registers described in this section. I/O windows have byte granularity. Access to memory-mapped 16-bit PC Cards is available to the host system via five ExCA memory windows. These are regions of host memory space into which the card memory space is mapped. These windows are defined by start, end, and offset addresses programmed in the ExCA registers described in this section. Table 5-1 identifies each ExCA register and its respective ExCA offset. Memory windows have 4-Kbyte granularity. Table 5-1. ExCA Registers and Offsets EXCA REGISTER NAME Identification and revision Interface status Power control Interrupt and general control Card status change Card status-change-interrupt configuration Address window enable I / O window control I / O window 0 start-address low byte I / O window 0 start-address high byte I / O window 0 end-address low byte I / O window 0 end-address high byte I / O window 1 start-address low byte I / O window 1 start-address high byte I / O window 1 end-address low byte I / O window 1 end-address high byte Memory window 0 start-address low byte Memory window 0 start-address high byte Memory window 0 end-address low byte Memory window 0 end-address high byte Memory window 0 offset-address low byte Memory window 0 offset-address high byte Card detect and general control Reserved Memory window 1 start-address low byte Memory window 1 start-address high byte Memory window 1 end-address low byte Memory window 1 end-address high byte Memory window 1 offset-address low byte Memory window 1 offset-address high byte CARDBUS SOCKET ADDRESS OFFSET (HEX) 800 801 802 803 804 805 806 807 808 809 80A 80B 80C 80D 80E 80F 810 811 812 813 814 815 816 817 818 819 81A 81B 81C 81D ExCA OFFSET (HEX) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 5-2 Table 5-1. ExCA Registers and Offsets (Continued) EXCA REGISTER NAME Global control Reserved Memory window 2 start-address low byte Memory window 2 start-address high byte Memory window 2 end-address low byte Memory window 2 end-address high byte Memory window 2 offset-address low byte Memory window 2 offset-address high byte Reserved Reserved Memory window 3 start-address low byte Memory window 3 start-address high byte Memory window 3 end-address low byte Memory window 3 end-address high byte Memory window 3 offset-address low byte Memory window 3 offset-address high byte Reserved Reserved Memory window 4 start-address low byte Memory window 4 start-address high byte Memory window 4 end-address low byte Memory window 4 end-address high byte Memory window 4 offset-address low byte Memory window 4 offset-address high byte I/O window 0 offset-address low byte I/O window 0 offset-address high byte I/O window 1 offset-address low byte I/O window 1 offset-address high byte Reserved Reserved Reserved Reserved Reserved Reserved Memory window page 0 Memory window page 1 Memory window page 2 Memory window page 3 Memory window page 4 CARDBUS SOCKET ADDRESS OFFSET (HEX) 81E 81F 820 821 822 823 824 825 826 827 828 829 82A 82B 82C 82D 82E 82F 830 831 832 833 834 835 836 837 838 839 83A 83B 83C 83D 83E 83F 840 841 842 843 844 ExCA OFFSET (HEX) 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F - - - - - 5-3 5.1 ExCA Identification and Revision Register The ExCA identification and revision register provides host software with information on 16-bit PC Card support and Intel 82365SL-DF compatibility. This register is read-only or read/write, depending on the setting of bit 5 (SUBSYSRW) in the system control register (PCI offset 80h, see Section 4.29). See Table 5-2 for a complete description of the register contents. Bit Name Type Default R 1 R 0 R/W 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 1 1 R/W 0 0 R/W 0 ExCA identification and revision Register: Type: Offset: Default: BIT 7-6 5-4 SIGNAL IFTYPE RSVD ExCA identification and revision Read-only, Read/Write CardBus socket address + 800h; ExCA offset 00h 84h Table 5-2. ExCA Identification and Revision Register Description TYPE R R/W FUNCTION Interface type. These bits, which are hardwired as 10b, identify the 16-bit PC Card support provided by the PCI4410A device. The PCI4410A device supports both I/O and memory 16-bit PC cards. Reserved. Intel 82365SL-DF revision. This field stores the Intel 82365SL-DF revision supported by the PCI4410A device. Host software can read this field to determine compatibility to the Intel 82365SL-DF register set. Writing 0010b to this field puts the controller in 82365SL mode. This field defaults to 0100b upon PCI4410A reset. 3-0 365REV R/W 5-4 5.2 ExCA Interface Status Register The ExCA interface status register provides information on the current status of the PC Card interface. An X in the default bit value indicates that the value of the bit after reset depends on the state of the PC Card interface. See Table 5-3 for a complete description of the register contents. Bit Name Type Default R 0 R 0 R X 7 6 5 4 R X 3 R X 2 R X 1 R X 0 R X ExCA interface status Register: Type: Offset: Default: BIT 7 SIGNAL RSVD ExCA interface status Read-only CardBus socket address + 801h; ExCA offset 01h 00XX XXXXb Table 5-3. ExCA Interface Status Register Description TYPE R Reserved. Bit 7 returns 0 when read. Card Power. Bit 6 indicates the current power status of the PC Card socket. This bit reflects how the ExCA power control register (ExCA offset 02h, see Section 5.3) is programmed. Bit 6 is encoded as: 0 = VCC and VPP to the socket turned off (default) 1 = VCC and VPP to the socket turned on Ready. Bit 5 indicates the current status of the READY signal at the PC Card interface. 0 = PC Card not ready for data transfer 1 = PC Card ready for data transfer Card write protect. Bit 4 indicates the current status of WP at the PC Card interface. This signal reports to the PCI4410A device whether or not the memory card is write protected. Furthermore, write protection for an entire PCI4410A 16-bit memory window is available by setting the appropriate bit in the ExCA memory window offset-address high-byte register (see Section 5.18). 0 = WP is 0. PC Card is read/write. 1 = WP is 1. PC Card is read-only. Card detect 2. Bit 3 indicates the status of CD2 at the PC Card interface. Software can use this and bit 2 (CDETECT1) to determine if a PC Card is fully seated in the socket. 0 = CD2 is 1. No PC Card is inserted. 1 = CD2 is 0. PC Card is at least partially inserted. Card detect 1. Bit 2 indicates the status of CD1 at the PC Card interface. Software can use this and bit 3 (CDETECT2) to determine if a PC Card is fully seated in the socket. 0 = CD1 is 1. No PC Card is inserted. 1 = CD1 is 0. PC Card is at least partially inserted. Battery voltage detect. When a 16-bit memory card is inserted, the field indicates the status of the battery voltage detect signals (BVD1, BVD2) at the PC Card interface, where bit 1 reflects the BVD2 status and bit 0 reflects BVD1. 00 = Battery dead 01 = Battery dead 10 = Battery low; warning 11 = Battery good When a 16-bit I/O card is inserted, this field indicates the status of SPKR (bit 1) and STSCHG (bit 0) at the PC Card interface. In this case, the two bits in this field directly reflect the current state of these card outputs. FUNCTION 6 CARDPWR R 5 READY R 4 CARDWP R 3 CDETECT2 R 2 CDETECT1 R 1-0 BVDSTAT R 5-5 5.3 ExCA Power Control Register The ExCA power control register provides PC Card power control. Bit 7 (COE) of this register controls the 16-bit output enables on the socket interface, and can be used for power management in 16-bit PC Card applications. The PCI4410A device supports both the 82365SL and 82365SL-DF register models. Bits 3-0 (365REV filed) of the ExCA identification and revision register (ExCA offset 00h, see Section 5.1) control which register model is supported. See Table 5-4 and Table 5-5 for a complete description of the register contents. 5.3.1 Bit Name Type Default Intel 82365SL Support Mode 7 R/W 0 6 R 0 5 R/W 0 4 R/W 0 3 R 0 2 R 0 1 R/W 0 0 R/W 0 ExCA power control Register: Type: Offset: Default: BIT SIGNAL ExCA power control Read-only, Read/Write CardBus socket address + 802h; ExCA offset 02h 00h Table 5-4. ExCA Power Control Register 82365SL Support Description TYPE FUNCTION Card output enable. Bit 7 controls the state of all of the 16-bit outputs on the PCI4410A device. This bit is encoded as: 0 = 16-bit PC Card outputs disabled (default) 1 = 16-bit PC Card outputs enabled Reserved. Bit 6 returns 0 when read. Auto power switch enable. This bit is enabled by bit 7 of the system control register (PCI offset 80h, see Section 4.29). 0 = Automatic socket power switching based on card detects is disabled. 1 = Automatic socket power switching based on card detects is enabled. PC Card power enable. 0 = VCC = VPP1 = VPP2 = No connection 1 = VCC is enabled and controlled by bit 2 (ExCAPower) of the system control register (PCI offset 80h, see Section 4.29), VPP1 and VPP2 are controlled according to bits 1-0 (EXCAVPP field). Reserved. Bits 3 and 2 return 0s when read. PC Card VPP power control. Bits 1 and 0 are used to request changes to card VPP. The PCI4410A device ignores this field unless VCC to the socket is enabled (that is, 5 V or 3.3 V). This field is encoded as: 00 = No connection (default) 01 = VCC 10 = 12 V 11 = Reserved 7 COE R/W 6 RSVD R 5 AUTOPWRSWEN R/W 4 CAPWREN R/W 3-2 RSVD R 1-0 EXCAVPP R/W 5-6 5.3.2 Bit Name Type Default Intel 82365SL-DF Support Mode 7 R/W 0 6 R 0 5 R 0 4 R/W 0 3 R/W 0 2 R 0 1 R/W 0 0 R/W 0 ExCA power control Register: Type: Offset: Default: BIT SIGNAL ExCA power control Read-only, Read/Write CardBus socket address + 802h; ExCA offset 02h 00h TYPE FUNCTION Card output enable. Bit 7 controls the state of all of the 16-bit outputs on the PCI4410A device. This bit is encoded as: 0 = 16-bit PC Card outputs disabled (default) 1 = 16-bit PC Card outputs enabled Reserved. Bits 6 and 5 return 0s when read. VCC. Bits 4 and 3 are used to request changes to card VCC. This field is encoded as: 00 = 0 V (default) 01 = 0 V reserved 10 = 5 V 11 = 3 V Reserved. Bit 2 returns 0 when read. VPP. Bits 1 and 0 are used to request changes to card VPP. The PCI4410A device ignores this field unless VCC to the socket is enabled. This field is encoded as: 00 = No connection (default) 01 = VCC 10 = 12 V 11 = Reserved Table 5-5. ExCA Power Control Register 82365SL-DF Support Description 7 COE R/W 6-5 RSVD R 4-3 EXCAVCC R/W 2 RSVD R 1-0 EXCAVPP R/W 5-7 5.4 ExCA Interrupt and General Control Register The ExCA interrupt and general control register controls interrupt routing for I/O interrupts, as well as other critical 16-bit PC Card functions. See Table 5-6 for a complete description of the register contents. Bit Name Type Default R/W 0 R/W 0 R/W 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 ExCA interrupt and general control Register: Type: Offset: Default: BIT 7 SIGNAL RINGEN ExCA interrupt and general control Read/Write CardBus socket address + 803h; ExCA offset 03h 00h Table 5-6. ExCA Interrupt and General Control Register Description TYPE R/W FUNCTION Card ring indicate enable. Bit 7 enables the ring indicate function of BVD1/RI. This bit is encoded as: 0 = Ring indicate disabled (default) 1 = Ring indicate enabled Card reset. Bit 6 controls the 16-bit PC Card RESET, and allows host software to force a card reset. Bit 6 affects 16-bit cards only. This bit is encoded as: 0 = RESET signal asserted (default) 1 = RESET signal deasserted Card type. Bit 5 indicates the PC card type. This bit is encoded as: 0 = Memory PC Card installed (default) 1 = I/O PC Card installed PCI Interrupt CSC routing enable bit. When bit 4 is set (high), the card status change interrupts are routed to PCI interrupts. When low, the card status-change interrupts are routed using bits 7-4 (CSCSELECT field) in the ExCA card status-change-interrupt configuration register (ExCA offset 05h, see Section 5.6). This bit is encoded as: 0 = CSC interrupts are routed by ExCA registers (default). 1 = CSC interrupts are routed to PCI interrupts. Card interrupt select for I/O PC Card functional interrupts. Bits 3-0 select the interrupt routing for I/O PC Card functional interrupts. This field is encoded as: 0000 = No interrupt routing (default) . CSC interrupts routed to PCI interrupts. These bit settings, along with bit 4 (CSCROUTE), are combined through an OR function for backwards compatibility. 0001 = IRQ1 enabled 0010 = SMI enabled 0011 = IRQ3 enabled 0100 = IRQ4 enabled 0101 = IRQ5 enabled 0100 = IRQ6 enabled 0111 = IRQ7 enabled 1000 = IRQ8 enabled 1001 = IRQ9 enabled 1010 = IRQ10 enabled 1011 = IRQ11 enabled 1100 = IRQ12 enabled 1101 = IRQ13 enabled 1110 = IRQ14 enabled 1111 = IRQ15 enabled 6 RESET R/W 5 CARDTYPE R/W 4 CSCROUTE R/W 3-0 INTSELECT R/W 5-8 5.5 ExCA Card Status-Change Register The ExCA card status-change register controls interrupt routing for I/O interrupts, as well as other critical 16-bit PC Card functions. The register enables these interrupt sources to generate an interrupt to the host. When the interrupt source is disabled, the corresponding bit in this register always reads 0. When an interrupt source is enabled, the corresponding bit in this register is set to indicate that the interrupt source is active. After generating the interrupt to the host, the interrupt service routine must read this register to determine the source of the interrupt. The interrupt service routine is responsible for resetting the bits in this register as well. Resetting a bit is accomplished by one of two methods: a read of this register or an explicit writeback of 1 to the status bit. The choice of these two methods is based on bit 2 (interrupt flag clear mode select) in the ExCA global control register (ExCA offset 1Eh, see Section 5.22). See Table 5-7 for a complete description of the register contents. Bit Name Type Default R 0 R 0 R 0 7 6 5 4 R 0 3 R 0 2 R 0 1 R 0 0 R 0 ExCA card status-change Register: Type: Offset: Default: BIT 7-4 SIGNAL RSVD ExCA card status-change Read-only CardBus socket address + 804h; ExCA offset 04h 00h Table 5-7. ExCA Card Status-Change Register Description TYPE R Reserved. Bits 7-4 return 0s when read. Card detect change. Bit 3 indicates whether a change on CD1 or CD2 occurred at the PC Card interface. This bit is encoded as: 0 = No change is detected on either CD1 or CD2. 1 = Change is detected on either CD1 or CD2. Ready change. When a 16-bit memory is installed in the socket, bit 2 includes whether the source of a PCI4410A interrupt was due to a change on READY at the PC Card interface, indicating that the PC Card is now ready to accept new data. This bit is encoded as: 0 = No low-to-high transition is detected on READY (default). 1 = Detected low-to-high transition on READY When a 16-bit I/O card is installed, bit 2 is always 0. Battery warning change. When a 16-bit memory card is installed in the socket, bit 1 indicates whether the source of a PCI4410A interrupt was due to a battery-low warning condition. This bit is encoded as: 0 = No battery warning condition (default) 1 = Detected battery warning condition When a 16-bit I/O card is installed, bit 1 is always 0. Battery dead or status change. When a 16-bit memory card is installed in the socket, bit 0 indicates whether the source of a PCI4410A interrupt was due to a battery-dead condition. This bit is encoded as: 0 = STSCHG is deasserted (default). 1 = STSCHG is asserted. Ring indicate. When an I/O card is installed in the socket and the PCI4410A device is configured for ring-indicate operation, bit 0 indicates the status of RI. FUNCTION 3 CDCHANGE R 2 READYCHANGE R 1 BATWARN R 0 BATDEAD//RI R 5-9 5.6 ExCA Card Status-Change-Interrupt Configuration Register The ExCA card status-change-interrupt configuration register controls interrupt routing for card status-change interrupts, as well as masking CSC interrupt sources. See Table 5-8 for a complete description of the register contents. Bit Name Type Default R/W 0 R/W 0 R/W 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 ExCA status-change-interrupt configuration Register: Type: Offset: Default: BIT SIGNAL ExCA card status-change-interrupt configuration Read/Write CardBus socket address + 805h; ExCA offset 05h 00h TYPE FUNCTION Interrupt select for card status change. Bits 7-4 select the interrupt routing for card status change interrupts. 0000 = CSC interrupts routed to PCI interrupts if bit 5 (CSC) of the diagnostic register (PCI offset 93h, see Section 4.36) is set to 1. In this case bit 4 (CSCROUTE) of the ExCA interrupt and general control register is a "don't care" (ExCA offset 03h, see Section 5.4). This is the default setting. 0000 = No ISA interrupt routing if bit 5 (CSC) of the diagnostic register is set to 0 (PCI offset 93h, see Section 4.36). In this case, CSC interrupts are routed to PCI interrupts by setting bit 4 (CSCROUTE) of the ExCA interrupt and general control register (ExCA offset 03h, see Section 5.4) to 1. Table 5-8. ExCA Card Status-Change-Interrupt Configuration Register Description 7-4 CSCSELECT R/W This field is encoded as: 0000 = No interrupt routing (default) 0001 = IRQ1 enabled 0010 = SMI enabled 0011 = IRQ3 enabled 0100 = IRQ4 enabled 0101 = IRQ5 enabled 0110 = IRQ6 enabled 0111 = IRQ7 enabled 1000 = IRQ8 enabled 1001 = IRQ9 enabled 1010 = IRQ10 enabled 1011 = IRQ11 enabled 1100 = IRQ12 enabled 1101 = IRQ13 enabled 1110 = IRQ14 enabled 1111 = IRQ15 enabled 3 CDEN R/W Card detect enable. Bit 3 enables interrupts on CD1 or CD2 changes. This bit is encoded as: 0 = Disables interrupts on CD1 or CD2 line changes (default) 1 = Enables interrupts on CD1 or CD2 line changes Ready enable. Bit 2 enables/disables a low-to-high transition on PC Card READY to generate a host interrupt. This interrupt source is considered a card status change. This bit is encoded as: 0 = Disables host interrupt generation (default) 1 = Enables host interrupt generation Battery warning enable. Bit 1 enables/disables a battery warning condition to generate a CSC interrupt. This bit is encoded as: 0 = Disables host interrupt generation (default) 1 = Enables host interrupt generation Battery-dead enable. Bit 0 enables/disables the generation of a CSC interrupt for a battery-dead condition (16-bit memory PC card) or assertion of the STSCHG signal (16-bit I/O PC card). 0 = Disables host interrupt generation (default) 1 = Enables host interrupt generation 2 READYEN R/W 1 BATWARNEN R/W 0 BATDEADEN R/W 5-10 5.7 ExCA Address Window Enable Register The ExCA address window enable register enables/disables the memory and I/O windows to the 16-bit PC Card. By default, all windows to the card are disabled. The PCI4410A device does not acknowledge PCI memory or I/O cycles to the card if the corresponding enable bit in this register is 0, regardless of the programming of the memory or I/O window start/end/offset address registers. See Table 5-9 for a complete description of the register contents. Bit Name Type Default R/W 0 R/W 0 R 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 ExCA address window enable Register: Type: Offset: Default: BIT 7 SIGNAL IOWIN1EN ExCA address window enable Read-only, Read/Write CardBus socket address + 806h; ExCA offset 06h 00h Table 5-9. ExCA Address Window Enable Register Description TYPE R/W FUNCTION I/O window 1 enable. Bit 7 enables/disables I/O window 1 for the PC Card. This bit is encoded as: 0 = I/O window 1 is disabled (default). 1 = I/O window 1 is enabled. I/O window 0 enable. Bit 6 enables/disables I/O window 0 for the PC Card. This bit is encoded as: 0 = I/O window 0 is disabled (default). 1 = I/O window 0 is enabled. Reserved. Bit 5 returns 0 when read. Memory window 4 enable. Bit 4 enables/disables memory window 4 for the PC Card. This bit is encoded as: 0 = Memory window 4 is disabled (default). 1 = Memory window 4 is enabled. Memory window 3 enable. Bit 3 enables/disables memory window 3 for the PC Card. This bit is encoded as: 0 = Memory window 3 is disabled (default). 1 = Memory window 3 is enabled. Memory window 2 enable. Bit 2 enables/disables memory window 2 for the PC Card. This bit is encoded as: 0 = Memory window 2 is disabled (default). 1 = Memory window 2 is enabled. Memory window 1 enable. Bit 1 enables/disables memory window 1 for the PC Card. This bit is encoded as: 0 = Memory window 1 is disabled (default). 1 = Memory window 1 is enabled. Memory window 0 enable. Bit 0 enables/disables memory window 0 for the PC Card. This bit is encoded as: 0 = Memory window 0 is disabled (default). 1 = Memory window 0 is enabled. 6 5 IOWIN0EN RSVD R/W R 4 MEMWIN4EN R/W 3 MEMWIN3EN R/W 2 MEMWIN2EN R/W 1 MEMWIN1EN R/W 0 MEMWIN0EN R/W 5-11 5.8 ExCA I/O Window Control Register The ExCA I/O window control register contains parameters related to I/O window sizing and cycle timing. See Table 5-10 for a complete description of the register contents. Bit Name Type Default R/W 0 R/W 0 R/W 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 ExCA I/O window control Register: Type: Offset: Default: ExCA I/O window control Read/Write CardBus socket address + 807h; ExCA offset 07h 00h Table 5-10. ExCA I/O Window Control Register Description BIT SIGNAL TYPE FUNCTION I/O window 1 wait state. Bit 7 controls the I/O window 1 wait state for 16-bit I/O accesses. Bit 7 has no effect on 8-bit accesses. This wait-state timing emulates the ISA wait state used by the Intel 82365SL-DF PCMCIA controller. This bit is encoded as: 0 = 16-bit cycles have standard length (default). 1 = 16-bit cycles are extended by one equivalent ISA wait state. I/O window 1 zero wait state. Bit 6 controls the I/O window 1 wait state for 8-bit I/O accesses. Bit 6 has no effect on 16-bit accesses. This wait-state timing emulates the ISA wait state used by the Intel 82365SL-DF PCMCIA controller. This bit is encoded as: 0 = 8-bit cycles have standard length (default). 1 = 8-bit cycles are reduced to equivalent of three ISA cycles. I/O window 1 IOIS16 source. Bit 5 controls the I/O window 1 automatic data-sizing feature that uses IOIS16 from the PC Card to determine the data width of the I/O data transfer. This bit is encoded as: 0 = Window data width determined by DATASIZE1, bit 4 (default). 1 = Window data width determined by IOIS16. I/O window 1 data size. Bit 4 controls the I/O window 1 data size. Bit 4 is ignored if bit 5 (IOSIS16W1) is set. This bit is encoded as: 0 = Window data width is 8 bits (default). 1 = Window data width is 16 bits. I/O window 0 wait state. Bit 3 controls the I/O window 0 wait state for 16-bit I/O accesses. Bit 3 has no effect on 8-bit accesses. This wait-state timing emulates the ISA wait state used by the Intel 82365SL-DF PCMCIA controller. This bit is encoded as: 0 = 16-bit cycles have standard length (default). 1 = 16-bit cycles are extended by one equivalent ISA wait state. I/O window 0 zero wait state. Bit 2 controls the I/O window 0 wait state for 8-bit I/O accesses. Bit 2 has no effect on 16-bit accesses. This wait-state timing emulates the ISA wait state used by the Intel 82365SL-DF PCMCIA controller. This bit is encoded as: 0 = 8-bit cycles have standard length (default). 1 = 8-bit cycles are reduced to equivalent of three ISA cycles. I/O window 0 IOIS16 source. Bit 1 controls the I/O window 0 automatic data sizing feature that uses IOIS16 from the PC Card to determine the data width of the I/O data transfer. This bit is encoded as: 0 = Window data width is determined by DATASIZE0, bit 0 (default). 1 = Window data width is determined by IOIS16. I/O window 0 data size. Bit 0 controls the I/O window 0 data size. Bit 0 is ignored if bit 1 (IOSIS16W0) is set. This bit is encoded as: 0 = Window data width is 8 bits (default). 1 = Window data width is 16 bits. 7 WAITSTATE1 R/W 6 ZEROWS1 R/W 5 IOSIS16W1 R/W 4 DATASIZE1 R/W 3 WAITSTATE0 R/W 2 ZEROWS0 R/W 1 IOSIS16W0 R/W 0 DATASIZE0 R/W 5-12 5.9 ExCA I/O Windows 0 and 1 Start-Address Low-Byte Registers These registers contain the low byte of the 16-bit I/O window start address for I/O windows 0 and 1. The 8 bits of these registers correspond to the lower 8 bits of the start address. Bit Name Type Default R/W 0 R/W 0 7 6 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 ExCA I/O windows 0 and 1 start-address low byte Register: Offset: Register: Offset: Type: Default: ExCA I/O window 0 start-address low byte CardBus socket address + 808h; ExCA offset 08h ExCA I/O window 1 start-address low byte CardBus socket address + 80Ch; ExCA offset 0Ch Read/Write 00h 5.10 ExCA I/O Windows 0 and 1 Start-Address High-Byte Registers These registers contain the high byte of the 16-bit I/O window start address for I/O windows 0 and 1. The 8 bits of these registers correspond to the upper 8 bits of the start address. Bit Name Type Default R/W 0 R/W 0 7 6 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 ExCA I/O windows 0 and 1 start-address high byte Register: Offset: Register: Offset: Type: Default: ExCA I/O window 0 start-address high byte CardBus socket address + 809h; ExCA offset 09h ExCA I/O window 1 start-address high byte CardBus socket address + 80Dh; ExCA offset 0Dh Read/write 00h 5-13 5.11 ExCA I/O Windows 0 and 1 End-Address Low-Byte Registers These registers contain the low byte of the 16-bit I/O window end address for I/O windows 0 and 1. The 8 bits of these registers correspond to the lower 8 bits of the end address. Bit Name Type Default R/W 0 R/W 0 7 6 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 ExCA I/O windows 0 and 1 end-address low byte Register: Offset: Register: Offset: Type: Default: ExCA I/O window 0 end-address low byte CardBus socket address + 80Ah; ExCA offset 0Ah ExCA I/O window 1 end-address low byte CardBus socket address + 80Eh; ExCA offset 0Eh Read/Write 00h 5.12 ExCA I/O Windows 0 and 1 End-Address High-Byte Registers These registers contain the high byte of the 16-bit I/O window end address for I/O windows 0 and 1. The 8 bits of these registers correspond to the upper 8 bits of the end address. Bit Name Type Default R/W 0 R/W 0 7 6 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 ExCA I/O windows 0 and 1 end-address high byte Register: Offset: Register: Offset: Type: Default: ExCA I/O window 0 end-address high byte CardBus socket address + 80Bh; ExCA offset 0Bh ExCA I/O window 1 end-address high byte CardBus socket address + 80Fh; ExCA offset 0Fh Read/write 00h 5-14 5.13 ExCA Memory Windows 0-4 Start-Address Low-Byte Registers These registers contain the low byte of the 16-bit memory window start address for memory windows 0, 1, 2, 3, and 4. The 8 bits of these registers correspond to bits A19-A12 of the start address. Bit Name Type Default R/W 0 R/W 0 7 6 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 ExCA memory windows 0-4 start-address low byte Register: Offset: Register: Offset: Register: Offset: Register: Offset: Register: Offset: Type: Default: ExCA memory window 0 start-address low byte CardBus socket address + 810h; ExCA offset 10h ExCA memory window 1 start-address low byte CardBus socket address + 818h; ExCA offset 18h ExCA memory window 2 start-address low byte CardBus socket address + 820h; ExCA offset 20h ExCA memory window 3 start-address low byte CardBus socket address + 828h; ExCA offset 28h ExCA memory window 4 start-address low byte CardBus socket address + 830h; ExCA offset 30h Read/Write 00h 5-15 5.14 ExCA Memory Windows 0-4 Start-Address High-Byte Registers These registers contain the high nibble of the 16-bit memory window start address for memory windows 0, 1, 2, 3, and 4. The lower 4 bits of these registers correspond to bits A23-A20 of the start address. In addition, the memory window data width and wait states are set in this register. See Table 5-11 for a complete description of the register contents. Bit Name Type Default R/W 0 R/W 0 7 6 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 ExCA memory windows 0-4 start-address high byte Register: Offset: Register: Offset: Register: Offset: Register: Offset: Register: Offset: Type: Default: BIT 7 SIGNAL DATASIZE ExCA memory window 0 start-address high byte CardBus socket address + 811h; ExCA offset 11h ExCA memory window 1 start-address high byte CardBus socket address + 819h; ExCA offset 19h ExCA memory window 2 start-address high byte CardBus socket address + 821h; ExCA offset 21h ExCA memory window 3 start-address high byte CardBus socket address + 829h; ExCA offset 29h ExCA memory window 4 start-address high byte CardBus socket address + 831h; ExCA offset 31h Read/Write 00h TYPE R/W FUNCTION Data size. Bit 7 controls the memory window data width. This bit is encoded as: 0 = Window data width is 8 bits (default). 1 = Window data width is 16 bits. Zero wait state. Bit 6 controls the memory window wait state for 8- and 16-bit accesses. This wait-state timing emulates the ISA wait state used by the Intel 82365SL-DF PCMCIA controller. This bit is encoded as: 0 = 8- and 16-bit cycles have standard length (default). 1 = 8-bit cycles are reduced to equivalent of three ISA cycles. 16-bit cycles are reduced to equivalent of two ISA cycles. Scratch-pad bits. Bits 5 and 4 have no effect on memory window operation. Start-address high nibble. Bits 3-0 represent the upper address bits A23-A20 of the memory window start address. Table 5-11. ExCA Memory Windows 0-4 Start-Address High-Byte Registers Description 6 ZEROWAIT R/W 5-4 3-0 SCRATCH STAHN R/W R/W 5-16 5.15 ExCA Memory Windows 0-4 End-Address Low-Byte Registers These registers contain the low byte of the 16-bit memory window end address for memory windows 0, 1, 2, 3, and 4. The 8 bits of these registers correspond to bits A19-A12 of the end address. Bit Name Type Default R/W 0 R/W 0 7 6 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 ExCA memory windows 0-4 end-address low byte Register: Offset: Register: Offset: Register: Offset: Register: Offset: Register: Offset: Type: Default: ExCA memory window 0 end-address low byte CardBus socket address + 812h; ExCA offset 12h ExCA memory window 1 end-address low byte CardBus socket address + 81Ah; ExCA offset 1Ah ExCA memory window 2 end-address low byte CardBus socket address + 822h; ExCA offset 22h ExCA memory window 3 end-address low byte CardBus socket address + 82Ah; ExCA offset 2Ah ExCA memory window 4 end-address low byte CardBus socket address + 832h; ExCA offset 32h Read/Write 00h 5-17 5.16 ExCA Memory Windows 0-4 End-Address High-Byte Registers These registers contain the high nibble of the 16-bit memory window end address for memory windows 0, 1, 2, 3, and 4. The lower 4 bits of these registers correspond to bits A23-A20 of the end address. In addition, the memory window wait states are set in this register. See Table 5-12 for a complete description of the register contents. Bit Name Type Default R/W 0 R/W 0 7 6 5 R 0 4 R 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 ExCA memory windows 0-4 end-address high byte Register: Offset: Register: Offset: Register: Offset: Register: Offset: Register: Offset: Type: Default: BIT 7-6 5-4 3-0 SIGNAL MEMWS RSVD ENDHN ExCA memory window 0 end-address high byte CardBus socket address + 813h; ExCA offset 13h ExCA memory window 1 end-address high byte CardBus socket address + 81Bh; ExCA offset 1Bh ExCA memory window 2 end-address high byte CardBus socket address + 823h; ExCA offset 23h ExCA memory window 3 end-address high byte CardBus socket address + 82Bh; ExCA offset 2Bh ExCA memory window 4 end-address high byte CardBus socket address + 833h; ExCA offset 33h Read-only, Read/Write 00h TYPE R/W R R/W FUNCTION Wait state. Bits 7 and 6 specify the number of equivalent ISA wait states to be added to 16-bit memory accesses. The number of wait states added is equal to the binary value of these two bits. Reserved. Bits 5 and 4 return 0s when read. End-address high nibble. Bits 3-0 represent the upper address bits A23-A20 of the memory window end address. Table 5-12. ExCA Memory Windows 0-4 End-Address High-Byte Registers Description 5-18 5.17 ExCA Memory Windows 0-4 Offset-Address Low-Byte Registers These registers contain the low byte of the 16-bit memory window offset address for memory windows 0, 1, 2, 3, and 4. The 8 bits of these registers correspond to bits A19-A12 of the offset address. Bit Name Type Default R/W 0 R/W 0 7 6 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 ExCA memory windows 0-4 offset-address low byte Register: Offset: Register: Offset: Register: Offset: Register: Offset: Register: Offset: Type: Default: ExCA memory window 0 offset-address low byte CardBus socket address + 814h; ExCA offset 14h ExCA memory window 1 offset-address low byte CardBus socket address + 81Ch; ExCA offset 1Ch ExCA memory window 2 offset-address low byte CardBus socket address + 824h; ExCA offset 24h ExCA memory window 3 offset-address low byte CardBus socket address + 82Ch; ExCA offset 2Ch ExCA memory window 4 offset-address low byte CardBus socket address + 834h; ExCA offset 34h Read/Write 00h 5-19 5.18 ExCA Memory Windows 0-4 Offset-Address High-Byte Registers These registers contain the high 6 bits of the 16-bit memory window offset address for memory windows 0, 1, 2, 3, and 4. The lower 6 bits of these registers correspond to bits A25-A20 of the offset address. In addition, the write protection and common/attribute memory configurations are set in this register. See Table 5-13 for a complete description of the register contents. Bit Name Type Default R/W 0 R/W 0 7 6 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 ExCA memory windows 0-4 offset-address high byte Register: Offset: Register: Offset: Register: Offset: Register: Offset: Register: Offset: Type: Default: BIT SIGNAL ExCA memory window 0 offset-address high byte CardBus socket address + 815h; ExCA offset 15h ExCA memory window 1 offset-address high byte CardBus socket address + 81Dh; ExCA offset 1Dh ExCA memory window 2 offset-address high byte CardBus socket address + 825h; ExCA offset 25h ExCA memory window 3 offset-address high byte CardBus socket address + 82Dh; ExCA offset 2Dh ExCA memory window 4 offset-address high byte CardBus socket address + 835h; ExCA offset 35h Read/Write 00h TYPE FUNCTION Write protect. Bit 7 specifies whether write operations to this memory window are enabled. This bit is encoded as: 0 = Write operations are allowed (default). 1 = Write operations are not allowed. Bit 6 specifies whether this memory window is mapped to card attribute or common memory. This bit is encoded as: 0 = Memory window is mapped to common memory (default). 1 = Memory window is mapped to card attribute memory. Offset-address high byte. Bits 5-0 represent the upper address bits A25-A20 of the memory window offset address. Table 5-13. ExCA Memory Windows 0-4 Offset-Address High-Byte Registers Description 7 WINWP R/W 6 REG R/W 5-0 OFFHB R/W 5-20 5.19 ExCA I/O Windows 0 and 1 Offset-Address Low-Byte Registers These registers contain the low byte of the 16-bit I/O window offset address for I/O windows 0 and 1. The 8 bits of these registers correspond to the lower 8 bits of the offset address, and bit 0 always is 0. Bit Name Type Default R/W 0 R/W 0 7 6 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R 0 ExCA I/O windows 0 and 1 offset-address low byte Register: Offset: Register: Offset: Type: Default: ExCA I/O window 0 offset-address low byte CardBus socket address + 836h; ExCA offset 36h ExCA I/O window 1 offset-address low byte CardBus socket address + 838h; ExCA offset 38h Read-only, Read/Write 00h 5.20 ExCA I/O Windows 0 and 1 Offset-Address High-Byte Registers These registers contain the high byte of the 16-bit I/O window offset address for I/O windows 0 and 1. The 8 bits of these registers correspond to the upper 8 bits of the offset address. Bit Name Type Default R/W 0 R/W 0 7 6 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 ExCA I/O windows 0 and 1 offset-address high byte Register: Offset: Register: Offset: Type: Default: ExCA I/O window 0 offset-address high byte CardBus socket address + 837h; ExCA offset 37h ExCA I/O window 1 offset-address high byte CardBus socket address + 839h; ExCA offset 39h Read/Write 00h 5-21 5.21 ExCA I/O Card-Detect and General Control Register The ExCA card-detect and general control register controls how the ExCA registers for the socket respond to card removal, and reports the status of VS1 and VS2 at the PC Card interface. See Table 5-14 for a complete description of the register contents. Bit Name Type Default R X R X R/W 0 7 6 5 4 R/W 0 3 R 0 2 R 0 1 R/W 0 0 R 0 ExCA I/O card detect and general control Register: Type: Offset: Default: ExCA card-detect and general control Read-only, Read/Write CardBus socket address + 816h; ExCA offset 16h XX00 0000b Table 5-14. ExCA I/O Card-Detect and General Control Register Description BIT SIGNAL TYPE FUNCTION VS2 state. Bit 7 reports the current state of VS2 at the PC Card interface and, therefore, has no default value. 0 = VS2 low 1 = VS2 high VS1 state. Bit 6 reports the current state of VS1 at the PC Card interface and, therefore, has no default value. 0 = VS1 low 1 = VS1 high Software card-detect interrupt. If bit 3 (CDEN) in the ExCA card status-change-interrupt configuration register (ExCA offset 05h, see Section 5.6) is set to 1, writing a 1 to bit 5 causes a card-detect card-status change interrupt for the associated card socket. If bit 3 (CDEN) in the ExCA card status-change-interrupt configuration register (see Section 5.6) is cleared to 0, writing a 1 to bit 5 has no effect. A read operation of this bit always returns 0. Card-detect resume enable. If bit 4 is set to 1, once a card detect change has been detected on CD1 and CD2 inputs, RI_OUT goes from high to low. RI_OUT remains low until bit 0 (card status change) in the ExCA card status-change register (ExCA offset 04h, see Section 5.5) is cleared. If this bit is a 0, the card-detect resume functionality is disabled. 0 = Card-detect resume disabled (default) 1 = Card-detect resume enabled Reserved. Bits 3 and 2 return 0s when read. Register configuration on card removal. Bit 1 controls how the ExCA registers for the socket react to a card removal event. This bit is encoded as: 0 = No change to ExCA registers on card removal (default) 1 = Reset ExCA registers on card removal Reserved. Bit 0 returns 0 when read. 7 VS2STAT R 6 VS1STAT R 5 SWCSC R/W 4 CDRESUME R/W 3-2 RSVD R 1 REGCONFIG R/W 0 RSVD R 5-22 5.22 ExCA Global Control Register The ExCA global control register controls the PC Card socket. The host interrupt mode bits in this register are retained for Intel 82365SL-DF compatibility. See Table 5-15 for a complete description of the register contents. Bit Name Type Default R 0 R 0 R 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 ExCA global control Register: Type: Offset: Default: BIT 7-5 4 SIGNAL RSVD No function ExCA global control Read-only, Read/Write CardBus socket address + 81Eh; ExCA offset 1Eh 00h Table 5-15. ExCA Global Control Register Description TYPE R R/W Reserved. Bits 7-5 return 0s when read. This bit has no assigned function. Level/edge interrupt mode select. Bit 3 selects the signaling mode for the PCI4410A host interrupt. This bit is encoded as: 0 = Host interrupt is edge mode (default). 1 = Host interrupt is level mode. Interrupt flag clear mode select. Bit 2 selects the interrupt flag clear mechanism for the flags in the ExCA card status-change register (ExCA offset 04h, see Section 5.5). This bit is encoded as: 0 = Interrupt flags are cleared by read of CSC register (default). 1 = Interrupt flags are cleared by explicit writeback of 1. Card status change level/edge mode select. Bit 1 selects the signaling mode for the PCI4410A host interrupt for card status changes. This bit is encoded as: 0 = Host interrupt is edge mode (default). 1 = Host interrupt is level mode. Power-down mode select. When bit 0 is set to 1, the PCI4410A device is in power-down mode. In power-down mode, the PCI4410A card outputs are high impedance until an active cycle is executed on the card interface. Following an active cycle, the outputs are again high impedance. The PCI4410A device still receives DMA requests, functional interrupts, and/or card status change interrupts; however, an actual card access is required to wake up the interface. This bit is encoded as: 0 = Power-down mode is disabled (default). 1 = Power-down mode is enabled. FUNCTION 3 INTMODE R/W 2 IFCMODE R/W 1 CSCMODE R/W 0 PWRDWN R/W 5.23 ExCA Memory Windows 0-4 Page Register The upper 8 bits of a 4-byte PCI memory address are compared to the contents of this register when addresses for 16-bit memory windows are decoded. Each window has its own page register, all of which default to 00h. By programming this register to a nonzero value, host software can locate 16-bit memory windows in any 1 of 256 16-Mbyte regions in the 4-Gbyte PCI address space. These registers are accessible only when the ExCA registers are memory-mapped; that is, these registers cannot be accessed using the index/data I/O scheme. Bit Name Type Default R/W 0 R/W 0 R/W 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 ExCA memory windows 0-4 page Register: Type: Offset: Default: ExCA memory windows 0-4 page Read/Write CardBus socket address + 840h, 841h, 842h, 843h, 844h 00h 5-23 5-24 6 CardBus Socket Registers The PC Card Standard requires a CardBus socket controller to provide five 32-bit registers that report and control socket-specific functions. The PCI4410A device provides the CardBus socket/ExCA base-address register (PCI offset 10h, see Section 4.12) to locate these CardBus socket registers in PCI memory address space. Each socket has a separate base address register for accessing the CardBus socket registers (see Figure 6-1). Table 6-1 gives the location of the socket registers in relation to the CardBus socket/ExCA base address. The PCI4410A device implements an additional register at offset 20h that provides power-management control for the socket. PCI4410A Configuration Registers Offset Host Memory Space Offset 00h CardBus Socket Registers 20h 800h 16-Bit Legacy-Mode Base Address 44h ExCA Registers 844h CardBus Socket/ExCA Base Address 10h Figure 6-1. Accessing CardBus Socket Registers Through PCI Memory Table 6-1. CardBus Socket Registers REGISTER NAME Socket event Socket mask Socket present state Socket force event Socket control Reserved Reserved Reserved Socket power management OFFSET 00h 04h 08h 0Ch 10h 14h 18h 1Ch 20h 6-1 6.1 Socket Event Register The socket event register indicates a change in socket status has occurred. These bits do not indicate what the change is, only that one has occurred. Software must read the socket present state register (CardBus offset 08h, see Section 6.3) for current status. Each bit in this register can be cleared by writing a 1 to that bit. The bits in this register can be set to a 1 by software by writing a 1 to the corresponding bit in the socket force event register (CardBus offset 0Ch, see Section 6.4). All bits in this register are cleared by PCI reset. They can be set again immediately if, when coming out of PC Card reset, the bridge finds the status unchanged (that is, CSTSCHG is reasserted or card detect still is true). Software must clear this register before enabling interrupts. If it is not cleared when interrupts are enabled, an interrupt is generated (but not masked) based on any bit set. See Table 6-2 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R/C 0 18 R 0 2 R/C 0 17 R 0 1 R/C 0 16 R 0 0 R/C 0 Socket event Socket event Register: Type: Offset: Default: BIT 31-4 3 2 1 SIGNAL RSVD PWREVENT CD2EVENT CD1EVENT Socket event Read-only, Read/Clear CardBus socket address + 00h 0000 0000h Table 6-2. Socket Event Register Description TYPE R R/C R/C R/C Reserved. Bits 31-4 return 0s when read. Power cycle. Bit 3 is set when the PCI4410A device detects that bit 3 (PWRCYCLE) in the socket present state register (CardBus offset 08h, see Section 6.3) has changed state. This bit is cleared by writing a 1. CCD2. Bit 2 is set when the PCI4410A device detects that bit 2 (CDETECT2) in the socket present state register (CardBus offset 08h, see Section 6.3) has changed state. This bit is cleared by writing a 1. CCD1. Bit 1 is set when the PCI4410A device detects that bit 1 (CDETECT1) in the socket present state register (CardBus offset 08h, see Section 6.3) has changed state. This bit is cleared by writing a 1. CSTSCHG. Bit 0 is set when bit 0 (CARDSTS) in the socket present state register (CardBus offset 08h, see Section 6.3) has changed state. For CardBus cards, bit 0 is set on the rising edge of CSTSCHG. For 16-bit PC Cards, bit 0 is set on both transitions of CSTSCHG. This bit is reset by writing a 1. FUNCTION 0 CSTSEVENT R/C 6-2 6.2 Socket Mask Register The socket mask register allows software to control the CardBus card events that generate a status change interrupt. The state of these mask bits does not prevent the corresponding bits from reacting in the socket event register (CardBus offset 00h, see Section 6.1). See Table 6-3 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R/W 0 18 R 0 2 R/W 0 17 R 0 1 R/W 0 16 R 0 0 R/W 0 Socket mask Socket mask Register: Type: Offset: Default: BIT 31-4 SIGNAL RSVD Socket mask Read-only, Read/Write CardBus socket address + 04h 0000 0000h Table 6-3. Socket Mask Register Description TYPE R Reserved. Bits 31-4 return 0s when read. Power cycle. Bit 3 masks bit 3 (PWRCYCLE) in the socket present state register (CardBus offset 08h, see Section 6.3) from causing a status change interrupt. 0 = PWRCYCLE event does not cause CSC interrupt (default). 1 = PWRCYCLE event causes CSC interrupt. Card detect mask. Bits 2 and 1 mask bits 1 and 2 (CDETECT1 and CDETECT2) in the socket present state register (CardBus offset 08h, see Section 6.3) from causing a CSC interrupt. 00 = Insertion/removal does not cause CSC interrupt (default). 01 = Reserved (undefined) 10 = Reserved (undefined) 11 = Insertion/removal causes CSC interrupt. CSTSCHG mask. Bit 0 masks bit 0 (CARDSTS) in the socket present state register (CardBus offset 08h, see Section 6.3) from causing a CSC interrupt. 0 = CARDSTS event does not cause CSC interrupt (default). 1 = CARDSTS event causes CSC interrupt. FUNCTION 3 PWRMASK R/W 2-1 CDMASK R/W 0 CSTSMASK R/W 6-3 6.3 Socket Present State Register The socket present state register reports information about the socket interface. Write transactions to the socket force event register (CardBus offset 0Ch, see Section 6.4) are reflected here, as well as general socket-interface status. Information about PC Card VCC support and card type is updated only at each insertion. Also, note that the PCI4410A device uses CCD1 and CCD2 during card identification, and changes on these signals during this operation are not reflected in this register. See Table 6-4 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 R 0 14 R 1 13 R 1 12 R 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R X 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R 0 18 R 0 2 R X 17 R 0 1 R X 16 R 0 0 R X Socket present state Socket present state Register: Type: Offset: Default: Socket present state Read-only CardBus socket address + 08h 3000 00XXh Table 6-4. Socket Present State Register Description BIT 31 30 SIGNAL YVSOCKET XVSOCKET TYPE R R FUNCTION YV socket. Bit 31 indicates whether or not the socket can supply VCC = Y.Y V to PC Cards. The PCI4410A device does not support Y.Y-V VCC; therefore, this bit is hardwired to 0. XV socket. Bit 30 indicates whether or not the socket can supply VCC = X.X V to PC Cards. The PCI4410A device does not support X.X-V VCC; therefore, this bit is hardwired to 0. 3-V socket. Bit 29 indicates whether or not the socket can supply VCC = 3.3 V to PC Cards. The PCI4410A device does support 3.3-V VCC; therefore, this bit always is set unless overridden by the socket force event register (CardBus offset 0Ch, see Section 6.4). 5-V socket. Bit 28 indicates whether or not the socket can supply VCC = 5 V to PC Cards. The PCI4410A device does support 5-V VCC; therefore, this bit always is set unless overridden by the socket force event register (CardBus offset 0Ch, see Section 6.4). Reserved. Bits 27-14 return 0s when read. YV card. Bit 13 indicates whether or not the PC Card inserted in the socket supports VCC = Y.Y V. XV card. Bit 12 indicates whether or not the PC Card inserted in the socket supports VCC = X.X V. 3-V card. Bit 11 indicates whether or not the PC Card inserted in the socket supports VCC = 3.3 V. 5-V card. Bit 10 indicates whether or not the PC Card inserted in the socket supports VCC = 5 V. Bad VCC request. Bit 9 indicates that the host software has requested that the socket be powered at an invalid voltage. 0 = Normal operation (default) 1 = Invalid VCC request by host software Data lost. Bit 8 indicates that a PC Card removal event may have caused lost data because the cycle did not terminate properly or because write data still resides in the PCI4410A device. 0 = Normal operation (default) 1 = Potential data loss due to card removal Not a card. Bit 7 indicates that an unrecognizable PC Card is inserted in the socket. This bit is not updated until a valid PC Card is inserted into the socket. 0 = Normal operation (default) 1 = Unrecognizable PC Card detected 29 3VSOCKET R 28 27-14 13 12 11 10 5VSOCKET RSVD YVCARD XVCARD 3VCARD 5VCARD R R R R R R 9 BADVCCREQ R 8 DATALOST R 7 NOTACARD R 6-4 Table 6-4. Socket Present State Register Description (Continued) BIT 6 SIGNAL IREQCINT TYPE R FUNCTION READY(IREQ)//CINT. Bit 6 indicates the current status of READY(IREQ)//CINT at the PC Card interface. 0 = READY(IREQ)//CINT low 1 = READY(IREQ)//CINT high CardBus card detected. Bit 5 indicates that a CardBus PC Card is inserted in the socket. This bit is not updated until another card interrogation sequence occurs (card insertion). 16-bit card detected. Bit 4 indicates that a 16-bit PC Card is inserted in the socket. This bit is not updated until another card interrogation sequence occurs (card insertion). Power cycle. Bit 3 indicates that the status of each card powering request. This bit is encoded as: 0 = Socket powered down (default) 1 = Socket powered up CCD2. Bit 2 reflects the current status of CCD2 at the PC Card interface. Changes to this signal during card interrogation are not reflected here. 0 = CCD2 low (PC Card may be present) 1 = CCD2 high (PC Card not present) CCD1. Bit 1 reflects the current status of CCD1 at the PC Card interface. Changes to this signal during card interrogation are not reflected here. 0 = CCD1 low (PC Card may be present) 1 = CCD1 high (PC Card not present) CSTSCHG. Bit 0 reflects the current status of CSTSCHG at the PC Card interface. 0 = CSTSCHG low 1 = CSTSCHG high 5 4 CBCARD 16BITCARD R R 3 PWRCYCLE R 2 CDETECT2 R 1 CDETECT1 R 0 CARDSTS R 6-5 6.4 Socket Force Event Register The socket force event register is used to force changes to the socket event register (CardBus offset 00h, see Section 6.1) and the socket present state register (CardBus offset 08h, see Section 6.3). Bit 14 (CVSTEST) in this register must be written when forcing changes that require card interrogation. See Table 6-5 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R 0 W 0 W 0 W 0 W 0 W 0 W 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 0 8 W 0 23 R 0 7 W 0 22 R 0 6 R 0 21 R 0 5 W 0 20 R 0 4 W 0 19 R 0 3 W 0 18 R 0 2 W 0 17 R 0 1 W 0 16 R 0 0 W 0 Socket force event Socket force event Register: Type: Offset: Default: Socket force event Read-only, Write-only CardBus socket address + 0Ch 0000 0000h Table 6-5. Socket Force Event Register Description BIT 31-15 14 SIGNAL RSVD CVSTEST TYPE R W Reserved. Bits 31-15 return 0s when read. FUNCTION Card VS test. When bit 14 is set, the PCI4410A device re-interrogates the PC Card, updates the socket present state register (CardBus offset 08h, see Section 6.3), and enables the socket control register (CardBus offset 10h, see Section 6.5). Force YV card. Write transactions to bit 13 cause bit 13 (YVCARD) in the socket present state register to be written (CardBus offset 08h, see Section 6.3). When set, this bit disables the socket control register (CardBus offset 10h, see Section 6.5). Force XV card. Write transactions to bit 12 cause bit 12 (XVCARD) in the socket present state register to be written (CardBus offset 08h, see Section 6.3). When set, this bit disables the socket control register (CardBus offset 10h, see Section 6.5). Force 3-V card. Write transactions to bit 11 cause bit 11 (3VCARD) in the socket present state register to be written (CardBus offset 08h, see Section 6.3). When set, this bit disables the socket control register (CardBus offset 10h, see Section 6.5). Force 5-V card. Write transactions to bit 10 cause bit 10 (5VCARD) in the socket present state register to be written (CardBus offset 08h, see Section 6.3). When set, this bit disables the socket control register (CardBus offset 10h, see Section 6.5). Force bad VCC request. Changes to bit 9 (BADVCCREQ) in the socket present state register (CardBus offset 08h, see Section 6.3) can be made by writing to bit 9. Force data lost. Write transactions to bit 8 cause bit 8 (DATALOST) in the socket present state register to be written (CardBus offset 08h, see Section 6.3). Force not a card. Write transactions to bit 7 cause bit 7 (NOTACARD) in the socket present state register to be written (CardBus offset 08h, see Section 6.3). Reserved. Bit 6 returns 0 when read. Force CardBus card. Write transactions to bit 5 cause bit 5 (CBCARD) in the socket present state register to be written (CardBus offset 08h, see Section 6.3). Force 16-bit card. Write transactions to bit 4 cause bit 4 (16BITCARD) in the socket present state register to be written (CardBus offset 08h, see Section 6.3). Force power cycle. Write transactions to bit 3 cause bit 3 (PWREVENT) in the socket event register to be written (CardBus offset 00h, see Section 6.1), and bit 3 (PWRCYCLE) in the socket present state register is unaffected (CardBus offset 08h, see Section 6.3). 13 FYVCARD W 12 FXVCARD W 11 F3VCARD W 10 F5VCARD W 9 8 7 6 5 4 FBADVCCREQ FDATALOST FNOTACARD RSVD FCBCARD F16BITCARD W W W R W W 3 FPWRCYCLE W 6-6 Table 6-5. Socket Force Event Register Description (Continued) BIT 2 SIGNAL FCDETECT2 TYPE W FUNCTION Force CCD2. Write transactions to bit 2 cause bit 2 (CD2EVENT) in the socket event register to be written (CardBus offset 00h, see Section 6.1), and bit 2 (CDETECT2) in the socket present state register is unaffected (CardBus offset 08h, see Section 6.3). Force CCD1. Write transactions to bit 1 cause bit 1 (CD1EVENT) in the socket event register to be written (CardBus offset 00h, see Section 6.1), and bit 1 (CDETECT1) in the socket present state register is unaffected (CardBus offset 08h, see Section 6.3). Force CSTSCHG. Write transactions to bit 0 cause bit 0 (CSTSEVENT) in the socket event register to be written (CardBus offset 00h, see Section 6.1), and bit 0 (CARDSTS) in the socket present state register is unaffected (CardBus offset 08h, see Section 6.3). 1 FCDETECT1 W 0 FCARDSTS W 6.5 Socket Control Register The socket control register provides control of the voltages applied to the socket and instructions for CB CLKRUN protocol. The PCI4410A device ensures that the socket is powered up only at acceptable voltages when a CardBus card is inserted. See Table 6-6 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 0 8 R 0 23 R 0 7 R/W 0 22 R 0 6 R/W 0 21 R 0 5 R/W 0 20 R 0 4 R/W 0 19 R 0 3 R 0 18 R 0 2 R/W 0 17 R 0 1 R/W 0 16 R 0 0 R/W 0 Socket control Socket control Register: Type: Offset: Default: BIT 31-8 SIGNAL RSVD Socket control Read-only, Read/Write CardBus socket address + 10h 0000 0000h Table 6-6. Socket Control Register Description TYPE R Reserved. Bits 31-8 return 0s when read. CB CLKRUN protocol instructions. 0 = CB CLKRUN protocol can only attempt to stop/slow the CB clock if the socket is idle and the PCI CLKRUN protocol is preparing to stop/slow the PCI bus clock. 1 = CB CLKRUN protocol can attempt to stop/slow the CB clock if the socket is idle. VCC control. Bits 6-4 request card VCC changes. 000 = Request power off (default) 100 = Request VCC = X.X V 001 = Reserved 101 = Request VCC = Y.Y V 010 = Request VCC = 5 V 110 = Reserved 011 = Request VCC = 3.3 V 111 = Reserved Reserved. Bit 3 returns 0 when read. VPP control. Bits 2-0 request card VPP changes. 000 = Request power off (default) 100 = Request VPP = X.X V 001 = Request VPP = 12 V 101 = Request VPP = Y.Y V 010 = Request VPP = 5 V 110 = Reserved 011 = Request VPP = 3.3 V 111 = Reserved FUNCTION 7 STOPCLK R/W 6-4 VCCCTRL R/W 3 RSVD R 2-0 VPPCTRL R/W 6-7 6.6 Socket Power Management Register This register provides power management control over the socket through a mechanism for slowing or stopping the clock on the card interface when the card is idle. See Table 6-7 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 31 30 29 28 27 26 25 R 0 9 R 0 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R 0 18 R 0 2 R 0 17 R 0 1 R 0 16 R/W 0 0 R/W 0 Socket power management Socket power management Register: Type: Offset: Default: BIT 31-26 SIGNAL RSVD Socket power management Read-only, Read/Write CardBus socket address + 20h 0000 0000h Table 6-7. Socket Power Management Register Description TYPE R Reserved. Bits 31-26 return 0s when read. Socket access status. This bit indicates when a socket access has occurred. This bit is cleared by a read access. 0 = A PC Card access has not occurred (default). 1 = A PC Card access has occurred. Socket mode status. This bit provides clock mode information. 0 = Clock is operating normally. 1 = Clock frequency has changed. Reserved. Bits 23-17 return 0s when read. CardBus clock control enable. When bit 16 is set, bit 0 (CLKCTRL) is enabled. 0 = Clock control is disabled (default). 1 = Clock control is enabled. Reserved. Bits 15-1 return 0s when read. CardBus clock control. This bit determines whether the CB CLKRUN protocol stops or slows the CB clock during idle states. Bit 16 (CLKCTRLEN) enables this bit. 0 = Allows CB CLKRUN protocol to stop the CB clock (default). 1 = Allows CB CLKRUN protocol to slow the CB clock by a factor of 16. FUNCTION 25 SKTACCES R 24 23-17 16 15-1 SKTMODE RSVD CLKCTRLEN RSVD R R R/W R 0 CLKCTRL R/W 6-8 7 Distributed DMA (DDMA) Registers The DMA base address, programmable in PCI configuration space as bits 15-4 (DMABASE field) of the socket DMA register 1 (PCI offset 98h, see Section 4.38) points to a 16-byte region in PCI I/O space where the DMA registers reside. The names and locations of these registers are summarized in Table 7-1. These PCI4410A register definitions are identical in function, but differ in location, to the 8237 DMA controller. The similarity between the register models retains some level of compatibility with legacy DMA and simplifies the translation required by the master DMA device when it forwards legacy DMA writes to DMA channels. While the DMA register definitions are identical to those in the 8237 DMA controller of the same name, some register bits defined in the 8237 DMA controller do not apply to distributed DMA in a PCI environment. In such cases, the PCI4410A device implements these obsolete register bits as read-only nonfunctional bits. The reserved registers shown in Table 7-1 are implemented as read-only and return 0s when read. Write transactions to reserved registers have no effect. Table 7-1. Distributed DMA Registers TYPE R W R W R W R W Reserved N/A Mode Multichannel Mask Reserved Reserved Reserved N/A Request N/A Master clear Reserved Page REGISTER NAME Current address Base address Current count Base count Status Command Reserved 08h 0Ch 04h 00h DMA BASE ADDRESS OFFSET 7-1 7.1 DMA Current Address/Base Address Register The DMA current address/base address register sets the starting (base) memory address of a DMA transfer. Read transactions from this register indicate the current memory address of a direct memory transfer. For the 8-bit DMA transfer mode, the current address register contents are presented on AD15-AD0 of the PCI bus during the address phase. Bits 7-0 of the DMA page register (see Section 7.2) are presented on AD23-AD16 of the PCI bus during the address phase. For the 16-bit DMA transfer mode, the current address register contents are presented on AD16-AD1 of the PCI bus during the address phase, and AD0 is driven to logic 0. Bits 7-1 of the DMA page register (see Section 7.2) are presented on AD23-AD17 of the PCI bus during the address phase, and bit 0 is ignored. Bit Name Type Default Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 7 R/W 0 6 R/W 0 5 15 14 13 12 R/W 0 4 R/W 0 11 R/W 0 3 R/W 0 10 R/W 0 2 R/W 0 9 R/W 0 1 R/W 0 8 R/W 0 0 R/W 0 DMA current address/base-address DMA current address/base-address Register: Type: Offset: Default: DMA current address/base address Read/Write DMA base address + 00h 0000h 7.2 DMA Page Register The DMA page register sets the upper byte of the address of a DMA transfer. Details of the address represented by this register are explained in Section 7.1, DMA Current Address/Base Address Register. Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 7 6 5 4 DMA page R/W 0 R/W 0 R/W 0 R/W 0 3 2 1 0 Register: Type: Offset: Default: DMA page Read/Write DMA base address + 02h 00h 7-2 7.3 DMA Current Count/Base Count Register The DMA current count/base count register sets the total transfer count, in bytes, of a direct memory transfer. Read transactions to this register indicate the current count of a direct memory transfer. In the 8-bit transfer mode, the count is decremented by 1 after each transfer, and the count is decremented by 2 after each transfer in the 16-bit transfer mode. Bit Name Type Default Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 7 R/W 0 6 R/W 0 5 15 14 13 12 R/W 0 4 R/W 0 11 R/W 0 3 R/W 0 10 R/W 0 2 R/W 0 9 R/W 0 1 R/W 0 8 R/W 0 0 R/W 0 DMA current count/base count DMA current count/base count Register: Type: Offset: Default: DMA current count/base count Read/Write DMA base address + 04h 0000h 7.4 DMA Command Register The DMA command register enables and disables the DMA controller. Bit 2 (DMAEN) defaults to 0, enabling the DMA controller. All other bits are reserved. See Table 7-2 for a complete description of the register contents. Bit Name Type Default R 0 R 0 R 0 7 6 5 4 R 0 3 R 0 2 R/W 0 1 R 0 0 R 0 DMA command Register: Type: Offset: Default: BIT 7-3 SIGNAL RSVD DMA command Read-only, Read/Write DMA base address + 08h 00h Table 7-2. DMA Command Register Description TYPE R Reserved. Bits 7-3 return 0s when read. DMA controller enable. Bit 2 enables and disables the distributed DMA slave controller in the PCI4410A device and defaults to the enabled state. 0 = DMA controller is enabled (default). 1 = DMA controller is disabled. Reserved. Bits 1 and 0 return 0s when read. FUNCTION 2 DMAEN R/W 1-0 RSVD R 7-3 7.5 DMA Status Register The DMA status register indicates the terminal count and DMA request (DREQ) status. See Table 7-3 for a complete description of the register contents. Bit Name Type Default R 0 R 0 R 0 R 0 7 6 5 4 DMA status R 0 R 0 R 0 R 0 3 2 1 0 Register: Type: Offset: Default: BIT SIGNAL DMA status Read-only DMA base address + 08h 00h Table 7-3. DMA Status Register Description TYPE FUNCTION Channel request. In the 8237 DMA controller, bits 7-4 indicate the status of DREQ of each DMA channel. In the PCI4410A device, these bits indicate the DREQ status of the single socket being serviced by this register. All four bits are set to 1 when the PC Card asserts DREQ and are reset to 0 when DREQ is deasserted. The status of bit 0 (MASKBIT) in the DMA multichannel/mask register (see Section 7.9) has no effect on these bits. Channel terminal count. The 8327 DMA controller uses bits 3-0 to indicate the TC status of each of its four DMA channels. In the PCI4410A device, these bits report information about a single DMA channel; therefore, all four of these register bits indicate the TC status of the single socket being serviced by this register. All four bits are set to 1 when the TC is reached by the DMA channel. These bits are reset to 0 when read or when the DMA channel is reset. 7-4 DREQSTAT R 3-0 TC R 7.6 DMA Request Register The DMA request register requests a DMA transfer through software. Any write to this register enables software requests, and this register is to be used in block mode only. Bit Name Type Default W 0 W 0 W 0 W 0 7 6 5 4 DMA request W 0 W 0 W 0 W 0 3 2 1 0 Register: Type: Offset: Default: DMA request Write-only DMA base address + 09h 00h 7-4 7.7 DMA Mode Register The DMA mode register sets the DMA transfer mode. See Table 7-4 for a complete description of the register contents. Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 7 6 5 4 DMA mode R/W 0 R/W 0 R 0 R 0 3 2 1 0 Register: Type: Offset: Default: DMA mode Read-only, Read/Write DMA base address + 0Bh 00h Table 7-4. DMA Mode Register Description BIT SIGNAL TYPE FUNCTION Mode select. The PCI4410A device uses bits 7 and 6 to determine the transfer mode. 00 = Demand mode select (default) 01 = Single mode select 10 = Block mode select 11 = Reserved Address increment/decrement. The PCI4410A device uses bit 5 to select the memory address in the DMA current address/base address register to increment or decrement after each data transfer. This is in accordance with the 8237 DMA controller use of this register bit and is encoded as follows: 0 = Addresses increment (default). 1 = Addresses decrement. Auto initialization 0 = Auto initialization is disabled (default). 1 = Auto initialization is enabled. Transfer type. Bits 3 and 2 select the type of direct memory transfer to be performed. A memory write transfer moves data from the PCI4410A PC Card interface to memory and a memory read transfer moves data from memory to the PCI4410A PC Card interface. The field is encoded as: 00 = No transfer selected (default) 01 = Write transfer 10 = Read transfer 11 = Reserved Reserved. Bits 1 and 0 return 0s when read. 7-6 DMAMODE R/W 5 INCDEC R/W 4 AUTOINIT R/W 3-2 XFERTYPE R/W 1-0 RSVD R 7.8 DMA Master Clear Register The DMA master clear register resets the DMA controller and all DMA registers. Bit Name Type Default W 0 W 0 W 0 7 6 5 4 W 0 3 W 0 2 W 0 1 W 0 0 W 0 DMA master clear Register: Type: Offset: Default: DMA master clear Write-only DMA base address + 0Dh 00h 7-5 7.9 DMA Multichannel/Mask Register The PCI4410A device uses only the least significant bit of this register to mask the PC Card DMA channel. The PCI4410A device sets the mask bit to 1 when the PC Card is removed. Host software is responsible for either resetting the socket DMA controller or enabling the mask bit. See Table 7-5 for a complete description of the register contents. Bit Name Type Default R 0 R 0 R 0 7 6 5 4 R 0 3 R 0 2 R 0 1 R 0 0 R/W 0 DMA multichannel/mask Register: Type: Offset: Default: BIT 7-1 SIGNAL RSVD DMA multichannel/mask Read-only, Read/Write DMA base address + 0Fh 00h Table 7-5. DMA Multichannel/Mask Register Description TYPE R Reserved. Bits 7-1 return 0s when read. Mask select. Bit 0 masks incoming DREQ signals from the PC Card. When set to 1, the socket ignores DMA requests from the card. When cleared (or reset to 0), incoming DREQ assertions are serviced normally. 0 = DMA service is provided on card DREQ. 1 = Socket DREQ signal is ignored (default). FUNCTION 0 MASKBIT R/W 7-6 8 OHCI-Lynxt Controller Programming Model This section describes the internal registers used to program the link function, including both PCI configuration registers and open HCI registers. All registers are detailed in the same format. A brief description is provided for each register, followed by the register offset and a bit table describing the reset state for each register. A bit description table typically is included that indicates bit signal names, a detailed field description, and field access tags. Table 8-1 describes the field access tags. Table 8-1. Bit-Field Access Tag Descriptions ACCESS TAG R W S C U NAME Read Write Set Clear Update MEANING Field can be read by software. Field can be written by software to any value. Field can be set to 1 by a write of 1. Writes of 0 have no effect. Field can be reset to 0 by a write of 1. Writes of 0 have no effect. Field can be autonomously updated by the PCI4410A device. 8.1 PCI Configuration Registers The PCI4410A link function configuration header is compliant with the PCI Local Bus Specification as a standard header. Table 8-2 illustrates the PCI configuration header, which includes both the predefined portion of the configuration space and the user-definable registers. The registers that are labeled reserved are read-only, returning 0 when read, and are not applicable to the link function or have been reserved by the PCI specification for future use. Table 8-2. PCI Configuration Register Map REGISTER NAME Device ID Status Class code BIST Header type Latency timer Open HCI registers base address TI extension registers base address Reserved Subsystem ID Reserved Reserved Reserved Max latency Min grant PCI OHCI control Power management capabilities PM data PMCSR_BSE Reserved PCI miscellaneous configuration Link enhancements Subsystem ID alias GPIO3 GPIO2 Subsystem vendor ID alias GPIO1 GPIO0 Next item pointer Capability ID Power management control and status Interrupt pin Interrupt line Capabilities pointer Subsystem vendor ID Vendor ID Command Revision ID Cache line size OFFSET 00h 04h 08h 0Ch 10h 14h 18h-28h 2Ch 30h 34h 38h 3Ch 40h 44h 48h 4C-ECh F0h F4h F8h FCh 8-1 8.2 Vendor ID Register The vendor ID register contains a value allocated by the PCI SIG and identifies the manufacturer of the PCI device. The vendor ID assigned to Texas Instruments is 104Ch. Bit Name Type Default R 0 R 0 R 0 R 1 R 0 R 0 R 0 15 14 13 12 11 10 9 8 R 0 7 R 0 6 R 1 5 R 0 4 R 0 3 R 1 2 R 1 1 R 0 0 R 0 Vendor ID Register: Type: Offset: Default: Vendor ID Read-only 00h 104Ch 8.3 Device ID Register The device ID register contains a value assigned to the PCI4410A device by Texas Instruments. The device identification for the PCI4410A OHCI controller function is 8017h. Bit Name Type Default R 1 R 0 R 0 R 0 R 0 R 0 R 0 15 14 13 12 11 10 9 8 R 0 7 R 0 6 R 0 5 R 0 4 R 1 3 R 0 2 R 1 1 R 1 0 R 1 Device ID Register: Type: Offset: Default: Device ID register Read-only 02h 8017h 8-2 8.4 PCI Command Register The command register provides control over the PCI4410A link interface to the PCI bus. All bit functions adhere to the definitions in the PCI Local Bus Specification, as seen in the following bit descriptions. See Table 8-3 for a complete description of the register contents. Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 14 13 12 11 10 9 8 R/W 0 7 R 0 6 R/W 0 5 R 0 4 R/W 0 3 R 0 2 R/W 0 1 R/W 0 0 R 0 PCI command Register: Type: Offset: Default: PCI command Read-only, Read/Write 04h 0000h Table 8-3. PCI Command Register Description BIT 15-10 9 8 7 6 5 SIGNAL RSVD FBB_ENB SERR_ENB STEP_ENB PERR_ENB VGA_ENB TYPE R R R/W R R/W R Reserved. Bits 15-10 return 0s when read. FUNCTION Fast back-to-back enable. The PCI4410A device does not generate fast back-to-back transactions; therefore, this bit returns 0 when read. SERR enable. When this bit is set to 1, the PCI4410A SERR driver is enabled. SERR can be asserted after detecting an address parity error on the PCI bus. Address/data-stepping control. The PCI4410A device does not support address/data stepping; therefore, this bit is hardwired to 0. Parity error enable. When this bit is set to 1, the PCI4410A device is enabled to drive the PERR response to parity errors through the PERR signal. VGA palette snoop enable. The PCI4410A device does not feature VGA palette snooping. This bit returns 0 when read. Memory write and invalidate enable. When this bit is set to 1, the PCI4410A device is enabled to generate MWI PCI bus commands. If this bit is cleared, the PCI4410A device generates memory write commands instead. Special cycle enable. The PCI4410A device does not respond to special cycle transactions. This bit returns 0 when read. Bus master enable. When this bit is set to 1, the PCI4410A device is enabled to initiate cycles on the PCI bus. Memory response enable. Setting this bit to 1 enables the PCI4410A device to respond to memory cycles on the PCI bus. This bit must be set to 1 to access OHCI registers. I/O space enable. The PCI4410A link does not implement any I/O-mapped functionality; therefore, this bit returns 0 when read. 4 MWI_ENB R/W 3 2 1 0 SPECIAL MASTER_ENB MEMORY_ENB IO_ENB R R/W R/W R 8-3 8.5 PCI Status Register The PCI status register provides device information to the host system. Bits in this register may be read normally. A bit in the status register is reset when a 1 is written to that bit location; a 0 written to a bit location has no effect. All bit functions adhere to the definitions in the PCI Local Bus Specification. PCI bus status is shown through each function. See Table 8-4 for a complete description of the register contents. Bit Name Type Default RCU 0 RCU 0 RCU 0 RCU 0 RCU 0 R 0 R 1 15 14 13 12 11 10 9 8 RCU 0 7 R 0 6 R 0 5 R 0 4 R 1 3 R 0 2 R 0 1 R 0 0 R 0 PCI status Register: Type: Offset: Default: PCI status Read-only, Read/Clear/Update 06h 0210h Table 8-4. PCI Status Register Description BIT 15 14 13 12 11 10-9 SIGNAL PAR_ERR SYS_ERR MABORT TABORT_REC TABORT_SIG PCI_SPEED TYPE RCU RCU RCU RCU RCU R FUNCTION Detected parity error. This bit is set to 1 when either an address parity or data parity error is detected. Signaled system error. This bit is set to 1 when SERR is enabled and the PCI4410A device has signaled a system error to the host. Received master abort. This bit is set to 1 when a cycle initiated by the PCI4410A device on the PCI bus is terminated by a master abort. Received target abort. This bit is set to 1 when a cycle initiated by the PCI4410A device on the PCI bus is terminated by a target abort. Signaled target abort. This bit is set to 1 by the PCI4410A device when it terminates a transaction on the PCI bus with a target abort. DEVSEL timing. Bits 10 and 9 encode the timing of DEVSEL and are hardwired 01b, indicating that the PCI4410A device asserts this signal at a medium speed on nonconfiguration cycle accesses. Data parity error detected. This bit is set to 1 when the following conditions have been met: a. PERR was asserted by any PCI device, including the PCI4410A device. b. The PCI4410A device was the bus master during the data parity error. c. Bit 6 (PERR_ENB) in the PCI command register (PCI offset 04h, see Section 8.4) is set to 1. Fast back-to-back capable. The PCI4410A device cannot accept fast back-to-back transactions; therefore, this bit is hardwired to 0. User-definable features (UDF) supported. The PCI4410A device does not support the UDF; therefore, this bit is hardwired to 0. 66-MHz capable. The PCI4410A device operates at a maximum PCLK frequency of 33 MHz; therefore, this bit is hardwired to 0. Capabilities list. This bit returns 1 when read, indicating that capabilities additional to standard PCI are implemented. The linked list of PCI power-management capabilities is implemented in this function. Reserved. Bits 3-0 return 0s when read. 8 DATAPAR RCU 7 6 5 4 3-0 FBB_CAP UDF 66MHZ CAPLIST RSVD R R R R R 8-4 8.6 Class Code and Revision ID Register The class code and revision ID register categorizes the PCI4410A device as a serial bus controller (0Ch), controlling an IEEE 1394 bus (00h), with an OHCI programming model (10h). Furthermore, the TI chip revision is indicated in the lower byte. See Table 8-5 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 1 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 1 11 R 1 10 31 30 29 28 27 26 25 R 0 9 R 0 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R 0 18 R 0 2 R 0 17 R 0 1 R 1 16 R 0 0 R 0 Class code and revision ID Class code and revision ID Register: Type: Offset: Default: Class code and revision ID Read-only 08h 0C00 1002h Table 8-5. Class Code and Revision ID Register Description BIT 31-24 23-16 15-8 7-0 SIGNAL BASECLASS SUBCLASS PGMIF CHIPREV TYPE R R R R FUNCTION Base class. This field returns 0Ch when read, which broadly classifies the function as a serial bus controller. Sub class. This field returns 00h when read, which specifically classifies the function as controlling an IEEE 1394 serial bus. Programming interface. This field returns 10h when read, which indicates that the programming model is compliant with the 1394 Open Host Controller Interface Specification. Silicon revision. This field returns the silicon revision of the PCI4410A device. 8.7 Latency Timer and Class Cache Line Size Register The latency timer and class cache line size register is programmed by host BIOS to indicate system cache line size and the latency timer associated with the PCI4410A device. See Table 8-6 for a complete description of the register contents. Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 0 15 14 13 12 11 10 R/W 9 R/W 0 8 R/W 0 7 R/W 0 6 R/W 0 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 Latency timer and class cache line size Register: Type: Offset: Default: Latency timer and class cache line size Read/Write 0Ch 0000h Table 8-6. Latency Timer and Class Cache Line Size Register Description BIT SIGNAL TYPE FUNCTION PCI latency timer. The value in this field specifies the latency timer for the PCI4410A device, in units of PCI clock cycles. When the PCI4410A device is a PCI bus initiator and asserts FRAME, the latency timer begins counting from zero. If the latency timer expires before the PCI4410A transaction has terminated, the PCI4410A device terminates the transaction when its GNT is deasserted. Cache line size. This value is used by the PCI4410A device during memory write and invalidate, memory-read line, and memory-read multiple transactions. 15-8 LATENCY_TIMER R/W 7-0 CACHELINE_SZ R/W 8-5 8.8 Header Type and BIST Register The header type and built-in self-test (BIST) register indicates that this function is part of a multifunction device, and has a standard PCI header type and no BIST. See Table 8-7 for a complete description of the register contents. Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 14 13 12 11 10 9 8 R 0 7 R 0 6 R 0 5 R 0 4 R 0 3 R 0 2 R 0 1 R 0 0 R 0 Header type and BIST Register: Type: Offset: Default: Header type and BIST Read-only 0Eh 0000h Table 8-7. Header Type and BIST Register Description BIT 15-8 7-0 SIGNAL BIST HEADER_TYPE TYPE R R FUNCTION Built-in self-test. The PCI4410A device does not include a BIST, thus this field returns 00h when read. PCI header type. The PCI4410A device includes the standard PCI header, and this is communicated by returning 00h when this field is read. 8.9 Open HCI Base Address Register The open HCI base address register is programmed with a base address referencing the memory-mapped OHCI control. When BIOS writes all 1s to this register, the value read back is FFFF F800h, indicating that at least 2 Kbytes of memory address space are required for the OHCI registers. See Table 8-8 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R 0 R/W 0 15 R/W 0 14 R/W 0 13 R/W 0 12 R/W 0 11 R/W 0 10 31 30 29 28 27 26 25 R/W 0 9 R 0 24 R/W 0 8 R 0 23 R/W 0 7 R 0 22 R/W 0 6 R 0 21 R/W 0 5 R 0 20 R/W 0 4 R 0 19 R/W 0 3 R 0 18 R/W 0 2 R 0 17 R/W 0 1 R 0 16 R/W 0 0 R 0 Open HCI base address Open HCI base address Register: Type: Offset: Default: Open HCI base address Read-only, Read/Write 10h 0000 0000h Table 8-8. Open HCI Registers Base Address Register Description BIT 31-11 10-4 3 2-1 0 SIGNAL OHCIREG_PTR OHCI_SZ OHCI_PF OHCI_MEMTYPE OHCI_MEM TYPE R/W R R R R FUNCTION Open HCI register pointer. Specifies the upper 21 bits of the 32-bit OHCI register base address. Open HCI register size. This field returns 0s when read, indicating that the OHCI registers require a 2-Kbyte region of memory. OHCI register prefetch. This bit returns 0 when read, indicating that the OHCI registers are nonprefetchable. Open HCI memory type. This field returns 0s when read, indicating that the OHCI base address register is 32 bits wide and mapping can be done anywhere in the 32-bit memory space. OHCI memory indicator. This bit returns 0 when read, indicating that the OHCI registers are mapped into system memory space. 8-6 8.10 TI Extension Base Address Register The TI extension base address register is programmed with a base address referencing the memory-mapped TI extension registers. See Table 8-9 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R 0 R/W 0 15 R/W 0 14 R/W 0 13 R/W 0 12 R/W 0 11 R/W 0 10 31 30 29 28 27 26 25 R/W 0 9 R 0 24 R/W 0 8 R 0 23 R/W 0 7 R 0 22 R/W 0 6 R 0 21 R/W 0 5 R 0 20 R/W 0 4 R 0 19 R/W 0 3 R 0 18 R/W 0 2 R 0 17 R/W 0 1 R 0 16 R/W 0 0 R 0 TI extension base address TI extension base address Register: Type: Offset: Default: TI extension base address Read-only 14h 0000 0000h Table 8-9. TI Extension Base Address Register Description BIT 31-11 10-4 3 2-1 0 SIGNAL TI_EXTREG_PTR TI_SZ TI_PF TI_MEMTYPE TI_MEM TYPE R/W R R R R FUNCTION TI extension register pointer. Specifies the upper 21 bits of the 32-bit TI extension register base address. TI extension register size. This field returns 0s when read, indicating that the TI extension registers require a 2-Kbyte region of memory. TI extension register prefetch. This bit returns 0 when read, indicating that the TI extension registers are nonprefetchable. TI memory type. This field returns 0s when read, indicating that the base register is 32 bits wide and mapping can be done anywhere in the 32-bit memory space. TI memory indicator. This bit returns 0 when read, indicating that the TI extension registers are mapped into system memory space. 8-7 8.11 PCI Subsystem Identification Register The PCI subsystem identification register is used for subsystem and option card identification purposes. This register can be initialized from the serial EEPROM or can be written using the subsystem access identification register (offset F8h, see Section 8.22). See Table 8-10 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default RU 0 RU 0 RU 0 RU 0 RU 0 RU 0 RU 0 15 RU 0 14 RU 0 13 RU 0 12 RU 0 11 RU 0 10 31 30 29 28 27 26 25 RU 0 9 RU 0 24 RU 0 8 RU 0 23 RU 0 7 RU 0 22 RU 0 6 RU 0 21 RU 0 5 RU 0 20 RU 0 4 RU 0 19 RU 0 3 RU 0 18 RU 0 2 RU 0 17 RU 0 1 RU 0 16 RU 0 0 RU 0 PCI subsystem identification PCI subsystem identification Register: Type: Offset: Default: PCI subsystem identification Read/Update 2Ch 0000 0000h Table 8-10. PCI Subsystem Identification Register Description BIT 31-16 15-0 SIGNAL OHCI_SSID OHCI_SSVID TYPE RU RU FUNCTION Subsystem device ID. This field indicates the subsystem device ID. Subsystem vendor ID. This field indicates the subsystem vendor ID. 8.12 PCI Power Management Capabilities Pointer Register The PCI power management capabilities pointer register provides a pointer into the PCI configuration header where the PCI power-management register block resides. The PCI4410A configuration header doublewords at 44h and 48h provide the power-management registers. This register is read-only and returns 44h when read. Bit Name Type Default R 0 R 1 R 0 7 6 5 4 R 0 3 R 0 2 R 1 1 R 0 0 R 0 PCI power management capabilities pointer Register: Type: Offset: Default: PCI power management capabilities pointer Read-only 34h 44h 8-8 8.13 Interrupt Line and Interrupt Pin Registers The interrupt line and interrupt pin registers are used to communicate interrupt-line routing information. See Table 8-11 for a complete description of the register contents. Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 15 14 13 12 11 10 9 R 1 8 R 0 7 R/W 0 6 R/W 0 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 Interrupt line and interrupt pin Registers: Type: Offset: Default: Interrupt line and interrupt pin Read-only, Read/Write 3Ch 0200h Table 8-11. Interrupt Line and Interrupt Pin Registers Description BIT SIGNAL TYPE FUNCTION Interrupt pin. This field returns 01h or 02h when read, indicating that the PCI4410A link function signals interrupts on the INTA or INTB terminal, respectively. If bit 29 (TIE_INTB_INTA) in the system control register (offset 80h, see Section 4.29) is set to 1, the INTR_PIN byte reads 0000 0001b, which indicates the OHCI function is signaling on INTA. Interrupt line. This field is programmed by the system and indicates to the software which interrupt line the PCI4410A INTA is connected to. 15-8 INTR_PIN R 7-0 INTR_LINE R/W 8.14 MIN_GNT and MAX_LAT Register The MIN_GNT and MAX_LAT register is used to communicate to the system the desired setting of bits 15-8 in the latency timer and class cache line size register (offset 0Ch, see Section 8.7). If a serial EEPROM is detected, the contents of this register are loaded through the serial EEPROM interface after a PRST. If no serial EEPROM is detected, this register returns a default value that corresponds to MIN_GNT = 3, MAX_LAT = 4. See Table 8-12 for a complete description of the register contents. Bit Name Type Default RU 0 RU 0 RU 0 RU 0 RU 0 RU 1 15 14 13 12 11 10 9 RU 0 8 RU 0 7 RU 0 6 RU 0 5 RU 0 4 RU 0 3 RU 0 2 RU 0 1 RU 1 0 RU 1 MIN_GNT and MAX_LAT Registers: Type: Offset: Default: MIN_GNT and MAX_LAT Read/Update 3Eh 0403h Table 8-12. MIN_GNT and MAX_LAT Register Description BIT SIGNAL TYPE FUNCTION Maximum latency. The contents of this field may be used by host BIOS to assign an arbitration priority level to the PCI4410A device. The default for this field indicates that the PCI4410A device may need to access the PCI bus as often as every 0.25 s; thus, an extremely high priority level is requested. The contents of this field may also be loaded through the serial EEPROM. Minimum grant. The contents of this field may be used by host BIOS to assign a latency timer register value to the PCI4410A device. The default for this field indicates that the PCI4410A device may need to sustain burst transfers for nearly 64 s, thus requesting a large value be programmed in bits 15-8 of the PCI4410A latency timer and class cache line size register (offset 0Ch, see Section 8.7). 15-8 MAX_LAT RU 7-0 MIN_GNT RU 8-9 8.15 PCI OHCI Control Register The PCI OHCI control register contains IEEE 1394 Open HCI specific control bits. All bits in this register are read-only and return 0s, because no OHCI-specific control bits have been implemented. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R 0 18 R 0 2 R 0 17 R 0 1 R 0 16 R 0 0 R 0 PCI OHCI control PCI OHCI control Register: Type: Offset: Default: PCI OHCI control Read-only 40h 0000h 8.16 Capability ID and Next Item Pointer Register The capability ID and next item pointer register identifies the linked-list capability item and provides a pointer to the next capability item, respectively. See Table 8-13 for a complete description of the register contents. Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 15 14 13 12 11 10 9 R 0 8 R 0 7 R 0 6 R 0 5 R 0 4 R 0 3 R 0 2 R 0 1 R 0 0 R 1 Capability ID and next item pointer Register: Type: Offset: Default: Capability ID and next item pointer Read-only 44h 0001h Table 8-13. Capability ID and Next Item Pointer Registers Description BIT 15-8 7-0 SIGNAL NEXT_ITEM CAPABILITY_ID TYPE R R FUNCTION Next item pointer. The PCI4410A device supports only one additional capability that is communicated to the system through the extended capabilities list; thus, this field returns 00h when read. Capability identification. This field returns 01h when read, which is the unique ID assigned by the PCI SIG for PCI power-management capability. 8-10 8.17 Power Management Capabilities Register The power management capabilities register indicates the capabilities of the PCI4410A device related to PCI power management. In summary, the D0, D2, and D3hot device states are supported. See Table 8-14 for a complete description of the register contents. Bit Name Type Default RU 0 RU 1 RU 1 RU 0 RU 0 R 1 15 14 13 12 11 10 9 R 0 8 R 0 7 R 0 6 R 0 5 R 0 4 R 1 3 R 0 2 R 0 1 R 0 0 R 1 Power management capabilities Register: Type: Offset: Default: Power management capabilities Read/Update, Read-only 46h 6411h Table 8-14. Power Management Capabilities Register Description BIT SIGNAL TYPE FUNCTION PCI_PME support from D3cold. This bit can be set to 1 or cleared to 0 via bit 15 (PME_D3COLD) in the miscellaneous configuration register (offset F0h, see Section 8.20). The miscellaneous configuration register is loaded from the serial EEPROM. When this bit is set to 1, it indicates that the PCI4410A device is capable of generating a PCI_PME wake event from D3cold. This bit state is dependent upon the PCI4410A VAUX implementation and may be configured by using bit 15 (PME_D3COLD) in the miscellaneous configuration register (see Section 8.20). PME support. This four-bit field indicates the power states from which the PCI4410A device may assert PME. This field returns a value of 1100b by default, indicating that PME may be asserted from the D3hot and D2 power states. Bit 13 may be modified by host software using bit 13 (PME_SUPPORT_D2) in the PCI miscellaneous configuration register (offset F0h, see Section 8.20). D2 support. This bit can be set or cleared via bit 10 (D2_SUPPORT) in the miscellaneous configuration register (offset F0h, see Section 8.20). The miscellaneous configuration register is loaded from the serial EEPROM. When this bit is set, it indicates that D2 support is present. When this bit is cleared, it indicates that D2 support is not present for backward compatibility. For normal operation, this bit is set to 1. D1 support. This bit returns a 0 when read, indicating that the PCI4410A device does not support the D1 power state. Dynamic data support. This bit returns a 0 when read, indicating that the PCI4410A device does not report dynamic power-consumption data. Reserved. Bits 7 and 6 return 0s when read. Device-specific initialization. This bit returns 0 when read, indicating that the PCI4410A device does not require special initialization beyond the standard PCI configuration header before a generic class driver is able to use it. Auxiliary power source. Since the PCI4410A device supports PME generation in the D3cold device state and requires Vaux, this bit returns 1 when read. PME clock. This bit returns 0 when read, indicating that no host bus clock is required for the PCI4410A device to generate PME. Power-management version. This field returns 001b when read, indicating that the PCI4410A device is compatible with the registers described in the PCI Bus Power Management Interface Specification (Revision 1.0). 15 PME_D3COLD RU 14-11 PME_SUPPORT RU 10 D2_SUPPORT RU 9 8 7-6 5 D1_SUPPORT DYN_DATA RSVD DSI R R R R 4 3 AUX_PWR PME_CLK R R 2-0 PM_VERSION R 8-11 8.18 Power Management Control and Status Register The power management control and status register implements the control and status of the PCI power management function. This register is not affected by the internally generated reset caused by the transition from the D3hot to D0 state. See Table 8-15 for a complete description of the register contents. Bit Name Type Default RC 0 R 0 R 0 R 0 R 0 R 0 15 14 13 12 11 10 9 R 0 8 R/W 0 7 R 0 6 R 0 5 R 0 4 R 0 3 R 0 2 R 0 1 R/W 0 0 R/W 0 Power management control and status Register: Type: Offset: Default: Power management control and status Read-only, Read/Write, Read/Clear 48h 0000h Table 8-15. Power Management Control and Status Register Description BIT 15 SIGNAL PME_STS TYPE RC FUNCTION This bit is set to 1 when the PCI4410A device normally would be asserting the PME signal, independent of the state of bit 8 (PME_ENB). This bit is cleared by a writeback of 1, which also clears the PME signal driven by the PCI4410A device. Writing a 0 to this bit has no effect. Dynamic data control. This bit field returns 0s when read because the PCI4410A device does not report dynamic data. When bit 8 = 1, PME assertion is enabled. When bit 8 = 0, PME assertion is disabled. This bit defaults to 0 if the function does not support PME generation from D3cold. If the function supports PME from D3cold, then this bit is sticky and must be explicitly cleared by the operating system each time it is initially loaded. Functions that do not support PME generation from any D-state (that is, bits 15-11 in the power management capabilities register (offset 46h, see Section 8.17) equal 00000b), may hardwire this bit to be read-only, always returning a 0 when read by system software. Reserved. Bits 7-5 return 0s when read. Dynamic data. This bit returns 0 when read because the PCI4410A device does not report dynamic data. Reserved. Bits 3 and 2 return 0s when read. Power state. This two-bit field is used to set the PCI4410A device power state and is encoded as follows: 00 = Current power state is D0. 01 = Current power state is D1 (not supported by this device). 10 = Current power state is D2. 11 = Current power state is D3hot. 14-9 DYN_CTRL R 8 PME_ENB R/W 7-5 4 3-2 RSVD DYN_DATA RSVD R R R 1-0 PWR_STATE R/W 8-12 8.19 Power Management Extension Register The power management extension register provides extended power-management features not applicable to the PCI4410A device; thus, it is read-only and returns 0 when read. See Table 8-16 for a complete description of the register contents. Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 15 14 13 12 11 10 9 R 0 8 R 0 7 R 0 6 R 0 5 R 0 4 R 0 3 R 0 2 R 0 1 R 0 0 R 0 Power management extension Register: Type: Offset: Default: Power management extension Read-only 4Ah 0000h Table 8-16. Power Management Extension Register Description BIT 15-0 SIGNAL RSVD TYPE R Reserved. Bits 15-0 return 0s when read. FUNCTION 8-13 8.20 PCI Miscellaneous Configuration Register The PCI miscellaneous configuration register provides miscellaneous PCI-related configuration. See Table 8-17 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R/W 0 R 0 R/W 1 R 0 R 0 R/W 1 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 31 30 29 28 27 26 25 R 0 9 R 0 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R 0 18 R 0 2 R/W 0 17 R 0 1 R/W 0 16 R 0 0 R/W 0 PCI miscellaneous configuration PCI miscellaneous configuration Register: Type: Offset: Default: PCI miscellaneous configuration Read-only, Read/Write F0h 0000 2400h Table 8-17. PCI Miscellaneous Configuration Register Description BIT 31-16 15 14 SIGNAL RSVD PME_D3COLD RSVD TYPE R R/W R FUNCTION Reserved. Bits 31-16 return 0s when read. PME support from D3cold. This bit is used to program bit 15 (PME_D3COLD) in the power management capabilities register (offset 46h, see Section 8.17). This bit retains state through PRST and D3-D0 transitions. Reserved. Bit 14 returns 0 when read. PME support. This bit is used to program bit 13 (PME_SUPPORT_D2) in the power management capabilities register (offset 46h, see Section 8.17). If wake up from the D2 power state implemented in the PCI4410A device is not desired, this bit is cleared to indicate to power-management software that wake-up from D2 is not supported. This bit retains state through PRST and D3-D0 transitions. Reserved. Bits 12 and 11 return 0s when read. D2 support. This bit is used to program bit 10 (D2_SUPPORT) in the power management capabilities register (offset 46h, see Section 8.17). If the D2 power state implemented in the PCI4410A device is not desired, this bit can be cleared to indicate to power-management software that D2 is not supported. This bit retains state through PRST and D3-D0 transitions. Reserved. Bits 9-3 return 0s when read. When this bit is set to 1, the internal SCLK runs identically with the chip input. This bit is a test feature only and should be cleared to 0 (all applications). When this bit is set to 1, the internal PCI clock runs identically with the chip input. This bit is a test feature only and should be cleared to 0 (all applications). When this bit is set to 1, the PCI clock always is kept running through the CLKRUN protocol. When this bit is cleared, the PCI clock can be stopped using CLKRUN. 13 PME_SUPPORT_D2 R/W 12-11 RSVD R 10 D2_SUPPORT R/W 9-3 2 1 0 RSVD DISABLE_SCLKGATE DISABLE_PCIGATE KEEP_PCLK R R/W R/W R/W 8-14 8.21 Link Enhancement Control Register The link enhancement control register implements TI proprietary bits that are initialized by software or by a serial EEPROM, if present. After these bits are set to 1, their functionality is enabled only if bit 22 (aPhyEnhanceEnable) in the host controller control register (offset 50h/54h, see Section 9.16) is set to 1. See Table 8-18 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R 0 R 0 R/W 0 R/W 1 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 31 30 29 28 27 26 25 R 0 9 R 0 24 R 0 8 R 0 23 R 0 7 R/W 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R 0 18 R 0 2 R/W 0 17 R 0 1 R/W 0 16 R 0 0 R 0 Link enhancement control Link enhancement control Register: Type: Offset: Default: Link enhancement control Read-only, Read/Write F4h 0000 1000h Table 8-18. Link Enhancement Control Register Description BIT 31-14 SIGNAL RSVD TYPE R Reserved. Bits 31-14 return 0 when read. FUNCTION This bit field sets the initial AT threshold value, which is used until the AT FIFO is underrun. When the PCI4410A device retries the packet, it uses a 2-Kbyte threshold, resulting in a store-and-forward operation. 00 = Threshold ~ 2 Kbytes resulting in store-and-forward operation 01 = Threshold ~ 1.7 Kbytes (default) 10 = Threshold ~ 1 K 11 = Threshold ~ 512 bytes These bits fine-tune the asynchronous transmit threshold. For most applications the 1.7-K threshold is optimal. Changing this value may increase or decrease the 1394 latency depending on the average PCI bus latency. Setting the AT threshold to 1.7K, 1K, or 512 bytes results in data being transmitted at these thresholds, or when an entire packet has been checked into the FIFO. If the packet to be transmitted is larger than the AT threshold, the remaining data must be received before the AT FIFO is emptied; otherwise, an underrun condition will occur, resulting in a packet error at the receiving node. As a result, the link will then commence store-and-forward operation, that is, wait until it has the complete packet in the FIFO before retransmitting it on the second attempt, to ensure delivery. An AT threshold of 2K results in store-and-forward operation, which means that asynchronous data will not be transmitted until an end-of-packet token is received. Restated, setting the AT threshold to 2K results in only complete packets being transmitted. 13-12 atx_thresh R/W 11-8 7 RSVD enab_unfair R R/W Reserved. Bits 11-8 return 0s when read. Enable asynchronous priority requests. OHCI-Lynxt (TSB12LV22) compatible. Setting this bit to 1 enables the link to respond to requests with priority arbitration. It is recommended that this bit be set to 1. This reserved field is not assigned in PCI4410A follow-on products, since this bit location loaded by the serial EEPROM from the enhancements field corresponds to bit 23 (programPhyEnable) in the host controller control register (offset 50h/54h, see Section 9.16). Reserved. Bits 5-3 return 0 when read. Enable insert idle. OHCI-Lynxt (TSB12LV22) compatible. When the PHY device has control of the PHY_CTL0-PHY_CTL1 control lines and PHY_DATA0-PHY_DATA7 data lines and the link requests control, the PHY drives 11b on the PHY_CTL0-PHY_CTL1 lines. The link then can start driving these lines immediately. Setting this bit to 1 inserts an idle state, so the link waits one clock cycle before it starts driving the lines (turnaround time). It is recommended that this bit be set to 1. 6 5-3 RSVD RSVD R R 2 enab_insert_idle R/W 8-15 Table 8-18. Link Enhancement Control Register Description (Continued) BIT 1 0 SIGNAL enab_accel RSVD TYPE R/W R FUNCTION Enable acceleration enhancements. OHCI-Lynxt (TSB12LV22) compatible. When set to 1, this bit notifies the PHY that the link supports the IEEE 1394a-2000 acceleration enhancements, that is, ack-accelerated, fly-by concatenation, etc. It is recommended that this bit be set to 1. Reserved. Bit 0 returns 0 when read. 8.22 Subsystem Access Identification Register The subsystem access identification register is used for system and option card identification purposes. The contents of this register are aliased to the subsystem identification register at address 2Ch. See Table 8-19 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 15 R/W 0 14 R/W 0 13 R/W 0 12 R/W 0 11 R/W 0 10 31 30 29 28 27 26 25 R/W 0 9 R/W 0 24 R/W 0 8 R/W 0 23 R/W 0 7 R/W 0 22 R/W 0 6 R/W 0 21 R/W 0 5 R/W 0 20 R/W 0 4 R/W 0 19 R/W 0 3 R/W 0 18 R/W 0 2 R/W 0 17 R/W 0 1 R/W 0 16 R/W 0 0 R/W 0 Subsystem access identification Subsystem access identification Register: Type: Offset: Default: Subsystem access identification Read/Write F8h 0000 0000h Table 8-19. Subsystem Access Identification Register Description BIT 31-16 15-0 SIGNAL SUBDEV_ID SUBVEN_ID TYPE R/W R/W FUNCTION Subsystem device ID alias. This field indicates the subsystem device ID. Subsystem vendor ID alias. This field indicates the subsystem vendor ID. 8-16 8.23 GPIO Control Register The GPIO control register has the control and status bits for GPIO0, GPIO1, GPIO2, and GPIO3 ports. Upon reset, GPIO0 and GPIO1 default to bus manager contender (BMC) and link power status terminals, respectively. The BMC terminal can be configured as GPIO0 by setting bit 7 (DISABLE_BMC) to 1. The LPS terminal can be configured as GPIO1 by setting bit 15 (DISABLE_LPS) to 1. See Table 8-20 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R/W 0 R 0 R/W 0 R/W 1 R 0 R 0 R 0 R 0 15 R 0 14 R/W 0 13 R/W 0 12 R 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R/W 0 8 R/W 0 23 R 0 7 R/W 0 22 R 0 6 R 0 21 R/W 0 5 R/W 0 20 R/W 0 4 R/W 1 19 R 0 3 R 0 18 R 0 2 R 0 17 R 0 1 R 0 16 R/W 0 0 R/W 0 GPIO control GPIO control Register: Type: Offset: Default: GPIO control Read-only, Read/Write FCh 0000 1010h Table 8-20. GPIO Control Register Description BIT 31-30 29 SIGNAL RSVD GPIO_INV3 TYPE R R/W FUNCTION Reserved. Bits 31 and 30 return 0s when read. GPIO3 polarity invert. This bit controls the input/output polarity control of GPIO3. 0 = Noninverted (default) 1 = Inverted GPIO3 enable control. This bit controls the output enable for GPIO3. 0 = High-impedance output (default) 1 = Output is enabled Reserved. Bits 27-25 return 0s when read. GPIO3 data. When GPIO3 output is enabled, the value written to this bit represents the logical data driven to the GPIO3 terminal. Reserved. Bits 23 and 22 return 0s when read. GPIO2 polarity invert. This bit controls the input/output polarity control of GPIO2. 0 = Noninverted (default) 1 = Inverted GPIO2 enable control. This bit controls the output enable for GPIO2. 0 = High-impedance output (default) 1 = Output is enabled Reserved. Bits 19-17 return 0s when read. GPIO2 data. When GPIO2 output is enabled, the value written to this bit represents the logical data driven to the GPIO2 terminal. Disable link power status (LPS). This bit configures this terminal as 0 = LPS (default) 1 = GPIO1 Reserved. Bit 14 returns 0 when read. GPIO1 polarity invert. When bit 15 (DISABLE_LPS) is set to 1, this bit controls the input/output polarity control of GPIO1. 0 = Noninverted (default) 1 = Inverted 28 27-25 24 23-22 21 GPIO_ENB3 RSVD GPIO_DATA3 RSVD GPIO_INV2 R/W R R/W R R/W 20 19-17 16 GPIO_ENB2 RSVD GPIO_DATA2 R/W R R/W 15 14 DISABLE_LPS RSVD R/W R 13 GPIO_INV1 R/W 8-17 Table 8-20. GPIO Control Register Description (Continued) BIT SIGNAL TYPE FUNCTION GPIO1 enable control. When bit 15 (DISABLE_LPS) is set to 1, this bit controls the output enable for GPIO1. 0 = High-impedance output 1 = Output is enabled (default) Reserved. Bits 11-9 return 0s when read. GPIO1 data. When bit 15 (DISABLE_LPS) is set to 1 and GPIO1 output is enabled, the value written to this bit represents the logical data driven to the GPIO1 terminal. Disable bus manager contender (BMC). This bit configures this terminal as bus manager contender or GPIO0. 0 = BMC (default) 1 = GPIO0 Reserved. Bit 6 returns 0 when read. GPIO0 polarity invert. When bit 7 (DISABLE_BMC) is set to 1, this bit controls the input/output polarity control for GPIO0. 0 = Noninverted (default) 1 = Inverted GPIO0 enable control. When bit 7 (DISABLE_BMC) is set to 1, this bit controls the output enable for GPIO0. 0 = High-impedance output 1 = Output is enabled (default) Reserved. Bits 3-1 return 0s when read. GPIO0 data. When bit 7 (DISABLE_BMC) is set to 1 and GPIO0 output is enabled, the value written to this bit represents the logical data driven to the GPIO0 terminal. 12 GPIO_ENB1 R/W 11-9 8 RSVD GPIO_DATA1 R R/W 7 DISABLE_BMC R/W 6 RSVD R 5 GPIO_INV0 R/W 4 GPIO_ENB0 R/W 3-1 0 RSVD GPIO_DATA0 R R/W 8-18 9 Open HCI Registers The open HCI registers defined by the 1394 Open Host Controller Interface Specification are memory-mapped into a 2-Kbyte region of memory pointed to by the OHCI base address register at offset 10h in PCI configuration space (see Section 8.9). These registers are the primary interface for controlling the PCI4410A IEEE 1394 link function. This section provides the register interface and bit descriptions. Several set/clear register pairs in this programming model are implemented to solve various issues with typical read-modify-write control registers. There are two addresses for a set/clear register: RegisterSet and RegisterClear. See Table 9-1 for a register listing. A 1-bit written to RegisterSet causes the corresponding bit in the set/clear register to be set to 1; a 0 bit leaves the corresponding bit unaffected. A 1-bit written to RegisterClear causes the corresponding bit in the set/clear register to be cleared; a 0 bit leaves the corresponding bit in the set/clear register unaffected. Typically, a read from either RegisterSet or RegisterClear returns the contents of the set or clear register, respectively. However, sometimes reading the RegisterClear provides a masked version of the set or clear register. The interrupt event register is an example of this behavior. Table 9-1. Open HCI Register Map DMA CONTEXT -- OHCI version Global unique ID ROM Asynchronous transmit retries CSR data CSR compare data CSR control Configuration ROM header Bus identification Bus options Global unique ID high Global unique ID low Reserved Configuration ROM map Posted write address low Posted write address high Vendor identification Reserved Host controller control Reserved REGISTER NAME Version GUID_ROM ATRetries CSRData CSRCompareData CSRControl ConfigROMhdr BusID BusOptions GUIDHi GUIDLo -- ConfigROMmap PostedWriteAddressLo PostedWriteAddressHi VendorID -- HCControlSet HCControlClr -- ABBREVIATION OFFSET 00h 04h 08h 0Ch 10h 14h 18h 1Ch 20h 24h 28h 2Ch - 30h 34h 38h 3Ch 40h 44h - 4Ch 50h 54h 58h - 5Ch 9-1 Table 9-1. Open HCI Register Map (Continued) DMA CONTEXT Self ID Reserved Self ID buffer Self ID count Reserved -- Isochronous receive channel mask high Isochronous receive channel mask low Interrupt event Interrupt mask Isochronous transmit interrupt event Isochronous transmit interrupt mask -- Isochronous receive interrupt event Isochronous receive interrupt mask Reserved Fairness control Link control Node identification PHY layer control Isochronous cycle timer Reserved Asynchronous request filter high Asynchronous request filter low Physical request filter high Physical request filter low Physical upper bound Reserved REGISTER NAME -- SelfIDBuffer SelfIDCount -- IRChannelMaskHiSet IRChannelMaskHiClear IRChannelMaskLoSet IRChannelMaskLoClear IntEventSet IntEventClear IntMaskSet IntMaskClear IsoXmitIntEventSet IsoXmitIntEventClear IsoXmitIntMaskSet IsoXmitIntMaskClear IsoRecvIntEventSet IsoRecvIntEventClear IsoRecvIntMaskSet IsoRecvIntMaskClear -- FairnessControl LinkControlSet LinkControlClear NodeID PhyControl IsoCycleTimer -- AsyncRequestFilterHiSet AsyncRequestFilterHiClear AsyncRequestFilterLoSet AsyncRequestFilterLoClear PhysicalRequestFilterHiSet PhysicalRequestFilterHiClear PhysicalRequestFilterLoSet PhysicalRequestFilterLoClear PhysicalUpperBound -- ABBREVIATION OFFSET 60h 64h 68h 6Ch 70h 74h 78h 7Ch 80h 84h 88h 8Ch 90h 94h 98h 9Ch A0h A4h A8h ACh B0 - D8h DCh E0h E4h E8h ECh F0h F4h - FCh 100h 104h 108h 10Ch 110h 114h 118h 11Ch 120h 124h - 17Ch 9-2 Table 9-1. Open HCI Register Map (Continued) DMA CONTEXT REGISTER NAME Asynchronous context control Asynchronous request transmit [ ATRQ ] Reserved Asynchronous context command pointer Reserved Asynchronous context control Asynchronous res onse response transmit [ ATRS ] Reserved Asynchronous context command pointer Reserved Asynchronous context control Asynchronous request receive [ ARRQ ] Reserved Asynchronous context command pointer Reserved Asynchronous context control Asynchronous res onse response receive [ ARRS ] Reserved Asynchronous context command pointer Reserved Isochronous transmit context control Isochronous transmit context n n = 0, 1, 2, 3, ... 7 Reserved Isochronous transmit context command pointer Reserved Isochronous receive context control Isochronous receive context n n = 0, 1, 2, 3 Reserved Isochronous receive context command pointer Isochronous receive context match ABBREVIATION ContextControlSet ContextControlClear -- CommandPtr -- ContextControlSet ContextControlClear -- CommandPtr -- ContextControlSet ContextControlClear -- CommandPtr -- ContextControlSet ContextControlClear -- CommandPtr -- ContextControlSet ContextControlClear -- CommandPtr -- ContextControlSet ContextControlClear -- CommandPtr ContextMatch OFFSET 180h 184h 188h 18Ch 190h - 19Ch 1A0h 1A4h 1A8h 1ACh 1B0h - 1BCh 1C0h 1C4h 1C8h 1CCh 1D0h - 1DCh 1E0h 1E4h 1E8h 1ECh 1F0h - 1FCh 200h + 16*n 204h + 16*n 208h + 16*n 20Ch + 16*n 210h - 3FCh 400h + 32*n 404h + 32*n 408h + 32*n 40Ch + 32*n 410h + 32*n 9-3 9.1 OHCI Version Register The OHCI version register indicates the OHCI version support, and whether or not the serial EEPROM is present. See Table 9-2 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R 0 18 R 0 2 R 0 17 R 0 1 R 0 16 R 0 0 R 1 OHCI version OHCI version Register: Type: Offset: Default: OHCI version Read-only 00h 0001 0000h Table 9-2. OHCI Version Register Description BIT 31-25 24 23-16 15-8 7-0 SIGNAL RSVD GUID_ROM version RSVD revision TYPE R R R R R Reserved. Bits 31-25 return 0s when read. FUNCTION The PCI4410A device sets bit 24 to 1 if the serial EEPROM is detected. If the serial EEPROM is present, the Bus_Info_Block is loaded automatically on hardware reset. Major version of the open HCI. The PCI4410A device is compliant with the 1394 Open Host Controller Interface Specification; thus, this field reads 01h. Reserved. Bits 15-8 return 0s when read. Minor version of the open HCI. The PCI4410A device is compliant with the 1394 Open Host Controller Interface Specification; thus, this field reads 00h. 9-4 9.2 GUID ROM Register The GUID ROM register is used to access the serial EEPROM, and is applicable only if bit 24 (GUID_ROM) in the OHCI version register (offset 00h, see Section 9.1) is set to 1. See Table 9-3 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 RSU 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 RSU 0 9 31 30 29 28 27 26 25 24 R 0 8 R 0 23 RU X 7 R 0 22 RU X 6 R 0 21 RU X 5 R 0 20 RU X 4 R 0 19 RU X 3 R 0 18 RU X 2 R 0 17 RU X 1 R 0 16 RU X 0 R 0 GUID ROM GUID ROM Register: Type: Offset: Default: GUID ROM Read-only, Read/Set/Update, Read/Update 04h 00XX 0000h Table 9-3. GUID ROM Register Description BIT 31 30-26 25 24 23-16 15-0 SIGNAL addrReset RSVD rdStart RSVD rdData RSVD TYPE RSU R RSU R RU R FUNCTION Software sets this bit to 1 to reset the GUID ROM address to 0. When the PCI4410A device completes the reset, it clears this bit. The PCI4410A device does not automatically fill bits 23-16 (rdData field) with the 0th byte. Reserved. Bits 30-26 return 0s when read. A read of the currently addressed byte is started when this bit is set to 1. This bit is automatically cleared when the PCI4410A device completes the read of the currently addressed GUID ROM byte. Reserved. Bit 24 returns 0 when read. This field represents the data read from the GUID ROM. Reserved. Bits 15-0 return 0s when read. 9-5 9.3 Asynchronous Transmit Retries Register The asynchronous transmit retries register indicates the number of times the PCI4410A device attempts a retry for asynchronous DMA request transmit and for asynchronous physical and DMA response transmit. See Table 9-4 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R/W 0 R/W 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 31 30 29 28 27 26 25 R 0 9 R/W 0 24 R 0 8 R/W 0 23 R 0 7 R/W 0 22 R 0 6 R/W 0 21 R 0 5 R/W 0 20 R 0 4 R/W 0 19 R 0 3 R/W 0 18 R 0 2 R/W 0 17 R 0 1 R/W 0 16 R 0 0 R/W 0 Asynchronous transmit retries Asynchronous transmit retries Register: Type: Offset: Default: Asynchronous transmit retries Read-only, Read/Write 08h 0000 0000h Table 9-4. Asynchronous Transmit Retries Register Description BIT 31-29 28-16 15-12 11-8 SIGNAL secondLimit cycleLimit RSVD maxPhysRespRetries TYPE R R R R/W FUNCTION The second limit field returns 0s when read, because outbound dual-phase retry is not implemented. The cycle limit field returns 0s when read, because outbound dual-phase retry is not implemented. Reserved. Bits 15-12 return 0s when read. The maxPhysRespRetries field tells the physical response unit how many times to attempt to retry the transmit operation for the response packet when a busy acknowledge or ack_data_error is received from the target node. The maxATRespRetries field tells the asynchronous transmit response unit how many times to attempt to retry the transmit operation for the response packet when a busy acknowledge or ack_data_error is received from the target node. The maxATReqRetries field tells the asynchronous transmit DMA request unit how many times to attempt to retry the transmit operation for the response packet when a busy acknowledge or ack_data_error is received from the target node. 7-4 maxATRespRetries R/W 3-0 maxATReqRetries R/W 9.4 CSR Data Register The CSR data register is used to access the bus management CSR registers from the host through compare-swap operations. This register contains the data to be stored in a CSR if the compare is successful. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R 0 18 R 0 2 R 0 17 R 0 1 R 0 16 R 0 0 R 0 CSR data CSR data Register: Type: Offset: Default: CSR data Read-only 0Ch 0000 0000h 9-6 9.5 CSR Compare Register The CSR compare register is used to access the bus management CSR registers from the host through compare-swap operations. This register contains the data to be compared with the existing value of the CSR resource. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R 0 18 R 0 2 R 0 17 R 0 1 R 0 16 R 0 0 R 0 CSR compare CSR compare Register: Type: Offset: Default: CSR compare Read-only 10h 0000 0000h 9.6 CSR Control Register The CSR control register is used to access the bus management CSR registers from the host through compare-swap operations. This register is used to control the compare-swap operation and to select the CSR resource. See Table 9-5 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 RU 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R 0 18 R 0 2 R 0 17 R 0 1 R/W 0 16 R 0 0 R/W 0 CSR control CSR control Register: Type: Offset: Default: CSR control Read-only, Read/Update, Read/Write 14h 0000 0000h Table 9-5. CSR Control Register Description BIT 31 30-2 SIGNAL csrDone RSVD TYPE RU R FUNCTION This bit is set to 1 by the PCI4410A device when a compare-swap operation is complete. It is cleared whenever this register is written. Reserved. Bits 30-2 return 0s when read. This field selects the CSR resource as follows: 00 = BUS_MANAGER_ID 01 = BANDWIDTH_AVAILABLE 10 = CHANNELS_AVAILABLE_HI 11 = CHANNELS_AVAILABLE_LO 1-0 csrSel R/W 9-7 9.7 Configuration ROM Header Register The configuration ROM header register externally maps to the first quadlet of the 1394 configuration ROM, offset FFFF F000 0400h. See Table 9-6 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R/W X R/W X R/W X R/W X R/W X R/W X R/W 0 15 R/W 0 14 R/W 0 13 R/W 0 12 R/W 0 11 R/W 0 10 31 30 29 28 27 26 25 R/W 0 9 R/W X 24 R/W 0 8 R/W X 23 R/W 0 7 R/W X 22 R/W 0 6 R/W X 21 R/W 0 5 R/W X 20 R/W 0 4 R/W X 19 R/W 0 3 R/W X 18 R/W 0 2 R/W X 17 R/W 0 1 R/W X 16 R/W 0 0 R/W X Configuration ROM header Configuration ROM header Register: Type: Offset: Default: Configuration ROM header Read/Write 18h 0000 XXXXh Table 9-6. Configuration ROM Header Register Description BIT 31-24 23-16 SIGNAL info_length crc_length TYPE R/W R/W FUNCTION IEEE 1394 bus-management field. Must be valid when bit 17 (linkEnable) in the host controller control register (offset 50h/54h, see Section 9.16) is set to 1. IEEE 1394 bus-management field. Must be valid when bit 17 (linkEnable) in the host controller control register (offset 50h/54h, see Section 9.16) is set to 1. IEEE 1394 bus-management field. Must be valid at any time bit 17 (linkEnable) in the host controller control register (offset 50h/54h, see Section 9.16) is set to 1. The reset value is undefined if no serial EEPROM is present. If a serial EEPROM is present, this field is loaded from the serial EEPROM. 15-0 rom_crc_value R/W 9.8 Bus Identification Register The bus identification register externally maps to the first quadlet in the Bus_Info_Block, and contains the constant 3133 3934h, which is the ASCII value of 1394. Bit Name Type Default Bit Name Type Default R 0 R 0 R 1 R 1 R 1 R 0 R 0 R 0 15 R 0 14 R 1 13 R 1 12 R 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 1 8 R 1 23 R 0 7 R 0 22 R 0 6 R 0 21 R 1 5 R 1 20 R 1 4 R 1 19 R 0 3 R 0 18 R 0 2 R 1 17 R 1 1 R 0 16 R 1 0 R 0 Bus identification Bus identification Register: Type: Offset: Default: Bus identification Read-only 1Ch 3133 3934h 9-8 9.9 Bus Options Register The bus options register externally maps to the second quadlet of the Bus_Info_Block. See Table 9-7 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R/W 1 R/W 0 R/W 1 R/W 0 R 0 R 0 R 0 R/W X 15 R/W X 14 R/W X 13 R/W X 12 R/W 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 0 8 R 0 23 R/W X 7 R/W X 22 R/W X 6 R/W X 21 R/W X 5 R 0 20 R/W X 4 R 0 19 R/W X 3 R 0 18 R/W X 2 R 0 17 R/W X 1 R 1 16 R/W X 0 R 0 Bus options Bus options Register: Type: Offset: Default: Bus options Read-only, Read/Write 20h X0XX A0X2h Table 9-7. Bus Options Register Description BIT 31 30 29 28 SIGNAL irmc cmc isc bmc TYPE R/W R/W R/W R/W FUNCTION Isochronous resource-manager capable. IEEE 1394 bus-management field. Must be valid when bit 17 (linkEnable) in the host controller control register (offset 50h/54h, see Section 9.16) is set to 1. Cycle master capable. IEEE 1394 bus-management field. Must be valid when bit 17 (linkEnable) in the host controller control register (offset 50h/54h, see Section 9.16) is set to 1. Isochronous support capable. IEEE 1394 bus-management field. Must be valid when bit 17 (linkEnable) in the host controller control register (offset 50h/54h, see Section 9.16) is set to 1. Bus manager capable. IEEE 1394 bus-management field. Must be valid when bit 17 (linkEnable) in the host controller control register (offset 50h/54h, see Section 9.16) is set to 1. Power-management capable. IEEE 1394 bus-management field. When bit 27 is set, this indicates that the node is power-management capable. Must be valid when bit 17 (linkEnable) in the host controller control register (offset 50h/54h, see Section 9.16) is set to 1. Reserved. Bits 26-24 return 0s when read. Cycle master clock accuracy in parts per million. IEEE 1394 bus-management field. Must be valid when bit 17 (linkEnable) in the host controller control register (offset 50h/54h, see Section 9.16) is set to 1. Maximum request. IEEE 1394 bus-management field. Hardware initializes this field to indicate the maximum number of bytes in a block request packet that is supported by the implementation. This value, max_rec_bytes must be 512, or greater, and is calculated by 2^(max_rec + 1). Software may change this field; however, this field must be valid at any time bit 17 (linkEnable) in the host controller control register (offset 50h/54h, see Section 9.16) is set to 1. A received block write request packet with a length greater than max_rec_bytes may generate an ack_type_error. This field is not affected by a soft reset, and defaults to a value indicating 2048 bytes on a hard reset. Reserved. Bits 11-8 return 0s when read. Generation counter. This field is incremented if any portion of the configuration ROM has incremented since the prior bus reset. Reserved. Bits 5-3 return 0s when read. Link speed. This field returns 010, indicating that the link speeds of 100, 200, and 400 Mbits/s are supported. 27 26-24 23-16 pmc RSVD cyc_clk_acc R/W R R/W 15-12 max_rec R/W 11-8 7-6 5-3 2-0 RSVD g RSVD Lnk_spd R R/W R R 9-9 9.10 GUID High Register The GUID high register represents the upper quadlet in a 64-bit global unique ID (GUID) which maps to the third quadlet in the Bus_Info_Block. This register contains node_vendor_ID and chip_ID_hi fields. This register initializes to 0s on a hardware reset, which is an illegal GUID value. If a serial EEPROM is detected, the contents of this register are loaded through the serial EEPROM interface after a PRST. At that point, the contents of this register cannot be changed. If no serial EEPROM is detected, then the contents of this register are loaded by the BIOS after a PRST. At that point, the contents of this register cannot be changed. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R 0 18 R 0 2 R 0 17 R 0 1 R 0 16 R 0 0 R 0 GUID high GUID high Register: Type: Offset: Default: GUID high Read-only 24h 0000 0000h 9.11 GUID Low Register The GUID low register represents the lower quadlet in a 64-bit global unique ID (GUID), which maps to chip_ID_lo in the Bus_Info_Block. This register initializes to 0s on a hardware reset and behaves identically to the GUID high register (offset 24h, see Section 9.10). Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R 0 18 R 0 2 R 0 17 R 0 1 R 0 16 R 0 0 R 0 GUID low GUID low Register: Type: Offset: Default: GUID low Read-only 28h 0000 0000h 9-10 9.12 Configuration ROM Mapping Register The configuration ROM mapping register contains the start address within system memory that maps to the start address of 1394 configuration ROM for this node. See Table 9-8 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 15 R/W 0 14 R/W 0 13 R/W 0 12 R/W 0 11 R/W 0 10 31 30 29 28 27 26 25 R/W 0 9 R 0 24 R/W 0 8 R 0 23 R/W 0 7 R 0 22 R/W 0 6 R 0 21 R/W 0 5 R 0 20 R/W 0 4 R 0 19 R/W 0 3 R 0 18 R/W 0 2 R 0 17 R/W 0 1 R 0 16 R/W 0 0 R 0 Configuration ROM mapping Configuration ROM mapping Register: Type: Offset: Default: Configuration ROM mapping Read-only, Read/Write 34h 0000 0000h Table 9-8. Configuration ROM Mapping Register Description BIT 31-10 9-0 SIGNAL configROMaddr RSVD TYPE R/W R FUNCTION If a quadlet read request to 1394 offset FFFF F000 0400h through offset FFFF F000 07FFh is received, the low-order 10 bits of the offset are added to this register to determine the host memory address of the read request. Reserved. Bits 9-0 return 0s when read. 9.13 Posted Write Address Low Register The posted write address low register is used to communicate error information if a write request is posted and an error occurs while the posted data packet is being written. See Table 9-9 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default RU X RU X RU X RU X RU X RU X RU X 15 RU X 14 RU X 13 RU X 12 RU X 11 RU X 10 31 30 29 28 27 26 25 RU X 9 RU X 24 RU X 8 RU X 23 RU X 7 RU X 22 RU X 6 RU X 21 RU X 5 RU X 20 RU X 4 RU X 19 RU X 3 RU X 18 RU X 2 RU X 17 RU X 1 RU X 16 RU X 0 RU X Posted write address low Posted write address low Register: Type: Offset: Default: Posted write address low Read/Update 38h XXXX XXXXh Table 9-9. Posted Write Address Low Register Description BIT 31-0 SIGNAL offsetLo TYPE RU FUNCTION The lower 32 bits of the 1394 destination offset of the write request that failed. 9-11 9.14 Posted Write Address High Register The posted write address high register is used to communicate error information if a write request is posted and an error occurs while writing the posted data packet. See Table 9-10 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default RU X RU X RU X RU X RU X RU X RU X 15 RU X 14 RU X 13 RU X 12 RU X 11 RU X 10 31 30 29 28 27 26 25 RU X 9 RU X 24 RU X 8 RU X 23 RU X 7 RU X 22 RU X 6 RU X 21 RU X 5 RU X 20 RU X 4 RU X 19 RU X 3 RU X 18 RU X 2 RU X 17 RU X 1 RU X 16 RU X 0 RU X Posted write address high Posted write address high Register: Type: Offset: Default: Posted write address high Read/Update 3Ch XXXX XXXXh Table 9-10. Posted Write Address High Register Description BIT 31-16 15-0 SIGNAL sourceID offsetHi TYPE RU RU FUNCTION This field is the 10-bit bus number (bits 31-22) and 6-bit node number (bits 21-16) of the node that issued the write request that failed. The upper 16 bits of the 1394 destination offset of the write request that failed. 9.15 Vendor ID Register The vendor ID register holds the company ID of an organization that specifies any vendor-unique registers. The PCI4410A device does not implement Texas Instruments unique behavior with regards to open HCI. Thus, this register is read-only, and returns 0s when read. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R 0 18 R 0 2 R 0 17 R 0 1 R 0 16 R 0 0 R 0 Vendor ID Vendor ID Register: Type: Offset: Default: Vendor ID Read-only 40h 0000 0000h 9-12 9.16 Host Controller Control Register The host controller control set/clear register pair provides flags for controlling the PCI4410A link function. See Table 9-11 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 RSC X 14 R 0 13 R 0 12 R 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 0 8 R 0 23 RC 0 7 R 0 22 RSC 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 RSC 0 3 R 0 18 RSC X 2 R 0 17 RSC 0 1 R 0 16 RSCU 0 0 R 0 Host controller control Host controller control Register: Type: Offset: Default: Host controller control Read/Set/Clear/Update, Read/Set/Clear, Read/Clear, Read-only 50h set register 54h clear register X00X 0000h Table 9-11. Host Controller Control Register Description BIT 31 30 29-24 SIGNAL RSVD noByteSwapData RSVD TYPE R RSC R Reserved. Bit 31 returns 0 when read. FUNCTION This bit is used to control whether physical accesses to locations outside the PCI4410A device itself, as well as any other DMA data accesses, should be swapped. Reserved. Bits 29-24 return 0s when read. This bit informs upper-level software that lower-level software has consistently configured the IEEE 1394a-2000 enhancements in the link and PHY. When this bit is 1, generic software such as the OHCI driver is responsible for configuring IEEE 1394a-2000 enhancements in the PHY and bit 22 (aPhyEnhanceEnable) in the PCI4410A device. When this bit is 0, the generic software may not modify the IEEE 1394a-2000 enhancements in the PCI4410A device or PHY and cannot interpret the setting of bit 22 (aPhyEnhanceEnable). This bit is initialized from serial EEPROM. When bits 23 (programPhyEnable) and 17 (linkEnable) are 1, the OHCI driver can set this bit to 1 to use all IEEE 1394a-2000 enhancements. When bit 23 (programPhyEnable) is 0, the software does not change the PHY enhancements or this bit. Reserved. Bits 21 and 20 return 0s when read. This bit is used to control the link power status. Software must set this bit to 1 to permit the link-PHY communication. A 0 prevents link-PHY communication. This bit is used to enable (1) or disable (0) posted writes. Software should change this bit only when bit 17 (linkEnable) is 0. This bit is cleared to 0 by a hardware reset or software reset. Software must set this bit to 1 when the system is ready to begin operation, and then force a bus reset. This bit is necessary to keep other nodes from sending transactions before the local system is ready. When this bit is cleared, the PCI4410A device is logically and immediately disconnected from the 1394 bus, no packets are received or processed, nor are packets transmitted. When this bit is set to 1, all PCI4410A states are reset, all FIFOs are flushed, and all OHCI registers are set to their hardware reset values, unless otherwise specified. PCI registers are not affected by this bit. This bit remains set to 1 while the soft reset is in progress and reverts back to 0 when the reset has completed. Reserved. Bits 15-0 return 0s when read. 23 programPhyEnable RC 22 21-20 19 18 aPhyEnhanceEnable RSVD LPS postedWriteEnable RSC R RSC RSC 17 linkEnable RSC 16 SoftReset RSCU 15-0 RSVD R 9-13 9.17 Self-ID Buffer Pointer Register The self-ID buffer pointer register points to the 2-Kbyte aligned base address of the buffer in host memory where the self-ID packets are stored during bus initialization. Bits 31-11 are read/write accessible. Bits 10-0 are reserved, and return 0s when read. Bit Name Type Default Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R 0 R 0 R/W 0 15 R/W 0 14 R/W 0 13 R/W 0 12 R/W 0 11 R/W 0 10 0 9 31 30 29 28 27 26 25 R/W 24 R/W 0 8 R 0 23 R/W 0 7 R 0 22 R/W 0 6 R 0 21 R/W 0 5 R 0 20 R/W 0 4 R 0 19 R/W 0 3 R 0 18 R/W 0 2 R 0 17 R/W 0 1 R 0 16 R/W 0 0 R 0 Self-ID buffer pointer Self-ID buffer pointer Register: Type: Offset: Default: Self-ID buffer pointer Read-only, Read/Write 64h 0000 0000h 9.18 Self-ID Count Register The self-ID count register keeps a count of the number of times the bus self-ID process has occurred, flags self-ID packet errors, and keeps a count of the amount of self-ID data in the self-ID buffer. See Table 9-12 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 RU 0 RU 0 RU X 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 0 8 RU 0 23 RU X 7 RU 0 22 RU X 6 RU 0 21 RU X 5 RU 0 20 RU X 4 RU 0 19 RU X 3 RU 0 18 RU X 2 RU 0 17 RU X 1 R 0 16 RU X 0 R 0 Self-ID count Self-ID count Register: Type: Offset: Default: Self-ID count Read/Update 68h X0XX 0000h Table 9-12. Self ID Count Register Description BIT 31 30-24 23-16 15-11 10-2 1-0 SIGNAL selfIDError RSVD selfIDGeneration RSVD selfIDSize RSVD TYPE RU R RU R RU R FUNCTION This bit is 1 if an error was detected during the most recent self-ID packet reception. The contents of the self-ID buffer are undefined. This bit is cleared after a self-ID reception in which no errors are detected. Note that an error can be a hardware error or a host bus write error. Reserved. Bits 30-24 return 0s when read. The value in this field increments each time a bus reset is detected. This field rolls over to 0 after reaching 255. Reserved. Bits 15-11 return 0s when read. This field indicates the number of quadlets that have been written into the self-ID buffer for the current bits 23-16 (selfIDGeneration field). This includes the header quadlet and the self-ID data. This field is cleared to 0 when the self-ID reception begins. Reserved. Bits 1 and 0 return 0s when read. 9-14 9.19 Isochronous Receive Channel Mask High Register The isochronous receive channel mask high set/clear register is used to enable packet receives from the upper 32 isochronous data channels. A read from either the set register or clear register returns the content of the isochronous receive channel mask high register. See Table 9-13 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default RSC X RSC X RSC X RSC X RSC X RSC X 15 RSC X 14 RSC X 13 RSC X 12 RSC X 11 31 30 29 28 27 26 RSC X 10 RSC X 25 RSC X 9 RSC X 24 RSC X 8 RSC X 23 RSC X 7 RSC X 22 RSC X 6 RSC X 21 RSC X 5 RSC X 20 RSC X 4 RSC X 19 RSC X 3 RSC X 18 RSC X 2 RSC X 17 RSC X 1 RSC X 16 RSC X 0 RSC X Isochronous receive channel mask high Isochronous receive channel mask high Register: Type: Offset: Default: Isochronous receive channel mask high Read/Set/Clear 70h set register 74h clear register XXXX XXXXh Table 9-13. Isochronous Receive Channel Mask High Register Description BIT 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 SIGNAL isoChannel63 isoChannel62 isoChannel61 isoChannel60 isoChannel59 isoChannel58 isoChannel57 isoChannel56 isoChannel55 isoChannel54 isoChannel53 isoChannel52 isoChannel51 isoChannel50 isoChannel49 isoChannel48 isoChannel47 isoChannel46 isoChannel45 isoChannel44 isoChannel43 isoChannel42 isoChannel41 isoChannel40 isoChannel39 isoChannel38 TYPE RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC FUNCTION When bit 31 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 63. When bit 30 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 62. When bit 29 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 61. When bit 28 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 60. When bit 27 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 59. When bit 26 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 58. When bit 25 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 57. When bit 24 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 56. When bit 23 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 55. When bit 22 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 54. When bit 21 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 53. When bit 20 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 52. When bit 19 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 51. When bit 18 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 50. When bit 17 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 49. When bit 16 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 48. When bit 15 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 47. When bit 14 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 46. When bit 13 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 45. When bit 12 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 44. When bit 11 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 43. When bit 10 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 42. When bit 9 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 41. When bit 8 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 40. When bit 7 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 39. When bit 6 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 38. 9-15 Table 9-13. Isochronous Receive Channel Mask High Register Description (Continued) BIT 5 4 3 2 1 0 SIGNAL isoChannel37 isoChannel36 isoChannel35 isoChannel34 isoChannel33 isoChannel32 TYPE RSC RSC RSC RSC RSC RSC FUNCTION When bit 5 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 37. When bit 4 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 36. When bit 3 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 35. When bit 2 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 34. When bit 1 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 33. When bit 0 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 32. 9.20 Isochronous Receive Channel Mask Low Register The isochronous receive channel mask low set/clear register is used to enable packet receives from the lower 32 isochronous data channels. See Table 9-14 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default RSC X RSC X RSC X RSC X RSC X X RSC X 15 RSC X 14 RSC X 13 RSC X 12 RSC X 11 X 10 RSC 31 30 29 28 27 26 RSC 25 RSC X 9 RSC X 24 RSC X 8 RSC X 23 RSC X 7 RSC X 22 RSC X 6 RSC X 21 RSC X 5 RSC X 20 RSC X 4 RSC X 19 RSC X 3 RSC X 18 RSC X 2 RSC X 17 RSC X 1 RSC X 16 RSC X 0 RSC X Isochronous receive channel mask low Isochronous receive channel mask low Register: Type: Offset: Default: Isochronous receive channel mask low Read/Set/Clear 78h set register 7Ch clear register XXXX XXXXh Table 9-14. Isochronous Receive Channel Mask Low Register Description BIT 31 30 L 1 0 SIGNAL isoChannel31 isoChannel30 L isoChannel1 isoChannel0 TYPE RSC RSC L RSC RSC FUNCTION When bit 31 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 31. When bit 30 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 30. Bits 29 through 2 follow the same pattern. When bit 1 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 1. When bit 0 is set to 1, the PCI4410A device is enabled to receive from isochronous channel number 0. 9-16 9.21 Interrupt Event Register The interrupt event set/clear register reflects the state of the various PCI4410A interrupt sources. The interrupt bits are set by an asserting edge of the corresponding interrupt signal, or by writing a 1 in the corresponding bit in the set register. The only mechanism to clear a bit in this register is to write a 1 to the corresponding bit in the clear register. This register is fully compliant with the 1394 Open Host Controller Interface Specification, and the PCI4410A device adds a vendor-specific interrupt function to bit 30. When the interrupt event register is read, the return value is the bit-wise AND function of the interrupt event and interrupt mask registers. See Table 9-15 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 RSCU X X R 0 15 R X 14 R 0 13 R 0 12 R 0 11 RSCU X 10 RSCU X 9 X 8 RSCU 31 30 29 28 27 26 25 24 RSCU 23 Interrupt event RSCU X 7 Interrupt event RU X RU X RSCU X RSCU X RSCU X RSCU X RSCU X RSCU X RSCU X 6 RSCU X 5 RSCU X 4 RSCU X 3 R 0 2 RSCU X 1 RSCU X 0 22 21 20 19 18 17 16 Register: Type: Offset: Default: Interrupt event Read/Set/Clear/Update, Read/Update, Read-only 80h set register 84h clear register (returns the content of the interrupt event register bitwise ANDed with the interrupt mask register when read) XXXX 0XXXh Table 9-15. Interrupt Event Register Description BIT 31 30 29-27 26 SIGNAL RSVD vendorSpecific RSVD phyRegRcvd TYPE R R R RSCU Reserved. Bit 31 returns 0 when read. Vendor defined. FUNCTION Reserved. Bits 29-27 return 0s when read. The PCI4410A device has received a PHY register data byte that can be read from bits 23-16 of the PHY control register (offset ECh, see Section 9.30). If bit 21 (cycleMaster) of the link control register (offset E0h/E4h, see Section 9.28) is set to 1, this indicates that over 125 s have elapsed between the start of sending a cycle start packet and the end of a subaction gap. The link control register bit 21 (cycleMaster) is cleared by this event. This event occurs when the PCI4410A device encounters any error that forces it to stop operations on any or all of its subunits, for example, when a DMA context sets its dead bit to 1. While bit 24 is set to 1, all normal interrupts for the context(s) that caused this interrupt are blocked from being set to 1. A cycle start was received that had values for the cycleSeconds and cycleCount fields that are different from the values in bits 31-25 (cycleSeconds field) and bits 24-12 (cycleCount field) in the isochronous cycle timer register (offset F0h, see Section 9.31). A lost cycle is indicated when no cycle_start packet is sent/received between two successive cycleSynch events. A lost cycle can be predicted when a cycle_start packet does not immediately follow the first subaction gap after the cycleSynch event or if an arbitration reset gap is detected after a cycleSynch event without an intervening cycle start. Bit 22 may be set to 1 either when a lost cycle occurs or when logic predicts that one will occur. Indicates that the 7th bit of the cycle second counter has changed. Indicates that a new isochronous cycle has started. Bit 20 is set to 1 when the low-order bit of the cycle count toggles. Indicates the PHY requests an interrupt through a status transfer. Reserved. Bit 18 returns 0 when read. Indicates that the PHY chip has entered the bus reset mode. 25 cycleTooLong RSCU 24 unrecoverableError RSCU 23 cycleInconsistent RSCU 22 cycleLost RSCU 21 20 19 18 17 cycle64Seconds cycleSynch phy RSVD busReset RSCU RSCU RSCU R RSCU 9-17 Table 9-15. Interrupt Event Register Description (Continued) BIT 16 15-10 9 8 SIGNAL selfIDcomplete RSVD lockRespErr postedWriteErr TYPE RSCU R RSCU RSCU FUNCTION A self-ID packet stream has been received. It is generated at the end of the bus initialization process. This bit is turned off simultaneously when bit 17 (busReset) is turned on. Reserved. Bits 15-10 return 0s when read. Indicates that the PCI4410A device sent a lock response for a lock request to a serial bus register, but did not receive an ack_complete. Indicates that a host bus error occurred while the PCI4410A device was trying to write a 1394 write request, which had already been given an ack_complete, into system memory. Isochronous receive DMA interrupt. Indicates that one or more isochronous receive contexts have generated an interrupt. This is not a latched event; it is the logical OR of all bits in the isochronous receive interrupt event (offset A0h/A4h, see Section 9.25) and isochronous receive interrupt mask (offset A8h/ACh, see Section 9.26) registers. The isochronous receive interrupt event register indicates which contexts have been interrupted. Isochronous transmit DMA interrupt. Indicates that one or more isochronous transmit contexts have generated an interrupt. This is not a latched event, it is the logical OR of all bits in the isochronous transmit interrupt event (offset 90h/94h, see Section 9.23) and isochronous transmit interrupt mask (offset 98h/9Ch, see Section 9.24) registers. The isochronous transmit interrupt event register indicates which contexts have been interrupted. Indicates that a packet was sent to an asynchronous receive response context buffer and the descriptor's xferStatus and resCount fields have been updated. Indicates that a packet was sent to an asynchronous receive request context buffer and the descriptor's xferStatus and resCount fields have been updated. Asynchronous receive response DMA interrupt. This bit is conditionally set to 1 upon completion of an ARRS DMA context command descriptor. Asynchronous receive request DMA interrupt. This bit is conditionally set to 1 upon completion of an ARRQ DMA context command descriptor. Asynchronous response transmit DMA interrupt. This bit is conditionally set to 1 upon completion of an ATRS DMA command. Asynchronous request transmit DMA interrupt. This bit is conditionally set to 1 upon completion of an ATRQ DMA command. 7 isochRx RU 6 isochTx RU 5 4 3 2 1 0 RSPkt RQPkt ARRS ARRQ respTxComplete reqTxComplete RSCU RSCU RSCU RSCU RSCU RSCU 9-18 9.22 Interrupt Mask Register The interrupt mask set/clear register is used to enable the various PCI4410A interrupt sources. Reads from either the set register or the clear register always return the contents of the interrupt mask register. In all cases except masterIntEnable (bit 31), the enables for each interrupt event align with the event register bits detailed in Table 9-15. See Table 9-16 for a description of the register contents. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 RSCU X X RSC 0 15 R X 14 R 0 13 R 0 12 R 0 11 RSCU X 10 RSCU X 9 X 8 RSCU 31 30 29 28 27 26 25 24 RSCU 23 Interrupt mask RSCU X 7 Interrupt mask RU X RU X RSCU X RSCU X RSCU X RSCU X RSCU X RSCU X RSCU X 6 RSCU X 5 RSCU X 4 RSCU X 3 R 0 2 RSCU X 1 RSCU X 0 22 21 20 19 18 17 16 Register: Type: Offset: Default: Interrupt mask Read/Set/Clear/Update, Read/Set/Clear, Read/Update, Read-only 88h set register 8Ch clear register XXXX 0XXXh Table 9-16. Interrupt Mask Register Description BIT 31 30-0 SIGNAL masterIntEnable TYPE RSC FUNCTION If this bit is set to 1, external interrupts are generated in accordance with the interrupt mask register. If this bit is cleared, no external interrupts are generated regardless of the interrupt mask register settings. See Table 9-15. 9-19 9.23 Isochronous Transmit Interrupt Event Register The isochronous transmit interrupt event set/clear register reflects the interrupt state of the isochronous transmit contexts. An interrupt is generated on behalf of an isochronous transmit context if an OUTPUT_LAST command completes and its interrupt bits are set to 1. Upon determining that the isochTx (bit 6) interrupt has occurred in the interrupt event register (offset 80h/84h, see Section 9.21), software can check this register to determine which context(s) caused the interrupt. The interrupt bits are set to 1 by an asserting edge of the corresponding interrupt signal, or by writing a 1 in the corresponding bit in the set register. The only mechanism to clear a bit in this register is to write a 1 to the corresponding bit in the clear register. See Table 9-17 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 31 30 29 28 27 26 25 R 0 9 R 0 24 R 0 8 R 0 23 R 0 7 RSC X 22 R 0 6 RSC X 21 R 0 5 RSC X 20 R 0 4 RSC X 19 R 0 3 RSC X 18 R 0 2 RSC X 17 R 0 1 RSC X 16 R 0 0 RSC X Isochronous transmit interrupt event Isochronous transmit interrupt event Register: Type: Offset: Default: Isochronous transmit interrupt event Read/Set/Clear, Read-only 90h set register 94h clear register (returns the contents of the isochronous transmit interrupt event register bitwise ANDed with the isochronous transmit interrupt mask register when read) 0000 00XXh Table 9-17. Isochronous Transmit Interrupt Event Register Description BIT 31-8 7 6 5 4 3 2 1 0 SIGNAL RSVD isoXmit7 isoXmit6 isoXmit5 isoXmit4 isoXmit3 isoXmit2 isoXmit1 isoXmit0 TYPE R RSC RSC RSC RSC RSC RSC RSC RSC Reserved. Bits 31-8 return 0s when read. FUNCTION Isochronous transmit channel 7 caused the interrupt event register bit 6 (isochTx) interrupt. Isochronous transmit channel 6 caused the interrupt event register bit 6 (isochTx) interrupt. Isochronous transmit channel 5 caused the interrupt event register bit 6 (isochTx) interrupt. Isochronous transmit channel 4 caused the interrupt event register bit 6 (isochTx) interrupt. Isochronous transmit channel 3 caused the interrupt event register bit 6 (isochTx) interrupt. Isochronous transmit channel 2 caused the interrupt event register bit 6 (isochTx) interrupt. Isochronous transmit channel 1 caused the interrupt event register bit 6 (isochTx) interrupt. Isochronous transmit channel 0 caused the interrupt event register bit 6 (isochTx) interrupt. 9-20 9.24 Isochronous Transmit Interrupt Mask Register The isochronous transmit interrupt mask set/clear register is used to enable the isochTx interrupt source on a per-channel basis. Reads from either the set register or the clear register always return the contents of the isochronous transmit interrupt mask register. In all cases, the enables for each interrupt event align with the isochronous transmit interrupt event register bits detailed in Table 9-17. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 31 30 29 28 27 26 25 R 0 9 R 0 24 R 0 8 R 0 23 R 0 7 RSC X 22 R 0 6 RSC X 21 R 0 5 RSC X 20 R 0 4 RSC X 19 R 0 3 RSC X 18 R 0 2 RSC X 17 R 0 1 RSC X 16 R 0 0 RSC X Isochronous transmit interrupt mask Isochronous transmit interrupt mask Register: Type: Offset: Default: Isochronous transmit interrupt mask Read/Set/Clear, Read-only 98h set register 9Ch clear register 0000 00XXh 9-21 9.25 Isochronous Receive Interrupt Event Register The isochronous receive interrupt event set/clear register reflects the interrupt state of the isochronous receive contexts. An interrupt is generated on behalf of an isochronous receive context if an INPUT_* command completes and its interrupt bits are set to 1. Upon determining that the isochRx (bit 7) interrupt in the interrupt event register (offset 80h/84h, see Section 9.21) has occurred, software can check this register to determine which context(s) caused the interrupt. The interrupt bits are set to 1 by an asserting edge of the corresponding interrupt signal, or by writing a 1 in the corresponding bit in the set register. The only mechanism to clear a bit in this register is to write a 1 to the corresponding bit in the clear register. See Table 9-18 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 31 30 29 28 27 26 25 R 0 9 R 0 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 RSC X 18 R 0 2 RSC X 17 R 0 1 RSC X 16 R 0 0 RSC X Isochronous receive interrupt event Isochronous receive interrupt event Register: Type: Offset: Default: Isochronous receive interrupt event Read/Set/Clear, Read-only A0h set register A4h clear register (returns the contents of the isochronous receive interrupt event register bitwise ANDed with the isochronous receive interrupt mask register when read) 0000 000Xh Table 9-18. Isochronous Receive Interrupt Event Register Description BIT 31-4 3 2 1 0 SIGNAL RSVD isoRecv3 isoRecv2 isoRecv1 isoRecv0 TYPE R RSC RSC RSC RSC Reserved. Bits 31-4 return 0s when read. FUNCTION Isochronous receive channel 3 caused the interrupt event register bit 7 (isochRx) interrupt. Isochronous receive channel 2 caused the interrupt event register bit 7 (isochRx) interrupt. Isochronous receive channel 1 caused the interrupt event register bit 7 (isochRx) interrupt. Isochronous receive channel 0 caused the interrupt event register bit 7 (isochRx) interrupt. 9-22 9.26 Isochronous Receive Interrupt Mask Register The isochronous receive interrupt mask set/clear register is used to enable the isochRx interrupt source on a per-channel basis. Reads from either the set register or the clear register always return the contents of the isochronous receive interrupt mask register. In all cases the enables for each interrupt event align with the isochronous receive interrupt event register bits detailed in Table 9-18. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 31 30 29 28 27 26 25 R 0 9 R 0 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 RSC X 18 R 0 2 RSC X 17 R 0 1 RSC X 16 R 0 0 RSC X Isochronous receive interrupt mask Isochronous receive interrupt mask Register: Type: Offset: Default: Isochronous receive interrupt mask Read/Set/Clear, Read-only A8h set register ACh clear register 0000 000Xh 9.27 Fairness Control Register (Optional Register) The fairness control register provides a mechanism by which software can direct the host controller to transmit multiple asynchronous requests during a fairness interval. See Table 9-19 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R X R X R X R X R X R X R X R X 15 R X 14 R X 13 R X 12 R X 11 R X 10 R X 9 31 30 29 28 27 26 25 24 R X 8 R X 23 R X 7 R/W 0 22 R X 6 R/W 0 21 R X 5 R/W 0 20 R X 4 R/W 0 19 R X 3 R/W 0 18 R X 2 R/W 0 17 R X 1 R/W 0 16 R X 0 R/W 0 Fairness control Fairness control Register: Type: Offset: Default: Fairness control Read-only, Read/Write DCh XXXX XX00h Table 9-19. Fairness Control Register Description BIT 31-8 7-0 SIGNAL RSVD pri_req TYPE R R/W Reserved. Bits 31-8 return 0s when read. FUNCTION This field specifies the maximum number of priority arbitration requests for asynchronous request packets that the link is permitted to make of the PHY during a fairness interval. 9-23 9.28 Link Control Register The link control set/clear register provides the control flags that enable and configure the link core protocol portions of the PCI4410A device. It contains controls for the receiver and cycle timer. See Table 9-20 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 RSC X RSC X R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 0 8 R 0 23 R 0 7 R 0 22 RSC X 6 R 0 21 RSCU X 5 R 0 20 RSC X 4 R 0 19 R 0 3 R 0 18 R 0 2 R 0 17 R 0 1 R 0 16 R 0 0 R 0 Link control Link control Register: Type: Offset: Default: Link control Read/Set/Clear/Update, Read/Set/Clear, Read-only E0h set register E4h clear register 00X0 0X00h Table 9-20. Link Control Register Description BIT 31-23 22 SIGNAL RSVD cycleSource TYPE R RSC FUNCTION Reserved. Bits 31-23 return 0s when read. When bit 22 is set to 1, the cycle timer uses an external source (CYCLEIN) to determine when to roll over the cycle timer. When this bit is cleared, the cycle timer rolls over when the timer reaches 3072 cycles of the 24.576-MHz clock (125 s). When bit 21 is set to 1 and the PHY has notified the PCI4410A device that it is root, the PCI4410A device generates a cycle start packet every time the cycle timer rolls over, based on the setting of bit 22 (cycleSource). When bit 21 is cleared, the OHCI-Lynxt accepts received cycle start packets to maintain synchronization with the node that is sending them. Bit 21 is automatically cleared when bit 25 (cycleTooLong) in the interrupt event register (offset 80h/84h, see Section 9.21) is set. Bit 21 cannot be set to 1 until bit 25 (cycleTooLong) is cleared. When bit 20 is set to 1, the cycle timer offset counts cycles of the 24.576-MHz clock and rolls over at the appropriate time, based on the settings of the above bits. When this bit is cleared, the cycle timer offset does not count. Reserved. Bits 19-11 return 0s when read. When bit 10 is set to 1, the receiver accepts incoming PHY packets into the AR request context if the AR request context is enabled. This does not control receipt of self-identification packets. When bit 9 is set to 1, the receiver accepts incoming self-identification packets. Before setting this bit to 1, software must ensure that the self-ID buffer pointer register contains a valid address. Reserved. Bits 8-0 return 0s when read. 21 cycleMaster RSCU 20 19-11 10 9 8-0 CycleTimerEnable RSVD RcvPhyPkt RcvSelfID RSVD RSC R RSC RSC R 9-24 9.29 Node Identification Register The node identification register contains the address of the node on which the OHCI-Lynxt chip resides, and indicates the valid node number status. The 16-bit combination of the busNumber field (bits 15-6) and the NodeNumber field (bits 5-0) is referred to as the node ID. See Table 9-21 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default RWU 1 RWU 1 RWU 1 RWU 1 RWU 1 RWU 1 RWU 1 RU 0 15 RU 0 14 R 0 13 R 0 12 RU 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 0 8 RWU 1 23 R 0 7 RWU 1 22 R 0 6 RWU 1 21 R 0 5 RU X 20 R 0 4 RU X 19 R 0 3 RU X 18 R 0 2 RU X 17 R 0 1 RU X 16 R 0 0 RU X Node identification Node identification Register: Type: Offset: Default: Node identification Read/Write/Update, Read/Update, Read-only E8h 0000 FFXXh Table 9-21. Node Identification Register Description BIT 31 30 29-28 27 26-16 15-6 SIGNAL iDValid root RSVD CPS RSVD busNumber TYPE RU RU R RU R RWU FUNCTION Bit 31 indicates whether or not the PCI4410A device has a valid node number. It is cleared when a 1394 bus reset is detected and set to 1 when the PCI4410A device receives a new node number from the PHY. Bit 30 is set to 1 during the bus reset process if the attached PHY is root. Reserved. Bits 29 and 28 return 0s when read. Bit 27 is set to 1 if the PHY is reporting that cable power status is OK (VP 8V). Reserved. Bits 26-16 return 0s when read. This field is used to identify the specific 1394 bus the PCI4410A device belongs to when multiple 1394-compatible buses are connected via a bridge. This field is the physical node number established by the PHY during self-identification. It is automatically set to the value received from the PHY after the self-identification phase. If the PHY sets the nodeNumber to 63, software should not set bit 15 (run) of the asynchronous context control register (see Section 9.37) for either of the AT DMA contexts. 5-0 NodeNumber RU 9-25 9.30 PHY Control Register The PHY control register is used to read or write a PHY register. See Table 9-22 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default RWU 0 RWU 0 R 0 R 0 R/W X R/W X R/W X RU X 15 R 0 14 R 0 13 R 0 12 RU X 11 RU X 10 RU X 9 31 30 29 28 27 26 25 24 RU X 8 R/W X 23 RU X 7 R/W X 22 RU X 6 R/W X 21 RU X 5 R/W X 20 RU X 4 R/W X 19 RU X 3 R/W X 18 RU X 2 R/W X 17 RU X 1 R/W X 16 RU X 0 R/W X PHY control PHY control Register: Type: Offset: Default: PHY control Read/Write/Update, Read/Update, Read/Write, Read-only ECh XXXX 0XXXh Table 9-22. PHY Control Register Description BIT 31 30-28 27-24 23-16 15 14 13-12 11-8 7-0 SIGNAL rdDone RSVD rdAddr rdData rdReg wrReg RSVD regAddr wrData TYPE RU R RU RU RWU RWU R R/W R/W FUNCTION This bit is cleared to 0 by the PCI4410A device when either bit 15 (rdReg) or bit 14 (wrReg) is set to 1. This bit is set to 1 when a register transfer is received from the PHY. Reserved. Bits 30-28 return 0s when read. This is the address of the register most recently received from the PHY. This field is the contents of a PHY register which has been read. This bit is set to 1 by software to initiate a read request to a PHY register, and is cleared by hardware when the request has been sent. Bits 15 and 14 must not be set simultaneously. This bit is set to 1 by software to initiate a write request to a PHY register, and is cleared by hardware when the request has been sent. Bits 14 and 15 must not be set simultaneously. Reserved. Bits 13 and 12 return 0s when read. This field is the address of the PHY register to be written or read. This field is the data to be written to a PHY register and is ignored for reads. 9-26 9.31 Isochronous Cycle Timer Register The isochronous cycle timer register indicates the current cycle number and offset. When the PCI4410A device is cycle master, this register is transmitted with the cycle start message. When the PCI4410A device is not cycle master, this register is loaded with the data field in an incoming cycle start. In the event that the cycle start message is not received, the fields can continue incrementing on their own (if programmed) to maintain a local time reference. See Table 9-23 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default RWU X RWU X RWU X RWU X RWU X RWU X RWU X 15 RWU X 14 RWU X 13 RWU X 12 RWU X 11 RWU X 10 31 30 29 28 27 26 25 RWU X 9 RWU X 24 RWU X 8 RWU X 23 RWU X 7 RWU X 22 RWU X 6 RWU X 21 RWU X 5 RWU X 20 RWU X 4 RWU X 19 RWU X 3 RWU X 18 RWU X 2 RWU X 17 RWU X 1 RWU X 16 RWU X 0 RWU X Isochronous cycle timer Isochronous cycle timer Register: Type: Offset: Default: Isochronous cycle timer Read/Write/Update F0h XXXX XXXXh Table 9-23. Isochronous Cycle Timer Register Description BIT 31-25 24-12 11-0 SIGNAL cycleSeconds cycleCount cycleOffset TYPE RWU RWU RWU FUNCTION This field counts seconds [rollovers from bits 24-12 (cycleCount field)] modulo 128. This field counts cycles [rollovers from bits 11-0 (cycleOffset field)] modulo 8000. This field counts 24.576-MHz clocks modulo 3072, that is, 125 s. If an external 8-kHz clock configuration is being used, this bit must be cleared at each tick of the external clock. 9-27 9.32 Asynchronous Request Filter High Register The asynchronous request filter high set/clear register is used to enable asynchronous receive requests on a per-node basis, and handles the upper node IDs. When a packet is destined for either the physical request context or the ARRQ context, the source node ID is examined. If the bit corresponding to the node ID is not set to 1 in this register, the packet is not acknowledged and the request is not queued. The node ID comparison is done if the source node is on the same bus as the PCI4410A device. All nonlocal bus-sourced packets are not acknowledged unless bit 31 in this register is set to 1. See Table 9-24 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default RSC 0 RSC 0 RSC 0 RSC 0 RSC 0 RSC 0 RSC 0 15 RSC 0 14 RSC 0 13 RSC 0 12 RSC 0 11 RSC 0 10 31 30 29 28 27 26 25 RSC 0 9 RSC 0 24 RSC 0 8 RSC 0 23 RSC 0 7 RSC 0 22 RSC 0 6 RSC 0 21 RSC 0 5 RSC 0 20 RSC 0 4 RSC 0 19 RSC 0 3 RSC 0 18 RSC 0 2 RSC 0 17 RSC 0 1 RSC 0 16 RSC 0 0 RSC 0 Asynchronous request filter high Asynchronous request filter high Register: Type: Offset: Default: Asynchronous request filter high Read/Set/Clear 100h set register 104h clear register 0000 0000h Table 9-24. Asynchronous Request Filter High Register Description BIT 31 30 29 28 27 26 25 24 23 22 21 20 SIGNAL asynReqAllBuses asynReqResource62 asynReqResource61 asynReqResource60 asynReqResource59 asynReqResource58 asynReqResource57 asynReqResource56 asynReqResource55 asynReqResource54 asynReqResource53 asynReqResource52 TYPE RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC FUNCTION If bit 31 is set to 1, all asynchronous requests received by the PCI4410A device from nonlocal bus nodes are accepted. If bit 30 is set to 1 for local bus node number 62, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 29 is set to 1 for local bus node number 61, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 28 is set to 1 for local bus node number 60, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 27 is set to 1 for local bus node number 59, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 26 is set to 1 for local bus node number 58, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 25 is set to 1 for local bus node number 57, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 24 is set to 1 for local bus node number 56, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 23 is set to 1 for local bus node number 55, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 22 is set to 1 for local bus node number 54, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 21 is set to 1 for local bus node number 53, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 20 is set to 1 for local bus node number 52, asynchronous requests received by the PCI4410A device from that node are accepted. 9-28 Table 9-24. Asynchronous Request Filter High Register Description (Continued) BIT 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 SIGNAL asynReqResource51 asynReqResource50 asynReqResource49 asynReqResource48 asynReqResource47 asynReqResource46 asynReqResource45 asynReqResource44 asynReqResource43 asynReqResource42 asynReqResource41 asynReqResource40 asynReqResource39 asynReqResource38 asynReqResource37 asynReqResource36 asynReqResource35 asynReqResource34 asynReqResource33 asynReqResource32 TYPE RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC FUNCTION If bit 19 is set to 1 for local bus node number 51, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 18 is set to 1 for local bus node number 50, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 17 is set to 1 for local bus node number 49, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 16 is set to 1 for local bus node number 48, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 15 is set to 1 for local bus node number 47, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 14 is set to 1 for local bus node number 46, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 13 is set to 1 for local bus node number 45, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 12 is set to 1 for local bus node number 44, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 11 is set to 1 for local bus node number 43, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 10 is set to 1 for local bus node number 42, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 9 is set to 1 for local bus node number 41, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 8 is set to 1 for local bus node number 40, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 7 is set to 1 for local bus node number 39, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 6 is set to 1 for local bus node number 38, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 5 is set to 1 for local bus node number 37, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 4 is set to 1 for local bus node number 36, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 3 is set to 1 for local bus node number 35, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 2 is set to 1 for local bus node number 34, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 1 is set to 1 for local bus node number 33, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 0 is set to 1 for local bus node number 32, asynchronous requests received by the PCI4410A device from that node are accepted. 9-29 9.33 Asynchronous Request Filter Low Register The asynchronous request filter low set/clear register is used to enable asynchronous receive requests on a per-node basis, and handles the lower node IDs. Other than filtering different node IDs, this register behaves identically to the asynchronous request filter high register. See Table 9-25 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default RSC 0 RSC 0 RSC 0 RSC 0 RSC 0 RSC 0 RSC 0 15 RSC 0 14 RSC 0 13 RSC 0 12 RSC 0 11 RSC 0 10 31 30 29 28 27 26 25 RSC 0 9 RSC 0 24 RSC 0 8 RSC 0 23 RSC 0 7 RSC 0 22 RSC 0 6 RSC 0 21 RSC 0 5 RSC 0 20 RSC 0 4 RSC 0 19 RSC 0 3 RSC 0 18 RSC 0 2 RSC 0 17 RSC 0 1 RSC 0 16 RSC 0 0 RSC 0 Asynchronous request filter low Asynchronous request filter low Register: Type: Offset: Default: Asynchronous request filter low Read/Set/Clear 108h set register 10Ch clear register 0000 0000h Table 9-25. Asynchronous Request Filter Low Register Description BIT 31 30 L 1 0 SIGNAL asynReqResource31 asynReqResource30 L asynReqResource1 asynReqResource0 TYPE RSC RSC L RSC RSC FUNCTION If bit 31 is set to 1 for local bus node number 31, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 30 is set to 1 for local bus node number 30, asynchronous requests received by the PCI4410A device from that node are accepted. Bits 29 through 2 follow the same pattern. If bit 1 is set to 1 for local bus node number 1, asynchronous requests received by the PCI4410A device from that node are accepted. If bit 0 is set to 1 for local bus node number 0, asynchronous requests received by the PCI4410A device from that node are accepted. 9-30 9.34 Physical Request Filter High Register The physical request filter high set/clear register is used to enable physical receive requests on a per-node basis, and handles the upper node IDs. When a packet is destined for the physical request context and the node ID has been compared against the ARRQ registers, then the comparison is done again with this register. If the bit corresponding to the node ID is not set to 1 in this register, the request is handled by the ARRQ context instead of the physical request context. See Table 9-26 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default RSC 0 RSC 0 RSC 0 RSC 0 RSC 0 RSC 0 RSC 0 15 RSC 0 14 RSC 0 13 RSC 0 12 RSC 0 11 RSC 0 10 31 30 29 28 27 26 25 RSC 0 9 RSC 0 24 RSC 0 8 RSC 0 23 RSC 0 7 RSC 0 22 RSC 0 6 RSC 0 21 RSC 0 5 RSC 0 20 RSC 0 4 RSC 0 19 RSC 0 3 RSC 0 18 RSC 0 2 RSC 0 17 RSC 0 1 RSC 0 16 RSC 0 0 RSC 0 Physical request filter high Physical request filter high Register: Type: Offset: Default: Physical request filter high Read/Set/Clear 110h set register 114h clear register 0000 0000h Table 9-26. Physical Request Filter High Register Description BIT 31 30 29 28 27 26 25 24 23 22 21 20 19 18 SIGNAL physReqAllBusses physReqResource62 physReqResource61 physReqResource60 physReqResource59 physReqResource58 physReqResource57 physReqResource56 physReqResource55 physReqResource54 physReqResource53 physReqResource52 physReqResource51 physReqResource50 TYPE RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC FUNCTION If bit 31 is set to 1, all asynchronous requests received by the PCI4410A device from nonlocal bus nodes are accepted. If bit 30 is set to 1 for local bus node number 62, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 29 is set to 1 for local bus node number 61, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 28 is set to 1 for local bus node number 60, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 27 is set to 1 for local bus node number 59, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 26 is set to 1 for local bus node number 58, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 25 is set to 1 for local bus node number 57, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 24 is set to 1 for local bus node number 56, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 23 is set to 1 for local bus node number 55, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 22 is set to 1 for local bus node number 54, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 21 is set to 1 for local bus node number 53, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 20 is set to 1 for local bus node number 52, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 19 is set to 1 for local bus node number 51, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 18 is set to 1 for local bus node number 50, physical requests received by the PCI4410A device from that node are handled through the physical request context. 9-31 Table 9-26. Physical Request Filter High Register Description (Continued) BIT 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 SIGNAL physReqResource49 physReqResource48 physReqResource47 physReqResource46 physReqResource45 physReqResource44 physReqResource43 physReqResource42 physReqResource41 physReqResource40 physReqResource39 physReqResource38 physReqResource37 physReqResource36 physReqResource35 physReqResource34 physReqResource33 physReqResource32 TYPE RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC RSC FUNCTION If bit 17 is set to 1 for local bus node number 49, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 16 is set to 1 for local bus node number 48, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 15 is set to 1 for local bus node number 47, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 14 is set to 1 for local bus node number 46, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 13 is set to 1 for local bus node number 45, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 12 is set to 1 for local bus node number 44, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 11 is set to 1 for local bus node number 43, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 10 is set to 1 for local bus node number 42, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 9 is set to 1 for local bus node number 41, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 8 is set to 1 for local bus node number 40, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 7 is set to 1 for local bus node number 39, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 6 is set to 1 for local bus node number 38, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 5 is set to 1 for local bus node number 37, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 4 is set to 1 for local bus node number 36, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 3 is set to 1 for local bus node number 35, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 2 is set to 1 for local bus node number 34, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 1 is set to 1 for local bus node number 33, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 0 is set to 1 for local bus node number 32, physical requests received by the PCI4410A device from that node are handled through the physical request context. 9-32 9.35 Physical Request Filter Low Register The physical request filter low set/clear register is used to enable physical receive requests on a per-node basis, and handles the lower node IDs. When a packet is destined for the physical request context, and the node ID has been compared against the asynchronous request filter registers, the node ID comparison is done again with this register. If the bit corresponding to the node ID is not set to 1 in this register, the request is handled by the asynchronous request context instead of the physical request context. See Table 9-27 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default RSC 0 RSC 0 RSC 0 RSC 0 RSC 0 RSC 0 RSC 0 15 RSC 0 14 RSC 0 13 RSC 0 12 RSC 0 11 RSC 0 10 31 30 29 28 27 26 25 RSC 0 9 RSC 0 24 RSC 0 8 RSC 0 23 RSC 0 7 RSC 0 22 RSC 0 6 RSC 0 21 RSC 0 5 RSC 0 20 RSC 0 4 RSC 0 19 RSC 0 3 RSC 0 18 RSC 0 2 RSC 0 17 RSC 0 1 RSC 0 16 RSC 0 0 RSC 0 Physical request filter low Physical request filter low Register: Type: Offset: Default: Physical request filter low Read/Set/Clear 118h set register 11Ch clear register 0000 0000h Table 9-27. Physical Request Filter Low Register Description BIT 31 30 L 1 0 SIGNAL physReqResource31 physReqResource30 L physReqResource1 physReqResource0 TYPE RSC RSC L RSC RSC FUNCTION If bit 31 is set to 1 for local bus node number 31, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 30 is set to 1 for local bus node number 30, physical requests received by the PCI4410A device from that node are handled through the physical request context. Bits 29 through 2 follow the same pattern. If bit 1 is set to 1 for local bus node number 1, physical requests received by the PCI4410A device from that node are handled through the physical request context. If bit 0 is set to 1 for local bus node number 0, physical requests received by the PCI4410A device from that node are handled through the physical request context. 9.36 Physical Upper Bound Register (Optional Register) This register is an optional register and is not implemented. This register returns all 0s when read. Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 R 0 9 31 30 29 28 27 26 25 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R 0 18 R 0 2 R 0 17 R 0 1 R 0 16 R 0 0 R 0 Physical upper bound Physical upper bound Register: Type: Offset: Default: Physical upper bound Read-only 120h 0000 0000h 9-33 9.37 Asynchronous Context Control Register The asynchronous context control set/clear register controls the state and indicates status of the DMA context. See Table 9-28 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default RSCU 0 R 0 R 0 RSU X RU 0 RU 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 31 30 29 28 27 26 25 R 0 9 R 0 24 R 0 8 R 0 23 R 0 7 RU X 22 R 0 6 RU X 21 R 0 5 RU X 20 R 0 4 RU X 19 R 0 3 RU X 18 R 0 2 RU X 17 R 0 1 RU X 16 R 0 0 RU X Asynchronous context control Asynchronous context control Register: Type: Offset: Default: Asynchronous context control Read/Set/Clear/Update, Read/Set/Update, Read/Update, Read-only 180h set register [ATRQ] 184h clear register [ATRQ] 1A0h set register [ATRS] 1A4h clear register [ATRS] 1C0h set register [ARRQ] 1C4h clear register [ARRQ] 1E0h set register [ATRS] 1E4h clear register [ATRS] 0000 X0XXh Table 9-28. Asynchronous Context Control Register Description BIT 31-16 15 14-13 12 11 10 9-8 SIGNAL RSVD run RSVD wake dead active RSVD TYPE R RSCU R RSU RU RU R Reserved. Bits 31-16 return 0s when read. FUNCTION This bit is set to 1 by software to enable descriptor processing for the context and cleared by software to stop descriptor processing. The PCI4410A device changes this bit only on a hardware or software reset. Reserved. Bits 14 and 13 return 0s when read. Software sets this bit to 1 to cause the PCI4410A device to continue or resume descriptor processing. The PCI4410A device clears this bit on every descriptor fetch. The PCI4410A device sets this bit to 1 when it encounters a fatal error, and clears the bit when software resets bit 15 (run). The PCI4410A device sets this bit to 1 when it is processing descriptors. Reserved. Bits 9 and 8 return 0s when read. This field indicates the speed at which a packet was received or transmitted, and only contains meaningful information for receive contexts. This field is encoded as: 000b = 100 Mbits/s 001b = 200 Mbits/s 010b = 400 Mbits/s All other values are reserved. This field holds the acknowledge sent by the link core for this packet or an internally generated error code if the packet was not transferred successfully. 7-5 spd RU 4-0 eventcode RU 9-34 9.38 Asynchronous Context Command Pointer Register The asynchronous context command pointer register contains a pointer to the address of the first descriptor block that the PCI4410A device accesses when software enables the context by setting bit 15 (run) of the asynchronous context control register (see Section 9.37) to 1. See Table 9-29 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default RWU X RWU X RWU X RWU X RWU X RWU X 15 RWU X 14 RWU X 13 RWU X 12 RWU X 11 31 30 29 28 27 26 RWU X 10 RWU X 25 RWU X 9 RWU X 24 RWU X 8 RWU X 23 RWU X 7 RWU X 22 RWU X 6 RWU X 21 RWU X 5 RWU X 20 RWU X 4 RWU X 19 RWU X 3 RWU X 18 RWU X 2 RWU X 17 RWU X 1 RWU X 16 RWU X 0 RWU X Asynchronous context command pointer Asynchronous context command pointer Register: Type: Offset: Default: Asynchronous context command pointer Read/Write/Update 19Ch [ATRQ] 1ACh [ATRS] 1CCh [ATRQ] 1ECh [ATRS] XXXX XXXXh Table 9-29. Asynchronous Context Command Pointer Register Description BIT 31-4 3-0 SIGNAL descriptorAddress Z TYPE RWU RWU FUNCTION Contains the upper 28 bits of the address of a 16-byte aligned descriptor block. Indicates the number of contiguous descriptors at the address pointed to by the descriptor address. If Z is 0, it indicates that the descriptorAddress field (bits 31-4) is not valid. 9-35 9.39 Isochronous Transmit Context Control Register The isochronous transmit context control set/clear register controls options, state, and status for the isochronous transmit DMA contexts. The n value in the following register addresses indicates the context number (n = 0, 1, 2, 3, ..., 7). See Table 9-30 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default RSC 0 R 0 R 0 RSU X RU 0 RU 0 RSCU X 15 RSC X 14 RSC X 13 RSC X 12 RSC X 11 X 10 31 30 29 28 27 26 RSC 25 RSC X 9 R 0 24 RSC X 8 R 0 23 RSC X 7 RU X 22 RSC X 6 RU X 21 RSC X 5 RU X 20 RSC X 4 RU X 19 RSC X 3 RU X 18 RSC X 2 RU X 17 RSC X 1 RU X 16 RSC X 0 RU X Isochronous transmit context control Isochronous transmit context control Register: Type: Offset: Default: Isochronous transmit context control Read/Set/Clear/Update, Read/Set/Clear, Read-only, Read/Update 200h + (16 * n) set register 204h + (16 * n) clear register XXXX X0XXh Table 9-30. Isochronous Transmit Context Control Register Description BIT SIGNAL TYPE FUNCTION When bit 31 is set to 1, processing occurs such that the packet described by the context first descriptor block is transmitted in the cycle whose number is specified in the cycleMatch field (bits 30-16). The cycleMatch field (bits 30-16) must match the low-order two bits of cycleSeconds and the 13-bit cycleCount field in the cycle start packet that is sent or received immediately before isochronous transmission begins. Since the isochronous transmit DMA controller may work ahead, the processing of the first descriptor block may begin slightly in advance of the actual cycle in which the first packet is transmitted. The effects of this bit, however, are impacted by the values of other bits in this register and are explained in the 1394 Open Host Controller Interface Specification. Once the context has become active, hardware clears this bit. This field contains a 15-bit value, corresponding to the low-order two bits of the isochronous cycle timer register (OHCI offset F0h, see Section 9.31) cycleSeconds field (bits 31-25) and the cycleCount field (bits 24-12). If bit 31 (cycleMatchEnable) is set, then this isochronous transmit DMA context becomes enabled for transmits when the low-order two bits of the isochronous cycle timer register cycleSeconds field (bits 31-25) and the cycleCount field (bits 24-12) value equal this field (cycleMatch) value. This bit is set to 1 by software to enable descriptor processing for the context and cleared by software to stop descriptor processing. The PCI4410A device changes this bit only on a hardware or software reset. Reserved. Bits 14 and 13 return 0s when read. Software sets this bit to 1 to cause the PCI4410A device to continue or resume descriptor processing. The PCI4410A device clears this bit on every descriptor fetch. The PCI4410A device sets this bit to 1 when it encounters a fatal error, and clears the bit when software resets bit 15 (run) to 0. The PCI4410A device sets this bit to 1 when it is processing descriptors. Reserved. Bits 9 and 8 return 0s when read. This field is not meaningful for isochronous transmit contexts. Following an OUTPUT_LAST* command, the error code is indicated in this field. Possible values are: ack_complete, evt_descriptor_read, evt_data_read, and evt_unknown. 31 cycleMatchEnable RSCU 30-16 cycleMatch RSC 15 14-13 12 11 10 9-8 7-5 4-0 run RSVD wake dead active RSVD spd event code RSC R RSU RU RU R RU RU 9-36 9.40 Isochronous Transmit Context Command Pointer Register The isochronous transmit context command pointer register contains a pointer to the address of the first descriptor block that the PCI4410A device accesses when software enables an isochronous transmit context by setting bit 15 (run) in the isochronous transmit context control register (see Section 9.39) to 1. The n value in the following register addresses indicates the context number (n = 0, 1, 2, 3, ..., 7). Bit Name Type Default Bit Name Type Default R X R X R X R X R X R X 15 R X 14 R X 13 R X 12 R X 11 31 30 29 28 27 26 R X 10 R X 25 R X 9 R X 24 R X 8 R X 23 R X 7 R X 22 R X 6 R X 21 R X 5 R X 20 R X 4 R X 19 R X 3 R X 18 R X 2 R X 17 R X 1 R X 16 R X 0 R X Isochronous transmit context command pointer Isochronous transmit context command pointer Register: Type: Offset: Default: Isochronous transmit context command pointer Read-only 20Ch + (16 * n) XXXX XXXh 9.41 Isochronous Receive Context Control Register The isochronous receive context control set/clear register controls options, state, and status for the isochronous receive DMA contexts. The n value in the following register addresses indicates the context number (n = 0, 1, 2, 3). See Table 9-31 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default RSCU 0 R 0 R 0 RSU X RU 0 RU 0 RSC X 15 RSC X 14 RSCU X 13 RSC X 12 R 0 11 R 0 10 31 30 29 28 27 26 25 R 0 9 R 0 24 R 0 8 R 0 23 R 0 7 RU X 22 R 0 6 RU X 21 R 0 5 RU X 20 R 0 4 RU X 19 R 0 3 RU X 18 R 0 2 RU X 17 R 0 1 RU X 16 R 0 0 RU X Isochronous receive context control Isochronous receive context control Register: Type: Offset: Default: Isochronous receive context control Read/Set/Clear/Update, Read/Set/Clear, Read/Update, Read-only 400h + (32 * n) set register 404h + (32 * n) clear register X000 X0XXh 9-37 Table 9-31. Isochronous Receive Context Control Register Description BIT SIGNAL TYPE FUNCTION When this bit is set to 1, received packets are placed back-to-back to completely fill each receive buffer. When this bit is cleared, each received packet is placed in a single buffer. If bit 28 (multiChanMode) is set to 1, this bit must also be set to 1. The value of this bit must not be changed while bit 10 (active) or bit 15 (run) is set to 1. When this bit is set to 1, received isochronous packets include the complete 4-byte isochronous packet header seen by the link layer. The end of the packet is marked with a xferStatus in the first doublet, and a 16-bit timeStamp indicating the time of the most recently received (or sent) cycleStart packet. When this bit is cleared, the packet header is stripped from received isochronous packets. The packet header, if received, immediately precedes the packet payload. The value of this bit must not be changed while bit 10 (active) or bit 15 (run) is set to 1. When this bit is set to 1, the context begins running only when the 13-bit cycleMatch field (bits 24-12) in the isochronous receive context match register (see Section 9.43) matches the 13-bit cycleCount field in the cycleStart packet. The effects of this bit, however, are impacted by the values of other bits in this register. Once the context has become active, hardware clears this bit. The value of this bit must not be changed while bit 10 (active) or bit 15 (run) is set to 1. When this bit is set to 1, the corresponding isochronous receive DMA context receives packets for all isochronous channels enabled in the isochronous receive channel mask high (offset 70h/74h, see Section 9.19) and isochronous receive channel mask low (offset 78h/7Ch, see Section 9.20) registers. The isochronous channel number specified in the isochronous receive context match register (see Section 9.43) is ignored. When this bit is cleared, the isochronous receive DMA context receives packets for that single channel. Only one isochronous receive DMA context can use the isochronous receive channel mask registers (see Sections 9.19 and 9.20). If more that one isochronous receive context control register has this bit set to 1, the results are undefined. The value of this bit must not be changed while bit 10 (active) or bit 15 (run) is set to 1. Reserved. Bits 27-16 return 0s when read. This bit is set by software to enable descriptor processing for the context and cleared by software to stop descriptor processing. The PCI4410A device changes this bit only on a hardware or software reset. Reserved. Bits 14 and 13 return 0s when read. Software sets this bit to cause the PCI4410A device to continue or resume descriptor processing. The PCI4410A device clears this bit on every descriptor fetch. The PCI4410A device sets this bit to 1 when it encounters a fatal error, and clears the bit when software resets bit 15 (run). The PCI4410A device sets this bit to 1 when it is processing descriptors. Reserved. Bits 9 and 8 return 0 when read. This field indicates the speed at which the packet was received. 000b = 100 Mbits/s 001b = 200 Mbits/s 010b = 400 Mbits/s All other values are reserved. For bufferFill mode, possible values are: ack_complete, evt_descriptor_read, evt_data_write, and evt_unknown. Packets with data errors (either dataLength mismatches or dataCRC errors) and packets for which a FIFO overrun occurred are backed out. For packet-per-buffer mode, possible values are: ack_complete, ack_data_error, evt_long_packet, evt_overrun, evt_descriptor_read, evt_data_write, and evt_unknown. 31 bufferFill RSC 30 isochHeader RSC 29 cycleMatchEnable RSCU 28 multiChanMode RSC 27-16 15 14-13 12 11 10 9-8 RSVD run RSVD wake dead active RSVD R RSCU R RSU RU RU R 7-5 spd RU 4-0 event code RU 9-38 9.42 Isochronous Receive Context Command Pointer Register The isochronous receive context command pointer register contains a pointer to the address of the first descriptor block that the PCI4410A device accesses when software enables an isochronous receive context by setting bit 15 (run) of the isochronous receive context control register (see Section 9.41). The n value in the following register addresses indicates the context number (n = 0, 1, 2, 3). Bit Name Type Default Bit Name Type Default R X R X R X R X R X R X R X R X R X R X R X R X R X R X R X R X R X 15 R X 14 R X 13 R X 12 R X 11 31 30 29 28 27 26 R X 10 25 R X 9 24 R X 8 23 R X 7 22 R X 6 21 R X 5 20 R X 4 19 R X 3 18 R X 2 17 R X 1 16 R X 0 Isochronous receive context command pointer Register: Type: Offset: Default: Isochronous receive context command pointer Read-only 40Ch + (32 * n) XXXX XXXXh 9-39 9.43 Isochronous Receive Context Match Register The isochronous receive context match register is used to start an isochronous receive context running on a specified cycle number, to filter incoming isochronous packets based on tag values, and to wait for packets with a specified sync value. The n value in the following register addresses indicates the context number (n = 0, 1, 2, 3). See Table 9-32 for a complete description of the register contents. Bit Name Type Default Bit Name Type Default R/W X R/W X R/W X R/W X R/W X R/W X R/W X R/W X R 0 R/W X R/W X R/W X R/W X R/W X R/W X R/W X R/W X 15 R/W X 14 R/W X 13 R/W X 12 R 0 11 R/W 0 10 31 30 29 28 27 26 25 R/W 0 9 24 R/W X 8 23 R/W X 7 22 R/W X 6 21 R/W X 5 20 R/W X 4 19 R/W X 3 18 R/W X 2 17 R/W X 1 16 R/W X 0 Isochronous receive context match Register: Type: Offset: Default: Isochronous receive context match Read/Write, Read-only 410Ch + (32 * n) XXXX XXXXh Table 9-32. Isochronous Receive Context Match Register Description BIT 31 30 29 28 27 SIGNAL tag3 tag2 tag1 tag0 RSVD TYPE R/W R/W R/W R/W R FUNCTION If this bit is set to 1, this context matches on isochronous receive packets with a tag field of 11b. If this bit is set to 1, this context matches on isochronous receive packets with a tag field of 10b. If this bit is set to 1, this context matches on isochronous receive packets with a tag field of 01b. If this bit is set to 1, this context matches on isochronous receive packets with a tag field of 00b. Reserved. Bit 27 returns 0 when read. This field contains a 15-bit value corresponding to the low-order two bits of cycleSeconds and the 13-bit cycleCount field in the cycleStart packet. If bit 29 (cycleMatchEnable) of the isochronous receive context control register (see Section 9.41) is set, then this context is enabled for receives when the two low-order bits of the isochronous cycle timer register (OHCI offset F0h, see Section 9.31) cycleSeconds field (bits 31-25) and cycleCount field (bits 24-12) value equal this field (cycleMatch) value. This 4-bit field is compared to the sync field of each isochronous packet for this channel when the command descriptor's w field is set to 11b. Reserved. Bit 7 returns 0 when read. If this bit and bit 29 (tag1) are set, packets with tag 01b are accepted into the context if the two most significant bits of the packets sync field are 00b. Packets with tag values other than 01b are filtered according to bit 28 (tag0), bit 30 (tag2), and bit 31 (tag3) without any additional restrictions. If this bit is cleared, this context matches on isochronous receive packets as specified in bits 31-28 (tag3-tag0) with no additional restrictions. 26-12 cycleMatch R/W 11-8 7 sync RSVD R/W R 6 tag1SyncFilter R/W 5-0 channelNumber R/W This 6-bit field indicates the isochronous channel number for which this isochronous receive DMA context accepts packets. 9-40 10 Electrical Characteristics 10.1 Absolute Maximum Ratings Over Operating Temperature Ranges Supply voltage range, VCC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to 4.6 V Clamping voltage range, VCCCB, VCCI, VCCL VCCP, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to 6 V Input voltage range, VI: PCI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to VCCP + 0.5 V Card A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to VCCA + 0.5 V ZV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to VCC + 0.5 V TTL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to VCC + 0.5 V Fail safe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to VCC + 0.5 V Miscellaneous and PHY I/F . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to VCC + 0.5 V Output voltage range, VO: PCI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to VCC + 0.5 V Card A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to VCCA + 0.5 V ZV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to VCC + 0.5 V TTL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to VCC + 0.5 V Fail safe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to VCC + 0.5 V Miscellaneous and PHY I/F . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to VCC + 0.5 V Input clamp current, IIK (VI < 0 or VI > VCC) (see Note 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 mA Output clamp current, IOK (VO < 0 or VO > VCC) (see Note 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 mA Storage temperature range, Tstg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -65C to 150C Virtual junction temperature, TJ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150C Stresses beyond those listed under "absolute maximum ratings" may cause permanent damage to the device. These are stress ratings only and functional operation of the device at these or any other conditions beyond those indicated under "recommended operating conditions" is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability. NOTES: 1. Applies for external input and bidirectional buffers. VI > VCC does not apply to fail-safe terminals. PCI terminals are measured with respect to VCCP instead of VCC. PC Card terminals are measured with respect to VCCCB. Miscellaneous signals are measured with respect to VCCI. The limit specified applies for a dc condition. 2. Applies for external output and bidirectional buffers. VO > VCC does not apply to fail-safe terminals. PCI terminals are measured with respect to VCCP instead of VCC. PC Card terminals are measured with respect to VCCCB. Miscellaneous signals are measured with respect to VCCI. The limit specified applies for a dc condition. 10-1 10.2 Recommended Operating Conditions (see Note 3) OPERATION VCC VCCP VCCCB VCCI VCCL Core voltage PCI I/O clam voltage, ZV Port I/O clamp voltage Commercial Commercial 3.3 V 3.3 V 5V 3.3 V PC Card I/O clamp voltage oltage Commercial 5V 3.3 V PCI PC Card PHY I/F TTL Fail safe 3.3 V PCI PC Card PHY I/F TTL Fail safe PCI PC Card VI In ut Input voltage PHY I/F TTL Fail safe PCI PC Card VO Out ut Output voltage PHY I/F TTL Fail safe PCI and PC Card tt TA TJ# Input transition time (tr and tf) Operating ambient temperature range Virtual junction temperature TTL and fail safe 3.3 V 5V 3.3 V 5V 5V 3.3 V VIL Low level input Low-level in ut voltage 5V 5V 3.3 V VIH High-level in ut voltage High level input 5V 4.75 0.5 VCCP 2 0.475 VCCA/B 2.4 2 2 2.4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 25 25 5 5.25 VCCP VCCP VCCA/B VCCA/B VCC VCC VCC 0.3 VCCP 0.8 0.325 VCCA/B 0.8 0.8 0.8 0.8 VCCP VCCA/B VCC VCC VCC VCC VCC VCC VCC VCC 4 6 70 115 ns C C V V V V MIN 3 3 4.75 3 NOM 3.3 3.3 5 3.3 MAX 3.6 3.6 5.25 3.6 V V UNIT V V V V V V V V V Applies to external inputs and bidirectional buffers without hysteresis Miscellaneous terminals are 75, 76, 77, 78, 80, 81, 83, 84, 85, 86, 87, 88, 121, and 122 for the PDV packaged device; and M18, M19, P9, P10, P11, R11, U10, U11, U12, V10, V12, W10, W11, and W12 for the GHK packaged device (SUSPEND, SPKROUT, RI_OUT, multifunction terminals (MFUNC0-MFUNC6), and power-switch control terminals). Fail-safe terminals are 123, 165, 179, and 185 for the PDV packaged device; and A9, E13, F11, and L19 for the GHK packaged device (card detect and voltage sense terminals). Applies to external output buffers # These junction temperatures reflect simulation conditions. The customer is responsible for verifying junction temperature. NOTE 3: Unused terminals (input or I/O) must be held high or low to prevent them from floating. 10-2 10.3 Electrical Characteristics Over Recommended Operating Conditions (unless otherwise noted) PARAMETER TERMINALS PCI OPERATION 3.3 V 5V 3.3 V PC Card VOH High-level output oltage High le el o tp t voltage PHY I/F 5V 3.3 V 3.3 V TEST CONDITIONS IOH = -0.5 mA IOH = -2 mA IOH = -0.15 mA IOH = -0.15 mA IOH = -4 mA IOH = -8 mA IOH = -4 mA IOH = -8 mA 3.3 V PCI 5V 3.3 V PC Card VOL Low level output Low-level out ut voltage 5V 3.3 V PHY I/F 3.3 V IOL = 1.5 mA IOL = 6 mA IOL = 0.7 mA IOL = 0.7 mA IOL = 4 mA IOL = 8 mA IOL = 4 mA IOL = 8 mA 3.6 V 5.25 V 3.6 V 5.25 V IOL = 8 mA VI = VCC VI = VCC VI = VCC VI = VCC VI = GND 3.6 V 5.25 V 3.6 V I/O terminals Fail-safe terminals 5.25 V 3.6 V VI = GND VI = VCC VI = VCC VI = VCC VI = VCC VI = VCC MIN 0.9VCC 2.4 0.9VCC 2.4 2.8 VCC-0.6 VCC-0.6 VCC-0.6 0.1VCC 0.55 0.1VCC 0.55 0.5 0.5 0.5 0.5 0.5 -1 -1 10 25 -1 -10 10 20 10 25 10 A A A A A V V MAX UNIT TTL TTL SERR IOZL IOZH IIL 3-state out ut, high-impedance state output, high-im edance output current (see Note 4) 3-state out ut, high-impedance state output, high-im edance output current L l l input current t t Low-level i Out ut Output terminals Out ut Output terminals Input terminals I/O terminals In ut Input terminals IIH High-level input current For PCI terminals, VI = VCCP. For PC Card terminals, VI = VCCCB. For miscellaneous terminals, VI = VCCI. For I/O terminals, input leakage (IIL and IIH) includes IOZ leakage of the disabled output. 10-3 10.4 PCI Clock/Reset Timing Requirements Over Recommended Ranges of Supply Voltage and Operating Free-Air Temperature PARAMETER tc twH twL v/t tw tsu Cycle time, PCLK Pulse duration (width), PCLK high Pulse duration (width), PCLK low Slew rate, PCLK Pulse duration (width), PRST Setup time, PCLK active at end of PRST ALTERNATE SYMBOL tcyc thigh tlow tr, tf trst trst-clk TEST CONDITIONS MIN 30 11 11 1 1 100 4 MAX UNIT ns ns ns V/ns ms ms 10.5 PCI Timing Requirements Over Recommended Ranges of Supply Voltage and Operating Free-Air Temperature PARAMETER PCLK-to-shared signal valid delay time tpd Propagation delay time See Note 4 time, PCLK-to-shared signal invalid delay time ALTERNATE SYMBOL tval tinv ton toff tsu th TEST CONDITIONS MIN MAX 11 ns 2 2 28 7 0 ns ns ns ns UNIT F, CL = 50 pF, See Note 4 ten tdis tsu th Enable time, high impedance-to-active delay time from PCLK Disable time, active-to-high impedance delay time from PCLK Setup time before PCLK valid Hold time after PCLK high NOTE 4: PCI shared signals are AD31-AD0, C/BE3-C/BE0, FRAME, TRDY, IRDY, STOP, IDSEL, DEVSEL, and PAR. 10-4 11 Mechanical Information The PCI4410A device is packaged in either a 209-ball GHK MicroStar BGAt or a 208-pin PDV package. The PCI4410A device is a single-socket CardBus bridge with an integrated OHCI link. The following shows the mechanical dimensions for the GHK and PDV packages. GHK (S-PBGA-N209) 16,10 SQ 15,90 PLASTIC BALL GRID ARRAY 14,40 TYP 0,80 W V U T R P N M L K J H G F E D C B A 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 0,80 0,95 0,85 1,40 MAX Seating Plane 0,12 0,08 0,55 0,45 0,08 M 0,10 0,45 0,35 4145273-2/B 12/98 NOTES: A. All linear dimensions are in millimeters. B. This drawing is subject to change without notice. C. MicroStar BGAt configuration. 11-1 PDV (S-PQFP-G208) 156 105 PLASTIC QUAD FLATPACK 157 104 0,27 0,17 0,08 M 0,50 0,13 NOM 208 53 1 25,50 TYP 28,05 SQ 27,95 30,20 SQ 29,80 1,45 1,35 52 Gage Plane 0,25 0,05 MIN 0- 7 0,75 0,45 Seating Plane 0,08 1,60 MAX 4087729/D 11/98 NOTES: A. All linear dimensions are in millimeters. B. This drawing is subject to change without notice. C. Falls within JEDEC MS-026 11-2 IMPORTANT NOTICE Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue any product or service without notice, and advise customers to obtain the latest version of relevant information to verify, before placing orders, that information being relied on is current and complete. All products are sold subject to the terms and conditions of sale supplied at the time of order acknowledgment, including those pertaining to warranty, patent infringement, and limitation of liability. TI warrants performance of its semiconductor products to the specifications applicable at the time of sale in accordance with TI's standard warranty. Testing and other quality control techniques are utilized to the extent TI deems necessary to support this warranty. Specific testing of all parameters of each device is not necessarily performed, except those mandated by government requirements. Customers are responsible for their applications using TI components. In order to minimize risks associated with the customer's applications, adequate design and operating safeguards must be provided by the customer to minimize inherent or procedural hazards. TI assumes no liability for applications assistance or customer product design. TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right of TI covering or relating to any combination, machine, or process in which such semiconductor products or services might be or are used. TI's publication of information regarding any third party's products or services does not constitute TI's approval, warranty or endorsement thereof. Copyright (c) 2000, Texas Instruments Incorporated |
Price & Availability of SCPS059
![]() |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |