0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
82801CA

82801CA

  • 厂商:

    INTEL

  • 封装:

  • 描述:

    82801CA - I/O Controller Hub 3-S (ICH3-S) - Intel Corporation

  • 数据手册
  • 价格&库存
82801CA 数据手册
Intel® 82801CA I/O Controller Hub 3-S (ICH3-S) Datasheet March 2002 Document Number: 290733-002 Information in this document is provided in connection with Intel® products. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted by this document. Except as provided in Intel's Terms and Conditions of Sale for such products, Intel assumes no liability whatsoever, and Intel disclaims any express or implied warranty, relating to sale and/or use of Intel products including liability or warranties relating to fitness for a particular purpose, merchantability, or infringement of any patent, copyright or other intellectual property right. Intel products are not intended for use in medical, life saving, or life sustaining applications. Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined." Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The Intel® I/O Controller Hub 3 (ICH3-S) component may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request. Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order. Copies of documents which have an ordering number and are referenced in this document, or other Intel literature, may be obtained by calling 1-800-548-4725 or by visiting Intel's website at http://www.intel.com. I2C is a two-wire communications bus/protocol developed by Philips. SMBus is a subset of the I 2C bus/protocol and was developed by Intel. Implementations of the I2C bus/protocol may require licenses from various entities, including Philips Electronics N.V. and North American Philips Corporation. Alert on LAN is a result of the Intel-IBM Advanced Manageability Alliance and a trademark of IBM. Intel, Pentium, Intel SpeedStep and Intel logo are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. *Other names and brands may be claimed as the property of others. Copyright© 2002, Intel Corporation 2 Intel® 82801CA ICH3-S Datasheet Intel® 82801CA ICH3-S Features s PCI Bus Interface — Supports PCI Rev 2.2 Specification at 33 MHz — 133 MByte/sec maximum throughput — Supports up to 6 master devices on PCI — One PCI REQ/GNT pair can be given higher arbitration priority (intended for external IEEE 1394 host controller) s Power Management Logic s Integrated LAN Controller — WfM 2.0 Compliant — Interface to discrete Platform LAN Connect component — 10/100 Mbit/sec Ethernet support — ACPI 1.0 compliant — ACPI-defined power states (C1–C2, S3–S5) — ACPI Power Management Timer — PME# support — SMI# generation — All registers readable/restorable for proper resume from 0 V suspend states — Support for APM-based legacy power management for non-ACPI implementations s Firmware Hub (FWH) Interface supports BIOS Memory size up to 8 MB s Low Pin count (LPC) Interface s Integrated IDE Controller — New: Supports "Native Mode" Register and Interrupt support — Independent timing of up to 4 drives, with separate IDE connections for Primary and Secondary cables — Ultra ATA/100/66/33, BMIDE and PIO modes — Allows connection of legacy ISA and X-Bus devices such as Super I/O — Supports two Master/DMA devices. s Enhanced DMA Controller s USB — New: Includes 3 UHCI Host Controllers, increasing the number of external ports to six — Supports wake-up from sleeping states S1-S4 — Supports legacy Keyboard/Mouse software s AC'97 Link for Audio and Telephony CODECs — Two cascaded 8237 DMA controllers — PCI DMA: Supports PC/PCI—Includes two PC/PCI REQ#/GNT# pairs — Supports LPC DMA — Supports DMA Collection Buffer to provide Type-F DMA performance for all DMA channels s Real-Time Clock — 256-byte battery-backed CMOS RAM s System TCO Reduction Circuits — Audio Codec ’97, Revision 2.2 compliant — Independent bus master logic for 5 channels (PCM In/Out, Mic Input, Modem In/Out) — Separate independent PCI functions for Audio and Modem — Support for up to six channels of PCM audio output (full AC3 decode) — Supports wake-up events s Interrupt Controller — Timers to generate SMI# and Reset upon detection of system hang — Timers to detect improper processor reset — Integrated processor frequency strap logic — New: Supports ability to disable external devices s SMBus — Support up to 8 PCI interrupt pins — Supports PCI 2.2 Message Signaled Interrupts — Two cascaded 82C59 with 15 interrupts — Integrated I/O APIC capability with 24 interrupts — Supports Serial Interrupt Protocol — Supports Processor System Bus interrupt delivery s 1.8 V operation with 3.3 V I/O — Host interface allows processor to communicate via SMBus — Slave interface allows an external Microcontroller to access system resources — Compatible with most 2-Wire components that are also I2C* compatible — New: Supports SMBus 2.0 Specification s GPIO — TTL, Open-Drain, Inversion s New: Package 31x31 mm 421 BGA — 5V tolerant buffers on IDE, PCI, USB Overcurrent and Legacy signals s Timers Based on 82C54 — System timer, Refresh request, Speaker tone output s External Glue Integration — Integrated Pull-up, Pull-down and Series Termination resistors on IDE, processor interface, and USB The Intel® 82801CA ICH3-S may contain design defects or errors known as errata which may cause the products to deviate from published specifications. Current characterized errata are available on request. Intel® 82801CA ICH3-S Datasheet 3 Intel® ICH3-S System Configuration Processor Processor Host Controller Main Memory Hub Interface 1.5 6xUSB ATA/100/66/33 4 IDE Drives AC'97 Codec(s) (optional) AC'97 2.2 Power Managment Clock Generators I/O Controller Hub Intel® 82801CA ICH3-S SMBus 2.0 System Management (TCO) SMBus Device(s) PCI Slots LAN Controller GPIO PCI Bus FWH LPC I/F Super I/O Other ASICs (Optional) 4 Intel® 82801CA ICH3-S Datasheet Contents 1 Introduction ...........................................................................................................29 1.1 1.2 About This Datasheet ....................................................................................29 Overview ........................................................................................................31 Hub Interface to Host Controller ....................................................................39 Link to LAN Connect ......................................................................................39 EEPROM Interface ........................................................................................39 Firmware Hub Interface .................................................................................40 PCI Interface ..................................................................................................40 IDE Interface ..................................................................................................43 LPC Interface .................................................................................................44 Interrupt Interface...........................................................................................44 USB Interface.................................................................................................45 Power Management Interface........................................................................45 Processor Interface........................................................................................46 SMBus Interface ............................................................................................48 System Management Interface ......................................................................48 Real Time Clock Interface..............................................................................48 Other Clocks ..................................................................................................49 Miscellaneous Signals ...................................................................................49 AC ’97 Link.....................................................................................................49 General Purpose I/O ......................................................................................50 Power and Ground.........................................................................................51 Pin Straps ......................................................................................................52 2.20.1 Functional Straps ..............................................................................52 2.20.2 External RTC Circuitry ......................................................................53 2.20.3 V5REF / Vcc3_3 Sequencing Requirements ....................................53 2.20.4 Test Signals ......................................................................................54 2.20.4.1 Test Mode Selection..........................................................54 Power Planes.................................................................................................55 Integrated Pull-Ups and Pull-Downs ..............................................................56 IDE Integrated Series Termination Resistors.................................................56 Output and I/O Signals Planes and States ....................................................57 Power Planes for Input Signals......................................................................60 2 Signal Description ..............................................................................................37 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 2.10 2.11 2.12 2.13 2.14 2.15 2.16 2.17 2.18 2.19 2.20 3 Power Planes and Pin States .........................................................................55 3.1 3.2 3.3 3.4 3.5 4 5 Intel® ICH3 and System Clock Domains....................................................63 Functional Description .....................................................................................65 5.1 Hub Interface to PCI Bridge (D30:F0)............................................................65 5.1.1 PCI Bus Interface..............................................................................65 5.1.2 PCI-to-PCI Bridge Model ..................................................................66 5.1.3 IDSEL to Device Number Mapping ...................................................66 5.1.4 SERR# Functionality.........................................................................66 5.1.5 Parity Error Detection........................................................................68 5.1.6 Standard PCI Bus Configuration Mechanism ...................................69 Intel® 82801CA ICH3-S Datasheet 5 5.2 5.3 5.4 5.1.6.1 Type 0 to Type 0 Forwarding ............................................ 69 5.1.6.2 Type 1 to Type 0 Conversion ............................................ 69 5.1.7 PCI Dual Address Cycle (DAC) Support........................................... 70 LAN Controller (B1:D8:F0)............................................................................. 71 5.2.1 Feature Summary ............................................................................. 71 5.2.2 LAN Controller Architectural Overview ............................................. 72 5.2.2.1 Parallel Subsystem............................................................ 72 5.2.2.2 FIFO Subsystem ............................................................... 73 5.2.2.3 Serial CSMA/CD Unit ........................................................ 73 5.2.3 LAN Controller PCI Bus Interface ..................................................... 74 5.2.3.1 Bus Slave Operation ......................................................... 74 5.2.3.2 Bus Master Operation ....................................................... 75 5.2.3.3 PCI Power Management ................................................... 78 5.2.3.4 PCI Reset Signal ............................................................... 80 5.2.3.5 Wake-Up Events ............................................................... 80 5.2.3.6 Wake on LAN* (Preboot Wake-Up)................................... 81 5.2.4 Serial EEPROM Interface ................................................................. 82 5.2.5 CSMA/CD Unit.................................................................................. 82 5.2.5.1 Full Duplex ........................................................................ 83 5.2.5.2 Flow Control ...................................................................... 83 5.2.5.3 Address Filtering Modifications ......................................... 83 5.2.5.4 VLAN Support ................................................................... 83 5.2.6 Media Management Interface ........................................................... 84 5.2.7 TCO Functionality ............................................................................. 84 5.2.7.1 Receive Functionality ........................................................ 84 5.2.7.2 Transmit Functionality ....................................................... 84 LPC Bridge (w/ System and Management Functions) (D31:F0).................... 85 5.3.1 LPC Interface .................................................................................... 85 5.3.1.1 LPC Cycle Types............................................................... 86 5.3.1.2 Start Field Definition .......................................................... 86 5.3.1.3 Cycle Type / Direction (CYCTYPE + DIR)......................... 87 5.3.1.4 SIZE .................................................................................. 87 5.3.1.5 SYNC ................................................................................ 88 5.3.1.6 SYNC Time-out ................................................................. 88 5.3.1.7 SYNC Error Indication ....................................................... 89 5.3.1.8 LFRAME# Usage .............................................................. 89 5.3.1.9 I/O Cycles.......................................................................... 90 5.3.1.10 Bus Master Cycles ............................................................ 90 5.3.1.11 LPC Power Management .................................................. 91 5.3.1.12 Configuration and Intel® ICH3 Implications ....................... 91 DMA Operation (D31:F0) ............................................................................... 91 5.4.1 Channel Priority ................................................................................ 92 5.4.1.1 Fixed Priority ..................................................................... 92 5.4.1.2 Rotating Priority................................................................. 93 5.4.2 Address Compatibility Mode ............................................................. 93 5.4.3 Summary of DMA Transfer Sizes ..................................................... 93 5.4.3.1 Address Shifting When Programmed for 16-Bit I/O Count by Words................................................................. 93 5.4.4 Autoinitialize...................................................................................... 94 5.4.5 Software Commands ........................................................................ 94 5.4.5.1 Clear Byte Pointer Flip-Flop .............................................. 94 5.4.5.2 DMA Master Clear............................................................. 94 5.4.5.3 Clear Mask Register .......................................................... 94 6 Intel® 82801CA ICH3-S Datasheet 5.5 5.6 5.7 5.8 PCI DMA ........................................................................................................95 5.5.1 PCI DMA Expansion Protocol ...........................................................95 5.5.2 PCI DMA Expansion Cycles .............................................................97 5.5.3 DMA Addresses ................................................................................97 5.5.4 DMA Data Generation.......................................................................97 5.5.5 DMA Byte Enable Generation...........................................................98 5.5.6 DMA Cycle Termination ....................................................................98 5.5.7 LPC DMA ..........................................................................................98 5.5.8 Asserting DMA Requests..................................................................99 5.5.9 Abandoning DMA Requests..............................................................99 5.5.10 General Flow of DMA Transfers .....................................................100 5.5.11 Terminal Count ...............................................................................100 5.5.12 Verify Mode.....................................................................................100 5.5.13 DMA Request Deassertion .............................................................101 5.5.14 SYNC field / LDRQ# Rules .............................................................102 Intel® 8254 Timers (D31:F0) ........................................................................102 5.6.1 Counter 0, System Timer ................................................................102 5.6.2 Counter 1, Refresh Request Signal ................................................102 5.6.3 Counter 2, Speaker Tone................................................................103 5.6.4 Timer Programming ........................................................................103 5.6.5 Reading from the Interval Timer .....................................................104 5.6.5.1 Simple Read ....................................................................104 5.6.5.2 Counter Latch Command ................................................105 5.6.5.3 Read Back Command .....................................................105 Intel® 8259 Interrupt Controllers (PIC) (D31:F0)..........................................106 5.7.1 Interrupt Handling ...........................................................................107 5.7.1.1 Generating Interrupts.......................................................107 5.7.1.2 Acknowledging Interrupts ................................................107 5.7.1.3 Hardware/Software Interrupt Sequence ..........................108 5.7.2 Initialization Command Words (ICWx) ............................................108 5.7.3 Operation Command Words (OCW) ...............................................109 5.7.4 Modes of Operation ........................................................................109 5.7.4.1 Fully Nested Mode...........................................................109 5.7.4.2 Special Fully Nested Mode..............................................110 5.7.4.3 Automatic Rotation Mode (Equal Priority Devices)..........110 5.7.4.4 Specific Rotation Mode (Specific Priority) .......................110 5.7.4.5 Poll Mode.........................................................................110 5.7.4.6 Cascade Mode ................................................................111 5.7.4.7 Edge and Level Triggered Mode .....................................111 5.7.4.8 End of Interrupt Operations .............................................111 5.7.4.9 Normal End of Interrupt ...................................................111 5.7.4.10 Automatic End of Interrupt Mode.....................................111 5.7.5 Masking Interrupts ..........................................................................112 5.7.5.1 Masking on an Individual Interrupt Request ....................112 5.7.5.2 Special Mask Mode .........................................................112 5.7.6 Steering PCI Interrupts ...................................................................112 Advanced Interrupt Controller (APIC) (D31:F0) ...........................................113 5.8.1 Interrupt Handling ...........................................................................113 5.8.2 Interrupt Mapping............................................................................114 5.8.3 APIC Bus Functional Description....................................................115 5.8.3.1 Physical Characteristics of APIC .....................................115 5.8.3.2 APIC Bus Arbitration........................................................115 5.8.3.3 Bus Message Formats.....................................................116 Intel® 82801CA ICH3-S Datasheet 7 5.9 5.10 5.11 5.12 PCI Message-Based Interrupts....................................................... 121 5.8.4.1 Theory of Operation ........................................................ 121 5.8.4.2 Registers and Bits Associated with PCI Interrupt Delivery ........................................................................... 121 5.8.5 Processor System Bus Interrupt Delivery ....................................... 122 5.8.5.1 Theory of Operation ........................................................ 122 5.8.5.2 Edge-Triggered Operation............................................... 122 5.8.5.3 Level-Triggered Operation .............................................. 122 5.8.5.4 Registers Associated with Processor System Bus Interrupt Delivery ............................................................. 122 5.8.5.5 Interrupt Message Format ............................................... 123 Serial Interrupt (D31:F0) .............................................................................. 124 5.9.1 Start Frame..................................................................................... 124 5.9.2 Data Frames ................................................................................... 125 5.9.3 Stop Frame ..................................................................................... 125 5.9.4 Specific Interrupts not Supported via SERIRQ ............................... 125 5.9.5 Data Frame Format ........................................................................ 126 Real Time Clock (D31:F0) ........................................................................... 127 5.10.1 Update Cycles ................................................................................ 127 5.10.2 Interrupts......................................................................................... 128 5.10.3 Lockable RAM Ranges ................................................................... 128 5.10.4 Century Rollover ............................................................................. 128 5.10.5 Clearing Battery-Backed RTC RAM................................................ 128 Processor Interface (D31:F0) ...................................................................... 130 5.11.1 Processor Interface Signals ............................................................ 130 5.11.1.1 A20M# ............................................................................. 130 5.11.1.2 INIT#................................................................................ 130 5.11.1.3 FERR#/IGNNE# (Coprocessor Error) ............................. 131 5.11.1.4 NMI.................................................................................. 132 5.11.1.5 STPCLK# and CPUSLP# Signals ................................... 132 5.11.1.6 CPUPWRGD Signal ........................................................ 132 5.11.2 Dual Processor Issues .................................................................... 132 5.11.2.1 Signal Differences ........................................................... 132 5.11.2.2 Power Management ........................................................ 132 5.11.3 Speed Strapping for the Processor................................................. 133 Power Management (D31:F0) ..................................................................... 134 5.12.1 Features.......................................................................................... 134 5.12.2 Intel® ICH3 and System Power States ........................................... 135 5.12.3 System Power Planes..................................................................... 137 5.12.4 Intel® ICH3 Power Planes............................................................... 137 5.12.5 SMI#/SCI Generation...................................................................... 137 5.12.6 Dynamic Processor Clock Control .................................................. 140 5.12.6.1 Throttling Using STPCLK# .............................................. 141 5.12.6.2 Transition Rules Among S0/Cx and Throttling States ..... 142 5.12.7 Sleep States ................................................................................... 142 5.12.7.1 Initiating Sleep State ....................................................... 143 5.12.7.2 Exiting Sleep States ........................................................ 143 5.12.7.3 Sx–G3–Sx, Handling Power Failures .............................. 145 5.12.8 Thermal Management..................................................................... 146 5.12.8.1 THRM# Signal ................................................................. 146 5.12.8.2 THRM# Initiated Passive Cooling.................................... 146 5.12.8.3 THRM# Override Software Bit......................................... 146 5.8.4 8 Intel® 82801CA ICH3-S Datasheet 5.13 5.14 5.15 5.12.8.4 Processor Initiated Passive Cooling (Via Programmed Duty Cycle on STPCLK#)...................147 5.12.8.5 Active Cooling..................................................................147 5.12.9 Event Input Signals and Their Usage .............................................147 5.12.9.1 PWRBTN#–Power Button ...............................................147 5.12.9.2 RI#—Ring Indicate ..........................................................148 5.12.9.3 PME#—PCI Power Management Event..........................148 5.12.10 ALT Access Mode...........................................................................148 5.12.10.1 Write Only Registers with Read Paths in ALT Access Mode ...................................................................149 5.12.10.2 PIC Reserved Bits ...........................................................151 5.12.10.3 Read Only Registers with Write Paths in ALT Access Mode ...................................................................151 5.12.11 System Power Supplies, Planes, and Signals ................................152 5.12.11.1 Power Plane Control with SLP_S3# and SLP_S5#.........152 5.12.11.2 PWROK Signal ................................................................152 5.12.11.3 VRMPWRGD Signal........................................................152 5.12.11.4 Controlling Leakage and Power Consumption During Low-Power States................................................152 5.12.12 Clock Generators ............................................................................153 5.12.13 Legacy Power Management Theory of Operation ..........................153 5.12.13.1 APM Power Management................................................153 System Management (D31:F0)....................................................................154 5.13.1 Theory of Operation ........................................................................154 5.13.1.1 Detecting a System Lockup.............................................154 5.13.1.2 Handling an Intruder ........................................................154 5.13.1.3 Detecting Improper FWH Programming ..........................155 5.13.1.4 Handling an ECC Error or Other Memory Error...............155 5.13.2 Alert on LAN* ..................................................................................155 General Purpose I/O ....................................................................................159 5.14.1 GPIO Mapping ................................................................................159 5.14.2 Power Wells ....................................................................................161 5.14.3 SMI# and SCI Routing ....................................................................161 5.14.4 Power Wells ....................................................................................161 IDE Controller (D31:F1) ...............................................................................161 5.15.1 PIO Transfers..................................................................................162 5.15.1.1 IDE Port Decode..............................................................162 5.15.1.2 IDE Legacy Mode and Native Mode................................162 5.15.1.3 PIO IDE Timing Modes....................................................163 5.15.1.4 IORDY Masking...............................................................164 5.15.1.5 PIO 32-Bit IDE Data Port Accesses ................................164 5.15.1.6 PIO IDE Data Port Prefetching and Posting ....................164 5.15.2 Bus Master Function .......................................................................165 5.15.2.1 Physical Region Descriptor Format .................................165 5.15.2.2 Bus Master IDE Timings..................................................166 5.15.2.3 Interrupts .........................................................................166 5.15.2.4 Bus Master IDE Operation...............................................167 5.15.2.5 Error Conditions...............................................................168 5.15.2.6 Intel® 8237-Like Protocol.................................................168 5.15.3 Ultra ATA/33 Protocol .....................................................................169 5.15.3.1 Signal Descriptions..........................................................169 5.15.3.2 Operation.........................................................................170 5.15.3.3 CRC Calculation ..............................................................170 5.15.4 Ultra ATA/66 Protocol .....................................................................171 Intel® 82801CA ICH3-S Datasheet 9 5.16 5.17 5.18 5.15.5 Ultra ATA/100 Protocol ................................................................... 171 5.15.6 Ultra ATA/33/66/100 Timing ........................................................... 171 USB 1.1 Controllers (D29:F0, F1 and F2) ................................................... 172 5.16.1 Data Structures in Main Memory .................................................... 172 5.16.1.1 Frame List Pointer ........................................................... 172 5.16.1.2 Transfer Descriptor (TD) ................................................. 173 5.16.1.3 Queue Head (QH) ........................................................... 177 5.16.2 Data Transfers to/from Main Memory ............................................. 178 5.16.2.1 Executing the Schedule................................................... 178 5.16.2.2 Processing Transfer Descriptors ..................................... 179 5.16.2.3 Command Register, Status Register, and TD Status Bit Interaction .................................................................. 180 5.16.2.4 Transfer Queuing ............................................................ 181 5.16.3 Data Encoding and Bit Stuffing....................................................... 184 5.16.4 Bus Protocol ................................................................................... 184 5.16.4.1 Bit Ordering ..................................................................... 184 5.16.4.2 SYNC Field...................................................................... 184 5.16.4.3 Packet Field Formats ...................................................... 185 5.16.4.4 Address Fields................................................................. 186 5.16.4.5 Frame Number Field ....................................................... 186 5.16.4.6 Data Field ........................................................................ 186 5.16.4.7 Cyclic Redundancy Check (CRC) ................................... 186 5.16.5 Packet Formats............................................................................... 187 5.16.5.1 Token Packets................................................................. 187 5.16.5.2 Start of Frame Packets.................................................... 187 5.16.5.3 Data Packets ................................................................... 188 5.16.5.4 Handshake Packets ........................................................ 188 5.16.5.5 Handshake Responses ................................................... 188 5.16.6 USB Interrupts ................................................................................ 189 5.16.6.1 Transaction Based Interrupts .......................................... 189 5.16.6.2 Non-Transaction Based Interrupts .................................. 191 5.16.7 USB Power Management ............................................................... 191 5.16.8 USB Legacy Keyboard Operation................................................... 192 SMBus 2.0 Controller Functional Description (D31:F3) ............................... 194 5.17.1 Host Controller ................................................................................ 194 5.17.1.1 Command Protocols........................................................ 195 5.17.1.2 I2C Behavior .................................................................... 203 5.17.1.3 Heartbeat for Use with the External LAN Controller........ 203 5.17.2 Bus Arbitration ................................................................................ 204 5.17.3 Bus Timing...................................................................................... 204 5.17.3.1 Clock Stretching .............................................................. 204 5.17.3.2 Bus Time Out (Intel® ICH3 as SMBus Master)................ 204 5.17.4 Interrupts / SMI# ............................................................................. 205 5.17.5 SMBALERT# .................................................................................. 206 5.17.6 SMBus Slave Interface ................................................................... 206 5.17.6.1 Format of Slave Write Cycle............................................ 207 5.17.6.2 Format of Read Command.............................................. 209 5.17.6.3 Format of Host Notify Command..................................... 211 AC ’97 Controller Functional Description (Audio D31:F5, Modem D31:F6). 212 5.18.1 AC-Link ........................................................................................... 214 5.18.1.1 AC-Link Output Frame (SDOUT) .................................... 216 5.18.1.2 Output Slot 0: Tag Phase ................................................ 216 5.18.1.3 Output Slot 1: Command Address Port ........................... 217 10 Intel® 82801CA ICH3-S Datasheet 5.18.1.4 5.18.1.5 5.18.1.6 5.18.1.7 5.18.1.8 5.18.1.9 5.18.2 5.18.3 5.18.4 5.18.5 Output Slot 2: Command Data Port.................................217 Output Slot 3: PCM Playback Left Channel.....................217 Output Slot 4: PCM Playback Right Channel ..................217 Output Slot 5: Modem Codec ..........................................217 Output Slot 6: PCM Playback Center Front Channel ......217 Output Slots 7–8: PCM Playback Left and Right Rear Channels.................................................................218 5.18.1.10 Output Slot 9: Playback SubWoofer Channel..................218 5.18.1.11 Output Slots 10–11: Reserved ........................................218 5.18.1.12 Output Slot 12: I/O Control ..............................................218 5.18.1.13 AC-Link Input Frame (SDIN) ...........................................219 5.18.1.14 Input Slot 0: Tag Phase ...................................................219 5.18.1.15 Input Slot 1: Status Address Port / Slot Request Bits......220 5.18.1.16 Input Slot 2: Status Data Port ..........................................220 5.18.1.17 Input Slot 3: PCM Record Left Channel ..........................221 5.18.1.18 Input Slot 4: PCM Record Right Channel ........................221 5.18.1.19 Input Slot 5: Modem Line.................................................221 5.18.1.20 Input Slot 6: Optional Dedicated Microphone Record Data ....................................................................221 5.18.1.21 Input Slots 7–11: Reserved .............................................221 5.18.1.22 Input Slot 12: I/O status ...................................................221 5.18.1.23 Register Access...............................................................222 AC-Link Low Power Mode ..............................................................223 5.18.2.1 External Wake Event .......................................................224 AC ’97 Cold Reset ..........................................................................224 AC ’97 Warm Reset ........................................................................224 System Reset..................................................................................225 6 Register and Memory Mapping ...................................................................227 6.1 6.2 6.3 PCI Devices and Functions..........................................................................228 PCI Configuration Map.................................................................................229 I/O Map ........................................................................................................230 6.3.1 Fixed I/O Address Ranges..............................................................230 6.3.2 Variable I/O Decode Ranges ..........................................................232 Memory Map ................................................................................................233 6.4.1 Boot-Block Update Scheme............................................................234 PCI Configuration Registers (B1:D8:F0)......................................................235 7.1.1 VID—Vendor ID Register (LAN Controller—B1:D8:F0) ..................236 7.1.2 DID—Device ID Register (LAN Controller—B1:D8:F0) ..................236 7.1.3 PCICMD—PCI Command Register (LAN Controller—B1:D8:F0) ..236 7.1.4 PCISTS—PCI Status Register (LAN Controller—B1:D8:F0) ..........237 7.1.5 REVID—Revision ID Register (LAN Controller—B1:D8:F0) ...........237 7.1.6 SCC—Sub Class Code Register (LAN Controller—B1:D8:F0).......238 7.1.7 BCC—Base Class Code Register (LAN Controller—B1:D8:F0) .....238 7.1.8 CLS—Cache Line Size Register (LAN Controller—B1:D8:F0) .......238 7.1.9 PMLT—PCI Master Latency Timer Register (LAN Controller—B1:D8:F0) ...........................................................238 7.1.10 HEADTYP—Header Type Register (LAN Controller—B1:D8:F0) ..239 7.1.11 CSR_MEM_BASE CSR—Memory-Mapped Base Address Register (LAN Controller—B1:D8:F0)...............................239 7.1.12 CSR_IO_BASE—CSR I/O-Mapped Base Address Register (LAN Controller—B1:D8:F0) ...........................................................239 6.4 7 LAN Controller Registers (B1:D8:F0) .......................................................235 7.1 Intel® 82801CA ICH3-S Datasheet 11 7.2 7.1.13 SVID—Subsystem Vendor ID Register (LAN Controller—B1:D8:F0) ........................................................... 240 7.1.14 SID—Subsystem ID Register (LAN Controller—B1:D8:F0)............ 240 7.1.15 CAP_PTR—Capabilities Pointer Register (LAN Controller—B1:D8:F0) ........................................................... 240 7.1.16 INT_LN—Interrupt Line Register (LAN Controller—B1:D8:F0)....... 241 7.1.17 INT_PN—Interrupt Pin Register (LAN Controller—B1:D8:F0)........ 241 7.1.18 MIN_GNT—Minimum Grant Register (LAN Controller—B1:D8:F0) ........................................................... 241 7.1.19 MAX_LAT—Maximum Latency Register (LAN Controller—B1:D8:F0) ........................................................... 241 7.1.20 CAP_ID—Capability ID Register (LAN Controller—B1:D8:F0)....... 242 7.1.21 NXT_PTR—Next Item Pointer Register (LAN Controller—B1:D8:F0) ........................................................... 242 7.1.22 PM_CAP—Power Management Capabilities Register (LAN Controller—B1:D8:F0) ........................................................... 242 7.1.23 PMCSR—Power Management Control/Status Register (LAN Controller—B1:D8:F0) ........................................................... 243 7.1.24 PCIDATA—PCI Power Management Data Register (LAN Controller—B1:D8:F0) ........................................................... 244 LAN Control / Status Registers (CSR) ......................................................... 245 7.2.1 System Control Block Status Word Register .................................. 246 7.2.2 System Control Block Command Word Register ............................ 247 7.2.3 System Control Block General Pointer Register ............................. 249 7.2.4 PORT.............................................................................................. 249 7.2.5 EEPROM Control Register ............................................................. 250 7.2.6 Management Data Interface (MDI) Control Register ...................... 251 7.2.7 Receive DMA Byte Count Register................................................. 251 7.2.8 Early Receive Interrupt Register ..................................................... 252 7.2.9 Flow Control Register ..................................................................... 253 7.2.10 Power Management Driver (PMDR) Register................................. 254 7.2.11 General Control Register ................................................................ 254 7.2.12 General Status Register ................................................................. 255 7.2.13 Statistical Counters ......................................................................... 255 PCI Configuration Registers (D30:F0) ......................................................... 259 8.1.1 VID—Vendor ID Register (HUB-PCI—D30:F0) .............................. 260 8.1.2 DID—Device ID Register (HUB-PCI—D30:F0)............................... 260 8.1.3 CMD—Command Register (HUB-PCI—D30:F0)............................ 261 8.1.4 PD_STS—Primary Device Status Register (HUB-PCI—D30:F0) ....................................................................... 262 8.1.5 REVID—Revision ID Register (HUB-PCI—D30:F0) ....................... 263 8.1.6 SCC—Sub Class Code Register (HUB-PCI—D30:F0)................... 263 8.1.7 BCC—Base-Class Code Register (HUB-PCI—D30:F0)................. 263 8.1.8 PMLT—Primary Master Latency Timer Register (HUB-PCI—D30:F0) ....................................................................... 263 8.1.9 HEADTYP—Header Type Register (HUB-PCI—D30:F0)............... 264 8.1.10 PBUS_NUM—Primary Bus Number Register (HUB-PCI—D30:F0) ....................................................................... 264 8.1.11 SBUS_NUM—Secondary Bus Number Register (HUB-PCI—D30:F0) ....................................................................... 264 8 Hub Interface to PCI Bridge Registers (D30:F0) .................................. 259 8.1 12 Intel® 82801CA ICH3-S Datasheet 8.1.12 SUB_BUS_NUM—Subordinate Bus Number Register (HUB-PCI—D30:F0) .......................................................................264 8.1.13 SMLT—Secondary Master Latency Timer Register (HUB-PCI—D30:F0) .......................................................................265 8.1.14 IOBASE—I/O Base Register (HUB-PCI—D30:F0) .........................265 8.1.15 IOLIM—I/O Limit Register (HUB-PCI—D30:F0) .............................265 8.1.16 SECSTS—Secondary Status Register (HUB-PCI—D30:F0)..........266 8.1.17 MEMBASE—Memory Base Register (HUB-PCI—D30:F0) ............267 8.1.18 MEMLIM—Memory Limit Register (HUB-PCI—D30:F0) ................267 8.1.19 PREF_MEM_BASE—Prefetchable Memory Base Register (HUB-PCI—D30:F0) .........................................................267 8.1.20 PREF_MEM_MLT—Prefetchable Memory Limit Register (HUB-PCI—D30:F0) .........................................................268 8.1.21 IOBASE_HI—I/O Base Upper 16 Bits Register (HUB-PCI—D30:F0) .......................................................................268 8.1.22 IOLIM_HI—I/O Limit Upper 16 Bits Register (HUB-PCI—D30:F0) .......................................................................268 8.1.23 INT_LINE—Interrupt Line Register (HUB-PCI—D30:F0) ...............268 8.1.24 BRIDGE_CNT—Bridge Control Register (HUB-PCI—D30:F0) ......269 8.1.25 BRIDGE_CNT2—Bridge Control Register 2 (HUB-PCI—D30:F0) .......................................................................270 8.1.26 DEVICE_HIDE—Secondary PCI Device Hiding Register (HUB-PCI—D30:F0) .......................................................................270 8.1.27 CNF—ICH3 Configuration Register (HUB-PCI—D30:F0) ..............271 8.1.28 MTT—Multi-Transaction Timer Register (HUB-PCI—D30:F0) .......271 8.1.29 PCI_MAST_STS—PCI Master Status Register (HUB-PCI—D30:F0) .......................................................................272 8.1.30 ERR_CMD—Error Command Register (HUB-PCI—D30:F0) .........272 8.1.31 ERR_STS—Error Status Register (HUB-PCI—D30:F0).................273 9 LPC Interface Bridge Registers (D31:F0) ................................................275 9.1 PCI Configuration Registers (D31:F0) .........................................................275 9.1.1 VID—Vendor ID Register (LPC I/F—D31:F0) .................................276 9.1.2 DID—Device ID Register (LPC I/F—D31:F0) .................................276 9.1.3 PCICMD—PCI COMMAND Register (LPC I/F—D31:F0) ...............277 9.1.4 PCISTA—PCI Device Status Register (LPC I/F—D31:F0) .............278 9.1.5 REVID—Revision ID Register (LPC I/F—D31:F0)..........................278 9.1.6 PI—Programming Interface Register (LPC I/F—D31:F0) ...............279 9.1.7 SCC—Sub Class Code Register (LPC I/F—D31:F0) .....................279 9.1.8 BCC—Base Class Code Register (LPC I/F—D31:F0)....................279 9.1.9 HEADTYP—Header Type Register (LPC I/F—D31:F0) .................279 9.1.10 PMBASE—ACPI Base Address Register (LPC I/F—D31:F0) ........280 9.1.11 ACPI_CNTL—ACPI Control Register (LPC I/F—D31:F0) ..............280 9.1.12 BIOS_CNTL Register (LPC I/F—D31:F0).......................................281 9.1.13 TCO_CNTL—TCO Control Register (LPC I/F—D31:F0) ................281 9.1.14 GPIOBASE—GPIO Base Address Register (LPC I/F—D31:F0) ..........................................................................282 9.1.15 GPIO_CNTL—GPIO Control Register (LPC I/F—D31:F0) .............282 9.1.16 PIRQ[n]_ROUT—PIRQ[A,B,C,D] Routing Control Register (LPC I/F—D31:F0) ..........................................................................283 9.1.17 SERIRQ_CNTL—Serial IRQ Control Register (LPC I/F—D31:F0) ..........................................................................283 Intel® 82801CA ICH3-S Datasheet 13 9.2 9.3 9.4 9.1.18 PIRQ[n]_ROUT—PIRQ[E,F,G,H] Routing Control Register (LPC I/F—D31:F0) .......................................................................... 284 9.1.19 D31_ERR_CFG—Device 31 Error Configuration Register (LPC I/F—D31:F0) .......................................................................... 284 9.1.20 D31_ERR_STS—Device 31 Error Status Register (LPC I/F—D31:F0) .......................................................................... 285 9.1.21 PCI_DMA_CFG—PCI DMA Configuration Register (LPC I/F—D31:F0) .......................................................................... 285 9.1.22 GEN_CNTL—General Control Register (LPC I/F—D31:F0) .......... 286 9.1.23 GEN_STA—General Status Register (LPC I/F—D31:F0) .............. 288 9.1.24 RTC_CONF—RTC Configuration Register (LPC I/F—D31:F0)...... 289 9.1.25 COM_DEC—LPC I/F Communication Port Decode Ranges Register (LPC I/F—D31:F0)............................................................ 289 9.1.26 FDD/LPT_DEC—LPC I/F FDD & LPT Decode Ranges Register (LPC I/F—D31:F0)............................................................ 290 9.1.27 SND_DEC—LPC I/F Sound Decode Ranges Register (LPC I/F—D31:F0) .......................................................................... 290 9.1.28 FWH_DEC_EN1—FWH Decode Enable 1 Register (LPC I/F—D31:F0) .......................................................................... 291 9.1.29 GEN1_DEC—LPC I/F Generic Decode Range 1 Register (LPC I/F—D31:F0) .......................................................................... 292 9.1.30 LPC_EN—LPC I/F Enables Register (LPC I/F—D31:F0)............... 292 9.1.31 FWH_SEL1—FWH Select 1 Register (LPC I/F—D31:F0).............. 294 9.1.32 GEN2_DEC—LPC I/F Generic Decode Range 2 Register (LPC I/F—D31:F0) .......................................................................... 295 9.1.33 FWH_SEL2—FWH Select 2 Register (LPC I/F—D31:F0).............. 295 9.1.34 FWH_DEC_EN2—FWH Decode Enable 2 Register (LPC I/F—D31:F0) .......................................................................... 296 9.1.35 FUNC_DIS—Function Disable Register (LPC I/F—D31:F0) .......... 297 DMA I/O Registers....................................................................................... 298 9.2.1 DMABASE_CA—DMA Base and Current Address Registers ........ 299 9.2.2 DMABASE_CC—DMA Base and Current Count Registers............ 300 9.2.3 DMAMEM_LP—DMA Memory Low Page Registers ...................... 300 9.2.4 DMACMD—DMA Command Register ............................................ 301 9.2.5 DMASTA—DMA Status Register.................................................... 301 9.2.6 DMA_WRSMSK—DMA Write Single Mask Register...................... 302 9.2.7 DMACH_MODE—DMA Channel Mode Register............................ 302 9.2.8 DMA Clear Byte Pointer Register ................................................... 303 9.2.9 DMA Master Clear Register ............................................................ 303 9.2.10 DMA_CLMSK—DMA Clear Mask Register .................................... 303 9.2.11 DMA_WRMSK—DMA Write All Mask Register .............................. 304 Timer I/O Registers...................................................................................... 305 9.3.1 TCW—Timer Control Word Register .............................................. 305 9.3.1.1 RDBK_CMD—Read Back Command ............................. 306 9.3.1.2 LTCH_CMD—Counter Latch Command ......................... 306 9.3.2 SBYTE_FMT—Interval Timer Status Byte Format Register ........... 307 9.3.3 Counter Access Ports Register....................................................... 307 Intel® 8259 Interrupt Controller (PIC) Registers .......................................... 308 9.4.1 Interrupt Controller I/O MAP ........................................................... 308 9.4.2 ICW1—Initialization Command Word 1 Register ............................ 309 9.4.3 ICW2—Initialization Command Word 2 Register ............................ 310 14 Intel® 82801CA ICH3-S Datasheet 9.4.4 9.5 9.6 9.7 9.8 ICW3—Master Controller Initialization Command Word 3 Register...........................................................................................310 9.4.5 ICW3—Slave Controller Initialization Command Word 3 Register .311 9.4.6 ICW4—Initialization Command Word 4 Register ............................311 9.4.7 OCW1—Operational Control Word 1 (Interrupt Mask) Register .....311 9.4.8 OCW2—Operational Control Word 2 Register ...............................312 9.4.9 OCW3—Operational Control Word 3 Register ...............................313 9.4.10 ELCR1—Master Controller Edge/Level Triggered Register ...........314 9.4.11 ELCR2—Slave Controller Edge/Level Triggered Register .............315 Advanced Interrupt Controller (APIC) ..........................................................316 9.5.1 APIC Register Map .........................................................................316 9.5.2 IND—Index Register .......................................................................316 9.5.3 DAT—Data Register .......................................................................317 9.5.4 IRQPA—IRQ Pin Assertion Register ..............................................317 9.5.5 EOIR—EOI Register .......................................................................318 9.5.6 ID—Identification Register ..............................................................318 9.5.7 VER—Version Register ..................................................................319 9.5.8 ARBID—Arbitration ID Register ......................................................319 9.5.9 BOOT_CONFIG—Boot Configuration Register ..............................319 9.5.10 Redirection Table............................................................................320 Real Time Clock Registers ..........................................................................322 9.6.1 I/O Register Address Map...............................................................322 9.6.2 Indexed Registers ...........................................................................323 9.6.2.1 RTC_REGA—Register A.................................................324 9.6.2.2 RTC_REGB—Register B (General Configuration) ..........325 9.6.2.3 RTC_REGC—Register C (Flag Register) .......................326 9.6.2.4 RTC_REGD—Register D (Flag Register) .......................326 Processor Interface Registers......................................................................327 9.7.1 NMI_SC—NMI Status and Control Register ...................................327 9.7.2 NMI_EN—NMI Enable (and Real Time Clock Index) Register .......328 9.7.3 PORT92—Fast A20 and Init Register.............................................328 9.7.4 COPROC_ERR—Coprocessor Error Register ...............................328 9.7.5 RST_CNT—Reset Control Register ...............................................329 Power Management Registers (D31:F0) .....................................................330 9.8.1 Power Management PCI Configuration Registers (D31:F0) ...........330 9.8.1.1 GEN_PMCON_1—General PM Configuration 1 Register (PM—D31:F0) ...................................................331 9.8.1.2 GEN_PMCON_2—General PM Configuration 2 Register (PM—D31:F0) ...................................................331 9.8.1.3 GEN_PMCON_3—General PM Configuration 3 Register (PM—D31:F0) ...................................................332 9.8.1.4 STPCLK_DEL—Stop Clock Delay Register (PM—D31:F0) .................................................................332 9.8.1.5 GPI_ROUT—GPI Routing Control Register (PM—D31:F0) .................................................................333 9.8.1.6 TRP_FWD_EN—I/O Monitor Trap Forwarding Enable Register (PM—D31:F0).......................................333 9.8.1.7 MON[n]_TRP_RNG—I/O Monitor [4:7] Trap Range Register for Devices 4–7 (PM—D31:F0) .............334 9.8.1.8 MON_TRP_MSK—I/O Monitor Trap Range Mask Register for Devices 4-7 (PM—D31:F0)..........................334 Intel® 82801CA ICH3-S Datasheet 15 9.8.2 9.9 9.10 APM I/O Decode ............................................................................. 335 9.8.2.1 APM_CNT—Advanced Power Management Control Port Register ................................................................... 335 9.8.2.2 APM_STS—Advanced Power Management Status Port Register ................................................................... 335 9.8.3 Power Management I/O Registers.................................................. 336 9.8.3.1 PM1_STS—Power Management 1 Status Register........ 337 9.8.3.2 PM1_EN—Power Management 1 Enable Register......... 339 9.8.3.3 PM1_CNT—Power Management 1 Control Register ...... 340 9.8.3.4 PM1_TMR—Power Management 1 Timer Register ........ 340 9.8.3.5 PROC_CNT—Processor Control Register ...................... 341 9.8.3.6 LV2—Level 2 Register .................................................... 342 9.8.3.7 GPE0_STS—General Purpose Event 0 Status Register 342 9.8.3.8 GPE0_EN—General Purpose Event 0 Enables Register 344 9.8.3.9 GPE1_STS—General Purpose Event 1 Status Register 345 9.8.3.10 GPE1_EN—General Purpose Event 1 Enable Register . 345 9.8.3.11 SMI_EN—SMI Control and Enable Register ................... 346 9.8.3.12 SMI_STS—SMI Status Register ..................................... 347 9.8.3.13 MON_SMI—Device Monitor SMI Status and Enable Register ........................................................................... 348 9.8.3.14 DEVACT_STS—Device Activity Status Register ............ 349 9.8.3.15 DEVTRAP_EN— Device Trap Enable Register.............. 350 9.8.3.16 BUS_ADDR_TRACK— Bus Address Tracker Register .. 351 9.8.3.17 BUS_CYC_TRACK— Bus Cycle Tracker Register ......... 351 System Management TCO Registers (D31:F0) ........................................... 352 9.9.1 TCO Register I/O Map .................................................................... 352 9.9.2 TCO1_RLD—TCO Timer Reload and Current Value Register....... 352 9.9.3 TCO1_TMR—TCO Timer Initial Value Register ............................. 353 9.9.4 TCO1_DAT_IN—TCO Data In Register ......................................... 353 9.9.5 TCO1_DAT_OUT—TCO Data Out Register................................... 353 9.9.6 TCO1_STS—TCO1 Status Register............................................... 354 9.9.7 TCO2_STS—TCO2 Status Register............................................... 355 9.9.8 TCO1_CNT—TCO1 Control Register............................................. 356 9.9.9 TCO2_CNT—TCO2 Control Register............................................. 356 9.9.10 TCO_MESSAGE1 and TCO_MESSAGE2 Registers ..................... 357 9.9.11 TCO_WDSTATUS—TCO2 Control Register .................................. 357 9.9.12 SW_IRQ_GEN—Software IRQ Generation Register...................... 357 General Purpose I/O Registers (D31:F0) .................................................... 358 9.10.1 GPIO Register I/O Address Map..................................................... 360 9.10.2 GPIO_USE_SEL—GPIO Use Select Register ............................... 360 9.10.3 GP_IO_SEL—GPIO Input/Output Select Register ......................... 361 9.10.4 GP_LVL—GPIO Level for Input or Output Register........................ 361 9.10.5 GPO_BLINK—GPO Blink Enable Register..................................... 362 9.10.6 GPI_INV—GPIO Signal Invert Register.......................................... 362 9.10.7 GPIO_USE_SEL2—GPIO Use Select 2 Register .......................... 363 9.10.8 GP_IO_SEL2—GPIO Input/Output Select 2 Register .................... 363 9.10.9 GP_LVL2—GPIO Level for Input or Output 2 Register................... 363 16 Intel® 82801CA ICH3-S Datasheet 10 IDE Controller Registers (D31:F1)..............................................................365 10.1 PCI Configuration Registers (IDE—D31:F1)................................................365 10.1.1 VID—Vendor ID Register (IDE—D31:F1) .......................................366 10.1.2 DID—Device ID Register (IDE—D31:F1) .......................................366 10.1.3 CMD—Command Register (IDE—D31:F1) ....................................366 10.1.4 STS—Device Status Register (IDE—D31:F1) ................................367 10.1.5 RID—Revision Identification Register (IDE—D31:F1) ....................367 10.1.6 PI—Programming Interface Register (IDE—D31:F1) .....................368 10.1.7 SCC—Sub Class Code Register (IDE—D31:F1)............................368 10.1.8 BCC—Base Class Code Register (IDE—D31:F1) ..........................368 10.1.9 MLT—Master Latency Timer Register (IDE—D31:F1) ...................368 10.1.10 PCMD_BAR—Primary Command Block Base Address Register (IDE—D31:F1) ..................................................................369 10.1.11 PCNL_BAR—Primary Control Block Base Address Register (IDE—D31:F1) ..................................................................369 10.1.12 SCMD_BAR—Secondary Command Block Base Address Register (IDE D31:F1) ....................................................................369 10.1.13 SCNL_BAR—Secondary Control Block Base Address Register (IDE D31:F1) ....................................................................370 10.1.14 BM_BASE—Bus Master Base Address Register (IDE—D31:F1) ................................................................................370 10.1.15 EXBAR—Expansion Base Address Register (IDE—D31:F1) .........370 10.1.16 IDE_SVID—Subsystem Vendor ID Register (IDE—D31:F1) ..........371 10.1.17 IDE_SID—Subsystem ID Register (IDE—D31:F1) .........................371 10.1.18 INTR_LN—Interrupt Line Register (IDE—D31:F1) .........................371 10.1.19 INTR_PN—Interrupt Pin Register (IDE—D31:F1) ..........................371 10.1.20 IDE_TIM—IDE Timing Register (IDE—D31:F1) .............................372 10.1.21 SLV_IDETIM—Slave (Drive 1) IDE Timing Register (IDE—D31:F1) ................................................................................373 10.1.22 SDMA_CNT—Synchronous DMA Control Register (IDE—D31:F1) ................................................................................374 10.1.23 SDMA_TIM—Synchronous DMA Timing Register (IDE—D31:F1) ................................................................................375 10.1.24 IDE_CONFIG—IDE I/O Configuration Register..............................376 Bus Master IDE I/O Registers (D31:F1).......................................................377 10.2.1 BMIC[P,S]—Bus Master IDE Command Register ..........................378 10.2.2 BMIS[P,S]—Bus Master IDE Status Register .................................379 10.2.3 BMID[P,S]—Bus Master IDE Descriptor Table Pointer Register ....379 PCI Configuration Registers (D29:F0/F1/F2)...............................................381 11.1.1 VID—Vendor Identification Register (USB—D29:F0/F1/F2)...........381 11.1.2 DID—Device Identification Register (USB—D29:F0/F1/F2) ...........382 11.1.3 CMD—Command Register (USB—D29:F0/F1/F2).........................382 11.1.4 STA—Device Status Register (USB—D29:F0/F1/F2) ....................383 11.1.5 RID—Revision Identification Register (USB—D29:F0/F1/F2) ........383 11.1.6 PI—Programming Interface Register (USB—D29:F0/F1/F2) .........383 11.1.7 SCC—Sub Class Code Register (USB—D29:F0/F1/F2) ................384 11.1.8 BCC—Base Class Code Register (USB—D29:F0/F1/F2) ..............384 11.1.9 HTYPE—Header Type Register (USB—D29:F0/F1/F2).................384 11.1.10 BASE—Base Address Register (USB—D29:F0/F1/F2) .................385 11.1.11 SVID—Subsystem Vendor ID Register (USB—D29:F0/F1/F2) ......385 10.2 11 USB 1.1 Controllers Registers.....................................................................381 11.1 Intel® 82801CA ICH3-S Datasheet 17 11.2 11.1.12 SID—Subsystem ID Register (USB—D29:F0/F1/F2) ..................... 385 11.1.13 INTR_LN—Interrupt Line Register (USB—D29:F0/F1/F2) ............. 385 11.1.14 INTR_PN—Interrupt Pin Register (USB—D29:F0/F1/F2) .............. 386 11.1.15 SB_RELNUM—Serial Bus Release Number Register (USB—D29:F0/F1/F2) .................................................................... 386 11.1.16 USB_LEGKEY—USB Legacy Keyboard/Mouse Control Register (USB—D29:F0/F1/F2) ...................................................... 386 11.1.17 USB_RES—USB Resume Enable Register (USB—D29:F0/F1/F2) .................................................................... 388 USB I/O Registers ....................................................................................... 389 11.2.1 USBCMD—USB Command Register ............................................. 390 11.2.2 USBSTA—USB Status Register ..................................................... 393 11.2.3 USBINTR—Interrupt Enable Register............................................. 394 11.2.4 FRNUM—Frame Number Register................................................. 394 11.2.5 FRBASEADD—Frame List Base Address Register........................ 395 11.2.6 SOFMOD—Start of Frame Modify Register.................................... 395 11.2.7 PORTSC[0,1]—Port Status and Control Register........................... 396 PCI Configuration Registers (SMBus—D31:F3) .......................................... 399 12.1.1 VID—Vendor Identification Register (SMBUS—D31:F3)................ 399 12.1.2 DID—Device Identification Register (SMBUS—D31:F3) ................ 399 12.1.3 CMD—Command Register (SMBUS—D31:F3).............................. 400 12.1.4 STA—Device Status Register (SMBUS—D31:F3) ......................... 400 12.1.5 RID—Revision Identification Register (SMBUS—D31:F3) ............. 401 12.1.6 SCC—Sub Class Code Register (SMBUS—D31:F3)..................... 401 12.1.7 BCC—Base Class Code Register (SMBUS—D31:F3) ................... 401 12.1.8 SMB_BASE—SMBus Base Address Register (SMBUS—D31:F3) ......................................................................... 401 12.1.9 SVID—Subsystem Vendor ID Register (SMBUS—D31:F2/F4)...... 402 12.1.10 SID—Subsystem ID Register (SMBUS—D31:F2/F4)..................... 402 12.1.11 INTR_LN—Interrupt Line Register (SMBUS—D31:F3) .................. 402 12.1.12 INTR_PN—Interrupt Pin Register (SMBUS—D31:F3) ................... 402 12.1.13 HOSTC—Host Configuration Register (SMBUS—D31:F3) ............ 403 SMBus I/O Registers ................................................................................... 404 12.2.1 HST_STS—Host Status Register ................................................... 405 12.2.2 HST_CNT—Host Control Register ................................................. 406 12.2.3 HST_CMD—Host Command Register............................................ 407 12.2.4 XMIT_SLVA—Transmit Slave Address Register ............................ 407 12.2.5 HST_D0—Data 0 Register.............................................................. 407 12.2.6 HST_D1—Data 1 Register.............................................................. 407 12.2.7 BLOCK_DB—Block Data Byte Register ......................................... 408 12.2.8 PEC—Packet Error Check (PEC) Register..................................... 408 12.2.9 RCV_SLVA—Receive Slave Address Register .............................. 408 12.2.10 SLV_DATA—Receive Slave Data Register .................................... 409 12.2.11 SMLINK_PIN_CTL—SMLink Pin Control Register ......................... 409 12.2.12 SMBUS_PIN_CTL—SMBus Pin Control Register .......................... 409 12.2.13 SLV_STS—Slave Status Register .................................................. 410 12.2.14 SLV_CMD—Slave Command Register .......................................... 410 12.2.15 NOTIFY_DADDR—Notify Device Address ..................................... 411 12.2.16 NOTIFY_DLOW—Notify Data Low Byte Register .......................... 411 12.2.17 NOTIFY_DHIGH—Notify Data High Byte Register......................... 411 12 SMBus Controller Registers (D31:F3) ...................................................... 399 12.1 12.2 18 Intel® 82801CA ICH3-S Datasheet 13 AC ’97 Audio Controller Registers (D31:F5) ..........................................413 13.1 AC ’97 Audio PCI Configuration Space (D31:F5) ........................................413 13.1.1 VID—Vendor Identification Register (Audio—D31:F5) ...................413 13.1.2 DID—Device Identification Register (Audio—D31:F5)....................414 13.1.3 PCICMD—PCI Command Register (Audio—D31:F5) ....................414 13.1.4 PCISTS—PCI Device Status Register (Audio—D31:F5) ................415 13.1.5 RID—Revision Identification Register (Audio—D31:F5) .................415 13.1.6 PI—Programming Interface Register (Audio—D31:F5) ..................415 13.1.7 SCC—Sub Class Code Register (Audio—D31:F5) ........................416 13.1.8 BCC—Base Class Code Register (Audio—D31:F5).......................416 13.1.9 HEDT—Header Type Register (Audio—D31:F5) ...........................416 13.1.10 NAMBAR—Native Audio Mixer Base Address Register (Audio—D31:F5) .............................................................................417 13.1.11 NABMBAR—Native Audio Bus Mastering Base Address Register (Audio—D31:F5)...............................................................417 13.1.12 SVID—Subsystem Vendor ID Register (Audio—D31:F5)...............418 13.1.13 SID—Subsystem ID Register (Audio—D31:F5)..............................418 13.1.14 INTR_LN—Interrupt Line Register (Audio—D31:F5) ......................418 13.1.15 INTR_PN—Interrupt Pin Register (Audio—D31:F5) .......................419 13.1.16 PCID—Programmable Codec ID Register (Audio—D31:F5) ..........419 AC ’97 Audio I/O Space (D31:F5)................................................................420 13.2.1 x_BDBAR—Buffer Descriptor Base Address Register ...................422 13.2.2 x_CIV—Current Index Value Register ............................................423 13.2.3 x_LVI—Last Valid Index Register ...................................................423 13.2.4 x_SR—Status Register ...................................................................424 13.2.5 x_PICB—Position In Current Buffer Register .................................425 13.2.6 x_PIV—Prefetched Index Value Register .......................................425 13.2.7 x_CR—Control Register .................................................................426 13.2.8 GLOB_CNT—Global Control Register............................................427 13.2.9 GLOB_STA—Global Status Register .............................................428 13.2.10 CAS—Codec Access Semaphore Register ....................................429 AC ’97 Modem PCI Configuration Space (D31:F6) .....................................431 14.1.1 VID—Vendor Identification Register (Modem—D31:F6) ................431 14.1.2 DID—Device Identification Register (Modem—D31:F6) .................432 14.1.3 PCICMD—PCI Command Register (Modem—D31:F6) .................432 14.1.4 PCISTA—Device Status Register (Modem—D31:F6) ....................433 14.1.5 RID—Revision Identification Register (Modem—D31:F6) ..............433 14.1.6 PI—Programming Interface Register (Modem—D31:F6) ...............433 14.1.7 SCC—Sub Class Code Register (Modem—D31:F6)......................434 14.1.8 BCC—Base Class Code Register (Modem—D31:F6) ....................434 14.1.9 HEDT—Header Type Register (Modem—D31:F6).........................434 14.1.10 MMBAR—Modem Mixer Base Address Register (Modem—D31:F6) ..........................................................................435 14.1.11 MBAR—Modem Base Address Register (Modem—D31:F6) .........435 14.1.12 SVID—Subsystem Vendor ID (Modem—D31:F6) ..........................436 14.1.13 SID—Subsystem ID (Modem—D31:F6) .........................................436 14.1.14 INTR_LN—Interrupt Line Register (Modem—D31:F6) ...................436 14.1.15 INT_PIN—Interrupt Pin (Modem—D31:F6) ....................................436 13.2 14 AC ’97 Modem Controller Registers (D31:F6) .......................................431 14.1 Intel® 82801CA ICH3-S Datasheet 19 14.2 AC ’97 Modem I/O Space (D31:F6)............................................................. 437 14.2.1 x_BDBAR—Buffer Descriptor List Base Address Register............. 439 14.2.2 x_CIV—Current Index Value Register ............................................ 439 14.2.3 x_LVI—Last Valid Index Register ................................................... 439 14.2.4 x_SR—Status Register ................................................................... 440 14.2.5 x_PICB—Position In Current Buffer Register ................................. 441 14.2.6 x_PIV—Prefetch Index Value Register ........................................... 441 14.2.7 x_CR—Control Register ................................................................. 442 14.2.8 GLOB_CNT—Global Control Register............................................ 443 14.2.9 GLOB_STA—Global Status Register ............................................. 444 14.2.10 CAS—Codec Access Semaphore Register .................................... 445 15 16 Ballout Definition .............................................................................................. 447 Electrical Characteristics .............................................................................. 457 16.1 16.2 16.3 16.4 16.5 Absolute Maximum Ratings ......................................................................... 457 Functional Operating Range........................................................................ 457 DC Characteristics....................................................................................... 458 AC Characteristics ....................................................................................... 464 Timing Diagrams.......................................................................................... 475 17 18 Package Information ....................................................................................... 485 Testability ............................................................................................................ 487 18.1 18.2 18.3 Test Mode Description................................................................................. 487 Tri-state Mode.............................................................................................. 488 XOR Chain Mode......................................................................................... 488 18.3.1 XOR Chain Testability Algorithm Example ..................................... 488 A B Register Index .................................................................................................... 495 Register Bit Index ............................................................................................. 515 20 Intel® 82801CA ICH3-S Datasheet Figures n 2-1 2-2 2-3 4-1 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 5-16 5-17 5-18 5-19 5-20 5-21 5-22 5-23 15-1 15-2 16-1 16-2 16-3 16-4 16-5 16-6 16-7 16-8 16-9 16-10 16-11 16-12 16-13 16-14 16-15 16-16 16-17 16-18 16-19 Intel® ICH3-S System Configuration ................................................................ 4 Intel® 82801CA ICH3-S Simplified Block Diagram ........................................38 Required External RTC Circuit.......................................................................53 Example V5REF Sequencing Circuit .............................................................54 Conceptual System Clock Diagram ...............................................................63 Primary Device Status Register Error Reporting Logic..................................67 Secondary Status Register Error Reporting Logic .........................................67 NMI# Generation Logic ..................................................................................68 Integrated LAN Controller Block Diagram......................................................72 64-Word EEPROM Read Instruction Waveform ............................................82 LPC Interface Diagram ..................................................................................85 Typical Timing for LFRAME# .........................................................................89 Abort Mechanism ...........................................................................................90 Intel® ICH3 DMA Controller ...........................................................................92 DMA Serial Channel Passing Protocol ..........................................................95 DMA Request Assertion Through LDRQ# .....................................................99 Coprocessor Error Timing Diagram .............................................................131 Signal Strapping...........................................................................................134 Physical Region Descriptor Table Entry ......................................................165 Transfer Descriptor ......................................................................................173 Example Queue Conditions .........................................................................181 USB Data Encoding .....................................................................................184 USB Legacy Keyboard Flow Diagram .........................................................192 Intel® ICH3 Based Audio Codec ’97, Revision 2.2 ......................................213 Audio Codec ’97, Revision 2.2 Controller-Codec Connection .....................214 AC-Link Protocol ..........................................................................................215 AC-Link Powerdown Timing.........................................................................223 SDIN Wake Signaling ..................................................................................224 Intel® ICH3 Ballout (Topview—Left Side) ....................................................448 Intel® ICH3 Ballout (Topview—Right Side) ..................................................449 Clock Timing ................................................................................................475 Valid Delay From Rising Clock Edge ...........................................................475 Setup and Hold Times .................................................................................475 Float Delay...................................................................................................475 Pulse Width..................................................................................................476 Output Enable Delay....................................................................................476 IDE PIO Mode..............................................................................................476 IDE Multiword DMA......................................................................................477 Ultra ATA Mode (Drive Initiating a Burst Read) ...........................................477 Ultra ATA Mode (Sustained Burst)...............................................................478 Ultra ATA Mode (Pausing a DMA Burst)......................................................478 Ultra ATA Mode (Terminating a DMA Burst)................................................479 USB Rise and Fall Times.............................................................................479 USB Jitter.....................................................................................................479 USB EOP Width...........................................................................................480 SMBus Transaction......................................................................................480 SMBus Timeout ...........................................................................................480 Power Sequencing and Reset Signal Timings.............................................481 1.8 V/3.3 V Power Sequencing ....................................................................481 Intel® 82801CA ICH3-S Datasheet 21 16-20 16-21 16-22 17-1 18-1 18-2 G3 (Mechanical Off) to S0 Timings.............................................................. 482 S0 to S5 to S0 Timings ................................................................................ 482 C0 to C2 to C0 Timings ............................................................................... 483 Intel® ICH3 Package.................................................................................... 485 Test Mode Entry (XOR Chain Example)...................................................... 487 Example XOR Chain Circuitry ..................................................................... 488 22 Intel® 82801CA ICH3-S Datasheet Tables 1-1 1-2 2-1 2-2 2-3 2-4 2-5 2-6 2-7 2-8 2-9 2-10 2-11 2-12 2-13 2-14 2-15 2-16 2-17 2-18 2-19 2-20 2-21 3-1 3-2 3-3 3-4 3-5 4-1 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 5-16 5-17 5-18 5-19 5-20 Industry Specifications ...................................................................................29 PCI Devices and Functions............................................................................31 Hub Interface Signals.....................................................................................39 LAN Connect Interface Signals......................................................................39 EEPROM Interface Signals............................................................................39 Firmware Hub Interface Signals.....................................................................40 PCI Interface Signals .....................................................................................40 IDE Interface Signals .....................................................................................43 LPC Interface Signals ....................................................................................44 Interrupt Signals.............................................................................................44 USB Interface Signals....................................................................................45 Power Management Interface Signals ...........................................................45 Processor Interface Signals ...........................................................................46 SM Bus Interface Signals...............................................................................48 System Management Interface Signals .........................................................48 Real Time Clock Interface..............................................................................48 Other Clocks ..................................................................................................49 Miscellaneous Signals ...................................................................................49 AC ’97 Link Signals........................................................................................49 General Purpose I/O Signals .........................................................................50 Power and Ground Signals ............................................................................51 Functional Strap Definitions ...........................................................................52 Test Mode Selection ......................................................................................54 Intel® ICH3 Power Planes..............................................................................55 Integrated Pull-Up and Pull-Down Resistors..................................................56 IDE Series Termination Resistors..................................................................56 Power Plane and States for Output and I/O Signal........................................57 Power Plane for Input Signals........................................................................60 Intel® ICH3 and System Clock Domains........................................................63 Type 0 Configuration Cycle Device Number Translation ...............................69 LPC Cycle Types Supported..........................................................................86 Start Field Bit Definitions................................................................................86 Cycle Type Bit Definitions ..............................................................................87 Transfer Size Bit Definition ............................................................................87 SYNC Bit Definition........................................................................................88 Intel® ICH3 Response to Sync Failures .........................................................88 DMA Transfer Size.........................................................................................93 Address Shifting in 16-Bit I/O DMA Transfers................................................93 DMA Cycle vs. I/O Address ...........................................................................97 PCI Data Bus vs. DMA I/O port size ..............................................................97 DMA I/O Cycle Width vs. BE[3:0]#.................................................................98 Counter Operating Modes............................................................................104 Interrupt Controller Core Connections .........................................................106 Interrupt Status Registers ............................................................................107 Content of Interrupt Vector Byte ..................................................................107 APIC Interrupt Mapping ...............................................................................114 Arbitration Cycles.........................................................................................115 APIC Message Formats...............................................................................116 EOI Message ...............................................................................................116 Intel® 82801CA ICH3-S Datasheet 23 5-21 5-22 5-23 5-24 5-25 5-26 5-27 5-28 5-29 5-30 5-31 5-32 5-33 5-34 5-35 5-36 5-37 5-38 5-39 5-40 5-41 5-42 5-43 5-44 5-45 5-46 5-47 5-48 5-49 5-50 5-51 5-52 5-53 5-54 5-55 5-56 5-57 5-58 5-59 5-60 5-61 5-62 5-63 5-64 5-65 5-66 5-67 5-68 5-69 5-70 5-71 Short Message............................................................................................. 117 APIC Bus Status Cycle Definition ................................................................ 118 Lowest Priority Message (Without Focus Processor) .................................. 119 Remote Read Message ............................................................................... 120 Interrupt Message Address Format ............................................................. 123 Interrupt Message Data Format................................................................... 123 Stop Frame Explanation .............................................................................. 125 Data Frame Format ..................................................................................... 126 Configuration Bits Reset by RTCRST# Assertion........................................ 129 INIT# Going Active....................................................................................... 131 NMI Sources ................................................................................................ 132 DP Signal Differences.................................................................................. 132 Frequency Strap Behavior Based on Exit State .......................................... 133 Frequency Strap Bit Mapping ...................................................................... 133 General Power States for Systems using Intel® ICH3 ................................. 135 State Transition Rules for Intel® ICH3 ......................................................... 136 System Power Plane ................................................................................... 137 Causes of SMI# and SCI ............................................................................. 138 Break Events ............................................................................................... 140 Sleep Types................................................................................................. 143 Causes of Wake Events .............................................................................. 144 GPI Wake Events ........................................................................................ 144 Transitions Due to Power Failure ................................................................ 145 Transitions Due to Power Button ................................................................. 147 Transitions Due to RI# Signal ...................................................................... 148 Write Only Registers with Read Paths in ALT Access Mode....................... 149 PIC Reserved Bits Return Values................................................................ 151 Register Write Accesses in ALT Access Mode............................................ 151 Intel® ICH3 Clock Inputs .............................................................................. 153 Alert on LAN* Message Data....................................................................... 158 GPIO(s) Mapping......................................................................................... 159 IDE Legacy I/O Ports: Command Block Registers (CS1x# Chip Select) ..... 163 IDE Legacy I/O Ports: Control Block Registers (CS3x# Chip Select) .......... 163 IDE Transaction Timings (PCI Clocks) ........................................................ 164 Interrupt/Active Bit Interaction Definition...................................................... 168 UltraATA/33 Control Signal Redefinitions.................................................... 169 Frame List Pointer Bit Description ............................................................... 172 TD Link Pointer ............................................................................................ 173 TD Control and Status ................................................................................. 174 TD Token ..................................................................................................... 176 TD Buffer Pointer ......................................................................................... 176 Queue Head Block....................................................................................... 177 Queue Head Link Pointer ............................................................................ 177 Queue Element Link Pointer........................................................................ 177 Command Register, Status Register and TD Status Bit Interaction ............ 180 Queue Advance Criteria .............................................................................. 182 USB Schedule List Traversal Decision Table .............................................. 183 PID Format .................................................................................................. 185 PID Types .................................................................................................... 185 Address Field............................................................................................... 186 Endpoint Field.............................................................................................. 186 24 Intel® 82801CA ICH3-S Datasheet 5-72 5-73 5-74 5-75 5-76 5-77 5-78 5-79 5-80 5-81 5-82 5-83 5-84 5-85 5-86 5-87 5-88 5-89 5-90 5-91 5-92 5-93 5-94 5-95 5-96 5-97 5-98 5-99 5-100 5-101 6-1 6-2 6-3 6-4 6-5 7-1 7-2 7-3 7-4 7-5 7-6 8-1 9-1 9-2 9-3 9-4 9-5 9-6 9-7 9-8 9-9 Token Format...............................................................................................187 SOF Packet..................................................................................................187 Data Packet Format .....................................................................................188 Bits Maintained in Low Power States...........................................................191 USB Legacy Keyboard State Transitions.....................................................193 Quick Protocol..............................................................................................195 Send / Receive Byte Protocol without PEC .................................................196 Send/Receive byte Protocol with PEC.........................................................196 Write Byte/Word Protocol without PEC........................................................197 Write Byte/Word Protocol with PEC.............................................................197 Read Byte/Word Protocol without PEC........................................................198 Read Byte/Word Protocol with PEC.............................................................199 Process Call Protocol without PEC..............................................................200 Process Call Protocol with PEC...................................................................201 Block Read/Write Protocol without PEC ......................................................202 Block Read/Write Protocol with PEC ...........................................................203 Enable for SMBALERT# ..............................................................................205 Enables for SMBus Slave Write and SMBus Host Events...........................205 Enables for the Host Notify Command.........................................................205 Slave Write Cycle Format ............................................................................207 Slave Write Registers ..................................................................................207 Command Types..........................................................................................208 Read Cycle Format ......................................................................................209 Data Values for Slave Read Registers ........................................................210 Host Notify Format .......................................................................................211 Features Supported by Intel® ICH3 .............................................................212 AC ’97 Signals .............................................................................................214 Input Slot 1 Bit Definitions............................................................................220 Output Tag Slot 0.........................................................................................222 AC-Link State during PCIRST#....................................................................225 PCI Devices and Functions..........................................................................228 Intel® ICH3 Device IDs ................................................................................229 Fixed I/O Ranges Decoded by Intel® ICH3..................................................230 Variable I/O Decode Ranges .......................................................................232 Memory Decode Ranges from Processor Perspective ................................233 PCI Configuration Map (LAN Controller—B1:D8:F0)...................................235 Configuration of Subsystem ID and Subsystem Vendor ID via EEPROM ...240 Data Register Structure ...............................................................................244 Intel® ICH3 Integrated LAN Controller CSR Space .....................................245 Self-Test Results Format .............................................................................250 Statistical Counters ......................................................................................255 PCI Configuration Map (HUB-PCI—D30:F0) ...............................................259 PCI Configuration Map (LPC I/F—D31:F0)..................................................275 DMA Registers.............................................................................................298 PIC Registers...............................................................................................308 APIC Direct Registers ..................................................................................316 APIC Indirect Registers................................................................................316 RTC I/O Registers........................................................................................322 RTC (Standard) RAM Bank .........................................................................323 PCI Configuration Map (PM—D31:F0) ........................................................330 APM Register Map.......................................................................................335 Intel® 82801CA ICH3-S Datasheet 25 9-10 9-11 9-12 9-13 10-1 10-2 11-1 11-2 11-3 12-1 12-2 13-1 13-2 13-3 14-1 14-2 14-3 15-1 16-1 16-2 16-3 16-4 16-5 16-6 16-7 16-8 16-9 16-10 16-11 16-12 16-13 16-14 16-15 16-16 16-17 16-18 16-19 18-1 18-2 18-3 18-4 18-5 18-6 18-7 A-1 A-2 A-3 ACPI and Legacy I/O Register Map............................................................. 336 TCO I/O Register Map ................................................................................. 352 Summary of GPIO Implementation.............................................................. 358 Registers to Control GPIO ........................................................................... 360 PCI Configuration Map (IDE-D31:F1) .......................................................... 365 Bus Master IDE I/O Registers...................................................................... 377 PCI Configuration Map (USB—D29:F0/F1/F2) ............................................ 381 USB I/O Registers ....................................................................................... 389 Run/Stop, Debug Bit Interaction SWDBG (Bit 5), Run/Stop (Bit 0) Operation .......................................................................................... 391 PCI Configuration Registers (SMBUS—D31:F3)......................................... 399 SMB I/O Registers ....................................................................................... 404 PCI Configuration Map (Audio—D31:F5) .................................................... 413 Intel® ICH3 Audio Mixer Register Configuration .......................................... 420 Native Audio Bus Master Control Registers ................................................ 422 PCI Configuration Map (Modem—D31:F6).................................................. 431 Intel® ICH3 Modem Mixer Register Configuration ....................................... 437 Modem Registers......................................................................................... 438 Intel® ICH3-S Ball List by Signal Name ....................................................... 450 Intel® ICH3-S Power Consumption Estimates ............................................. 458 DC Characteristics Input Signal Association ............................................... 459 DC Input Characteristics.............................................................................. 460 DC Characteristic Output Signal Association .............................................. 461 DC Output Characteristics ........................................................................... 462 Other DC Characteristics ............................................................................. 463 Clock Timings .............................................................................................. 464 PCI Interface Timing .................................................................................... 465 IDE PIO and Multiword DMA ModeTiming .................................................. 466 Ultra ATA Timing (Mode 0, Mode 1, Mode 2) .............................................. 467 Ultra ATA Timing (Mode 3, Mode 4, Mode 5) .............................................. 469 Universal Serial Bus Timing......................................................................... 471 IOAPIC Bus Timing...................................................................................... 472 SMBus Timing ............................................................................................. 472 AC ’97 Timing .............................................................................................. 472 LPC Timing .................................................................................................. 472 Miscellaneous Timings ................................................................................ 473 Power Sequencing and Reset Signal Timings............................................. 473 Power Management Timings ....................................................................... 474 Test Mode Selection .................................................................................... 487 XOR Test Pattern Example ......................................................................... 488 XOR Chain #1 (RTCRST# Asserted for 4 PCI Clocks While PWROK Active) ........................................................................................... 489 XOR Chain #2 (RTCRST# Asserted for 5 PCI Clocks While PWROK Active) ........................................................................................... 490 XOR Chain #3 (RTCRST# asserted for 6 PCI Clocks While PWROK Active) ........................................................................................... 491 XOR Chain #4 (RTCRST# Asserted for 7 PCI Clocks While PWROK Active) ........................................................................................... 492 Signals Not in XOR Chain ........................................................................... 493 Intel® ICH3 PCI Configuration Registers ..................................................... 495 Intel® ICH3 Fixed I/O Registers ................................................................... 503 Intel® ICH3 Variable I/O Registers............................................................... 508 26 Intel® 82801CA ICH3-S Datasheet Revision History Revision -001 -002 Initial Release. Added Appendix B, Register Bit Index Change Descriptions Date February 2002 March 2002 Intel® 82801CA ICH3-S Datasheet 27 This page is intentionally left blank 28 Intel® 82801CA ICH3-S Datasheet Introduction Introduction 1.1 About This Datasheet 1 This datasheet is intended for Original Equipment Manufacturers and BIOS vendors that create ICH3-Server based products. Throughout this datasheet, all references to ICH3 refer to the Intel® 82801CA ICH3-S part. This datasheet assumes a working knowledge of the vocabulary and principles of USB, IDE, AC ’97, SMBus, PCI, ACPI, and LPC. Although some details of these features are described within this datasheet, refer to the individual industry specifications listed in Table 1-1 for the complete details. Table 1-1. Industry Specifications Specification LPC AC ’97 WfM SMBus PCI USB ACPI Location http://developer.intel.com/design/chipsets/industry/lpc.htm http://developer.intel.com/ial/scalableplatforms/audio/index.htm#97spec http://developer.intel.com/ial/WfM/usesite.htm http://www.smbus.org/specs/ http://www.pcisig.com/ http://www.usb.org http://www.teleport.com/~acpi/ Chapter 1. Introduction Chapter 1 introduces the ICH3 and provides information on datasheet organization. Chapter 2. Signal Description Chapter 2 provides a detailed description of each ICH3 signal. Signals are arranged according to interface and details are provided as to the drive characteristics (Input/Output, Open Drain, etc.) of all signals. Chapter 3. ICH3 Power Planes and Pin States Chapter 3 provides a complete list of signals, their associated power well, their logic level in each suspend state, and their logic level before and after reset. Chapter 4. ICH3 and System Clock Domains Chapter 4 provides a list of each clock domain associated with the ICH3 in an ICH3 based system. Chapter 5. Functional Description Chapter 5 provides a detailed description of the functions in the ICH3. All PCI buses, devices and functions in this datasheet are abbreviated using the following nomenclature; Bus:Device:Function. This datasheet abbreviates buses as B0 and B1, devices as D8, D29, D30 and D31 and functions as F0, F1, F2, F3, F4, F5, and F6. For example, Device 31 Function 5 is abbreviated as D31:F5, Bus 1 Device 8 Function 0 is abbreviated as B1:D8:F0. Generally, the bus number will not be used, and can be considered to be Bus 0. Note that the ICH3’s external PCI bus is typically Bus 1, but may be assigned a different number depending upon system configuration. Chapter 6. Register, Memory and I/O Address Maps Chapter 7 provides an overview of the registers, fixed I/O ranges, variable I/O ranges and memory ranges decoded by the ICH3. Intel® 82801CA ICH3-S Datasheet 29 Introduction Chapter 7. LAN Controller Registers Chapter 7 provides a detailed description of all registers that reside in the ICH3’s integrated LAN Controller. The integrated LAN Controller resides on the ICH3’s external PCI bus (typically Bus 1) at Device 8, Function 0 (B1:D8:F0). Chapter 8. Hub Interface to PCI Bridge Registers Chapter 8 provides a detailed description of all registers that reside in the Hub Interface to PCI bridge. This bridge resides at Device 30, Function 0 (D30:F0). Chapter 9. LPC Bridge Registers Chapter 9 provides a detailed description of all registers that reside in the LPC bridge. This bridge resides at Device 31, Function 0 (D31:F0). This function contains registers for many different units within the ICH3 including DMA, Timers, Interrupts, CPU Interface, GPIO, Power Management, System Management and RTC. Chapter 10. IDE Controller Registers Chapter 10 provides a detailed description of all registers that reside in the IDE controller. This controller resides at Device 31, Function 1 (D31:F1). Chapter 11. USB 1.1 Controller Registers Chapter 11 provides a detailed description of all registers that reside in the three UHCI host controllers. These controllers reside at Device 29, Functions 0, 1 and 2 (D29:F0/F1/F2). Chapter 12. SMBus Controller Registers Chapter 12 provides a detailed description of all registers that reside in the SMBus controller. This controller resides at Device 31, Function 3 (D31:F3). Chapter 13. AC ’97 Audio Controller Registers Chapter 13 provides a detailed description of all registers that reside in the audio controller. This controller resides at Device 31, Function 5 (D31:F5). Note that this section of the datasheet does not include the native audio mixer registers. Accesses to the mixer registers are forwarded over the AC-link to the codec where the registers reside. Chapter 14. AC ’97 Modem Controller Registers Chapter 14 provides a detailed description of all registers that reside in the modem controller. This controller resides at Device 31, Function 6 (D31:F6). Note that this section of the datasheet does not include the modem mixer registers. Accesses to the mixer registers are forwarded over the AClink to the codec where the registers reside. Chapter 15. Pinout Definition Chapter 15 provides a table of each signal and its ball assignment in the 421 BGA package. Chapter 16. Electrical Characteristics Chapter 16 provides all AC and DC characteristics including detailed timing diagrams. Chapter 17. Package Information Chapter 17 provides drawings of the physical dimensions and characteristics of the 421 BGA package. Chapter 18. Testability Chapter 18 provides details about the implementation of test modes provided in the ICH3. Index This datasheet ends with indexes of registers and register bits. 30 Intel® 82801CA ICH3-S Datasheet Introduction 1.2 Overview The ICH3 provides extensive I/O support. Functions and capabilities include: • • • • • • • • PCI Local Bus Specification, Revision 2.2-compliant with support for 33 MHz PCI operations. PCI slots ( supports up to 6 Req/Gnt pairs) ACPI Power Management Logic Support Enhanced DMA Controller, Interrupt Controller, and Timer Functions Integrated IDE controller supports Ultra ATA100/66/33 USB host interface with support for 6 USB ports; 3 UHCI host controllers Integrated LAN Controller System Management Bus (SMBus) Specification, Version 2.0 with additional support for I2C devices Rev. 2.2) Compliant Link for Audio and Telephony codecs (up to 6 channels) • Audio Codec ’97, Revision 2.2 specification (a.k.a., AC ’97 Component Specification, • Low Pin Count (LPC) interface • Firmware Hub (FWH) interface support • Alert On LAN* (AOL) and Alert On LAN 2* (AOL2) The ICH3 incorporates a variety of PCI functions that are divided into three logical devices (29, 30, and 31) on PCI Bus 0 and one device on Bus 1. Device 30 is the Hub Interface-To-PCI bridge. Device 31 contains all the other PCI functions, except the USB Controllers and the LAN Controller, as shown in Table 1-2. The LAN controller is located on Bus 1. Table 1-2. PCI Devices and Functions Bus:Device:Function Bus 0:Device 30:Function 0 Bus 0:Device 31:Function 0 Bus 0:Device 31:Function 1 Bus 0:Device 31:Function 3 Bus 0:Device 31:Function 5 Bus 0:Device 31:Function 6 Bus 0:Device 29:Function 0 Bus 0:Device 29:Function 1 Bus 0:Device 29:Function 2 Bus n:Device 8:Function 0 Function Description Hub Interface to PCI Bridge PCI to LPC Bridge IDE Controller SMBus Controller AC ’97 Audio Controller AC ’97 Modem Controller USB UHCI Controller #1 USB UHCI Controller #2 New: USB UHCI Controller #3 LAN Controller Intel® 82801CA ICH3-S Datasheet 31 Introduction The following sub-sections provide an overview of the ICH3-S capabilities. Hub Architecture As I/O speeds increase, the demand placed on the PCI bus by the I/O bridge has become significant. With the addition of AC ’97 and Ultra ATA/100, coupled with the existing USB, I/O requirements could impact PCI bus performance. The chipset’s hub interface architecture ensures that the I/O subsystem; both PCI and the integrated I/O features (IDE, AC ‘97, USB, etc.), receive adequate bandwidth. By placing the I/O bridge on the hub interface (instead of PCI), the hub architecture ensures that both the I/O functions integrated into the ICH3 and the PCI peripherals obtain the bandwidth necessary for peak performance. PCI Interface The ICH3 PCI interface provides a 33 MHz, Rev. 2.2 compliant implementation. All PCI signals are 5 V tolerant, except PME#. The ICH3 integrates a PCI arbiter that supports up to six external PCI bus masters in addition to the internal ICH3 requests. IDE Interface (Bus Master Capability and Synchronous DMA Mode) The fast IDE interface supports up to four IDE devices providing an interface for IDE hard disks and CD ROMs. Each IDE device can have independent timings. The IDE interface supports PIO IDE transfers up to 16 Mbytes/sec and Bus Master IDE transfers up 100 Mbytes/sec. It does not consume any ISA DMA resources. The IDE interface integrates 16x32-bit buffers for optimal transfers. The ICH3’s IDE system contains two independent IDE signal channels. They can be electrically isolated independently. They can be configured to the standard primary and secondary channels (four devices). There are integrated series resistors on the data and control lines (see Section 5.15, “IDE Controller (D31:F1)” on page 5-161 for details). Low Pin Count (LPC) Interface The ICH3 implements an LPC Interface as described in the LPC 1.0 specification. The Low Pin Count (LPC) Bridge function of the ICH3 resides in PCI Device 31:Function 0. In addition to the LPC bridge interface function, D31:F0 contains other functional units including DMA, Interrupt Controllers, Timers, Power Management, System Management, GPIO, and RTC. Note that in the current chipset platform, the Super I/O (SIO) component has migrated to the Low Pin Count (LPC) interface. Migration to the LPC interface allows for lower cost Super I/O designs. 32 Intel® 82801CA ICH3-S Datasheet Introduction Compatibility Modules (DMA Controller, Timer/Counters, Interrupt Controller) The DMA controller incorporates the logic of two 82C37 DMA controllers, with seven independently programmable channels. Channels 0–3 are hardwired to 8-bit, count-by-byte transfers, and channels 5–7 are hardwired to 16-bit, count-by-word transfers. Any two of the seven DMA channels can be programmed to support fast Type-F transfers. The ICH3 supports two types of DMA (LPC and PC/PCI). DMA via LPC is similar to ISA DMA. LPC DMA and PC/PCI DMA use the ICH3’s DMA controller. The PC/PCI protocol allows PCI-based peripherals to initiate DMA cycles by encoding requests and grants via two PC/PCI REQ#/GNT# pairs. LPC DMA is handled through the use of the LDRQ# lines from peripherals and special encodings on LAD[3:0] from the host. Single, Demand, Verify, and Increment modes are supported on the LPC interface. Channels 0–3 are 8 bit channels. Channels 5–7 are 16 bit channels. Channel 4 is reserved as a generic bus master request. The timer/counter block contains three counters that are equivalent in function to those found in one 82C54 programmable interval timer. These three counters are combined to provide the system timer function, and speaker tone. The 14.31818 MHz oscillator input provides the clock source for these three counters. The ICH3 provides an ISA-Compatible Programmable Interrupt Controller (PIC) that incorporates the functionality of two 82C59 interrupt controllers. The two interrupt controllers are cascaded so that 14 external and two internal interrupts are possible. In addition, the ICH3 supports a serial interrupt scheme. All of the registers in these modules can be read and restored. This is required to save and restore system state after power has been removed and restored to the platform. Advanced Programmable Interrupt Controller (APIC) In addition to the standard ISA compatible Programmable Interrupt Controller (PIC) described in the previous section, the ICH3 incorporates the Advanced Programmable Interrupt Controller (APIC). Universal Serial Bus (USB) Controller The USB controller provides support for the Universal Host Controller Interface (UHCI). This includes support that allows legacy software to use a USB-based keyboard and mouse. The ICH3 is USB Revision 1.1 compliant. The ICH3 contains three UHCI USB Host Controllers. Each Host Controller includes a root hub with two separate USB ports each, for a total of six USB ports. See Section 5.16, “USB 1.1 Controllers (D29:F0, F1 and F2)” on page 5-172 for details. Intel® 82801CA ICH3-S Datasheet 33 Introduction LAN Controller The ICH3’s integrated LAN Controller includes a 32-bit PCI controller that provides enhanced scatter-gather bus mastering capabilities and enables the LAN Controller to perform high speed data transfers over the PCI bus. Its bus master capabilities enable the component to process highlevel commands and perform multiple operations; this lowers processor utilization by off-loading communication tasks from the processor. Two large transmit and receive FIFOs of 3 KB each help prevent data underruns and overruns while waiting for bus accesses. This enables the integrated LAN Controller to transmit data with minimum interframe spacing (IFS). The LAN Controller can operate in either full duplex or half duplex mode. In full duplex mode the LAN Controller adheres with the IEEE 802.3x Flow Control specification. Half duplex performance is enhanced by a proprietary collision reduction mechanism. See Section 5.2, “LAN Controller (B1:D8:F0)” on page 5-71 for details. RTC The ICH3 contains a Motorola* MC146818A-compatible real-time clock with 256 bytes of battery-backed RAM. The real-time clock performs two key functions: keeping track of the time of day and storing system data, even when the system is powered down. The RTC operates on a 32.768 KHz crystal and a separate 3 V lithium battery that provides up to seven years of protection. The RTC also supports two lockable memory ranges. By setting bits in the configuration space, two 8-byte ranges can be locked to read and write accesses. This prevents unauthorized reading of passwords or other system security information. The RTC also supports a date alarm that allows for scheduling a wake up event up to 30 days in advance, rather than just 24 hours in advance. GPIO Various general purpose inputs and outputs are provided for custom system design. The number of inputs and outputs varies depending on ICH3 configuration. Enhanced Power Management The ICH3’s power management functions include enhanced clock control, local and global monitoring support for 14 individual devices, and various low-power (suspend) states (e.g., Suspend-to-DRAM and Suspend-to-Disk). A hardware-based thermal management circuit permits software-independent entrance to low-power states. The ICH3 contains full support for the Advanced Configuration and Power Interface (ACPI) Specification. System Management Bus (SMBus 2.0) The ICH3 contains an SMBus Host interface that allows the processor to communicate with SMBus slaves. This interface is compatible with most I2C devices. Special I2C commands are implemented. The ICH3’s SMBus host controller provides a mechanism for the processor to initiate communications with SMBus peripherals (slaves). Also, the ICH3 supports slave functionality, including the Host Notify protocol. Hence, the host controller supports 8 command protocols of the SMBus interface (see System Management Bus (SMBus) Specification, Version 2.0): Quick Command, Send Byte, Receive Byte, Write Byte/Word, Read Byte/Word, Process Call, Block Read/Write, and Host Notify. 34 Intel® 82801CA ICH3-S Datasheet Introduction Manageability The ICH3 integrates several functions designed to manage the system and lower the total cost of ownership (TC0) of the system. These system management functions are designed to report errors, diagnose the system, and recover from system lockups without the aid of an external microcontroller. • TCO Timer. The ICH3’s integrated programmable TC0 Timer is used to detect system locks. The first expiration of the timer generates an SMI# that the system can use to recover from a software lock. The second expiration of the timer causes a system reset to recover from a hardware lock. • Processor Present Indicator. The ICH3 looks for the processor to fetch the first instruction after reset. If the processor does not fetch the first instruction, the ICH3 will reboot the system at the safe-mode frequency multiplier. • ECC Error Reporting. When detecting an ECC error, the host controller has the ability to send one of several messages to the ICH3. The host controller can instruct the ICH3 to generate either an SMI#, NMI, SERR#, or TCO interrupt. • Function Disable. The ICH3 provides the ability to disable the following functions: AC ’97 Modem, AC ’97 Audio, IDE, LAN USB, or SMBus. Once disabled, these functions no longer decode I/O, memory, or PCI configuration space. Also, no interrupts or power management events are generated from the disable functions. • Intruder Detect. The ICH3 provides an input signal (INTRUDER#) that can be attached to a switch that is activated by the system case being opened. The ICH3 can be programmed to generate an SMI# or TCO interrupt due to an active INTRUDER# signal. • SMBus 2.0. The ICH3 integrates an SMBus controller that provides an interface to manage peripherals (e.g., serial presence detection (SPD) and thermal sensors) with host notify capabilities. • Alert On LAN*. The ICH3 supports Alert On LAN* and Alert On LAN* 2. In response to a TCO event (intruder detect, thermal event, processor not booting) the ICH3 sends a message over the SMBus. A LAN controller can decode this SMBus message and send a message over the network to alert the network manager. Intel® 82801CA ICH3-S Datasheet 35 Introduction AC ’97 2.2 Controller The Audio Codec ’97, Revision 2.2 specification defines a digital interface that can be used to attach an audio codec (AC), a modem codec (MC), an audio/modem codec (AMC) or both an AC and an MC. The AC ’97 specification defines the interface between the system logic and the audio or modem codec, known as the AC ’97 Digital Link. The ICH3’s AC ’97 (with the appropriate codecs) not only replaces ISA audio and modem functionality, but also improves overall platform integration by incorporating the AC ’97 digital link. The use of the ICH3-integrated AC ’97 digital link reduces cost and eases migration from ISA. By using an audio codec, the AC ’97 digital link allows for cost-effective, high-quality, integrated audio on Intel’s chipset-based platform. In addition, an AC ’97 soft modem can be implemented with the use of a modem codec. Several system options exist when implementing AC ’97. The ICH3-integrated digital link allows several external codecs to be connected to the ICH3. The system designer can provide audio with an audio codec, a modem with a modem codec, or an integrated audio/modem codec. The digital link is expanded to support two audio codecs or a combination of an audio and modem codec. The modem implementations for different countries must be taken into consideration, because telephone systems may vary. By using a split design, the audio codec can be on-board and the modem codec can be placed on a riser. The digital link in the ICH3 is compliant with the Audio Codec ’97, Revision 2.2 specification, so it supports two codecs with independent PCI functions for audio and modem. Microphone input and left and right audio channels are supported for a high quality, two-speaker audio solution. Wake on Ring from Suspend also is supported with the appropriate modem codec. The ICH3 expands the audio capability with support for up to six channels of PCM audio output (full AC3 decode). Six-channel audio consists of Front Left, Front Right, Back Left, Back Right, Center, and Subwoofer, for a complete surround-sound effect. ICH3 has expanded support for two audio codecs on the AC ’97 digital link. 36 Intel® 82801CA ICH3-S Datasheet Signal Description Signal Description 2 This section provides a detailed description of each signal. The signals are arranged in functional groups according to their associated interface (see Figure 2-1). The “#” symbol at the end of the signal name indicates that the active, or asserted state occurs when the signal is at a low voltage level. When “#” is not present, the signal is asserted when at the high voltage level. The following notations are used to describe the signal type: I O OD I/O Input Pin Output Pin Open Drain Output Pin. Bi-directional Input / Output Pin. Intel® 82801CA ICH3-S Datasheet 37 Signal Description Figure 2-1. Intel® 82801CA ICH3-S Simplified Block Diagram AD[31:0] C/BE[3:0]# DEVSEL# FRAME# IRDY# TRDY# STOP# PAR PERR# REQ[4:0]# REQ5# / REQB# / GPIO1 REQA# / GPIO0 GNT[4:0]# GNT5# / GNTB# / GPIO17 GNTA# / GPIO[16] PCICLK PCIRST# PLOCK# SERR# PME# A20M# CPUSLP# FERR# IGNNE# INIT# INTR NMI SMI# STPCLK# RCIN# A20GATE CPUPWRGD SERIRQ PIRQ[D:A]# PIRQ[H:E] / GPIO[5:3] IRQ[15:14] APICCLK APICD[1:0] USBP0P–USB5P USBP0N–USB5N OC[5:0]# USBRBIAS RTCX1 RTCX2 CLK14 CLK48 CLK66 SPKR RTCRST# TP[0] PDCS1# SDCS1# PDCS3# SDCS3# PDA[2:0] SDA[2:0] PDD[15:0] SDD[15:0] PDDREQ SDDREQ PDDACK# SDDACK# PDIOR# (PDWSTB / PRDMARDY#) SDIOR# (SDWSTB / SRDMARDY#) PDIOW# (PDSTOP) SDIOW# (SDSTOP) PIORDY (PDRSTB / PWDMARDY#) SIORDY (SDRSTB / SWDMARDY#) THRM# SLP_S3 SLP_S5# PWROK PWRBTN# RI# RSMRST# SUS_STAT# / LPCPD# SUSCLK LAN_RST# VRMPWRGD AC_RST# AC_SYNC AC_BIT_CLK AC_SDOUT AC_SDIN0 AC_SDIN1 HI11:0] HI_STBS HI_STBF HICOMP HITERM FWH[3:0] / LAD[3:0] FWH[4] / LFRAME# LAD[3:0] / FWH[3:0] LFRAME# / FWH[4] LDRQ[0:1]# SMBDATA SMBCLK SMBALERT# / GPIO[11] INTRUDER# SMLINK[1:0] LAN_CLK LAN_RXD[2:0] LAN_TXD[2:0] LAN_RSTSYNC IDE Interface PCI Interface Power Mgnt. Processor Interface AC'97 Link Interrupt Interface Hub Interface USB Firmware Hub RTC LPC Interface Clocks SMBus Interface Misc. Signals System Mgnt. GPIO[43:32, 28:27, 25:16] GPIO[13:11, 8:0] EE_SHCLK EE_DIN EE_DOUT EE_CS General Purpose I/O EEPROM Interface LAN Link 38 Intel® 82801CA ICH3-S Datasheet Signal Description 2.1 Hub Interface to Host Controller Table 2-1. Hub Interface Signals Name HI[11:0] HI_STBF HI_STBS HICOMP Type I/O I/O I/O I/O Hub Interface Signals Hub Interface Strobe Complement: First strobe signal used to transmit and receive data through the hub interface. Hub Interface Strobe: Second strobe signal used to transmit and receive data through the hub interface. Hub Interface Compensation: Used for hub interface buffer compensation. Hub Interface Termination: Analog input used to control the voltage swing and impedance strength of hub interface pins. The expected voltage is 700 mv. NOTE: Refer to the platform design guide for resistor values and routing guidelines. Description HITERM I 2.2 Link to LAN Connect Table 2-2. LAN Connect Interface Signals Name LAN_CLK Type I Description LAN I/F Clock: Driven by the LAN Connect component. Frequency range is 5 to 50 MHz. Received Data: The LAN Connect component uses these signals to transfer data and control information to the integrated LAN Controller. These signals have integrated weak pull-up resistors. Transmit Data: The integrated LAN Controller uses these signals to transfer data and control information to the LAN Connect component. LAN Reset/Sync: The LAN Connect component’s Reset and Sync signals are multiplexed onto this pin. LAN_RXD[2:0] I LAN_TXD[2:0] LAN_RSTSYNC O O 2.3 EEPROM Interface Table 2-3. EEPROM Interface Signals Name EE_SHCLK EE_DIN EE_DOUT EE_CS Type O I O O Description EEPROM Shift Clock: Serial shift clock output to the EEPROM. EEPROM Data In: Transfers data from the EEPROM to the ICH3. This signal has an integrated pull-up resistor. EEPROM Data Out: Transfers data from the ICH3 to the EEPROM. EEPROM Chip Select: Chip select signal to the EEPROM. Intel® 82801CA ICH3-S Datasheet 39 Signal Description 2.4 Firmware Hub Interface Table 2-4. Firmware Hub Interface Signals Name FWH[3:0] / LAD[3:0] FWH[4] / LFRAME# Type I/O I/O Description Firmware Hub Signals. Muxed with LPC address signals. Firmware Hub Signals. Muxed with LPC LFRAME# signal. 2.5 PCI Interface Table 2-5. PCI Interface Signals Name Type Description PCI Address/Data: AD[31:0] is a multiplexed address and data bus. During the first clock of a transaction, AD[31:0] contain a physical address (32 bits). During subsequent clocks, AD[31:0] contain data. The ICH3 will drive all 0s on AD[31:0] during the address phase of all PCI Special Cycles. Bus Command and Byte Enables: The command and byte enable signals are multiplexed on the same PCI pins. During the address phase of a transaction, C/BE[3:0]# define the bus command. During the data phase C/BE[3:0]# define the Byte Enables. C/BE[3:0]# 0000 0001 0010 0011 C/BE[3:0]# I/O 0110 0111 1010 1011 1100 1110 1111 Command Type Interrupt Acknowledge Special Cycle I/O Read I/O Write Memory Read Memory Write Configuration Read Configuration Write Memory Read Multiple Memory Read Line Memory Write and Invalidate AD[31:0] I/O All command encodings not shown are reserved. The ICH3 does not decode reserved values, and therefore will not respond if a PCI master generates a cycle using one of the reserved values. Device Select: The ICH3 asserts DEVSEL# to claim a PCI transaction. As an output, the ICH3 asserts DEVSEL# when a PCI master peripheral attempts an access to an internal ICH3 address or an address destined for the hub interface (main memory or AGP). As an input, DEVSEL# indicates the response to an ICH3-initiated transaction on the PCI bus. DEVSEL# is tri-stated from the leading edge of PCIRST#. DEVSEL# remains tri-stated by the ICH3 until driven by a Target device. Cycle Frame: The current Initiator drives FRAME# to indicate the beginning and duration of a PCI transaction. While the initiator asserts FRAME#, data transfers continue. When the initiator negates FRAME#, the transaction is in the final data phase. FRAME# is an input to the ICH3 when the ICH3 is the target, and FRAME# is an output from the ICH3 when the ICH3 is the Initiator. FRAME# remains tristated by the ICH3 until driven by an Initiator. DEVSEL# I/O FRAME# I/O 40 Intel® 82801CA ICH3-S Datasheet Signal Description Table 2-5. PCI Interface Signals (Continued) Name Type Description Initiator Ready: IRDY# indicates the ICH3's ability, as an Initiator, to complete the current data phase of the transaction. It is used in conjunction with TRDY#. A data phase is completed on any clock both IRDY# and TRDY# are sampled asserted. During a write, IRDY# indicates the ICH3 has valid data present on AD[31:0]. During a read, it indicates the ICH3 is prepared to latch data. IRDY# is an input to the ICH3 when the ICH3 is the Target and an output from the ICH3 when the ICH3 is an Initiator. IRDY# remains tri-stated by the ICH3 until driven by an Initiator. Target Ready: TRDY# indicates the ICH3's ability as a Target to complete the current data phase of the transaction. TRDY# is used in conjunction with IRDY#. A data phase is completed when both TRDY# and IRDY# are sampled asserted. During a read, TRDY# indicates that the ICH3, as a Target, has placed valid data on AD[31:0]. During a write, TRDY# indicates the ICH3, as a Target is prepared to latch data. TRDY# is an input to the ICH3 when the ICH3 is the Initiator and an output from the ICH3 when the ICH3 is a Target. TRDY# is tri-stated from the leading edge of PCIRST#. TRDY# remains tri-stated by the ICH3 until driven by a target. Stop: STOP# indicates that the ICH3, as a Target, is requesting the Initiator to stop the current transaction. STOP# causes the ICH3, as an Initiator, to stop the current transaction. STOP# is an output when the ICH3 is a Target and an input when the ICH3 is an Initiator. STOP# is tri-stated from the leading edge of PCIRST#. STOP# remains tri-stated until driven by the ICH3. Calculated/Checked Parity: PAR uses “even” parity calculated on 36 bits, AD[31:0] plus C/BE[3:0]#. “Even” parity means that the ICH3 counts the number of “1”s within the 36 bits plus PAR and the sum is always even. The ICH3 always calculates PAR on 36 bits regardless of the valid byte enables. The ICH3 generates PAR for address and data phases and only guarantees PAR to be valid one PCI clock after the corresponding address or data phase. The ICH3 drives and tri-states PAR identically to the AD[31:0] lines except that the ICH3 delays PAR by exactly one PCI clock. PAR is an output during the address phase (delayed one clock) for all ICH3 initiated transactions. PAR is an output during the data phase (delayed one clock) when the ICH3 is the Initiator of a PCI write transaction, and when it is the Target of a read transaction. ICH3 checks parity when it is the Target of a PCI write transaction. If a parity error is detected, the ICH3 will set the appropriate internal status bits, and has the option to generate an NMI# or SMI#. Parity Error: An external PCI device drives PERR# when it receives data that has a parity error. The ICH3 drives PERR# when it detects a parity error. The ICH3 can either generate an NMI# or SMI# upon detecting a parity error (either detected internally or reported via the PERR# signal). PCI Requests: Supports up to 6 masters on the PCI bus. REQ[5]# is muxed with PC/PCI REQ[B]# (must choose one or the other, but not both). If not used for PCI or PC/PCI, REQ[5]#/REQ[B]# can instead be used as GPIO[1]. NOTE: REQ[0]# is programmable to have improved arbitration latency for supporting PCI-based 1394 controllers. PCI Grants: Supports up to 6 masters on the PCI bus. GNT[5]# is muxed with PC/ PCI GNT[B]# (must choose one or the other, but not both). If not needed for PCI or PC/PCI, GNT[5]# can instead be used as a GPIO. Pull-up resistors are not required on these signals. If pull-ups are used, they should be tied to the Vcc3_3 power rail. GNT[B]#/GNT[5]#/GPIO[17] has an internal pull-up. PCI Clock: 33 MHz clock. PCICLK provides timing for all transactions on the PCI Bus. NOTE: PCI Reset: ICH3 asserts PCIRST# to reset devices that reside on the PCI bus. The ICH3 asserts PCIRST# during power-up and when S/W initiates a hard reset sequence through the RC (CF9h) Register. The ICH3 drives PCIRST# inactive a minimum of 1 ms after PWROK is driven active. The ICH3 drives PCIRST# active a minimum of 1 ms when initiated through the RC Register. IRDY# I/O TRDY# I/O STOP# I/O PAR I/O PERR# I/O REQ[4:0]# REQ[5]# / REQ[B]# / GPIO[1] I GNT[4:0]# GNT[5]# / GNT[B]# / GPIO[17]# O PCICLK I PCIRST# O Intel® 82801CA ICH3-S Datasheet 41 Signal Description Table 2-5. PCI Interface Signals (Continued) Name Type Description PCI Lock: Indicates an exclusive bus operation and may require multiple transactions to complete. ICH3 asserts PLOCK# when it performs non-exclusive transactions on the PCI bus. PLOCK# is ignored when PCI masters are granted the bus. System Error: SERR# can be pulsed active by any PCI device that detects a system error condition. Upon sampling SERR# active, the ICH3 has the ability to generate an NMI, SMI#, or interrupt. PCI Power Management Event: PCI peripherals drive PME# to wake the system from low-power states S1–S5. PME# assertion can also be enabled to generate an SCI from the S0 state. In some cases the ICH3 may drive PME# active due to an internal wake event. The ICH3 will not drive PME# high, but it will be pulled up to VccSus3_3 by an internal pull-up resistor. PC/PCI DMA Request [B:A]: This request serializes ISA-like DMA Requests for the purpose of running ISA-compatible DMA cycles over the PCI bus. This is used by devices such as PCI based Super I/O or audio codecs which need to perform legacy Intel® 8237 DMA but have no ISA bus. When not used for PC/PCI requests, these signals can be used as General Purpose Inputs. REQ[B]# can instead be used as the sixth PCI bus request. PC/PCI DMA Acknowledges [B: A]: This grant serializes an ISA-like DACK# for the purpose of running DMA/ISA Master cycles over the PCI bus. This is used by devices such as PCI based Super/IO or audio codecs which need to perform legacy Intel 8237 DMA but have no ISA bus. When not used for PC/PCI, these signals can be used as General Purpose Outputs. GNTB# can also be used as the sixth PCI bus master grant output. These signal have internal pull-up resistors. PLOCK# I/O SERR# I/OD PME# I/OD REQ[A]# / GPIO[0] REQ[B]# / REQ[5]# / GPIO[1] I GNT[A]# / GPIO[16] GNT[B]# / GNT[5]# / GPIO[17] O 42 Intel® 82801CA ICH3-S Datasheet Signal Description 2.6 IDE Interface Name PDCS1#, SDCS1# PDCS3#, SDCS3# PDA[2:0], SDA[2:0] PDD[15:0], SDD[15:0] Type O Description Primary and Secondary IDE Device Chip Selects for 100 Range: For ATA command register block. This output signal is connected to the corresponding signal on the primary or secondary IDE connector. Primary and Secondary IDE Device Chip Select for 300 Range: For ATA control register block. This output signal is connected to the corresponding signal on the primary or secondary IDE connector. Primary and Secondary IDE Device Address: These output signals are connected to the corresponding signals on the primary or secondary IDE connectors. They are used to indicate which byte in either the ATA command block or control block is being addressed. Primary and Secondary IDE Device Data: These signals directly drive the corresponding signals on the primary or secondary IDE connector. There is a weak internal pull-down resistor on PDD[7] and SDD[7]. Primary and Secondary IDE Device DMA Request: These input signals are directly driven from the DRQ signals on the primary or secondary IDE connector. It is asserted by the IDE device to request a data transfer, and used in conjunction with the PCI bus master IDE function and are not associated with any AT compatible DMA channel. There is a weak internal pull-down resistor on these signals. Primary and Secondary IDE Device DMA Acknowledge: These signals directly drive the DAK# signals on the primary and secondary IDE connectors. Each is asserted by the ICH3 to indicate to IDE DMA slave devices that a given data transfer cycle (assertion of DIOR# or DIOW#) is a DMA data transfer cycle. This signal is used in conjunction with the PCI bus master IDE function and are not associated with any AT-compatible DMA channel. Primary and Secondary Disk I/O Read (PIO and Non-Ultra DMA): This is the command to the IDE device that it may drive data onto the PDD or SDD lines. Data is latched by the ICH3 on the deassertion edge of PDIOR# or SDIOR#. The IDE device is selected either by the ATA register file chip selects (PDCS1# or SDCS1#, PDCS3# or SDCS3#) and the PDA or SDA lines, or the IDE DMA acknowledge (PDDAK# or SDDAK#). O SDIOR# / (SDWSTB / SRDMARDY#) Primary and Secondary Disk Write Strobe (Ultra DMA Writes to Disk): This is the data write strobe for writes to disk. When writing to disk, ICH3 drives valid data on rising and falling edges of PDWSTB or SDWSTB. Primary and Secondary Disk DMA Ready (Ultra DMA Reads from Disk): This is the DMA ready for reads from disk. When reading from disk, ICH3 deasserts PRDMARDY# or SRDMARDY# to pause burst data transfers. Primary and Secondary Disk I/O Write (PIO and Non-Ultra DMA): This is the command to the IDE device that it may latch data from the PDD or SDD lines. Data is latched by the IDE device on the deassertion edge of PDIOW# or SDIOW#. The IDE device is selected either by the ATA register file chip selects (PDCS1# or SDCS1#, PDCS3# or SDCS3#) and the PDA or SDA lines, or the IDE DMA acknowledge (PDDAK# or SDDAK#). Primary and Secondary Disk Stop (Ultra DMA): ICH3 asserts this signal to terminate a burst. PIORDY / (PDRSTB / PWDMARDY#) I SIORDY / (SDRSTB / SWDMARDY#) Primary and Secondary I/O Channel Ready (PIO): This signal will keep the strobe active (PDIOR# or SDIOR# on reads, PDIOW# or SDIOW# on writes) longer than the minimum width. It adds wait states to PIO transfers. Primary and Secondary Disk Read Strobe (Ultra DMA Reads from Disk): When reading from disk, ICH3 latches data on rising and falling edges of this signal from the disk. Primary and Secondary Disk DMA Ready (Ultra DMA Writes to Disk): When writing to disk, this is de-asserted by the disk to pause burst data transfers. Table 2-6. IDE Interface Signals O O I/O PDDREQ, SDDREQ I PDDACK#, SDDACK# O PDIOR# / (PDWSTB / PRDMARDY#) PDIOW# / (PDSTOP) SDIOW# / (SDSTOP) O Intel® 82801CA ICH3-S Datasheet 43 Signal Description 2.7 LPC Interface Table 2-7. LPC Interface Signals Name LAD[3:0] / FWH[3:0] LFRAME# / FWH[4] LDRQ[1:0]# Type I/O O Description LPC Multiplexed Command, Address, Data: Internal pull-ups are provided. LPC Frame: Indicates the start of an LPC cycle, or an abort. LPC Serial DMA/Master Request Inputs: Used to request DMA or bus master access. Typically connected to external Super I/O device. An internal pull-up resistor is provided on these signals. I 2.8 Interrupt Interface Table 2-8. Interrupt Signals Name SERIRQ Type I/O Description Serial Interrupt Request: This pin implements the serial interrupt protocol. PCI Interrupt Requests: In Non-APIC Mode the PIRQx# signals can be routed to interrupts 3, 4, 5, 6, 7, 9, 10, 11, 12, 14 or 15 as described in the Interrupt Steering section. Each PIRQx# line has a separate Route Control Register. In APIC mode, these signals are connected to the internal I/O APIC in the following fashion: PIRQ[A]# is connected to IRQ16, PIRQ[B]# to IRQ17, PIRQ[C]# to IRQ18, and PIRQ[D]# to IRQ19. This frees the legacy interrupts. PCI Interrupt Requests: In Non-APIC Mode the PIRQx# signals can be routed to interrupts 3, 4, 5, 6, 7, 9, 10, 11, 12, 14 or 15 as described in the Interrupt Steering section. Each PIRQx# line has a separate Route Control Register. I/OD In APIC mode, these signals are connected to the internal I/O APIC in the following fashion: PIRQ[E]# is connected to IRQ20, PIRQ[F]# to IRQ21, PIRQ[G]# to IRQ22, and PIRQ[H]# to IRQ23. This frees the legacy interrupts. If not needed for interrupts, these signals can be used as GPIO. Interrupt Request 15–14: These interrupt inputs are connected to the IDE drives. IRQ14 is used by the drives connected to the Primary controller and IRQ15 is used by the drives connected to the Secondary controller. APIC Clock: This clock operates up to 33.33 MHz. APIC Data: These bi-directional open drain signals are used to send and receive data over the APIC bus. As inputs the data is valid on the rising edge of APICCLK. As outputs, new data is driven from the rising edge of the APICCLK. PIRQ[D:A]# I/OD PIRQ[H:E]# / GPIO[5:2] IRQ[15:14] APICCLK APICD[1:0] I I I/OD 44 Intel® 82801CA ICH3-S Datasheet Signal Description 2.9 USB Interface Table 2-9. USB Interface Signals Name Type Description Universal Serial Bus Port 1:0 Differential: These differential pairs are used to transmit Data/Address/Command signals for ports 0 and 1. These ports are routed to USB 1.1 Controller #1. NOTE: No external resistors are required on these signals. The ICH3 integrates 15 kΩ pull-downs and provides an effective output driver impedance of 45 Ω which requires no external series resistor. Universal Serial Bus Port 3:2 Differential: These differential pairs are used to transmit Data/Address/Command signals for ports 2 and 3. These ports are routed to USB 1.1 Controller #2. NOTE: No external resistors are required on these signals. The ICH3 integrates 15 kΩ pull-downs and provides an effective output driver impedance of 45 Ω which requires no external series resistor. Universal Serial Bus Port 5:4 Differential: These differential pairs are used to transmit Data/Address/Command signals for ports 4 and 5. These ports are routed to USB 1.1 Controller #3. NOTE: No external resistors are required on these signals. The ICH3 integrates 15 kΩ pull-downs and provides an effective output driver impedance of 45 Ω that requires no external series resistor. Overcurrent Indicators: These signals set corresponding bits in the USB controllers to indicate that an overcurrent condition has occurred. USB Resistor Bias: Analog connection for an external 18.2 Ω resistor (± 1%) to ground, used to set transmit current and internal load resistors. USBP0P, USBP0N, USBP1P, USBP1N I/O USBP2P, USBP2N, USBP3P, USBP3N I/O USBP4P, USBP4N, USBP5P, USBP5N I/O OC[5:0]# USBRBIAS I I 2.10 Power Management Interface Table 2-10. Power Management Interface Signals Name THRM# Type I Description Thermal Alarm: Active low signal generated by external hardware to start the Hardware clock throttling mode. Can also generate an SMI# or an SCI. S3 Sleep Control: Power plane control. Shuts off power to all non-critical systems when transistioning to S3 (Suspend To RAM), S4 (Suspend to Disk) or S5 (Soft Off) states. S5 Sleep Control: Power plane control. The signal is used to shut power off to all non-critical systems when in the S4 (Suspend To Disk) or S5 (Soft Off) states. Power OK: When asserted, PWROK is an indication to the ICH3 that core power and PCICLK have been stable for at least 1 ms. PWROK can be driven asynchronously. When PWROK is negated, the ICH3 asserts PCIRST#. NOTE: PWROK must deassert for a minimum of 3 RTC clock periods in order for the ICH3 to fully reset the power and properly generate the PCIRST# output Power Button: The Power Button will cause SMI# or SCI to indicate a system request to go to a sleep state. If the system is already in a sleep state, this signal will cause a wake event. If PWRBTN# is pressed for more than 4 seconds, this will cause an unconditional transition (power button override) to the S5 state with only the PWRBTN# available as a wake event. Override will occur even if the system is in the S1–S4 states. This signal has an internal pull-up resistor. SLP_S3# O SLP_S5# O PWROK I PWRBTN# I Intel® 82801CA ICH3-S Datasheet 45 Signal Description Table 2-10. Power Management Interface Signals (Continued) Name RI# RSMRST# LAN_RST# Type I I I Description Ring Indicate: From the modem interface. Can be enabled as a wake event, and this is preserved across power failures. Resume Well Reset: Used for resetting the resume power plane logic. LAN Reset: This signal must be asserted at least 10 ms after the resume well power (VccSus3_3 and VccSus1_8 ) is valid. When deasserted, this signal is an indication that the resume well power is stable. Suspend Status: This signal is asserted by the ICH3 to indicate that the system will be entering a low power state soon. This can be monitored by devices with memory that need to switch from normal refresh to suspend refresh mode. It can also be used by other peripherals as an indication that they should isolate their outputs that may be going to powered-off planes. Suspend Clock: Output of the RTC generator circuit to use by other chips for refresh clock. VRM Power Good: This should be connected to be the processor’s VRM Power Good. SUS_STAT# O SUSCLK VRMPWRGD O I 2.11 Processor Interface Table 2-11. Processor Interface Signals Name Type Description Mask A20: A20M# will go active based on either setting the appropriate bit in the Port 92h register, or based on the A20GATE input being active. Speed Strap: During the reset sequence, ICH3 drives A20M# high if the corresponding bit is set in the FREQ_STRP Register. CPU Sleep: This signal puts the processor into a state that saves substantial power compared to Stop-Grant state. However, during that time, no snoops occur. The ICH3 can optionally assert the CPUSLP# signal when going to the S1 state. Numeric Coprocessor Error: This signal is tied to the coprocessor error signal on the processor. FERR# is only used if the ICH3 coprocessor error reporting function is enabled in the General Control Register (Device 31:Function 0, Offset D0, bit 13). If FERR# is asserted, the ICH3 generates an internal IRQ13 to its interrupt controller unit. It is also used to gate the IGNNE# signal to ensure that IGNNE# is not asserted to the processor unless FERR# is active. FERR# requires an external weak pull-up to ensure a high level when the coprocessor error function is disabled. NOTE: FERR# can be used in some states for notification by the processor of pending interrupt events (this functionality is independent of the General Control Register bit setting). Ignore Numeric Error: This signal is connected to the ignore error pin on the processor. IGNNE# is only used if the ICH3 coprocessor error reporting function is enabled in the General Control Register (Device 31:Function 0, Offset D0, bit 13). If FERR# is active, indicating a coprocessor error, a write to the Coprocessor Error Register (F0h) causes the IGNNE# to be asserted. IGNNE# remains asserted until FERR# is negated. If FERR# is not asserted when the Coprocessor Error Register is written, the IGNNE# signal is not asserted. Speed Strap: During the reset sequence, ICH3 drives IGNNE# high if the corresponding bit is set in the FREQ_STRP Register. A20M# O CPUSLP# O FERR# I IGNNE# O 46 Intel® 82801CA ICH3-S Datasheet Signal Description Table 2-11. Processor Interface Signals (Continued) Name INIT# Type O Description Initialization: INIT# is asserted by the ICH3 for 16 PCI clocks to reset the processor. ICH3 can be configured to support CPU BIST. In that case, INIT# will be active when PCIRST# is active. Processor Interrupt: INTR is asserted by the ICH3 to signal the processor that an interrupt request is pending and needs to be serviced. It is an asynchronous output and normally driven low. Speed Strap: During the reset sequence, ICH3 drives INTR high if the corresponding bit is set in the FREQ_STRP Register. Non-Maskable Interrupt: NMI is used to force a non-Maskable interrupt to the processor. The ICH3 can generate an NMI when either SERR# or IOCHK# is asserted. The processor detects an NMI when it detects a rising edge on NMI. NMI is reset by setting the corresponding NMI source enable/disable bit in the NMI Status and Control Register. Speed Strap: During the reset sequence, ICH3 drives NMI high if the corresponding bit is set in the FREQ_STRP Register. SMI# O System Management Interrupt: SMI# is an active low output synchronous to PCICLK. It is asserted by the ICH3 in response to one of many enabled hardware or software events. Stop Clock Request: STPCLK# is an active low output synchronous to PCICLK. It is asserted by the ICH3 in response to one of many hardware or software events. When the processor samples STPCLK# asserted, it responds by stopping its internal clock. Keyboard Controller Reset CPU: The keyboard controller can generate INIT# to the processor. This saves the external OR gate with the ICH3’s other sources of INIT#. When the ICH3 detects the assertion of this signal, INIT# is generated for 16 PCI clocks. Note that the ICH3 will ignore RCIN# assertion during transitions to the S1, S3, S4 and S5 states. A20GATE I A20 Gate: From the keyboard controller. Acts as an alternative method to force the A20M# signal active. Saves the external OR gate needed with various other PCIsets. CPU Power Good: Should be connected to the processor’s PWRGOOD input. This is an open-drain output signal (external pull-up resistor required) that represents a logical AND of the ICH3’s PWROK and VRMPWRGD signals. INTR O NMI O STPCLK# O RCIN# I CPUPWRGD OD Intel® 82801CA ICH3-S Datasheet 47 Signal Description 2.12 SMBus Interface Table 2-12. SM Bus Interface Signals Name SMBDATA SMBCLK SMBALERT#/ GPIO[11] Type I/OD I/OD I Description SMBus Data: External pull-up is required. SMBus Clock: External pull-up is required. SMBus Alert: This signal is used to wake the system or generate SMI#. If not used for SMBALERT#, it can be used as a GPI. 2.13 System Management Interface Table 2-13. System Management Interface Signals Name Type Description Intruder Detect: Can be set to disable system if box detected open. INTRUDER# I This signal’s status is readable, so it can be used like a GPI if the Intruder Detection is not needed. System Management Link: SMBus link to optional external system management ASIC or LAN controller. External pull-ups are required. Note that SMLINK[0] corresponds to an SMBus Clock signal, and SMLINK[1] corresponds to an SMBus Data signal. SMLINK[1:0] I/OD 2.14 Real Time Clock Interface Table 2-14. Real Time Clock Interface Name RTCX1 RTCX2 Type Special Special Description Crystal Input 1: Connected to the 32.768 kHz crystal. If no external crystal is used, then RTCX1 can be driven with the desired clock rate. Crystal Input 2: Connected to the 32.768 kHz crystal. If no external crystal is used, then RTCX2 should be left floating. 48 Intel® 82801CA ICH3-S Datasheet Signal Description 2.15 Other Clocks Table 2-15. Other Clocks Name CLK14 CLK48 CLK66 Type I I I Description Oscillator Clock: Used for 8254 timers. Runs at 14.31818 MHz. This clock is permitted to stop during S3 (or lower) states . 48 MHz Clock: Used to run the USB controller. Runs at 48 MHz. This clock is permitted to stop during S3 (or lower) states. 66 MHz Clock: Used to run the hub interface. Runs at 66 MHz. This clock is permitted to stop during S3 (or lower) states . 2.16 Miscellaneous Signals Name Type Description Speaker: The SPKR signal is the output of counter 2 and is internally “ANDed” with Port 61h bit 1 to provide Speaker Data Enable. This signal drives an external speaker driver device, which in turn drives the system speaker. Upon PCIRST#, its output state is 0. NOTE: SPKR is sampled at the rising edge of PWROK as a functional strap. See Section 2.20.1for more details. There is a weak integrated pull-down resistor on SPKR pin. RTC Reset: When asserted, this signal resets register bits in the RTC well and sets the RTC_PWR_STS bit (bit 2 in GEN_PMCON3 Register). NOTES: 1. Clearing CMOS in an ICH3-based platform can be done by using a jumper on RTCRST# or GPI, or using SAFEMODE strap. Implementations should not attempt to clear CMOS by using a jumper to pull VccRTC low. Unless entering the XOR Chain Test Mode, the RTCRST# input must always be high when all other RTC power planes are on Test Point: This signal must have an external pull-up to VccSus3_3. Table 2-16. Miscellaneous Signals SPKR O RTCRST# I TP[0] I 2.17 AC ’97 Link Name AC_RST# AC_SYNC AC_BIT_CLK Type O O I Description AC ’97 Reset: Master H/W reset to external Codec(s) AC ’97 Sync: 48 kHz fixed rate sample sync to the Codec(s) AC ’97 Bit Clock: 12.288 MHz serial data clock generated by the external Codec(s). This signal has an integrated pull-down resistor. AC ’97 Serial Data Out: Serial TDM data output to the Codec(s) AC_SDOUT AC_SDIN[1:0] O I NOTE: AC_SDOUT is sampled at the rising edge of PWROK as a functional strap. See Section 2.20.1 for more details. AC ’97 Serial Data In 0: Serial TDM data inputs from the Codecs. Table 2-17. AC ’97 Link Signals Intel® 82801CA ICH3-S Datasheet 49 Signal Description 2.18 General Purpose I/O Table 2-18. General Purpose I/O Signals Name GPIO[47:44] GPIO[43:38] GPIO[37:32] GPIO[31:29] GPIO[28:27] GPIO[26] GPIO[25] GPIO[24] GPIO[23] GPIO[22] GPIO[21] GPIO[20] GPIO[19] GPIO[18] GPIO[17:16] GPIO[15:14] GPIO[13:12] GPIO[11] GPIO[10:9] GPIO[8] GPIO[7] GPIO[6] GPIO[5:2] GPIO[1:0] Type I/O I/O I/O O I/O I/O I/O I/O O OD O O O O O I I I I I I I I I Not implemented. Can be input or output. Main power well. Can be input or output. Main power well. Not implemented. Can be input or output. Resume power well. Unmuxed. Not implemented. Can be input or output. Resume power well. Unmuxed. Can be input or output. Resume power well. Fixed as output only. Main power well. Fixed as output only. Main power well. Fixed as output only. Main power well. . Fixed as output only. Main power well. Fixed as output only. Main power well. Fixed as output only. Main power well. Fixed as Output only. Main Power Well. Can be used instead as PC/PCI GNT[B:A]#. GPIO[17] can also alternatively be used for PCI GNT[5]#. Integrated pull-up resistor. Not implemented. Fixed as Input only. Resume Power Well. Unmuxed. Fixed as Input only. Resume Power Well. Can be used instead as SMBALERT#. Not implemented. Fixed as Input only. Resume Power Well. Unmuxed. Fixed as Input only. Main power well. Unmuxed. Fixed as Input only. Main power well. Fixed as Input only. Main power well. Can be used instead as PIRQ[H:E]#. Fixed as Input only. Main Power Well. Can be used instead as PC/PCI REQ[B:A]#. GPIO[1] can also alternatively be used for PCI REQ[5]#. Description NOTE: Only GPIO[7:0] are 5 V tolerant. 50 Intel® 82801CA ICH3-S Datasheet Signal Description 2.19 Power and Ground Table 2-19. Power and Ground Signals Name Vcc3_3 Vcc1_8 V5REF[2:1] HIREF VccSus3_3 VccSus1_8 Description 3.3 V supply for Core well I/O buffers (15 pins). This power may be shut off in S3, S5 or G3 states. 1.8 V supply for Core well logic (12 pins). This power may be shut off in S3, S5 or G3 states. Reference for 5V tolerance on Core well inputs. This power may be shut off in S3, S5 or G3 states. 0.9 V reference for the hub interface. This power is shut off in S3, S5 or G3 states. 3.3 V supply for Resume well I/O buffers (8 pins). This power is not expected to be shut off unless the system is unplugged. 1.8 V supply for Resume well logic (13 pins). This power is not expected to be shut off unless the system is unplugged. Reference for 5 V tolerance on Resume well inputs. This power is not expected to be shut off unless the system is unplugged. NOTE: See platform design guide for V5REF_Sus connectivity. 3.3 V (can drop to 2.0 V min. in G3 state) supply for the RTC well. This power is not expected to be shut off unless the RTC battery is removed or completely drained. VccRTC NOTE: Implementations should not attempt to clear CMOS by using a jumper to pull VccRTC low. Clearing CMOS in an ICH3-based platform can be done by using a jumper on RTCRST# or GPI, or using SAFEMODE strap. RTC well bias voltage. The DC reference voltage applied to this pin sets a current that is mirrored throughout the oscillator and buffer circuitry. See Section 2.20.4. Powered by the same supply as the processor I/O voltage (3 pins). This supply is used to drive the processor I/F outputs. Grounds (104 pins). V5REF_Sus[2:1] VBIAS V_CPU_IO Vss Intel® 82801CA ICH3-S Datasheet 51 Signal Description 2.20 2.20.1 Pin Straps Functional Straps The following signals are used for static configuration. They are sampled at the rising edge of PWROK to select configurations, and then revert later to their normal usage. To invoke the associated mode, the signal should be driven at least 4 PCI clocks prior to the time it is sampled. Table 2-20. Functional Strap Definitions Signal Usage When Sampled Comment The signal has a weak internal pull-down. If the signal is sampled high, the ICH3 will set the processor speed strap pins for safe mode. Refer to processor specification for speed strapping definition. The status of this strap is readable via the SAFE_MODE bit (bit 2, D31: F0, Offset D4h). System designers should include a placeholder for a pull-down resistor on EE_DOUT but do not populate the resistor. The signal has a weak internal pull-up. If the signal is sampled low, this indicates that the system is strapped to the “Top-Swap” mode (ICH3 will invert A16 for all cycles targeting FWH BIOS space). The status of this strap is readable via the Top-Swap bit (bit 13, D31: F0, Offset D4h). Note that software will not be able to clear the Top-Swap bit until the system is rebooted without GNT[A]# being pulled down. Low (default)–Hub Interface 1.0 series or Hub Interface 1.5 parallel termination High (external pull-up to Vcc1_8)–Not supported in ICH3. External pull-up to Vcc1_8. HICOMP Hub Interface Scheme (HI 1.5) Rising Edge of PWROK NOTE: See the platform design guide for resistor values and routing guidelines for each hub interface mode. The signal has a weak internal pull-down. If the signal is sampled high, this indicates that the system is strapped to the “No Reboot” mode (ICH3 will disable the TCO Timer system reboot feature). The status of this strap is readable via the NO_REBOOT bit (bit 1, D31: F0, Offset D4h). AC_SDOUT Safe Mode Rising Edge of PWROK EE_DOUT Reserved GNT[A]# Top-Swap Override Rising Edge of PWROK DPSLPVR Hub Interface Termination Scheme (Normal vs. Enhanced) Rising Edge of PWROK SPKR No Reboot Rising Edge of PWROK 52 Intel® 82801CA ICH3-S Datasheet Signal Description 2.20.2 External RTC Circuitry To reduce RTC well power consumption, the ICH3 implements an internal oscillator circuit that is sensitive to step voltage changes in VccRTC and VBIAS. Figure 2-2 shows the circuitry required to condition these voltages to ensure correct operation of the ICH3 RTC. Figure 2-2. Required External RTC Circuit 3.3 V VCCSUS 1 kΩ 1 µF VCCRTC RTCX2 Vbatt 1 kΩ 32768 Hz Xtal R1 10 MΩ RTCX1 C1 0.047 uF C3 12.5 pF R2 10 MΩ VBIAS C2 12.5 pF VSSRTC Note: Capacitor C2 and C3 values are crystal-dependent. 2.20.3 V5REF / Vcc3_3 Sequencing Requirements V5REF is the reference voltages for 5 V tolerance on inputs to the ICH3. V5REF must be powered up before Vcc3_3, or after Vcc3_3 within 0.7 V. Also, V5REF must be powered down after Vcc3_3 or before Vcc3_3 within 0.7 V. The rule must be followed to ensure the safety of the ICH3. Caution: If this rule is violated, internal diodes will attempt to draw power sufficient to damage the diodes from the Vcc3_3 rail. Figure 2-3 shows a sample implementation of how to satisfy the V5REF/3.3 V sequencing rule. This rule also applies to the standby rails, but in most platforms, the VccSus3_3 rail is derived from the VccSus5 and therefore, the VccSus3_3 rail will always come up after the VccSus5 rail. As a reulst, V5REF_Sus will always be powered up before VccSus3_3. In platforms that do not derive the VccSus3_3 rail from the VccSus5 rail, this rule must be comprehended in the platform design. Intel® 82801CA ICH3-S Datasheet 53 Signal Description Figure 2-3. Example V5REF Sequencing Circuit Vcc Supply (3.3 V) 1 KΩ 5 V Supply 1 µF To System 5VREF To System 2.20.4 2.20.4.1 Test Signals Test Mode Selection When PWROK is active (high) for at least 76 PCI clocks, driving RTCRST# active (low) for a number of PCI clocks (33 MHz) will activate a particular test mode a specified in Table 2-21. Note: RTCRST# may be driven low any time after PCIRST is inactive. Refer to Section 18.1, “Test Mode Description” on page 18-487 for a detailed description of the ICH3-S test modes. Table 2-21. Test Mode Selection Number of PCI Clocks RTCRST# driven low after PWROK active Test Mode 42 No Test Mode Selected XOR Chain 1 XOR Chain 2 XOR Chain 3 XOR Chain 4 All “Z” (Tri-state Mode) Reserved. DO NOT ATTEMPT No Test Mode Selected 54 Intel® 82801CA ICH3-S Datasheet Power Planes and Pin States Power Planes and Pin States This chapter provides the 82801CA ICH3-S power plane and pin states. 3 3.1 Power Planes Table 3-1. Intel® ICH3 Power Planes Plane Main I/O (3.3 V) Description Vcc3_3: Powered by the main power supply or battery. When the system is in the S3, S4, S5, or G3 state, this plane is assumed to be shut off. Vcc1_8: Powered by the main power supply or battery. When the system is in the S3, S4, S5, or G3 state, this plane is assumed to be shut off. VccSUS3_3: Powered by the main power supply or battery in S0–S1 states. Powered by the trickle power supply or main battery When the system is in the S3, S4, S5, state. Assumed to be shut off only when in the G3 state (system is unplugged). VccSUS1_8: Powered by the main power supply or battery in S0–S1 states. Powered by the trickle power supply or main battery when the system is in the S3, S4, S5, state. Assumed to be shut off only when in the G3 state (system is unplugged). V_CPU_IO: Powered by the main power supply or battery via processor voltage regulator. When the system is in the S3, S4, S5, or G3 state, this plane is assumed to be shut off. VccRTC: When other power is available (from the main supply or main battery1), external diode coupling will provide power to reduce the drain on the RTC battery. Assumed to operate from 3.3 V down to 2.0 V. Main Logic (1.8 V) Resume I/O (3.3 V Standby) Resume Logic (1.8 V Standby) CPU I/F (1.3 ~ 2.5V) RTC Intel® 82801CA ICH3-S Datasheet 3-55 Power Planes and Pin States 3.2 Integrated Pull-Ups and Pull-Downs Table 3-2. Integrated Pull-Up and Pull-Down Resistors Signal EE_DIN EE_DOUT GNT[B:A]# / GNT[5]# / GPIO[17:16] Resistor Type Nominal Value Notes pull-up pull-up pull-up pull-up pull-up pull-up pull-up pull-down pull-down pull-down pull-down pull-down pull-up pull-down pull-down pull-down pull-down pull-down 24 kΩ 24 kΩ 24 kΩ 24 kΩ 24 kΩ 24 kΩ 24 kΩ 24 kΩ 20 kΩ 20 kΩ 20 kΩ 20 kΩ 9 kΩ 5.9 kΩ 5.9 kΩ 20 kΩ 1 MΩ 15 kΩ 1 1 1 1 1 1 1 1, 5 2, 6 2 2, 6 2, 5 3 4 4 2 LAD[3:0]# / FWH[3:0]# LDRQ[1:0] PME# PWRBTN# SPKR AC_BIT_CLK AC_SDIN[1:0] AC_SDOUT AC_SYNC LAN_RXD[2:0] PDD[7] / SDD[7] PDDREQ / SDDREQ DPRSLPVR LAN_CLK USB[5:0][P:N] NOTES: 1. Simulation data shows that these resistor values can range from 18 kΩ to 42 kΩ. 2. Simulation data shows that these resistor values can range from 13 kΩ to 38 kΩ. 3. Simulation data shows that these resistor values can range from 6 kΩ to 14 kΩ. 4. Simulation data shows that these resistor values can range from 4.3 kΩ to 20 kΩ. 5. The pull-up or pull-down on this signal is only enabled at boot/reset for strapping function. 6. This pull-down is enabled when either the ACLINK Shut Off bit in the AC ’97 Global Control Register is set or when both function 5 and function 6 of Dev 31 are hidden (disabled). 3.3 IDE Integrated Series Termination Resistors Table 3-3 shows the ICH3 IDE signals that have integrated series termination resistors. Table 3-3. IDE Series Termination Resistors Signal Integrated Series Termination Resistor Value PDD[15:0], SDD[15:0, PDIOW#, SDIOW#, PDIOR#, PDIOW#, PDREQ, SDREQ, PDDACK#, SDDACK#, PIORDY, SIORDY, PDA[2:0], SDA[2:0], PDCS1#, SDCS1#, PDCS3#, SDCS3#, IRQ14, IRQ15 approximately 33 Ω (See Note) NOTE: Simulation data indicates that the integrated series termination resistors are a nominal 33 Ω but can range from 31 Ω to 43 Ω. 3-56 Intel® 82801CA ICH3-S Datasheet Power Planes and Pin States 3.4 Output and I/O Signals Planes and States Table 3-4 shows the power plane associated with the output and I/O signals, as well as the state at various times. Within the tables, the following terms are used: “High-Z” “High” “Low” “Defined” “Undefined” “Running” “Off” Tri-state. ICH3 not driving the signal high or low. ICH3 is driving the signal to a logic 1 ICH3 is driving the signal to a logic 0 Driven to a level that is defined by the function (will be high or low) ICH3 is driving the signal, but the value is indeterminate. Clock is toggling or signal is transitioning because function not stopping The power plane is off, so ICH3 is not driving Note that the signal levels are the same in S4 and S5. Table 3-4. Power Plane and States for Output and I/O Signal Signal Name Power Plane During PCIRST#4 / RSMRST#5 Immediately after PCIRST#4 / RSMRST#5 S1 S3 S4/S5 PCI Bus AD[31:0] C/BE#[3:0] DEVSEL# FRAME# GNT[0:4]# GNT[A], GNT[5]#/ GNT[B]# IRDY#, TRDY# PAR PCIRST# PERR# PLOCK# STOP# Main I/O Main I/O Main I/O Main I/O Main I/O Main I/O Main I/O Main I/O Resume I/O Main I/O Main I/O Main I/O High-Z High-Z High-Z High-Z High High-Z with internal pullup High-Z High-Z Low High-Z High-Z High-Z Undefined Undefined High-Z High-Z High High High-Z Undefined High High-Z High-Z High-Z Defined Defined High-Z High-Z High High High-Z Defined High High-Z High-Z High-Z Off Off Off Off Off Off Off Off Low Off Off Off Off Off Off Off Off Off Off Off Low Off Off Off LPC Interface LAD[3:0] LFRAME# Main I/O Main I/O High High High High High High Off Off Off Off Intel® 82801CA ICH3-S Datasheet 3-57 Power Planes and Pin States Table 3-4. Power Plane and States for Output and I/O Signal (Continued) Signal Name Power Plane During PCIRST#4 / RSMRST#5 Immediately after PCIRST#4 / RSMRST#5 S1 S3 S4/S5 LAN Connect and EEPROM Interface EE_CS EE_DOUT EE_SHCLK LAN_RSTSYNC LAN_TXD[2:0] Resume I/O Resume I/O Resume I/O Resume I/O Resume I/O Low High Low High Low Running High Running Defined Defined Defined Defined Defined Defined Defined Defined Defined Defined Defined Defined Defined Defined Defined Defined Defined IDE Interface PDA[2:0], SDA[2:0] PDCS1#, PDCS3# PDD[15:8], SDD[15:8], PDD[6:0], SDD[6:0] PDD[7], SDD[7] PDDACK#, SDDACK# PDIOR#, PDIOW# SDCS1#, SDCS3# SDIOR#, SDIOW# Main I/O Main I/O Main I/O Main I/O Main I/O Main I/O Main I/O Main I/O Undefined High High-Z Low High High High High Undefined High High-Z Low High High High High Undefined High High-Z Low High High High High Off Off Off Off Off Off Off Off Off Off Off Off Off Off Off Off Interrupts PIRQ[A:H]# SERIRQ APICD[1:0] Main I/O Main I/O Main I/O High-Z High-Z High-Z High-Z High-Z High-Z High-Z High-Z High-Z Off Off Off Off Off Off USB Interface USBP[5:0][P,N] Resume I/O Low Low Low Low Low Power Management SLP_S3# SLP_S5# Resume I/O Resume I/O Low Low High High High after PWROK rises High High Low High Low Low SUS_STAT# Resume I/O Low High Low Low SUSCLK Resume I/O Low Running 3-58 Intel® 82801CA ICH3-S Datasheet Power Planes and Pin States Table 3-4. Power Plane and States for Output and I/O Signal (Continued) Signal Name Power Plane During PCIRST#4 / RSMRST#5 Immediately after PCIRST#4 / RSMRST#5 S1 S3 S4/S5 CPU Interface A20M# CPUPWRGD CPUSLP# IGNNE# INIT# INTR NMI SMI# STPCLK# CPU I/O Main I/O CPU I/O CPU I/O CPU I/O CPU I/O CPU I/O CPU I/O CPU I/O See Note 1 See Note 3 High See Note 1 High See Note 1 See Note 1 High High High High-Z High High High Low Low High High High High-Z Defined High High Low Low High Low Off Off Off Off Off Off Off Off Off Off Off Off Off Off Off Off Off Off SMBus Interface SMBCLK, SMBDATA Resume I/O High-Z High-Z Defined Defined Defined System Management Interface SMLINK[1:0] Resume I/O High-Z High-Z Defined Defined Defined Miscellaneous Signals SPKR Main I/O Low with internal pulldown Low Defined Off Off AC’97 Interface AC_RST# AC_SDOUT AC_SYNC Resume I/O Main I/O Main I/O Low Low Low Low Running Running Cold Reset Bit (High) Low Low Low Off Off Low Off Off Unmuxed GPIO Signals GPIO[18] GPIO[19:20] GPIO[21] GPIO[22] GPIO[23] GPIO[24] GPIO[25] GPIO[27:28] GPIO[43:32] Main I/O Main I/O Main I/O Main I/O Main I/O Resume I/O Resume I/O Resume I/O Main I/O High High High High-Z Low Low High High High See Note 2 High High High-Z Low Low High High High Defined Defined Defined Defined Defined Defined Defined Defined Defined Off Off Off Off Off Defined Defined Defined Off Off Off Off Off Off Defined Defined Defined Off NOTES: 1. ICH3 sets these signals at reset for CPU frequency strap. 2. GPIO[18] will toggle at a frequency of approximately 1Hz when the ICH3 comes out of reset 3. CPUPWRGD is an open-drain output that represents a logical AND of the ICH3’s VRMPWRGD and PWROK signals, and thus will be driven low by ICH3 when either VRMPWRGD or PWROK are inactive. During boot, or during a hard reset with power cycling, CPUPWRGD will be expected to transition from low to High-Z. 4. The states of main I/O signals are taken at the times During PCIRST# and Immediately after PCIRST#. 5. The states of resume I/O signals are taken at the times During RSMRST# and Immediately after RSMRST# . Intel® 82801CA ICH3-S Datasheet 3-59 Power Planes and Pin States 3.5 Power Planes for Input Signals Table 3-5 shows the power plane associated with each input signal, as well as what device drives the signal at various times. Valid states include: • • • • • High Low Static: Will be high or low, but will not change Driven: Will be high or low, and is allowed to change Running: For input clocks Table 3-5. Power Plane for Input Signals Signal Name Power Well Driver During Reset S1 S3 S5 A20GATE AC_BIT_CLK AC_SDIN[1:0] APICCLK CLK14 CLK48 CLK66 EE_DIN FERR# INTRUDER# IRQ[15:14] LAN_CLK LAN_RXD[2:0] LDRQ[0]# LDRQ[1]# OC[5:0]# PCICLK PDDREQ PIORDY PME# PWRBTN# PWROK RCIN# REQ[0:5]# REQ[B:A]# RI# LAN_RST# RSMRST# RTCRST# Main I/O Main I/O Resume I/O Main I/O Main I/O Main I/O Main Logic Resume I/O Main I/O RTC Main I/O Resume I/O Resume I/O Main I/O Main I/O Resume I/O Main I/O Main I/O Main I/O Resume I/O Resume I/O RTC Main I/O Main I/O Main I/O Resume I/O Resume I/O RTC RTC External Microcontroller AC’97 Codec AC’97 Codec Clock Generator Clock Generator Clock Generator Clock Generator EEPROM component CPU External Switch IDE LAN Connect component LAN Connect component LPC Devices LPC Devices External Pull-Ups Clock Generator IDE Device IDE Device Internal Pull-Up Internal Pull-Up System Power Supply External Microcontroller PCI Master PC/PCI Devices Serial Port Buffer External RC circuit External RC circuit External RC circuit Static Low Low Running Running Running Running Driven Static Driven Static Driven Driven High High Driven Running Static Static Driven Driven Driven High Driven Driven Driven High High High Low Low Low Low Low Low Low Driven Low Driven Low Driven Driven Low Low Driven Low Low Low Driven Driven Low Low Low Low Driven High High High Low Low Low Low Low Low Low Driven Low Driven Low Driven Driven Low Low Driven Low Low Low Driven Driven Low Low Low Low Driven High High High 3-60 Intel® 82801CA ICH3-S Datasheet Power Planes and Pin States Table 3-5. Power Plane for Input Signals (Continued) Signal Name Power Well Driver During Reset S1 S3 S5 SDDREQ SERR# SIORDY SMBALERT# THRM# USBRBIAS VRMPWRGD Main I/O Main I/O Main I/O Resume I/O Main I/O Resume I/O Main I/O IDE Drive PCI Bus Peripherals IDE Drive External pull-up Thermal Sensor External Pull-down CPU Voltage Regulator Static High Static Driven Driven Used High Low Low Low Driven Low Used Low Low Low Low Driven Low Used Low NOTES: 1. LAN Connect and EEPROM signals will either be “Driven” or “Low” in S3–S5 states depending upon whether or not the LAN power planes are active. Intel® 82801CA ICH3-S Datasheet 3-61 Power Planes and Pin States This page is intentionally left blank. 3-62 Intel® 82801CA ICH3-S Datasheet Intel® ICH3 and System Clock Domains Intel® ICH3 and System Clock Domains4 Table 4-1 describes the system clock domains. Figure 4-1 shows the assumed connection of the various system components, including the clock generator. For complete details of the system clocking solution refer to the system’s clock generator component specification. Table 4-1. Intel® ICH3 and System Clock Domains Clock Domain Frequency Source Usage ICH3 CLK66 ICH3 PCICLK System PCI ICH3 CLK48 ICH3 CLK14 ICH3 AC_BIT_CLK ICH3 APICCLK LAN_CLK 66 MHz Main Clock Generator Main Clock Generator Main Clock Generator Main Clock Generator Main Clock Generator AC ’97 Codec Main Clock Generator LAN Connect Component Hub I/F, processor I/F, AGP. Shut off during S3 or below . Free-running PCI Clock to ICH3. This clock remains on during S0 and S1 state, and is expected to be shut off during S3 or below in server configurations or . PCI Bus, LPC I/F. These only go to external PCI and LPC devices. Super I/O, USB Controllers. Expected to be shut off during S3 or below . Expected to be shut off during S4 or below. AC ’97 Link. Generated by AC ’97 Codec. Can be shut by codec in D3. Expected to be shut off during S3 or below. Used for ICH3-processor interrupt messages. Operates up to 33.33 MHz. Expected to be shut off during S3 or below. Generated by the LAN Connect component. Expected to be shut off during S3 or below. 33 MHz 33 MHz 48 MHz 14.31818 MHz 12.288 MHz 33.33 MHz 5 to 50 MHz Figure 4-1. Conceptual System Clock Diagram AG P (66 MHz) 33 MHz APIC CLK 14.31818 MHz Intel® ICH3 48 MHz Clock Gen. PCI Clocks (33 MHz) 14.31818 MHz 48 MHz 12.288 MHz 50 MHz 32 kHz XT AL AC’97 Codec(s) LAN Connect SUSCLK# (32 kHz) Intel® 82801CA ICH3-S Datasheet 63 Intel® ICH3 and System Clock Domains This page is intentionally left blank. 64 Intel® 82801CA ICH3-S Datasheet Functional Description Functional Description 5.1 Hub Interface to PCI Bridge (D30:F0) 5 The hub interface to PCI Bridge resides in PCI Device 30, Function 0 on bus #0. This portion of the ICH3 implements the buffering and control logic between PCI and the hub interface. The arbitration for the PCI bus is handled by this PCI device. The PCI decoder in this device must decode the ranges for the hub interface. All register contents will be lost when core well power is removed. 5.1.1 PCI Bus Interface The ICH3 PCI interface provides a 33 MHz, PCI Local Bus Specification, Rev. 2.2 compliant implementation. All PCI signals are 5 V tolerant. The ICH3 integrates a PCI arbiter that supports up to six external PCI bus masters in addition to the internal ICH3 requests. Note that most transactions targeted to the ICH3 will first appear on the external PCI bus before being claimed back by the ICH3. The exceptions are I/O cycles involving USB, IDE, and AC ’97. These transactions will complete over the hub interface without appearing on the external PCI bus. Configuration cycles targeting USB, IDE or AC ’97 will appear on the PCI bus. If the ICH3 is programmed for positive decode, the ICH3 will claim the cycles appearing on the external PCI bus in medium decode time. If the ICH3 is programmed for subtractive decode, the ICH3 will claim these cycles in subtractive time. If the ICH3 is programmed for subtractive decode, these cycles can be claimed by another positive decode agent out on PCI. This architecture enables the ability to boot off of a PCI card that positively decodes the boot cycles. In order to boot off a PCI card it is necessary to keep the ICH3 in subtractive decode mode. When booting off a PCI card, the BOOT_STS bit (bit 2, TCO2 Status Register) will be set. Note: Note: The ICH3’s AC ’97, IDE and USB Controllers can not perform peer to peer traffic. Poor performing PCI devices that cause long latencies (numerous retries) to processor-to-PCI Locked cycles may starve isochronous transfers between USB or AC ’97 devices and memory. This will result in overrun or underrun, causing reduced quality of the isochronous data, such as audio. PCI configuration write cycles, initiated by the processor, with the following characteristics will be converted to a Special Cycle with the Shutdown message type. Note: • • • • • Device Number (AD[15:11]) = 11111 Function Number (AD[10:8]) = 111’ Register Number (AD[7:2]) = 000000’ Data = 00h Bus number matches secondary bus number Intel® 82801CA ICH3-S Datasheet 65 Functional Description Note: If the processor issues a locked cycle to a resource that is too slow (e.g., PCI), the ICH3 will not allow upstream requests to be performed until the cycle completion. This may be critical for isochronous buses which assume certain timing for their data flow, such as AC ’97 or USB. Devices on these buses may suffer from underrun if the asynchronous traffic is too heavy. Underrun means that the same data is sent over the bus while ICH3 is not able to issue a request for the next data. Snoop cycles are not permitted while the Processor System Bus is locked. Locked cycles are assumed to be rare. Locks by PCI targets are assumed to exist for a short duration (a few microseconds at most). If a system has a very large number of locked cycles and some that are very long, then the system will definitely experience underruns and overruns. The units most likely to have problems are the AC '97 controller and the USB controllers. Other units could get underruns/overruns, but are much less likely. The IDE controller (due to its stalling capability on the cable) should not get any underruns or overruns. Note: 5.1.2 PCI-to-PCI Bridge Model From a software perspective, the ICH3 contains a PCI-to-PCI bridge. This bridge connects the hub interface to the PCI bus. By using the PCI-to-PCI bridge software model, the ICH3 can have its decode ranges programmed by existing plug-and-play software such that PCI ranges do not conflict with AGP and graphics aperture ranges in the Host controller. 5.1.3 IDSEL to Device Number Mapping When addressing devices on the external PCI bus (with the PCI slots) the ICH3 will assert one address signal as an IDSEL. When accessing device 0, the ICH3 will assert AD16. When accessing Device 1, the ICH3 will assert AD17. This mapping continues all the way up to device 15 where the ICH3 asserts AD31. Note that the ICH3’s internal functions (AC ’97, IDE, USB, and PCI Bridge) are enumerated like they are on a separate PCI bus (the hub interface) from the external PCI bus. The integrated LAN Controller is Device 8 on the ICH3’s PCI bus, and hence it uses AD24 for IDSEL 5.1.4 SERR# Functionality There are several internal and external sources that can cause SERR#. The ICH3 can be programmed to cause an NMI based on detecting that an SERR# condition has occurred. The NMI can also be routed to instead cause an SMI#. Note that the ICH3 does not drive the external PCI bus SERR# signal active onto the PCI bus. The external SERR# signal is an input into the ICH3 driven only by external PCI devices. The conceptual logic diagrams in Figure 5-1 and Figure 5-2 illustrate all sources of SERR#, along with their respective enable and status bits. Figure 5-3 shows how the ICH3 error reporting logic is configured for NMI# generation. 66 Intel® 82801CA ICH3-S Datasheet Functional Description Figure 5-1. Primary Device Status Register Error Reporting Logic D30:F0 BRIDG E_CNT [Parity Error Response Enable] AND D30:F0 BRIDG E_CNT [SERR# Enable] AND PC I Address Parity Error D30:F0 CM D [SER R_EN] D30:F0 PD_STS [SSE] OR D30:F0 ERR _STS [SERR _DTT ] D 30:F0 C MD [SERR_EN] Delayed T ransaction Tim eout AND D30:F0 ERR_CM D [SERR _DTT _EN] AND SERR# Pin AND D30:F0 BRIDG E_CNT [SERR# Enable] OR D30:F0 ERR_CM D [SER R_RT A_EN] AND Received Target Abort D30:F0 ER R_ST S [SER R_RTA] Figure 5-2. Secondary Status Register Error Reporting Logic D30:F0.04h.8 CM D [SERR_En] AND D30:F0 SECSTS [SSE] PCI Delayed T ransaction T im eout AND D31:F0 D31_ERR_CFG [SERR_DT T_EN] LPC Device Signaling an Error IOCHK# via SERIRQ OR TCO 1_STS [HUBERR_ST S] D31:F0 D31_ERR_CFG [SERR_RTA_EN] AND Received Target Abort Intel® 82801CA ICH3-S Datasheet 67 Functional Description Figure 5-3. NMI# Generation Logic NMI_SC [IOC HK_NMI_ST S] IOC HK From SERIRQ Logic AND NM I_SC [IOC HK_NMI_EN] NM I_SC [PCI_SERR_EN] AND N MI_SC [SERR#_NMI_STS] D30:F0 SECST S [SSE] OR D30:F0 PDST S [SSE] TCO 1_ST S [H UBNM I_ST S] T CO1_CNT [NMI_NOW ] Hub Interface Parity Error D etected D30:F0 CMD [Parity Error Response] OR OR AND To NM I# Output and Gating Logic AN D D30:F0 PD_STS [DPD] PCI Parity Error detected during AC'97, ID E or USB M aster Cycle AND OR D30:F0 BRIDGE_CNT [Parity Error R esponse Enable] D30:F0 SECSTS [D PD] NM I_EN [NM I_EN] PCI Parity Error detected during LPC or Legacy DMA M aster Cycle AND D31:F0 PCICMD [PER] D31:F0 PC ISTA [DPED] ich2 nmi 5.1.5 Parity Error Detection The ICH3 can detect and report different parity errors in the system. The ICH3 can be programmed to cause an NMI (or SMI# if NMI is routed to SMI#) based on detecting a parity error. The conceptual logic diagram in Figure 5-3 details all the parity errors that the ICH3 can detect, along with their respective enable bits, status bits, and the results. Note: If NMIs are enabled, and parity error checking on PCI is also enabled, then parity errors will cause an NMI. Some operating systems will not attempt to recover from this NMI, since it considers the detection of a PCI error to be a catastrophic event. 68 Intel® 82801CA ICH3-S Datasheet Functional Description 5.1.6 Standard PCI Bus Configuration Mechanism The PCI Bus defines a slot based “configuration space” that allows each device to contain up to 8 functions with each function containing up to 256, 8-bit configuration registers. The PCI specification defines two bus cycles to access the PCI configuration space: Configuration Read and Configuration Write. Memory and I/O spaces are supported directly by the processor. Configuration space is supported by a mapping mechanism implemented within the ICH3. The PCI specification defines two mechanisms to access configuration space, Mechanism #1 and Mechanism #2. The ICH3 only supports Mechanism #1. Configuration cycles for PCI Bus #0 devices #2 through #31, and for PCI Bus numbers greater than 0 will be sent towards the ICH3 from the host controller. The ICH3 compares the non-zero Bus Number with the Secondary Bus Number and Subordinate Bus number registers of its P2P bridge to determine if the configuration cycle is meant for Primary PCI or a downstream PCI bus. 5.1.6.1 Type 0 to Type 0 Forwarding When a Type 0 configuration cycle is received on hub interface to any function, the ICH3 forwards these cycles to PCI and then reclaims them. The ICH3 uses address bits AD[15:13] to communicate the ICH3 device numbers in Type 0 configuration cycles. If the Type 0 cycle on hub interface specifies any device number other than 29, 30 or 31, the ICH3 will not set any address bits in the range AD[31:11] during the corresponding transaction on PCI. Table 5-1 shows the device number translation. Table 5-1. Type 0 Configuration Cycle Device Number Translation Device # In Hub Interface Type 0 Cycle AD[31:11] During Address Phase of Type 0 Cycle on PCI 0 through 28 29 30 31 0000000000000000_00000b 0000000000000000_00100b 0000000000000000_01000b 0000000000000000_10000b The ICH3 logic will generate single dword configuration read and write cycles on the PCI bus. The ICH3 will generate a Type 0 configuration cycle for configurations to the bus number matching the PCI bus. Type 1 configuration cycles will be converted to Type 0 cycles in this case. If the cycle is targeting a device behind an external bridge, the ICH3 will run a Type 1 cycle on the PCI bus. 5.1.6.2 Type 1 to Type 0 Conversion When the bus number for the Type 1 configuration cycle matches the PCI (Secondary) bus number, the ICH3 will convert the address as follows: 1. For device numbers 0 through 15, only one bit of the PCI address [31:16] will be set. If the device number is 0, AD[16] is set; if the device number is 1, AD[17] is set; etc. 2. The ICH3 will always drive 0s on bits AD[15:11] when converting Type 1 configurations cycles to Type 0 configuration cycles on PCI. 3. Address bits [10:1] will also be passed unchanged to PCI. 4. Address bit 0 will be changed to 0’. Intel® 82801CA ICH3-S Datasheet 69 Functional Description 5.1.7 PCI Dual Address Cycle (DAC) Support The ICH3 supports Dual Address Cycle (DAC) format on PCI for cycles from PCI initiators to main memory. This allows PCI masters to generate an address up to 44 bits. The size of the actual supported memory space will be determined by the memory controller and the processor. The DAC mode is only supported for PCI adapters and is not supported for any of the internal PCI masters (IDE, LAN, USB 1.1, AC’97, 8237 DMA, etc.). When a PCI master wants to initiate a cycle with an address above 4 GB, it uses the following behavioral rules (See PCI 2.2 Specification, Section 3.9 for more details): 1. On the first clock of the cycle (when FRAME# is first active), the peripheral uses the DAC encoding on the C/BE# signals. This unique encoding is 1101. 2. Also during the first clock, the peripheral drives the AD[31:0] signals with the low address. 3. On the second clock, the peripheral drives AD[31:0] with the high address. The address is right justified: A[43:32] appear on AD[12:0]. The value of AD[31:13] is expected to be 0; however, the ICH3 ignores these bits. The C/BE# signals indicate the bus command type (Memory Read, Memory Write, etc.) 4. The rest of the cycle proceeds normally. 70 Intel® 82801CA ICH3-S Datasheet Functional Description 5.2 LAN Controller (B1:D8:F0) The ICH3’s integrated LAN Controller includes a 32-bit PCI controller that provides enhanced scatter-gather bus mastering capabilities and enables the LAN Controller to perform high speed data transfers over the PCI bus. Its bus master capabilities enable the component to process high level commands and perform multiple operations, which lowers processor utilization by offloading communication tasks from the processor. Two large transmit and receive FIFOs of 3 KB each help prevent data underruns and overruns while waiting for bus accesses. This enables the integrated LAN Controller to transmit data with minimum interframe spacing (IFS). The ICH3 integrated LAN Controller can operate in either full duplex or half duplex mode. In full duplex mode the LAN Controller adheres with the IEEE 802.3x Flow Control specification. Half duplex performance is enhanced by a proprietary collision reduction mechanism. The integrated LAN Controller also includes an interface to a serial (4-pin) EEPROM. The EEPROM provides power-on initialization for hardware and software configuration parameters. From a software perspective, the integrated LAN Controller appears to reside on the secondary side of the ICH3’s virtual PCI-to-PCI Bridge (see Section 5.1.2). This is typically Bus 1, but may be assigned a different number, depending upon system configuration. 5.2.1 Feature Summary • Compliance with Advanced Configuration and Power Interface and PCI Power Management standards • • • • • • • Support for wake-up on interesting packets and link status change Support for remote power-up using Wake on LAN* (WOL) technology Deep power-down mode support Support of Wired for Management (WfM), Rev 2.0 Backward compatible software with Intel 82557, 82558, and 82559 TCP/UDP checksum off load capabilities Support for Intel’s Adaptive Technology Intel® 82801CA ICH3-S Datasheet 71 Functional Description 5.2.2 LAN Controller Architectural Overview Figure 5-4 is a high level block diagram of the ICH3 integrated LAN Controller. It is divided into four main subsystems: a Parallel subsystem, a FIFO subsystem and the Carrier-Sense Multiple Access with Collision Detect (CSMA/CD) unit. Figure 5-4. Integrated LAN Controller Block Diagram EEPROM Interface PCI Target and EEPROM Interface 3 KB Tx FIFO Four Channel Addressing Unit - DM A M icro-m achine PCI Interface PCI Bus Interface Unit (BIU) 3 KB Rx FIFO FIFO Control CSM A/CD Unit LAN Connect Interface Data Interface Unit (DIU) Dual Ported FIFO 5.2.2.1 Parallel Subsystem The parallel subsystem is broken down into several functional blocks: a PCI bus master interface, a micromachine processing unit and its corresponding microcode ROM, and a PCI Target Control/ EEPROM/ interface. The parallel subsystem also interfaces to the FIFO subsystem, passing data (such as transmit, receive, and configuration data) and command and status parameters between these two blocks. The PCI bus master interface provides a complete interface to the PCI bus and is compliant with the PCI Local Bus Specification, Revision 2.2. The LAN Controller provides 32 bits of addressing and data, as well as the complete control interface to operate on the PCI bus. As a PCI target, it follows the PCI configuration format which allows all accesses to the LAN Controller to be automatically mapped into free memory and I/O space upon initialization of a PCI system. For processing of transmit and receive frames, the integrated LAN Controller operates as a master on the PCI bus, initiating zero wait-state transfers for accessing these data parameters. The LAN Controller Control/Status Register Block is part of the PCI target element. The Control/ Status Register block consists of the following LAN Controller internal control registers: System Control Block (SCB), PORT, EEPROM Control and Management Data Interface (MDI) Control. The micromachine is an embedded processing unit contained in the LAN Controller that enables Adaptive Technology. The micromachine accesses the LAN Controller’s microcode ROM, working its way through the opcodes (or instructions) contained in the ROM to perform its functions. Parameters accessed from memory, such as pointers to data buffers, are also used by the micromachine during the processing of transmit or receive frames by the LAN Controller. A typical micromachine function is to transfer a data buffer pointer field to the LAN Controller’s DMA unit for direct access to the data buffer. The micromachine is divided into two units, Receive Unit and Command Unit which includes transmit functions. These two units operate independently and concurrently. Control is switched between the two units according to the microcode instruction 72 Intel® 82801CA ICH3-S Datasheet Functional Description flow. The independence of the Receive and Command units in the micromachine allows the LAN Controller to execute commands and receive incoming frames simultaneously, with no real-time processor intervention. The LAN Controller contains an interface to an external serial EEPROM. The EEPROM is used to store relevant information for a LAN connection such as node address, as well as board manufacturing and configuration information. Both read and write accesses to the EEPROM are supported by the LAN Controller. Information on the EEPROM interface is detailed in Section 5.2.4. 5.2.2.2 FIFO Subsystem The ICH3 LAN Controller FIFO subsystem consists of a 3-KB transmit FIFO and 3-KB receive FIFO. Each FIFO is unidirectional and independent of the other. The FIFO subsystem serves as the interface between the LAN Controller parallel side and the serial CSMA/CD unit. It provides a temporary buffer storage area for frames as they are either being received or transmitted by the LAN Controller, which improves performance: • Transmit frames can be queued within the transmit FIFO, allowing back-to-back transmission within the minimum Interframe Spacing (IFS). • The storage area in the FIFO allows the LAN Controller to withstand long PCI bus latencies without losing incoming data or corrupting outgoing data. • The ICH3 LAN Controller’s transmit FIFO threshold allows the transmit start threshold to be tuned to eliminate underruns while concurrent transmits are being performed. • The FIFO subsection allows extended PCI zero wait-state burst accesses to or from the LAN Controller for both transmit and receive frames since the transfer is to the FIFO storage area rather than directly to the serial link. • Transmissions resulting in errors (collision detection or data underrun) are retransmitted directly from the LAN Controller’s FIFO, increasing performance and eliminating the need to re-access this data from the host system. • Incoming runt receive frames (in other words, frames that are less than the legal minimum frame size) can be discarded automatically by the LAN Controller without transferring this faulty data to the host system. 5.2.2.3 Serial CSMA/CD Unit The CSMA/CD unit of the ICH3 LAN Controller allows it to be connected to the 82562ET/EM 10/100 Mbps Ethernet LAN Connect components or the 82562EH 1 Mbps HomePNA*-compliant LAN Connect component. The CSMA/CD unit performs all of the functions of the 802.3 protocol such as frame formatting, frame stripping, collision handling, deferral to link traffic, etc. The CSMA/CD unit can also be placed in a full duplex mode which allows simultaneous transmission and reception of frames. Intel® 82801CA ICH3-S Datasheet 73 Functional Description 5.2.3 LAN Controller PCI Bus Interface As a Fast Ethernet Controller, the role of the ICH3 integrated LAN Controller is to access transmitted data or deposit received data. The LAN Controller, as a bus master device, will initiate memory cycles via the PCI bus to fetch or deposit the required data. In order to perform these actions, the LAN Controller is controlled and examined by the processor via its control and status structures and registers. Some of these control and status structures reside in the LAN Controller and some reside in system memory. For access to the LAN Controller’s Control/Status Registers (CSR), the LAN Controller acts as a slave (in other words, a target device). The LAN Controller serves as a slave also while the processor accesses the EEPROM. 5.2.3.1 Bus Slave Operation The ICH3 integrated LAN Controller serves as a target device in one of the following cases: • Processor accesses to the LAN Controller System Control Block (SCB) Control/Status Registers (CSR) • Processor accesses to the EEPROM through its CSR • Processor accesses to the LAN Controller PORT address via the CSR • Processor accesses to the MDI control register in the CSR The size of the CSR memory space is 4 KB in the memory space and 64 bytes in the I/O space. The LAN Controller treats accesses to these memory spaces differently. Control/Status Register (CSR) Accesses The integrated LAN Controller supports zero wait-state single cycle memory or I/O mapped accesses to its CSR space. Separate BARs request 4 KB of memory space and 64 bytes of I/O space to accomplish this. Based on its needs, the software driver will use either memory or I/O mapping to access these registers. The LAN Controller provides 4 valid KB of CSR space, which include the following elements: • • • • • System Control Block (SCB) registers PORT register EEPROM control register MDI control register Flow control registers In the case of accessing the CSRs, the processor is the initiator and the LAN Controller is the target. Read Accesses: The processor, as the initiator, drives address lines AD[31:0], the command and byte enable lines C/BE#[3:0] and the control lines IRDY# and FRAME#. As a slave, the LAN Controller controls the TRDY# signal and provides valid data on each data access. The LAN Controller allows the processor to issue only one read cycle when it accesses the CSRs, generating a disconnect by asserting the STOP# signal. The processor can insert wait-states by deasserting IRDY# when it is not ready. Write Accesses: The processor, as the initiator, drives the address lines AD[31:0], the command and byte enable lines C/BE#[3:0] and the control lines IRDY# and FRAME#. It also provides the LAN Controller with valid data on each data access immediately after asserting IRDY#. The LAN 74 Intel® 82801CA ICH3-S Datasheet Functional Description Controller controls the TRDY# signal and asserts it from the data access. The LAN Controller allows the processor to issue only one I/O write cycle to the CSRs, generating a disconnect by asserting the STOP# signal. This is true for both memory mapped and I/O mapped accesses. Retry Premature Accesses The LAN Controller responds with a Retry to any configuration cycle accessing the LAN Controller before the completion of the automatic read of the EEPROM. The LAN Controller may continue to Retry any configuration accesses until the EEPROM read is complete. The LAN Controller does not enforce the rule that the retried master must attempt to access the same address again in order to complete any delayed transaction. Any master access to the LAN Controller after the completion of the EEPROM read will be honored. Error Handling Data Parity Errors: The LAN Controller checks for data parity errors while it is the target of the transaction. If an error was detected, the LAN Controller always sets the detected parity error bit in the PCI configuration status register, bit 15. The LAN Controller also asserts PERR#, if the parity error response bit is set (PCI configuration command register, bit 6). The LAN Controller does not attempt to terminate a cycle in which a parity error was detected. This gives the initiator the option of recovery. Target-Disconnect: The LAN Controller prematurely terminate a cycle in the following cases: • After accesses to its CSR • After accesses to the configuration space System Error: The LAN Controller reports parity error during the address phase using the SERR# pin. If the SERR# enable bit in the PCI configuration command register or the parity error response bit are not set, the LAN Controller only sets the detected parity error bit (PCI configuration status register, bit 15). If SERR# enable and parity error response bits are both set, the LAN Controller sets the signaled system error bit (PCI configuration status register, bit 14) as well as the detected parity error bit and asserts SERR# for one clock. The LAN Controller, when detecting system error, will claim the cycle if it was the target of the transaction and continue the transaction as if the address was correct. Note: The LAN Controller will report a system error for any error during an address phase, whether or not it is involved in the current transaction. 5.2.3.2 Bus Master Operation As a PCI Bus Master, the ICH3 integrated LAN Controller initiates memory cycles to fetch data for transmission or deposit received data and for accessing the memory resident control structures. The LAN Controller performs zero wait-state burst read and write cycles to the host main memory. For bus master cycles, the LAN Controller is the initiator and the host main memory (or the PCI host bridge, depending on the configuration of the system) is the target. The processor provides the LAN Controller with action commands and pointers to the data buffers that reside in host main memory. The LAN Controller independently manages these structures and initiates burst memory cycles to transfer data to and from them. The LAN Controller uses the Memory Read Multiple (MR Multiple) command for burst accesses to data buffers and the Memory Read Line (MR Line) command for burst accesses to control structures. For all write Intel® 82801CA ICH3-S Datasheet 75 Functional Description accesses to the control structure, the LAN Controller uses the Memory Write (MW) command. For write accesses to data structure, the LAN Controller may use either the Memory Write or Memory Write and Invalidate (MWI) commands. Read Accesses: The LAN Controller performs block transfers from host system memory in order to perform frame transmission on the serial link. In this case, the LAN Controller initiates zero wait-state memory read burst cycles for these accesses. The length of a burst is bounded by the system and the LAN Controller’s internal FIFO. The length of a read burst may also be bounded by the value of the Transmit DMA Maximum Byte Count in the Configure command. The Transmit DMA Maximum Byte Count value indicates the maximum number of transmit DMA PCI cycles that will be completed after an LAN Controller internal arbitration. The LAN Controller, as the initiator, drives the address lines AD[31:0], the command and byte enable lines C/BE#[3:0] and the control lines IRDY# and FRAME#. The LAN Controller asserts IRDY# to support zero wait-state burst cycles. The target signals the LAN Controller that valid data is ready to be read by asserting the TRDY# signal. Write Accesses: The LAN Controller performs block transfers to host system memory during frame reception. In this case, the LAN Controller initiates memory write burst cycles to deposit the data, usually without wait-states. The length of a burst is bounded by the system and the LAN Controller’s internal FIFO threshold. The length of a write burst may also be bounded by the value of the Receive DMA Maximum Byte Count in the Configure command. The Receive DMA Maximum Byte Count value indicates the maximum number of receive DMA PCI transfers that will be completed before the LAN Controller internal arbitration. The LAN Controller, as the initiator, drives the address lines AD[31:0], the command and byte enable lines C/BE#[3:0] and the control lines IRDY# and FRAME#. The LAN Controller asserts IRDY# to support zero wait-state burst cycles. The LAN Controller also drives valid data on AD[31:0] lines during each data phase (from the first clock and on). The target controls the length and signals completion of a data phase by deassertion and assertion of TRDY#. • Cycle Completion: The LAN Controller completes (terminates) its initiated memory burst cycles in the following cases: • Normal Completion: All transaction data has been transferred to or from the target device (for example, host main memory). • Backoff: Latency Timer has expired and the bus grant signal (GNT#) was removed from the LAN Controller by the arbiter, indicating that the LAN Controller has been preempted by another bus master. • Transmit or Receive DMA Maximum Byte Count: The LAN Controller burst has reached the length specified in the Transmit or Receive DMA Maximum Byte Count field in the Configure command block. • Target Termination: The target may request to terminate the transaction with a targetdisconnect, target-retry, or target-abort. In the first two cases, the LAN Controller initiates the cycle again. In the case of a target-abort, the LAN Controller sets the received target-abort bit in the PCI Configuration Status field (PCI configuration status register, bit 12) and does not reinitiate the cycle. • Master Abort: The target of the transaction has not responded to the address initiated by the LAN Controller (in other words, DEVSEL# has not been asserted). The LAN Controller simply deasserts FRAME# and IRDY# as in the case of normal completion. • Error Condition: In the event of parity or any other system error detection, the LAN Controller completes its current initiated transaction. Any further action taken by the LAN Controller depends on the type of error and other conditions. 76 Intel® 82801CA ICH3-S Datasheet Functional Description Memory Write and Invalidate The LAN Controller has four Direct Memory Access (DMA) channels. Of these four channels, the Receive DMA is used to deposit the large number of data bytes received from the link into system memory. The Receive DMA uses both the Memory Write (MW) and the Memory Write and Invalidate (MWI) commands. In order to use MWI, the LAN Controller must guarantee the following: 1. Minimum transfer of one cache line 2. Active byte enable bits (or BE[3:0]# are all low) during MWI access 3. The LAN Controller may cross the cache line boundary only if it intends to transfer the next cache line too. In order to ensure the above conditions, the LAN Controller may use the MWI command only under the following conditions: 1. The Cache Line Size (CLS) written in the CLS Register during PCI configuration is 8 or 16 dwords. 2. The accessed address is cache line aligned. 3. The LAN Controller has at least 8 or 16 dwords of data in its receive FIFO. 4. There are at least 8 or 16 dwords of data space left in the system memory buffer. 5. The MWI enable bit in the PCI configuration command register, bit 4, should is set to 1b. 6. The MWI enable bit in the LAN Controller Configure command should is set to 1b. If any one of the above conditions does not hold, the LAN Controller will use the MW command. If a MWI cycle has started and one of the conditions is no longer valid (for example, the data space in the memory buffer is now less than CLS), then the LAN Controller terminates the MWI cycle at the end of the cache line. The next cycle will be either a MW or MWI cycle depending on the conditions listed above. If the LAN Controller started a MW cycle and reached a cache line boundary, it either continues or terminates the cycle depending on the terminate write on cache line configuration bit of the LAN Controller Configure command (byte 3, bit 3). If this bit is set, the LAN Controller terminates the MW cycle and attempts to start a new cycle. The new cycle is a MWI cycle if this bit is set and all of the above listed conditions are met. If the bit is not set, the LAN Controller continues the MW cycle across the cache line boundary if required. Read Align The Read Align feature enhances the LAN Controller’s performance in cache line oriented systems. In these particular systems, starting a PCI transaction on a non-cache line aligned address may cause low performance. In order to resolve this performance anomaly, the LAN Controller attempts to terminate transmit DMA cycles on a cache line boundary and start the next transaction on a cache line aligned address. This feature is enabled when the read align enable bit is set in the LAN Controller Configure command (byte 3, bit 2). Intel® 82801CA ICH3-S Datasheet 77 Functional Description If this bit is set, the LAN Controller operates as follows: • When the LAN Controller is almost out of resources on the transmit DMA (i.e., the transmit FIFO is almost full), it attempts to terminate the read transaction on the nearest cache line boundary when possible. • When the arbitration counter’s feature is enabled (i.e., the Transmit DMA Maximum Byte Count value is set in the Configure command), the LAN Controller switches to other pending DMAs on cache line boundary only. Note the following: • This feature is not recommended for use in non-cache line oriented systems since it may cause shorter bursts and lower performance. • This feature should be used only when the CLS Register in PCI Configuration space is set to 8 or 16. • The LAN Controller reads all control data structures (including Receive Buffer Descriptors) from the first dword (even if it is not required) in order to maintain cache line alignment. Error Handling Data Parity Errors: As an initiator, the LAN Controller checks and detects data parity errors that occur during a transaction. If the parity error response bit is set (PCI configuration command register, bit 6), the LAN Controller also asserts PERR# and sets the data parity detected bit (PCI configuration status register, bit 8). In addition, if the error was detected by the LAN Controller during read cycles, it sets the detected parity error bit (PCI configuration status register, bit 15). 5.2.3.3 PCI Power Management Enhanced support for the power management standard, PCI Local Bus Specification, Revision 2.2, is provided in the ICH3 integrated LAN Controller. The LAN Controller supports a large set of wake-up packets and the capability to wake the system from a low power state on a link status change. The LAN Controller enables the host system to be in a sleep state and remain virtually connected to the network. After a power management event or link status change is detected, the LAN Controller will wake the host system. The sections below describe these events, the LAN Controller power states, and estimated power consumption at each power state. 78 Intel® 82801CA ICH3-S Datasheet Functional Description Power States The LAN Controller contains power management registers for PCI, and implements all four power states as defined in the Power Management Network Device Class Reference Specification, Revision 1.0. The four states, D0 through D3, vary from maximum power consumption at D0 to the minimum power consumption at D3. PCI transactions are only allowed in the D0 state, except for host accesses to the LAN Controller’s PCI configuration registers. The D1 and D2 power management states enable intermediate power savings while providing the system wake-up capabilities. In the D3 cold state, the LAN Controller can provide wake-up capabilities. Wake-up indications from the LAN Controller are provided by the Power Management Event (PME#) signal. • D0 Power State As defined in the Network Device Class Reference Specification, the device is fully functional in the D0 power state. In this state, the LAN Controller receives full power and should be providing full functionality. In the LAN Controller the D0 state is partitioned into two substates, D0 Uninitialized (D0u) and D0 Active (D0a). D0u is the LAN Controller’s initial power state following a PCI RST#. While in the D0u state, the LAN Controller has PCI slave functionality to support its initialization by the host and supports Wake on LAN mode. Initialization of the CSR, Memory, or I/O base address registers in the PCI Configuration space switches the LAN Controller from the D0u state to the D0a state. In the D0a state, the LAN Controller provides its full functionality and consumes its nominal power. In addition, the LAN Controller supports wake on link status change (see Section 5.2.3.5). While it is active, the LAN Controller requires a nominal PCI clock signal (in other words, a clock frequency greater than 16 MHz) for proper operation. The LAN Controller supports a dynamic standby mode. In this mode, the LAN Controller is able to save almost as much power as it does in the static power-down states. The transition to or from standby is done dynamically by the LAN Controller and is transparent to the software. • D1 Power State In order for a device to meet the D1 power state requirements, as specified in the Advanced Configuration and Power Interface (ACPI) Specification, Revision 1.0, it must not allow bus transmission or interrupts; however, bus reception is allowed. Therefore, device context may be lost and the LAN Controller does not initiate any PCI activity. In this state, the LAN Controller responds only to PCI accesses to its configuration space and system wake-up events. The LAN Controller retains link integrity and monitors the link for any wake-up events such as wake-up packets or link status change. Following a wake-up event, the LAN Controller asserts the PME# signal. • D2 Power State The ACPI D2 power state is similar in functionality to the D1 power state. In addition to D1 functionality, the LAN Controller can provide a lower power mode with wake-on-link status change capability. The LAN Controller may enter this mode if the link is down while the LAN Controller is in the D2 state. In this state, the LAN Controller monitors the link for a transition from an invalid to a valid link. The sub-10 mA state due to an invalid link can be enabled or disabled by a configuration bit in the Power Management Driver Register (PMDR). The LAN Controller will consume in D2 function transaction Address + endpoint number in function -> host transaction Start of frame marker and frame number Address + endpoint number in host -> function transaction for setup to a control endpoint Data packet PID even Data packet PID odd Receiver accepts error free data packet Rx device cannot accept data or Tx device cannot send data Endpoint is stalled Host-issued preamble. Enables downstream bus traffic to low speed devices. Data DATA0 DATA1 Handshake ACK NAK STALL Special PRE PIDs are divided into four coding groups: token, data, handshake, and special, with the first two transmitted PID bits (PID[1:0]) indicating which group. This accounts for the distribution of PID codes. Intel® 82801CA ICH3-S Datasheet 185 Functional Description 5.16.4.4 Address Fields Function endpoints are addressed using two fields: function address field and endpoint field. Table 5-70. Address Field Bit Data Sent Bit Data Sent 0 1 2 3 ADDR 0 ADDR 1 ADDR 2 ADDR 3 4 5 6 ADDR 4 ADDR 5 ADDR 6 Address Field The function address (ADDR) field specifies the function, via its address, that is either the source or destination of a data packet, depending on the value of the token PID. As shown in Table 5-70, a total of 128 addresses are specified as ADDR[6:0]. The ADDR field is specified for IN, SETUP, and OUT tokens. Endpoint Field An additional four-bit endpoint (ENDP) field, shown in Table 5-71, permits more flexible addressing of functions in which more than one sub-channel is required. Endpoint numbers are function specific. The endpoint field is defined for IN, SETUP, and OUT token PIDs only. Table 5-71. Endpoint Field Bit Data Sent 0 1 2 3 ENDP 0 ENDP 1 ENDP 2 ENDP 3 5.16.4.5 Frame Number Field The frame number field is an 11-bit field that is incremented by the host on a per-frame basis. The frame number field rolls over upon reaching its maximum value of x7FFh, and is sent only for SOF tokens at the start of each frame. 5.16.4.6 Data Field The data field may range from 0 to 1023 bytes and must be an integral numbers of bytes. Data bits within each byte are shifted out LSB first. 5.16.4.7 Cyclic Redundancy Check (CRC) CRC is used to protect the all non-PID fields in token and data packets. In this context, these fields are considered to be protected fields. The PID is not included in the CRC check of a packet containing CRC. All CRCs are generated over their respective fields in the transmitter before bit stuffing is performed. Similarly, CRCs are decoded in the receiver after stuffed bits have been removed. Token and data packet CRCs provide 100% coverage for all single- and double-bit errors. A failed CRC is considered to indicate that one or more of the protected fields is corrupted and causes the receiver to ignore those fields, and, in most cases, the entire packet. 186 Intel® 82801CA ICH3-S Datasheet Functional Description 5.16.5 5.16.5.1 Packet Formats Token Packets Table 5-72 shows the field formats for a token packet. A token consists of a PID, specifying either IN, OUT, or SETUP packet type, and ADDR and ENDP fields. For OUT and SETUP transactions, the address and endpoint fields uniquely identify the endpoint that will receive the subsequent data packet. For IN transactions, these fields uniquely identify which endpoint should transmit a data packet. Only the ICH3 can issue token packets. IN PIDs define a data transaction from a function to the ICH3. OUT and SETUP PIDs define data transactions from the ICH3 to a function. Token packets have a five-bit CRC which covers the address and endpoint fields as shown above. The CRC does not cover the PID, which has its own check field. Token and SOF packets are delimited by an EOP after three bytes of packet field data. If a packet decodes as an otherwise valid token or SOF but does not terminate with an EOP after three bytes, it must be considered invalid and ignored by the receiver. Table 5-72. Token Format Packet Width PID ADDR ENDP CRC5 8 bits 7 bits 4 bits 5 bits 5.16.5.2 Start of Frame Packets Table 5-73 shows a start of frame (SOF) packet. SOF packets are issued by the host at a nominal rate of once every 1.00 ms 0.05. SOF packets consist of a PID indicating packet type followed by an 11-bit frame number field. The SOF token comprises the token-only transaction that distributes a start of frame marker and accompanying frame number at precisely timed intervals corresponding to the start of each frame. All full speed functions, including hubs, must receive and decode the SOF packet. The SOF token does not cause any receiving function to generate a return packet; therefore, SOF delivery to any given function cannot be guaranteed. The SOF packet delivers two pieces of timing information. A function is informed that a start of frame has occurred when it detects the SOF PID. Frame timing sensitive functions, which do not need to keep track of frame number, need only decode the SOF PID; they can ignore the frame number and its CRC. If a function needs to track frame number, it must comprehend both the PID and the time stamp. Table 5-73. SOF Packet Packet Width PID Frame Number CRC5 8 bits 11 bits 5 bits Intel® 82801CA ICH3-S Datasheet 187 Functional Description 5.16.5.3 Data Packets A data packet consists of a PID, a data field, and a CRC as shown in Table 5-74. There are two types of data packets, identified by differing PIDs: DATA0 and DATA1. Two data packet PIDs are defined to support data toggle synchronization. Data must always be sent in integral numbers of bytes. The data CRC is computed over only the data field in the packet and does not include the PID, which has its own check field. Table 5-74. Data Packet Format Packet Width PID DATA CRC16 8 bits 0-1023 bytes 16 bits 5.16.5.4 Handshake Packets Handshake packets consist of only a PID. Handshake packets are used to report the status of a data transaction and can return values indicating successful reception of data, flow control, and stall conditions. Only transaction types that support flow control can return handshakes. Handshakes are always returned in the handshake phase of a transaction and may be returned, instead of data, in the data phase. Handshake packets are delimited by an EOP after one byte of packet field. If a packet is decoded as an otherwise valid handshake but does not terminate with an EOP after one byte, it must be considered invalid and ignored by the receiver. There are three types of handshake packets: • ACK indicates that the data packet was received without bit stuff or CRC errors over the data field and that the data PID was received correctly. An ACK handshake is applicable only in transactions in which data has been transmitted and where a handshake is expected. ACK can be returned by the host for IN transactions and by a function for OUT transactions. • NAK indicates that a function was unable to accept data from the host (OUT) or that a function has no data to transmit to the host (IN). NAK can only be returned by functions in the data phase of IN transactions or the handshake phase of OUT transactions. The host can never issue a NAK. NAK is used for flow control purposes to indicate that a function is temporarily unable to transmit or receive data, but will eventually be able to do so without need of host intervention. NAK is also used by interrupt endpoints to indicate that no interrupt is pending. • STALL is returned by a function in response to an IN token or after the data phase of an OUT. STALL indicates that a function is unable to transmit or receive data, and that the condition requires host intervention to remove the stall. Once a function’s endpoint is stalled, the function must continue returning STALL until the condition causing the stall has been cleared through host intervention. The host is not permitted to return a STALL under any condition. 5.16.5.5 Handshake Responses IN Transaction A function may respond to an IN transaction with a STALL or NAK. If the token received was corrupted, the function will issue no response. If the function can transmit data, it will issue the data packet. The ICH3, as the USB host, can return only one type of handshake on an IN transaction, an ACK. If it receives a corrupted data, or cannot accept data due to a condition such as an internal buffer overrun, it discards the data and issues no response. 188 Intel® 82801CA ICH3-S Datasheet Functional Description OUT Transaction A function may respond to an OUT transaction with a STALL, ACK, or NAK. If the transaction contained corrupted data, it will issue no response. SETUP Transaction Setup defines a special type of host to function data transaction which permits the host to initialize an endpoint’s synchronization bits to those of the host. Upon receiving a Setup transaction, a function must accept the data. Setup transactions cannot be STALLed or NAKed and the receiving function must accept the Setup transfer’s data. If a non-control endpoint receives a SETUP PID, it must ignore the transaction and return no response. 5.16.6 USB Interrupts There are two general groups of USB interrupt sources, those resulting from execution of transactions in the schedule, and those resulting from an ICH3 operation error. All transactionbased sources can be masked by software through the ICH3’s Interrupt Enable Register. Additionally, individual transfer descriptors can be marked to generate an interrupt on completion. When the ICH3 drives an interrupt for USB, it internally drives the PIRQ[A]# pin for USB function #0, PIRQ[D]# pin for USB function #1, and the PIRQ[C]# pin for USB function #2, until all sources of the interrupt are cleared. In order to accommodate some operating systems, the Interrupt Pin Register must contain a different value for each function of this new multi-function device. 5.16.6.1 Transaction Based Interrupts These interrupts are not signaled until after the status for the last complete transaction in the frame has been written back to host memory. This guarantees that software can safely process through (Frame List Current Index -1) when it is servicing an interrupt. CRC Error / Time-Out A CRC/Time-out error occurs when a packet transmitted from the ICH3 to a USB device or a packet transmitted from a USB device to the ICH3 generates a CRC error. The ICH3 is informed of this event by a time-out from the USB device or by the ICH3’s CRC checker generating an error on reception of the packet. Additionally, a USB bus time-out occurs when USB devices do not respond to a transaction phase within 19 bit times of an EOP. Either of these conditions will cause the C_ERR field of the TD to decrement. When the C_ERR field decrements to zero, the following occurs: • • • • The active bit in the TD is cleared The stalled bit in the TD is set The CRC/Time-out bit in the TD is set. At the end of the frame, the USB error interrupt bit is set in the HC status register. If the CRC/Time-out interrupt is enabled in the Interrupt Enable Register, a hardware interrupt will be signaled to the system. Intel® 82801CA ICH3-S Datasheet 189 Functional Description Interrupt on Completion Transfer Descriptors contain a bit that can be set to cause an interrupt on their completion. The completion of the transaction associated with that block causes the USB interrupt bit in the HC Status Register to be set at the end of the frame in which the transfer completed. When a TD is encountered with the IOC bit set to 1, the IOC bit in the HC status register is set to 1 at the end of the frame if the active bit in the TD is set to 0 (even if it was set to zero when initially read). If the IOC enable bit of Interrupt Enable Register (bit 2 of I/O offset 04h) is set, a hardware interrupt is signaled to the system. The USB interrupt bit in the HC status register is set either when the TD completes successfully or because of errors. If the completion is because of errors, the USB error bit in the HC status register is also set. Short Packet Detect A transfer set is a collection of data which requires more than 1 USB transaction to completely move the data across the USB. An example might be a large print file which requires numerous TDs in multiple frames to completely transfer the data. Reception of a data packet that is less than the endpoint’s Max Packet size during Control, Bulk or Interrupt transfers signals the completion of the transfer set, even if there are active TDs remaining for this transfer set. Setting the SPD bit in a TD indicates to the HC to set the USB interrupt bit in the HC Status Register at the end of the frame in which this event occurs. This feature streamlines the processing of input on these transfer types. If the short packet interrupt enable bit in the Interrupt Enable Register is set, a hardware interrupt is signaled to the system at the end of the frame where the event occurred. Serial Bus Babble When a device transmits on the USB for a time greater than its assigned Max Length, it is said to be babbling. Since isochrony can be destroyed by a babbling device, this error results in the active bit in the TD being cleared to 0 and the Stalled and Babble bits being set to one. The C_ERR field is not decremented for a babble. The USB error interrupt bit in the HC status register is set to 1 at the end of the frame. A hardware interrupt is signaled to the system. If an EOF babble was caused by the ICH3 (due to incorrect schedule for instance), the ICH3 will force a bit stuff error followed by an EOP and the start of the next frame. Stalled This event indicates that a device/endpoint returned a STALL handshake during a transaction or that the transaction ended in an error condition. The TDs stalled bit is set and the active bit is cleared. Reception of a STALL does not decrement the error counter. A hardware interrupt is signaled to the system. Data Buffer Error This event indicates that an overrun of incoming data or a under-run of outgoing data has occurred for this transaction. This would generally be caused by the ICH3 not being able to access required data buffers in memory within necessary latency requirements. Either of these conditions will cause the C_ERR field of the TD to be decremented. When C_ERR decrements to zero, the active bit in the TD is cleared, the stalled bit is set, the USB error interrupt bit in the HC status register is set to 1 at the end of the frame and a hardware interrupt is signaled to the system. Bit Stuff Error A bit stuff error results from the detection of a sequence of more that 6 ones in a row within the incoming data stream. This will cause the C_ERR field of the TD to be decremented. When the C_ERR field decrements to zero, the active bit in the TD is cleared to 0, the stalled bit is set to one, the USB error interrupt bit in the HC status register is set to 1 at the end of the frame and a hardware interrupt is signaled to the system. 190 Intel® 82801CA ICH3-S Datasheet Functional Description 5.16.6.2 Non-Transaction Based Interrupts If an ICH3 process error or system error occur, the ICH3 halts and immediately issues a hardware interrupt to the system. Resume Received This event indicates that the ICH3 received a RESUME signal from a device on the USB bus during a global suspend. If this interrupt is enabled in the Interrupt Enable Register, a hardware interrupt will be signaled to the system allowing the USB to be brought out of the suspend state and returned to normal operation. ICH3 Process Error The HC monitors certain critical fields during operation to ensure that it does not process corrupted data structures. These include checking for a valid PID and verifying that the MaxLength field is less than 1280. If it detects a condition that would indicate that it is processing corrupted data structures, it immediately halts processing, sets the HC process error bit in the HC Status Register and signals a hardware interrupt to the system. This interrupt cannot be disabled through the Interrupt Enable Register. Host System Error The ICH3 sets this bit to 1 when a PCI Parity error, PCI Master Abort, or PCI Target Abort occur. When this error occurs, the ICH3 clears the run/stop bit in the USB Command Register to prevent further execution of the scheduled TDs. This interrupt cannot be disabled through the Interrupt Enable Register. 5.16.7 USB Power Management The Host Controller can be put into a suspended state and its power can be removed. This requires that certain bits of information are retained in the resume power plane of the ICH3 so that a device on a port may wake the system. Such a device may be a fax-modem, which will wake up the machine to receive a fax or take a voice message. The settings of the following bits in I/O space will be maintained when the ICH3 enters the S3, S4, or S5 states. Table 5-75. Bits Maintained in Low Power States Register Offset Bit Description Command Status Port Status and Control 00h 02h 10h & 12h 3 2 2 6 8 12 Enter Global Suspend Mode (EGSM) Resume Detect Port Enabled/Disabled Resume Detect Low Speed Device Attached Suspend When the ICH3 detects a resume event on any of its ports, it will set the corresponding USB_STS bit in ACPI space. If USB is enabled as a wake/break event, the system will wake up and an SCI will be generated. Intel® 82801CA ICH3-S Datasheet 191 Functional Description 5.16.8 USB Legacy Keyboard Operation When a USB keyboard is plugged into the system, and a standard keyboard is not, the system may not boot, and DOS legacy software will not run, because the keyboard will not be identified. The ICH3 implements a series of trapping operations which will snoop accesses that go to the keyboard controller, and put the expected data from the USB keyboard into the keyboard controller. Note: The scheme described below assumes that the keyboard controller (8042 or equivalent) is on the LPC bus. This legacy operation is performed through SMM space. Figure 5-18 shows the Enable and Status path. The latched SMI source (60R, 60W, 64R, 64W) is available in the status register. Because the enable is after the latch, it is possible to check for other events that didn't necessarily cause an SMI. It is the software's responsibility to logically AND the value with the appropriate enable bits. Note also that the SMI is generated before the PCI cycle completes (e.g., before TRDY# goes active) to ensure that the processor doesn't complete the cycle before the SMI is observed. This method is used on MPIIX and has been validated. The logic will also need to block the accesses to the 8042. If there is an external 8042, then this is simply accomplished by not activating the 8042 CS. This is simply done by logically ANDing the 4 enables (60R, 60W, 64R, 64W) with the 4 types of accesses to determine if 8042CS should go active. An additional term is required for the “Pass-through” case. The state table for the diagram is shown in Table 5-76. Figure 5-18. USB Legacy Keyboard Flow Diagram To Individual "Caused By" "Bits" S D PCI Config Read, Write Comb. Decoder Clear SMI_60_R R AND SMI Same for 60W, 64R, 64W OR EN_SMI_ON_60R KBC Accesses 60 READ EN_PIRQD# AND To PIRQD# To "Caused By" Bit USB_IRQ Clear USB_IRQ S R D AND EN_SMI_ON_IRQ 192 Intel® 82801CA ICH3-S Datasheet Functional Description Table 5-76. USB Legacy Keyboard State Transitions Current State Action Data Value Next State Comment IDLE 64h / Write D1h GateState1 Standard D1 command. Cycle passed through to 8042. SMI# doesn't go active. PSTATE (offset C0, bit 6) goes to 1. Bit 3 in the configuration register determines if cycle passed through to 8042 and if SMI# generated. Bit 2 in the configuration register determines if cycle passed through to 8042 and if SMI# generated. Bit 1 in the configuration register determines if cycle passed through to 8042 and if SMI# generated. Bit 0 in the configuration register determines if cycle passed through to 8042 and if SMI# generated. Cycle passed through to 8042, even if trap enabled in Bit 1 in the configuration register. No SMI# generated. PSTATE remains 1. If data value is not DFh or DDh then the 8042 may chose to ignore it. Cycle passed through to 8042, even if trap enabled via Bit 3 in the configuration register. No SMI# generated. PSTATE remains 1. Stay in GateState1 because this is part of the double-trigger sequence. Bit 3 in the configuration register determines if cycle passed through to 8042 and if SMI# generated. PSTATE goes to 0. If Bit 7 in the configuration register is set, then SMI# should be generated. This is an invalid sequence. Bit 0 in the configuration register determines if cycle passed through to 8042 and if SMI# generated. PSTATE goes to 0. If Bit 7 in the configuration register is set, then SMI# should be generated. Just stay in same state. Generate an SMI# if enabled in Bit 2 of the configuration register. PSTATE remains 1. Standard end of sequence. Cycle passed through to 8042. PSTATE goes to 0. Bit 7 in the Configuration Space determines if SMI# should be generated. Improper end of sequence. Bit 3 in the configuration register determines if cycle passed through to 8042 and if SMI# generated. PSTATE goes to 0. If Bit 7 in the configuration register is set, then SMI# should be generated. Just stay in same state. Generate an SMI# if enabled in Bit 2 of the configuration register. PSTATE remains 1. Improper end of sequence. Bit 1 in the configuration register determines if cycle passed through to 8042 and if SMI# generated. PSTATE goes to 0. If Bit 7 in the configuration register is set, then SMI# should be generated. Improper end of sequence. Bit 0 in the configuration register determines if cycle passed through to 8042 and if SMI# generated. PSTATE goes to 0. If Bit 7 in the configuration register is set, then SMI# should be generated. IDLE 64h / Write Not D1h IDLE IDLE 64h / Read N/A IDLE IDLE 60h / Write Don't Care IDLE IDLE 60h / Read N/A IDLE GateState1 60h / Write XXh GateState2 GateState1 64h / Write D1h GateState1 GateState1 64h / Write Not D1h ILDE GateState1 60h / Read N/A IDLE GateState1 64h / Read N/A GateState1 GateState2 64 / Write FFh IDLE GateState2 64h / Write Not FFh IDLE GateState2 64h / Read N/A GateState2 GateState2 60h / Write XXh IDLE GateState2 60h / Read N/A IDLE Intel® 82801CA ICH3-S Datasheet 193 Functional Description 5.17 SMBus 2.0 Controller Functional Description (D31:F3) The ICH3 provides a System Management Bus (SMBus) Specification, Version 2.0-compliant Host Controller as well as an SMBus Slave Interface. The Host Controller provides a mechanism for the processor to initiate communications with SMBus peripherals (slaves). The ICH3 is also capable of operating in a mode in which it can communicate with I2C* compatible devices. The ICH3 can perform SMBus messages with either packet error checking (PEC) enabled or disabled. The actual PEC calculation and checking is performed in software. The Slave Interface allows an external master to read from or write to the ICH3. Write cycles can be used to cause certain events or pass messages, and the read cycles can be used to determine the state of various status bits. The ICH3’s internal Host Controller cannot access the ICH3’s internal Slave Interface. The ICH3 SMBus logic exists in Device 31:Function 3 configuration space, and consists of a transmit data path, and host controller. The transmit data path provides the data flow logic needed to implement the seven different SMBus command protocols and is controlled by the host controller. The ICH3 SMBus controller logic is clocked by RTC clock. The SMBus Address Resolution Protocol (ARP) is supported by using the existing host controller commands through software, except for the new Host Notify command (which is actually a received message). The programming model of the host controller is combined into two portions: a PCI configuration portion, and a system I/O mapped portion. All static configuration, such as the I/O base address, is done via the PCI configuration space. Real-time programming of the Host interface is done in system I/O space. 5.17.1 Host Controller The SMBus Host Controller is used to send commands to other SMBus slave devices. Software sets up the host controller with an address, command, and, for writes, data and optional PEC; and then tells the controller to start. When the controller has finished transmitting data on writes, or receiving data on reads, it will generate an SMI# or interrupt, if enabled. The host controller supports 8 command protocols of the SMBus interface (see System Management Bus Specifications): Quick Command, Send Byte, Receive Byte, Write Byte/Word, Read Byte/Word, Process Call, Block Read/Write, and Host Notify. The SMBus Host Controller requires that the various data and command fields be setup for the type of command to be sent. When software sets the START bit, the SMBus Host Controller will perform the requested transaction, and interrupt the processor (or generate an SMI#) when the transaction is completed. Once a START command has been issued, the values of the “active registers” (i.e., host control, host command, transmit slave address, data 0, data 1) should not be changed or read until the interrupt status bit (INTR) has been set (indicating the completion of the command). Any register values needed for computation purposes should be saved prior to issuing of a new command, as the SMBus Host Controller will update all registers while completing the new command. Using the SMB Host Controller to send commands to the ICH3's SMB slave port is supported. 194 Intel® 82801CA ICH3-S Datasheet Functional Description The ICH3 supports slave functionality, including the Host Notify protocol, on the SMLink pins. Therefore, in order to be fully compliant with the System Management Bus (SMBus) Specification, Version 2.0 (which requires the Host Notify protocol), the SMLink and SMBus signals should be tied together externally. 5.17.1.1 Command Protocols In all of the following commands, the Host Status Register (offset 00h) is used to determine the progress of the command. While the command is in operation, the HOST_BUSY bit is set. If the command completes successfully, the INTR bit will be set in the Host Status Register. If the device does not respond with an acknowledge, and the transaction times out, the DEV_ERR bit is set. If software sets the KILL bit in the Host Control Register while the command is running, the transaction will stop and the FAILED bit will be set. Quick Command When programmed for a Quick command, the Transmit Slave Address Register is sent. The PEC byte is never appended to the Quick protocol. Software should force the PEC_EN bit to 0 when performing the Quick command. The Quick command with I2C_EN set produces undefined results. Software should force the I2C_EN bit to 0 when performing the Quick command. The format of the protocol is shown in Table 5-77. Table 5-77. Quick Protocol Bit Description 1 2–8 9 10 11 Start Condition Slave Address–7 bits Read / Write Direction Acknowledge from slave Stop Intel® 82801CA ICH3-S Datasheet 195 Functional Description Send Byte / Receive Byte For the Send Byte command, the Transmit Slave Address and Device Command Registers are sent For the Receive Byte command, the Transmit Slave Address Register is sent. The data received is stored in the Data 0 Register. The Receive Byte is similar to a Send Byte, the only difference is the direction of data transfer. The format of the protocol is shown in Table 5-78. and Table 5-79. The Send Byte / Receive Byte command with I2C_EN set produces undefined results. Software should force the I2C_EN bit to 0 when running this command. Table 5-78. Send / Receive Byte Protocol without PEC Send Byte Protocol Bit Description Bit Receive Byte Protocol Description 1 2–8 9 10 11–18 19 20 Start Slave Address–7 bits Write Acknowledge from slave Command code–8 bits Acknowledge from slave Stop 1 2–8 9 10 11–18 19 20 Start Slave Address–7 bits Read Acknowledge from slave Data byte from slave NOT Acknowledge Stop Table 5-79. Send/Receive byte Protocol with PEC Send Byte Protocol Bit Description Bit Receive Byte Protocol Description 1 2–8 9 10 11–18 19 20–2728 29 Start Slave Address–7 bits Write Acknowledge from slave Command code–8 bits Acknowledge from slave PEC Acknowledge from slave Stop 1 2–8 9 10 11–18 19 20–27 28 29 Start Slave Address–7 bits Read Acknowledge from slave Data byte from slave Acknowledge PEC from slave Not Acknowledge Stop 196 Intel® 82801CA ICH3-S Datasheet Functional Description Write Byte/Word The first byte of a Write Byte/Word access is the command code. The next 1 or 2 bytes are the data to be written. When programmed for a Write Byte/Word command, the transmit slave address, device command, and Data 0 Registers are sent. In addition, the Data 1 Register is sent on a Write Word command. The Write Byte / Word command with I2C_EN set produces undefined results. Software should force the I2C_EN bit to 0 when running this command. The format of the protocol is shown in Table 5-80 and Table 5-81. Table 5-80. Write Byte/Word Protocol without PEC Write Byte Protocol Bit Description Bit Write Word Protocol Description 1 2–8 9 10 11–18 19 20–27 28 29 Start Slave Address–7 bits Write Acknowledge from slave Command code–8 bits Acknowledge from slave Data Byte–8 bits Acknowledge from Slave Stop 1 2–8 9 10 11–18 19 20–27 28 29–36 37 38 Start Slave Address–7 bits Write Acknowledge from slave Command code–8 bits Acknowledge from slave Data Byte Low–8 bits Acknowledge from Slave Data Byte High–8 bits Acknowledge from slave Stop Table 5-81. Write Byte/Word Protocol with PEC Write Byte Protocol Bit Description Bit Write Word Protocol Description 1 2–8 9 10 11–18 19 20–27 28 29–36 37 38 Start Slave Address–7 bits Write Acknowledge from slave Command code–8 bits Acknowledge from slave Data Byte–8 bits Acknowledge from Slave PEC Acknowledge from Slave Stop 1 2–8 9 10 11–18 19 20–27 28 29–36 37 38–45 46 47 Start Slave Address–7 bits Write Acknowledge from slave Command code–8 bits Acknowledge from slave Data Byte Low–8 bits Acknowledge from Slave Data Byte High–8 bits Acknowledge from slave PEC Acknowledge from slave Stop Intel® 82801CA ICH3-S Datasheet 197 Functional Description Read Byte/Word Reading data is slightly more complicated than writing data. First the ICH3 must write a command to the slave device. Then it must follow that command with a repeated start condition to denote a read from that device's address. The slave then returns 1 or 2 bytes of data. When programmed for the Read Byte/Word command, the Transmit Slave Address and Device Command Registers are sent. Data is received into the data 0 on the read byte, and the Data 0 and Data 1 Registers on the Read Word command. The Read Byte / Word command with I2C_EN set produces undefined results. Software should force the I2C_EN bit to 0 when running this command. The format of the protocol is shown in Table 5-82 and Table 5-83. Table 5-82. Read Byte/Word Protocol without PEC Read Byte Protocol Bit Description Bit Read Word Protocol Description 1 2–8 9 10 11–18 19 20 21–27 28 29 30–37 38 39 Start Slave Address–7 bits Write Acknowledge from slave Command code–8 bits Acknowledge from slave Repeated Start Slave Address–7 bits Read Acknowledge from slave Data from slave–8 bits NOT acknowledge Stop 1 2–8 9 10 11–18 19 20 21–27 28 29 30–37 38 39–46 47 48 Start Slave Address–7 bits Write Acknowledge from slave Command code–8 bits Acknowledge from slave Repeated Start Slave Address–7 bits Read Acknowledge from slave Data Byte Low from slave–8 bits Acknowledge Data Byte High from slave–8 bits NOT acknowledge Stop 198 Intel® 82801CA ICH3-S Datasheet Functional Description Table 5-83. Read Byte/Word Protocol with PEC Read Byte Protocol Bit Description Bit Read Word Protocol Description 1 2–8 9 10 11–18 19 20 21–27 28 29 30–37 38 39–46 47 48 Start Slave Address–7 bits Write Acknowledge from slave Command code–8 bits Acknowledge from slave Repeated Start Slave Address–7 bits Read Acknowledge from slave Data from slave–8 bits Acknowledge PEC from slave NOT Acknowledge Stop 1 2–8 9 10 11–18 19 20 21–27 28 29 30–37 38 39–46 47 48–55 56 57 Start Slave Address–7 bits Write Acknowledge from slave Command code–8 bits Acknowledge from slave Repeated Start Slave Address–7 bits Read Acknowledge from slave Data Byte Low from slave–8 bits Acknowledge Data Byte High from slave–8 bits Acknowledge PEC from slave NOT acknowledge Stop Intel® 82801CA ICH3-S Datasheet 199 Functional Description Process Call The process call is so named because a command sends data and waits for the slave to return a value dependent on that data. The protocol is simply a Write Word followed by a Read Word, but without a second command or stop condition. When programmed for the Process Call command, the ICH3 transmits the Transmit Slave Address, Host Command, Data 0, and Data 1 Registers. Data received from the device is stored in the Data 0 and Data 1 Registers. The Process Call command with I2C_EN set and the PEC_EN bit set produces undefined results. Software must force either I2C_EN or PEC_EN to 0 when running this command. The format of the protocol is shown in Table 5-84 and Table 5-85. Note: For Process Call command, the value written into bit 0 of the Transmit Slave Address Register (SMB I/O Register, offset 04h) needs to be 0. Table 5-84. Process Call Protocol without PEC Bit Description 1 2–8 9 10 11–18 19 20–27 28 29–36 37 38 39–45 46 47 48–55 56 57–64 65 66 Start Slave Address–7 bits Write Acknowledge from Slave Command code–8 bits (skip this step if I2C_EN bit is set) Acknowledge from slave (skip this step if I2C_EN bit is set) Data byte Low–8 bits Acknowledge from slave Data Byte High–8 bits Acknowledge from slave Repeated Start Slave Address–7 bits Read Acknowledge from slave Data Byte Low from slave–8 bits Acknowledge Data Byte High from slave–8 bits NOT acknowledge Stop 200 Intel® 82801CA ICH3-S Datasheet Functional Description Table 5-85. Process Call Protocol with PEC Bit Description 1 2–8 9 10 11–18 19 20–27 28 29–36 37 38 39–45 46 47 48–55 56 57–64 65 66–73 74 75 Start Slave Address–7 bits Write Acknowledge from Slave Command code–8 bits Acknowledge from slave Data byte Low–8 bits Acknowledge from slave Data Byte High–8 bits Acknowledge from slave Repeated Start Slave Address–7 bits Read Acknowledge from slave Data Byte Low from slave–8 bits Acknowledge Data Byte High from slave–8 bits Acknowledge PEC from slave NOT acknowledge Stop Block Read/Write The Block Write begins with a slave address and a write condition. After the command code, the ICH3 issues a byte count which describes how many more bytes will follow in the message. If a slave had 20 bytes to send, the first byte would be the number 20 (14h), followed by the 20 bytes of data. The byte count may not be 0. Note that, unlike the PIIX4, which implements 32-byte buffer for Block Read/Write command, the ICH3 implements the block data byte register (D31:F3, I/O offset 07h) for Block Read/Write command. When programmed for a Block Write command, the Transmit Slave Address, Host Command, and Data 0 (count) Registers are sent. Data is then sent from the block data byte register. After the byte has been sent, the ICH3 will set the BYTE_DONE_STS bit in the Host Status Register. If there are more bytes to send, the software will write the next byte to the block data byte register and will also clear the BYTE_DONE_STS bit. The ICH3 will then send the next byte. When doing a block write, first poll the BYTE_DONE_STS Register until it is set, then write the next byte, then clear the BYTE_DONE_STS Register. On block read commands, after the byte count is stored in the Data 0 Register, the first data byte goes in the block data byte register; the ICH3 will then set the BYTE_DONE_STS bit and generate an SMI# or interrupt. The SMI# or interrupt handler will read the byte and then clear the BYTE_DONE_STS bit to allow the next byte to be read into the block data byte register. Note that Intel® 82801CA ICH3-S Datasheet 201 Functional Description after receiving data byte N–1 of the block, the software needs to set the LAST_BYTE bit in the Host Control Register; this allows the ICH3 to send a NOT ACK (instead of an ACK) after receiving the last data byte (byte N) of the block. After each byte of a block message the ICH3 sets the BYTE_DONE_STS bit and generates an interrupt or SMI#. Software clears the BYTE_DONE_STS bit before the next transfer occurs. When the interrupt handler clears the BYTE_DONE_STS bit after the last byte has been transferred, the ICH3 will set the INTR bit and generate another interrupt to signal the end of the block transfer. Thus, for a block message of n bytes, the ICH3 will generate n+1 interrupts. The interrupt handler needs to be implemented to handle all of these interrupts. The format of the Block Read/Write protocol is shown in Table 5-86 and Table 5-87. Note: For Block Write, if the I2C_EN bit is set, the format of the command changes slightly. The ICH3 will still send the number of bytes indicated in the Data 0 Register. However, it will not send the contents of the Data 0 Register as part of the message. The Block Write command with I2C_EN set and the PEC_EN bit set produces undefined results. Software must force the PEC_EN bit to 0 when running this command. l Table 5-86. Block Read/Write Protocol without PEC Block Write Protocol Bit Description Bit Block Read Protocol Description 1 2–8 9 10 11–18 19 20–27 28 29–36 37 38–45 46 ... ... ... ... Start Slave Address–7 bits Write Acknowledge from slave Command code–8 bits Acknowledge from slave Byte Count–8 bits (Skip this step if I2C_EN bit set) Acknowledge from Slave (Skip this step if I2C_EN bit set) Data Byte 1–8 bits Acknowledge from Slave Data Byte 2–8 bits Acknowledge from slave Data Bytes / Slave Acknowledges... Data Byte N–8 bits Acknowledge from Slave Stop 1 2–8 9 10 11–18 19 20 21–27 28 29 30–37 38 39–46 47 48–55 56 ... ... ... ... Start Slave Address–7 bits Write Acknowledge from slave Command code–8 bits Acknowledge from slave Repeated Start Slave Address–7 bits Read Acknowledge from slave Byte Count from slave–8 bits Acknowledge Data Byte 1 from slave–8 bits Acknowledge Data Byte 2 from slave–8 bits Acknowledge Data Bytes from slave/Acknowledge Data Byte N from slave–8 bits NOT Acknowledge Stop 202 Intel® 82801CA ICH3-S Datasheet Functional Description Table 5-87. Block Read/Write Protocol with PEC Block Write Protocol Bit Description Bit Block Read Protocol Description 1 2–8 9 10 11–18 19 20–27 28 29–36 37 38–45 46 ... ... ... ... ... ... Start Slave Address–7 bits Write Acknowledge from slave Command code–8 bits Acknowledge from slave Byte Count–8 bits (Skip this step if I2C_EN bit set) Acknowledge from Slave (Skip this step if I2C_EN bit set) Data Byte 1–8 bits Acknowledge from Slave Data Byte 2–8 bits Acknowledge from slave Data Bytes / Slave Acknowledges... Data Byte N–8 bits Acknowledge from Slave PEC–8 bits Acknowledge from Slave Stop 1 2–8 9 10 11–18 19 20 21–27 28 29 30–37 38 39–46 47 48–55 56 ... ... ... ... ... ... Start Slave Address–7 bits Write Acknowledge from slave Command code–8 bits Acknowledge from slave Repeated Start Slave Address–7 bits Read Acknowledge from slave Byte Count from slave–8 bits Acknowledge Data Byte 1 from slave–8 bits Acknowledge Data Byte 2 from slave–8 bits Acknowledge Data Bytes from slave/Acknowledge Data Byte N from slave–8 bits Acknowledge PEC from slave–8 bits NOT Acknowledge Stop 5.17.1.2 I2C Behavior When the I2C _EN bit is set, the ICH3 SMBus logic is instead set to communicate with I2C devices. This forces the following changes: 1. The Process Call command skips the Command code (and its associated acknowledge) 2. The Block Write command skips sending the Byte Count (data 0) 5.17.1.3 Heartbeat for Use with the External LAN Controller This method allows the ICH3 to send messages to an external LAN Controller when the processor is otherwise unable to do so. It uses the SMLINK I/F between the ICH3 and the external LAN Controller. The actual Heartbeat message is a Block Write. Only 8 bytes are sent. Intel® 82801CA ICH3-S Datasheet 203 Functional Description 5.17.2 Bus Arbitration Several masters may attempt to get on the bus at the same time by driving the SMBDATA line low to signal a start condition. The ICH3 must continuously monitor the SMBDATA line. When the ICH3 is attempting to drive the bus to a 1 by letting go of the SMBDATA line, and it samples SMBDATA low, then some other master is driving the bus and the ICH3 must stop transferring data. If the ICH3 sees that it has lost arbitration, the condition is called a collision. The ICH3 sets the BUS_ERR bit in the Host Status Register, and if enabled, generates an interrupt or SMI#. The processor is responsible for restarting the transaction. When the ICH3 is a SMBus master, it drives the clock. When the ICH3 is sending address or command as an SMBus master, or data bytes as a master on writes, it drives data relative to the clock it is also driving. It does not start toggling the clock until the start or stop condition meets proper setup and hold time. The ICH3 also guarantees minimum time between SMBus transactions as a master. The ICH3 supports the same arbitration protocol for both the SMBus and the System Management (SMLINK) interfaces. 5.17.3 5.17.3.1 Bus Timing Clock Stretching Some devices may not be able to handle their clock toggling at the rate that the ICH3 as an SMBus master would like. They have the capability of stretching the low time of the clock. When the ICH3 attempts to release the clock (allowing the clock to go high), the clock remains low for an extended period of time. The ICH3 must monitor the SMBus clock line after it releases the bus to determine whether to enable the counter for the high time of the clock. While the bus is still low, the high time counter must not be enabled. Similarly, the low period of the clock can be stretched by an SMBus master if it is not ready to send or receive data. 5.17.3.2 Bus Time Out (Intel® ICH3 as SMBus Master) If there is an error in the transaction, such that an SMBus device does not signal an acknowledge, or holds the clock lower than the allowed time-out time, the transaction will time out. The ICH3 will discard the cycle, and set the DEV_ERR bit. The time out minimum is 25 ms. The time-out counter inside the ICH3 starts after the last bit of data is transferred by the ICH3 and it is waiting for a response. The 25 ms is a count of 800 RTC clocks. 204 Intel® 82801CA ICH3-S Datasheet Functional Description 5.17.4 Interrupts / SMI# The ICH3 SMBus controller uses PIRQB# as its interrupt pin. However, the system can alternatively be set up to generate SMI# instead of an interrupt, by setting the SMBUS_SMI_EN bit. Table 5-89 and Table 5-90 specify how the various enable bits in the SMBus function control the generation of the interrupt, Host and Slave SMI, and Wake internal signals. The rows in the tables are additive, which means that if more than one row is true for a particular scenario then the Results for all of the activated rows will occur. Table 5-88. Enable for SMBALERT# Event INTREN (Host Control I/O Register, Offset 02h, Bit 0) SMB_SMI_EN (Host Configuration Register, D31:F3:Offset 40h, Bit 1) SMBALERT_DIS (Slave Command I/O Register, Offset 11h, Bit 2) Result X SMBALERT# asserted low (always reported in Host Status Register, Bit 5) X X Wake generated Slave SMI# generated (SMBUS_SMI_S TS) Interrupt generated X 1 0 1 0 0 Table 5-89. Enables for SMBus Slave Write and SMBus Host Events Event INTREN (Host Control I/O Register, Offset 02h, Bit 0) SMB_SMI_EN (Host Configuration Register, D31:F3:Offset 40h, Bit1) Result Slave Write to Wake/ SMI# Command Slave Write to SMLINK_SLAVE_SMI Command Any combination of Host Status Register [4:1] asserted X X Wake generated when asleep. Slave SMI# generated when awake (SMBUS_SMI_STS). Slave SMI# generated when in the S0 state (SMBUS_SMI_STS) None Interrupt generated Host SMI# generated X 0 1 1 X X 0 1 Table 5-90. Enables for the Host Notify Command HOST_NOTIFY_INTREN SMB_SMI_EN (Host HOST_NOTIFY_WKEN (Slave Control I/O Configuration Register, (Slave Control I/O Register, Offset 11h, Bit 0) D31:F3:Off40h, Bit 1) Register, Offset 11h, Bit 1) Result 0 X 1 1 X X 0 1 0 1 X X None Wake generated Interrupt generated Slave SMI# generated (SMBUS_SMI_STS) Intel® 82801CA ICH3-S Datasheet 205 Functional Description 5.17.5 SMBALERT# SMBALERT# is multiplexed with GPIO[11]. When enable and the signal is asserted, The ICH3 can generate an interrupt, an SMI# or a wake event from S1–S4. Note: Any event on SMBALERT# (regardless whether it is programmed as a GPIO or not), causes the event message to be sent in “heartbeat mode.” 5.17.6 SMBus Slave Interface The ICH3’s SMBus Slave interface is accessed via the SMLINK[1:0] signals. The SMBus slave logic will not generate or handle receiving the PEC byte and will only act as a Legacy Alerting Protocol (Alert on LAN) device. The slave interface allows the ICH3 to decode cycles, and allows an external microcontroller to perform specific actions. Key features and capabilities include: • Supports decode of three types of messages: Byte Write, Byte Read, and Host Notify • Receive Slave Address Register: This is the address that the ICH3 decodes. A default value is provided so that the slave interface can be used without the processor having to program this register. • Receive Slave Data Register in the SMBus I/O space that includes the data written by the external microcontroller • Registers that the external microcontroller can read to get the state of the ICH3. See Table 5-95 • Status bits to indicate that the SMLink/SMBus slave logic caused an interrupt or SMI# due to the reception of a message that matched the slave address. — Bit 0 of the Slave Status Register for the Host Notify command — Bit 16 of the SMI Status Register (Section 9.8.3.12) for all others If a master leaves the clock and data bits of the SMLink interface at '1' for 50 µs or more in the middle of a cycle, the ICH3 slave logic's behavior is undefined. This is interpreted as an unexpected idle and should be avoided when performing management activities to the slave logic. When an external microcontroller accesses the SMBus Slave Interface over the SMLink, a translation in the address is needed to accommodate the least significant bit used for read/write control. For example, if the ICH3 slave address (RCV_SLVA) is left at 44h (default), the external microcontroller would use an address of 88h/89h (write/read). 206 Intel® 82801CA ICH3-S Datasheet Functional Description 5.17.6.1 Format of Slave Write Cycle The external master performs Byte Write commands to the ICH3 SMBus Slave I/F. The “command” field (bits 11–18) indicate which register is being accessed. The Data field (bits 20–27) indicate the value that should be written to that register. The Write Cycle format is shown below in Table 5-91. Table 5-92 has the values associated with the registers. Table 5-91. Slave Write Cycle Format Bits Description Driven by Comment 1 2–8 9 10 Start Condition Slave Address–7 bits Write ACK External Microcontroller External Microcontroller External Microcontroller ICH3 This field indicates which register will be accessed. See Table 5-92 below for the register definitions Must match value in Receive Slave Address Register Always 0 11–18 Command External Microcontroller 19 20–27 28 29 ACK Register Data ACK Stop ICH3 External Microcontroller ICH3 External Microcontroller See Table 5-92 below for the register definitions Table 5-92. Slave Write Registers Register Function 0 1–3 4 5 6–7 8 9–FFh Command Register. See Table 5-93 for legal values written to this register. Reserved Data Message Byte 0 Data Message Byte 1 Reserved Frequency Straps will be written on bits 3:0. Bits 7:4 should be 0, but will be ignored. Reserved NOTE: The external microcontroller is responsible to make sure that it does not update the contents of the data byte registers until they have been read by the system processor. The ICH3 will overwrite the old value with any new value received. A race condition is possible where the new value is being written to the register just at the time it is being read. ICH3 will not attempt to cover this race condition (i.e., unpredictable results in this case). Intel® 82801CA ICH3-S Datasheet 207 Functional Description . Table 5-93. Command Types Command Type Description 0 Reserved WAKE/SMI#: Wake system if it is not already awake. If system is already awake, then an SMI# will be generated. Note: The SMB_WAK_STS bit will be set by this command, even if the system is already awake. The SMI handler should then clear this bit. Unconditional Powerdown: This command sets the PWRBTNOR_STS bit, and has the same effect as the Powerbutton Override occurring. HARD RESET WITHOUT CYCLING: The will cause a hard reset of the system (does not include cycling of the power supply). This is equivalent to a write to the CF9h register with bits 2:1 set to 1, but bit 3 set to 0. HARD RESET SYSTEM: The will cause a hard reset of the system (including cycling of the power supply). This is equivalent to a write to the CF9h register with bits 3:1 set to 1. Disable the TCO Messages. This command will disable the ICH3 from sending Heartbeat and Event messages (as described in Section 5.13.2). Once this command has been executed, Heartbeat and Event message reporting can only be re-enabled by assertion and deassertion of the RSMRST# signal. WD RELOAD: Reload watchdog timer. 1 2 3 4 5 6 7 Reserved SMLINK_SLV_SMI. When ICH3 detects this command type while in the S0 state, it sets the SMLINK_SLV_SMI_STS bit (see Section 9.9.8). This command should only be used if the system is in an S0 state. If the message is received during S1–S5 states, the ICH3 acknowledges it, but the SMLINK_SLV_SMI_STS bit does not get set. Note: It is possible that the system transitions out of the S0 state at the same time that the SMLINK_SLV_SMI command is received. In this case, the SMLINK_SLV_SMI_STS bit may get set but not serviced before the system goes to sleep. Once the system returns to S0, the SMI associated with this bit would then be generated. Software must be able to handle this scenario. Reserved 8 9–FFh 208 Intel® 82801CA ICH3-S Datasheet Functional Description 5.17.6.2 Format of Read Command The external master performs Byte Read commands to the ICH3 SMBus Slave I/F. The “Command” field (bits 11–18) indicate which register is being accessed. The Data field (bits 30–37) contain the value that should be read from that register. Table 5-94 shows the Read Cycle format. Table 5-95 shows the register mapping for the data byte. Table 5-94. Read Cycle Format Bit Description Driven By Comment 1 2–8 9 10 11–18 19 20 21–27 28 29 30–37 38 39 Start Slave Address–7 bits Write ACK Command code – 8 bits ACK Repeated Start Slave Address–7 bits Read ACK Data Byte NOT ACK Stop External Microcontroller External Microcontroller External Microcontroller ICH3 External Microcontroller ICH3 External Microcontroller External Microcontroller External Microcontroller ICH3 ICH3 External Microcontroller External Microcontroller Value depends on register being accessed. See Table 5-95. Must match value in Receive Slave Address Register Always 1 Indicates which register is being accessed. See Table 5-95. Must match value in Receive Slave Address Register Always 0 Intel® 82801CA ICH3-S Datasheet 209 Functional Description Table 5-95. Data Values for Slave Read Registers Register Bits Description 0 1 1 2 2 3 3 4 4 4 4 4 7:0 2:0 7:3 3:0 7:4 5:0 7:6 0 1 2 3 6:4 Reserved. System Power State 000 = S0 001 = S1 010 = Reserved 011 = S3 100 = S4 101 = S5 110 = Reserved 111 = Reserved Reserved Frequency Strap Register Reserved Watchdog Timer current value Reserved 1 = The Intruder Detect (INTRD_DET) bit is set. This indicates that the system cover has probably been opened. 1 = BTI Temperature Event occurred. This bit will be set if the ICH3’s THRM# input signal is active. Need to take after polarity control. Boot-Status. This bit will be 1 when boot failed This bit will be set after the TCO timer times out a second time (Both TIMEOUT and SECOND_TO_STS bits set). Reserved. The bit will reflect the state of the GPI[11]/SMBALERT# signal, and will depend on the GP_INV[11] bit. It does not matter if the pin is configured as GPI[11] or SMBALERT#. • If the GP_INV[11] bit is 1 then the value of register 4, bit 7 will equal the level of the GPI[11]/SMBALERT# pin (high = 1, low = 0). • If the GP_INV[11] bit is 0 then the value of register 4, bit 7 will equal the inverse of the level of the GPI[11]/SMBALERT# pin (high = 1, low = 0). Unprogrammed FWH bit. This bit will be 1 to indicate that the first BIOS fetch returned FFh, which indicates that the FWH is probably blank. Reserved Contents of the Message 1 register. See Section 9.9.10. Contents of the Message 2 register. See Section 9.9.10. Contents of the WDSTATUS register. See Section 9.9.11. Reserved 4 7 5 5 6 7 8 9–FFh 0 7:1 7:0 7:0 7:0 7:0 5.17.6.2.1 Behavioral Notes According to SMBus protocol, Read and Write messages always begin with a start bit–address– write bit sequence. When the ICH3 detects that the address matches the value in the Receive Slave Address Register, it will assume that the protocol is always followed and ignore the write bit (bit 9) and signal an Acknowledge during bit 10 (See Table 5-91 and Table 5-94). In other words, if a Start–Address–Read occurs (which is illegal for SMBus Read or Write protocol), and the address matches the ICH3’s Slave Address, the ICH3 will still grab the cycle. Also according to SMBus protocol, a Read cycle contains a Repeated Start–Address–Read sequence beginning at bit 20 (See Table 5-94). Once again, if the Address matches the ICH3’s Receive Slave Address, it will assume that the protocol is followed, ignore bit 28, and proceed with the Slave Read cycle. Note: An external microcontroller must not attempt to access the ICH3’s SMBus Slave logic until at least 1 second after both RTCRST# and RSMRST# are deasserted (high). 210 Intel® 82801CA ICH3-S Datasheet Functional Description 5.17.6.3 Format of Host Notify Command The ICH3 tracks and responds to the standard Host Notify command as specified in the SMBus 2.0 specification. The host address for this command is fixed to 0001000b. If the ICH3 already has data for a previously-received host notify command which has not been serviced yet by the host software (as indicated by the HOST_NOTIFY_STS bit), then it will NACK following the host address byte of the protocol. This allows the host to communicate non-acceptance to the master and retain the host notify address and data values for the previous cycle until host software completely services the interrupt. Note: Host software must always clear the HOST_NOTIFY_STS bit after completing any necessary reads of the address and data registers. Table 5-96 shows the Host Notify format. Table 5-96. Host Notify Format Bit Description Driven by Comment 1 2–8 9 10 Start External Master Always 0001_000 Always 0 ICH3 NACKs if HOST_NOTIFY_STS is 1 Indicates the address of the master; loaded into the notify device address register 7-bit-only address; this bit is inserted to complete the byte SMB Host Address–7 bits External Master Write ACK (or NACK) External Master ICH3 11–17 Device Address – 7 bits External Master 18 19 20–27 28 29–36 37 38 Unused–Always 0 ACK Data Byte Low–8 bits ACK Data Byte High–8 bits ACK Stop External Master ICH3 External Master ICH3 External Master ICH3 External Master Loaded into the notify Data Low Byte Register Loaded into the notify Data High Byte Register Intel® 82801CA ICH3-S Datasheet 211 Functional Description 5.18 Note: AC ’97 Controller Functional Description (Audio D31:F5, Modem D31:F6) All references to AC ’97 in this document refer to the Audio Codec ’97, Revision 2.2 specification. For further information on the operation of the AC-link protocol, please see the Audio Codec ’97, Revision 2.2 specification. The ICH3 AC ’97 Controller features include: • Independent PCI functions for audio and modem. • Independent bus master logic for Mic input, PCM Audio input (2-channel stereo), PCM audio output (2, 4 or 6-channel stereo), Modem input and Modem output. • 16-bit sample resolution • Multiple sample rates up to 48 kHz • 16 GPIOs • Single modem line • Dual codec configuration with two SDIN pins Table 5-97 shows a detailed list of features supported by the ICH3 AC ’97 digital controller. . Table 5-97. Features Supported by Intel® ICH3 Feature Description System Interface • Isochronous low latency bus master memory interface • Scatter/gather support for word-aligned buffers in memory (all mono or stereo 16-bit data types are supported, no 8-bit data types are supported) • Data buffer size in system memory from 3 to 65535 samples per input • Data buffer size in system memory from 0 to 65535 samples per output • Independent PCI audio and modem functions with configuration and I/O spaces • AC ’97 codec registers are shadowed in system memory via driver (not PCI I/O space) • AC ’97 codec register accesses are serialized via semaphore bit in PCI I/O space (new accesses are not allowed while a prior access is still in progress) • Power management via ACPI control methods Support for audio states: D0, D2, D3hot, D3cold Support for modem states: D0, D3hot, D3cold • SCI event generation for PCI modem function with wake-up from D3cold • Independent codec D3 w/ Link down event, synchronized via two-bit semaphore (in PCI I/O Space) • Read/write access to audio codec registers 00h–3Ah and vendor registers 5Ah–7Eh • 16-bit stereo PCM output, up to 48 kHz (L,R, Center, Sub-woofer, L-rear and R-rear channels on slots 3,4,6,7,8.9) • 16-bit stereo PCM input, up to 48 kHz (L,R channels on slots 3,4) • 16-bit mono mic in w/ or w/o mono mix, up to 48 kHz (L,R channel, slots 3,4) (mono mix supports mono hardware AEC reference for speakerphone) • 16-bit mono PCM input, up to 48 kHz from dedicated mic ADC (slot 6) (supports speech recognition or stereo hardware AEC ref for speakerphone) • During cold reset AC_RST# is held low until after POST and software deassertion of AC_RST# (supports passive PC_BEEP to speaker connection during POST) Power Management PCI Audio Function 212 Intel® 82801CA ICH3-S Datasheet Functional Description Table 5-97. Features Supported by Intel® ICH3 (Continued) Feature Description PCI Modem Function • Read/write access to modem codec registers 3Ch–58h and vendor registers 5Ah– 7Eh • 16-bit mono modem line1 output and input, up to 48 kHz (slot 5) • Low latency GPIO[15:0] via hardwired update between slot 12 and PCI I/O register • Programmable PCI interrupt on modem GPIO input changes via slot 12 GPIO_INT • SCI event generation on primary or secondary SDIN wake-up signal • Audio Codec ’97, Revision 2.2 compliant AC-link interface • Variable sample rate output support via AC ’97 SLOTREQ protocol (slots 3,4,5,6,7,8,9) • Variable sample rate input support via monitoring of slot valid tag bits (slots 3,4,5,6) • 3.3 V digital operation meets Audio Codec ’97, Revision 2.2 DC switching levels • AC-Link I/O driver capability meets Audio Codec ’97, Revision 2.2 dual codec specifications • Codec register status reads must be returned with data in the next AC-link frame, per Audio Codec ’97, Revision 2.2. • Dual codec addressing: All AC ’97 codec register accesses are addressable to codec ID 00 (primary) or codec ID 01 (secondary) • Dual codec receive capability via primary and secondary SDIN pins (primary, secondary SDIN frames are internally validated, synch’d, and OR’d) AC-Link Multiple Codec Note: Throughout this document, references to D31:F5 indicate that the audio function exists in PCI Device 31, Function 5. References to D31:F6 indicate that the modem function exists in PCI Device 31, Function 6. Figure 5-19. Intel® ICH3 Based Audio Codec ’97, Revision 2.2 Audio In (Record) PC Audio Out (Playback) Modem Mic. Intel® 82801CA ICH3-S Datasheet 213 Functional Description 5.18.1 AC-Link The ICH3 is an Audio Codec ’97, Revision 2.2 controller that communicates with companion codecs via a digital serial link called the AC-link. All digital audio/modem streams and command/ status information is communicated over the AC-link. The AC-link is a bi-directional, serial PCM digital stream. It handles multiple input and output data streams, as well as control register accesses, employing a time division multiplexed (TDM) scheme. The AC-link architecture provides for data transfer through individual frames transmitted in a serial fashion. Each frame is divided into 12 outgoing and 12 incoming data streams, or slots. The architecture of the ICH3 AC-link allows a maximum of two codecs to be connected. Figure 5-20 shows a two codec topology of the AC-link for the ICH3. Figure 5-20. Audio Codec ’97, Revision 2.2 Controller-Codec Connection Digital AC'97 2.2 Controller RESET# A C'97 2.2 Controller Section of the ICH SDOUT SYNC BIT_CLK Prim ary Codec AC'97 / AC'97 2.2 / AMC'97 2.2 SDIN 0 SDIN 1 A C'97 / M C '97 2.2 / AMC'97 2.2 Secondary Codec The AC-link consists of a five signal interface between the controller and codec. Table 5-98 indicates the AC-link signal pins on the ICH3 and their associated power wells. Table 5-98. AC ’97 Signals Signal Name Type Power Well1 Description AC_RESET# AC_SYNC AC_BIT_CLK AC_SDOUT AC_SDIN 0 AC_SDIN 1 Output Output Input Output Input Input Resume Core Core Core Resume Resume Master hardware reset 48 kHz fixed rate sample sync 12.288 MHz Serial data clock Serial output data Serial input data Serial input data NOTES: 1. Power well voltage levels are 3.3 V 214 Intel® 82801CA ICH3-S Datasheet Functional Description ICH3 core well outputs may be used as strapping options for the ICH3, sampled during system reset. These signals may have weak pullups/pulldowns on them, however this will not interfere with link operation. ICH3 inputs integrate weak pulldowns to prevent floating traces when a secondary codec is not attached. When the shut off bit in the control register is set, all buffers will be turned off and the pins will be held in a steady state, based on these pullups/pulldowns. BIT_CLK is fixed at 12.288 MHz and is sourced by the primary codec. It provides the necessary clocking to support the twelve, 20-bit time slots. AC-link serial data is transitioned on each rising edge of BIT_CLK. The receiver of AC-link data samples each serial bit on the falling edge of BIT_CLK. Synchronization of all AC-link data transactions is signaled by the AC ’97 controller via the AC_SYNC signal, as shown in Figure 5-21. The primary codec drives the serial bit clock onto the AC-link, which the AC ’97 controller then qualifies with the AC_SYNC signal to construct data frames. AC_SYNC, fixed at 48 kHz, is derived by dividing down BIT_CLK. AC_SYNC remains high for a total duration of 16 BIT_CLKs at the beginning of each frame. The portion of the frame where AC_SYNC is high is defined as the tag phase. The remainder of the frame where AC_SYNC is low is defined as the data phase. Each data bit is sampled on the falling edge of BIT_CLK. Figure 5-21. AC-Link Protocol Tag Phase 20.8uS (48 KHz) SYNC BIT_CLK SDIN End of previous Audio Frame Codec Ready 12.288 MHz 81.4 nS Data Phase slot(1) slot(2) slot(12) "0" "0" "0" 19 0 19 0 19 0 19 0 Time Slot "Valid" Bits ("1" = time slot contains valid PCM data) Slot 1 Slot 2 Slot 3 Slot 12 AC_Link_Protocol The ICH3 has two SDIN pins allowing a single or dual codec configuration. When two codecs are connected, the primary and secondary codecs can be connected to either SDIN line, however it is recommended that the primary codec be attached to SDIN [0]. The ICH3 does not distinguish between primary and secondary codecs on its SDIN[1:0] pins, however the registers do distinguish between SDIN[0] and SDIN[1] for wake events, etc. The primary codec can be an AC (audio codec), MC (modem codec), or AMC (audio/modem codec) device. The secondary codec can be an AC, MC, or AMC device. The MC can be either on the primary or the secondary codec, while the AC can be either on the primary or the secondary codec, or BOTH the primary or the secondary codec. The ICH3 does not support optional test modes as outlined in the Audio Codec ’97, Revision 2.2 specification. Intel® 82801CA ICH3-S Datasheet 215 Functional Description 5.18.1.1 AC-Link Output Frame (SDOUT) A new audio output frame begins with a low to high transition of AC_SYNC. AC_SYNC is synchronous to the rising edge of BIT_CLK. On the immediately following falling edge of BIT_CLK, the codec samples the assertion of AC_SYNC. This falling edge marks the time when both sides of AC-link are aware of the start of a new frame. On the next rising edge of BIT_CLK, the ICH3 transitions SDOUT into the first bit position of slot 0, or the valid frame bit. Each new bit position is presented to the AC-link on a rising edge of BIT_CLK, and subsequently sampled by the codec on the following falling edge of BIT_CLK. This sequence ensures that data transitions and subsequent sample points for both incoming and outgoing data streams are time aligned. The output frame data phase corresponds to the multiplexed bundles of all digital output data targeting codec DAC inputs and control registers. Each output frame supports up to twelve outgoing data time slots. The ICH3 generates 16-bit samples and, in compliance with the Audio Codec ’97, Revision 2.2 specification, pads the four least significant bits of valid slots with zeros. The output data stream is sent with the most significant bit first, and all invalid slots are stuffed with zeros. When mono audio sample streams are output from the ICH3, software must ensure both left and right sample stream time slots are filled with the same data. 5.18.1.2 Output Slot 0: Tag Phase Slot 0 is considered the tag phase. The tag phase is a special 16-bit time slot wherein each bit conveys a valid tag for its corresponding time slot within the current frame. A one in a given bit position of slot 0 indicates that the corresponding time slot within the current frame has been assigned to a data stream and contains valid data. If a slot is tagged invalid with a zero in the corresponding bit position of slot 0, the ICH3 stuffs the corresponding slot with zeros during that slot’s active time. Within slot 0, the first bit is a valid frame bit (slot 0, bit 15) which flags the validity of the entire frame. If the valid frame bit is set to one, this indicates that the current frame contains at least one slot with valid data. When there is no transaction in progress, the ICH3 will deassert the frame valid bit. Note that after a write to slot 12, that slot will always stay valid, and therefore the frame valid bit will remain set. The next 12 bit positions of slot 0 (bits [14:3]) indicate which of the corresponding twelve time slots contain valid data. Bits [1:0] of slot 0 are used as codec ID bits to distinguish between separate codecs on the link. Using the valid bits in the tag phase allows data streams of differing sample rates to be transmitted across the link at its fixed 48 kHz frame rate. The codec can control the output sample rate of the ICH3 using the SLOTREQ bits as described in the Audio Codec ’97, Revision 2.2 specification. 216 Intel® 82801CA ICH3-S Datasheet Functional Description 5.18.1.3 Output Slot 1: Command Address Port The command port is used to control features and monitor status of AC ’97 functions including, but not limited to, mixer settings and power management. The control interface architecture supports up to 64 16-bit read/write registers, addressable on even byte boundaries. Only the even registers (00h, 02h, etc.) are valid. Output frame slot 1 communicates control register address, and Write/Read command information. In the case of the split codec implementation, accesses to the codecs are differentiated by the driver using address offsets 00h–7Fh for the primary codec and address offsets 80h–FEh for the secondary codec. The differentiation on the link, however, is done via the codec ID bits. See Section 5.18.1.23 for further details. 5.18.1.4 Output Slot 2: Command Data Port The command data port is used to deliver 16-bit control register write data in the event that the current command port operation is a write cycle as indicated in slot 1, bit 19. If the current command port operation is a read then the entire slot time stuffed with 0s by the ICH3. Bits [19:4] contain the write data. Bits [3:0] are reserved and are stuffed with zeros. 5.18.1.5 Output Slot 3: PCM Playback Left Channel Output frame slot 3 is the composite digital audio left playback stream. Typically this slot is composed of standard PCM (.wav) output samples digitally mixed by the host processor. The ICH3 transmits sample streams of 16 bits and stuffs the remaining bits with zeros. Data in output slots 3 and 4 from the ICH3 should be duplicated by software if there is only a single channel out. 5.18.1.6 Output Slot 4: PCM Playback Right Channel Output frame slot 4 is the composite digital audio right playback stream. Typically this slot is composed of standard PCM (.wav) output samples digitally mixed by the host processor. The ICH3 transmits sample streams of 16 bits and stuffs the remaining bits with zeros. Data in output slots 3 and 4 from the ICH3 should be duplicated by software if there is only a single channel out. 5.18.1.7 Output Slot 5: Modem Codec Output frame slot 5 contains modem DAC data. The modem DAC output supports 16-bit resolution. At boot time, if the modem codec is supported, the AC ’97 controller driver determines the DAC resolution. During normal runtime operation the ICH3 stuffs trailing bit positions within this time slot with zeros. 5.18.1.8 Output Slot 6: PCM Playback Center Front Channel When set up for 6 channel mode, this slot is used for the front center channel. The format is the same as Slots 3. If not set up for 6 channel mode, this channel will always be stuffed with 0s by ICH3. Intel® 82801CA ICH3-S Datasheet 217 Functional Description 5.18.1.9 Output Slots 7–8: PCM Playback Left and Right Rear Channels When set up for 4 or 6 channel modes, slots 7 and 8 are used for the rear Left and Right channels. The format for these two channels are the same as Slots 3 and 4. 5.18.1.10 Output Slot 9: Playback SubWoofer Channel When set for 6 channel mode, this slot is used for the SubWoofer. The format is the same as Slots 3. If not set up for 6 channel mode, this channel will always be stuffed with 0s by ICH3. 5.18.1.11 Output Slots 10–11: Reserved Output frame slots 10–11 are reserved and are always stuffed with 0s by the ICH3 AC ’97 controller. 5.18.1.12 Output Slot 12: I/O Control Sixteen bits of DAA and GPIO control (output) and status (input) have been directly assigned to bits on slot 12 in order to minimize latency of access to changing conditions. The value of the bits in this slot are the values written to the GPIO control register at offset 54h and D4h (in the case of a secondary codec) in the modem codec I/O space. The following rules govern the usage of slot 12. 1. Slot 12 is marked invalid by default on coming out of AC-link reset, and will remain invalid until a register write to 54h/D4h. 2. A write to offset 54h/D4h in codec I/O space will cause the write data to be transmitted on slot 12 in the next frame, with slot 12 marked valid, and the address/data information to also be transmitted on slots 1 and 2. 3. After the first write to offset 54h/D4h, slot 12 remains valid for all following frames. The data transmitted on slot 12 is the data last written to offset 54h/D4h. Any subsequent write to the register will cause the new data to be sent out on the next frame. 4. Slot 12 will get invalidated after the following events: PCI reset, AC ’97 cold reset, warm reset, and hence a wake from S3, S4, or S5. Slot 12 will remain invalid until the next write to offset 54h/D4h. 218 Intel® 82801CA ICH3-S Datasheet Functional Description 5.18.1.13 AC-Link Input Frame (SDIN) There are two SDIN lines on the ICH3 for use with a primary and secondary codec. Each SDIN pin can have a codec attached. Depending upon which codec (AC, MC, or AMC) is attached, various slots will be valid or invalid. The data slots on the two inputs must be completely orthogonal (except for the tag slot 0); that is, no two data slots at the same location will be valid on both lines. This precludes the use of two similar codecs, such as two ACs or MCs, which use the same time slots. The input frame data streams correspond to the multiplexed bundles of all digital input data targeting the AC ’97 controller. As in the case for the output frame, each AC-link input frame consists of twelve time slots. A new audio input frame begins with a low to high transition of AC_SYNC. AC_SYNC is synchronous to the rising edge of BIT_CLK. On the immediately following falling edge of BIT_CLK, the receiver samples the assertion of AC_SYNC. This falling edge marks the time when both sides of AC-link are aware of the start of a new audio frame. On the next rising edge of BIT_CLK, the codec transitions SDIN into the first bit position of slot 0 (codec ready bit). Each new bit position is presented to AC-link on a rising edge of BIT_CLK, and subsequently sampled by the ICH3 on the following falling edge of BIT_CLK. This sequence ensures that data transitions and subsequent sample points for both incoming and outgoing data streams are time aligned. SDIN data stream must follow the Audio Codec ’97, Revision 2.2 specification and be MSBjustified with all non-valid bit positions (for assigned and/or unassigned time slots) stuffed with zeros. SDIN data is sampled by the ICH3 on the falling edge of BIT_CLK. 5.18.1.14 Input Slot 0: Tag Phase Input slot 0 consists of a codec ready bit (bit 15), and slot valid bits for each subsequent slot in the frame (bits [14:3]). The codec ready bit within slot 0 (bit 15) indicates whether the codec on the AC-link is ready for operation. If the codec ready bit in slot 0 is a zero, the codec is not ready for normal operation. When the AC-link codec ready bit is a 1, it indicates that the AC-link and codec control and status registers are in a fully operational state. The codec ready bits are visible through the global status register of the ICH3. Software must further probe the powerdown control/status register in the codec to determine exactly which subsections, if any, are ready. Bits [14:3] in slot 0 indicate which slots of the input stream to the ICH3 contain valid data, just as in the output frame. The remaining bits in this slot are stuffed with zeros. Intel® 82801CA ICH3-S Datasheet 219 Functional Description 5.18.1.15 Input Slot 1: Status Address Port / Slot Request Bits The status port is used to monitor status of codec functions including, but not limited to, mixer settings and power management. Slot 1 must echo the control register index, for historical reference, for the data to be returned in slot 2, assuming that slots 1 and 2 had been tagged valid by the codec in slot 0. For multiple sample rate output, the codec examines its sample rate control registers, the state of its FIFOs, and the incoming SDOUT tag bits at the beginning of each audio output frame to determine which SLOTREQ bits to set active (low). SLOTREQ bits asserted during the current audio input frame signal which output slots require data from the controller in the next audio output frame. For fixed 48 kHz operation the SLOTREQ bits are always set active (low) and a sample is transferred each frame. For multiple sample rate input, the tag bit for each input slot indicates whether valid data is present or not. Table 5-99. Input Slot 1 Bit Definitions Bit Description 19 18:12 11 10 9 8 7 6 5 4:2 1:0 Reserved (Set to zero) Control Register Index (Stuffed with zeros if tagged invalid) Slot 3 Request: PCM Left Channel (see note 1) Slot 4 Request: PCM Right Channel (see note 1) Slot 5 Request: Modem Line 1 Slot 6 Request: PCM Center Channel (see note 1) Slot 7 Request: PCM Left Surround (see note 1) Slot 8 Request: PCM Right Surround (see note 1) Slot 9 Request: PCM LFE Channel (see note 1) Slot Request 10–12: Not Implemented Reserved (Stuffed with zeros) NOTES: 1. Slot 3 Request and Slot 4 Request bits must be the same value, i.e., set or cleared in tandem. This is also true for the Slot 7 and Slot 8 Request bits, as well as the Slot 6 and Slot 9 Request bits. As shown in Table 5-99, slot 1 delivers codec control register read address and multiple sample rate slot request flags for all output slots of the controller. When a slot request bit is set by the codec, the controller will return data in that slot in the next output frame. Slot request bits for slots 3 and 4 are always set or cleared in tandem, i.e., both are set or cleared. When set, the input slot 1 tag bit only pertains to Status Address Port data from a previous read. SLOTREQ bits are always valid independent of the slot 1 tag bit. 5.18.1.16 Input Slot 2: Status Data Port The status data port receives 16-bit control register read data. • Bit [19:4]: Control Register Read Data • Bit [3:0]: Reserved. 220 Intel® 82801CA ICH3-S Datasheet Functional Description 5.18.1.17 Input Slot 3: PCM Record Left Channel Input slot 3 is the left channel input of the codec. The ICH3 supports 16-bit sample resolution. Samples transmitted to the ICH3 must be in left/right channel order. 5.18.1.18 Input Slot 4: PCM Record Right Channel Input slot 4 is the right channel input of the codec. The ICH3 supports 16-bit sample resolution. Samples transmitted to the ICH3 must be in left/right channel order. 5.18.1.19 Input Slot 5: Modem Line Input slot 5 contains MSB justified modem data. The ICH3 supports 16-bit sample resolution. 5.18.1.20 Input Slot 6: Optional Dedicated Microphone Record Data Input slot 6 is a third PCM system input channel available for dedicated use by a microphone. This input channel supplements a true stereo output which enables more precise echo cancellation algorithm for speakerphone applications. The ICH3 supports 16-bit resolution for slot 6 input. 5.18.1.21 Input Slots 7–11: Reserved Input frame slots 7–11 are reserved for future use and should be stuffed with zeros by the codec, per the Audio Codec ’97, Revision 2.2 specification. 5.18.1.22 Input Slot 12: I/O status The status of the GPIOs configured as inputs are to be returned on this slot in every frame. The data returned on the latest frame is accessible to software by reading the register at offset 54h/D4h in the codec I/O space. Only the 16 MSBs are used to return GPI status. Bit 0 of this slot indicates the GPI status. Whenever a GPI changes state, this bit gets set for one frame by the codec. This bit can cause an interrupt to the processor if enabled via the global control register. Reads from 54h/D4h will not be transmitted across the link in slot 1 and 2. The data from the most recent slot 12 is returned on reads from offset 54h/D4h. Intel® 82801CA ICH3-S Datasheet 221 Functional Description 5.18.1.23 Register Access In the ICH3 implementation of the AC-link, up to two codecs can be connected to the SDOUT pin. The following mechanism is used to address the primary and secondary codecs individually. The primary device uses bit 19 of slot 1 as the direction bit to specify read or write. Bits [18:12] of slot 1 are used for the register index. For I/O writes to the primary codec, the valid bits [14:13] for slots 1 and 2 must be set in slot 0, as shown in Table 5-100. Slot 1 is used to transmit the register address, and slot 2 is used to transmit data. For I/O reads to the primary codec, only slot 1 should be valid since only an address is transmitted. For I/O reads only slot 1 valid bit is set, while for I/O writes both slots 1 and 2 valid bits are set. The secondary codec registers are accessed using slots 1 and 2 as described above, however the slot valid bits for slots 1 and 2 are marked invalid in slot 0 and the codec ID bit 0 (bit 0 of slot 0) is set to 1. This allows the secondary codec to monitor the slot valid bits of slots 1and 2, and bit 0 of slot 0 to determine if the access is directed to the secondary codec. If the register access is targeted to the secondary codec, slot 1 and 2 will contain the address and data for the register access. Since slots 1 and 2 are marked invalid, the primary codec will ignore these accesses. Table 5-100. Output Tag Slot 0 Bit Primary Access Example Secondary Access Example Description 15 14 13 12:3 2 1:0 1 1 1 X 0 00 1 0 0 X 0 01 Frame Valid Slot 1 Valid, Command Address bit (Primary codec only) Slot 2 Valid, Command Data bit (Primary codec only) Slot 3–12 Valid Reserved Codec ID (00 reserved for primary; 01 indicate secondary) When accessing the codec registers, only one I/O cycle can be pending across the AC-link at any time. The ICH3 implements write posting on I/O writes across the AC-link (i.e., writes across the link are indicated as complete before they are actually sent across the link). In order to prevent a second I/O write from occurring before the first one is complete, software must monitor the CAS bit in the codec access semaphore register which indicates that a codec access is pending. Once the CAS bit is cleared, then another codec access (read or write) can go through. The exception to this being reads to offset 54h/D4h (slot 12) which are returned immediately with the most recently received slot 12 data. Writes to offset 54h and D4h (primary and secondary codecs), get transmitted across the AC-link in slots 1 and 2 as a normal register access. Slot 12 is also updated immediately to reflect the data being written. The controller will not issue back to back reads. It must get a response to the first read before issuing a second. In addition, codec reads and writes are only executed once across the link, and are not repeated. 222 Intel® 82801CA ICH3-S Datasheet Functional Description 5.18.2 AC-Link Low Power Mode The AC-link signals can be placed in a low-power mode. When the AC ’97 power-down register (26h), is programmed to the appropriate value, both BIT_CLK and SDIN will be brought to, and held at a logic low voltage level. Figure 5-22. AC-Link Powerdown Timing SYNC BIT_CLK S DOUT slot 12 prev. frame TAG W rite to 0x20 Data PR4 S DIN Note: BIT_CLK not to scale slot 12 prev. frame TAG AC_Link_Pw rdw n_Tim ing BIT_CLK and SDIN transition low immediately following a write to the power-down register (26h) with PR4. When the AC ’97 controller driver is at the point where it is ready to program the AC-link into its low-power mode, slots 1 and 2 are assumed to be the only valid stream in the audio output frame. The AC ’97 controller also drives AC_SYNC, and SDOUT low after programming AC ’97 to this low-power, halted mode Once the codec has been instructed to halt BIT_CLK, a special wake up protocol must be used to bring the AC-link to the active mode since normal output and input frames can not be communicated in the absence of BIT_CLK. Once in a low-power mode, the ICH3 provides three methods for waking up the AC-link; external wake event, cold reset and warm reset. Note: Before entering any low-power mode where the link interface to the codec is expected to be powered down while the rest of the system is awake, the software must set the “shut off” bit in the control register. Intel® 82801CA ICH3-S Datasheet 223 Functional Description 5.18.2.1 External Wake Event Codecs can signal the controller to wake the AC-link, and wake the system using SDIN. Figure 5-23. SDIN Wake Signaling Power Down Frame SYNC BIT_CLK S DOUT S DIN slot 12 prev. frame Sleep State W ake Event New Audio Frame TAG W rite to 0x20 Data PR4 TAG Slot 1 Slot 2 slot 12 prev. frame TAG TAG Slot 1 Slot 2 SDIN W k Si The minimum SDIN wake up pulse width is 1 µs. The rising edge of SDIN[0] or SDIN[1] causes the ICH3 to sequence through an AC-link warm reset and set the AC97_STS bit in the GPE0_STS Register to wake the system. The primary codec must wait to sample AC_SYNC high and low before restarting BIT_CLK as diagrammed in Figure 5-23. The codec that signaled the wake event must keep its SDIN high until it has sampled AC_SYNC having gone high, and then low. The AC-link protocol provides for a cold reset and a warm reset. The type of reset used depends on the system’s current power down state. Unless a cold or register reset (a write to the reset register in the codec) is performed, wherein the AC ’97 codec registers are initialized to their default values, registers are required to keep state during all power down modes. Once powered down, activation of the AC-link via re-assertion of the AC_SYNC signal must not occur for a minimum of 4 audio frame times following the frame in which the power down was triggered. When AC-link powers up, it indicates readiness via the codec ready bit. 5.18.3 AC ’97 Cold Reset A cold reset is achieved by asserting AC_RST# for 1 µs. By driving AC_RST# low, BIT_CLK, and SDOUT will be activated and all codec registers will be initialized to their default power on reset values. AC_RST# is an asynchronous AC ’97 input to the codec. 5.18.4 AC ’97 Warm Reset A warm reset will re-activate the AC-link without altering the current codec register values. A warm reset is signaled by driving AC_SYNC high for a minimum of 1us in the absence of BIT_CLK. Within normal frames, AC_SYNC is a synchronous AC ’97 input to the codec. However, in the absence of BIT_CLK, AC_SYNC is treated as an asynchronous input to the codec used in the generation of a warm reset. The codec must not respond with the activation of BIT_CLK until AC_SYNC has been sampled low again by the codec. This will prevent the false detection of a new frame. Note: On receipt of wake up signalling from the codec, the digital controller will issue an interrupt if enabled. Software will then have to issue a warm or cold reset to the codec by setting the appropriate bit in the global control register. 224 Intel® 82801CA ICH3-S Datasheet Functional Description 5.18.5 System Reset Table 5-101 indicates the states of the link during various system reset and sleep conditions. Table 5-101. AC-Link State during PCIRST# Signal Power Plane I/O During PCIRST#/ After PCIRST#/ S1 S3 S4/S5 AC_RST# AC_SDOUT AC_SYNC BIT_CLK SDIN[1:0] Resume3 Core1 Core Core Resume Output Output Output Input Input Low Low Low Driven by codec Driven by codec Low Running Running Running Running Cold Reset bit (Hi) Low Low Low2,4 Low2,4 Low Low Low Low2,4 Low2,4 Low Low Low Low2,4 Low2,4 NOTE: 1. ICH3 core well outputs are used as strapping options for the ICH3, sampled during system reset. These signals may have weak pullups/pulldowns on them. The ICH3 outputs will be driven to the appropriate level prior to AC_RST# being deasserted, preventing a codec from entering test mode. Straps are tied to the core well to prevent leakage during a suspend state. 2. The pull-down resistors on these signals are only enabled when the AC-link shut off bit in the AC ’97 global control register is set to 1. All other times, the pull-down resistor is disabled. 3. AC_RST# will be held low during S3–S5. It cannot be programmed high during a suspend state. 4. BIT_CLK and SDIN[1:0] are driven low by the codecs during normal states. If the codec is powered during suspend states it will hold these signals low. However, if the codec is not present, or not powered in suspend, external pull-down resistors are required. The transition of AC_RST# to the deasserted state will only occur under driver control. In the S1sleep state, the state of the AC_RST# signal is controlled by the AC ’97 Cold Reset# bit (bit 1) in the global control register. AC_RST# will be asserted (low) by the ICH3 under the following conditions: • • • • • RSMRST# (system reset, including the a reset of the resume well and PCIRST#) Mechanical power up (causes PCIRST#) Write to CF9h hard reset (causes PCIRST#) Transition to S3/S4/S5 sleep states (causes PCIRST#) Write to AC ’97 Cold Reset# bit in the global control register. Hardware will never deassert AC_RST# (i.e., never deasserts the Cold Reset# bit) automatically. Only software can deassert the Cold Reset# bit, and hence the AC_RST# signal. This bit, while it resides in the core well, will remain cleared upon return from S3/S4/S5 sleep states. The AC_RST# pin will remain actively driven from the resume well, as indicated. Intel® 82801CA ICH3-S Datasheet 225 Functional Description This page is intentionally left blank. 226 Intel® 82801CA ICH3-S Datasheet Register and Memory Mapping Register and Memory Mapping 6 The ICH3 contains registers that are located in the processor’s I/O space and memory space and sets of PCI configuration registers that are located in PCI configuration space. This chapter describes the ICH3 I/O and memory maps at the register-set level. Register access is also described. Register-level address maps and individual register bit descriptions are provided in the following chapters. The following notations and definitions are used in the register/instruction description chapters. RO Read Only. In some cases, If a register is read only, writes to this register location have no effect. However, in other cases, two separate registers are located at the same location where a read accesses one of the registers and a write accesses the other register. See the I/O and memory map tables for details. Write Only. In some cases, If a register is write only, reads to this register location have no effect. However, in other cases, two separate registers are located at the same location where a read accesses one of the registers and a write accesses the other register. See the I/O and memory map tables for details. Read/Write. A register with this attribute can be read and written. Read/Write Clear. A register bit with this attribute can be read and written. However, a write of 1 clears (sets to 0) the corresponding bit and a write of 0 has no effect. When ICH3 is reset, it sets its registers to predetermined default states. The default state represents the minimum functionality feature set required to successfully bring up the system. Hence, it does not represent the optimal system configuration. It is the responsibility of the system initialization software to determine configuration, operating parameters, and optional system features that are applicable, and to program the ICH3 registers accordingly. In the register bit description tables, register bit names that are highlighted in bold text indicate that the bit is implemented in the ICH3. Register bit names that are not bolded are not implemented or are hardwired. WO R/W R/WC Default Bold Intel® 82801CA ICH3-S Datasheet 227 Register and Memory Mapping 6.1 PCI Devices and Functions The ICH3 incorporates a variety of PCI functions as shown in Table 6-1. These functions are divided into four logical devices (B0:D30, B0:D31, B0:D29 and B1:D8). D30 is the hub interfaceto-PCI bridge, D31 contains the PCI-to-LPC Bridge, IDE Controller, SMBus Controller and the AC ’97 Audio and Modem Controller functions and D29 contains the three USB 1.1 Controllers. B1:D8 is the integrated LAN Controller. Note: From a software perspective, the integrated LAN Controller resides on the ICH3’s external PCI bus (See Section 5.1.2). This is typically Bus 1, but may be assigned a different number depending upon system configuration. If for some reason, the particular system platform does not want to support any one of Device 31’s Functions 1-6, Device 29’s functions, or Device 8, they can individually be disabled. The integrated LAN Controller will be disabled if no Platform LAN Connect component is detected (See Section 5.2.2.3). When a function is disabled, it does not appear at all to the software. A disabled function will not respond to any register reads or writes. This is intended to prevent software from thinking that a function is present (and reporting it to the end-user). Table 6-1. PCI Devices and Functions Bus:Device:Function Function Description Bus 0:Device 30:Function 0 Bus 0:Device 31:Function 0 Bus 0:Device 31:Function 1 Bus 0:Device 31:Function 3 Bus 0:Device 31:Function 5 Bus 0:Device 31:Function 6 Bus 0:Device 29:Function 0 Bus 0:Device 29:Function 1 Bus 0:Device 29:Function 2 Bus n:Device 8:Function 0 Hub Interface to PCI Bridge PCI to LPC Bridge1 IDE Controller SMBus Controller AC ’97 Audio Controller AC ’97 Modem Controller USB UHCI Controller #1 USB UHCI Controller #2 New: USB UHCI Controller #3 LAN Controller NOTES: 1. The PCI to LPC bridge contains registers that control LPC, Power Management, System Management, GPIO, Processor Interface, RTC, Interrupts, Timers, DMA. 228 Intel® 82801CA ICH3-S Datasheet Register and Memory Mapping Table 6-2 lists the Intel ICH3 Device IDs. Refer to the Specification Update for the Revision IDs. Table 6-2. Intel® ICH3 Device IDs Device Function Description ICH3 Dev ID Comments D30, F0 D31, F0 D31, F1 D31, F3 D31, F5 D31, F6 D8, F0 D29, F0 D29, F1 D29, F2 P2P Bridge P2L Bridge IDE SMBus AC97 Audio AC97 Modem LAN USBC #1 USBC #2 USBC #3 244Eh 2480h 248Bh 2483h 2485h 2486h Note 1 2482h 2484h 2487h 6.2 PCI Configuration Map Each PCI function on the ICH3 has a set of PCI configuration registers. The register address map tables for these register sets are included at the beginning of the chapter for the particular function. Refer to Table A-1 for a complete list of all PCI Configuration Registers. Configuration Space registers are accessed through configuration cycles on the PCI bus by the Host bridge using configuration mechanism #1 detailed in the PCI Local Bus Specification, Revision 2.2. Some of the PCI registers contain reserved bits. Software must deal correctly with fields that are reserved. On reads, software must use appropriate masks to extract the defined bits and not rely on reserved bits being any particular value. On writes, software must ensure that the values of reserved bit positions are preserved. That is, the values of reserved bit positions must first be read, merged with the new values for other bit positions and then written back. Note the software does not need to perform read, merge, write operation for the configuration address register. In addition to reserved bits within a register, the configuration space contains reserved locations. Software should not write to reserved PCI configuration locations in the device-specific region (above address offset 3Fh). Intel® 82801CA ICH3-S Datasheet 229 Register and Memory Mapping 6.3 I/O Map The I/O map is divided into Fixed and Variable address ranges. Fixed ranges cannot be moved, but in some cases can be disabled. Variable ranges can be moved and can also be disabled. 6.3.1 Fixed I/O Address Ranges Table 6-3 shows the Fixed I/O decode ranges from the processor perspective. Note that for each I/O range, there may be separate behavior for reads and writes. The hub interface cycles that go to target ranges that are marked as “Reserved” will not be decoded by the ICH3, and will be passed to PCI. If a PCI master targets one of the fixed I/O target ranges, it will be positively decoded by the ICH3 in medium speed. Refer to Table A-2 for a complete list of all fixed I/O registers. Address ranges that are not listed or marked “Reserved” are not decoded by the ICH3 (unless assigned to one of the variable ranges). Table 6-3. Fixed I/O Ranges Decoded by Intel® ICH3 I/O Address Read Target Write Target Internal Unit 00h–08h 09h–0Eh 0Fh 10h–18h 19h–1Eh 1Fh 20h–21h 24h–25h 28h–29h 2Ch–2Dh 2E–2Fh 30h–31h 34h–35h 38h–39h 3Ch–3Dh 40h–42h 43h 4E–4Fh 50h–52h 53h 60h 61h 62h 63h 64h 65h 66h 67h DMA Controller RESERVED DMA Controller DMA Controller RESERVED DMA Controller Interrupt Controller Interrupt Controller Interrupt Controller Interrupt Controller LPC SIO Interrupt Controller Interrupt Controller Interrupt Controller Interrupt Controller Timer/Counter RESERVED LPC SIO Timer/Counter RESERVED Microcontroller NMI Controller Microcontroller NMI Controller Microcontroller NMI Controller Microcontroller NMI Controller DMA Controller DMA Controller DMA Controller DMA Controller DMA Controller DMA Controller Interrupt Controller Interrupt Controller Interrupt Controller Interrupt Controller LPC SIO Interrupt Controller Interrupt Controller Interrupt Controller Interrupt Controller Timer/Counter Timer/Counter LPC SIO Timer/Counter Timer/Counter Microcontroller NMI Controller Microcontroller NMI Controller Microcontroller NMI Controller Microcontroller NMI Controller DMA DMA DMA DMA DMA DMA Interrupt Interrupt Interrupt Interrupt Forwarded to LPC Interrupt Interrupt Interrupt Interrupt PIT (8254) PIT Forwarded to LPC PIT PIT Forwarded to LPC Processor I/F Forwarded to LPC Processor I/F Forwarded to LPC Processor I/F Forwarded to LPC Processor I/F 230 Intel® 82801CA ICH3-S Datasheet Register and Memory Mapping Table 6-3. Fixed I/O Ranges Decoded by Intel® ICH3 (Continued) I/O Address Read Target Write Target Internal Unit 70h 71h 72h 73h 74h 75h 76h 77h 80h 81h–83h 84h–86h 87h 88h 89h–8Bh 8Ch–8Eh 08Fh 90h–91h 92h 93h–9Fh A0h–A1h A4h–A5h A8h–A9h ACh–ADh B0h–B1h B2h–B3h B4h–B5h B8h–B9h BCh–BDh C0h–D1h D2h–DDh DEh–DFh F0h 170h–177h 1F0h–1F7h 376h 3F6h 4D0h–4D1h CF9h RESERVED RTC Controller RTC Controller RTC Controller RTC Controller RTC Controller RTC Controller RTC Controller DMA Controller DMA Controller DMA Controller DMA Controller DMA Controller DMA Controller DMA Controller DMA Controller DMA Controller Reset Generator DMA Controller Interrupt Controller Interrupt Controller Interrupt Controller Interrupt Controller Interrupt Controller Power Management Interrupt Controller Interrupt Controller Interrupt Controller DMA Controller RESERVED DMA Controller See Note 3 IDE Controller 2 NMI and RTC Controller RTC Controller NMI and RTC Controller RTC Controller NMI and RTC Controller RTC Controller NMI and RTC Controller RTC Controller DMA Controller and LPC or PCI DMA Controller DMA Controller and LPC or PCI DMA Controller DMA Controller and LPC or PCI DMA Controller DMA Controller and LPC or PCI DMA Controller DMA Controller Reset Generator DMA Controller Interrupt Controller Interrupt Controller Interrupt Controller Interrupt Controller Interrupt Controller Power Management Interrupt Controller Interrupt Controller Interrupt Controller DMA Controller DMA Controller DMA Controller FERR#/IGNNE# / Interrupt Controller IDE Controller IDE Controller 2 RTC RTC RTC RTC RTC RTC RTC RTC DMA DMA DMA DMA DMA DMA DMA DMA DMA Processor I/F DMA Interrupt Interrupt Interrupt Interrupt Interrupt Power Management Interrupt Interrupt Interrupt DMA DMA DMA Processor I/F Forwarded to IDE Forwarded to IDE Forwarded to IDE Forwarded IDE Interrupt Processor I/F IDE Controller1 IDE Controller 2 IDE Controller1 2 IDE Controller1 Interrupt Controller Reset Generator IDE Controller1 Interrupt Controller Reset Generator NOTES: 1. Only if IDE Standard I/O space is enabled for Primary Channel and the IDE Controller is in legacy mode. Otherwise, the target is PCI. 2. Only if IDE Standard I/O space is enabled for Secondary Channel and the IDE Controller is in legacy mode. Otherwise, the target is PCI. 3. If POS_DEC_EN bit is enabled, reads from F0h will not be decoded by the ICH3. If POS_DEC_EN is not enabled, reads from F0h will forward to LPC. Intel® 82801CA ICH3-S Datasheet 231 Register and Memory Mapping 6.3.2 Variable I/O Decode Ranges Table 6-4 shows the Variable I/O Decode Ranges. They are set using Base Address Registers (BARs) or other configuration bits in the various PCI configuration spaces. The PNP software (PCI or ACPI) can use their configuration mechanisms to set and adjust these values. When a cycle is detected on the hub interface, the ICH3 positively decodes the cycle. If the response is on the behalf of an LPC device, the ICH3 forwards the cycle to the LPC I/F. Refer to Table A-3 for a complete list of all variable I/O registers. Warning: The Variable I/O Ranges should not be set to conflict with the Fixed I/O Ranges. Unpredictable results if the configuration software allows conflicts to occur. The ICH3 does not perform any checks for conflicts. Table 6-4. Variable I/O Decode Ranges Range Name Mappable Size (Bytes) Target ACPI IDE Bus Master USB 1.1 Controller #1 SMBus AC ’97 Audio Mixer AC ’97 Bus Master AC ’97 Modem Mixer TCO GPIO Parallel Port Serial Port 1 Serial Port 2 Floppy Disk Controller MIDI MSS SoundBlaster LAN USB 1.1 Controller #2 USB 1.1 Controller #3 LPC Generic 1 LPC Generic 2 Monitors 4:7 Native IDE Primary Command Native IDE Primary Control Native IDE Secondary Command Native IDE Secondary Control Anywhere in 64 KB I/O Space Anywhere in 64 KB I/O Space Anywhere in 64 KB I/O Space Anywhere in 64 KB I/O Space Anywhere in 64 KB I/O Space Anywhere in 64 KB I/O Space Anywhere in 64 KB I/O Space 96 Bytes above ACPI Base Anywhere in 64 KB I/O Space 3 ranges in 64 KB I/O Space 8 Ranges in 64 KB I/O Space 8 Ranges in 64 KB I/O Space 2 Ranges in 64 KB I/O Space 4 Ranges in 64 KB I/O Space 4 Ranges in 64 KB I/O Space 2 Ranges in 64 KB I/O Space Anywhere in 64 KB I/O Space Anywhere in 64 KB I/O Space Anywhere in 64 KB I/O Space Anywhere in 64 KB I/O Space Anywhere in 64 KB I/O Space Anywhere in 64 KB I/O Space Anywhere in 64 KB I/O Space Anywhere in 64 KB I/O Space Anywhere in 64 KB I/O Space Anywhere in 64 KB I/O Space 64 16 32 32 256 64 256 32 64 8 8 8 8 2 8 32 64 32 32 128 16 16 8 4 8 4 Power Management IDE Unit USB Unit 1 SMB Unit AC ’97 Unit AC ’97 Unit AC ’97 Unit TCO Unit GPIO Unit LPC Peripheral LPC Peripheral LPC Peripheral LPC Peripheral LPC Peripheral LPC Peripheral LPC Peripheral LAN Unit USB Unit 2 USB Unit 3 LPC Peripheral LPC Peripheral LPC Peripheral or Trap on PCI IDE Unit IDE Unit IDE Unit IDE Unit 232 Intel® 82801CA ICH3-S Datasheet Register and Memory Mapping 6.4 Memory Map Table 6-5 shows (from the processor perspective) the memory ranges that the ICH3 will decode. Cycles that arrive from the Hub Interface that are not directed to any of the internal memory targets that decode directly from Hub Interface will be driven out on PCI. The ICH3 may then claim the cycle for it to be forwarded to LPC or claimed by the internal APIC. If subtractive decode is enabled, the cycle can be forwarded to LPC. PCI cycles generated by an external PCI master will be positively decoded unless it falls in the PCI-PCI bridge forwarding range (those addresses are reserved for PCI peer-to-peer traffic). If the cycle is not in the I/O APIC or LPC ranges, it will be forwarded up the hub interface to the Host Controller. PCI masters can not access the memory ranges for functions that decode directly from Hub Interface Table 6-5. Memory Decode Ranges from Processor Perspective Memory Range Target Dependency/Comments 0000 0000–000D FFFFh 0010 0000–TOM (Top of Memory) 000E 0000–000F FFFFh FEC0 0000–FEC0 0100h FFC0 0000–FFC7 FFFFh FF80 0000–FF87 FFFFh FFC8 0000–FFCF FFFFh FF88 0000–FF8F FFFFh FFD0 0000–FFD7 FFFFh FF90 0000—FF97 FFFFh FFD8 0000–FFDF FFFFh FF98 0000—FF9F FFFFh FFE0 000–FFE7 FFFFh FFA0 0000–FFA7 FFFFh FFE8 0000–FFEF FFFFh FFA8 0000–FFAF FFFFh FFF0 0000–FFF7 FFFFh FFB0 0000–FFB7 FFFFh FFF8 0000–FFFF FFFFh FFB8 0000–FFBF FFFFh FF70 0000–FF7F FFFFh FF30 0000–FF3F FFFFh FF60 0000–FF6F FFFFh FF20 0000–FF2F FFFFh FF50 0000–FF5F FFFFh FF10 0000–FF1F FFFFh FF40 0000–FF4F FFFFh FF00 0000–FF0F FFFFh Main Memory FWH I/O APIC inside ICH3 FWH FWH FWH FWH FWH FWH FWH TOM registers in Host Controller Bit 7 in FWH Decode Enable Register is set Bit 0 in FWH Decode Enable Register Bit 1 in FWH Decode Enable Register Bit 2 in FWH Decode Enable Register is set Bit 3 in FWH Decode Enable Register is set Bit 4 in FWH Decode Enable Register is set Bit 5 in FWH Decode Enable Register is set Bit 6 in FWH Decode Enable Register is set. Always enabled. The top two 64K-byte blocks of this range can be swapped, as described in Section 6.4.1. Bit 3 in FWH Decode Enable 2 Register is set Bit 2 in FWH Decode Enable 2 Register is set Bit 1 in FWH Decode Enable 2 Register is set Bit 0 in FWH Decode Enable 2 Register is set FWH FWH FWH FWH FWH Intel® 82801CA ICH3-S Datasheet 233 Register and Memory Mapping Table 6-5. Memory Decode Ranges from Processor Perspective (Continued) Memory Range Target Dependency/Comments 4 KB anywhere in 4 GB range 1 KB anywhere in 4 GB range All other Integrated LAN Controller IDE Expansion2 PCI Enable via BAR in Device 29:Function 0 (Integrated LAN Controller) Enable via standard PCI mechanism and bits in IDE I/O Configuration Register (Device 31, Function 1) None NOTES: 1. These ranges are decoded directly from Hub Interface. The memory cycles will not be seen on PCI. 2. Software must not attempt locks to memory mapped I/O ranges for IDE Expansion. If attempted, the lock is not honored, which means potential deadlock conditions may occur. 6.4.1 Boot-Block Update Scheme The ICH3 supports a “top-block swap” mode that has the ICH3 swap the top block in the FWH (the boot block) with another location. This allows for safe update of the Boot Block (even if a power failure occurs). When the “top-swap” enable bit is set, the ICH3 will invert A16 for cycles targeting FWH BIOS space. When this bit is 0, the ICH3 will not invert A16. This bit is automatically set to 0 by RTCRST#, but not by PCIRST#. The scheme is based on the concept that the top block is reserved as the “boot” block, and the block immediately below the top block is reserved for doing boot-block updates. The algorithm is: 1. Software copies the top block to the block immediately below the top. 2. Software checks that the copied block is correct. This could be done by performing a checksum calculation. 3. Software sets the “top-block swap” bit. This will invert A16 for cycles going to the FWH. Processor access to FFFF_0000 through FFFF_FFFF will be directed to FFFE_0000 through FFFE_FFFF in the FWH, and processor accesses to FFFE_0000 through FFFE_FFFF will be directed to FFFF_0000 through FFFF_FFFF. 4. Software erases the top block. 5. Software writes the new top block. 6. Software checks the new top block. 7. Software clears the top-block swap bit. If a power failure occurs at any point after step 3, the system will be able to boot from the copy of the boot block that is stored in the block below the top. This is because the top-swap bit is backed in the RTC well. Note: The top-block swap mode may be forced by an external strapping option (See Section 2.20.1). When top-block swap mode is forced in this manner, the top-swap bit cannot be cleared by software. A re-boot with the strap removed will be required to exit a forced top-block swap mode. The top-block swap mode only affects accesses to the FWH BIOS space, not feature space. The top-block swap mode has no effect on accesses below FFFE_0000h. Note: Note: 234 Intel® 82801CA ICH3-S Datasheet LAN Controller Registers (B1:D8:F0) LAN Controller Registers (B1:D8:F0) 7 The ICH3 integrated LAN Controller appears to reside at PCI Device 8, Function 0 on the secondary side of the ICH3’s virtual PCI-to-PCI Bridge (See Section 5.1.2). This is typically Bus 1, but may be assigned a different number depending upon system configuration. The LAN Controller acts as both a master and a slave on the PCI bus. As a master, the LAN Controller interacts with the system main memory to access data for transmission or deposit received data. As a slave, some of the LAN Controller’s control structures are accessed by the host processor to read or write information to the on-chip registers. The processor also provides the LAN Controller with the necessary commands and pointers that allow it to process receive and transmit data. 7.1 Note: . PCI Configuration Registers (B1:D8:F0) Registers that are not shown should be treated as Reserved (See Section 6.2 for details). Table 7-1. PCI Configuration Map (LAN Controller—B1:D8:F0) Offset Mnemonic Register Name/Function Default Type 00–01h 02–03h 04–05h 06–07h 08h 0Ah 0Bh 0Dh 0Eh 10–13h 14–17h 2C–2Dh 2E–2Fh 34h 3Ch 3Dh 3Eh 3Fh DCh DDh DE–DFh E0–E1h E3h VID DID PCICMD PCISTS REVID SCC BCC PMLT HEADTYP CSR_MEM_BASE CSR_IO_BASE SVID SID CAP_PTR INT_LN INT_PN MIN_GNT MAX_LAT CAP_ID NXT_PTR PM_CAP PMCSR PCIDATA Vendor ID Device ID PCI Device Command PCI Device Status Revision ID Sub Class Code Base Class Code PCI Master Latency Timer Header Type CSR Memory-Mapped Base Address CSR I/O-Mapped Base Address Subsystem Vendor ID Subsystem ID Capabilities Pointer Interrupt Line Interrupt Pin Minimum Grant Maximum Latency Capability ID Next Item Pointer Power Management Capabilities Power Management Control/Status PCI Power Management Data 8086h 2449h 0000h 0290h See Note 00h 02h 00h 00h 0008h 0001h 0000h 0000h DCh 00h 01h 08h 38h 01h 00h FE21h 0000h 00h RO RO R/W R/W RO RO RO R/W RO R/W R/W RO RO RO R/W RO RO RO RO RO RO R/W RO NOTE: Refer to the Specification Update for the Revision ID. Intel® 82801CA ICH3-S Datasheet 235 LAN Controller Registers (B1:D8:F0) 7.1.1 VID—Vendor ID Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit 00–01h 8086h Attribute: Size: Description RO 16 bits 15:0 Vendor Identification Value. This is a 16-bit value assigned to Intel. 7.1.2 DID—Device ID Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit 02–03h 2449h Attribute: Size: Description RO 16 bits 15:0 Device Identification Value. This is a 16-bit value assigned to the ICH3 integrated LAN Controller. 1. If the EEPROM is not present (or not properly programmed), reads to the Device ID return the default value of 2449h. 2. If the EEPROM is present (or properly programmed) and if the value of Word 23h is not 0000f or FFFFh, the Device ID is loaded from the EEPROM, Word 23h after the hardware reset. (See Section 7.1.14–SID, Subsystem ID of LAN controller for detail). 7.1.3 PCICMD—PCI Command Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit 04–05h 0000h Attribute: Size: Description RO, R/W 16 bits 15:10 9 Reserved. Fast Back to Back Enable (FBE)—RO. Hardwired to 0. The integrated LAN Controller will not run fast back-to-back PCI cycles. SERR# Enable (SERR_EN)—R/W. 0 = Disable. 1 = Enable. Allow SERR# to be asserted. 8 7 Wait Cycle Control (WCC)—RO. Hardwired to 0. Not implemented. Parity Error Response (PER)—R/W. 0 = The LAN Controller will ignore PCI parity errors. 1 = The integrated LAN Controller will take normal action when a PCI parity error is detected and will enable generation of parity on the hub interface. 6 5 4 3 2 VGA Palette Snoop (VPS)—RO. Hardwired to 0’. Not Implemented. Memory Write and Invalidate Enable (MWIE)—R/W. 0 = Disable. The LAN Controller will not use the Memory Write and Invalidate command. 1 = Enable. Special Cycle Enable (SCE)—RO. Hardwired to 0. The LAN Controller ignores special cycles. Bus Master Enable (BME)—R/W. 0 = Disable. 1 = Enable. The ICH3’s integrated may function as a PCI bus master. Memory Space Enable (MSE)—R/W. 0 = Disable. 1 = Enable. The ICH3’s integrated LAN Controller will respond to the memory space accesses. I/O Space Enable (IOE)—R/W. 0 = Disable. 1 = Enable. The ICH3’s integrated LAN Controller will respond to the I/O space accesses. 1 0 236 Intel® 82801CA ICH3-S Datasheet LAN Controller Registers (B1:D8:F0) 7.1.4 PCISTS—PCI Status Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit 06–07h 0290h Attribute: Size: Description RO, R/WC 16 bits 15 Detected Parity Error (DPE)—R/WC. 0 = This bit is cleared by writing a 1 to the bit location. 1 = The ICH3’s integrated LAN Controller has detected a parity error on the PCI bus (will be set even if Parity Error Response is disabled in the PCI Command register). Signaled System Error (SSE)—R/WC. 14 0 = This bit is cleared by writing a 1 to the bit location. 1 = The ICH3’s integrated LAN Controller has asserted SERR#. (SERR# can be routed to cause NMI, SMI# or interrupt. Master Abort Status (MAS)—R/C. 13 0 = This bit is cleared by writing a 1 to the bit location. 1 = The ICH3’s integrated LAN Controller (as a PCI master) has generated a master abort. Received Target Abort (RTA)—R/WC. 12 11 10:9 0 = This bit is cleared by writing a 1 to the bit location. 1 = The ICH3’s integrated LAN Controller (as a PCI master) has received a target abort. Signaled Target Abort (STA)—RO. Hardwired to 0. The device will never signal Target Abort. DEVSEL# Timing Status (DEV_STS)—RO. 01h = Medium timing. Data Parity Error Detected (DPED)—R/WC. 8 0 = This bit is cleared by writing a 1 to the bit location. 1 = All of the following three conditions have been met: 1. The LAN Controller is acting as bus master. 2. The LAN Controller has asserted PERR# (for reads) or detected PERR# asserted (for writes). 3. The Parity Error Response bit in the LAN Controller’s PCI Command Register is set. Fast Back to Back (FB2B)—RO. Hardwired to 1. The device can accept fast back-to-back transactions. User Definable Features (UDF)—RO. Hardwired to 0. Not implemented. 66 MHz Capable (66MHZ_CAP)—RO. Hardwired to 0. The device does not support 66 MHz PCI. Capabilities List (CAP_LIST)—RO. 7 6 5 4 0 = The EEPROM indicates that the integrated LAN controller does not support PCI Power Management. 1 = The EEPROM indicates that the integrated LAN controller supports PCI Power Management. Reserved. 3:0 7.1.5 REVID—Revision ID Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit 08h See Note 1 Attribute: Size: Description RO 8 bits 7:0 Revision Identification Value. 8-bit value that indicates the revision number for the integrated LAN Controller. The three least significant bits in this register may be overridden by the ID and REV ID fields in the EEPROM. NOTE 1: Refer to the Specification Update for the Revision ID. Intel® 82801CA ICH3-S Datasheet 237 LAN Controller Registers (B1:D8:F0) 7.1.6 SCC—Sub Class Code Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit 0Ah 00h Attribute: Size: Description RO 8 bits 7:0 Sub Class Code. 8-bit value that specifies the sub-class of the device as an Ethernet controller. 7.1.7 BCC—Base Class Code Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit 0Bh 02h Attribute: Size: Description RO 8 bits 7:0 Base Class Code. 8-bit value that specifies the base class of the device as a network controller. 7.1.8 CLS—Cache Line Size Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit 0Ch 00h Attribute: Size: Description RW 8 bits 7:5 Reserved. Cache Line Size (CLS)—RW. 4:3 00 = Memory Write and Invalidate (MWI) command will not be used by the integrated LAN Controller. 01 = MWI command will be used with Cache Line Size set to 8 DWords (only set if a value of 08h is written to this register). 10 = MWI command will be used with Cache Line Size set to 16 DWords (only set if a value of 10h is written to this register). 11 = Invalid. MWI command will not be used. Reserved. 2:0 7.1.9 PMLT—PCI Master Latency Timer Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit 0Dh 00h Attribute: Size: Description RW 8 bits 7:3 2:0 Master Latency Timer Count (MLTC)—RW. Defines the number of PCI clock cycles that the integrated LAN Controller may own the bus while acting as bus master. Reserved. 238 Intel® 82801CA ICH3-S Datasheet LAN Controller Registers (B1:D8:F0) 7.1.10 HEADTYP—Header Type Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit 0Eh 00h Attribute: Size: Description RO 8 bits 7 6:0 Multi-Function Device—RO. Hardwired to 0 to indicate a single function device. Header Type—RO. 7-bit field identifies the header layout of the configuration space as an Ethernet controller. 7.1.11 CSR_MEM_BASE CSR—Memory-Mapped Base Address Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: 10–13h 0000 0008h Attribute: Size: R/W, RO 32 bits Note: The ICH3’s integrated LAN Controller requires one BAR for memory mapping. Software determines which BAR (memory or I/O) is used to access the Lan Controller’s CSR registers. Bit Description Base Address—R/W. Upper 20 bits of the base address provides 4 KB of memory-Mapped space for the LAN Controller’s Control/Status Registers. 31:12 11:4 3 2:1 0 Reserved. Prefetchable—RO. Hardwired to 0 to indicate that this is not a pre-fetchable memory-Mapped address range. Type—RO. Hardwired to 00b to indicate the memory-Mapped address range may be located anywhere in 32-bit address space. Memory Space Indicator—RO. Hardwired to 0 to indicate that this base address maps to memory space. 7.1.12 CSR_IO_BASE—CSR I/O-Mapped Base Address Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: 14–17h 0000 0001h Attribute: Size: R/W 32 bits Note: The ICH3’s integrated LAN Controller requires one BAR for memory mapping. Software determines which BAR (memory or I/O) is used to access the Lan Controller’s CSR registers. Bit Description 31:16 15:6 5:1 0 Reserved. Base Address—R/W. Provides 64 bytes of I/O-Mapped address space for the LAN Controller’s Control/Status Registers. Reserved. I/O Space Indicator—RO. Hardwired to 1 to indicate that this base address maps to I/O space. Intel® 82801CA ICH3-S Datasheet 239 LAN Controller Registers (B1:D8:F0) 7.1.13 SVID—Subsystem Vendor ID Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit 2C–2D 0000h Attribute: Size: Description RO 16 bits 15:0 Subsystem Vendor ID—RO.(see Section 7.1.14 for detail). 7.1.14 SID—Subsystem ID Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit 2E–2Fh 0000h Attribute: Size: Description RO 16 bits 15:0 Subsystem ID—RO. Note: The ICH3’s integrated LAN Controller provides support for configurable Subsystem ID and Subsystem Vendor ID fields. After reset, the LAN Controller automatically reads addresses Ah through Ch, and 23h of the EEPROM. The LAN Controller checks bits 15:13 in the EEPROM word Ah, and functions according to Table 7-2. Table 7-2. Configuration of Subsystem ID and Subsystem Vendor ID via EEPROM Bits 15:14 Bit 13 Device ID Vendor ID Revision ID Subsystem ID Subsystem Vendor ID 11b, 10b, 00b 01b 01b X 0b 1b 2449h Word 23h Word 23h 8086h 8086h Word Ch See Note 1 See Note 1 See Note 1 0000h Word Bh Word Bh 0000h Word Ch Word Ch NOTE: 1. Refer to the Specification Update for the Revision ID, which is subject to change according to the silicon stepping. 2. The Device ID is loaded from Word 23h only if the value of Word 23h is not 0000h or FFFFh 7.1.15 CAP_PTR—Capabilities Pointer Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit 34h DCh Attribute: Size: Description RO 8 bits 7:0 Capabilities Pointer (CAP_PTR)—RO. Hardwired to DCh to indicate the offset within configuration space for the location of the Power Management registers. 240 Intel® 82801CA ICH3-S Datasheet LAN Controller Registers (B1:D8:F0) 7.1.16 INT_LN—Interrupt Line Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit 3Ch 00h Attribute: Size: Description R/W 8 bits 7:0 Interrupt Line (INT_LN)—R/W. Identifies the system interrupt line to which the LAN Controller’s PCI interrupt request pin (as defined in the Interrupt Pin Register) is routed. 7.1.17 INT_PN—Interrupt Pin Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit 3Dh 01h Attribute: Size: Description RO 8 bits 7:0 Interrupt Pin (INT_PN)—RO. Hardwired to 01h to indicate that the LAN Controller’s interrupt request is connected to PIRQA#. However, in the ICH3 implementation, when the LAN Controller interrupt is generated PIRQ[E]# will go active, not PIRQ[A]#. Note that if the PIRQ[E]# signal is used as a GPIO, the external visibility will be lost (though PIRQ[E]# will still go active internally). 7.1.18 MIN_GNT—Minimum Grant Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit 3Eh 08h Attribute: Size: Description RO 8 bits 7:0 Minimum Grant (MIN_GNT)—RO. Indicates the amount of time (in increments of 0.25µs) that the LAN Controller needs to retain ownership of the PCI bus when it initiates a transaction. 7.1.19 MAX_LAT—Maximum Latency Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit 3Fh 38h Attribute: Size: Description RO 8 bits 7:0 Maximum Latency (MAX_LAT)—RO. Defines how often (in increments of 0.25µs) the LAN Controller needs to access the PCI bus. Intel® 82801CA ICH3-S Datasheet 241 LAN Controller Registers (B1:D8:F0) 7.1.20 CAP_ID—Capability ID Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit DCh 01h Attribute: Size: Description RO 8 bits 7:0 Capability ID (CAP_ID)—RO. Hardwired to 01h to indicate that the ICH3’s integrated LAN Controller supports PCI Power Management. 7.1.21 NXT_PTR—Next Item Pointer Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit DDh 00h Attribute: Size: Description RO 8 bits 7:0 Next Item Pointer (NXT_PTR)—RW. Hardwired to 00b to indicate that power management is the last item in the Capabilities list. 7.1.22 PM_CAP—Power Management Capabilities Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: DE–DFh FE21h Attribute: Size: RO 16 bits Bit Description PME Support. Hardwired to 11111b. This 5-bit field indicates the power states in which the LAN Controller may assert PME#. The LAN Controller supports wake-up in all power states. D2 Support. Hardwired to 1 to indicate that the LAN Controller supports the D2 power state. D1 Support. Hardwired to 1 to indicate that the LAN Controller supports the D1 power state. Auxiliary Current. Hardwired to 000b to indicate that the LAN Controller implements the Data registers. The auxiliary power consumption is the same as the current consumption reported in the D3 state in the Data register. Device Specific Initialization (DSI). Hardwired to 1 to indicate that special initialization of this function is required (beyond the standard PCI configuration header) before the generic class device driver is able to use it. DSI is required for the LAN Controller after D3-to-D0 reset. 15:11 10 9 8:6 5 4 3 2:0 Reserved. PME Clock. Hardwired to 0 to indicate that the LAN Controller does not require a clock to generate a power management event. Version. Hardwired to 010b to indicate that the LAN Controller complies with of the PCI Power Management Specification, Revision 1.1. 242 Intel® 82801CA ICH3-S Datasheet LAN Controller Registers (B1:D8:F0) 7.1.23 PMCSR—Power Management Control/Status Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit PME Status—R/WC. E0–E1h 0000h Attribute: Size: Description RO, R/W, R/WC 16 bits 15 0 = Software clears this bit by writing a 1 to the bit location. This also de-asserts the PME# signal and clears the PME status bit in the Power Management Driver Register. When the PME# signal is enabled, the PME# signal reflects the state of the PME status bit. 1 = Set upon occurrence of a wake-up event, independent of the state of the PME enable bit. Data Scale—RO. This field indicates the data register scaling factor. It equals 10b for registers zero through eight and 00b for registers nine through fifteen, as selected by the “Data Select” field. Data Select—R/W. This field is used to select which data is reported through the Data register and Data Scale field. PME Enable—R/W. This bit enables the ICH3’s integrated LAN controller to assert PME#. 14:13 12:9 8 7:5 4 3:2 0 = The device will not assert PME#. 1 = Enable PME# assertion when PME Status is set. Reserved. Dynamic Data—RO. Hardwired to 0 to indicate that the device does not support the ability to monitor the power consumption dynamically. Reserved. Power State—R/W. This 2-bit field is used to determine the current power state of the integrated LAN Controller, and to put it into a new power state. The definition of the field values is as follows: 1:0 00 = D0 01 = D1 10 = D2 11 = D3 Intel® 82801CA ICH3-S Datasheet 243 LAN Controller Registers (B1:D8:F0) 7.1.24 PCIDATA—PCI Power Management Data Register (LAN Controller—B1:D8:F0) Offset Address: Default Value: Bit E3h 00h Attribute: Size: Description RO 8 bits 7:0 State dependent power consumption and heat dissipation data. Note: The data register is an 8-bit read only register that provides a mechanism for the ICH3’s integrated LAN Controller to report state dependent maximum power consumption and heat dissipation. The value reported in this register depends on the value written to the Data Select field in the PMCSR register. The power measurements defined in this register have a dynamic range of 0 to 2.55 W with 0.01 W resolution, scaled according to the Data Scale field in the PMCSR. The structure of the Data Register is given in Table 7-3 below. Table 7-3. Data Register Structure Data Select Data Scale Data Reported 0 1 2 3 4 5 6 7 8 9–15 2 2 2 2 2 2 2 2 2 0 D0 Power Consumption D1 Power Consumption D2 Power Consumption D3 Power Consumption D0 Power Dissipated D1 Power Dissipated D2 Power Dissipated D3 Power Dissipated Common Function Power Dissipated Reserved 244 Intel® 82801CA ICH3-S Datasheet LAN Controller Registers (B1:D8:F0) 7.2 LAN Control / Status Registers (CSR) Table 7-4. Intel® ICH3 Integrated LAN Controller CSR Space Offset Register Name/Function Default Type 01h–00h 03h–02h 07h–04h 0Bh–08h 0Dh–0Ch 0Eh 0Fh 13h–10h 17h–14h 18h 1A–19h 1Bh 1Ch 1Dh 1Eh–3Ch SCB Status Word SCB Command Word SCB General Pointer PORT Reserved EEPROM Control Register Reserved MDI Control Register Receive DMA Byte Count Early Receive Interrupt Flow Control Register PMDR General Control General Status Reserved 0000h 0000h 0000 0000h 0000 0000h R/WC R/W R/W R/W (special) 00 R/W 0000 0000h 0000 0000h 00h 0000h 00h 00 N/A R/W (special) RO R/W R/W R/WC R/W RO Intel® 82801CA ICH3-S Datasheet 245 LAN Controller Registers (B1:D8:F0) 7.2.1 System Control Block Status Word Register Offset Address: Default Value: 00–01h 0000h Attribute: Size: R/WC, RO 16 bits The ICH3’s integrated LAN Controller places the status of its Command and Receive units and interrupt indications in this register for the processor to read. Bit Description Command Unit (CU) Executed (CX)—R/WC. 15 0 = Software acknowledges the interrupt and clears this bit by writing a 1 to the bit position. 1 = Interrupt signaled because the CU has completed executing a command with its interrupt bit set. Frame Received (FR)—R/WC. 14 0 = Software acknowledges the interrupt and clears this bit by writing a 1 to the bit position. 1 = Interrupt signaled because the Receive Unit (RU) has finished receiving a frame. CU Not Active (CNA)—R/WC. 13 0 = Software acknowledges the interrupt and clears this bit by writing a 1 to the bit position. 1 = The Command Unit left the Active state or entered the Idle state. There are 2 distinct states of the CU. When configured to generate CNA interrupt, the interrupt will be activated when the CU leaves the Active state and enters either the Idle or the Suspended state. When configured to generate CI interrupt, an interrupt will be generated only when the CU enters the Idle state. Receive Not Ready (RNR)—R/WC. 12 0 = Software acknowledges the interrupt and clears this bit by writing a 1 to the bit position. 1 = Interrupt signaled because the Receive Unit left the Ready state. This may be caused by an RU Abort command, a no resources situation, or set suspend bit due to a filled Receive Frame Descriptor. Management Data Interrupt (MDI)—R/WC. 11 0 = Software acknowledges the interrupt and clears this bit by writing a 1 to the bit position. 1 = Set when a Management Data Interface read or write cycle has completed. The management data interrupt is enabled through the interrupt enable bit (bit 29 in the management data interface control register in the CSR). Software Interrupt (SWI)—R/WC. 10 0 = Software acknowledges the interrupt and clears this bit by writing a 1 to the bit position. 1 = Set when software generates an interrupt. Early Receive (ER)—R/WC. 9 0 = Software acknowledges the interrupt and clears this bit by writing a 1 to the bit position. 1 = Indicates the occurrence of an Early Receive Interrupt. Flow Control Pause (FCP)—R/WC. 8 0 = Software acknowledges the interrupt and clears this bit by writing a 1 to the bit position. 1 = Indicates Flow Control Pause interrupt. Command Unit Status (CUS)—RO. 00 = Idle 01 = Suspended 10 = LPQ (Low Priority Queue) active 11 = HPQ (High Priority Queue) active Receive Unit Status (RUS)—RO. 7:6 5:2 0000 = Idle 0001 = Suspended 0010 = No Resources 0011 = Reserved 0100 = Ready 0101 = Reserved 0110 = Reserved 0111 = Reserved Reserved. 1000 = Reserved 1001 = Suspended with no more RBDs 1010 = No resources due to no more RBDs 1011 = Reserved 1100 = Ready with no RBDs present 1101 = Reserved 1110 = Reserved 1111 = Reserved 1:0 246 Intel® 82801CA ICH3-S Datasheet LAN Controller Registers (B1:D8:F0) 7.2.2 System Control Block Command Word Register Offset Address: Default Value: 02–03h 0000h Attribute: Size: R/W 16 bits The processor places commands for the Command and Receive units in this register. Interrupts are also acknowledged in this register. Bit CX Mask —R/W. Description 15 0 = Interrupt not masked. 1 = Disable the generation of a CX interrupt. FR Mask —R/W. 0 = Interrupt not masked. 1 = Disable the generation of an FR interrupt. CNA Mask —R/W. 14 13 0 = Interrupt not masked. 1 = Disable the generation of a CNA interrupt. RNR Mask —R/W. 12 0 = Interrupt not masked. 1 = Disable the generation of an RNR interrupt. ER Mask —R/W. 11 0 = Interrupt not masked. 1 = Disable the generation of an ER interrupt. FCP Mask —R/W. 10 0 = Interrupt not masked. 1 = Disable the generation of an FCP interrupt. Software Generated Interrupt (SI)—WO. 9 0 = No Effect. 1 = Setting this bit causes the LAN Controller to generate an interrupt. Interrupt Mask (M)—R/W. This bit enables or disables the LAN Controllers assertion of the INTA# signal. This bit has higher precedence that the specific interrupt mask bits and the SI bit. 0 = Enable the assertion of INTA#. 1 = Disable the assertion of INTA#. 8 Intel® 82801CA ICH3-S Datasheet 247 LAN Controller Registers (B1:D8:F0) Bit Description Command Unit Command (CUC)—R/W. Valid values are listed below. All other values are Reserved. 7:4 0000 = NOP: Does not affect the current state of the unit. 0001 = CU Start: Start execution of the first command on the CBL. A pointer to the first CB of the CBL should be placed in the SCB General Pointer before issuing this command. The CU Start command should only be issued when the CU is in the Idle or Suspended states (never when the CU is in the active state), and all of the previously issued Command Blocks have been processed and completed by the CU. Sometimes it is only possible to determine that all Command Blocks are completed by checking that the complete bit is set in all previously issued Command Blocks. 0010 = CU Resume: Resume operation of the Command unit by executing the next command. This command will be ignored if the CU is idle. 0011 = CU HPQ Start: Start execution of the first command on the high priority CBL. A pointer to the first CB of the HPQ CBL should be placed in the SCB General POinter before issuing this command. 0100 = Load Dump Counters Address: Tells the device where to write dump data when using the Dump Statistical Counters or Dump and Reset Statistical Counters commands. This command must be executed at least once before any usage of the Dump Statistical Counters or Dump and Reset Statistical Counters commands. The address of the dump area must be placed in the General Pointer register. 0101 = Dump Statistical Counters: Tells the device to dump its statistical counters to the area designated by the Load Dump Counters Address command. 0110 = Load CU Base: The device’s internal CU Base Register is loaded with the value in the CSB General Pointer. 0111 = Dump and Reset Statistical Counters: Tells the device to dump its statistical counters to the area designated by the Load Dump Counters Address command, and then to clear these counters. 1010 = CU Static Resume: Resume operation of the Command unit by executing the next command. This command will be ignored if the CU is idle. This command should be used only when the CU is in the Suspended state and has no pending CU Resume commands. 1011 = CU HPQ Resume: Resume execution of the first command on the HPQ CBL. this command will be ignored if the HPQ was never started. Reserved. Receive Unit Command (RUC)—R/W. Valid values are: 3 2:0 000 = NOP: Does not affect the current state of the unit. 001 = RU Start: Enables the receive unit. The pointer to the RFA must be placed in the SCB General POinter before using this command. The device pre-fetches the first RFD and the first RBD (if in flexible mode) in preparation to receive incoming frames that pass its address filtering. 010 = RU Resume: Resume frame reception (only when in suspended state). 011 = RCV DMA Redirect: Resume the RCV DMA when configured to “Direct DMA Mode.” The buffers are indicated by an RBD chain which is pointed to by an offset stored in the General Pointer Register (this offset will be added to the RU Base). 100 = RU Abort: Abort RU receive operation immediately. 101 = Load Header Data Size (HDS): This value defines the size of the Header portion of the RFDs or Receive buffers. The HDS value is defined by the lower 14 bits of the SCB General Pointer, so bits 31:15 should always be set to zeros when using this command. Once a Load HDS command is issued, the device expects only to find Header RFDs, or be used in “RCV Direct DMA mode” until it is reset. Note that the value of HDS should be an even, non-zero number. 110 = Load RU Base: The device’s internal RU Base Register is loaded with the value in the SCB General Pointer. 111 = RBD Resume: Resume frame reception into the RFA. This command should only be used when the RU is already in the “No Resources due to no RBDs” state or the “Suspended with no more RBDs” state. 248 Intel® 82801CA ICH3-S Datasheet LAN Controller Registers (B1:D8:F0) 7.2.3 System Control Block General Pointer Register Offset Address: Default Value: Bit 04–07h 0000 0000h Attribute: Size: Description R/W 32 bits 15:0 SCB General Pointer. The SCB General Pointer register is programmed by software to point to various data structures in main memory depending on the current SCB Command word. 7.2.4 PORT Offset Address: Default Value: 08–0Bh 0000 0000h Attribute: Size: R/W (special) 32 bits The PORT interface allows the processor to reset the ICH3’s internal LAN Controller, or perform an internal self test. The PORT DWord may be written as a 32-bit entity, two 16-bit entities, or four 8-bit entities. The LAN Controller will only accept the command after the high byte (offset 0Bh) is written, therefore the high byte must be written last. Bit Description Pointer Field. A 16-byte aligned address must be written to this field when issuing a Self-Test command to the PORT interface.The results of the Self Test will be written to the address specified by this field. PORT Function Selection. Valid values are listed below. All other values are Reserved. 31:4 3:0 0000 = PORT Software Reset: Completely resets the LAN Controller (all CSR and PCI registers). This command should not be used when the device is active. If a PORT Software Reset is desired, software should do a Selective Reset (described below), wait for the PORT register to be cleared (completion of the Selective Reset), and then issue the PORT Software Reset command. Software should wait approximately 10µs after issuing this command before attempting to access the LAN Controller’s registers again. 0001 = Self Test: The Self-Test begins by issuing an internal Selective Reset followed by a general internal self-test of the LAN Controller. The results of the self-test are written to memory at the address specified in the Pointer field of this register. The format of the self-test result is shown in Table 7-5. After completing the self-test and writing the results to memory, the LAN Controller will execute a full internal reset and will re-initialize to the default configuration. Self-Test does not generate an interrupt of similar indicator to the host processor upon completion. 0010 = Selective Reset: Sets the CU and RU to the Idle state, but otherwise maintains the current configuration parameters (RU and CU Base, HDSSize, Error Counters, Configure information and Individual/Multicast Addresses are preserved). Software should wait approximately 10µs after issuing this command before attempting to access the LAN Controller’s registers again. Intel® 82801CA ICH3-S Datasheet 249 LAN Controller Registers (B1:D8:F0) Table 7-5. Self-Test Results Format Bit Description 31:13 12 11:6 5 4 3 Reserved. General Self-Test Result. 0 = Pass 1 = Fail Reserved. Diagnose Result. This bit provides the result of an internal diagnostic test of the Serial Subsystem. 0 = Pass 1 = Fail Reserved. Register Result. This bit provides the result of a test of the internal Parallel Subsystem registers. 0 = Pass 1 = Fail ROM Content Result. This bit provides the result of a test of the internal microcode ROM. 2 1:0 0 = Pass 1 = Fail Reserved. 7.2.5 EEPROM Control Register Offset Address: Default Value: 0Eh 00h Attribute: Size: RO/R/W 8 bits The EEPROM Control Register is a 16-bit field that enables a read from and a write to the external EEPROM. Bit Description 7:4 3 Reserved. EEPROM Serial Data Out (EEDO)—RO. Note that this bit represents “Data Out” from the perspective of the EEPROM device. This bit contains the value read from the EEPROM when performing read operations. EEPROM Serial Data In (EEDI)—WO. Note that this bit represents “Data In” from the perspective of the EEPROM device. The value of this bit is written to the EEPROM when performing write operations. EEPROM Chip Select (EECS)—R/W. 0 = Drives the ICH3’s EE_CS signal low, to disable the EEPROM. this bit must be set to 0 for a minimum of 1µs between consecutive instruction cycles. 1 = Drives the ICH3’s EE_CS signal high, to enable the EEPROM. EEPROM Serial Clock (EESK)—R/W. Toggling this bit, clocks data into or out of the EEPROM. Software must ensure that this bit is toggled at a rate that meets the EEPROM component’s minimum clock frequency specification. 2 1 0 0 = Drives the ICH3’s EE_SHCLK signal low. 1 = Drives the ICH3’s EE_SHCLK signal high. 250 Intel® 82801CA ICH3-S Datasheet LAN Controller Registers (B1:D8:F0) 7.2.6 Management Data Interface (MDI) Control Register Offset Address: Default Value: 10–13h 0000 0000h Attribute: Size: R/W (special) 32 bits The Management Data Interface (MDI) Control register is a 32-bit field and is used to read and write bits from the LAN Connect component. This register may be written as a 32-bit entity, two 16-bit entities, or four 8-bit entities. The LAN Controller will only accept the command after the high byte (offset 13h) is written, therefore the high byte must be written last. Bit Description 31:30 29 These bits are reserved and should be set to 00b. Interrupt Enable. 0 = Disable. 1 = Enables the LAN Controller to assert an interrupt to indicate the end of an MDI cycle. Ready. 28 0 = Expected to be reset by software at the same time the command is written. 1 = Set by the LAN Controller at the end of an MDI transaction. Opcode. These bits define the opcode: 00 = Reserved 01 = MDI write 10 = MDI read 11 = Reserved LAN Connect Address. This field of bits contains the LAN Connect address. LAN Connect Register Address. This field of bits contains the LAN Connect Register Address. Data. In a write command, software places the data bits in this field, and the LAN Controller transfers the data to the external LAN Connect component. During a read command, the LAN Controller reads these bits serially from the LAN Connect, and software reads the data from this location. 27:26 25:21 20:16 15:0 7.2.7 Receive DMA Byte Count Register Offset Address: Default Value: Bit 14–17h 0000 0000h Attribute: Size: Description RO 32 bits 31:0 Receive DMA Byte Count—RO. Keeps track of how many bytes of receive data have been passed into host memory via DMA. Intel® 82801CA ICH3-S Datasheet 251 LAN Controller Registers (B1:D8:F0) 7.2.8 Early Receive Interrupt Register Offset Address: Default Value: 18h 00h Attribute: Size: R/W 8 bits The Early Receive Interrupt register allows the internal LAN Controller to generate an early interrupt depending on the length of the frame. The LAN Controller will generate an interrupt at the end of the frame regardless of whether or not Early Receive Interrupts are enabled. Note: It is recommended that software NOT utilize this register unless receive interrupt latency is a critical performance issue in that particular software environment. Using this feature may reduce receive interrupt latency, but will also result in the generation of more interrupts, which can degrade system efficiency and performance in some environments. Bit Description Early Receive Count—R/W. When some non-zero value x is programmed into this register, the LAN Controller will set the ER bit in the SCB Status Word Register and assert INTA# when the byte count indicates that there are x quad-words remaining to be received in the current frame (based on the Type/Length field of the received frame). No Early Receive interrupt will be generated if a value of 00h (the default value) is programmed into this register. 7:0 252 Intel® 82801CA ICH3-S Datasheet LAN Controller Registers (B1:D8:F0) 7.2.9 Flow Control Register Offset Address: Default Value: Bit 19–1Ah 0000h Attribute: Size: Description RO, R/W (special) 16 bits 15:13 12 Reserved. FC Paused Low—RO. 0 = Cleared when the FC timer reaches zero, or a Pause frame is received. 1 = Set when the LAN Controller receives a Pause Low command with a value greater than zero. FC Paused—RO. 0 = Cleared when the FC timer reaches zero. 1 = Set when the LAN Controller receives a Pause command regardless of its cause (FIFO reaching Flow Control Threshold, fetching a Receive Frame Descriptor with its flow control pause bit set, or software writing a 1 to the Xoff bit). FC Full—RO. 11 10 0 = Cleared when the FC timer reaches zero. 1 = Set when the LAN Controller sends a Pause command with a value greater than zero. Xoff—R/W (special). This bit should only be used if the LAN Controller is configured to operate with IEEE frame-based flow control. 0 = This bit can only be cleared by writing a 1 to the Xon bit (bit 8 in this register). 1 = Writing a 1 to this bit forces the Xoff request to 1 and causes the LAN Controller to behave as if the FIFO extender is full. This bit will also be set to 1 when an Xoff request due to an “RFD Xoff” bit. Xon—WO. This bit should only be used if the LAN Controller is configured to operate with IEEE frame-based flow control. 0 = This bit always returns 0 on reads. 1 = Writing a 1 to this bit resets the Xoff request to the LAN Controller, clearing bit 9 in this register. 9 8 7:3 Reserved. Flow Control Threshold—R/W. The LAN Controller can generate a Flow Control Pause frame when its Receive FIFO is almost full. The value programmed into this field determines the number of bytes still available in the Receive FIFO when the Pause frame is generated. Bits 2:0 Free Bytes in Receive FIFO Comment Fast system (recommended default) 2:0 000 001 010 011 100 101 110 111 0.50 KB 1.00 KB 1.25 KB 1.50 KB 1.75 KB 2.00 KB 2.25 KB 2.50 KB Slow system Intel® 82801CA ICH3-S Datasheet 253 LAN Controller Registers (B1:D8:F0) 7.2.10 Power Management Driver (PMDR) Register Offset Address: Default Value: 1Bh 00h Attribute: Size: R/WC 8 bits The ICH3’s internal LAN Controller provides an indication in the PMDR that a wake-up event has occurred. Bit Link Status Change Indication—R/WC. Description 7 0 = Software clears this bit by writing a 1 to the bit location. 1 = The link status change bit is set following a change in link status. Magic Packet*—R/WC. 6 0 = Software clears this bit by writing a 1 to the bit location. 1 = This bit is set when a Magic Packet is received regardless of the Magic Packet wake-up disable bit in the configuration command and the PME Enable bit in the power management control/ status register. Interesting Packet—R/WC. 5 0 = Software clears this bit by writing a 1 to the bit location. 1 = This bit is set when an “interesting” packet is received. Interesting packets are defined by the LAN Controller packet filters. Reserved. PME Status—R/WC. This bit is a reflection of the PME status bit in the Power Management Control/ Status Register (PMCSR). 4:1 0 0 = Software clears this bit by writing a 1 to the bit location. This also clears the PME status bit in the PMCSR and de-asserts the PME signal. 1 = Set upon a wake-up event, independent of the PME enable bit. 7.2.11 General Control Register Offset Address: Default Value: Bit 1Ch 00h Attribute: Size: Description R/W 8 bits 7:4 Reserved. These bits should be set to 0000b. LAN Connect Software Reset—R/W. 3 0 = Cleared by software to begin normal LAN Connect operating mode. Software must not attempt to access the LAN Connect interface for at least 1 ms after clearing this bit. 1 = Software can set this bit to force a reset condition on the LAN Connect interface. Reserved. This bit should be set to 0. Deep Power-Down on Link Down Enable. 2 1 0 = Disable. 1 = The ICH3’s internal LAN Controller may enter a deep power-down state (sub-3 mA) in the D2 and D3 power states while the link is down. In this state, the LAN Controller does not keep link integrity. This state is not supported for point-to-point connection of two end stations. Reserved. 0 254 Intel® 82801CA ICH3-S Datasheet LAN Controller Registers (B1:D8:F0) 7.2.12 General Status Register Offset Address: Default Value: Bit 1Dh N/A Attribute: Size: Description RO 8 bits 7:3 2 Reserved. Duplex Mode. This bit indicates the wire duplex mode. 0 = Half duplex 1 = Full duplex Speed. This bit indicates the wire speed: 1 0 = 10 Mbps 1 = 100 Mbps Link Status Indication. This bit indicates the status of the link: 0 = Invalid 1 = Valid 0 7.2.13 Statistical Counters The ICH3’s integrated LAN Controller provides information for network management statistics by providing on-chip statistical counters that count a variety of events associated with both transmit and receive. The counters are updated by the LAN Controller when it completes the processing of a frame (that is, when it has completed transmitting a frame on the link or when it has completed receiving a frame). The Statistical Counters are reported to the software on demand by issuing the Dump Statistical Counters command or Dump and Reset Statistical Counters command in the SCB Command Unit Command (CUC) field. Table 7-6. Statistical Counters ID Counter Description 0 Transmit Good Frames This counter contains the number of frames that were transmitted properly on the link. It is updated only after the actual transmission on the link is completed, not when the frame was read from memory as is done for the Transmit Command Block status. This counter contains the number of frames that were not transmitted because they encountered the configured maximum number of collisions. This counter contains the number of frames that were not transmitted since they encountered a collision later than the configured slot time. A transmit underrun occurs because the processor system bus cannot keep up with the transmission. This counter contains the number of frames that were either not transmitted or retransmitted due to a transmit DMA underrun. If the LAN Controller is configured to retransmit on underrun, this counter may be updated multiple times for a single frame. This counter contains the number of frames that were transmitted by the LAN Controller despite the fact that it detected the de-assertion of CRS during the transmission. This counter contains the number of frames that were deferred before transmission due to activity on the link. This counter contains the number of transmitted frames that encountered one collision. 4 Transmit Maximum Collisions (MAXCOL) Errors Transmit Late Collisions (LATECOL) Errors 8 12 Transmit Underrun Errors 16 Transmit Lost Carrier Sense (CRS) Transmit Deferred Transmit Single Collisions 20 24 Intel® 82801CA ICH3-S Datasheet 255 LAN Controller Registers (B1:D8:F0) Table 7-6. Statistical Counters (Continued) ID Counter Description 28 Transmit Multiple Collisions This counter contains the number of transmitted frames that encountered more than one collision. This counter contains the total number of collisions that were encountered while attempting to transmit. This count includes late collisions and frames that encountered MAXCOL. This counter contains the number of frames that were received properly from the link. It is updated only after the actual reception from the link is completed and all the data bytes are stored in memory. This counter contains the number of aligned frames discarded because of a CRC error. This counter is updated, if needed, regardless of the Receive Unit state. The Receive CRC Errors counter is mutually exclusive of the Receive Alignment Errors and Receive Short Frame Errors counters. This counter contains the number of frames that are both misaligned (for example, CRS de-asserts on a non-octal boundary) and contain a CRC error. The counter is updated, if needed, regardless of the Receive Unit state. The Receive Alignment Errors counter is mutually exclusive of the Receive CRC Errors and Receive Short Frame Errors counters. This counter contains the number of good frames discarded due to unavailability of resources. Frames intended for a host whose Receive Unit is in the No Resources state fall into this category. If the LAN Controller is configured to Save Bad Frames and the status of the received frame indicates that it is a bad frame, the Receive Resource Errors counter is not updated. This counter contains the number of frames known to be lost because the local system bus was not available. If the traffic problem persists for more than one frame, the frames that follow the first are also lost; however, because there is no lost frame indicator, they are not counted. This counter contains the number of frames that encountered collisions during frame reception. This counter contains the number of received frames that are shorter than the minimum frame length. The Receive Short Frame Errors counter is mutually exclusive to the Receive Alignment Errors and Receive CRC Errors counters. A short frame will always increment only the Receive Short Frame Errors counter. 32 Transmit Total Collisions 36 Receive Good Frames 40 Receive CRC Errors 44 Receive Alignment Errors 48 Receive Resource Errors 52 Receive Overrun Errors 56 Receive Collision Detect (CDT) 60 Receive Short Frame Errors 64 This counter contains the number of Flow Control frames transmitted Flow Control Transmit Pause by the LAN Controller. This count includes both the Xoff frames transmitted and Xon (PAUSE(0)) frames transmitted. Flow Control Receive Pause This counter contains the number of Flow Control frames received by the LAN Controller. This count includes both the Xoff frames received and Xon (PAUSE(0)) frames received. This counter contains the number of MAC Control frames received by the LAN Controller that are not Flow Control Pause frames. These frames are valid MAC control frames that have the predefined MAC control Type value and a valid address but has an unsupported opcode. This counter contains the number of TCO packets received by the LAN Controller. This counter contains the number of TCO packets transmitted. 68 72 Flow Control Receive Unsupported 76 78 Receive TCO Frames Transmit TCO Frames 256 Intel® 82801CA ICH3-S Datasheet LAN Controller Registers (B1:D8:F0) The Statistical Counters are initially set to zero by the ICH3’s integrated LAN Controller after reset. They cannot be preset to anything other than zero. The LAN Controller increments the counters by internally reading them, incrementing them and writing them back. This process is invisible to the processor and PCI bus. In addition, the counters adhere to the following rules: • The counters are wrap-around counters. After reaching FFFFFFFFH the counters wrap around to 0. • The LAN Controller updates the required counters for each frame. It is possible for more than one counter to be updated as multiple errors can occur in a single frame. • The counters are 32 bits wide and their behavior is fully compatible with the IEEE 802.1 standard. The LAN Controller supports all mandatory and recommend statistics functions through the status of the receive header and directly through these Statistical Counters. The processor can access the counters by issuing a Dump Statistical Counters SCB command. This provides a “snapshot”, in main memory, of the internal LAN Controller statistical counters. The LAN Controller supports 21 counters. The dump could consist of the either 16, 19, or all 21 counters, depending on the status of the Extended Statistics Counters and TCO Statistics configuration bits in the Configuration command. Intel® 82801CA ICH3-S Datasheet 257 LAN Controller Registers (B1:D8:F0) This page is intentionally left blank. 258 Intel® 82801CA ICH3-S Datasheet Hub Interface to PCI Bridge Registers (D30:F0) Hub Interface to PCI Bridge Registers (D30:F0) 8 The hub interface to PCI Bridge resides in PCI Device 30, Function 0 on bus #0. This portion of the ICH3 implements the buffering and control logic between PCI and the hub interface. The arbitration for the PCI bus is handled by this PCI device. The PCI decoder in this device must decode the ranges for the hub interface. All register contents will be lost when core well power is removed. 8.1 Note: . PCI Configuration Registers (D30:F0) Registers that are not shown should be treated as Reserved (See Section 6.2 for details). Table 8-1. PCI Configuration Map (HUB-PCI—D30:F0) Offset Mnemonic Register Name/Function Default Type 00–01h 02–03h 04–05h 06–07h 08h 0Ah 0Bh 0Dh 0Eh 18h 19h 1Ah 1Bh 1Ch 1Dh 1E–1Fh 20–21h 22–23h 24–25h 26–27h 30–31h 32–33h 3Ch 3E–3Fh VID DID CMD PD_STS REVID SCC BCC PMLT HEADTYP PBUS_NUM SBUS_NUM SUB_BUS_NUM SMLT IOBASE IOLIM SECSTS MEMBASE MEMLIM PREF_MEM_BASE PREF_MEM_MLT IOBASE_HI IOLIMIT_HI INT_LINE BRIDGE_CNT Vendor ID Device ID PCI Device Command PCI Device Status Revision ID Sub Class Code Base Class Code Primary Master Latency Timer Header Type Primary Bus Number Secondary Bus Number Subordinate Bus Number Secondary Master Latency Timer I/O Base Register I/O Limit Register Secondary Status Memory Base Memory Limit Prefetchable Memory Base Prefetchable Memory Limit I/O Base Upper 16 Bits I/O Limit Upper 16 Bits Interrupt Line Bridge Control 8086h 244Eh 0001h 0080h See Note 04h 06h 00h 01h 00h 00h 00h 00h F0h 00h 0280h FFF0h 0000h 0000h 0000h 0000h 0000h 00h 0000h RO RO R/W R/W RO RO RO RO RO RO R/W R/W R/W R/W R/W R/W R/W R/W RO RO RO RO RO R/W Intel® 82801CA ICH3-S Datasheet 259 Hub Interface to PCI Bridge Registers (D30:F0) Table 8-1. PCI Configuration Map (HUB-PCI—D30:F0) (Continued) Offset Mnemonic Register Name/Function Default Type 40h 44–45h 50–51h 70h 82h 90h 92h BRIDGE_CNT2 DEVICE_HIDE CNF MTT PCI_MAST_STS ERR_CMD ERR_STS Bridge Control 2 Secondary PCI Device Hiding ICH3 Configuration Multi-Transaction Timer PCI Master Status Error Command Register Error Status Register 00 00 1400h 20h 00h 00h 00h R/W R/W R/W R/W R/W R/W R/W NOTE: Refer to the Specification Update for the Revision ID. 8.1.1 VID—Vendor ID Register (HUB-PCI—D30:F0) Offset Address: Default Value: Bit 00–01h 8086h Attribute: Size: Description RO 16 bits 15:0 Vendor Identification Value—RO. This is a 16-bit value assigned to Intel. Intel VID = 8086h. 8.1.2 DID—Device ID Register (HUB-PCI—D30:F0) Offset Address: Default Value: 02–03h 244Eh Attribute: Size: RO 16 bits Bit Description Device Identification Value—RO. This is a 16 bit value assigned to the ICH3 hub interface to PCI bridge (i.e., Device #2). DID = 244Eh 15:0 260 Intel® 82801CA ICH3-S Datasheet Hub Interface to PCI Bridge Registers (D30:F0) 8.1.3 CMD—Command Register (HUB-PCI—D30:F0) Offset Address: Default Value: Bit 04–05h 0001h Attribute: Size: Description R/W 16 bits 15:10 9 Reserved. Fast Back to Back Enable (FBE)—RO. Hardwired to 0. The ICH3 does not support this capability. SERR# Enable (SERR_EN)—R/W. 8 0 = Disable 1 = Enable the ICH3 to generate an NMI (or SMI# if NMI routed to SMI#) when the D30:F0 SSE bit (offset 06h, bit 14) is set. Wait Cycle Control (WCC)—RO. Hardwired to 0. Parity Error Response (PER)—R/W. 7 6 5 4 3 0 = The ICH3 will ignore parity errors on the hub interface. 1 = The ICH3 is allowed to report parity errors detected on the hub interface. VGA Palette Snoop (VPS)—RO. Hardwired to 0. Memory Write and Invalidate Enable (MWIE)—RO. Hardwired to 0. Special Cycle Enable (SCE)—RO. Hardwired to 0 by P2P Bridge spec. Bus Master Enable (BME)—R/W. 2 0 = Disable 1 = Allows the Hub interface-to-PCI bridge to accept cycles from PCI to run on the hub interface. Note: This bit does not affect the CF8h and CFCh I/O accesses. NOTE: Cycles that generated from the ICH3’s Device 31 functionality are not blocked by clearing this bit. (PC/PCI Cascade Mode cycles may be blocked). Memory Space Enable (MSE)—R/W. The ICH3 provides this bit as read/writable for software only. However, the ICH3 ignores the programming of this bit, and runs hub interface memory cycles to PCI. I/O Space Enable (IOE)—R/W. The ICH3 provides this bit as read/writable for software only. However, the ICH3 ignores the programming of this bit and runs hub interface I/O cycles to PCI that are not intended for USB, IDE, or AC ’97. 1 0 Intel® 82801CA ICH3-S Datasheet 261 Hub Interface to PCI Bridge Registers (D30:F0) 8.1.4 PD_STS—Primary Device Status Register (HUB-PCI—D30:F0) Offset Address: Default Value: 06–07h 0080h Attribute: Size: R/WC 16 bits For the writable bits in this register, writing a 1 will clear the bit. Writing a 0 to the bit will have no effect. Bit Description Detected Parity Error (DPE)—R/WC. 0 = Software clears this bit by writing a 1 to the bit location. 1 = Indicates that the ICH3 detected a parity error on the hub interface. This bit gets set even if the Parity Error Response bit (offset 04, bit 6) is not set. Signaled System Error (SSE)—R/WC. 15 14 0 = Software clears this bit by writing a 1 to the bit location. 1 = An address, or command parity error, or special cycles data parity error has been detected on the PCI bus, and the Parity Error Response bit (D30:F0, Offset 04h, bit 6) is set. If this bit is set because of parity error and the D30:F0 SERR_EN bit (Offset 04h, bit 8) is also set, the ICH3 will generate an NMI (or SMI# if NMI routed to SMI#). Received Master Abort (RMA)—R/WC. 13 0 = Software clears this bit by writing a 1 to the bit location. 1 = ICH3 received a master abort from the hub interface device. Received Target Abort (RTA)—R/WC. 12 0 = Software clears this bit by writing a 1 to the bit location. 1 = ICH3 received a target abort from the hub interface device. The TCO logic can cause an SMI#, NMI, or interrupt based on this bit getting set. Signaled Target Abort (STA)—R/WC. 11 0 = Software clears this bit by writing a 1 to the bit location. 1 = ICH3 signals a target abort condition on the hub interface. DEVSEL# Timing Status (DEV_STS)—RO. 00h = Fast timing. This register applies to the hub interface; therefore, this field does not matter. Master Data Parity Error Detected (MDPD)—R/WC. Since this register applies to the hub interface, the ICH3 must interpret this bit differently than it is in the PCI spec. 10:9 8 0 = Software clears this bit by writing a 1 to the bit location. 1 = ICH3 detects a parity error on the hub interface and the Parity Error Response bit in the Command Register (offset 04h, bit 6) is set. Fast Back to Back (FB2B)—RO. Hardwired to 1. User Definable Features (UDF)—RO. Hardwired to 0. 66 MHz Capable (66MHZ_CAP)—RO. Hardwired to 0. Reserved. 7 6 5 4:0 262 Intel® 82801CA ICH3-S Datasheet Hub Interface to PCI Bridge Registers (D30:F0) 8.1.5 REVID—Revision ID Register (HUB-PCI—D30:F0) Offset Address: Default Value: Bit 08h See Note Attribute: Size: Description RO 8 bits 7:0 Revision Identification Value—RO. 8-bit value that indicates the revision number for the ICH3 hub interface to PCI bridge. NOTE: Refer to the Specification Update for the Revision ID. 8.1.6 SCC—Sub Class Code Register (HUB-PCI—D30:F0) Offset Address: Default Value: Bit 0Ah 04h Attribute: Size: Description RO 8 bits 7:0 Sub Class Code—RO. 8-bit value that indicates the category of bridge for the ICH3 hub interface to PCI bridge. The code is 04h indicating a PCI-to-PCI bridge. 8.1.7 BCC—Base-Class Code Register (HUB-PCI—D30:F0) Offset Address: Default Value: Bit 0Bh 06h Attribute: Size: Description RO 8 bits 7:0 Base Class Code—RO. 8-bit value that indicates the type of device for the ICH3 hub interface to PCI bridge. The code is 06h indicating a bridge device. 8.1.8 PMLT—Primary Master Latency Timer Register (HUB-PCI—D30:F0) Offset Address: Default Value: 0Dh 00h Attribute: Size: RO 8 bits This register does not apply to hub interface. Bit Description 7:3 2:0 Master Latency Timer Count (MLTC). Not implemented. Reserved. Intel® 82801CA ICH3-S Datasheet 263 Hub Interface to PCI Bridge Registers (D30:F0) 8.1.9 HEADTYP—Header Type Register (HUB-PCI—D30:F0) Offset Address: Default Value: Bit 0Eh 01h Attribute: Size: Description RO 8 bits 7 6:0 Multi-Function Device—RO. This bit is 0 to indicate a single function device. Header Type—RO. 8-bit field identifies the header layout of the configuration space, which is a PCIto-PCI bridge in this case. 8.1.10 PBUS_NUM—Primary Bus Number Register (HUB-PCI—D30:F0) Offset Address: Default Value: Bit 18h 00h Attribute: Size: Description RO 8 bits 7:0 Primary Bus Number—RO. This field indicates the bus number of the hub interface and is hardwired to 00h. 8.1.11 SBUS_NUM—Secondary Bus Number Register (HUB-PCI—D30:F0) Offset Address: Default Value: Bit 19h 00h Attribute: Size: Description R/W 8 bits Secondary Bus Number—R/W. This field indicates the bus number of PCI. 7:0 NOTE: When this number is equal to the primary bus number (i.e., bus #0), the ICH3 will run hub interface configuration cycles to this bus number as Type 1 configuration cycles on PCI. 8.1.12 SUB_BUS_NUM—Subordinate Bus Number Register (HUB-PCI—D30:F0) Offset Address: Default Value: Bit 1A 00h Attribute: Size: Description R/W 8 bits 7:0 Subordinate Bus Number—R/W. This field specifies the highest PCI bus number below the hub interface to PCI bridge. If a Type 1 configuration cycle from the hub interface does not fall in the Secondary-to-Subordinate Bus ranges of Device 30, the ICH3 will indicate a master abort back to the hub interface. 264 Intel® 82801CA ICH3-S Datasheet Hub Interface to PCI Bridge Registers (D30:F0) 8.1.13 SMLT—Secondary Master Latency Timer Register (HUB-PCI—D30:F0) Offset Address: Default Value: 1Bh 00h Attribute: Size: R/W 8 bits This Master Latency Timer (MLT) controls the amount of time that the ICH3 will continue to burst data as a master on the PCI bus. When the ICH3 starts the cycle after being granted the bus, the counter is loaded and starts counting down from the assertion of FRAME#. If the internal grant to this device is removed, then the expiration of the MLT counter will result in the de-assertion of FRAME#. If the internal grant has not been removed, then the ICH3 can continue to own the bus. Bit Description Master Latency Timer Count (MLTC)—R/W. 5-bit value that indicates the number of PCI clocks, in 8-clock increments, that the ICH3 will remain as master of the bus. 7:3 2:0 Reserved. 8.1.14 IOBASE—I/O Base Register (HUB-PCI—D30:F0) Offset Address: Default Value: Bit 1Ch F0h Attribute: Size: Description R/W 8 bits 7:4 I/O Address Base Bits [15:12]—R/W. I/O Base bits corresponding to address lines 15:12 for 4-KB alignment. Bits 11:0 are assumed to be padded to 000h. I/O Addressing Capability—RO. This is hardwired to 0h, indicating that the hub interface to PCI bridge does not support 32-bit I/O addressing. This means that the I/O Base & Limit Upper Address registers must be read only. 3:0 8.1.15 IOLIM—I/O Limit Register (HUB-PCI—D30:F0) Offset Address: Default Value: Bit 1Dh 00h Attribute: Size: Description R/W 8 bits 7:4 I/O Address Limit Bits [15:12]—R/W. I/O Base bits corresponding to address lines 15:12 for 4-KB alignment. Bits 11:0 are assumed to be padded to FFFh. I/O Addressing Capability—RO. This is hardwired to 0h, indicating that the hub interface-to-PCI bridge does not support 32-bit I/O addressing. This means that the I/O Base & Limit Upper Address registers must be read only. 3:0 Intel® 82801CA ICH3-S Datasheet 265 Hub Interface to PCI Bridge Registers (D30:F0) 8.1.16 SECSTS—Secondary Status Register (HUB-PCI—D30:F0) Offset Address: Default Value: 1E–1Fh 0280h Attribute: Size: R/W 16 bits For the writable bits in this register, writing a 1 will clear the bit. Writing a 0 to the bit will have no effect. Bit Detected Parity Error (DPE)—R/WC. Description 15 0 = This bit is cleared by software writing a 1. 1 = ICH3 detected a parity error on the PCI bus. Received System Error (SSE)—R/WC. 14 0 = Software clears this bit by writing a 1 to the bit position. 1 = SERR# assertion is received on PCI. Received Master Abort (RMA)—R/WC. 13 0 = Software clears this bit by writing a 1 to the bit position. 1 = Hub interface to PCI cycle is master-aborted on PCI. Received Target Abort (RTA)—R/WC. 12 0 = Software clears this bit by writing a 1 to the bit position. 1 = Hub interface to PCI cycle is target-aborted on PCI. For “completion required” cycles from the hub interface, this event should also set the Signaled Target Abort in the primary status register in this device, and the ICH3 must send the “target abort” status back to the hub interface. Signaled Target Abort (STA)—RO. The ICH3 does not generate target aborts. DEVSEL# Timing Status (DEV_STS)—RO. 01h = Medium timing. Master Data Parity Error Detected (MDPD)—R/WC. 11 10:9 8 0 = Software clears this bit by writing a 1 to the bit position. 1 = The ICH3 sets this bit when all of the following three conditions are met: - The parity error response enable bit in the bridge control register (bit 0, offset 3Eh) is set - USB, AC ’97 or IDE is a Master - PERR# asserts during a write cycle OR a parity error is detected internally during a read cycle Fast Back to Back (FB2B)—RO. Hardwired to 1 to indicate that the PCI to hub interface target logic is capable of receiving fast back-to-back cycles. User Definable Features (UDF)—RO. Hardwired to 0. 66 MHz Capable (66MHZ_CAP)—RO. Hardwired to 0. Reserved. 7 6 5 4:0 266 Intel® 82801CA ICH3-S Datasheet Hub Interface to PCI Bridge Registers (D30:F0) 8.1.17 MEMBASE—Memory Base Register (HUB-PCI—D30:F0) Offset Address: Default Value: 20–21h FFF0h Attribute: Size: R/W 16 bits This register defines the base of the hub interface to PCI non-prefetchable memory range. Since the ICH3 will forward all hub interface memory accesses to PCI, the ICH3 will only use this information for determining when not to accept cycles as a target. This register must be initialized by the configuration software. For the purpose of address decode, address bits A[19:0] are assumed to be 0. Thus, the bottom of the defined memory address range will be aligned to a 1-MB boundary. Bit Description Memory Address Base—R/W. Defines the base of the memory range for PCI. These 12 bits correspond to address bits 31:20. 15:4 3:0 Reserved. 8.1.18 MEMLIM—Memory Limit Register (HUB-PCI—D30:F0) Offset Address: Default Value: 22–23h 0000h Attribute: Size: R/W 16 bits This register defines the upper limit of the hub interface to PCI non-prefetchable memory range. Since the ICH3 will forward all hub interface memory accesses to PCI, the ICH3 will only use this information for determining when not to accept cycles as a target. This register must be initialized by the configuration software. For the purpose of address decode, address bits A[19:0] are assumed to be FFFFFh. Thus, the top of the defined memory address range will be aligned to a 1-MB boundary. Bit Description Memory Address Limit—R/W. Defines the top of the memory range for PCI. These 12 bits correspond to address bits 31:20. 15:4 3:0 Reserved. 8.1.19 PREF_MEM_BASE—Prefetchable Memory Base Register (HUB-PCI—D30:F0) Offset Address: Default Value: Bit 24h–25h 0000FFF0h Attribute: Size: Description R/W 16-bit 15:4 3:0 Prefetchable Memory Address Base—R/W. Defines the base address of the prefetchable memory address range for PCI. These 12 bits correspond to address bits 31:20. Reserved. RO. Intel® 82801CA ICH3-S Datasheet 267 Hub Interface to PCI Bridge Registers (D30:F0) 8.1.20 PREF_MEM_MLT—Prefetchable Memory Limit Register (HUB-PCI—D30:F0) Offset Address: Default Value: Bit 26h–27h 00000000h Attribute: Size: Description R/W 16-bit 15:4 3:0 Prefetchable Memory Address Limit—RW. Defines the limit address of the prefetchable memory address range for PCI. These 12 bits correspond to address bits 31:20. Reserved. RO 8.1.21 IOBASE_HI—I/O Base Upper 16 Bits Register (HUB-PCI—D30:F0) Offset Address: Default Value: Bit 30–31h 0000h Attribute: Size: Description RO 16 bits 15:0 I/O Address Base Upper 16 Bits [31:16]—RO. Not supported; hardwired to 0. 8.1.22 IOLIM_HI—I/O Limit Upper 16 Bits Register (HUB-PCI—D30:F0) Offset Address: Default Value: Bit 32–33h 0000h Attribute: Size: Description RO 16 bits 15:0 I/O Address Limit Upper 16 Bits [31:16]—RO. Not supported; hardwired to 0. 8.1.23 INT_LINE—Interrupt Line Register (HUB-PCI—D30:F0) Offset Address: Default Value: Bit 3Ch 00h Attribute: Size: Description RO 8 bits 7:0 Interrupt Line (INT_LN)—RO. Hardwired to 00h. The bridge does not generate interrupts, and interrupts from downstream devices are routed around the bridge. 268 Intel® 82801CA ICH3-S Datasheet Hub Interface to PCI Bridge Registers (D30:F0) 8.1.24 BRIDGE_CNT—Bridge Control Register (HUB-PCI—D30:F0) Offset Address: Default Value: Bit 3E–3Fh 0000h Attribute: Size: Description R/W 16 bits 15:8 7 6 Reserved. Fast Back to Back Enable—RO. Hardwired to 0. The PCI logic will not generate fast back-to-back cycles on the PCI bus. Secondary Bus Reset—RO. hardwired to 0. The ICH3 does not follow the P2P bridge reset scheme; Software-controlled resets are implemented in the PCI-LPC device. Master Abort Mode—R/W. This bit controls the behavior of the ICH3 when a master abort occurs on a transaction that crosses the hub interface-PCI bridge in either direction. The default is 0. 5 When set to 0, the ICH3 behaves in the following manner: • Hub Interface Completion-Required requests to PCI: When these master abort on PCI, the ICH3 returns a master abort status. For reads, FFFFh is returned for each DWord. • Hub Interface Posted Writes to PCI: When these master abort on PCI, the ICH3 discards the data. • PCI Reads to Hub Interface: When these master abort on Hub Interface, the ICH3 returns the data provided with the Hub Interface master abort packet to the PCI requestor. • PCI writes to Hub Interface: The ICH3 has no idea when these "master-abort." When set to 1, the ICH3 treats the master abort as an error: • Hub Interface Completion-Required requests to PCI: When these master abort on PCI, the ICH3 returns a target abort status. For reads, FFFFh is returned for each DWord. • Hub Interface Posted Writes to PCI: When these master abort on PCI, the ICH3 discards the data and sets the Primary Signaled SERR# bit (if the corresponding SERR_EN bit is set). • PCI Reads to Hub Interface: When these master abort on Hub Interface, the ICH3 terminates the cycle with a target abort and flushes the remainder of the prefetched data. • PCI writes to Hub Interface: the ICH3 has no idea when these "master-abort." VGA 16-Bit Decode. This bit does not have any functionality relative to address decodes because the ICH3 will forward the cycles to PCI, independent of the decode. Writes of 1 have no impact other than to force the bit to 1. Writes of 0 have no impact other than to force the bit to 0. Reads to this bit will return the previously written value (or 0 if no writes since reset). VGA Enable—R/W. 0 = No VGA device on PCI. 1 = Indicates that the VGA device is on PCI. Therefore, the PCI to hub interface decoder will not accept memory cycles in the range A0000h–BFFFFh. Note that the ICH3 will never take I/O cycles in the VGA range from PCI. ISA Enable—R/W. The ICH3 ignores this bit. However, this bit is read/write for software compatibility. Since the ICH3 forwards all I/O cycles that are not in the USB, AC ’97, or IDE ranges to PCI, this bit would have no effect. SERR# Enable—R/W. 4 3 2 1 0 = Disable 1 = If this bit is set AND bit 8 in CMD register (D30:F0 Offset 04h) is also set, the ICH3 will set the SSE bit in PD_STS register (D30:F0, offset 06h, bit 14) AND also generate an NMI (or SMI# if NMI routed to SMI) when the SERR# signal is asserted. Parity Error Response Enable—R/W. 0 0 = Disable 1 = Enable the hub interface to PCI bridge for parity error detection and reporting on the PCI bus.0 = Intel® 82801CA ICH3-S Datasheet 269 Hub Interface to PCI Bridge Registers (D30:F0) 8.1.25 BRIDGE_CNT2—Bridge Control Register 2 (HUB-PCI—D30:F0) Offset Address: Default Value: Bit 40h 00h Attribute: Size: Description R/W 8 bits 7:1 0 Reserved. PCI_DAC_EN—R/W. Allows ICH3 to recognize external PCI masters performing DAC on PCI. 0 = Disable 1 = Enable 8.1.26 DEVICE_HIDE—Secondary PCI Device Hiding Register (HUB-PCI—D30:F0) Offset Address: Default Value: Power Well: 44–45h 00h 00h Attribute: Size: R/W 16 bits This register allows software to “hide” PCI devices (0 through 5) in terms of configuration space. Specifically, when PCI devices (0–5) are hidden, the configuration space is not accessible because the PCI IDSEL pin does not assert. The ICH3 supports the hiding of 6 external devices (0 through 5), which matches the number of PCI request/grant pairs, and the ability to hide the integrated LAN device by masking out the configuration space decode of LAN controller. Writing a 1 to this bit will not restrict the configuration cycle to the PCI bus. This differs from bits 0 through 5 in which the configuration cycle is restricted. Hiding a PCI device can be useful for debugging, bug work-arounds, and system management support. Devices should only be hidden during initialization before any configuration cycles are run. This guarantees that the device is not in a semi-enable state. Bit Description 15:9 8 7:6 5 4 3 2 1 Reserved. HIDE_DEV8. Same as bit 0 of this register, except for device 8 (AD[24]), which is hardwired to the integrated LAN device. This bit will not change the way the configuration cycle appears on PCI bus Reserved. HIDE_DEV5. Same as bit 0 of this register, except for device 5 (AD[21]). HIDE_DEV4. Same as bit 0 of this register, except for device 4 (AD[20]). HIDE_DEV3. Same as bit 0 of this register, except for device 3 (AD[19]). HIDE_DEV2. Same as bit 0 of this register, except for device 2 (AD[18]). HIDE_DEV1. Same as bit 0 of this register, except for device 1 (AD[17]). HIDE_DEV0. 0 0 = The PCI configuration cycles for this slot are not affected. 1 = Device 0 hidden on the PCI bus. This is done by masking the IDSEL (keeping it low) for configuration cycles to that device. Since the device does not see its IDSEL go active, it does not respond to PCI configuration cycles and the processor thinks the device is not present. AD[16] is used as IDSEL for device 0. 270 Intel® 82801CA ICH3-S Datasheet Hub Interface to PCI Bridge Registers (D30:F0) 8.1.27 CNF—ICH3 Configuration Register (HUB-PCI—D30:F0) Offset Address: Default Value: Bit 50–51h 1400h Attribute: Size: Description R/W 16 bits 15:10 9 Reserved. HP_PCI_EN—R/W. High Priority PCI Enable. 0 = All PCI REQ#/GNT pairs have the same arbitration priority. 1 = Enables a mode where the REQ[0]#/GNT[0]# signal pair has a higher arbitration priority. Hole Enable (15 MB–16 MB)—R/W. 0 = Disable 1 = Enables the 15-MB to 16-MB hole in the DRAM. 8 7:2 Reserved. 12-Clock Retry Enable—R/W. System BIOS must set this bit for PCI compliance. 1 0 = If this bit is not set, under the same circumstance, the bus will not be released since all other masters see the lock in use. 1 = When a PCI Master is running a locked memory read or write cycle, while all other bus masters are waiting to run locked cycles, this bit, when set allows the ICH3 to retry the cycle after 12 PCI clocks. Reserved. 0 8.1.28 MTT—Multi-Transaction Timer Register (HUB-PCI—D30:F0) Offset Address: Default Value: 70h 20h Attribute: Size: R/W 8 bits MTT is an 8-bit register that controls the amount of time that the ICH3’s arbiter allows a PCI initiator to perform multiple back-to-back transactions on the PCI bus. The ICH3’s MTT mechanism is used to guarantee a fair share of the Primary PCI bandwidth to an initiator that performs multiple back-to-back transactions to fragmented memory ranges (and as a consequence it can not use long burst transfers). The number of clocks programmed in the MTT represents the guaranteed time slice (measured in PCI clocks) allotted to the current agent, after which the arbiter will grant another agent that is requesting the bus. The MTT value must be programmed with 8 clock granularity in the same manner as MLT. For example, if the MTT is programmed to 18h, then the selected value corresponds to the time period of 24 PCI clocks.The default value of MTT is 20h (32 PCI clocks). Note: Programming the MTT to a value of 00h disables this function, which could cause starvation problems for some PCI master devices. Programming of the MTT to anything less than 16 clocks will not allow the Grant-to-FRAME# latency to be 16 clocks. The MTT timer will timeout before the Grant-to-FRAME# trigger causing a re-arbitration. Bit Description Multi-Transaction Timer Count Value—R/W. This field specifies the amount of time that grant will remain asserted to a master continuously asserting its request for multiple transfers. This field specifies the count in an 8-clock (PCI clock) granularity. 7:3 2:0 Reserved. Intel® 82801CA ICH3-S Datasheet 271 Hub Interface to PCI Bridge Registers (D30:F0) 8.1.29 PCI_MAST_STS—PCI Master Status Register (HUB-PCI—D30:F0) Offset Address: Default Value: Bit 82h 00h Attribute: Size: Description R/WC 8 bits 7 Internal PCI Master Request Status (INT_MREQ_STS)—R/WC. 0 = Software clears this bit by writing a 1 to the bit position. 1 = The ICH3’s internal DMA controller or LPC has requested use of the PCI bus. Internal LAN Master Request Status (LAN_MREQ_STS)—R/WC. 6 0 = Software clears this bit by writing a 1 to the bit position. 1 = The ICH3’s internal LAN controller has requested use of the PCI bus. PCI Master Request Status (PCI_MREQ_STS)—R/WC. Allows software to see if a particular bus master has requested use of the PCI bus. For example, bit 0 will be set if ICH3 has detected REQ[0]# asserted and bit 5 will be set if ICH3 detected REQ[5]# asserted. 5:0 0 = Software clears these bits by writing a 1 to the bit position. 1 = The associated PCI master has requested use of the PCI bus. 8.1.30 ERR_CMD—Error Command Register (HUB-PCI—D30:F0) Offset Address: Default Value: Lockable: 90h 00h No Attribute: Size: Power Well: R/W 8-bit Core This register configures the ICH3’s Device 30 responses to various system errors. The actual assertion of the internal SERR# (routed to cause NMI# or SMI#) is enabled via the PCI Command register. Bit Description 7:3 2 Reserved. SERR# Enable on Receiving Target Abort (SERR_RTA_EN)—R/W. 0 = Disable 1 = Enable. When SERR_EN is set, the ICH3 will report SERR# when SERR_RTA is set. SERR# Enable on Delayed Transaction Timeout (SERR_DTT_EN)—R/W. 1 0 0 = Disable 1 = Enable. When SERR_EN is set, the ICH3 will report SERR# when SERR_DTT is set. Reserved. 272 Intel® 82801CA ICH3-S Datasheet Hub Interface to PCI Bridge Registers (D30:F0) 8.1.31 ERR_STS—Error Status Register (HUB-PCI—D30:F0) Offset Address: Default Value: Lockable: 92h 00h No Attribute: Size: Power Well: R/W 8-bit Core This register records the cause of system errors in Device 30. The actual assertion of SERR# is enabled via the PCI Command register. Bit Description 7:3 Reserved. SERR# Due to Received Target Abort (SERR_RTA)—R/W. 2 0 = This bit is cleared by writing a 1. 1 = The ICH3 sets this bit when the ICH3 receives a target abort. If SERR_EN, the ICH3 will also generate an SERR# when SERR_RTA is set. SERR# Due to Delayed Transaction Timeout (SERR_DTT)—R/W. 1 0 = This bit is cleared by writing a 1 1 = When a PCI master does not return for the data within 1024 clocks of the cycle’s completion, the ICH3 clears the delayed transaction, and sets this bit. If both SERR_DTT_EN and SERR_EN are set, then ICH3 will also generate an SERR# when SERR_DTT is set.. Reserved. 0 Intel® 82801CA ICH3-S Datasheet 273 Hub Interface to PCI Bridge Registers (D30:F0) This page intentionally left blank. 274 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) LPC I/F Bridge Registers (D31:F0) 9 The LPC Bridge function of the ICH3 resides in PCI Device 31:Function 0. This function contains many other functional units, such as DMA and Interrupt Controllers, Timers, Power Management, System Management, GPIO, RTC, and LPC Configuration Registers. Registers and functions associated with other functional units (USB 1.1, IDE, etc.) are described in their respective Sections. 9.1 Note: . PCI Configuration Registers (D31:F0) Registers that are not shown should be treated as Reserved (See Section 6.2 for details). Table 9-1. PCI Configuration Map (LPC I/F—D31:F0) Offset Mnemonic Register Name Default Type 00–01h 02–03h 04–05h 06–07h 08h 09h 0Ah 0Bh 0Eh 40–43h 44h 4E–4Fh 54h 58–5Bh 5Ch 60–63h 64h 68–6Bh 88h 8Ah 90–91h A0–CFh D0–D3h D4–D7h D8h VID DID PCICMD PCISTA RID PI SCC BCC HEADT PMBASE ACPI_CNTL BIOS_CNTL TCO_CNTL GPIO_BASE GPIO_CNTL PIRQ[n]_ROUT SIRQ_CNTL PIRQ[n]_ROUT D31_ERR_CFG D31_ERR_STS PCI_DMA_C Vendor ID Device ID PCI Command PCI Device Status Revision ID Programming Interface Sub Class Code Base Class Code Header Type ACPI Base Address ACPI Control BIOS Control TCO Control GPIO Base Address GPIO Control PIRQ[A–D] Routing Control Serial IRQ Control PIRQ[E–H] Routing Control Device 31 Error Configuration Device 31 Error Status PCI DMA Configuration Power Management (See Section 9.8.1) 8086h 2480h 000Fh 0280h See Note 1 00h 01h 06h 80h 00000001h 00h 0000h 00h 00000001h 00h 80808080h 10h 80808080h 00h 00h 0000h RO RO R/W R/W RO RO RO RO RO R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W GEN_CNTL GEN_STA RTC_CONF General Control General Status Real Time Clock Configuration 00000000h 00000F00h 00h R/W R/W R/W Intel® 82801CA ICH3-S Datasheet 275 LPC I/F Bridge Registers (D31:F0) Table 9-1. PCI Configuration Map (LPC I/F—D31:F0) (Continued) Offset Mnemonic Register Name Default Type E0h E1h E2h E3h E4–E5h E6–E7h E8–EBh EC–EDh EE–EFh F0h F2h COM_DEC LPCFDD_DEC SND_DEC FWH_DEC_EN1 GEN1_DEC LPC_EN FWH_SEL1 GEN2_DEC FWH_SEL2 FWH_DEC_EN2 FUNC_DIS LPC I/F COM Port Decode Ranges LPC I/F FDD & LPT Decode Ranges LPC I/F Sound Decode Ranges FWH Decode Enable 1 LPC I/F General 1 Decode Range LPC I/F Enables FWH Select 1 LPC I/F General 2 Decode Range FWH Select 2 FWH Decode Enable 2 Function Disable 00h 00h 00h FFh 0000h 00h 00112233h 0000h 5678h 0Fh 00h R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W NOTE 1:Refer to the Specification Update for the Revision ID. 9.1.1 VID—Vendor ID Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit 00–01h 8086h No Attribute: Size: Power Well: Description RO 16-bit Core 15:0 Vendor Identification Value. This is a 16 bit value assigned to Intel. Intel VID = 8086h. 9.1.2 DID—Device ID Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit 02–03h 2480h No Attribute: Size: Power Well: Description RO 16-bit Core 15:0 Device Identification Value. This is a 16 bit value assigned to the ICH3 LPC Bridge. 276 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.1.3 PCICMD—PCI COMMAND Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit 04–05h 000Fh No Attribute: Size: Power Well: Description R/W 16-bit Core 15:10 9 8 7 6 5 4 3 2 1 0 Reserved. Fast Back to Back Enable (FBE)—RO. Hardwired to 0. SERR# Enable (SERR_EN)—R/W. 0 = Disable. 1 = Enable. Allow SERR# to be generated.0 = Wait Cycle Control (WCC)—RO. Hardwired to 0. Parity Error Response (PER)—R/W. 0 = No action is taken when detecting a parity error 1 = The ICH will take normal action when a parity error is detected. . VGA Palette Snoop (VPS)—RO. Hardwired to 0. Postable Memory Write Enable (PMWE)—RO. Hardwired to 0. Special Cycle Enable (SCE)—Hardwired to 1. Bus Master Enable (BME)—RO. Hardwired to 1 to indicate that bus mastering can not be disabled for function 0 (DMA/ISA Master). Memory Space Enable (MSE)—RO. Hardwired to 1 to indicate that memory space can not be disabled for Function 0 (LPC I/F). I/O Space Enable (IOE)—RO. Hardwired to 1 to indicate that the I/O space cannot be disabled for function 0 (LPC I/F). Intel® 82801CA ICH3-S Datasheet 277 LPC I/F Bridge Registers (D31:F0) 9.1.4 PCISTA—PCI Device Status Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit Detected Parity Error (DPE)— R/W. 06–07h 0280h No Attribute: Size: Power Well: Description R/WC 16-bit Core 15 0 = This bit is cleared by software writing a 1 to the bit position. 1 = PERR# signal goes active. Set even if the PER bit is 0. Signaled System Error (SSE)—R/W. 14 0 = This bit is cleared by software writing a 1 to the bit position. 1 = Set by the ICH3 if the SERR_EN bit is set and the ICH3 generates an SERR# on function 0. The ERR_STS register can be read to determine the cause of the SERR#. The SERR# can be routed to cause SMI#, NMI, or interrupt. Master Abort Status (MAS)—R/W. 13 0 = This bit is cleared by software writing a 1 to the bit position. 1 = ICH3 generated a master abort on PCI due to LPC I/F master or DMA cycles. Received Target Abort (RTA)—R/W. 12 0 = This bit is cleared by software writing a 1 to the bit position. 1 = ICH3 received a target abort during LPC I/F master or DMA cycles to PCI. Signaled Target Abort (STA)—R/W. 11 This bit is cleared by software writing a 1 to the bit position. 1 = ICH3 generated a target abort condition on PCI cycles claimed by the ICH3 for ICH3 internal registers or for going to LPC I/F. DEVSEL# Timing Status (DEV_STS)—RO. 10:9 01 = Medium Timing. Data Parity Error Detected (DPED)—R/WC. 0 = This bit is cleared by software writing a 1 to the bit position. 1 = Set when all three of the following conditions are true: - The ICH3 is the initiator of the cycle, - The ICH3 asserted PERR# (for reads) or observed PERR# (for writes), and - The PER bit is set. 8 7 6 5 4:0 Fast Back to Back (FB2B)—RO. Always 1. Indicates ICH3 as a target can accept fast back-to-back transactions. User Definable Features (UDF). Hardwired to 0. 66 MHz Capable (66MHZ_CAP)—RO. Hardwired to 0. Reserved. 9.1.5 REVID—Revision ID Register (LPC I/F—D31:F0) Offset Address: Default Value: Bit 08h See Note Attribute: Size: Description RO 8 bits 7:0 Revision Identification Value—RO. 8-bit value that indicates the revision number for the LPC bridge. NOTE: Refer to the Specification Update for the Revision ID. 278 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.1.6 PI—Programming Interface Register (LPC I/F—D31:F0) Offset Address: Default Value: Bit 09h 00h Attribute: Size: Description RO 8 bits 7:0 Programming Interface Value—RO. 9.1.7 SCC—Sub Class Code Register (LPC I/F—D31:F0) Offset Address: Default Value: Bit 0Ah 01h Attribute: Size: Description RO 8 bits 7:0 Sub Class Code. 8-bit value that indicates the category of bridge for the LPC PCI bridge. 9.1.8 BCC—Base Class Code Register (LPC I/F—D31:F0) Offset Address: Default Value: Bit 0Bh 06h Attribute: Size: Description RO 8 bits 7:0 Base Class Code—RO. 8-bit value that indicates the type of device for the LPC bridge. The code is 06h indicating a bridge device. 9.1.9 HEADTYP—Header Type Register (LPC I/F—D31:F0) Offset Address: Default Value: Bit 0Eh 80h Attribute: Size: Description RO 8 bits 7 6:0 Multi-Function Device—RO. This bit is 1 to indicate a multi-function device. Header Type—RO. 8-bit field identifies the header layout of the configuration space. Intel® 82801CA ICH3-S Datasheet 279 LPC I/F Bridge Registers (D31:F0) 9.1.10 PMBASE—ACPI Base Address Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Power Well: 40–43h 00000001h No Core Attribute: Size: Usage: R/W 32-bit ACPI, Legacy Sets base address for ACPI I/O registers, GPIO registers and TCO I/O registers. Can be mapped anywhere in the 64 KB I/O space on 128-byte boundaries. Bit Description 31:16 15:7 6:1 0 Reserved. Base Address—R/W. Provides 128 bytes of I/O space for ACPI, GPIO, and TCO logic. This is placed on a 128-byte boundary. Reserved. Resource Indicator—RO. Tied to 1 to indicate I/O space. 9.1.11 ACPI_CNTL—ACPI Control Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Power Well: Bit 44h 00h No Core Attribute: Size: Usage: R/W 8-bit ACPI, Legacy Description 7:5 Reserved. ACPI Enable (ACPI_EN)—R/W. 4 0 = Disable. 1 = Decode of the I/O range pointed to by the ACPI base register is enabled, and the ACPI power management function is enabled. Note that the APM power management ranges (B2/B3h) are always enabled and are not affected by this bit. Reserved. SCI IRQ Select (SCI_IRQ_SEL)—R/W. 3 Specifies on which IRQ the SCI will internally appear. If not using the APIC, the SCI must be routed to IRQ9–11, and that interrupt is not sharable with the SERIRQ stream, but is shareable with other PCI interrupts. If using the APIC, the SCI can also be mapped to IRQ20-23, and can be shared with other interrupts. Bits SCI Map 000 IRQ9 001 IRQ10 010 IRQ11 011 Reserved 100 IRQ20 (Only available if APIC enabled) 101 IRQ21 (Only available if APIC enabled) 110 IRQ22 (Only available if APIC enabled) 111 IRQ23 (Only available if APIC enabled) NOTE: When the TCO interrupt is mapped to APIC interrupts 9, 10 or 11, the signal is in fact active high. When the TCO interrupt is mapped to IRQ 20, 21, 22, or 23, the signal is active low and can be shared with PCI interrupts that may be mapped to those same signals (IRQs). 2:0 280 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.1.12 BIOS_CNTL Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit 4E–4Fh 0000h No Attribute: Size: Power Well: Description R/W 16-bit Core 15:2 Reserved. BIOS Lock Enable (BLE)—R/W. 0 = Setting the BIOSWE will not cause SMIs. Once set, this bit can only be cleared by a PCIRST#. 1 = Enables setting the BIOSWE bit to cause SMIs. BIOS Write Enable (BIOSWE)—R/W. 1 0 0 = Only read cycles result in FWH I/F cycles. 1 = Access to the BIOS space is enabled for both read and write cycles. When this bit is written from a 0 to a 1 and BIOS lock Enable (BLE) is also set, an SMI# is generated. This ensures that only SMM code can update BIOS. 9.1.13 TCO_CNTL—TCO Control Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit 54h 00h No Attribute: Size: Power Well: Description R/W 8-bit Core 7:4 3 Reserved. TCO Interrupt Enable (TCO_INT_EN)—R/W. This bit enables/disables the TCO interrupt. 0 = Disables TCO interrupt. 1 = Enables TCO Interrupt, as selected by the TCO_INT_SEL field. TCO Interrupt Select (TCO_INT_SEL)—R/W. Specifies on which IRQ the TCO will internally appear. If not using the APIC, the TCO interrupt must be routed to IRQ9-11, and that interrupt is not sharable with the SERIRQ stream, but is shareable with other PCI interrupts. If using the APIC, the TCO interrupt can also be mapped to IRQ20–23, and can be shared with other interrupt. Note that if the TCOSCI_EN bit is set (bit 6 of the GPEO_EN register), then the TCO interrupt will be sent to the same interrupt as the SCI, and the TCO_INT_SEL bits will have no meaning. When the TCO interrupt is mapped to APIC interrupts 9, 10 or 11, the signal is in fact active high. When the TCO interrupt is mapped to IRQ 20, 21, 22, or 23, the signal is active low and can be shared with PCI interrupts that may be mapped to those same signals (IRQs). Bits 000 001 010 011 100 101 110 111 SCI Map IRQ9 IRQ10 IRQ11 Reserved IRQ20 (Only available if APIC enabled) IRQ21 (Only available if APIC enabled) IRQ22 (Only available if APIC enabled) IRQ23 (Only available if APIC enabled) 2:0 Intel® 82801CA ICH3-S Datasheet 281 LPC I/F Bridge Registers (D31:F0) 9.1.14 GPIOBASE—GPIO Base Address Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit 58h–5Bh 00000001h No Attribute: Size: Power Well: Description R/W 32-bit Core 31:16 15:6 5:1 0 Reserved. Base Address—R/W. Provides the 64 bytes of I/O space for GPIO. Reserved. Resource Indicator—RO. Tied to 1 to indicate I/O space. 9.1.15 GPIO_CNTL—GPIO Control Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit 5Ch 00h No Attribute: Size: Power Well: Description R/W 8-bit Core 7:5 Reserved. GPIO Enable (GPIO_EN)—R/W. This bit enables/disables decode of the I/O range pointed to by the GPIO base register and enables/disables the GPIO function. 4 0 = Disable. 1 = Enable. Reserved. 3:0 282 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.1.16 PIRQ[n]_ROUT—PIRQ[A,B,C,D] Routing Control Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit Interrupt Routing Enable (IRQEN)—R/W. PIRQA–60h, PIRQB–61h, PIRQC–62h, PIRQD–63h 80h No Attribute: Size: Power Well: Description R/W 8-bit Core 0 = The corresponding PIRQ is routed to one of the ISA-compatible interrupts specified in bits[3:0]. 1 = The PIRQ is not routed to the 8259. 7 NOTE: BIOS must program this bit to “0” during POST for any of the PIRQs that are being used. The value of this bit may subsequently be changed by the OS when setting up for I/O APIC interrupt delivery mode. 6:4 Reserved. IRQ Routing—R/W. (ISA compatible) 3:0 0000 = Reserved 0001 = Reserved 0010 = Reserved 0011 = IRQ3 0100 = IRQ4 0101 = IRQ5 0110 = IRQ6 0111 = IRQ7 1000 = Reserved 1001 = IRQ9 1010 = IRQ10 1011 = IRQ11 1100 = IRQ12 1101 = Reserved 1110 = IRQ14 1111 = IRQ15 9.1.17 SERIRQ_CNTL—Serial IRQ Control Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit Serial IRQ Enable (SIRQEN)—R/W. 64h 10h No Attribute: Size: Power Well: Description R/W 8-bit Core 7 0 = The buffer is input only and internally SERIRQ will be a 1. 1 = Serial IRQs will be recognized. The SERIRQ pin will be configured as SERIRQ. Serial IRQ Mode Select (SIRQMD)—R/W. For systems using Quiet Mode, this bit should be set to 1 (Continuous Mode) for at least one frame after coming out of reset before switching back to Quiet Mode. Failure to do so will result in the ICH3 not recognizing SERIRQ interrupts. 0 = The serial IRQ machine will be in quiet mode. 1 = The serial IRQ machine will be in continuous mode. Serial IRQ Frame Size (SIRQSZ)—R/W. Fixed field that indicates the size of the SERIRQ frame. In the ICH3, this field needs to be programmed to 21 frames (0100). This is an offset from a base of 17 which is the smallest data frame size. Start Frame Pulse Width (SFPW)—R/W. This is the number of PCI clocks that the SERIRQ pin will be driven low by the serial IRQ machine to signal a start frame. In continuous mode, the ICH3 will drive the start frame for the number of clocks specified. In quiet mode, the ICH3 will drive the start frame for the number of clocks specified minus one, as the first clock was driven by the peripheral. 6 5:2 1:0 00 = 4 clocks 01 = 6 clocks 10 = 8 clocks 11 = Reserved Intel® 82801CA ICH3-S Datasheet 283 LPC I/F Bridge Registers (D31:F0) 9.1.18 PIRQ[n]_ROUT—PIRQ[E,F,G,H] Routing Control Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit Interrupt Routing Enable (IRQEN)—R/W. PIRQE–68h, PIRQF–69h, PIRQG–6Ah, PIRQH–6Bh 80h No Attribute: Size: Power Well: Description R/W 8-bit Core 0 = The corresponding PIRQ is routed to one of the ISA-compatible interrupts specified in bits[3:0]. 1 = The PIRQ is not routed to the 8259. 7 NOTE: BIOS must program this bit to “0” during POST for any of the PIRQs that are being used. The value of this bit may subsequently be changed by the OS when setting up for I/O APIC interrupt delivery mode. 6:4 Reserved. IRQ Routing—R/W (ISA compatible). 3:0 0000 = Reserved 0001 = Reserved 0010 = Reserved 0011 = IRQ3 0100 = IRQ4 0101 = IRQ5 0110 = IRQ6 0111 = IRQ7 1000 = Reserved 1001 = IRQ9 1010 = IRQ10 1011 = IRQ11 1100 = IRQ12 1101 = Reserved 1110 = IRQ14 1111 = IRQ15 9.1.19 D31_ERR_CFG—Device 31 Error Configuration Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: 88h 00h No Attribute: Size: Power Well: R/W 8-bit Core . This register configures the ICH3’s Device 31 responses to various system errors. The actual assertion of SERR# is enabled via the PCI Command register Bit Description 7:3 2 Reserved. SERR# on Received Target Abort Enable (SERR_RTA_EN)—R/W. 0 = Disable. No SERR# assertion on Received Target Abort. 1 = The ICH3 will generate SERR# when SERR_RTA is set if SERR_EN is set. SERR# on Delayed Transaction Timeout Enable (SERR_DTT_EN)—R/W. 1 0 0 = Disable. No SERR# assertion on Delayed Transaction Timeout. 1 = The ICH3 will generate SERR# when SERR_DTT bit is set if SERR_EN is set. Reserved. 284 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.1.20 D31_ERR_STS—Device 31 Error Status Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: 8Ah 00h No Attribute: Size: Power Well: R/WC 8-bit Core This register configures the ICH3’s Device 31 responses to various system errors. The actual assertion of SERR# is enabled via the PCI Command register. Bit Description 7:3 Reserved. SERR# Due to Received Target Abort (SERR_RTA)—R/WC. 2 0 = Software clears this bit by writing a 1 to the bit location. 1 = The ICH3 sets this bit when it receives a target abort. If SERR_EN, the ICH3 will also generate an SERR# when SERR_RTA is set. SERR# Due to Delayed Transaction Timeout (SERR_DTT)—R/WC. 1 0 = Software clears this bit by writing a 1 to the bit location. 1 = When a PCI master does not return for the data within 1 ms of the cycle’s completion, the ICH3 clears the delayed transaction and sets this bit. If both SERR_DTT_EN and SERR_EN are set, then ICH3 will also generate an SERR# when SERR_DTT is set. Reserved. 0 9.1.21 PCI_DMA_CFG—PCI DMA Configuration Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit Channel 7 Select—R/W. 00 = Reserved 01 = PC/PCI DMA 10 = Reserved 11 = LPC I/F DMA Channel 6 Select—R/W. Same bit decode as for Channel 7. Channel 5 Select—R/W. Same bit decode as for Channel 7. 90h–91h 0000h No Attribute: Size: Power Well: Description R/W 16-bit Core 15:14 13:12 11:10 9:8 7:6 5:4 3:2 1:0 Reserved. Channel 3 Select—R/W. Same bit decode as for Channel 7. Channel 2 Select—R/W. Same bit decode as for Channel 7. Channel 1 Select—R/W. Same bit decode as for Channel 7. Channel 0 Select—R/W. Same bit decode as for Channel 7. Intel® 82801CA ICH3-S Datasheet 285 LPC I/F Bridge Registers (D31:F0) 9.1.22 GEN_CNTL—General Control Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit D0h–D3h 00000000h No Attribute: Size: Power Well: Description R/W 32-bit Core 31:26 Reserved. REQ[5]#/GNT[5]# PC/PCI Protocol Select (PCPCIB_SEL)—R/W. 25 0 = The REQ[5]#/GNT[5]# pins will function as a standard PCI REQ/GNT signal pair. 1 = When this bit is set to a 1, the PCI REQ[5]#/GNT[5]# signal pair will use the PC/PCI protocol as REQ[B]#/GNT[B]. The corresponding bits in the GPIO_USE_SEL register must also be set to a 0. If the corresponding bits in the GPIO_USE_SEL register are set to a 1, then the signals will be used as a GPI and GPO. Hide ISA Bridge (HIDE_ISA)—R/W. 24 The ICH3 will not prevent AD22 from asserting during configuration cycles to the PCI-to-ISA bridge. 1 = Software sets this bit to 1 to disable configuration cycle from being claimed by a PCI-to-ISA bridge. This will prevent the OS PCI PnP from getting confused by seeing two ISA bridges. It is required for the ICH3 PCI address line AD22 to connect to the PCI-to-ISA bridge’s IDSEL input. When this bit is set, the ICH3 will not assert AD22 during configuration cycles to the PCIto-ISA bridge. Reserved. Processor Break Event Indication Enable (FERR#-MUX-EN)—R/W. 23: 22 21 0 = (Default) The ICH3 will not examine the FERR# signal during C2. 1 = Software sets this bit to 1 to enable the ICH3 to examine the FERR# signal during a C2 state as a break event. (see Section 6.12.6 for details). Reserved. Coprocessor Error Enable (COPR_ERR_EN)—R/W. 20:14 13 0 = FERR# will not generate IRQ13 nor IGNNE#. 1 = When FERR# is low, ICH3 generates IRQ13 internally and holds it until an I/O write to port F0h. It will also drive IGNNE# active. Keyboard IRQ1 Latch Enable (IRQ1LEN)—R/W. 12 0 = IRQ1 will bypass the latch. 1 = The active edge of IRQ1 will be latched and held until a port 60h read. Mouse IRQ12 Latch Enable (IRQ12LEN)—R/W. 11 10:9 0 = IRQ12 will bypass the latch. 1 = The active edge of IRQ12 will be latched and held until a port 60h read. Reserved. APIC Enable (APIC_EN)—R/W. 8 0 = Disables internal I/O (x) APIC. 1 = Enables the internal I/O (x) APIC and its address decode. The following behavioral rules apply for bits 8 and 7 in this register: Rule 1: If bit 8 is 0, then the ICH3 will not decode any of the registers associated with the I/O APIC or I/O (x) APIC. The state of bit 7 is “Don’t Care” in this case. Rule 2: If bit 8 is 1 and bit 7 is 0, then the ICH3 will decode the memory space associated with the I/ O APIC, but not the extra registers associated I/O (x) APIC. Rule 3: If bit 8 is 1 and bit 7 is 1, then the ICH3 will decode the memory space associated with both the I/O APIC and the I/O (x) APIC. This also enables PCI masters to write directly to the register to cause interrupts (PCI Message Interrupt). NOTE: There is no separate way to disable PCI Message Interrupts if the I/O (x) APIC is enabled. This is not considered necessary. 286 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) Bit Description Enables I/O (x) Extension Enable (XAPIC_EN)—R/W. 7 0 = The I/O (x) APIC extensions are not supported. 1 = Enables the extra features (beyond standard I/O APIC) associated with the I/O (x) APIC. NOTE: This bit is only valid if the APIC_EN bit is also set to 1. Alternate Access Mode Enable (ALTACC_EN)—R/W. 6 0 = ALT Access Mode Disabled (default). Alt Access Mode allows reads to otherwise unreadable registers and writes otherwise unwritable registers. 1 = ALT Access Mode Enable. Reserved. DMA Collection Buffer Enable (DCB_EN)— R/W. 5:3 2 0 = DCB disabled. 1 = Enables DMA Collection Buffer (DCB) for LPC I/F and PC/PCI DMA. Delayed Transaction Enable (DTE)—R/W. 1 0 = Delayed transactions disabled. 1 = ICH3 enables delayed transactions for internal register, FWH and LPC I/F accesses. Positive Decode Enable (POS_DEC_EN)—R/W. 0 0 = The ICH3 will perform subtractive decode on the PCI bus and forward the cycles to LPC I/F if not to an internal register or other known target on LPC I/F. Accesses to internal registers and to known LPC I/F devices will still be positively decoded. 1 = Enables ICH3 to only perform positive decode on the PCI bus. Intel® 82801CA ICH3-S Datasheet 287 LPC I/F Bridge Registers (D31:F0) 9.1.23 GEN_STA—General Status Register (LPC I/F—D31:F0) Offset Address: Default Value: D4h– D7h 00000F0Xh (upon RTCRST# assertion low) 00002F0Xh (if Safe Mode Strap is active) No Attribute: Size: R/W 32-bit Lockable: Bit Power Well: Core(0:7), RTC (8:15) Description 31:14 Reserved. TOP_SWAP—R/W. 13 0 = ICH3 will not invert A16. This bit is cleared by RTCRST# assertion, but not by any other type of reset. 1 = ICH3 will invert A16 for cycles targeting FWH BIOS space (Does not affect accesses to FWH feature space). Enables Processor BIST (CPU_BIST_EN)—R/W. 12 0 = Disable. 1 = The INIT# signal will be driven active when CPURST# is active. INIT# will go inactive with the same timings as the other Processor I/F signals (Hold Time after CPURST# inactive). Note that CPURST# is generated by the memory controller hub, but the ICH3 has a hub interface special cycle that allows the ICH3 to control the assertion/deassertion of CPURST#. Processor Frequency Strap (FREQ_STRAP[3:0])—R/W. 11:8 These bits determine the internal frequency multiplier of the processor. These bits can be reset to 1111 based on an external pin strap or via the RTCRST# input signal. Software must program this field based on the processor’s specified frequency. Note that this field is only writable when the SAFE_MODE bit is cleared to zero, and SAFE_MODE is only cleared by PWROK rising edge. These bits are in the RTC well. Reserved. SAFE_MODE—RO. 0 = ICH3 sampled AC_SDOUT low on the rising edge of PWROK. 1 = ICH3 sampled AC_SDOUT high on the rising edge of PWROK. ICH3 will force FREQ_STRAP[3:0] bits to all 1s (safe mode multiplier). NO_REBOOT—R/W (special). 0 = Normal TCO Timer reboot functionality (reboot after 2nd TCO timeout). This bit can not be set to 0 by software if the strap is set to No Reboot. 1 = ICH3 will disable the TCO Timer system reboot feature. This bit is set either by hardware when SPKR is sampled high on the rising edge of PWROK, or by software writing a 1 to the bit. 7:3 2 1 0 Reserved. 288 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.1.24 RTC_CONF—RTC Configuration Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit D8h 00h Yes Attribute: Size: Power Well: Description R/W 8-bit Core 7:5 Reserved. Upper 128-byte Lock (U128LOCK)—R/W (special). 4 0 = Access to these bytes in the upper CMOS RAM range have not been locked. 1 = Locks reads and writes to bytes 38h–3Fh in the upper 128-byte bank of the RTC CMOS RAM. Write cycles to this range will have no effect and read cycles will not return any particular guaranteed value. This is a write once register that can only be reset by a hardware reset. Lower 128-byte Lock (L128LOCK)—R/W (special). 0 = Access to these bytes in the lower CMOS RAM range have not been locked. 1 = Locks reads and writes to bytes 38h–3Fh in the lower 128-byte bank of the RTC CMOS RAM. Write cycles to this range will have no effect and read cycles will not return any particular guaranteed value. This is a write once register that can only be reset by a hardware reset. Upper 128-byte Enable (U128E)—R/W. 3 2 1:0 0 = Disable. 1 = Enables access to the upper 128-byte bank of RTC CMOS RAM. Reserved. 9.1.25 COM_DEC—LPC I/F Communication Port Decode Ranges Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit E0h 00h No Attribute: Size: Power Well: Description R/W 8-bit Core 7 Reserved. COMB Decode Range—R/W. This field determines which range to decode for the COMB Port. Bits 000 001 010 011 100 101 110 111 Decode Range 3F8h–3FFh (COM1) 2F8h–2FFh (COM2) 220h–227h 228h–22Fh 238h–23Fh 2E8h–2EFh (COM4) 338h–33Fh 3E8h–3EFh (COM3) 6:4 3 Reserved. COMA Decode Range—R/W. This field determines which range to decode for the COMA Port. Bits 000 001 010 011 100 101 110 111 Decode Range 3F8h–3FFh (COM1) 2F8h–2FFh (COM2) 220h–227h 228h–22Fh 238h–23Fh 2E8h–2EFh (COM4) 338h–33Fh 3E8h–3EFh (COM3) 2:0 Intel® 82801CA ICH3-S Datasheet 289 LPC I/F Bridge Registers (D31:F0) 9.1.26 FDD/LPT_DEC—LPC I/F FDD & LPT Decode Ranges Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit E1h 00h No Attribute: Size: Power Well: Description R/W 8-bit Core 7:5 4 3:2 Reserved. FDD Decode Range—R/W. Determines which range to decode for the FDD Port 0 = 3F0h–3F5h, 3F7h (Primary) 1 = 370h–2FFh (Secondary) Reserved. LPT Decode Range—R/W. This field determines which range to decode for the LPTPort. 1:0 00 = 378h–37Fh and 778h–77Fh 01 = 278h–27Fh (port 279h is read only) and 678h–67Fh 10 = 3BCh–3BEh and 7BCh–7BEh 11 = Reserved 9.1.27 SND_DEC—LPC I/F Sound Decode Ranges Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit E2h 00h No Attribute: Size: Power Well: Description R/W 8-bit Core 7:6 Reserved. MSS Decode Range—R/W. This field determines which range to decode for the Microsoft Sound System (MSS) 5:4 00 = 530h–537h 01 = 604h–60Bh 10 = E80h–E87h 11 = F40h–F47h MIDI Decode Range—R/W. This bit determines which range to decode for the Midi Port 3 2 0 = 330h–331h 1 = 300h–301h Reserved. SB16 Decode Range—R/W. This field determines which range to decode for the Sound Blaster 16 (SB16) Port 1:0 00 = 220h–233h 01 = 240h–253h 10 = 260h–273h 11 = 280h–293h 290 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.1.28 FWH_DEC_EN1—FWH Decode Enable 1 Register (LPC I/F—D31:F0) Offset Address: Default Value: E3h FFh Attribute: Size: R/W 8 bits This register determines which memory ranges will be decoded on the PCI bus and forwarded to the FWH. The ICH3 will subtractively decode cycles on PCI unless POS_DEC_EN is set to 1. Bit Description FWH_F8_EN—RO. Enables decoding two 512 KB FWH memory ranges, and one 128 KB memory range. 1 = Enable the following ranges for the FWH FFF80000h–FFFFFFFFh FFB80000h–FFBFFFFFh 000E0000h–000FFFFFh FWH_F0_EN—R/W. Enables decoding two 512 KB FWH memory ranges. 0 = Disable. 1 = Enable the following ranges for the FWH: FFF00000h–FFF7FFFFh FFB00000h–FFB7FFFFh FWH_E8_EN—R/W. Enables decoding two 512 KB FWH memory ranges. 7 6 5 0 = Disable. 1 = Enable the following ranges for the FWH: FFE80000h–FFEFFFFh FFA80000h–FFAFFFFFh FWH_E0_EN—R/W. Enables decoding two 512 KB FWH memory ranges. 4 0 = Disable. 1 = Enable the following ranges for the FWH: FFE00000h–FFE7FFFFh FFA00000h–FFA7FFFFh FWH_D8_EN—R/W. Enables decoding two 512 KB FWH memory ranges. 0 = Disable. 1 = Enable the following ranges for the FWH FFD80000h–FFDFFFFFh FF980000h–FF9FFFFFh FWH_D0_EN—R/W. Enables decoding two 512 KB FWH memory ranges. 0 = Disable. 1 = Enable the following ranges for the FWH FFD00000h–FFD7FFFFh FF900000h–FF97FFFFh FWH_C8_EN—R/W. Enables decoding two 512 KB FWH memory ranges. 0 = Disable. 1 = Enable the following ranges for the FWH FFC80000h–FFCFFFFFh FF880000h–FF8FFFFFh FWH_C0_EN—R/W. Enables decoding two 512 KB FWH memory ranges. 0 = Disable. 1 = Enable the following ranges for the FWH FFC00000h–FFC7FFFFh FF800000h–FF87FFFFh 3 2 1 0 Intel® 82801CA ICH3-S Datasheet 291 LPC I/F Bridge Registers (D31:F0) 9.1.29 GEN1_DEC—LPC I/F Generic Decode Range 1 Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit E4h–E5h 00h Yes Attribute: Size: Power Well: Description R/W 16-bit Core 15:7 Generic I/O Decode Range 1 Base Address (GEN1_BASE)—R/W. This address is aligned on a 128-byte boundary, and must have address lines 31:16 as 0. Note that this generic decode is for I/O addresses only, not memory addresses. The size of this range is 128 bytes. Reserved. Generic Decode Range 1 Enable (GEN1_EN)—R/W. 6:1 0 0 = Disable. 1 = Enable the GEN1 I/O range to be forwarded to the LPC I/F. 9.1.30 LPC_EN—LPC I/F Enables Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit E6h–E7h 00h Yes Attribute: Size: Power Well: Description R/W 16-bit Core 15:14 Reserved. CNF2_LPC_EN—R/W. 0 = Disable. 1 = Enables the decoding of the I/O locations 4Eh and 4Fh to the LPC interface. This range is used for a microcontroller. CNF1_LPC_EN—R/W. 0 = Disable. 1 = Enables the decoding of the I/O locations 2Eh and 2Fh to the LPC interface. This range is used for Super I/O devices. MC_LPC_EN—R/W. 13 12 11 0 = Disable. 1 = Enables the decoding of the I/O locations 62h and 66h to the LPC interface. This range is used for a microcontroller. KBC_LPC_EN—R/W. 10 0 = Disable. 1 = Enables the decoding of the I/O locations 60h and 64h to the LPC interface. This range is used for a microcontroller. GAMEH_LPC_EN—R/W. 9 0 = Disable. 1 = Enables the decoding of the I/O locations 208h to 20Fh to the LPC interface. This range is used for a gameport. GAMEL_LPC_EN—R/W. 8 0 = Disable. 1 = Enables the decoding of the I/O locations 200h to 207h to the LPC interface. This range is used for a gameport. 292 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) Bit Description ADLIB_LPC_EN—R/W. 0 = Disable. 1 = Enables the decoding of the I/O locations 388h–38Bh to the LPC interface. MSS_LPC_EN—R/W. 7 6 0 = Disable. 1 = Enables the decoding of the MSS range to the LPC interface. This range is selected in the LPC_Sound Decode Range Register. MIDI_LPC_EN—R/W. 0 = Disable. 1 = Enables the decoding of the MIDI range to the LPC interface. This range is selected in the LPC_Sound Decode Range Register. SB16_LPC_EN—R/W. 0 = Disable. 1 = Enables the decoding of the SB16 range to the LPC interface. This range is selected in the LPC_Sound Decode Range Register. FDD_LPC_EN—R/W. 5 4 3 0 = Disable. 1 = Enables the decoding of the FDD range to the LPC interface. This range is selected in the LPC_FDD/LPT Decode Range Register. LPT_LPC_EN—R/W. 0 = Disable. 1 = Enables the decoding of the LPTrange to the LPC interface. This range is selected in the LPC_FDD/LPT Decode Range Register. COMB_LPC_EN—R/W. 0 = Disable. 1 = Enables the decoding of the COMB range to the LPC interface. This range is selected in the LPC_COM Decode Range Register. COMA_LPC_EN—R/W. 0 = Disable. 1 = Enables the decoding of the COMA range to the LPC interface. This range is selected in the LPC_COM Decode Range Register. 2 1 0 Intel® 82801CA ICH3-S Datasheet 293 LPC I/F Bridge Registers (D31:F0) 9.1.31 FWH_SEL1—FWH Select 1 Register (LPC I/F—D31:F0) Offset Address: Default Value: Bit E8h 00112233h Attribute: Size: Description R/W 32 bits 31:28 FWH_F8_IDSEL—RO. IDSEL for two 512 KB FWH memory ranges and one 128 KB memory range. This field is fixed at 0000. The IDSEL programmed in this field addresses the following memory ranges: FFF8 0000h–FFFF FFFFh FFB8 0000h–FFBF FFFFh 000E 0000h–000F FFFFh FWH_F0_IDSEL—R/W. IDSEL for two 512 KB FWH memory ranges. The IDSEL programmed in this field addresses the following memory ranges: FFF0 0000h–FFF7 FFFFh FFB0 0000h–FFB7 FFFFh FWH_E8_IDSEL—R/W. IDSEL for two 512 KB FWH memory ranges. The IDSEL programmed in this field addresses the following memory ranges: FFE8 0000h–FFEF FFFFh FFA8 0000h–FFAF FFFFh FWH_E0_IDSEL—R/W. IDSEL for two 512 KB FWH memory ranges. The IDSEL programmed in this field addresses the following memory ranges: FFE0 0000h–FFE7 FFFFh FFA0 0000h–FFA7 FFFFh FWH_D8_IDSEL—R/W. IDSEL for two 512 KB FWH memory ranges. The IDSEL programmed in this field addresses the following memory ranges: FFD8 0000h–FFDF FFFFh FF98 0000h–FF9F FFFFh FWH_D0_IDSEL—R/W. IDSEL for two 512 KB FWH memory ranges. The IDSEL programmed in this field addresses the following memory ranges: FFD0 0000h–FFD7 FFFFh FF90 0000h–FF97 FFFFh FWH_C8_IDSEL—R/W. IDSEL for two 512 KB FWH memory ranges. The IDSEL programmed in this field addresses the following memory ranges: FFC8 0000h–FFCF FFFFh FF88 0000h–FF8F FFFFh FWH_C0_IDSEL—R/W. IDSEL for two 512 KB FWH memory ranges. The IDSEL programmed in this field addresses the following memory ranges: FFC0 0000h–FFC7 FFFFh FF80 0000h–FF87 FFFFh 27:24 23:20 19:16 15:12 11:8 7:4 3:0 294 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.1.32 GEN2_DEC—LPC I/F Generic Decode Range 2 Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit ECh–EDh 00h Yes Attribute: Size: Power Well: Description R/W 16-bit Core 15:4 Generic I/O Decode Range 2 Base Address (GEN2_BASE)—R/W. This address is aligned on a 64-byte boundary, and must have address lines 31:16 as 0. Note that this generic decode is for I/O addresses only, not memory addresses. The size of this range is 16 bytes. Reserved. Read as 0. Generic I/O Decode Range 2 Enable (GEN2_EN)—R/W. 3:1 0 0 = Disable. 1 = Accesses to the GEN2 I/O range will be forwarded to the LPC I/F. 9.1.33 FWH_SEL2—FWH Select 2 Register (LPC I/F—D31:F0) Offset Address: Default Value: Bit EEh–EFh 4567h Attribute: Size: Description R/W 32 bits 15:12 FWH_70_IDSEL—R/W. IDSEL for two 1M FWH memory ranges. The IDSEL programmed in this field addresses the following memory ranges: FF70 0000h—FF7F FFFFh FF30 0000h—FF3F FFFFh FWH_60_IDSEL—R/W. IDSEL for two 1M FWH memory ranges. The IDSEL programmed in this field addresses the following memory ranges: FF60 0000h—FF6F FFFFh FF20 0000h—FF2F FFFFh FWH_50_IDSEL—R/W. IDSEL for two 1M FWH memory ranges. The IDSEL programmed in this field addresses the following memory ranges: FF50 0000h—FF5F FFFFh FF10 0000h—FF1F FFFFh FWH_40_IDSEL—R/W. IDSEL for two 1M FWH memory ranges. The IDSEL programmed in this field addresses the following memory ranges: FF40 0000h—FF4F FFFFh FF00 0000h—FF0F FFFFh 11:8 7:4 3:0 Intel® 82801CA ICH3-S Datasheet 295 LPC I/F Bridge Registers (D31:F0) 9.1.34 FWH_DEC_EN2—FWH Decode Enable 2 Register (LPC I/F—D31:F0) Offset Address: Default Value: F0h 0Fh Attribute: Size: R/W 8 bits This register determines which memory ranges will be decoded on the PCI bus and forwarded to the FWH. The ICH3 will subtractively decode cycles on PCI unless POS_DEC_EN is set to 1. Bit Description 7:4 Reserved. FWH_70_EN—R/W. Enables decoding two 1M FWH memory ranges. 3 0 = Disable. 1 = Enable the following ranges for the FWH FF70 0000h—FF7F FFFFh FF30 0000h—FF3F FFFFh FWH_60_EN—R/W. Enables decoding two 1M FWH memory ranges. 2 0 = Disable. 1 = Enable the following ranges for the FWH FF60 0000h—FF6F FFFFh FF20 0000h—FF2F FFFFh FWH_50_EN—R/W. Enables decoding two 1M FWH memory ranges. 1 0 = Disable. 1 = Enable the following ranges for the FWH FF50 0000h—FF5F FFFFh FF10 0000h—FF1F FFFFh FWH_40_EN—R/W. Enables decoding two 1M FWH memory ranges. 0 0 = Disable. 1 = Enable the following ranges for the FWH FF40 0000h—FF4F FFFFh FF00 0000h—FF0F FFFFh 296 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.1.35 FUNC_DIS—Function Disable Register (LPC I/F—D31:F0) Offset Address: Default Value: Lockable: Bit F2h 00h No Attribute: Size: Power Well: Description R/W 16 bits Core 15:11 Reserved. D29_F2_Disable—R/W. Software sets this bit to disable the USB 1.1 Controller #3 function. BIOS must not enable I/O or memory address space decode, interrupt generation, or any other functionality of functions that are to be disabled. 10 0 = USB 1.1 Controller #3 is enabled. 1 = USB 1.1 Controller #3 is disabled. D29_F1_Disable—R/W. Software sets this bit to disable the USB 1.1 Controller #2 function. BIOS must not enable I/O or memory address space decode, interrupt generation, or any other functionality of functions that are to be disabled. 9 0 = USB 1.1 Controller #2 is enabled. 1 = USB 1.1 Controller #2 is disabled. D29_F0_Disable—R/W. Software sets this bit to disable the USB 1.1 Controller #1 function.BIOS must not enable I/O or memory address space decode, interrupt generation, or any other functionality of functions that are to be disabled. 8 0 = USB 1.1 Controller #1 is enabled. 1 = USB 1.1 Controller #1 is disabled. 7 Reserved. D31_F6_Disable—R/W. Software sets this bit to disable the AC’97 modem controller function. BIOS must not enable I/O or memory address space decode, interrupt generation, or any other functionality of functions that are to be disabled. 6 0 = AC’97 Modem is enabled. 1 = AC’97 Modem is disabled. D31_F5_Disable—R/W. Software sets this bit to disable the AC’97 audio controller function. BIOS must not enable I/O or memory address space decode, interrupt generation, or any other functionality of functions that are to be disabled. 5 0 = AC’97 audio controller is enabled. 1 = AC’97 audio controller is disabled. 4 Reserved. D31_F3_Disable—R/W. Software sets this bit to disable the SMBus Host Controller function. BIOS must not enable I/O or memory address space decode, interrupt generation, or any other functionality of functions that are to be disabled. 3 0 = SMBus controller is enabled. 1 = SMBus controller is disabled. 2 Reserved. D31_F1_Disable—R/W. Software sets this bit to disable the IDE controller function. BIOS must not enable I/O or memory address space decode, interrupt generation, or any other functionality of functions that are to be disabled. 1 0 = IDE controller is enabled. 1 = IDE controller is disabled. SMB_FOR_BIOS—R/W. This bit is used in conjunction with bit 3 in this register. 0 = No effect. 1 = Allows the SMBus I/O space to be accessible by software when bit 3 in this register is set. The PCI configuration space is hidden in this case. Note that if bit 3 is set alone, the decode of both SMBus PCI configuration and I/O space will be disabled. 0 NOTE: Software must always disable all functionality within the function before disabling the configuration space Intel® 82801CA ICH3-S Datasheet 297 LPC I/F Bridge Registers (D31:F0) 9.2 DMA I/O Registers Table 9-2. DMA Registers Port Alias Register Name Default Type 00h 01h 02h 03h 04h 05h 06h 07h 08h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 80h 81h 82h 83h 84h–86h 87h 88h 89h 8Ah 8Bh 8Ch–8Eh 8Fh C0h C2h C4h C6h C8h CAh CCh CEh 10h 11h 12h 13h 14h 15h 16h 17h 18h Channel 0 DMA Base & Current Address Channel 0 DMA Base & Current Count Channel 1 DMA Base & Current Address Channel 1 DMA Base & Current Count Channel 2 DMA Base & Current Address Channel 2 DMA Base & Current Count Channel 3 DMA Base & Current Address Channel 3 DMA Base & Current Count Channel 0–3 DMA Command Channel 0–3 DMA Status Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined 000001XXb 000000XXb Undefined Undefined Undefined 0Fh Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined R/W R/W R/W R/W R/W R/W R/W R/W WO RO WO WO WO WO WO R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 1Ah 1Bh 1Ch 1Dh 1Eh 1Fh 90h 91h – 93h 94h–96h 97h 98h 99h 9Ah 9Bh 9Ch–9Eh 9Fh C1h C3h C5h C7h C9h CBh CDh CFh Channel 0–3 DMA Write Single Mask Channel 0–3 DMA Channel Mode Channel 0–3 DMA Clear Byte Pointer Channel 0–3 DMA Master Clear Channel 0–3 DMA Clear Mask Channel 0–3 DMA Write All Mask Reserved Page Channel 2 DMA Memory Low Page Channel 3 DMA Memory Low Page Channel 1 DMA Memory Low Page Reserved Page s Channel 0 DMA Memory Low Page Reserved Page Channel 6 DMA Memory Low Page Channel 7 DMA Memory Low Page Channel 5 DMA Memory Low Page Reserved Page s Refresh Low Page Channel 4 DMA Base & Current Address Channel 4 DMA Base & Current Count Channel 5 DMA Base & Current Address Channel 5 DMA Base & Current Count Channel 6 DMA Base & Current Address Channel 6 DMA Base & Current Count Channel 7 DMA Base & Current Address Channel 7 DMA Base & Current Count 298 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) Table 9-2. DMA Registers (Continued) Port Alias Register Name Default Type Channel 4–7 DMA Command D0h D4h D6h D8h DAh DCh DEh D1h Channel 4–7 DMA Status D5h D7h D9h DBh DDh DFh Channel 4–7 DMA Write Single Mask Channel 4–7 DMA Channel Mode Channel 4–7 DMA Clear Byte Pointer Channel 4–7 DMA Master Clear Channel 4–7 DMA Clear Mask Channel 4–7 DMA Write All Mask Undefined Undefined 000001XXb 000000XXb Undefined Undefined Undefined 0Fh WO RO WO WO WO WO WO R/W 9.2.1 DMABASE_CA—DMA Base and Current Address Registers I/O Address: Ch. #0 = 00h; Ch. #1 = 02h Ch. #2 = 04h; Ch. #3 = 06h Ch. #5 = C4h Ch. #6 = C8h Ch. #7 = CCh; Undef No Attribute: RO Default Value: Lockable: Bit Size: Power Well: Description 16-bit (per channel), but accessed in two 8-bit quantities Core Base and Current Address—R/W. This register determines the address for the transfers to be performed. The address specified points to two separate registers. On writes, the value is stored in the Base Address register and copied to the Current Address register. On reads, the value is returned from the Current Address register. 15:0 The address increments/decrements in the Current Address register after each transfer, depending on the mode of the transfer. If the channel is in auto-initialize mode, the Current Address register will be reloaded from the Base Address register after a terminal count is generated. For transfers to/from a 16-bit slave (channels 5–7), the address is shifted left one bit location. Bit 15 will be shifted out. Therefore, if bit 15 was a 1, it will be lost. The register is accessed in 8 bit quantities. The byte is pointed to by the current byte pointer flip/flop. Before accessing an address register, the byte pointer flip/flop should be cleared to ensure that the low byte is accessed first. Intel® 82801CA ICH3-S Datasheet 299 LPC I/F Bridge Registers (D31:F0) 9.2.2 DMABASE_CC—DMA Base and Current Count Registers I/O Address: Ch. 0: = 01h; Ch. #1 = 03h Ch. 2: = 05h; Ch. #3 = 07h Ch. 5 = C6h; Ch. #6 = CAh Ch. 7 = CEh; Undefined No Attribute: R/W Default Value: Lockable: Bit Size: Power Well: Description 16-bit (per channel), but accessed in two 8-bit quantities Core Base and Current Count—R/W. This register determines the number of transfers to be performed. The address specified points to two separate registers. On writes, the value is stored in the Base Count register and copied to the Current Count register. On reads, the value is returned from the Current Count register. 15:0 The actual number of transfers is one more than the number programmed in the Base Count Register (i.e., programming a count of 4h results in 5 transfers). The count is decrements in the Current Count register after each transfer. When the value in the register rolls from zero to FFFFh, a terminal count is generated. If the channel is in auto-initialize mode, the Current Count register will be reloaded from the Base Count register after a terminal count is generated. For transfers to/from an 8-bit slave (channels 0-3), the count register indicates the number of bytes to be transferred. For transfers to/from a 16-bit slave (channels 5–7), the count register indicates the number of words to be transferred. The register is accessed in 8 bit quantities. The byte is pointed to by the current byte pointer flip/flop. Before accessing a count register, the byte pointer flip/flop should be cleared to ensure that the low byte is accessed first. 9.2.3 DMAMEM_LP—DMA Memory Low Page Registers I/O Address: Ch. 0 = 87h; Ch. #1 = 83h Ch. 2 = 81h; Ch. #3 = 82h Ch. 5 = 8Bh; Ch. #6 = 89h Ch. 7 = 8Ah; Undefined No Attribute: R/W Default Value: Lockable: Bit Size: Power Well: Description 8-bit Core 7:0 DMA Low Page (ISA Address Bits [23:16])—R/W. This register works in conjunction with the DMA controller's Current Address Register to define the complete 24-bit address for the DMA channel. This register remains static throughout the DMA transfer. 300 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.2.4 DMACMD—DMA Command Register I/O Address: Default Value: Lockable: Bit Ch. #0–3 = 08h; Ch. #4–7 = D0h Undefined No Attribute: Size: Power Well: Description WO 8-bit Core 7:5 Reserved. Must be 0. DMA Group Arbitration Priority—WO. Each channel group is individually assigned either fixed or rotating arbitration priority. At part reset, each group is initialized in fixed priority. 4 0 = Fixed priority to the channel group. 1 = Rotating priority to the group. Reserved. Must be 0. DMA Channel Group Enable—WO. Both channel groups are enabled following part reset. 0 = Enable the DMA channel group. 1 = Disable. Disabling channel group 4–7 also disables channel group 0–3, which is cascaded through channel 4. 3 2 1:0 Reserved. Must be 0. 9.2.5 DMASTA—DMA Status Register I/O Address: Default Value: Lockable: Bit Ch. #0–3 = 08h; Ch. #4–7 = D0h Undefined No Attribute: Size: Power Well: Description RO 8-bit Core 7:4 Channel Request Status—RO. When a valid DMA request is pending for a channel, the corresponding bit is set to 1. When a DMA request is not pending for a particular channel, the corresponding bit is set to 0. The source of the DREQ may be hardware or a software request. Note that channel 4 is the cascade channel, so the request status of channel 4 is a logical OR of the request status for channels 0 through 3. 4 = Channel 0 5 = Channel 1 (5) 6 = Channel 2 (6) 7 = Channel 3 (7) Channel Terminal Count Status—RO. When a channel reaches terminal count (TC), its status bit is set to 1. If TC has not been reached, the status bit is set to 0. Channel 4 is programmed for cascade, so the TC bit response for channel 4 is irrelevant: 3:0 0 = Channel 0 1 = Channel 1 (5) 2 = Channel 2 (6) 3 = Channel 3 (7) Intel® 82801CA ICH3-S Datasheet 301 LPC I/F Bridge Registers (D31:F0) 9.2.6 DMA_WRSMSK—DMA Write Single Mask Register I/O Address: Default Value: Lockable: Bit Ch. #0–3 = 0Ah; Ch. #4–7 = D4h 0000 01xx No Attribute: Size: Power Well: Description WO 8-bit Core 7:3 Reserved. Must be 0. Channel Mask Select—WO. 2 0 = Enable DREQ for the selected channel. The channel is selected through bits [1:0]. Therefore, only one channel can be masked / unmasked at a time. 1 = Disable DREQ for the selected channel. DMA Channel Select—WO. These bits select the DMA Channel Mode Register to program. 00 = Channel 0 (4) 01 = Channel 1 (5) 10 = Channel 2 (6) 11 = Channel 3 (7) 1:0 9.2.7 DMACH_MODE—DMA Channel Mode Register I/O Address: Default Value: Lockable: Bit Ch. #0–3 = 0Bh; Ch. #4–7 = D6h 0000 00xx No Attribute: Size: Power Well: Description WO 8-bit Core DMA Transfer Mode—WO. Each DMA channel can be programmed in one of four different modes: 7:6 00 = Demand mode 01 = Single mode 10 = Reserved 11 = Cascade mode Address Increment/Decrement Select—WO. This bit controls address increment/decrement during DMA transfers. 5 0 = Address increment. (default after part reset or Master Clear) 1 = Address decrement. Autoinitialize Enable—WO. 4 0 = Autoinitialize feature is disabled and DMA transfers terminate on a terminal count. A part reset or Master Clear disables autoinitialization. 1 = DMA restores the Base Address and Count registers to the current registers following a terminal count (TC). DMA Transfer Type—WO. These bits represent the direction of the DMA transfer. When the channel is programmed for cascade mode, (bits[7:6] = “11”) the transfer type is irrelevant. 00 = Verify–No I/O or memory strobes generated 01 = Write–Data transferred from the I/O devices to memory 10 = Read–Data transferred from memory to the I/O device 11 = Illegal DMA Channel Select—WO. These bits select the DMA Channel Mode Register that will be written by bits [7:2]. 00 = Channel 0 (4) 01 = Channel 1 (5) 10 = Channel 2 (6) 11 = Channel 3 (7) 3:2 1:0 302 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.2.8 DMA Clear Byte Pointer Register I/O Address: Default Value: Lockable: Bit Ch. #0–3 = 0Ch; Ch. #4–7 = D8h xxxx xxxx No Attribute: Size: Power Well: Description WO 8-bit Core 7:0 Clear Byte Pointer—WO. No specific pattern. Command enabled with a write to the I/O port address. Writing to this register initializes the byte pointer flip/flop to a known state. It clears the internal latch used to address the upper or lower byte of the 16-bit Address and Word Count Registers. The latch is also cleared by part reset and by the Master Clear command. This command precedes the first access to a 16 bit DMA controller register. The first access to a 16 bit register will then access the significant byte, and the second access automatically accesses the most significant byte. 9.2.9 DMA Master Clear Register I/O Address: Default Value: Bit Ch. #0–3 = 0Dh; Ch. #4–7 = DAh xxxx xxxx Attribute: Size: Description WO 8-bit 7:0 Master Clear—WO. No specific pattern. Enabled with a write to the port. This has the same effect as the hardware Reset. The Command, Status, Request, and Byte Pointer flip/flop registers are cleared and the Mask Register is set. 9.2.10 DMA_CLMSK—DMA Clear Mask Register I/O Address: Default Value: Lockable: Bit Ch. #0–3 = 0Eh; Ch. #4–7 = DCh xxxx xxxx No Attribute: Size: Power Well: Description WO 8-bit Core 7:0 Clear Mask Register—WO. No specific pattern. Command enabled with a write to the port. Intel® 82801CA ICH3-S Datasheet 303 LPC I/F Bridge Registers (D31:F0) 9.2.11 DMA_WRMSK—DMA Write All Mask Register I/O Address: Default Value: Lockable: Bit Ch. #0–3 = 0Fh; Ch. #4–7 = DEh 0000 1111 No Attribute: Size: Power Well: Description R/W 8-bit Core 7:4 Reserved. Must be 0. Channel Mask Bits—R/W. This register permits all four channels to be simultaneously enabled/ disabled instead of enabling/disabling each channel individually, as is the case with the Mask Register - Write Single Mask Bit. In addition, this register has a read path to allow the status of the channel mask bits to be read. A channel's mask bit is automatically set to 1 when the Current Byte/ Word Count Register reaches terminal count (unless the channel is in auto-initialization mode). Setting the bit(s) to a 1 disables the corresponding DREQ(s). Setting the bit(s) to a 0 enables the corresponding DREQ(s). Bits [3:0] are set to 1 upon part reset or Master Clear. When read, bits [3:0] indicate the DMA channel [3:0] ([7:4]) mask status. Bit 0 = Channel 0 (4) 1 = Masked, 0 = Not Masked Bit 1 = Channel 1 (5) 1 = Masked, 0 = Not Masked Bit 2 = Channel 2 (6) 1 = Masked, 0 = Not Masked Bit 3 = Channel 3 (7) 1 = Masked, 0 = Not Masked NOTE: Disabling channel 4 also disables channels 0–3 due to the cascade of channels 0–3 through channel 4. 3:0 304 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.3 Timer I/O Registers Port Aliases Register Name Default Value Type 40h 50h Counter 0 Interval Time Status Byte Format Counter 0 Counter Access Port Counter 1 Interval Time Status Byte Format Counter 1 Counter Access Port Counter 2 Interval Time Status Byte Format Counter 2 Counter Access Port Timer Control Word 0XXXXXXXb Undefined 0XXXXXXXb Undefined 0XXXXXXXb Undefined Undefined XXXXXXX0b X0h RO R/W RO R/W RO R/W WO WO WO 41h 51h 42h 52h 43h 53h Timer Control Word Register Read Back Counter Latch Command 9.3.1 TCW—Timer Control Word Register I/O Address: Default Value: 43h All bits undefined Attribute: Size: WO 8 bits This register is programmed prior to any counter being accessed to specify counter modes. Following part reset, the control words for each register are undefined and each counter output is 0. Each timer must be programmed to bring it into a known state. Bit Description Counter Select—WO. The Counter Selection bits select the counter the control word acts upon as shown below. The Read Back Command is selected when bits[7:6] are both 1. 7:6 00 = Counter 0 select 01 = Counter 1 select 10 = Counter 2 select 11 = Read Back Command Read/Write Select—WO. These bits are the read/write control bits. The actual counter programming is done through the counter port (40h for counter 0, 41h for counter 1, and 42h for counter 2). 5:4 00 = Counter Latch Command 01 = Read/Write Least Significant Byte (LSB) 10 = Read/Write Most Significant Byte (MSB) 11 = Read/Write LSB then MSB Counter Mode Selection—WO. These bits select one of six possible modes of operation for the selected counter. 000 = Mode 0Out signal on end of count (=0) 001 = Mode 1Hardware retriggerable one-shot x10 = Mode 2Rate generator (divide by n counter) x11 = Mode 3Square wave output 100 = Mode 4Software triggered strobe 101 = Mode 5Hardware triggered strobe Binary/BCD Countdown Select—WO. 3:1 0 0 = Binary countdown is used. The largest possible binary count is 216. 1 = Binary coded decimal (BCD) count is used. The largest possible BCD count is 104. There are two special commands that can be issued to the counters through this register, the Read Back Command and the Counter Latch Command. When these commands are chosen, several bits within this register are redefined. These register formats are described below. Intel® 82801CA ICH3-S Datasheet 305 LPC I/F Bridge Registers (D31:F0) 9.3.1.1 RDBK_CMD—Read Back Command The Read Back Command is used to determine the count value, programmed mode, and current states of the OUT pin and Null count flag of the selected counter or counters. Status and/or count may be latched in any or all of the counters by selecting the counter during the register write. The count and status remain latched until read, and further latch commands are ignored until the count is read. Both count and status of the selected counters may be latched simultaneously by setting both bit 5 and bit 4 to 0. If both are latched, the first read operation from that counter returns the latched status. The next one or two reads, depending on whether the counter is programmed for one or two byte counts, returns the latched count. Subsequent reads return an unlatched count. Bit Description Read Back Command. Must be “11” to select the Read Back Command. Latch Count of Selected Counters. 7:6 5 0 = Current count value of the selected counters will be latched. 1 = Current count will not be latched. Latch Status of Selected Counters. 4 0 = Status of the selected counters will be latched. 1 = Status will not be latched. Counter 2 Select. 1 = Counter 2 count and/or status will be latched. Counter 1 Select. 1 = Counter 1 count and/or status will be latched. Counter 0 Select. 1 = Counter 0 count and/or status will be latched. 3 2 1 0 Reserved. Must be 0. 9.3.1.2 LTCH_CMD—Counter Latch Command The Counter Latch Command latches the current count value. This command is used to insure that the count read from the counter is accurate. The count value is then read from each counter's count register through the Counter Ports Access Ports Register (40h for counter 0, 41h for counter 1, and 42h for counter 2). The count must be read according to the programmed format, i.e., if the counter is programmed for two byte counts, two bytes must be read. The two bytes do not have to be read one right after the other (read, write, or programming operations for other counters may be inserted between the reads). If a counter is latched once and then latched again before the count is read, the second Counter Latch Command is ignored. Bit Description Counter Selection. These bits select the counter for latching. If “11” is written, then the write is interpreted as a read back command. 7:6 00 = Counter 0 01 = Counter 1 10 = Counter 2 Counter Latch Command. 5:4 3:0 00 = Selects the Counter Latch Command. Reserved. Must be 0. 306 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.3.2 SBYTE_FMT—Interval Timer Status Byte Format Register I/O Address: Default Value: Counter 0 = 40h, Counter 1 = 41h, Counter 2 = 42h Bits[6:0] undefined, Bit 7=0 Attribute: Size: RO 8 bits per counter Each counter's status byte can be read following a Read Back Command. If latch status is chosen (bit 4=0, Read Back Command) as a read back option for a given counter, the next read from the counter's Counter Access Ports Register (40h for counter 0, 41h for counter 1, and 42h for counter 2) returns the status byte. The status byte returns the following: Bit Counter OUT Pin State—RO. Description 7 0 = OUT pin of the counter is also a 0. 1 = OUT pin of the counter is also a 1. Count Register Status—RO. This bit indicates when the last count written to the Count Register (CR) has been loaded into the counting element (CE). The exact time this happens depends on the counter mode, but until the count is loaded into the counting element (CE), the count value will be incorrect. 0 = Count has been transferred from CR to CE and is available for reading. 1 = Null Count. Count has not been transferred from CR to CE and is not yet available for reading. Read/Write Selection Status—RO. These reflect the read/write selection made through bits[5:4] of the control register. The binary codes returned during the status read match the codes used to program the counter read/write selection. 6 5:4 00 = Counter Latch Command 01 = Read/Write Least Significant Byte (LSB) 10 = Read/Write Most Significant Byte (MSB) 11 = Read/Write LSB then MSB Mode Selection Status—RO. These bits return the counter mode programming. The binary code returned matches the code used to program the counter mode, as listed under the bit function above. 3:1 000 = Mode 0Out signal on end of count (=0) 001 = Mode 1Hardware retriggerable one-shot x10 = Mode 2Rate generator (divide by n counter) x11 = Mode 3Square wave output 100 = Mode 4Software triggered strobe 101 = Mode 5Hardware triggered strobe Countdown Type Status—RO. This bit reflects the current countdown type. 0 0 = Binary countdown. 1 = Binary Coded Decimal (BCD) countdown. 9.3.3 Counter Access Ports Register I/O Address: Default Value: Bit Counter 0–40h, Counter 1–41h, Counter 2–42h All bits undefined Attribute: Size: Description R/W 8 bit 7:0 Counter Port—R/W. Each counter port address is used to program the 16-bit Count Register. The order of programming, either LSB only, MSB only, or LSB then MSB, is defined with the Interval Counter Control Register at port 43h. The counter port is also used to read the current count from the Count Register, and return the status of the counter programming following a Read Back Command. Intel® 82801CA ICH3-S Datasheet 307 LPC I/F Bridge Registers (D31:F0) 9.4 9.4.1 Intel® 8259 Interrupt Controller (PIC) Registers Interrupt Controller I/O MAP The interrupt controller registers are located at 20h and 21h for the master controller (IRQ0–7), and at A0h and A1h for the slave controller (IRQ8–13). These registers have multiple functions, depending upon the data written to them. Below is a description of the different register possibilities for each address. Table 9-3. PIC Registers Port Aliases Register Name Default Type 20h 24h, 28h, 2Ch, 30h, 34h, 38h, 3Ch Master PIC ICW1 Init. Cmd Word 1 Master PIC OCW2 Op Ctrl Word 2 Master PIC OCW3 Op Ctrl Word 3 Master PIC ICW2 Init. Cmd Word 2 Undefined 001XXXXXb X01XXX10b Undefined Undefined 01h 00h Undefined 001XXXXXb X01XXX10b Undefined Undefined 01h 00h 00h 00h WO WO R/W WO WO WO R/W WO WO R/W WO WO WO R/W R/W R/W 21h 25h, 29h, 2Dh, 31h, 35h, 39h, 3Dh Master PIC ICW3 Init. Cmd Word 3 Master PIC ICW4 Init. Cmd Word 4 Master PIC OCW1 Op Ctrl Word 1 A0h A4h, A8h, ACh, B0h, B4h, B8h, BCh Slave PIC ICW1 Init. Cmd Word 1 Slave PIC OCW2 Op Ctrl Word 2 Slave PIC OCW3 Op Ctrl Word 3 Slave PIC ICW2 Init. Cmd Word 2 A1h A5h, A9h, ADh, B1h, B5h, B9h, BDh – – Slave PIC ICW3 Init. Cmd Word 3 Slave PIC ICW4 Init. Cmd Word 4 Slave PIC OCW1 Op Ctrl Word 1 4D0h 4D1h Master PIC Edge/Level Triggered Slave PIC Edge/Level Triggered 308 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.4.2 ICW1—Initialization Command Word 1 Register Offset Address: Default Value: Master Controller–020h Slave Controller–0A0h All bits undefined Attribute: Size: WO 8 bit /controller A write to Initialization Command Word 1 starts the interrupt controller initialization sequence, during which the following occurs: 1. The Interrupt Mask register is cleared. 2. IRQ7 input is assigned priority 7. 3. The slave mode address is set to 7. 4. Special Mask Mode is cleared and Status Read is set to IRR. Once this write occurs, the controller expects writes to ICW2, ICW3, and ICW4 to complete the initialization sequence. Bit Description ICW/OCW Select—WO. These bits are MCS-85 specific, and not needed. 000 = Should be programmed to “000” ICW/OCW Select—WO. 1 = This bit must be a 1 to select ICW1 and enable the ICW2, ICW3, and ICW4 sequence. Edge/Level Bank Select (LTIM)—WO. Disabled. Replaced by the edge/level triggered control registers (ELCR). 7:5 4 3 2 1 0 ADI—WO. 0 = Ignored for the ICH3. Should be programmed to 0. Single or Cascade (SNGL)—WO. 0 = Must be programmed to a 0 to indicate two controllers operating in cascade mode. ICW4 Write Required (IC4)—WO. 1 = This bit must be programmed to a 1 to indicate that ICW4 needs to be programmed. Intel® 82801CA ICH3-S Datasheet 309 LPC I/F Bridge Registers (D31:F0) 9.4.3 ICW2—Initialization Command Word 2 Register Offset Address: Default Value: Master Controller—021h Slave Controller—0A1h All bits undefined Attribute: Size: WO 8 bit /controller ICW2 is used to initialize the interrupt controller with the five most significant bits of the interrupt vector address. The value programmed for bits[7:3] is used by the processor to define the base address in the interrupt vector table for the interrupt routines associated with each IRQ on the controller. Typical ISA ICW2 values are 08h for the master controller and 70h for the slave controller. Bit Description Interrupt Vector Base Address—WO. Bits [7:3] define the base address in the interrupt vector table for the interrupt routines associated with each interrupt request level input. Interrupt Request Level—WO. When writing ICW2, these bits should all be 0. During an interrupt acknowledge cycle, these bits are programmed by the interrupt controller with the interrupt to be serviced. This is combined with bits [7:3] to form the interrupt vector driven onto the data bus during the second INTA# cycle. The code is a three bit binary code: Code 000 001 010 011 100 101 110 111 Master Interrupt IRQ0 IRQ1 IRQ2 IRQ3 IRQ4 IRQ5 IRQ6 IRQ7 Slave Interrupt IRQ8 IRQ9 IRQ10 IRQ11 IRQ12 IRQ13 IRQ14 IRQ15 7:3 2:0 9.4.4 ICW3—Master Controller Initialization Command Word 3 Register Offset Address: Default Value: Bit 21h All bits undefined Attribute: Size: Description WO 8 bits 7:3 0 = These bits must be programmed to zero. Cascaded Interrupt Controller IRQ Connection—WO. This bit indicates that the slave controller is cascaded on IRQ2. When IRQ8#–IRQ15 is asserted, it goes through the slave controller’s priority resolver. The slave controller’s INTR output onto IRQ2. IRQ2 then goes through the master controller’s priority solver. If it wins, the INTR signal is asserted to the processor, and the returning interrupt acknowledge returns the interrupt vector for the slave controller. 1 = This bit must always be programmed to a 1. 2 1:0 0 = These bits must be programmed to zero. 310 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.4.5 ICW3—Slave Controller Initialization Command Word 3 Register Offset Address: Default Value: Bit A1h All bits undefined Attribute: Size: Description WO 8 bits 7:3 0 = These bits must be programmed to zero. Slave Identification Code—WO. These bits are compared against the slave identification code broadcast by the master controller from the trailing edge of the first internal INTA# pulse to the trailing edge of the second internal INTA# pulse. These bits must be programmed to 02h to match the code broadcast by the master controller. When 02h is broadcast by the master controller during the INTA# sequence, the slave controller assumes responsibility for broadcasting the interrupt vector. 2:0 9.4.6 ICW4—Initialization Command Word 4 Register Offset Address: Default Value: Bit Master Controller–021h Slave Controller–0A1h Attribute: Size: Description WO 8 bits 7:5 4 0 = These bits must be programmed to zero. Special Fully Nested Mode (SFNM)—WO. 0 = Should normally be disabled by writing a 0 to this bit. 1 = Special fully nested mode is programmed. Buffered Mode (BUF)—WO. 0 = Must be programmed to 0 for the ICH3. This is non-buffered mode. Master/Slave in Buffered Mode—WO. Not used. 3 2 0 = Should always be programmed to 0. Automatic End of Interrupt (AEOI)—WO. 1 0 = This bit should normally be programmed to 0. This is the normal end of interrupt. 1 = Automatic End of Interrupt (AEOI) mode is programmed. AEOI is discussed in Section 5.7.4.10. Microprocessor Mode—WO. 1 = Must be programmed to 1 to indicate that the controller is operating in an Intel Architecturebased system. 0 9.4.7 OCW1—Operational Control Word 1 (Interrupt Mask) Register Offset Address: Default Value: Bit Master Controller–021h Slave Controller–0A1h 00h Attribute: Size: Description R/W 8 bits 7:0 Interrupt Request Mask—R/W. When a 1 is written to any bit in this register, the corresponding IRQ line is masked. When a 0 is written to any bit in this register, the corresponding IRQ mask bit is cleared, and interrupt requests will again be accepted by the controller. Masking IRQ2 on the master controller will also mask the interrupt requests from the slave controller. Intel® 82801CA ICH3-S Datasheet 311 LPC I/F Bridge Registers (D31:F0) 9.4.8 OCW2—Operational Control Word 2 Register Offset Address: Default Value: Master Controller–020h Slave Controller–0A0h Bit[4:0]=undefined, Bit[7:5]=001 Attribute: Size: WO 8 bits Following a part reset or ICW initialization, the controller enters the fully nested mode of operation. Non-specific EOI without rotation is the default. Both rotation mode and specific EOI mode are disabled following initialization. Bit Description Rotate and EOI Codes (R, SL, EOI)—WO. These three bits control the Rotate and End of Interrupt modes and combinations of the two. 7:5 000 = Rotate in Auto EOI Mode (Clear) 001 = Non-specific EOI command 010 = No Operation 011 = Specific EOI Command 100 = Rotate in Auto EOI Mode (Set) 101 = Rotate on Non-Specific EOI Command 110 = *Set Priority Command 111 = *Rotate on Specific EOI Command *L0 - L2 Are Used OCW2 Select—WO. When selecting OCW2, bits 4:3 = “00” Interrupt Level Select (L2, L1, L0)—WO. L2, L1, and L0 determine the interrupt level acted upon when the SL bit is active. A simple binary code, outlined below, selects the channel for the command to act upon. When the SL bit is inactive, these bits do not have a defined function; programming L2, L1 and L0 to 0 is sufficient in this case. 4:3 2:0 Bits 000 001 010 011 Interrupt Level IRQ0/8 IRQ1/9 IRQ2/10 IRQ3/11 Bits 100 101 110 111 Interrupt Level IRQ4/12 IRQ5/13 IRQ6/14 IRQ7/15 312 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.4.9 OCW3—Operational Control Word 3 Register Offset Address: Default Value: Master Controller—020h Slave Controller—0A0h Bit[6,0]=0, Bit[7,4:2]=undef, Bit[5,1]=1 Attribute: Size: WO 8 bits Bit Description 7 Reserved. Must be 0. Special Mask Mode (SMM)—WO. 1 = The Special Mask Mode can be used by an interrupt service routine to dynamically alter the system priority structure while the routine is executing, through selective enabling/disabling of the other channel's mask bits. Bit 5, the ESMM bit, must be set for this bit to have any meaning. Enable Special Mask Mode (ESMM)—WO. 6 5 4:3 0 = Disable. The SMM bit becomes a “don't care”. 1 = Enable the SMM bit to set or reset the Special Mask Mode. OCW3 Select—WO. When selecting OCW3, bits 4:3 = “01”. Poll Mode Command—WO. 2 0 = Disable. Poll Command is not issued. 1 = Enable. The next I/O read to the interrupt controller is treated as an interrupt acknowledge cycle. An encoded byte is driven onto the data bus, representing the highest priority level requesting service. Register Read Command—WO. These bits provide control for reading the In-Service Register (ISR) and the Interrupt Request Register (IRR). When bit 1=0, bit 0 will not affect the register read selection. When bit 1=1, bit 0 selects the register status returned following an OCW3 read. If bit 0=0, the IRR will be read. If bit 0=1, the ISR will be read. Following ICW initialization, the default OCW3 port address read will be “read IRR”. To retain the current selection (read ISR or read IRR), always write a 0 to bit 1 when programming this register. The selected register can be read repeatedly without reprogramming OCW3. To select a new status register, OCW3 must be reprogrammed prior to attempting the read. 00 = No Action 01 = No Action 10 = Read IRQ Register 11 = Read IS Register 1:0 Intel® 82801CA ICH3-S Datasheet 313 LPC I/F Bridge Registers (D31:F0) 9.4.10 ELCR1—Master Controller Edge/Level Triggered Register Offset Address: Default Value: 4D0h 00h Attribute: Size: R/W 8 bits In edge mode, (bit[x] = 0), the interrupt is recognized by a low to high transition. In level mode (bit[x] = 1), the interrupt is recognized by a high level. The cascade channel, IRQ2, the heart beat timer (IRQ0), and the keyboard controller (IRQ1), cannot be put into level mode. Bit IRQ7 ECL—R/W. Description 7 0 = Edge. 1 = Level. IRQ6 ECL—R/W. 6 0 = Edge. 1 = Level. IRQ5 ECL—R/W. 5 0 = Edge. 1 = Level. IRQ4 ECL—R/W. 4 0 = Edge. 1 = Level. IRQ3 ECL—R/W. 3 2:0 0 = Edge. 1 = Level. Reserved. Must be 0. 314 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.4.11 ELCR2—Slave Controller Edge/Level Triggered Register Offset Address: Default Value: 4D1h 00h Attribute: Size: R/W 8 bits In edge mode, (bit[x] = 0), the interrupt is recognized by a low to high transition. In level mode (bit[x] = 1), the interrupt is recognized by a high level. The real time clock interrupt (IRQ8#) and the floating point error interrupt (IRQ13) cannot be programmed for level mode. Bit IRQ15 ECL—R/W. Description 7 0 = Edge. 1 = Level. IRQ14 ECL—R/W. 6 5 4 0 = Edge. 1 = Level. Reserved. Must be 0. IRQ12 ECL—R/W. 0 = Edge. 1 = Level. IRQ11 ECL—R/W. 3 0 = Edge. 1 = Level. IRQ10 ECL—R/W. 2 0 = Edge. 1 = Level. IRQ9 ECL—R/W. 0 = Edge. 1 = Level. 1 0 Reserved. Must be 0. Intel® 82801CA ICH3-S Datasheet 315 LPC I/F Bridge Registers (D31:F0) 9.5 9.5.1 Advanced Interrupt Controller (APIC) APIC Register Map The APIC is accessed via an indirect addressing scheme. Two registers are visible by software for manipulation of most of the APIC registers. These registers are mapped into memory space. The registers are shown in Table 9-4. Table 9-4. APIC Direct Registers Address Register Name Size Type FEC0_0000h FEC0_0010h FECO_0020h FECO_0040h Index Register Data Register IRQ Pin Assertion Register EOI Register 8 bits 32 bits 8 bits 8 bits R/W R/W WO WO Table 9-5 lists the registers which can be accessed within the APIC via the Index Register. When accessing these registers, accesses must be done a DWord at a time. For example, software should never access byte 2 from the Data register before accessing bytes 0 and 1. The hardware will not attempt to recover from a bad programming model in this case. Table 9-5. APIC Indirect Registers Index Register Name Size Type 00h 01h 02h 03h 03–0Fh 10–11h 12–13h ... 3E–3Fh 40–FFh ID Version Arbitration ID Boot Configuration Reserved Redirection Table 0 Redirection Table 1 ... Redirection Table 23 Reserved 32 bits 32 bits 32 bits 32 bits R/W RO RO R/W RO 64 bits 64 bits ... 64 bits R/W R/W ... R/W RO 9.5.2 IND—Index Register Memory Address Default Value: FEC0_0000h 00h Attribute: Size: R/W 8 bits The Index Register will select which APIC indirect register to be manipulated by software. The selector values for the indirect registers are listed in Table 9-5. Software will program this register to select the desired APIC internal register . Bit Description APIC Index—R/W. This is an 8 bit pointer into the I/O APIC register table. 7:0 316 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.5.3 DAT—Data Register Memory Address Default Value: FEC0_0010h 00000000h Attribute: Size: R/W 32 bits This is a 32 bit register specifying the data to be read or written to the register pointed to by the Index register. This register can only be accessed in DWord quantities. Bit Description APIC Data—R/W. This is a 32 bit register for the data to be read or written to the APIC indirect register pointed to by the Index register. 7:0 9.5.4 IRQPA—IRQ Pin Assertion Register Memory Address Default Value: FEC0_0020h N/A Attribute: Size: WO 32 bits The IRQ Pin Assertion Register is present to provide a mechanism to scale the number of interrupt inputs into the I/O APIC without increasing the number of dedicated input pins. When a device that supports this interrupt assertion protocol requires interrupt service, that device will issue a write to this register. Bits 4:0 written to this register contain the IRQ number for this interrupt. The only valid values are 0–23. Bits 31:5 are ignored. To provide for future expansion, peripherals should always write a value of 0 for Bits 31:5. See Section 5.8.4 for more details on how PCI devices will use this field. Note: Writes to this register are only allowed by the processor and by masters on the ICH3’s PCI bus. Writes by devices on PCI buses above the ICH3 (e.g., a PCI segment on a P64H) are not supported. Bit Description 31:5 4:0 Reserved. To provide for future expansion, the processor should always write a value of 0 to Bits 31:5. IRQ Number—WO. Bits 4:0 written to this register contain the IRQ number for this interrupt. The only valid values are 0–23. Intel® 82801CA ICH3-S Datasheet 317 LPC I/F Bridge Registers (D31:F0) 9.5.5 EOIR—EOI Register Memory Address Default Value: FEC0_0040h N/A Attribute: Size: WO 32 bits The EOI register is present to provide a mechanism to maintain the level triggered semantics for level-triggered interrupts issued on the parallel bus. When a write is issued to this register, the I/O APIC will check the lower 8 bits written to this register, and compare it with the vector field for each entry in the I/O Redirection Table. When a match is found, the Remote_IRR bit for that I/O Redirection Entry will be cleared. Note: This is similar to what already occurs when the APIC sees the EIO message on the serial bus. Note that if multiple I/O Redirection entries, for any reason, assign the same vector for more than one interrupt input, each of those entries will have the Remote_IRR bit reset to 0. The interrupt which was prematurely reset will not be lost because if its input remained active when the Remote_IRR bit is cleared, the interrupt will be reissued and serviced at a later time. Only bits 7:0 are actually used. Bits 31:8 are ignored by the ICH3. To provide for future expansion, the processor should always write a value of 0 to Bits 31:8. Bit Description Note: Note: 31:8 Reserved. To provide for future expansion, the processor should always write a value of 0 to Bits 31:8. Redirection Entry Clear—WO. When a write is issued to this register, the I/O APIC will check this field, and compare it with the vector field for each entry in the I/O Redirection Table. When a match is found, the Remote_IRR bit for that I/O Redirection Entry will be cleared. 7:0 9.5.6 ID—Identification Register Index Offset: Default Value: 00h 00000000h Attribute: Size: R/W 32 bits The APIC ID serves as a physical name of the APIC. The APIC bus arbitration ID for the APIC is derived from its I/O APIC ID. This register is reset to zero on power up reset Bit Description 31:28 27:24 23:16 15 14:0 Reserved. APIC ID—R/W. Software must program this value before using the APIC. Reserved. Scratchpad bit. Reserved. 318 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.5.7 VER—Version Register Index Offset: Default Value: 01h 00170002h Attribute: Size: RO 32 bits Each I/O APIC contains a hardwired Version Register that identifies different implementation of APIC and their versions. The maximum redirection entry information also is in this register, to let software know how many interrupt are supported by this APIC. Bit Description 31:24 23:16 Reserved. Maximum Redirection Entries—RO. This is the entry number (0 being the lowest entry) of the highest entry in the redirection table. It is equal to the number of interrupt input pins minus one and is in the range 0 through 239. In the ICH3 this field is hardwired to 17h to indicate 24 interrupts. PRQ—RO. This bit is set to 1 to indicate that this version of the I/O APIC implements the IRQ Assertion register and allows PCI devices to write to it to cause interrupts. 15 14:8 7:0 Reserved. Version—RO. This is a version number that identifies the implementation version. 9.5.8 ARBID—Arbitration ID Register Index Offset: Default Value: 02h 00000000h Attribute: Size: RO 32 bits This register contains the bus arbitration priority for the APIC. If APIC Clock is running, this register is loaded whenever the APIC ID register is loaded. A rotating priority scheme is used for APIC bus arbitration. The winner of the arbitration becomes the lowest priority agent and assumes an arbitration ID of 0. a Bit Description 31:28 27:24 23:0 Reserved. I/O APIC Identification—RO. This 4 bit field contains the I/O APIC Arbitration ID. Reserved. 9.5.9 BOOT_CONFIG—Boot Configuration Register Index Offset: Default Value: 03h 00000000h Attribute: Size: R/W 32 bits This register is used to control the interrupt delivery mechanism for the APIC. a Bit Description 31:1 0 Reserved. Delivery Type (DT)—R/W. 0 = Interrupt delivery mechanism is via the APIC serial bus (default). 1 = Interrupt delivery mechanism is a Processor System Bus message. Intel® 82801CA ICH3-S Datasheet 319 LPC I/F Bridge Registers (D31:F0) 9.5.10 Redirection Table Index Offset: Default Value: 10h–11h (vector 0) through 3E–3Fh (vector 23) Bit 16–1, Bits[15:12]=0. All other bits undefined Attribute: Size: R/W 64 bits each, (accessed as two 32 bit quantities) The Redirection Table has a dedicated entry for each interrupt input pin. The information in the Redirection Table is used to translate the interrupt manifestation on the corresponding interrupt pin into an APIC message. The APIC will respond to an edge triggered interrupt as long as the interrupt is held until after the acknowledge cycle has begun. Once the interrupt is detected, a delivery status bit internally to the I/O APIC is set. The state machine will step ahead and wait for an acknowledgment from the APIC bus unit that the interrupt message was sent over the APIC bus. Only then will the I/O APIC be able to recognize a new edge on that interrupt pin. That new edge will only result in a new invocation of the handler if its acceptance by the destination APIC causes the Interrupt Request Register bit to go from 0 to 1. (In other words, if the interrupt was not already pending at the destination.) Bit Description 63:56 Destination—R/W. If bit 11 of this entry is 0 [Physical], then bits [59:56] specifies an APIC ID. In this case, bits 63:59 should be programmed by software to 0. If bit 11 of this entry is 1 [Logical], then bits [63:56] specify the logical destination address of a set of processors. Reserved. Software should program bits 55:48 to 0. Mask—R/W. 55:17 16 0 = Not masked: An edge or level on this interrupt pin results in the delivery of the interrupt to the destination. 1 = Masked: Interrupts are not delivered nor held pending. Setting this bit after the interrupt is accepted by a local APIC has no effect on that interrupt. This behavior is identical to the device withdrawing the interrupt before it is posted to the processor. It is software's responsibility to deal with the case where the mask bit is set after the interrupt message has been accepted by a local APIC unit but before the interrupt is dispensed to the processor. Trigger Mode—R/W. This field indicates the type of signal on the interrupt pin that triggers an interrupt. 15 0 = Edge triggered. 1 = Level triggered. Remote IRR—R/W. This bit is used for level triggered interrupts; its meaning is undefined for edge triggered interrupts. 14 0 = Reset when an EOI message is received from a local APIC. 1 = Set when Local APIC/s accept the level interrupt sent by the I/O APIC. Interrupt Input Pin Polarity—R/W. This bit specifies the polarity of each interrupt signal connected to the interrupt pins. 0 = Active high. 1 = Active low. Delivery Status—RO. This field contains the current status of the delivery of this interrupt. Writes to this bit have no effect. 13 12 0 = Idle. No activity for this interrupt. 1 = Pending. Interrupt has been injected, but delivery is held up due to the APIC bus being busy or the inability of the receiving APIC unit to accept the interrupt at this time. 320 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) Bit Description Destination Mode—R/W. This field determines the interpretation of the Destination field. 11 0 = Physical. Destination APIC ID is identified by bits [59:56]. 1 = Logical. Destinations are identified by matching bit [63:56] with the Logical Destination in the Destination Format Register and Logical Destination Register in each Local APIC. Delivery Mode—R/W. This field specifies how the APICs listed in the destination field should act upon reception of this signal. Certain Delivery Modes will only operate as intended when used in conjunction with a specific trigger mode. These encodings are listed in the note below. Vector—R/W. This field contains the interrupt vector for this interrupt. Values range between 10h and FEh. 10:8 7:0 NOTE: Delivery Mode encoding: 000 = Fixed. Deliver the signal on the INTR signal of all processor cores listed in the destination. Trigger Mode can be edge or level. 001 = Lowest Priority. Deliver the signal on the INTR signal of the processor core that is executing at the lowest priority among all the processors listed in the specified destination. Trigger Mode can be edge or level. 010 = SMI (System Management Interrupt). Requires the interrupt to be programmed as edge triggered. The vector information is ignored but must be programmed to all zeroes for future compatibility. 011 = Reserved 100 = NMI. Deliver the signal on the NMI signal of all processor cores listed in the destination. Vector information is ignored. NMI is treated as an edge triggered interrupt even if it is programmed as level triggered. For proper operation this redirection table entry must be programmed to edge triggered. The NMI delivery mode does not set the RIRR bit. Once the interrupt is detected, it will be sent over the APIC bus. If the redirection table is incorrectly set to level, the loop count will continue counting through the redirection table addresses. Once the count for the NMI pin is reached again, the interrupt will be sent over the APIC bus again. 101 = INIT. Deliver the signal to all processor cores listed in the destination by asserting the INIT signal. All addressed local APICs will assume their INIT state. INIT is always treated as an edge triggered interrupt even if programmed as level triggered. For proper operation this redirection table entry must be programmed to edge triggered. The INIT delivery mode does not set the RIRR bit. Once the interrupt is detected, it will be sent over the APIC bus. If the redirection table is incorrectly set to level, the loop count will continue counting through the redirection table addresses. Once the count for the INIT pin is reached again, the interrupt will be sent over the APIC bus again. 110 = Reserved 111 = ExtINT. Deliver the signal to the INTR signal of all processor cores listed in the destination as an interrupt that originated in an externally connected 8259A compatible interrupt controller. The INTA cycle that corresponds to this ExtINT delivery will be routed to the external controller that is expected to supply the vector. Requires the interrupt to be programmed as edge triggered. Intel® 82801CA ICH3-S Datasheet 321 LPC I/F Bridge Registers (D31:F0) 9.6 9.6.1 Real Time Clock Registers I/O Register Address Map The RTC internal registers and RAM are organized as two banks of 128 bytes each, called the standard and extended banks. The first 14 bytes of the standard bank contain the RTC time and date information along with four registers, A–D, that are used for configuration of the RTC. The extended bank contains a full 128 bytes of battery backed SRAM, and will be accessible even when the RTC module is disabled (via the RTC configuration register). Registers A–D do not physically exist in the RAM. All data movement between the host processor and the real-time clock is done through registers mapped to the standard I/O space. The register map appears in Table 9-6. Table 9-6. RTC I/O Registers I/O Locations If U128E bit = 0 Function 70h and 74h 71h and 75h 72h and 76h 73h and 77h NOTES: Also alias to 72h and 76h Also alias to 73h and 77h Real-Time Clock (Standard RAM) Index Register Real-Time Clock (Standard RAM) Target Register Extended RAM Index Register (if enabled) Extended RAM Target Register (if enabled) 1. I/O locations 70h and 71h are the standard ISA location for the real-time clock. The map for this bank is shown in Table 9-7. Locations 72h and 73h are for accessing the extended RAM. The extended RAM bank is also accessed using an indexed scheme. I/O address 72h is used as the address pointer and I/O address 73h is used as the data register. Index addresses above 127h are not valid. If the extended RAM is not needed, it may be disabled. 2. Software must preserve the value of bit 7 at I/O addresses 70h and 74h. When writing to these addresses, software must first read the value, and then write the same value for bit 7 during the sequential address write. 322 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.6.2 Indexed Registers The RTC contains two sets of indexed registers that are accessed using the two separate Index and Target registers (70/71h or 72/73h), as shown in Table 9-7. Table 9-7. RTC (Standard) RAM Bank Index Name 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0E–7Fh Seconds Seconds Alarm. Minutes Minutes Alarm Hours Hours Alarm Day of Week Day of Month Month Year Register A Register B Register C Register D 114 Bytes of User RAM Intel® 82801CA ICH3-S Datasheet 323 LPC I/F Bridge Registers (D31:F0) 9.6.2.1 RTC_REGA—Register A RTC Index: Default Value: Lockable: 0Ah Undefined No Attribute: Size: Power Well: R/W 8-bit RTC This register is used for general configuration of the RTC functions. None of the bits are affected by RSMRST# or any other ICH3 reset signal. Bit Description Update In Progress (UIP)—R/W. This bit may be monitored as a status flag. 7 0 = The update cycle will not start for at least 492us. The time, calendar, and alarm information in RAM is always available when the UIP bit is 0. 1 = The update is soon to occur or is in progress. Division Chain Select (DV[2:0])— R/W. These three bits control the divider chain for the oscillator, and are not affected by RSMRST# or any other reset signal. DV[2] corresponds to bit 6. 6:4 010 = Normal Operation 11X = Divider Reset 101 = Bypass 15 stages (test mode only) 100 = Bypass 10 stages (test mode only) 011 = Bypass 5 stages (test mode only) 001 = Invalid 000 = Invalid Rate Select (RS[3:0])—R/W. Selects one of 13 taps of the 15 stage divider chain. The selected tap can generate a periodic interrupt if the PIE bit is set in Register B. Otherwise this tap will set the PF flag of Register C. If the periodic interrupt is not to be used, these bits should all be set to zero. RS3 corresponds to bit 3. 3:0 0000 = Interrupt never toggles 0001 = 3.90625 ms 0010 = 7.8125 ms 0011 = 122.070 µs 0100 = 244.141 µs 0101 = 488.281 µs 0110 = 976.5625 µs 0111 = 1.953125 ms 1000 = 3.90625 ms 1001 = 7.8125 ms 1010 = 15.625 ms 1011 = 31.25 ms 1100 = 62.5 ms 1101 = 125 ms 1110 = 250 ms 1111= 500 ms 324 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.6.2.2 RTC_REGB—Register B (General Configuration) RTC Index: Default Value: Lockable: Bit 0Bh U0U00UUU (U: Undefined) No Attribute: Size: Power Well: Description R/W 8-bit RTC Update Cycle Inhibit (SET)—R/W. Enables/Inhibits the update cycles. This bit is not affected by RSMRST# nor any other reset signal. 7 0 = Update cycle occurs normally once each second. 1 = A current update cycle will abort and subsequent update cycles will not occur until SET is returned to zero. When set is one, the BIOS may initialize time and calendar bytes safely. Periodic Interrupt Enable (PIE)—R/W. This bit is cleared by RSMRST#, but not on any other reset. 0 = Disable. 1 = Allows an interrupt to occur with a time base set with the RS bits of register A. Alarm Interrupt Enable (AIE)—R/W. This bit is cleared by RSMRST#, but not on any other reset. 6 5 0 = Disable. 1 = Allows an interrupt to occur when the AF is set by an alarm match from the update cycle. An alarm can occur once a second, one an hour, once a day, or one a month. Update-Ended Interrupt Enable (UIE)—R/W. This bit is cleared by RSMRST#, but not on any other reset. 4 0 = Disable. 1 = Allows an interrupt to occur when the update cycle ends. Square Wave Enable (SQWE)—R/W. This bit serves no function in the ICH3. It is left in this register bank to provide compatibility with the Motorola* 146818B. The ICH3 has no SQW pin. This bit is cleared by RSMRST#, but not on any other reset. Data Mode (DM)—R/W. Specifies either binary or BCD data representation. This bit is not affected by RSMRST# nor any other reset signal. 3 2 0 = BCD. 1 = Binary. Hour Format (HOURFORM)—R/W. Indicates the hour byte format. This bit is not affected by RSMRST# nor any other reset signal. 1 0 = Twelve-hour mode. In twelve hour mode, the seventh bit represents AM as zero and PM as one. 1 = Twenty-four hour mode. Daylight Savings Enable (DSE)—R/W. Triggers two special hour updates per year. The days for the hour adjustment are those specified in United States federal law as of 1987, which is different than previous years. This bit is not affected by RSMRST# nor any other reset signal. 0 0 = Daylight Savings Time updates do not occur. 1 = a) Update on the first Sunday in April, where time increments from 1:59:59 AM to 3:00:00 AM. b) Update on the last Sunday in October when the time first reaches 1:59:59 AM, it is changed to 1:00:00 AM. The time must increment normally for at least two update cycles (seconds) previous to these conditions for the time change to occur properly. Intel® 82801CA ICH3-S Datasheet 325 LPC I/F Bridge Registers (D31:F0) 9.6.2.3 RTC_REGC—Register C (Flag Register) RTC Index: Default Value: Lockable: 0Ch 00U00000 (U: Undefined) No Attribute: Size: Power Well: RO 8-bit RTC Writes to Register C have no effect. Bit Description Interrupt Request Flag (IRQF)—RO. IRQF = (PF * PIE) + (AF * AIE) + (UF *UFE). This also causes the CH_IRQ_B signal to be asserted. This bit is cleared upon RSMRST# or a read of Register C. Periodic Interrupt Flag (PF)—RO. This bit is cleared upon RSMRST# or a read of Register C. 0 = If no taps are specified via the RS bits in Register A, this flag will not be set. 1 = Periodic interrupt Flag will be 1 whenever the tap specified by the RS bits of register A is 1. Alarm Flag (AF)—RO. 7 6 5 0 = This bit is cleared upon RTCRST# or a read of Register C. 1 = Alarm Flag will be set after all Alarm values match the current time. Update-Ended Flag (UF)—RO. 4 3:0 0 = The bit is cleared upon RSMRST# or a read of Register C. 1 = Set immediately following an update cycle for each second. Reserved. Will always report 0. 9.6.2.4 RTC_REGD—Register D (Flag Register) RTC Index: Default Value: Lockable: Bit Valid RAM and Time Bit (VRT)—R/W. 0Dh 10UUUUUU (U: Undefined) No Attribute: Size: Power Well: Description R/W 8-bit RTC 7 6 0 = This bit should always be written as a 0 for write cycle, however it will return a 1 for read cycles. 1 = This bit is hardwired to 1 in the RTC power well. Reserved. This bit always returns a 0 and should be set to 0 for write cycles. Date Alarm—R/W. These bits store the date of month alarm value. If set to 000000b, then a don’t care state is assumed. The host must configure the date alarm for these bits to do anything, yet they can be written at any time. If the date alarm is not enabled, these bits will return zeros to mimic the functionality of the Motorola 146818B. These bits are not affected by RESET. 5:0 326 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.7 9.7.1 Processor Interface Registers NMI_SC—NMI Status and Control Register I/O Address: Default Value: Lockable: Bit 61h 00h No Attribute: Size: Power Well: Description R/W (some bits RO) 8-bit Core 7 SERR# NMI Source Status (SERR#_NMI_STS)—RO. 1 = PCI agent detected a system error and pulses the PCI SERR# line. This interrupt source is enabled by setting bit 2 to 0. To reset the interrupt, set bit 2 to 1 and then set it to 0. When writing to port 61h, this bit must be 0. IOCHK# NMI Source Status (IOCHK_NMI_STS)—RO. 1 = An ISA agent (via SERIRQ) asserted IOCHK# on the ISA bus. This interrupt source is enabled by setting bit 3 to 0. To reset the interrupt, set bit 3 to 0 and then set it to 1. When writing to port 61h, this bit must be a 0. Timer Counter 2 OUT Status (TMR2_OUT_STS)—RO. This bit reflects the current state of the 8254 counter 2 output. Counter 2 must be programmed following any PCI reset for this bit to have a determinate value. When writing to port 61h, this bit must be a 0. Refresh Cycle Toggle (REF_TOGGLE)—RO. This signal toggles from either 0 to 1 or 1 to 0 at a rate that is equivalent to when refresh cycles would occur. When writing to port 61h, this bit must be a 0. 6 5 4 3 IOCHK# NMI Enable (IOCHK_NMI_EN)—R/W. 0 = Enabled. 1 = Disabled and cleared. PCI SERR# Enable (PCI_SERR_EN)—R/W. 2 0 = SERR# NMIs are enabled. 1 = SERR# NMIs are disabled and cleared. Speaker Data Enable (SPKR_DAT_EN)—R/W. 1 0 = SPKR output is a 0. 1 = SPKR output is equivalent to the Counter 2 OUT signal value. Timer Counter 2 Enable (TIM_CNT2_EN)—R/W. 0 0 = Disable. 1 = Enable. Intel® 82801CA ICH3-S Datasheet 327 LPC I/F Bridge Registers (D31:F0) 9.7.2 NMI_EN—NMI Enable (and Real Time Clock Index) Register I/O Address: Default Value: Lockable: 70h 80h No Attribute: Size: Power Well: R/W (Special) 8-bit Core Note: The RTC Index field is write-only for normal operation. This field can only be read in Alt-Access Mode. Note, however that this register is aliased to Port 74h (documented in Table 9-6), and all bits are readable at that address. Bits NMI Enable (NMI_EN)—R/W. 0 = Enable NMI sources. 1 = Disable All NMI sources. Real Time Clock Index Address (RTC_INDX)—R/W. This data goes to the RTC to select which register or CMOS RAM address is being accessed. Description 7 6:0 9.7.3 PORT92—Fast A20 and Init Register I/O Address: Default Value: Lockable: Bit 92h 00h No Attribute: Size: Power Well: Description R/W 8-bit Core 7:2 Reserved. Alternate A20 Gate (ALT_A20_GATE)—R/W. This bit is Or’d with the A20GATE input signal to generate A20M# to the processor. 1 0 = A20M# signal can potentially go active. 1 = This bit is set when INIT# goes active. INIT_NOW—R/W. When this bit transitions from a 0 to a 1, the ICH3 will force INIT# active for 16 PCI clocks. 0 9.7.4 COPROC_ERR—Coprocessor Error Register I/O Address: Default Value: Lockable: Bits F0h 00h No Attribute: Size: Power Well: Description WO 8-bits Core 7:0 COPROC_ERR—WO. Any value written to this register will cause IGNNE# to go active, if FERR# had generated an internal IRQ13. For FERR# to generate an internal IRQ13, the COPROC_ERR_EN bit (Device 31:Function 0, Offset D0, Bit 13) must be 1. 328 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.7.5 RST_CNT—Reset Control Register I/O Address: Default Value: Lockable: Bit CF9h 00h No Attribute: Size: Power Well: Description R/W 8-bit Core 7:4 Reserved. Full Reset (FULL_RST)—R/W. This bit is used to determine the states of SLP_S3# and SLP_S5# after a CF9 hard reset (SYS_RST =1 and RST_CPU is set to 1), after PWROK going low (with RSMRST# high), or after two TCO timeouts. 3 0 = ICH3 will keep SLP_S3# and SLP_S5# high. 1 = ICH3 will drive SLP_S3# and SLP_S5# low for 3–5 seconds. 2 Reset CPU (RST_CPU)—R/W. When this bit transitions from a 0 to a 1, it initiates a hard or soft reset, as determined by the SYS_RST bit (bit 1 of this register). System Reset (SYS_RST)—R/W. This bit is used to determine a hard or soft reset to the processor. 1 0 = When RST_CPU bit goes from 0 to 1, the ICH3 performs a soft reset by activating INIT# for 16 PCI clocks. 1 = When RST_CPU bit goes from 0 to 1, the ICH3 performs a hard reset by activating PCIRST# for 1 millisecond. It also resets the resume well bits (except for those noted throughout the EDS). Reserved. 0 Intel® 82801CA ICH3-S Datasheet 329 LPC I/F Bridge Registers (D31:F0) 9.8 Power Management Registers (D31:F0) The power management registers are distributed within the PCI Device 31: Function 0 space, as well as a separate I/O range. Each register is described below. Unless otherwise indicate, bits are in the main (core) power well. Bits not explicitly defined in each register are assumed to be reserved. When writing to a reserved bit, the value should always be 0. Software should not attempt to use the value read from a reserved bit, as it may not be consistently 1 or 0. 9.8.1 Power Management PCI Configuration Registers (D31:F0) Table 9-8 shows a small part of the configuration space for PCI Device 31: Function 0. It includes only those registers dedicated for power management. Some of the registers are only used for Legacy Power management schemes. Table 9-8. PCI Configuration Map (PM—D31:F0) Offset Mnemonic Register Name/Function Default Type 40–43h 44h A0h A2h A4h A8h B8–BBh C0h C4–CAh CCh ACPI_BASE ACPI_CNTL GEN_PMCON_1 GEN_PMCON_2 GEN_PMCON_3 STPCLK_DEL GPI_ROUT TRP_FWD_EN MON[n]_TRP_RNG MON_TRP_MSK ACPI Base Address ACPI Control General Power Management Configuration 1 General Power Management Configuration 2 General Power Management Configuration 3 Stop Clock Delay Register GPI Route Control I/O Monitor Trap Forwarding Enable I/O Monitor[4:7] Trap Range I/O Monitor Trap Range Mask 00000001h 00h 0000h 0000h 00h 0Dh 00000000h 00h 0000h 0000h R/W R/W R/W R/W R/W R/W R/W R/W R/W 330 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.8.1.1 GEN_PMCON_1—General PM Configuration 1 Register (PM—D31:F0) Offset Address: Default Value: Lockable: Power Well: Bit A0h 00h No Core Attribute: Size: Usage: R/W 16-bit ACPI, Legacy Description 15:11 10 Reserved. Software SMI Rate Select (SWSMI_RATE_SEL)—R/W. 0 = SWSMI Timer will time out in 64 ms ± 4 ms (default). 1 = SWSMI Timer will time out in 1.5 ms ± 0.5 ms. PWRBTN_LVL—RO. This read-only bit indicates the current state of the PWRBTN# signal. 0 = Low. 1 = High. 9 8:6 Reserved. CPU SLP# Enable (CPUSLP_EN)—R/W. 5 0 = Disable. 1 = Enables the CPUSLP# signal to go active in the S1. This reduces the processor power. Note that CPUSLP# will go active during Intel® SpeedStep™ technology transitions and on entry to S1, S3, S4 and S5 even if this bit is not set. Reserved. Periodic SMI# Rate Select (PER_SMI_SEL)—R/W. Set by software to control the rate at which periodic SMI# is generated. 4:2 1:0 00 = 1 minute 01 = 32 seconds 10 = 16 seconds 11 = 8 seconds 9.8.1.2 GEN_PMCON_2—General PM Configuration 2 Register (PM—D31:F0) Offset Address: Default Value: Lockable: Power Well: Bit A2h 00h No Resume Attribute: Size: Usage: R/WC 16-bit ACPI, Legacy Description 7:2 1 Reserved. CPU Power Failure (CPUPWR_FLR)—R/WC. 0 = Software clears this bit by writing a 1 to it. 1 = Indicates that the VRMPWRGD signal, from the processor’s VRM, went low. PWROK Failure (PWROK_FLR)—R/WC. 0 0 = Software clears this bit by writing a 1 to it, or when the system goes into a G3 state. 1 = This bit will be set any time PWROK goes low, when the system was in S0, or S1 state. The bit will be cleared only by software by writing a 1 to this bit or when the system goes to a G3 state. NOTE: Traditional designs have a reset button logically AND’d with the PWROK signal from the power supply and the processor’s voltage regulator module. If this is done with the ICH3, the PWROK_FLR bit will be set. The ICH3 treats this internally as if the RSMRST# signal had gone active. However, it is not treated as a full power failure. If PWROK goes inactive and then active (but RSMRST# stays high), then the ICH3 will reboot (regardless of the state of the AFTERG3 bit). If the RSMRST# signal also goes low before PWROK goes high, then this is a full power failure, and the reboot policy is controlled by the AFTERG3 bit. NOTE: VGATE is sampled using the RTC clock. Therefore, low times that are less than one RTC clock period may not be detected by the ICH3. Intel® 82801CA ICH3-S Datasheet 331 LPC I/F Bridge Registers (D31:F0) 9.8.1.3 GEN_PMCON_3—General PM Configuration 3 Register (PM—D31:F0) Offset Address: Default Value: Lockable: Power Well: Bit A4h 00h No RTC Attribute: Size: Usage: R/W 8-bit ACPI, Legacy Description 7:3 Reserved. RTC Power Status (RTC_PWR_STS)—R/WC. 2 0 = Software clears this bit by writing a 0 to the bit position. 1 = Indicates that the RTC battery was removed or has 0 volts. This bit is set when the RTCRST# signal is low. NOTE: Clearing CMOS in an Intel ICH3-based platform can be done by using a jumper on RTCRST# or GPI, or using a SAFEMODE strap. Implementations should not attempt to clear CMOS by using a jumper to pull VccRTC low. Power Failure (PWR_FLR)—R/WC. This bit is in the RTC well, and is not cleared by any type of reset except RTCRST#. 1 0 = Indicates that the trickle current has not failed since the last time the bit was cleared. Software clears this bit by writing a 1 to the bit position. 1 = Indicates that the trickle current (from the main battery or trickle supply) was removed or failed. NOTE: Clearing CMOS in an ICH3-based platform can be done by using a jumper on RTCRST# or GPI, or using SAFEMODE strap. Implementations should not attempt to clear CMOS by using a jumper to pull VccRTC low. AFTERG3_EN—R/W. Determines what state to go to when power is re-applied after a power failure (G3 state). This bit is in the RTC well and is not cleared by any type of reset except writes to CF9h or RTCRST#. 0 0 = System will return to S0 state (boot) after power is re-applied. 1 = System will return to the S5 state (except if it was in S4, in which case it will return to S4). In the S5 state, the only enabled wake event is the Power Button or any enabled wake event that was preserved through the power failure. NOTE: RSMRST# is sampled using the RTC clock. Therefore, low times that are less than one RTC clock period may not be detected by the ICH3. 9.8.1.4 STPCLK_DEL—Stop Clock Delay Register (PM—D31:F0) Offset Address: Default Value: Power Well: Bit A8h 0Dh Core Attribute: Size: Usage: Description R/W 8-bit ACPI, Legacy 7:6 Reserved. STPCLK_DEL. Selects the value for t190 (CPUSLP# inactive to STPCLK# inactive). The default value of 0Dh yields a default of approximately 50.045 microseconds. The maximum value of 3Fh will result in a time of 245 microseconds. 5:0 NOTE: Software must program the value to a range that can be tolerated by the associated processor and chipset. The ICH3 requires that software does not program a value of 00h or 01h; a minimum programming of 02h yields the minimum possible delay of 3.87 microseconds. 332 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.8.1.5 GPI_ROUT—GPI Routing Control Register (PM—D31:F0) Offset Address: Default Value: Lockable: Bit B8h–BBh 0000h No Attribute: Size: Power Well: Description R/W 32-bit Resume 31:30 GPI[15] Route—R/W. See bits 1:0 for description. Same pattern for GPI[14] through GPI[3] 5:4 3:2 GPI[2] Route—R/W. See bits 1:0 for description. GPI[1] Route—R/W. See bits 1:0 for description. GPI[0] Route—R/W. GPIO[15:0] can be routed to cause an SMI or SCI when the GPI[n]_STS bit is set. If the GPIO is not set to an input, this field has no effect. 1:0 If the system is in an S1–S5 state and if the GPE1_EN bit is also set, then the GPI can cause a Wake event, even if the GPI is NOT routed to cause an SMI# or SCI. 00 = No effect. 01 = SMI# (if corresponding GPE1_EN bit is also set). 10 = SCI (if corresponding GPE1_EN bit is also set). 11 = Reserved. Note: GPIOs that are not implemented will not have the corresponding bits implemented in this register. 9.8.1.6 TRP_FWD_EN—I/O Monitor Trap Forwarding Enable Register (PM—D31:F0) Offset Address: Default Value: Lockable: Power Well: C0h 00h No Core Attribute: Size: Usage: R/W (Special) 8 bits Legacy Only The ICH3 uses this register to enable the monitors to forward cycles to LPC, independent of the POS_DEC_EN bit and the bits that enable the monitor to generate an SMI#. The only criteria is that the address passes the decoding logic as determined by the MON[n]_TRP_RNG and MON_TRP_MSK register settings. Bit MON7_FWD_EN—R/W. Description 7 0 = Disable. Cycles trapped by I/O Monitor 7 will not be forwarded to LPC. 1 = Enable. Cycles trapped by I/O Monitor 7 will be forwarded to LPC. MON6_FWD_EN—R/W. 6 0 = Disable. Cycles trapped by I/O Monitor 6 will not be forwarded to LPC. 1 = Enable. Cycles trapped by I/O Monitor 6 will be forwarded to LPC. MON5_FWD_EN—R/W. 5 0 = Disable. Cycles trapped by I/O Monitor 5 will not be forwarded to LPC. 1 = Enable. Cycles trapped by I/O Monitor 5 will be forwarded to LPC. MON4_FWD_EN—R/W. 4 3:0 0 = Disable. Cycles trapped by I/O Monitor 4 will not be forwarded to LPC. 1 = Enable. Cycles trapped by I/O Monitor 4 will be forwarded to LPC. Reserved. Intel® 82801CA ICH3-S Datasheet 333 LPC I/F Bridge Registers (D31:F0) 9.8.1.7 MON[n]_TRP_RNG—I/O Monitor [4:7] Trap Range Register for Devices 4–7 (PM—D31:F0) Offset Address: Default Value: Lockable: Power Well: C4h, C6h, C8h, CAh 00h No Core Attribute: Size: Usage: R/W 16 bits Legacy Only These registers set the ranges that Device Monitors 4–7 should trap. Offset 4Ch corresponds to Monitor 4. Offset C6h corresponds to Monitor 5, etc. If the trap is enabled in the MON_SMI register and the address is in the trap range (and passes the mask set in the MON_TRP_MSK register) the ICH3 will generate an SMI#. This SMI# occurs if the address is positively decoded by another device on PCI or by the ICH3 (because it would be forwarded to LPC or some other ICH3 internal registers). The trap ranges should not point to registers in the ICH3’s internal IDE, USB, AC’97 or LAN I/O space. If the cycle is to be claimed by the ICH3 and targets one of the permitted ICH3 internal registers (interrupt controller, RTC, etc.), the cycle will complete to the intended target and an SMI# will be generated (this is the same functionality as the ICH component). If the cycle is to be claimed by the ICH3 and the intended target is on LPC, an SMI# will be generated but the cycle will only be forwarded to the intended target if forwarding to LPC is enabled via the TRP_FWD_EN register settings. Bit Description MON[n]_TRAP_BASE—R/W. Base I/O locations that MON[n] traps (where n = 4, 5, 6 or 7). The range can be mapped anywhere in the processor I/O space (0–64K). 15:0 Any access to the range will generate an SMI# if enabled by the associated DEV[n]_TRAP_EN bit in the MON_SMI register (PMBASE +40h). 9.8.1.8 MON_TRP_MSK—I/O Monitor Trap Range Mask Register for Devices 4-7 (PM—D31:F0) Offset Address: Default Value: Lockable: Power Well: Bit CCh 00h No Core Attribute: Size: Usage: R/W 16 bits Legacy Only Description MON7_MASK—R/W. Selects low 4-bit mask for the I/O locations that MON7 will trap. Similar to MON4_MASK. MON6_MASK—R/W. Selects low 4-bit mask for the I/O locations that MON6 will trap. Similar to MON4_MASK. MON5_MASK—R/W. Selects low 4-bit mask for the I/O locations that MON5 will trap. Similar to MON4_MASK. MON4_MASK—R/W. Selects low 4-bit mask for the I/O locations that MON7 will trap. When a mask bit is set to a 1, the corresponding bit in the base I/O selection will not be decoded. 15:12 11:8 7:4 3:0 For example, if MON4_TRAP_BASE = 1230h, and MON4_MSK = 0011b, the ICH3 will decode 1230h, 1231h, 1232h, and 1233h for Monitor 4. 334 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.8.2 APM I/O Decode Table 9-9 shows the I/O registers associated with APM support. This register space is enabled in the PCI Device 31: Function 0 space (APMDEC_EN), and cannot be moved (fixed I/O location). Table 9-9. APM Register Map Address Mnemonic Register Name Default Type B2h B3h APM_CNT APM_STS Advanced Power Management Control Port Advanced Power Management Status Port 00h 00h R/W R/W 9.8.2.1 APM_CNT—Advanced Power Management Control Port Register I/O Address: Default Value: Lockable: Power Well: Bit B2h 00h No Core Attribute: Size: Usage: R/W 8-bit Legacy Only Description 7:0 Used to pass an APM command between the OS and the SMI handler. Writes to this port not only store data in the APMC register, but also generates an SMI# when the APMC_EN bit is set. 9.8.2.2 APM_STS—Advanced Power Management Status Port Register I/O Address: Default Value: Lockable: Power Well: Bit B3h 00h No Core Attribute: Size: Usage: R/W 8-bit Legacy Only Description 7:0 Used to pass data between the OS and the SMI handler. Basically, this is a scratchpad register and is not effected by any other register or function (other than a PCI reset). Intel® 82801CA ICH3-S Datasheet 335 LPC I/F Bridge Registers (D31:F0) 9.8.3 Power Management I/O Registers Table 9-10 shows the registers associated with ACPI and Legacy power management support. These registers are enabled in the PCI Device 31: Function 0 space (PM_IO_EN), and can be moved to any I/O location (128-byte aligned). The registers are defined to be compliant with the ACPI 1.0 specification, and use the same bit names. Note: All reserved bits and registers will always return 0 when read, and will have no effect when written. Table 9-10. ACPI and Legacy I/O Register Map PMBASE+ Offset Register Name ACPI Pointer Default Attributes 00–01h 02–03h 04–07h 08–0Bh 0C–0Fh 10h–13h 14h 15–27h 28–29h 2A–2Bh 2C–2D 2E–2F 30–31h 34–35h 36–3Fh 40–41h 41–43h 44–45h 48–49h 4Ch–4Dh 4Eh 4Fh–5Fh 60h–7Fh PM1 Status PM1 Enable PM1 Control PM1 Timer Reserved Processor Control Level 2 Register Reserved General Purpose Event 0 Status General Purpose Event 0 Enables General Purpose Event 1 Status General Purpose Event 1 Enables SMI# Control and Enable SMI Status Register Reserved Monitor SMI Status Reserved Device Trap Status Trap Enable register Bus Address Tracker Bus Cycle Tracker Reserved Reserved for TCO Registers PM1a_EVT_BLK PM1a_EVT_BLK+2 PM1a_CNT_BLK PMTMR_BLK — P_BLK P_BLK+4 — GPE0_BLK GPE0_BLK+2 GPE1_BLK GPE1_BLK+2 — — — — — — — — — — — 0000h 0000h 00000000h 00000000h — 00000000h 00h — 0000h 0000h 0000h 0000h 0000h 0000h 0000h 0000h — 0000h 0000h Last Cycle Last Cycle — — R/W R/W R/W RO — R/W RO — R/W R/W R/W R/W R/W R/W RO R/W — R/W R/W RO RO — — 336 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.8.3.1 PM1_STS—Power Management 1 Status Register I/O Address: Default Value: Lockable: Power Well: PMBASE + 00h (ACPI PM1a_EVT_BLK) Attribute: Size: Usage: R/WC 16-bit ACPI or Legacy 0000h No Bits 0–7: Core, Bits 8–15: Resume, except Bit 11 in RTC If bit 10 or 8 in this register is set, and the corresponding _EN bit is set in the PM1_EN register, then the ICH3 generates a Wake Event. Once back in an S0 state (or if already in an S0 state when the event occurs), the ICH3 also generates an SCI if the SCI_EN bit is set, or an SMI# if the SCI_EN bit is not set. Note: Bit 5 does not cause an SMI# or a wake event. Bit 0 does not cause a wake event but can cause an SMI# or SCI. Bit Description Wake Status (WAK_STS)—R/WC. This bit is not affected by hard resets caused by a CF9 write, but is reset by RSMRST#. 15 0 = Software clears this bit by writing a 1 to the bit position. 1 = Set by hardware when the system is in one of the sleep states (via the SLP_EN bit) and an enabled wake event occurs. Upon setting this bit, the ICH3 will transition the system to the ON state. If the AFTERG3_EN bit is not set and a power failure (such as removed batteries) occurs without the SLP_EN bit set, the system will return to an S0 state when power returns, and the WAK_STS bit will not be set. If the AFTERG3_EN bit is set and a power failure occurs without the SLP_EN bit having been set, the system will go into an S5 state when power returns, and a subsequent wake event will cause the WAK_STS bit to be set. Note that any subsequent wake event would have to be caused by either a Power Button press, or an enabled wake event that was preserved through the power failure (enable bit in the RTC well). Reserved. Power Button Override Status (PRBTNOR_STS)—R/WC. This bit is not affected by hard resets caused by a CF9 write, and is not reset by RSMRST#. Thus, this bit will be preserved through a power failure. 14:12 11 0 = The BIOS or SCI handler can clear this bit by writing a 1 to it. 1 = Set by hardware anytime PWROK is high and a Power Button Override Event occurs, which occurs when the power button is pressed for at least 4 consecutive seconds. The power button override causes an unconditional transition to the S5 state, and sets the AFTERG3 bit. This bit can also be set by the SMBus Slave logic. RTC Status (RTC_STS)—R/WC. This bit is not affected by hard resets caused by a CF9 write, but is reset by RSMRST#. 0 = Software clears this bit by writing a 1 to the bit position. 1 = Set by hardware when the RTC generates an alarm (assertion of the IRQ8# signal). Additionally if the RTC_EN bit is set, the setting of the RTC_STS bit will generate a wake event. 10 9 Reserved. Intel® 82801CA ICH3-S Datasheet 337 LPC I/F Bridge Registers (D31:F0) Bit Description Power Button Status (PWRBTN__STS)—R/WC. This bit is not affected by hard resets caused by a CF9 write. 0 = If the PWRBTN# signal is held low for more than 4 seconds, the hardware clears the PWRBTN_STS bit, sets the PWRBTNOR_STS bit, and the system transitions to the S5 state with only PWRBTN# enabled as a wake event. This bit can be cleared by software by writing a one to the bit position. 1= 1 = This bit is set by hardware when the PWRBTN# signal is asserted Low, independent of any other enable bit. In the S0 state, while PWRBTN_EN and PWRBTN_STS are both set, an SCI (or SMI# if SCI_EN is not set) will be generated. In any sleeping state S1–S5, while PWRBTN_EN and PWRBTN_STS are both set, a wake event is generated. 7:6 Reserved. Global Status (GBL _STS)—R/WC. 8 5 0 = The SCI handler should then clear this bit by writing a 1 to the bit location. 1 = Set when an SCI is generated due to BIOS wanting the attention of the SCI handler. BIOS has a corresponding bit, BIOS_RLS, which will cause an SCI and set this bit. Reserved. Timer Overflow Status (TMROF_STS)—R/WC. 4:1 0 0 = The SCI or SMI# handler clears this bit by writing a 1 to the bit location. 1 = This bit gets set any time bit 22 of the 24-bit timer goes high (bits are numbered from 0 to 23). This will occur every 2.3435 seconds. When the TMROF_EN bit is set, then the setting of the TMROF_STS bit will additionally generate an SCI or SMI# (depending on the SCI_EN). 338 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.8.3.2 PM1_EN—Power Management 1 Enable Register I/O Address: Default Value: Lockable: Power Well: PMBASE + 02h (ACPI PM1a_EVT_BLK + 2) Attribute: Size: Usage: R/W 16-bit ACPI or Legacy 0000h No Bits 0:7: Core, Bits 8, 9: Resume Bit 10: RTC Bits 11:15: Resume Bit Description 15:11 Reserved. RTC Event Enable (RTC_EN)—R/W. This bit is in the RTC well to allow an RTC event to wake after a power failure. This bit is not cleared by any reset other than RTCRST# or a Power Button Override event. 10 0 = No SCI (or SMI#) or wake event is generated then RTC_STS goes active. 1 = An SCI (or SMI#) or wake event will occur when this bit is set and the RTC_STS bit goes active. Reserved. Power Button Enable (PWRBTN_EN)—R/W. This bit is used to enable the setting of the PWRBTN_STS bit to generate a power management event (SMI#, SCI). PWRBTN_EN has no effect on the PWRBTN_STS bit being set by the assertion of the power button. The Power Button is always enabled as a Wake event. 9 8 0 = Disable. 1 = Enable. 7:6 Reserved. Global Enable (GBL_EN)—R/W. When both the GBL_EN and the GBL_STS are set, an SCI is raised. 5 0 = Disable. 1 = Enable SCI on GBL_STS going active. Reserved. Timer Overflow Interrupt Enable (TMROF_EN)—R/W. Works in conjunction with the SCI_EN bit as described below: 4:1 0 TMROF_EN 0 1 1 SCI_EN x 0 1 Effect when TMROF_STS is set No SMI# or SCI SMI# SCI Intel® 82801CA ICH3-S Datasheet 339 LPC I/F Bridge Registers (D31:F0) 9.8.3.3 PM1_CNT—Power Management 1 Control Register I/O Address: Default Value: Lockable: Power Well: PMBASE + 04h (ACPI PM1a_CNT_BLK) Attribute: Size: Usage: R/W 32-bit ACPI or Legacy 0000h No Bits 0–7: Core, Bits 8–15: Resume Bit Description 15:14 13 Reserved. Sleep Enable (SLP_EN)—WO. Setting this bit causes the system to sequence into the Sleep state defined by the SLP_TYP field. Sleep Type (SLP_TYP)—R/W. This 3-bit field defines the type of Sleep the system should enter when the SLP_EN bit is set to 1. 12:10 000 = ON: Typically maps to S0 state. 001 = Asserts STPCLK#. Puts processor in Stop-Grant state. Optional to assert CPUSLP# to put the processor in sleep state: Typically maps to S1 state. 010 = Reserved. 011 = Reserved. 100 = Reserved. 101 = Suspend-To-RAM. Assert SLP_S1# and SLP_S3#: Typically maps to S3 state. 110 = Suspend-To-Disk. Assert SLP_S1#, SLP_S3#, and SLP_S5# SLP_S3# and SLP_S5#: Typically maps to S4 state. 111 = Soft Off. Assert SLP_S1#, SLP_S3#, and SLP_S5# SLP_S3#, and SLP_S5#: Typically maps to S5 state. Reserved. Global Release (GBL_RLS)—WO. 9:3 2 0 = This bit always reads as 0. 1 = ACPI software writes a 1 to this bit to raise an event to the BIOS. BIOS software has a corresponding enable and status bits to control its ability to receive ACPI events. Reserved. SCI Enable (SCI_EN)—R/W. Selects the SCI interrupt or the SMI# interrupt for various events including the bits in the PM1_STS register (bit 10, 8, 0), and bits in GPE0_STS. 1 0 0 = These events will generate an SMI#. 1 = These events will generate an SCI. 9.8.3.4 PM1_TMR—Power Management 1 Timer Register I/O Address: Default Value: Lockable: Power Well: Bit PMBASE + 08h (ACPI PMTMR_BLK) Attribute: Size: Usage: RO 32-bit ACPI xx000000h No Core Description 31:24 Reserved. Timer Value (TMR_VAL)—RO. Returns the running count of the PM timer. This counter runs off a 3.579545 MHz clock (14.31818 MHz divided by 4). It is reset to zero during a PCI reset, and then continues counting as long as the system is in the S0 state. 23:0 Anytime bit 22 of the timer goes HIGH to LOW (bits referenced from 0 to 23), the TMROF_STS bit is set. The High-to-Low transition will occur every 2.3435 seconds. If the TMROF_EN bit is set, an SCI interrupt is also generated. 340 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.8.3.5 PROC_CNT—Processor Control Register I/O Address: Default Value: Lockable: Power Well: Bit PMBASE + 10h (ACPI P_BLK) Attribute: Size: Usage: R/W 32-bit ACPI or Legacy 00000000h No (bits 7:5 are write once) Core Description 31:18 Reserved. Throttle Status (THTL_STS)—RO. 17 0 = No clock throttling is occurring (maximum processor performance). 1 = Indicates that the clock state machine is in some type of low power state (where the processor is not running at its maximum performance): thermal throttling or hardware throttling. Reserved. Force Thermal Throttling (FORCE_THTL)—R/W. Software can set this bit to force the thermal throttling function. This has the same effect as the THRM# signal being active for 2 seconds. 16:9 8 0 = No forced throttling. 1 = Throttling at the duty cycle specified in THRM_DTY starts immediately (no 2 second delay), and no SMI# is generated. THRM_DTY. This write-once 3-bit field determines the duty cycle of the throttling when the thermal override condition occurs. The duty cycle indicates the approximate percentage of time the STPCLK# signal is asserted while in the throttle mode. The STPCLK# throttle period is 1024 PCICLKs. Note that the throttling only occurs if the system is in the C0 state. If in the C2 state, no throttling occurs. 7:5 There is no enable bit for thermal throttling, because it should not be disabled. Once the THRM_DTY field is written, any subsequent writes will have no effect until PCIRST# goes active. THRM_DTY Throttle Mode PCI Clocks 000 RESERVED (Default) 512 (Will be 50%) 001 87.5% 896 010 75.0% 768 011 62.5% 640 100 50% 512 101 37.5% 384 110 25% 256 111 12.5% 128 THTL_EN. When set and the system is in a C0 state, it enables a processor-controlled STPCLK# throttling. The duty cycle is selected in the THTL_DTY field. 0 = Disable. 1 = Enable. THTL_DTY. This 3-bit field determines the duty cycle of the throttling when the THTL_EN bit is set. The duty cycle indicates the approximate percentage of time the STPCLK# signal is asserted (low) while in the throttle mode. The STPCLK# throttle period is 1024 PCICLKs. THTL_DTY Throttle Mode PCI Clocks 000 RESERVED (Default) 512 (Will be 50%) 001 87.5% 896 010 75.0% 768 011 62.5% 640 100 50% 512 101 37.5% 384 110 25% 256 111 12.5% 128 4 3:1 0 Reserved. Intel® 82801CA ICH3-S Datasheet 341 LPC I/F Bridge Registers (D31:F0) 9.8.3.6 LV2—Level 2 Register I/O Address: Default Value: Lockable: Power Well: Bit PMBASE + 14h (ACPI P_BLK+4) Attribute: Size: Usage: RO 8-bit ACPI or Legacy 00h No Core Description 7:0 Reads to this register return all zeros, writes to this register have no effect. Reads to this register generate a “enter a level 2 power state” (C2) to the clock control logic. This will cause the STPCLK# signal to go active, and stay active until a break event occurs. Throttling (due either to THTL_EN or THRM# override) will be ignored. 9.8.3.7 GPE0_STS—General Purpose Event 0 Status Register I/O Address: Default Value: Lockable: Power Well: PMBASE + 28h (ACPI GPE0_BLK) Attribute: Size: Usage: R/WC 16-bit ACPI 0000h No Resume Note: This register is symmetrical to the General Purpose Event 0 Enable Register. If the corresponding _EN bit is set, then when the _STS bit get set, the ICH3 generates a Wake Event. Once back in an S0 state (or if already in an S0 state when the event occurs), the ICH3 also generates an SCI if the SCI_EN bit is set, or an SMI# if the SCI_EN bit is not set. There will be no SCI/SMI# or wake event on THRMOR_STS since there is no corresponding _EN bit. None of these bits are reset by CF9h write. All are reset by RSMRST#. Bit Description 15:14 Reserved. PME_B0_STS—R/W. 13 0 = The default for this bit is 0. Writing a 1 to this bit clears this bit. 1 = Set to 1 by the ICH3 when any internal device on bus 0 asserts the equivalent of the PME# signal. Additionally, if the PME_B0_EN bit is set and the system is in an S0 state, the setting of the PME_B0_STS bit generates an SCI (or SMI# if SCI_EN is not set). If the PME_B0_STS bit is set and the system is in an S1–S4 state (or S5 state due to SLP_TYP and SLP_EN), the setting of the PME_B0_STS bit generates a wake event, and an SCI (or SMI# if SCI_EN is not set) is generated. If the system is in an S5 state due to power button override, the PME_B0_STS bit does not cause a wake event or SCI. USB3_STS—R/W 12 0 = Disable. 1 = Set by hardware and can be reset by writing a one to this bit position or a resume-well reset. This bit is set when USB 1.1 Controller #3 needs to cause a wake. Additionally if the USB3_EN bit is set, the setting of the USB3_STS bit will generate a wake event. PME_STS—R/WC. 0 = Software clears this bit by writing a 1 to the bit position. 1 = Set by hardware when the PME# signal goes active. Additionally, if the PME_EN bit is set, and the system is in an S0 state, then the setting of the PME_STS bit will generate an SCI or SMI# (if SCI_EN is not set). If the PME_EN bit is set, and the system is in an S1-S4 state (or S5 state due to setting SLP_TYP and SLP_EN), then the setting of the PME_STS bit will generate a wake event, and an SCI will be generated. If the system is in an S5 state due to power button override or a power failure, then PME_STS will not cause a wake event or SCI. 11 10:9 Reserved. 342 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) Bit Description RI_STS—R/WC. 0 = Software clears this bit by writing a 1 to the bit position. 1 = Set by hardware when the RI# input signal goes active. SMBus Wake Status (SMB_WAK_STS)—R/WC. The SMBus controller can independently cause an SMI# or SCI, so this bit does not need to do so (unlike the other bits in this register). 8 7 0 = Software clears this bit by writing a 1 to the bit position. 1 = Set by hardware to indicate that the wake event was caused by the ICH3’s SMBus logic.This bit will be set by the WAKE/SMI# command type, even if the system is already awake. The SMI handler should then clear this bit. NOTE: This bit is set by the SMBus slave command 01h (Wake/SMI#) even when the system is in the S0 state. Therefore, to avoid an instant wake on subsequent transitions to sleep states, software must clear this bit after each reception of the Wake/SMI# command or just prior to entering the sleep state. TCOSCI_STS—R/WC. 6 0 = Software clears this bit by writing a 1 to the bit position. 1 = Set by hardware when the TCO logic causes an SCI. AC97_STS—R/WC. 0 = Software clears this bit by writing a 1 to the bit position. 1 = Set by hardware when the codecs are attempting to wake the system. The AC97_STS bit gets set only from the following two cases: 1. ACSDIN[1] or ACSDIN[0] is high and BITCLK is not oscillating, or 2. The GSCI bit is set (section 13.2.9, NAMBAR +30h, bit 0). USB2_STS—R/WC. 0 = Software clears this bit by writing a 1 to the bit position. 1 = Set by hardware when USB Controller 2 needs to cause a wake. Wake event will be generated if the corresponding USB2_EN bit is set. USB1_STS—R/WC. 0 = Software clears this bit by writing a 1 to the bit position. 1 = Set by hardware when USB Controller 1 needs to cause a wake. Wake event will be generated if the corresponding USB1_EN bit is set. 5 4 3 2 Reserved. Thermal Interrupt Override Status (THRMOR_STS)—R/WC. 1 0 = Software clears this bit by writing a 1 to the bit position. 1 = This bit is set by hardware anytime a thermal over-ride condition occurs and starts throttling the processor’s clock at the THRM_DTY ratio. This will not cause an SMI#, SCI, or wake event. Thermal Interrupt Status (THRM_STS)—R/WC. 0 0 = Software clears this bit by writing a 1 to the bit position. 1 = Set by hardware anytime the THRM# signal is driven active as defined by the THRM_POL bit. Additionally, if the THRM_EN bit is set, then the setting of the THRM_STS bit will also generate a power management event (SCI or SMI#). Intel® 82801CA ICH3-S Datasheet 343 LPC I/F Bridge Registers (D31:F0) 9.8.3.8 GPE0_EN—General Purpose Event 0 Enables Register I/O Address: Default Value: Lockable: Power Well: PMBASE + 2Ah (ACPI GPE0_BLK + 2) Attribute: Size: Usage: R/W 16-bit ACPI 0000h No Bits 0–7 Resume, Bits 8–15 RTC Note: This register is symmetrical to the General Purpose Event 0 Status Register. All the bits in this register should be cleared to 0 based on a Power Button Override. The resume well bits are all cleared by RSMRST#. The RTC sell bits are cleared by RTCRST#. Bit Description 15:14 Reserved. PME_B0_EN—R/W. Enables the setting of the PME_B0_STS bit to generate a wake event and/ or an SCI or SMI#. PME_B0_STS can be a wake event from the S1–S4 states, or from S5 (if entered via SLP_TYP and SLP_EN) or power failure, but not Power Button Override. This bit defaults to 0. It is only cleared by Software or RTCRST#. It is not cleared by CF9h writes. USB3_EN—R/W. 0 = Disable. 1 = Enable the setting of the USB3_STS bit to generate a wake event. The USB3_STS bit is set when USB 1.1 Controller #3 signals a wake event. Break events are handled via the USB interrupt. PME_EN—R/W. 0 = Disable. 1 = Enables the setting of the PME_STS to generate a wake event and/or an SCI. PME# can be a wake event from the S1–S4 state or from S5 (if entered via SLP_EN, but not power button override). 13 12 11 10:9 Reserved. RI_EN—R/W. The value of this bit will be maintained through a G3 state and is not affected by a hard reset caused by a CF9h write. 8 0 = Disable. 1 = Enables the setting of the RI_STS to generate a wake event. Reserved. TCOSCI_EN—R/W. 0 = Disable. 1 = Enables the setting of the TCOSCI_STS to generate an SCI. AC97_EN—R/W. 0 = Disable. 1 = Enables the setting of the AC97_STS to generate a wake event. USB2_EN—R/W. 0 = Disable. 1 = Enables the setting of the USB2_STS to generate a wake event. USB1_EN—R/W. 0 = Disable. 1 = Enables the setting of the USB1_STS to generate a wake event. THRM#_POL—R/W. This bit controls the polarity of the THRM# pin needed to set the THRM_STS bit. 0 = Low value on the THRM# signal will set the THRM_STS bit. 1 = HIGH value on the THRM# signal will set the THRM_STS bit. 7 6 5 4 3 2 1 Reserved. THRM_EN—R/W. 0 = Disable. 1 = Active assertion of the THRM# signal (as defined by the THRM_POL bit) will set the THRM_STS bit and generate a power management event (SCI or SMI). 0 344 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.8.3.9 GPE1_STS—General Purpose Event 1 Status Register I/O Address: Default Value: Lockable: Power Well: PMBASE + 2Ch (ACPI GPE1_BLK) Attribute: Size: Usage: R/WC 16-bit ACPI 0000h No Resume Note: This register is symmetrical to the General Purpose Event 1 Enable Register. GPIOs that are not implemented will not have the corresponding bits implemented in this register. Bit GPI[n]_STS—R/WC. Description 0 = Software clears each bit by writing a 1 to the bit position when the corresponding GPIO signal is not active. (The status bit cannot be cleared while the corresponding signal is still active). 1 = These bits are set any time the corresponding GPIO is set up as an input and the corresponding GPIO signal is low (or high if the corresponding GP_INV bit is set). 15:0 If the corresponding GPI[n]_EN bit is set in the GPE1_EN register, and the GPI[n]_STS bit is set, then: - If the system is in an S1_S5 state, the event will also wake the system. - If the system is in an S0 state (or upon waking back to an S0 state), an SMI# or SCI will be generated, depending on the GPI_ROUT bits for the corresponding GPI. 9.8.3.10 GPE1_EN—General Purpose Event 1 Enable Register I/O Address: Default Value: Lockable: Power Well: PMBASE + 2Eh (ACPI GPE1_BLK + 2) Attribute: Size: Usage: R/W 16-bit ACPI 0000h No Resume Note: This register is symmetrical to the General Purpose Event 1 Status Register. GPIOs that are not implemented will not have the corresponding bits implemented in this register. All of the bits in this register will be cleared by RSMRST#. The ICH3 uses the same GPE1_EN register (I/O address: PMBase+2Eh) to enable/disable both SMI and ACPI SCI general purpose input events. APCI OS assumes that it owns the entire GPE1_EN register per ACPI spec. Problems arise when some of the general-purpose inputs are enabled as SMI by BIOS, and some of the general purpose inputs are enabled for SCI. In this case ACPI OS turns off the enabled bit for any GPIx input signals that are not indicated as SCI general-purpose events at boot, and exit from sleeping states. BIOS should define a dummy control method which prevents the ACPI OS from clearing the SMI GPE1_EN bits. Bit GPI[n]_EN—R/W. Description 15:0 0 = Disable. 1 = Enable the corresponding GPI[n]_STS bit being set to cause an SMI#, SCI, and/or wake event. Intel® 82801CA ICH3-S Datasheet 345 LPC I/F Bridge Registers (D31:F0) 9.8.3.11 SMI_EN—SMI Control and Enable Register I/O Address: Default Value: Lockable: Power Well: Bit PMBASE + 30h 0000h No Core Attribute: Size: Usage: R/W 32 bit ACPI or Legacy Description 31:15 14 Reserved. PERIODIC_EN—R/W. 0 = Disable. 1 = Enables the ICH3 to generate an SMI# when the PERIODIC_STS bit is set in the SMI_STS register. TCO_EN—R/W. 0 = Disables TCO logic generating an SMI#. Note that if the NMI2SMI_EN bit is set, SMIs that are caused by re-routed NMIs will not be gated by the TCO_EN bit. Even if the TCO_EN bit is 0, NMIs will still be routed to cause SMIs. 1 = Enables the TCO logic to generate SMI#. 13 12 Reserved. Microcontroller SMI Enable (MCSMI_EN)—R/W. 11 0 = Disable. 1 = Enables ICH3 to trap accesses to the microcontroller range (62h or 66h) and generate an SMI#. Note that ’trapped’ cycles will be claimed by the ICH3 on PCI, but not forwarded to LPC. Reserved. BIOS Release (BIOS_RLS)—WO. 0 = This bit will always return 0 on reads. Writes of 0 to this bit have no effect. 1 = Enables the generation of an SCI interrupt for ACPI software when a one is written to this bit position by BIOS software. Software SMI# Timer Enable (SWSMI_TMR_EN)—R/W. 0 = Disable. Clearing the SWSMI_TMR_EN bit before the timer expires will reset the timer and the SMI# will not be generated. 1 = Starts Software SMI# Timer. When the SWSMI timer expires (the timeout period depends upon the SWSMI_RATE_SEL bit setting), SWSMI_TMR_STS is set and an SMI# is generated. SWSMI_TMR_EN stays set until cleared by software. APMC_EN—R/W. 0 = Disable. Writes to the APM_CNT register will not cause an SMI#. 1 = Enables writes to the APM_CNT register to cause an SMI#. SLP_SMI_EN—R/W. 0 = Disables the generation of SMI# on SLP_EN. Note that this bit must be 0 before the software attempts to transition the system into a sleep state by writing a 1 to the SLP_EN bit. 1 = A write of 1 to the SLP_EN bit (bit 13 in PM1_CNT register) will generate an SMI#, and the system will not transition to the sleep state based on that write to the SLP_EN bit. LEGACY_USB_EN—R/W. 0 = Disable. 1 = Enables legacy USB circuit to cause SMI#. BIOS_EN—R/W. 0 = Disable. 1 = Enables the generation of SMI# when ACPI software writes a 1 to the GBL_RLS bit. End of SMI (EOS)—R/W (special). This bit controls the arbitration of the SMI signal to the processor. This bit must be set for the ICH3 to assert SMI# low to the processor. 0 = Once the ICH3 asserts SMI# low, the EOS bit is automatically cleared. 1 = When this bit is set, SMI# signal will be deasserted for 4 PCI clocks before its assertion. In the SMI handler, the processor should clear all pending SMIs (by servicing them and then clearing their respective status bits), set the EOS bit, and exit SMM. This will allow the SMI arbiter to reassert SMI upon detection of an SMI event and the setting of a SMI status bit. GBL_SMI_EN—R/W. 0 = No SMI# will be generated by ICH3. This bit is reset by a PCI reset event. 1 = Enables the generation of SMI# in the system upon any enabled SMI event. 10:8 7 6 5 4 3 2 1 0 346 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.8.3.12 SMI_STS—SMI Status Register I/O Address: Default Value: Lockable: Power Well: PMBASE + 34h 0000h No Core Attribute: Size: Usage: R/W 32-bit ACPI or Legacy Note: If the corresponding _EN bit is set when the _STS bit is set, the ICH3 will cause an SMI# (except bits 8–10 and 12, which do not need enable bits since they are logic ORs of other registers that have enable bits). Bit Description 31:17 Reserved. SMBus SMI Status (SMBUS_SMI_STS)—R/WC. 16 0 = This bit is cleared by writing a 1 to its bit position. This bit is set from the 64 kHz clock domain used by the SMBus. Software must wait at least 15.63 µs after the initial assertion of this bit before clearing it. 1 = Indicates that the SMI# was caused by: • The SMBus Slave receiving a message, or • The SMBALERT# signal goes active and the SMB_SMI_EN bit is set and the SMBALERT_DIS bit is cleared, or • The SMBus Slave receiving a Host Notify message and the HOST_NOTIFY_INTREN and the SMB_SMI_EN bits are set, or • The ICH3 detecting the SMLINK_SLAVE_SMI command while in the S0 state. SERIRQ_SMI_STS—RO. 0 = SMI# was not caused by SERIRQ decoder. This is not a sticky bit. 1 = Indicates that the SMI# was caused by the SERIRQ decoder. PERIODIC_STS—R/WC. 15 14 0 = This bit is cleared by writing a 1 to its bit position. 1 = This bit will be set at the rate determined by the PER_SMI_SEL bits. If the PERIODIC_EN bit is also set, the ICH3 will generate an SMI#. TCO_STS—RO. 13 0 = SMI# not caused by TCO logic. 1 = Indicates the SMI# was caused by the TCO logic. Note that this is not a wake event. Device Monitor Status (DEVMON_STS)—RO. 12 0 = SMI# not caused by Device Monitor. 1 = Set under any of the following conditions: - Any of the DEV[7:4]_TRAP_STS bits are set and the corresponding DEV[7:4]_TRAP_EN bits are also set. - Any of the DEVTRAP_STS bits are set and the corresponding DEVTRAP_EN bits are also set. Microcontroller SMI# Status (MCSMI_STS)—R/WC. 11 0 = Indicates that there has been no access to the power management microcontroller range (62h or 66h). This bit is cleared by software writing a 1 to the bit position. 1 = Set if there has been an access to the power management microcontroller range (62h or 66h). If this bit is set, and the MCSMI_EN bit is also set, the ICH3 will generate an SMI#. GPE1_STS—RO. This bit is a logical OR of the bits in the GPE1_STS register that are also set up to cause an SMI# (as indicated by the GPI_ROUT registers) and have the corresponding bit set in the GPE1_EN register. Bits that are not routed to cause an SMI# will have no effect on the GPE1_STS bit. 0 = SMI# was not generated by a GPI assertion. 1 = SMI# was generated by a GPI assertion. GPE0_STS—RO. This bit is a logical OR of the bits in the GPE0_STS register that also have the corresponding bit set in the GPE0_EN register. 10 9 0 = SMI# was not generated by a GPE0 event. 1 = SMI# was generated by a GPE0 event. Intel® 82801CA ICH3-S Datasheet 347 LPC I/F Bridge Registers (D31:F0) Bit Description PM1_STS_REG—RO. This is an ORs of the bits in the ACPI PM1 Status Register (offset PMBASE+00h) that can cause an SMI#. 8 0 = SMI# was not generated by a PM1_STS event. 1 = SMI# was generated by a PM1_STS event. Reserved. SWSMI_TMR_STS—R/WC. 1 = Set by the hardware when the Software SMI# Timer expires. 7 6 0 = Software clears this bit by writing a 1 to the bit location. APM_STS—R/WC. 5 0 = Software clears this bit by writing a 1 to the bit location. 1 = SMI# was generated by a write access to the APM control register with the APMC_EN bit set. SLP_SMI_STS—R/WC. 1 = Indicates an SMI# was caused by a write of 1 to SLP_EN bit when SLP_SMI_EN bit is also set. 4 0 = Software clears this bit by writing a 1 to the bit location. LEGACY_USB_STS—RO. This bit is a logical OR of each of the SMI status bits in the USB Legacy Keyboard/Mouse Control Registers ANDed with the corresponding enable bits. This bit will not be active if the enable bits are not set. 0 = SMI# was not generated by USB Legacy event. 1 = SMI# was generated by USB Legacy event. BIOS_STS—R/WC. 3 2 0 = This bit cleared by software writing a 1 to its bit position. 1 = SMI# was generated due to ACPI software requesting attention (writing a 1 to the GBL_RLS bit with the BIOS_EN bit set). Reserved. 1:0 9.8.3.13 MON_SMI—Device Monitor SMI Status and Enable Register I/O Address: Default Value: Lockable: Power Well: Bit PMBASE +40h 0000h No Core Attribute: Size: Usage: R/W, R/WC 16-bit Legacy Only Description DEV[7:4]_TRAP_STS—R/WC. Bit 12 corresponds to Monitor 4, bit 13 corresponds to Monitor 5 etc. 15:12 0 = SMI# was not caused by the associated device monitor. 1 = SMI# was caused by an access to the corresponding device monitor’s I/O range. DEV[7:4]_TRAP_EN—R/W. Bit 8 corresponds to Monitor 4, bit 9 corresponds to Monitor 5 etc. 11:8 7:0 0 = Disable. 1 = Enables SMI# due to an access to the corresponding device monitor’s I/O range. Reserved. 348 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.8.3.14 DEVACT_STS—Device Activity Status Register I/O Address: Default Value: Lockable: Power Well: PMBASE +44h 0000h No Core Attribute: Size: Usage: R/WC 16-bit Legacy Only This register is used in conjunction with the Periodic SMI# timer to detect any system activity for legacy power management. Bit Description 15:14 13 Reserved. ADLIB_ACT_STS—R/WC. Ad-Lib. 0 = Indicates that there has been no access to this device’s I/O range. 1 = This device’s I/O range has been accessed. Clear this bit by writing a 1 to the bit location. KBC_ACT_STS—R/WC. KBC (60/64h). 0 = Indicates that there has been no access to this device’s I/O range. 1 = This device’s I/O range has been accessed. Clear this bit by writing a 1 to the bit location. MIDI_ACT_STS—R/WC. MIDI. 0 = Indicates that there has been no access to this device’s I/O range. 1 = This device’s I/O range has been accessed. Clear this bit by writing a 1 to the bit location. AUDIO_ACT_STS—R/WC. Audio (Sound Blaster “OR’d” with MSS). 0 = Indicates that there has been no access to this device’s I/O range. 1 = This device’s I/O range has been accessed. Clear this bit by writing a 1 to the bit location. PIRQDH_ACT_STS—R/WC. PIRQ[D or H]. 0 = The corresponding PCI interrupts have not been active. 1 = At least one of the corresponding PCI interrupts has been active. Clear this bit by writing a 1 to the bit location. PIRQCG_ACT_STS—R/WC. PIRQ[C or G]. 0 = The corresponding PCI interrupts have not been active. 1 = At least one of the corresponding PCI interrupts has been active. Clear this bit by writing a 1 to the bit location. PIRQBF_ACT_STS—R/WC. PIRQ[B or F]. 0 = The corresponding PCI interrupts have not been active. 1 = At least one of the corresponding PCI interrupts has been active. Clear this bit by writing a 1 to the bit location. PIRQAE_ACT_STS—R/WC. PIRQ[A or E]. 0 = The corresponding PCI interrupts have not been active. 1 = At least one of the corresponding PCI interrupts has been active. Clear this bit by writing a 1 to the bit location. LEG_ACT_STS—R/WC. Parallel Port, Serial Port 1, Serial Port 2, Floppy Disk Controller. 12 11 10 9 8 7 6 5 4 3 0 = Indicates that there has been no access to this device’s I/O range. 1 = This device’s I/O range has been accessed. Clear this bit by writing a 1 to the bit location. Reserved. IDES1_ACT_STS—R/WC. IDE Secondary Drive 1. 0 = Indicates that there has been no access to this device’s I/O range. 1 = This device’s I/O range has been accessed. Clear this bit by writing a 1 to the bit location. IDES0_ACT_STS—R/WC. IDE Secondary Drive 0. 0 = Indicates that there has been no access to this device’s I/O range. 1 = This device’s I/O range has been accessed. Clear this bit by writing a 1 to the bit location. IDEP1_ACT_STS—R/WC. IDE Primary Drive 1. 0 = Indicates that there has been no access to this device’s I/O range. 1 = This device’s I/O range has been accessed. Clear this bit by writing a 1 to the bit location. IDEP0_ACT_STS—R/WC. IDE Primary Drive 0. 0 = Indicates that there has been no access to this device’s I/O range. 1 = This device’s I/O range has been accessed. Clear this bit by writing a 1 to the bit location. 2 1 0 Intel® 82801CA ICH3-S Datasheet 349 LPC I/F Bridge Registers (D31:F0) 9.8.3.15 DEVTRAP_EN— Device Trap Enable Register I/O Address: Default Value Lockable: Power Well: PMBASE +48h 0000h No Core Attribute: Size: Usage: R/W 16-bit Legacy Only This register enables the individual trap ranges to generate an SMI# when the corresponding status bit in the DEVACT_STS register is set. When a range is enabled, I/O cycles associated with that range will not be forwarded to LPC or IDE. Bit Description 15:14 13 Reserved. ADLIB_TRP_EN—R/W. Ad-Lib. 0 = Disable. 1 = Enable. KBC_TRP_EN—R/W. KBC (60/64h). 12 0 = Disable. 1 = Enable. MIDI_TRP_EN—R/W. MIDI. 0 = Disable. 1 = Enable. AUDIO_TRP_EN—R/W. Audio (Sound Blaster “OR’d” with MSS). 0 = Disable. 1 = Enable. 11 10 9:6 5 4 3 Reserved. LEG_IO_TRP_EN—R/W. Parallel Port, Serial Port 1, Serial Port 2, Floppy Disk Controller. 0 = Disable. 1 = Enable. Reserved. IDES1_TRP_EN—R/W. IDE Secondary Drive 1. 0 = Disable. 1 = Enable. IDES0_TRP_EN—R/W. IDE Secondary Drive 0. 2 0 = Disable. 1 = Enable. IDEP1_TRP_EN—R/W. IDE Primary Drive 1. 1 0 = Disable. 1 = Enable. IDEP0_TRP_EN—R/W. IDE Primary Drive 0. 0 0 = Disable. 1 = Enable. 350 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.8.3.16 BUS_ADDR_TRACK— Bus Address Tracker Register I/O Address: Lockable: Power Well: PMBASE +4Ch No Core Attribute: Size: Usage: RO 16-bit Legacy Only This register could be used by the SMI# handler to assist in determining what was the last cycle from the processor. BUS_ADDR_TRACK may not contain “expected” last I/O cycle data if Asynchronous SMIs and Synchronous SMIs are occurring simultaneously. This register only reports “expected” last I/O cycle data if Asynchronous SMIs are disabled. Bit Description 15:0 Corresponds to the low 16 bits of the last I/O cycle, as would be defined by the PCI AD[15:0] signals on the PCI bus (even though it may not be a real PCI cycle). The value is latched based on SMI# active. This functionality is useful for figuring out which I/O was last being accessed. 9.8.3.17 BUS_CYC_TRACK— Bus Cycle Tracker Register I/O Address: Lockable: Power Well: PMBASE +4Eh No Core Attribute: Size: Usage: RO 8-bit Legacy Only This register could be used by the SMM handler to assist in determining what was the last cycle from the processor. BUS_CYC_TRACK may not contain “expected” last I/O cycle data if Asynchronous SMIs and Synchronous SMIs are occurring simultaneously. This register only reports “expected” last I/O cycle data if Asynchronous SMIs are disabled. Bit Description 7:4 3:0 Corresponds to the byte enables, as would be defined by the PCI C/BE# signals on the PCI bus (even though it may not be a real PCI cycle). The value is latched based on SMI# going active. Corresponds to the cycle type, as would be defined by the PCI C/BE# signals on the PCI bus (even though it may not be a real PCI cycle). The value is latched based on SMI# going active. Intel® 82801CA ICH3-S Datasheet 351 LPC I/F Bridge Registers (D31:F0) 9.9 System Management TCO Registers (D31:F0) The TCO logic is accessed via registers mapped to the PCI configuration space (Device 31:Function 0) and the system I/O space. For TCO PCI Configuration registers, see LPC Device 31:Function 0 PCI Configuration registers. 9.9.1 TCO Register I/O Map The TCO I/O registers reside in a 32-byte range pointed to by a TCOBASE value, which is, ACPIBASE + 60h in the PCI configuration space. Table 9-11 shows the mapping of the registers within that 32-byte range. Table 9-11. TCO I/O Register Map Offset Register Name: Function Type 00h 01h 02h 03h 04h–05h 06h–07h 08h–09h 0Ah–0Bh 0Ch–0Dh 0Eh 0Fh 10h 11h–1Fh TCO_RLD: TCO Timer Reload and Current Value TCO_TMR: TCO Timer Initial Value TCO_DAT_IN: TCO Data In TCO_DAT_OUT: TCO Data Out TCO1_STS: TCO Status TCO2_STS: TCO Status TCO1_CNT: TCO Control TCO2_CNT: TCO Control TCO_MESSAGE1, TCO_MESSAGE2: Used by BIOS to indicate POST/Boot progress TCO_WDSTATUS: Watchdog Status Register Reserved SW_IRQ_GEN: Software IRQ Generation Register Reserved R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W RO R/W RO 9.9.2 TCO1_RLD—TCO Timer Reload and Current Value Register I/O Address: Default Value: Lockable: Bit TCOBASE +00h 0000h No Attribute: Size: Power Well: Description R/W 8-bit Core 7:0 Reading this register will return the current count of the TCO timer. Writing any value to this register will reload the timer to prevent the timeout. Bits 7:6 will always be 0. 352 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.9.3 TCO1_TMR—TCO Timer Initial Value Register I/O Address: Default Value: Lockable: Bit TCOBASE +01h 0004h No Attribute: Size: Power Well: Description R/W 8-bit Core 7:6 5:0 Reserved. Value that is loaded into the timer each time the TCO_RLD register is written. Values of 0h–3h will be ignored and should not be attempted. The timer is clocked at approximately 0.6 seconds, and this allows timeouts ranging from 2.4 seconds to 38 seconds. 9.9.4 TCO1_DAT_IN—TCO Data In Register I/O Address: Default Value: Lockable: Bit TCOBASE +02h 0000h No Attribute: Size: Power Well: Description R/W 8-bit Core 7:0 Data Register for passing commands from the OS to the SMI handler. Writes to this register will cause an SMI and set the OS_TCO_SMI bit in the TCO_STS register. 9.9.5 TCO1_DAT_OUT—TCO Data Out Register I/O Address: Default Value: Lockable: Bit TCOBASE +03h 0000h No Attribute: Size: Power Well: Description R/W 8-bit Core 7:0 Data Register for passing commands from the SMI handler to the OS. Writes to this register will set the TCO_INT_STS bit in the TCO_STS register. It will also cause an interrupt, as selected by the TCO_INT_SEL bits. Intel® 82801CA ICH3-S Datasheet 353 LPC I/F Bridge Registers (D31:F0) 9.9.6 TCO1_STS—TCO1 Status Register I/O Address: Default Value: Lockable: TCOBASE +04h 0000h No Attribute: Size: Power Well: R/WC, RO 16-bit Core (Except bit 7 in RTC) Bit Description 15:13 Reserved. HUBSERR_STS—R/WC. 12 0 = Software clears this bit by writing a 1 to the bit position. 1 = ICH3 received an SERR# message via the hub interface. The software must read the memory controller hub (or its equivalent) to determine the reason for the SERR#. NOTE: If this bit is set AND the SERR_EN bit in CMD Register (D30:F0, Offset 04h, bit 8) is also set, the ICH3 will set the SSE bit in SECSTS Register (D30:F0, offset 1Eh, bit 14) AND will also generate an NMI (or SMI# if NMI routed to SMI#). HUBNMI_STS—R/WC. 0 = Software clears this bit by writing a 1 to the bit position. 1 = ICH3 received an NMI message via the hub interface. The software must read the memory controller hub (or its equivalent) to determine the reason for the NMI. . HUBSMI_STS—R/WC. 11 10 0 = Software clears this bit by writing a 1 to the bit position. 1 = ICH3 received an SMI message via the hub interface. The software must read the memory controller hub (or its equivalent) to determine the reason for the SMI#. HUBSCI_STS—R/WC. 0 = Software clears this bit by writing a 1 to the bit position. 1 = ICH3 received an SCI message via the hub interface. The software must read the memory controller hub (or its equivalent) to determine the reason for the SCI. BIOSWR_STS—R/WC. 0 = Software clears this bit by writing a 1 to the bit position. 1 = ICH3 sets this bit and generates and SMI# to indicate an illegal attempt to write to the BIOS. This occurs when either: a) The BIOSWP bit is changed from 0 to 1 and the BLD bit is also set, or b) any write is attempted to the BIOS and the BIOSWP bit is also set. NOTE: On write cycles attempted to the 4MB lower alias to the BIOS space, the BIOSWR_STS will not be set. NEWCENTURY_STS—R/WC. This bit is in the RTC well. 0 = Cleared by writing a 1 to the bit position or by RTCRST# going active. 1 = This bit is set when the Year byte (RTC I/O space, index offset 09h) rolls over from 99 to 00. Setting this bit will cause an SMI# (but not a wake event). Note that the NEWCENTURY_STS bit is not valid when the RTC battery is first installed (or when RTC power has not been maintained). Software can determine if RTC power has not been maintained by checking the RTC_PWR_STS bit, or by other means (such as a checksum on RTC RAM). If RTC power is determined to have not been maintained, BIOS should set the time to a legal value and then clear the NEWCENTURY_STS bit. The NEWCENTURY_STS bit may take up to 3 RTC clocks for the bit to be cleared after a “1” is written to the bit to clear it. After writing a “1” to this bit, software should not exit the SMI handler until verifying that the bit has actually been cleared. This will ensure that the SMI is not re-entered. 9 8 7 6:4 3 Reserved. TIMEOUT—R/WC. 0 = Software clears this bit by writing a 1 to the bit position. 1 = Set by ICH3 to indicate that the SMI was caused by the TCO timer reaching 0. TCO_INT_STS—R/WC. 2 0 = Software clears this bit by writing a 1 to the bit position. 1 = SMI handler caused the interrupt by writing to the TCO_DAT_OUT register. 354 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) Bit Description SW_TCO_SMI—R/WC. 0 = Software clears this bit by writing a 1 to the bit position. 1 = Software caused an SMI# by writing to the TCO_DAT_IN register. NMI2SMI_STS—RO. 1 0 0 = Cleared by clearing the associated NMI status bit. 1 = Set by the ICH3 when an SMI# occurs because an event occurred that would otherwise have caused an NMI (because NMI2SMI_EN is set). 9.9.7 TCO2_STS—TCO2 Status Register I/O Address: Default Value: Lockable: TCOBASE +06h 0000h No Attribute: Size: Power Well: R/WC, RO 16-bit Resume (Except Bit 0, in RTC) Bit Description 15:5 Reserved. SMLink Slave SMI Status (SMLINK_SLV_SMI_STS)—R/W. (Allow the software to go directly into pre-determined sleep state. This avoids race conditions. 4 0 = The bit is reset by RSMRST#, but not due to the PCI Reset associated with exit from S3–S5 states. 1 = ICH3 sets this bit to 1 when it receives the SMI message on the SMLink's Slave Interface. Software clears the bit by writing a 1 to this bit position. Reserved. BOOT_STS. 3 2 0 = Cleared by ICH3 based on RSMRST# or by software writing a 1 to this bit. Note that software should first clear the SECOND_TO_STS bit before writing a 1 to clear the BOOT_STS bit. 1 = Set to 1 when the SECOND_TO_STS bit goes from 0 to 1 and the processor has not fetched the first instruction. NOTE: If rebooting due to a second TCO timer timeout, and if the BOOT_STS bit is set, the ICH3 will reboot using the ‘safe’ multiplier (1111). This allows the system to recover from a processor frequency multiplier that is too high, and allows the BIOS to check the BOOT_STS bit at boot. If the bit is set and the frequency multiplier is 1111, then the BIOS knows that the processor has been programmed to an illegal multiplier. SECOND_TO_STS—R/WC. 1 0 = This bit is cleared by writing a 1 to the bit position or by a RSMRST#. 1 = The ICH3 sets this bit to a 1 to indicate that the TCO timer timed out a second time (probably due to system lock). If this bit is set and the NO_REBOOT configuration bit is 0, then the ICH3 will reboot the system after the second timeout. The reboot is done by asserting PCIRST#. 0= Intruder Detect (INTRD_DET)—R/WC. 0 0 = This bit is only cleared by writing a 1 to the bit position, or by RTCRST# assertion. 1 = Set by ICH3 to indicate that an intrusion was detected. This bit is set even if the system is in G3 state. Intel® 82801CA ICH3-S Datasheet 355 LPC I/F Bridge Registers (D31:F0) 9.9.8 TCO1_CNT—TCO1 Control Register I/O Address: Default Value: Lockable: Bit TCOBASE +08h 0000h No Attribute: Size: Power Well: Description R/W, R/WC 16-bit Core 15:12 Reserved. TCO Timer Halt (TCO_TMR_HLT)—R/W. 11 0 = The TCO Timer is enabled to count. 1 = The TCO Timer will halt. It will not count, and thus cannot reach a value that will cause an SMI# or set the SECOND_TO_STS bit. When set, this bit will prevent rebooting and prevent Alert On LAN event messages from being transmitted on the SMLINK (but not Alert On LAN* heartbeat messages). SEND_NOW—R/W (special). 10 0 = The ICH will clear this bit when it has completed sending the message. Software must not set this bit to 1 again until the ICH has set it back to 0. 1 = Writing a 1 to this bit will cause the ICH to send an Alert On LAN Event message over the SMLINK interface, with the Softwware Event bit set. Setting the SEND_NOW bit causes the ICH3 integrated LAN Controller to reset, which can have unpredictable side-effects. Unless software protects against these side effects, software should not attempt to set this bit. NMI2SMI_EN—R/W. 9 0 = Normal NMI functionality. 1 = Forces all NMIs to instead cause SMIs. The functionality of this bit is dependent upon the settings of the NMI_EN bit and the GBL_SMI_EN bit as detailed in the following table: NMI_EN GBL_SMI_EN Description 0 0 No SMI# at all because GBL_SMI_EN = 0 0 1 SMI# will be caused due to NMI events 1 0 No SMI# at all because GBL_SMI_EN = 0 1 1 No SMI# due to NMI because NMI_EN = 1 NMI_NOW—R/WC. 8 0 = This bit is cleared by writing a 1 to the bit position. The NMI handler is expected to clear this bit. Another NMI will not be generated until the bit is cleared. 1 = Writing a 1 to this bit causes an NMI. This allows the BIOS or SMI handler to force an entry to the NMI handler. Reserved. 7:0 9.9.9 TCO2_CNT—TCO2 Control Register I/O Address: Default Value: Lockable: Bit TCOBASE +0Ah 0000h No Attribute: Size: Power Well: Description R/W 16-bit Resume 15:4 3 Reserved. GPIO11_ALERT_DISABLE—R/W. Disable GPIO11/SMBALERT# as an alert source for the heartbeats and the SMBus slave. At reset (via RSMRST# asserted) this bit is set and GPIO[11] alerts are disabled. INTRD_SEL—R/W. Selects the action to take if the INTRUDER# signal goes active. 00 = No interrupt or SMI#. 01 = Interrupt (as selected by TCO_INT_SEL). 10 = SMI. 11 = Reserved. 2:1 0 Reserved. 356 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.9.10 TCO_MESSAGE1 and TCO_MESSAGE2 Registers I/O Address: Default Value: Lockable: Bit TCOBASE +0Ch (Message 1) Attribute: TCOBASE +0Dh (Message 2) 00h Size: No Power Well: Description R/W 8-bit Resume 7:0 TCO_MESSAGE[n]—R/W.The value written into this register will be sent out via the SMLINK interface in the MESSAGE field of the Alert On LAN message. BIOS can write to this register to indicate its boot progress which can be monitored externally. 9.9.11 TCO_WDSTATUS—TCO2 Control Register Offset Address: Default Value: Power Well: Bit TCOBASE + 0Eh 00h Resume Attribute: Size: R/W 8 bits Description Watchdog Status (WDSTATUS)—R/W. The value written to this register will be sent in the Alert On LAN message on the SMLINK interface. It can be used by the BIOS or system management software to indicate more details on the boot progress. This register will be reset to the default of 00h based on RSMRST# (but not PCI reset). 7:0 9.9.12 SW_IRQ_GEN—Software IRQ Generation Register Offset Address: Default Value: Power Well: Bit TCOBASE + 10h 03h Resume Attribute: Size: R/W 8 bits Description 7:2 1 Reserved. IRQ12_CAUSE—R/W. The state of this bit is logically ANDed with the IRQ12 signal as received by the ICH3’s SERIRQ logic. This bit must be a “1” (default) if the ICH3 is expected to receive IRQ12 assertions from a SERIRQ device. IRQ1_CAUSE—R/W. The state of this bit is logically ANDed with the IRQ1 signal as received by the ICH3’s SERIRQ logic. This bit must be a “1” (default) if the ICH3 is expected to receive IRQ1 assertions from a SERIRQ device. 0 Intel® 82801CA ICH3-S Datasheet 357 LPC I/F Bridge Registers (D31:F0) 9.10 General Purpose I/O Registers (D31:F0) The control for the general purpose I/O signals is handled through a separate 64-byte I/O space. The base offset for this space is selected by the GPIO_BAR register. Table 9-12 summarizes the ICH3 GPIO implementation. Table 9-12. Summary of GPIO Implementation GPIO Type Alternate Function (Note 1) Power Well Notes GPIO[0] Input Only REQ[A]# Core GPIO_USE_SEL bit 0 enables REQ/GNT[A]# pair. Input active status read from GPE1_STS register bit 0. Input active high/low set through GPI_INV register bit 0. GPIO_USE_SEL bit 1 enables REQ/GNT[B]# pair (See note 4). Input active status read from GPE1_STS register bit 1. Input active high/low set through GPI_INV register bit 1. GPIO_USE_SEL bits [2:5] enable PIRQ[E:H]#. Input active status read from GPE1_STS reg. bits [2:5]. Input active high/low set through GPI_INV reg. bit [2:5]. Input active status read from GPE1_STS register bit 6. Input active high/low set through GPI_INV register bit 6. Input active status read from GPE1_STS register bit 7. Input active high/low set through GPI_INV register bit 7 Input active status read from GPE1_STS register bit 8. Input active high/low set through GPI_INV register bit 8. Not implemented GPIO_USE_SEL bit 11 enables SMBALERT# Input active status read from GPE1_STS register bit 11. Input active high/low set through GPI_INV register bit 11. Input active status read from GPE1_STS register bit 12. Input active high/low set through GPI_INV register bit 12. Input active status read from GPE1_STS register bit 13. Input active high/low set through GPI_INV register bit 13. Not Implemented Output controlled via GP_LVL register bit 16. TTL driver output Output controlled via GP_LVL register bit 17. TTL driver output Output controlled via GP_LVL register bits [18:19]. TTL driver output Output controlled via GP_LVL register bit 20. TTL driver output This GPO defaults high. Output controlled via GP_LVL register bit 21. TTL driver output Output controlled via GP_LVL register bit [22]. Open-drain output Output controlled via GP_LVL register bit [23]. TTL driver output GPIO[1] Input Only REQ[B]# or REQ[5]# Core GPIO[2:5] Input Only Input Only Input Only Input Only N/A Input Only Input Only Input Only N/A Output Only Output Only Output Only Output Only Output Only Output Only Output Only PIRQ[E:H]# Core GPIO[6] GPIO[7] GPIO[8] GPIO[9:10] GPIO[11] Unmuxed Unmuxed Unmuxed N/A SMBALERT# Core Core Resume N/A Resume GPIO[12] GPIO[13] GPIO[14:15] GPIO[16] GPIO[17] GPIO[18:19] GPIO[20] Unmuxed Unmuxed N/A GNT[A]# GNT[B]# or GNT[5]# Unmuxed Unmuxed Resume Resume N/A Core Core Core Core GPIO[21] Unmuxed Core GPIO[22] GPIO[23 Unmuxed Unmuxed Core Core 358 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) Table 9-12. Summary of GPIO Implementation (Continued) GPIO Type Alternate Function (Note 1) Power Well Notes GPIO[24] Input / Output Unmuxed Resume Input active status read from GP_LVL register bit 24. Output controlled via GP_LVL register bit 24. TTL driver output Blink enabled via GPO_BLINK register bit 25. Input active status read from GP_LVL register bit 25 Output controlled via GP_LVL register bit 25. TTL driver output Not implemented Input active status read from GP_LVL register bits [27:28] Output controlled via GP_LVL register bits [27:28] TTL driver output Not implemented Input active status read from GP_LVL2 register bits [32:43]. Output controlled via GP_LVL2 register bits [32:43] Not implemented GPIO[25] Input / Output N/A Input / Output N/A I/O I/O Unmuxed Resume GPIO[26] GPIO[27:28] GPIO[29:31] GPIO[32:43] GPIO[44:48] N/A Unmuxed N/A Unmuxed Unmuxed N/A Resume N/A Core NOTES: 1. All GPIOs default to their alternate function. 2. All inputs are sticky. The status bit will remain set as long as the input was asserted for 2 clocks. GPIs are sampled on PCI clocks in S0/S1. GPIs are sampled on RTC clocks in S3/S4/S5. 3. GPIO[0:7] are 5V tolerant, and all GPIs can be routed to cause an SCI or SMI# 4. If GPIO_USE_SEL bit 1 is set to 1 and GEN_CNT bit 25 is also set to 1 then REQ/GNT[5]# is enabled. See Section 9.1.22. Intel® 82801CA ICH3-S Datasheet 359 LPC I/F Bridge Registers (D31:F0) 9.10.1 GPIO Register I/O Address Map Table 9-13. Registers to Control GPIO Offset Mnemonic Register Name Default Type General Registers 00–03h 04–07h 08–0Bh 0C–0Fh 10–13h GPIO_USE_SEL GP_IO_SEL — GP_LVL — GPIO Use Select GPIO Input/Output Select Reserved GPIO Level for Input or Output Reserved 1A003180h 0000 FFFFh 00h 1F1F 0000h 00h R/W R/W RO R/W RO Output Control Registers 14–17h 18–1Bh 1C–1Fh GPO_TTL GPO_BLINK GPIO TTL Select GPIO Blink Enable Reserved 06630000h 00000000h 0 RO R/W RO Input Control Registers 20–2Bh 2C–2Fh 30–33h 34–37h 38–3Bh — GPI_INV Reserved GPIO Signal Invert 00000000h 00000000h 00000000h 00000000h 00000FFFh RO R/W R/W R/W R/W GPIO_USE_SEL2 GPIO Use Select GP_IO_SEL2 GP_LVL2 GPIO Input/Output Select 2 GPIO Level for Input or Output 2 9.10.2 GPIO_USE_SEL—GPIO Use Select Register Offset Address: Default Value: Lockable: Bit GPIOBASE + 00h 1A003180h Yes Attribute: Size: Power Well: Description R/W 32-bit Resume GPIO_USE_SEL—R/W. Each bit in this register enables the corresponding GPIO (if it exists) to be used as a GPIO, rather than for the native function. 21,11, 5:0 0 = Signal used as native function. 1 = Signal used as a GPIO. NOTE: Bits 31:29, 26, 15:14, and 10:9 are not implemented because there is no corresponding GPIO. NOTE: Bits 28:27, 25:22, 20:18, 13:12, and 8:6 are not implemented because the corresponding GPIOs are not mutiplexed. NOTE: Bits 16:17 are not implemented because the GPIO selection is controlled by bits 0:1. The REQ/GNT# pairs are enabled/disabled together. For example, if bit 0 is set to 1 then the REQ/GNT[A]# pair will function as GPIO[0] and GPIO[16]. 360 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.10.3 GP_IO_SEL—GPIO Input/Output Select Register Offset Address: Default Value: Lockable: Bit GPIOBASE +04h 0000FFFFh No Attribute: Size: Power Well: Description R/W 32-bit Resume 31:29, 26 28:27 25:24 23:16 15:0 Reserved. GPIO[n]_SEL—R/W. 0 = Output. The corresponding GPIO signal is an output. 1 = Input. The corresponding GPIO signal is an input. Always 0. The GPIOs are fixed as outputs. Always 1. These GPIOs are fixed as inputs. 9.10.4 GP_LVL—GPIO Level for Input or Output Register Offset Address: Default Value: Lockable: Bit GPIOBASE +0Ch 1B3F 0000h No Attribute: Size: Power Well: Description R/W, RO 32-bit See bit descriptions 31:29, 26 Reserved. GP_LVL[n]—R/W. If GPIO[n] is programmed to be an output (via the corresponding bit in the GP_IO_SEL register) then the bit can be updated by software to drive a high or low value on the output pin. If GPIO[n] is programmed as an input, then software can read the bit to determine the level on the corresponding input pin. These bits correspond to GPIO that are in the Resume well, and will be reset to their default values by RSMRST# but not by PCIRST#. 28:27, 25:24 0 = Low 1 = High GP_LVL[n]—R/W. These bits can be updated by software to drive a high or low value on the output pin. These bits correspond to GPIO that are in the Core well, and will be reset to their default values by PCIRST#. 23:16 0 = Low 1 = High 15:0 Reserved. GPI[13:11] and [8:0] the active status of a GPI is read from the corresponding bit in GPE1_STS register. Intel® 82801CA ICH3-S Datasheet 361 LPC I/F Bridge Registers (D31:F0) 9.10.5 GPO_BLINK—GPO Blink Enable Register Offset Address: Default Value: Lockable: Bit GPIOBASE +18h 0004 0000h No Attribute: Size: Power Well: Description R/W 32-bit See bit description 31:29, 26, 24:20, 17:0 Reserved. GP_BLINK[n]—R/W. The setting of these bits will have no effect if the corresponding GPIO is programmed as an input. These bits correspond to GPIO that are in the Resume well, and will be reset to their default values by RSMRST# but not by PCIRST#. 28:27, 25 0 = The corresponding GPIO will function normally. 1 = If the corresponding GPIO is programmed as an output, the output signal will blink at a rate of approximately once per second. The high and low times have approximately 0.5 seconds each. The GP_LVL bit is not altered when this bit is set. GP_BLINK[n]—R/W. The setting of these bits will have no effect if the corresponding GPIO is programmed as an input. These bits correspond to GPIO that are in the Core well, and will be reset to their default values by PCIRST#. 19:18 0 = The corresponding GPIO will function normally. 1 = If the corresponding GPIO is programmed as an output, the output signal will blink at a rate of approximately once per second. The high and low times are approximately 0.5 seconds each. The GP_LVL bit is not altered when this bit is set. Note: GPIO[18] blinks by default immediately after reset. This signal could be connected to an LED to indicate a failed boot (by programming BIOS to clear GP_BLINK[18] after successful POST). 9.10.6 GPI_INV—GPIO Signal Invert Register Offset Address: Default Value: Lockable: Bit GPIOBASE +2Ch 00000000h No Attribute: Size: Power Well: Description R/W 32-bit See bit description 31:14, 10:9 Reserved. GP_INV[n]—R/W. These bits are used to allow both active-low and active-high inputs to cause SMI# or SCI. Note that in the S0 or S1 state, the input signal must be active for at least 2 PCI clocks to ensure detection by the ICH3. In the S3, S4 or S5 states the input signal must be active for at least 2 RTC clocks to ensure detection. The setting of these bits will have no effect if the corresponding GPIO is programmed as an output. These bits correspond to GPIO that are in the Resume well, and will be reset to their default values by RSMRST# but not by PCIRST#. 13:11, 8 0 = The corresponding GPI_STS bit will be set when the ICH3 detects the state of the input pin to be high. 1 = The corresponding GPI_STS bit will be set when the ICH3 detects the state of the input pin to be low. GP_INV[n]—R/W. These bits are used to allow both active-low and active-high inputs to cause SMI# or SCI. Note that in the S0 or S1 state, the input signal must be active for at least 2 PCI clocks to ensure detection by the ICH3. The setting of these bits will have no effect if the corresponding GPIO is programmed as an output. These bits correspond to GPIO that are in the Core well, and will be reset to their default values by PCIRST#. 7:0 0 = The corresponding GPI_STS bit will be set when the ICH3 detects the state of the input pin to be high. 1 = The corresponding GPI_STS bit will be set when the ICH3 detects the state of the input pin to be low. 362 Intel® 82801CA ICH3-S Datasheet LPC I/F Bridge Registers (D31:F0) 9.10.7 GPIO_USE_SEL2—GPIO Use Select 2 Register Offset Address: Default Value: Lockable: Bit GPIOBASE +30h 00000000h No Attribute: Size: Power Well: Description R/W 32-bit Core GPIO_USE_SEL2[43:32]—R/W. Each bit in this register enables the corresponding GPIO (if it exists) to be used as a GPIO, rather than for the native function. 0 = Signal used as native function. 1 = Signal used as a GPIO. 31:0 NOTES: 1. Bits 31:12 are not implemented because they have no corresponding GPIOs. 2. If GPIO[n] does not exist, the bit in this register always reads as 0 and writes have no effect. After a full reset (RSMRST#) all multiplexed signals in the resume and core wells are configured as their native function rather than as a GPIO. After just a PCIRST#, the GPIO in the core well are configured as their native function. 9.10.8 GP_IO_SEL2—GPIO Input/Output Select 2 Register Offset Address: Default Value: Lockable: Bit GPIOBASE +34h 00000000h No Attribute: Size: Power Well: Description R/W 32-bit Core 31:12 11:0 Always 0. No corresponding GPIO. GP_IO_SEL2[43:32]. When set to a 1, the corresponding GPIO signal (if enabled in the GPIO_USE_SEL2 register) is programmed as an input. When set to 0, the GPIO signal is programmed as an output. 9.10.9 GP_LVL2—GPIO Level for Input or Output 2 Register Offset Address: Default Value: Lockable: Bit GPIOBASE +38h 00000FFFh No Attribute: Size: Power Well: Description R/W 32-bit See below 31:12 Reserved. Read-only 0. GP_LVL2[43:32]. If GPIO[n] is programmed to be an output (via the corresponding bit in the GP_IO_SEL2 register), then the corresponding GP_LVL2[n] bit can be updated by software to drive a high or low value on the output pin. 1 = high, 0 = low. If GPIO[n] is programmed as an input, then the corresponding GP_LVL2 bit reflects the state of the input signal (1 = high, 0 = low). Writes will have no effect. 11:0 Since these bits correspond to GPIO that are in the core well, these bits will be reset by PCIRST#. Intel® 82801CA ICH3-S Datasheet 363 LPC I/F Bridge Registers (D31:F0) This page is intentionally left blank. 364 Intel® 82801CA ICH3-S Datasheet IDE Controller Registers (D31:F1) IDE Controller Registers (D31:F1) 10.1 Note: 10 PCI Configuration Registers (IDE—D31:F1) Registers that are not shown should be treated as Reserved (See Section 6.2 for details). All of the IDE registers are in the core well. None can be locked. Table 10-1. PCI Configuration Map (IDE-D31:F1) Offset Mnemonic Register Name Default Type 00–01h 02–03h 04–05h 06–07h 08h 09h 0Ah 0Bh 0Dh 0Eh 10–13h 14–17h 18–1Bh 1C–1Fh 20–23h 24–27h 2C–2Dh 2E–2Fh 3C 3D 40–41h 42–43h 44h 48h 4A–4Bh 54h VID DID CMD STS RID PI SCC BCC MLT HTYPE PCMD_BAR PCNL_BAR SCMD_BAR SCNL_BAR BAR EXBAR SVID SID INTR_LN INTR_PN IDE_TIMP ID_TIMS SIDETIM SDMAC SDMATIM IDE_CONFIG Vendor ID Device ID Command Device Status Revision ID Programming Interface Sub Class Code Base Class Code Master Latency Timer Header Type Primary Command Block Base Address Primary Control Block Base Address Secondary Command Block Base Address Primary Command Block Base Address Base Address Register Expansion BAR Subsystem Vendor ID Subsystem ID Interrupt Line Interrupt Pin Primary IDE Timing Secondary IDE Timing Slave IDE Timing Synchronous DMA Control Register Synchronous DMA Timing Register IDE I/O Configuration Register 8086h 248Bh 00h 0280h See Note 2 8Ah 01h 01h 00 00h 00000001h 00000001h 00000001h 00000001h 00000001h 00h 00 00 00 01 0000h 0000h 00h 00h 0000h 00h RO RO R/W R/W RO RO RO RO RO RO R/W R/W R/W R/W R/W R/W R/WriteOnce R/WriteOnce R/W R/W R/W R/W R/W R/W R/W R/W NOTES: 1. The ICH3 IDE controller is not arbitrated as a PCI device, therefore it doe s not need a master latency timer. 2. Refer to the Specification Update for the Revision ID. Intel® 82801CA ICH3-S Datasheet 365 IDE Controller Registers (D31:F1) 10.1.1 VID—Vendor ID Register (IDE—D31:F1) Offset Address: Default Value: Bit 00–01h 8086h Attribute: Size: Description RO 16 bits 15:0 Vendor Identification Value—RO. This is a 16-bit value assigned to Intel. Intel VID = 8086h. 10.1.2 DID—Device ID Register (IDE—D31:F1) Offset Address: Default Value: 02–03h 248Bh Attribute: Size: RO 16 bits Bit Description Device Identification Value—RO. 15:0 DID = 248Bh 10.1.3 CMD—Command Register (IDE—D31:F1) Address Offset: Default Value: Bit 04h–05h 00h Attribute: Size: Description RO, R/W 16 bits 15:10 9 8 7 6 5 4 3 2 Reserved. Fast Back to Back Enable (FBE)—RO. Hardwired to 0. SERR# Enable (SERR_EN)—RO. Hardwired to 0. Wait Cycle Control (WCC)—RO. Hardwired to 0. Parity Error Response (PER)—RO. Hardwired to 0. VGA Palette Snoop (VPS)—RO. Hardwired to 0. Postable Memory Write Enable (PMWE)—RO. Hardwired to 0. Special Cycle Enable (SCE)—RO. Hardwired to 0. Bus Master Enable (BME)—R/W. Controls the ICH3’s ability to act as a PCI master for IDE Bus Master transfers. 0 = Disable 1 = Enable. Memory Space Enable (MSE)—R/W. 0 = Disables access. 1 = Enables access to the IDE Expansion memory range. The EXBAR register (Offset 24h) must be programmed before this bit is set. NOTE: BIOS should set this bit to a 1. I/O Space Enable (IOE)—R/W. This bit controls access to the I/O space registers. 0 = Disables access to the Legacy or Native IDE ports (both Primary and Secondary) as well as the Bus Master I/O registers. 1 = Enable. Note that the Base Address register for the Bus Master registers should be programmed before this bit is set. NOTES: 1. Separate bits are provided (IDE Decode Enable, in the IDE Timing register) to independently disable the Primary or Secondary I/O spaces. 2. When this bit is 0 and the IDE controller is in Native Mode, the Interrupt Pin Register (see Section 11.1.14) will be masked (the interrupt will not be asserted). If an interrupt occurs while the masking is in place and the interrupt is still active when the masking ends, the interrupt will be allowed to be asserted. 1 0 366 Intel® 82801CA ICH3-S Datasheet IDE Controller Registers (D31:F1) 10.1.4 STS—Device Status Register (IDE—D31:F1) Address Offset: Default Value: Bit 06–07h 0280h Attribute: Size: Description R/WC, RO 16 bits 15 14 13 12 Detected Parity Error (DPE)—RO. Hardwired to 0. Signaled System Error (SSE)—RO. Hardwired to 0. Received Master Abort (RMA)—R/WC. 0 = Cleared by writing a 1 to it. 1 = Bus Master IDE interface function, as a master, generated a master-abort. Reserved as 0—RO. Signaled Target Abort (STA)—R/WC. 11 0 = Cleared by writing a 1 to it. 1 = ICH3 IDE interface function is targeted with a transaction that the ICH3 terminates with a target abort. DEVSEL# Timing Status (DEV_STS)—RO. 10:9 8 7 6 5 4:0 01 = Hardwired; however, the ICH3 does not have a real DEVSEL# signal associated with the IDE unit, so these bits have no effect. Data Parity Error Detected (DPED)—RO. Hardwired to 0. Fast Back to Back (FB2B)—RO. Hardwired to 1. User Definable Features (UDF)—RO. Hardwired to 0. 66 MHz Capable (66MHZ_CAP)—RO. Hardwired to 0. Reserved. 10.1.5 RID—Revision Identification Register (IDE—D31:F1) Address Offset: Default Value: Bit 08h See Note Attribute: Size: Description RO 8 Bits 7:0 Revision Identification Value—RO. NOTE: Refer to the Specification Update for the Revision ID. Intel® 82801CA ICH3-S Datasheet 367 IDE Controller Registers (D31:F1) 10.1.6 PI—Programming Interface Register (IDE—D31:F1) Address Offset: Default Value: Bit 09h 8Ah Attribute: Size: Description R/W 8 bits 7 6:4 3 This read-only bit is a 1 to indicate that the ICH3 supports bus master operation. Reserved. Will always return 0. SOP_MODE_CAP. This read-only bit is a 1 to indicate that the secondary controller supports both legacy and native modes. SOP_MODE_SEL. This read-write bits determines the mode that the secondary IDE channel is operating in. 2 0 = Legacy-PCI mode (default). 1 = Native-PCI mode. POP_MODE_CAP. This read-only bit is a 1 to indicate that the primary controller supports both legacy and native modes. POP_MODE_SEL. This read-write bits determines the mode that the primary IDE channel is operating in. 1 0 0 = Legacy-PCI mode (default). 1 = Native-PCI mode. 10.1.7 SCC—Sub Class Code Register (IDE—D31:F1) Address Offset: Default Value: Bit 0Ah 01h Attribute: Size: Description RO 8 bits 7:0 Sub Class Code—RO. 01h = IDE device, in the context of a mass storage device. 10.1.8 BCC—Base Class Code Register (IDE—D31:F1) Address Offset: Default Value: Bit 0Bh 01h Attribute: Size: Description RO 8 bits 7:0 Base Class Code—RO. 01 = Mass storage device. 10.1.9 MLT—Master Latency Timer Register (IDE—D31:F1) Address Offset: Default Value: Bit 0Dh 00h Attribute: Size: Description RO 8 bits 7:0 Master Latency Timer Count (MLTC)—RO. Hardwired to 00h. The IDE controller is implemented internally, and is not arbitrated as a PCI device, so it does not need a Master Latency Timer. 368 Intel® 82801CA ICH3-S Datasheet IDE Controller Registers (D31:F1) 10.1.10 PCMD_BAR—Primary Command Block Base Address Register (IDE—D31:F1) Address Offset: Default Value: 10h–13h 00000001h Attribute: Size: Description R/W 32 bits . Bit 31:16 15:3 2:1 0 Reserved. Base Address—R/W. Base address of the I/O space (8 consecutive I/O locations). Reserved. Resource Type Indicator (RTE)—This bit is set to one, indicating a request for I/O space.ReadOnly. Note: This 8-byte I/O space is used in native mode for the Primary Controller’s Command Block. 10.1.11 PCNL_BAR—Primary Control Block Base Address Register (IDE—D31:F1) Address Offset: Default Value: 14h–17h 00000001h Attribute: Size: Description R/W 32 bits . Bit 31:16 15:2 1 0 Reserved. Base Address—R/W. Base address of the I/O space (4 consecutive I/O locations). Reserved. Resource Type Indicator (RTE)—This bit is set to one, indicating a request for I/O space.ReadOnly. Note: This 4-byte I/O space is used in native mode for the Primary Controller’s Command Block. 10.1.12 SCMD_BAR—Secondary Command Block Base Address Register (IDE D31:F1) Address Offset: Default Value: Bit 18h–1Bh 00000001h Attribute: Size: Description R/W 32 bits 31:16 15:3 2:1 0 Reserved. Base Address—R/W. Base address of the I/O space (8 consecutive I/O locations). Reserved. Resource Type Indicator (RTE)—This bit is set to one, indicating a request for I/O space.ReadOnly. Note: This 4-byte I/O space is used in native mode for the Secondary Controller’s Command Block. Intel® 82801CA ICH3-S Datasheet 369 IDE Controller Registers (D31:F1) 10.1.13 SCNL_BAR—Secondary Control Block Base Address Register (IDE D31:F1) Address Offset: Default Value: Bit 14h–17h 00000001h Attribute: Size: Description R/W 32 bits 31:16 15:2 1 0 Reserved. Base Address—R/W. Base address of the I/O space (4 consecutive I/O locations). Reserved. Resource Type Indicator (RTE)—This bit is set to one, indicating a request for I/O space.ReadOnly. Note: This 4-byte I/O space is used in native mode for the Secondary Controller’s Command Block. 10.1.14 BM_BASE—Bus Master Base Address Register (IDE—D31:F1) Address Offset: Default Value: 20h–23h 00000001h Attribute: Size: R/W 32 bits The Bus Master IDE interface function uses Base Address register 5 to request a 16-byte I/O space to provide a software interface to the Bus Master functions. Only 12 bytes are actually used (6 bytes for primary, 6 bytes for secondary). Only bits [15:4] are used to decode the address. Bit Description 31:16 15:4 3:1 0 Reserved. Base Address—R/W. Base address of the I/O space (16 consecutive I/O locations). Reserved. Resource Type Indicator (RTE)—RO. Hardwired to 1, indicating a request for I/O space. 10.1.15 EXBAR—Expansion Base Address Register (IDE—D31:F1) Address Offset: Default Value: 24h–27h 00h Attribute: Size: R/W 32 bits Note: This is a memory mapped BAR that requires 1 KB of dword aligned memory that is Intel reserved for future functionality. BIOS needs to program the base address for a 1-K memory space. Bit Description 31:0 Intel Reserved for Future Functionality. 370 Intel® 82801CA ICH3-S Datasheet IDE Controller Registers (D31:F1) 10.1.16 IDE_SVID—Subsystem Vendor ID Register (IDE—D31:F1) Address Offset: Default Value: Lockable: Bit 2Ch–2Dh 00h No Attribute: Size: Power Well: Description R/Write-Once 16 bits Core 15:0 Subsystem Vendor ID—R/WO. The SVID register, in combination with the Subsystem ID (SID) register, enables the operating system (OS) to distinguish subsystems from each other. Software (BIOS) sets the value in this register. After that, the value can be read, but subsequent writes to this register have no effect. The value written to this register will also be readable via the corresponding SVID registers for the USB#1, USB#2 and SMBus functions. 10.1.17 IDE_SID—Subsystem ID Register (IDE—D31:F1) Address Offset: Default Value: Lockable: Bit 2Eh–2Fh 00h No Attribute: Size: Power Well: Description R/Write-Once 16 bits Core 15:0 Subsystem ID—R/WO. The SID register, in combination with the SVID register, enables the operating system (OS) to distinguish subsystems from each other. Software (BIOS) sets the value in this register. After that, the value can be read, but subsequent writes to this register have no effect. The value written to this register will also be readable via the corresponding SID registers for the USB#1, USB#2 and SMBus functions. 10.1.18 INTR_LN—Interrupt Line Register (IDE—D31:F1) Address Offset: Default Value: Bit 3Ch 00h Attribute: Size: Description R/W 8 bits 7:0 Interrupt Line (INT_LN). It is to communicate to software the interrupt line that the interrupt pin is connected to. 10.1.19 INTR_PN—Interrupt Pin Register (IDE—D31:F1) Address Offset: Default Value: Bit 3Dh 01h Attribute: Size: Description RO 8 bits 7:3 Reserved. Interrupt Pin (INT_PN). The value of 01h indicates to “software” that the ICH3 will drive PIRQ[A]#. Note that this is only used in native mode. Also note that the routing to the internal interrupt controller does not necessarily relate to the value in this register. The IDE interrupt is in fact routed to PIRQ[C]# (IRQ18 in APIC mode). Read-Only. 2:0 Intel® 82801CA ICH3-S Datasheet 371 IDE Controller Registers (D31:F1) 10.1.20 IDE_TIM—IDE Timing Register (IDE—D31:F1) Address Offset: Default Value: Primary: 40–41h Secondary: 42–43h 0000h Attribute: Size: R/W 16 bits This register controls the timings driven on the IDE cable for PIO and Intel® 8237 style DMA transfers. It also controls operation of the buffer for PIO transfers. Bit Description IDE Decode Enable (IDE)—R/W. Individually enable/disable the Primary or Secondary decode. The IDE I/O Space Enable bit in the Command register must be set in order for this bit to have any effect. Additionally, separate configuration bits are provided (in the IDE I/O Configuration register) to individually disable the primary or secondary IDE interface signals, even if the IDE Decode Enable bit is set. 15 0 = Disable. 1 = Enables the ICH3 to decode the associated Command Blocks (1F0–1F7h for primary, 170– 177h for secondary) and Control Block (3F6h for primary and 376h for secondary). This bit effects the IDE decode ranges for both legacy and native-Mode decoding. It also effects the corresponding primary or secondary memory decode range for IDE Expansion. Drive 1 Timing Register Enable (SITRE)—R/W. 14 0 = Use bits 13:12, 9:8 for both drive 0 and drive 1. 1 = Use bits 13:12, 9:8 for drive 0, and use the Slave IDE Timing register for drive 1. IORDY Sample Point (ISP)—R/W. The setting of these bits determine the number of PCI clocks between IDE IOR#/IOW# assertion and the first IORDY sample point. 13:12 00 = 5 clocks 01 = 4 clocks 10 = 3 clocks 11 = Reserved. Reserved. Recovery Time (RCT)—R/W. The setting of these bits determines the minimum number of PCI clocks between the last IORDY sample point and the IOR#/IOW# strobe of the next cycle. 11:10 9:8 00 = 4 clocks 01 = 3 clocks 10 = 2 clocks 11 = 1 clock Drive 1 DMA Timing Enable (DTE1)—R/W. 7 0 = Disable. 1 = Enable the fast timing mode for DMA transfers only for this drive. PIO transfers to the IDE data port will run in compatible timing. Drive 1 Prefetch/Posting Enable (PPE1)—R/W. 6 0 = Disable. 1 = Enable Prefetch and posting to the IDE data port for this drive. Drive 1 IORDY Sample Point Enable (IE1)—R/W. 5 0 = Disable IORDY sampling for this drive. 1 = Enable IORDY sampling for this drive. Drive 1 Fast Timing Bank (TIME1)— /W. 4 0 = Accesses to the data port will use compatible timings for this drive. 1 = When this bit = 1 and bit 14 = 0, accesses to the data port will use bits 13:12 for the IORDY sample point, and bits 9:8 for the recovery time. When this bit = 1 and bit 14 = 1, accesses to the data port will use the IORDY sample point and recover time specified in the slave IDE timing register. 372 Intel® 82801CA ICH3-S Datasheet IDE Controller Registers (D31:F1) Bit Description Drive 0 DMA Timing Enable (DTE0)—R/W. 3 0 = Disable. 1 = Enable fast timing mode for DMA transfers only for this drive. PIO transfers to the IDE data port will run in compatible timing. Drive 0 Prefetch/Posting Enable (PPE0)—R/W. 2 0 = Disable prefetch and posting to the IDE data port for this drive. 1 = Enable prefetch and posting to the IDE data port for this drive. Drive 0 IORDY Sample Point Enable (IE0)—R/W. 1 0 = Disable IORDY sampling is disabled for this drive. 1 = Enable IORDY sampling for this drive. Drive 0 Fast Timing Bank (TIME0)—R/W. 0 0 = Accesses to the data port will use compatible timings for this drive. 1 = Accesses to the data port will use bits 13:12 for the IORDY sample point, and bits 9:8 for the recovery time. 10.1.21 SLV_IDETIM—Slave (Drive 1) IDE Timing Register (IDE—D31:F1) Address Offset: Default Value: Bit 44h 00h Attribute: Size: Description R/W 8 bits Secondary Drive 1 IORDY Sample Point (SISP1)—R/W. Determines the number of PCI clocks between IDE IOR#/IOW# assertion and the first IORDY sample point, if the access is to drive 1 data port and bit 14 of the IDE timing register for secondary is set. 7:6 00 = 5 clocks 01 = 4 clocks 10 = 3 clocks 11 = Reserved Secondary Drive 1 Recovery Time (SRCT1)—R/W. Determines the minimum number of PCI clocks between the last IORDY sample point and the IOR#/IOW# strobe of the next cycle, if the access is to drive 1 data port and bit 14 of the IDE timing register for secondary is set. 5:4 00 = 4 clocks 01 = 3 clocks 10 = 2 clocks 11 = 1 clocks Primary Drive 1 IORDY Sample Point (PISP1)—R/W. Determines the number of PCI clocks between IOR#/IOW# assertion and the first IORDY sample point, if the access is to drive 1 data port and bit 14 of the IDE timing register for primary is set. 3:2 00 = 5 clocks 01 = 4 clocks 10 = 3 clocks 11 = Reserved Primary Drive 1 Recovery Time (PRCT1)—R/W. Determines the minimum number of PCI clocks between the last IORDY sample point and the IOR#/IOW# strobe of the next cycle, if the access is to drive 1 data port and bit 14 of the IDE timing register for primary is set. 1:0 00 = 4 clocks 01 = 3 clocks 10 = 2 clocks 11 = 1 clocks Intel® 82801CA ICH3-S Datasheet 373 IDE Controller Registers (D31:F1) 10.1.22 SDMA_CNT—Synchronous DMA Control Register (IDE—D31:F1) Address Offset: Default Value: Bit 48h 00h Attribute: Size: Description R/W 8 bits 7:4 3 Reserved. Secondary Drive 1 Synchronous DMA Mode Enable (SSDE1)—R/W. 0 = Disable (default). 1 = Enable Synchronous DMA mode for secondary channel drive 1. Secondary Drive 0 Synchronous DMA Mode Enable (SSDE0)—R/W. 2 0 = Disable (default). 1 = Enable Synchronous DMA mode for secondary drive 0. Primary Drive 1 Synchronous DMA Mode Enable (PSDE1)—R/W. 1 0 = Disable (default). 1 = Enable Synchronous DMA mode for primary channel drive 1. Primary Drive 0 Synchronous DMA Mode Enable (PSDE0)—R/W. 0 0 = Disable (default). 1 = Enable Synchronous DMA mode for primary channel drive 0. 374 Intel® 82801CA ICH3-S Datasheet IDE Controller Registers (D31:F1) 10.1.23 SDMA_TIM—Synchronous DMA Timing Register (IDE—D31:F1) Address Offset: Default Value: Bit 4A–4Bh 0000h Attribute: Size: Description R/W 16 bits 15:14 Reserved. Secondary Drive 1 Cycle Time (SCT1)—R/W. For Ultra ATA mode. The setting of these bits determines the minimum write strobe cycle time (CT). The DMARDY#-to-STOP (RP) time is also determined by the setting of these bits. 13:12 SCB1 = 0 (33 MHz clk) 00 = CT 4 clocks, RP 6 clocks 01 = CT 3 clocks, RP 5 clocks 10 = CT 2 clocks, RP 4 clocks 11 = Reserved SCB1 = 1 (66 MHz clk) 00 = Reserved 01 = CT 3 clocks, RP 8 clocks 10 = CT 2 clocks, RP 8 clocks 11 = Reserved FAST_SCB1 = 1 (133 MHz clk) 00 = Reserved 01 = CT 3 clks, RP 16 clks 10 = Reserved 11 = Reserved 11:10 Reserved. Secondary Drive 0 Cycle Time (SCT0)—R/W. For Ultra ATA mode. The setting of these bits determines the minimum write strobe cycle time (CT). The DMARDY#-to-STOP (RP) time is also determined by the setting of these bits. 9:8 SCB1 = 0 (33 MHz clk) 00 = CT 4 clocks, RP 6 clocks 01 = CT 3 clocks, RP 5 clocks 10 = CT 2 clocks, RP 4 clocks 11 = Reserved SCB1 = 1 (66 MHz clk) 00 = Reserved 01 = CT 3 clocks, RP 8 clocks 10 = CT 2 clocks, RP 8 clocks 11 = Reserved FAST_SCB1 = 1 (133 MHz clk) 00 = Reserved 01 = CT 3 clks, RP 16 clks 10 = Reserved 11 = Reserved 7:6 Reserved. Primary Drive 1 Cycle Time (PCT1)—R/W. For Ultra ATA mode, the setting of these bits determines the minimum write strobe cycle time(CT). The DMARDY#-to-STOP (RP) time is also determined by the setting of these bits. 5:4 PCB1 = 0 (33 MHz clk) 00 = CT 4 clocks, RP 6 clocks 01 = CT 3 clocks, RP 5 clocks 10 = CT 2 clocks, RP 4 clocks 11 = Reserved PCB1 = 1 (66 MHz clk) 00 = Reserved 01 = CT 3 clocks, RP 8 clocks 10 = CT 2 clocks, RP 8 clocks 11 = Reserved FAST_PCB1 = 1 (133 MHz clk) 00 = Reserved 01 = CT 3 clks, RP 16 clks 10 = Reserved 11 = Reserved 3:2 Reserved. Primary Drive 0 Cycle Time (PCT0)—R/W. For Ultra ATA mode, the setting of these bits determines the minimum write strobe cycle time (CT). The DMARDY#-to-STOP (RP) time is also determined by the setting of these bits. 1:0 PCB1 = 0 (33 MHz clk) 00 = CT 4 clocks, RP 6 clocks 01 = CT 3 clocks, RP 5 clocks 10 = CT 2 clocks, RP 4 clocks 11 = Reserved PCB1 = 1 (66 MHz clk) 00 = Reserved 01 = CT 3 clocks, RP 8 clocks 10 = CT 2 clocks, RP 8 clocks 11 = Reserved FAST_PCB1 = 1 (133 MHz clk) 00 = Reserved 01 = CT 3 clks, RP 16 clks 10 = Reserved 11 = Reserved Intel® 82801CA ICH3-S Datasheet 375 IDE Controller Registers (D31:F1) 10.1.24 IDE_CONFIG—IDE I/O Configuration Register Address Offset: Default Value: Bit 54h 00h Attribute: Size: Description R/W 32 bits 31:20 Reserved. SEC_SIG_MODE—R/W. These bits should always be set to 00b. 00 = Normal (Enabled) 01 = Reserved 10 = Reserved 11 = Reserved PRIM_SIG_MODE—R/W. These bits should always be set to 00b. 19:18 17:16 00 = Normal (Enabled) 01 = Reserved 10 = Reserved 11 = Reserved Fast Secondary Drive 1 Base Clock (FAST_SCB1)—R/W. This bit is used in conjunction with the SCT1 bits to enable/disable Ultra ATA/100 timings for the Secondary Slave drive. 15 0 = Disable Ultra ATA/100 timing for the Secondary Slave drive. 1 = Enable Ultra ATA/100 timing for the Secondary Slave drive (overrides bit 3 in this register). Fast Secondary Drive 0 Base Clock (FAST_SCB0)—R/W. This bit is used in conjunction with the SCT0 bits to enable/disable Ultra ATA/100 timings for the Secondary Master drive. 14 0 = Disable Ultra ATA/100 timing for the Secondary Master drive. 1 = Enable Ultra ATA/100 timing for the Secondary Master drive (overrides bit 2 in this register). Fast Primary Drive 1 Base Clock (FAST_PCB1)—R/W. This bit is used in conjunction with the PCT1 bits to enable/disable Ultra ATA/100 timings for the Primary Slave drive. 13 0 = Disable Ultra ATA/100 timing for the Primary Slave drive. 1 = Enable Ultra ATA/100 timing for the Primary Slave drive (overrides bit 1 in this register). Fast Primary Drive 0 Base Clock (FAST_PCB0)—R/W. This bit is used in conjunction with the PCT0 bits to enable/disable Ultra ATA/100 timings for the Primary Master drive. 12 0 = Disable Ultra ATA/100 timing for the Primary Master drive. 1 = Enable Ultra ATA/100 timing for the Primary Master drive (overrides bit 0 in this register). Reserved. WR_PingPong_EN—R/W. 11 10 9:8 0 = Disabled. The buffer will behave similar to PIIX4. 1 = Enables the write buffer to be used in a split (ping/pong) manner. Reserved. Secondary Slave Channel Cable Reporting—R/W. BIOS should program this bit to tell the IDE driver which cable is plugged into the channel. 7 0 = 40 conductor cable is present. 1 = 80 conductor cable is present. Secondary Master Channel Cable Reporting—R/W. Same description as bit 7. Primary Slave Channel Cable Reporting—R/W. Same description as bit 7. Primary Master Channel Cable Reporting—R/W. Same description as bit 7. Secondary Drive 1 Base Clock (SCB1)—R/W. 6 5 4 3 0 = 33 MHz base clock for Ultra ATA timings. 1 = 66 MHz base clock for Ultra ATA timings. Secondary Drive 0 Base Clock (SCBO)—R/W. 2 0 = 33 MHz base clock for Ultra ATA timings. 1 = 66 MHz base clock for Ultra ATA timings. 376 Intel® 82801CA ICH3-S Datasheet IDE Controller Registers (D31:F1) Bit Description Primary Drive 1 Base Clock (PCB1)—R/W. 1 0 = 33 MHz base clock for Ultra ATA timings. 1 = 66 MHz base clock for Ultra ATA timings. Primary Drive 0 Base Clock (PCB0)—R/W. 0 0 = 33 MHz base clock for Ultra ATA timings. 1 = 66 MHz base clock for Ultra ATA timings. 10.2 Bus Master IDE I/O Registers (D31:F1) The bus master IDE function uses 16 bytes of I/O space, allocated via the BMIBA register, located in Device 31:Function 1 Configuration space, offset 20h. All bus master IDE I/O space registers can be accessed as byte, word, or dword quantities. Reading reserved bits returns an indeterminate, inconsistent value, and writes to reserved bits have no affect (but should not be attempted). The description of the I/O registers is shown below in Table 10-2. Table 10-2. Bus Master IDE I/O Registers Offset Mnemonic Register Default Type 00h 01h 02h 03h 04–07h 08h 09h 0Ah 0Bh 0C–0Fh BMICP — BMISP — BMIDP BMICS — BMISS — BMIDS Command Register Primary Reserved Status Register Primary Reserved Descriptor Table Pointer Primary Command Register Secondary Reserved Status Register Secondary Reserved Descriptor Table Pointer Secondary 00h 00h 00h 00h xxxxxxxxh 00h 00h 00h 00h xxxxxxxxh R/W RO R/WC RO R/W R/W RO R/WC RO R/W Intel® 82801CA ICH3-S Datasheet 377 IDE Controller Registers (D31:F1) 10.2.1 BMIC[P,S]—Bus Master IDE Command Register Address Offset: Default Value: Bit Primary: 00h Secondary: 08h 00h Attribute: Size: Description R/W 8 bits 7:4 Reserved. Returns 0s. Read / Write Control (RWC)—R/W. This bit sets the direction of the bus master transfer. This bit must NOT be changed when the bus master function is active. 3 0 = Memory reads. 1 = Memory writes. Reserved. Returns 0. Start/Stop Bus Master (START)—R/W. 2:1 0 0 = All state information is lost when this bit is cleared. Master mode operation cannot be stopped and then resumed. If this bit is reset while bus master operation is still active (i.e., the Bus Master IDE Active bit of the Bus Master IDE Status register for that IDE channel is set) and the drive has not yet finished its data transfer (the Interrupt bit in the Bus Master IDE Status register for that IDE channel is not set), the bus master command is said to be aborted and data transferred from the drive may be discarded instead of being written to system memory. 1 = Enables bus master operation of the controller. Bus master operation begins when this bit is detected changing from a zero to a one. The controller will transfer data between the IDE device and memory only when this bit is set. Master operation can be halted by writing a '0' to this bit. This bit is intended to be cleared by software after the data transfer is completed, as indicated by either the Bus Master IDE Active bit being cleared or the Interrupt bit of the Bus Master IDE Status register for that IDE channel being set, or both. Hardware does not clear this bit automatically. 378 Intel® 82801CA ICH3-S Datasheet IDE Controller Registers (D31:F1) 10.2.2 BMIS[P,S]—Bus Master IDE Status Register Address Offset: Default Value: Bit Primary: 02h Secondary: 0Ah 00h Attribute: Size: Description R/WC 8 bits 7 Reserved. Returns 0. Drive 1 DMA Capable—R/W. 6 0 = Not Capable. 1 = Capable. Set by device dependent code (BIOS or device driver) to indicate that drive 1 for this channel is capable of DMA transfers, and that the controller has been initialized for optimum performance. The ICH3 does not use this bit. It is intended for systems that do not attach BMIDE to the PCI bus. Drive 0 DMA Capable—R/W. 5 0 = Not Capable. 1 = Capable. Set by device dependent code (BIOS or device driver) to indicate that drive 0 for this channel is capable of DMA transfers, and that the controller has been initialized for optimum performance. The ICH3 does not use this bit. It is intended for systems that do not attach BMIDE to the PCI bus. Reserved. Returns 0s. Interrupt—R/WC. Software can use this bit to determine if an IDE device has asserted its interrupt line (IRQ 14 for the Primary channel, and IRQ 15 for Secondary). 0 = This bit is cleared by software writing a '1' to the bit position. If this bit is cleared while the interrupt is still active, this bit will remain clear until another assertion edge is detected on the interrupt line. 1 = Set by the rising edge of the IDE interrupt line, regardless of whether or not the interrupt is masked in the 8259 or the internal I/O APIC. When this bit is read as a one, all data transferred from the drive is visible in system memory. Error—R/WC. 0 = This bit is cleared by software writing a '1' to the bit position. 1 = This bit is set when the controller encounters a target abort or master abort when transferring data on PCI. Bus Master IDE Active (ACT)—RO. 4:3 2 1 0 0 = This bit is cleared by the ICH3 when the last transfer for a region is performed, where EOT for that region is set in the region descriptor. It is also cleared by the ICH3 when the Start bit is cleared in the Command register. When this bit is read as a zero, all data transferred from the drive during the previous bus master command is visible in system memory, unless the bus master command was aborted. 1 = Set by the ICH3 when the Start bit is written to the Command register. 10.2.3 BMID[P,S]—Bus Master IDE Descriptor Table Pointer Register Address Offset: Default Value: Bit Primary: 04h Secondary: 0Ch All bits undefined Attribute: Size: Description R/W 32 bits 31:2 1:0 Address of Descriptor Table (ADDR)—R/W. Corresponds to A[31:2]. The Descriptor Table must be dword aligned. The Descriptor Table must not cross a 64-K boundary in memory. Reserved. Intel® 82801CA ICH3-S Datasheet 379 IDE Controller Registers (D31:F1) This page is intentionally left blank. 380 Intel® 82801CA ICH3-S Datasheet USB 1.1 Controllers Registers USB 1.1 Controllers Registers 11.1 Note: 11 PCI Configuration Registers (D29:F0/F1/F2) Registers that are not shown should be treated as Reserved (See Section 6.2 for details). Table 11-1. PCI Configuration Map (USB—D29:F0/F1/F2) Offset Mnemonic Register Name Function 0 Default Function 1 Default Function 2 Default Type 00–01h 02–03h 04–05h 06–07h 08h 09h 0Ah 0Bh 0Eh 20–23h 2C–2Dh 2E–2Fh 3Ch 3Dh 60h VID DID CMD STA RID PI SCC BCC HTYPE Base SVID SID INTR_LN INTR_PN SB_RELNUM Vendor ID Device ID Command Device Status Revision ID Programming Interface Sub Class Code Base Class Code Header Type Base Address Subsystem Vendor ID Subsystem ID Interrupt Line Interrupt Pin Serial Bus Release Number USB Legacy Keyboard/Mouse Control USB Resume Enable 8086h 2482h 0000h 0280h See Note 00h 03h 0Ch 80h 00000001h 00 00 00h 01h 10h 8086h 2484h 0000h 0280h See Note 00h 03h 0Ch 00h 00000001h 00 00 00h 02h 10 8086h 2487h 0000h 0280h See Note 00h 03h 0Ch 00h 00000001h 00 00 00h 03h 10 RO RO R/W R/W RO RO RO RO RO R/W RO RO R/W RO RO C0–C1h C4h USB_LEGKEY USB_RES 2000h 00h 2000h 00h 2000h 00h R/W R/W NOTE: Refer to the Specification Update for the Revision ID. 11.1.1 VID—Vendor Identification Register (USB—D29:F0/F1/F2) Address Offset: Default Value: Bit 00–01h 8086h Attribute: Size: Description RO 16 bits 15:0 Vendor Identification Value—RO. This is a 16-bit value assigned to Intel. Intel® 82801CA ICH3-S Datasheet 381 USB 1.1 Controllers Registers 11.1.2 DID—Device Identification Register (USB—D29:F0/F1/F2) Address Offset: Default Value: 02–03h Function 0: 2482h Function 1: 2484h Function 2: 2487h Attribute: Size: RO 16 bits Bit Description Device Identification Value—RO. This is a 16-bit value assigned to the ICH3 USB Host Controllers. 15:0 11.1.3 CMD—Command Register (USB—D29:F0/F1/F2) Address Offset: Default Value: Bit 04–05h 0000h Attribute: Size: Description R/W 16 bits 15:10 9 8 7 6 5 4 3 2 1 Reserved. Fast Back to Back Enable (FBE)—RO. Hardwired to 0. SERR# Enable (SERR_EN)—RO. Hardwired to 0. Wait Cycle Control (WCC)—RO. Hardwired to 0. Parity Error Response (PER)—RO. Hardwired to 0. VGA Palette Snoop (VPS)—RO. Hardwired to 0. Postable Memory Write Enable (PMWE)—RO. Hardwired to 0. Special Cycle Enable (SCE)—RO. Hardwired to 0. Bus Master Enable (BME)—RW. 0 = Disable. 1 = Enable. The ICH3 can act as a master on the PCI bus for USB transfers. Memory Space Enable (MSE)—RO. Hardwired to 0. I/O Space Enable (IOE)—RW. This bit controls access to the I/O space registers. 0 0 = Disable. 1 = Enable accesses to the USB I/O registers. The Base Address register for USB should be programmed before this bit is set. 382 Intel® 82801CA ICH3-S Datasheet USB 1.1 Controllers Registers 11.1.4 STA—Device Status Register (USB—D29:F0/F1/F2) Address Offset: Default Value: Bit 06–07h 0280h Attribute: Size: Description R/WC 16 bits 15:14 13 12 11 Reserved as 00b. Read Only. Received Master Abort (RMA)—R/WC. 0 = Software clears this bit by writing a 1 to the bit location. 1 = USB, as a master, generated a master-abort. Reserved. Always read as 0. Signaled Target Abort (STA)—R/WC. 0 = Software clears this bit by writing a 1 to the bit location. 1 = USB function is targeted with a transaction that the ICH3 terminates with a target abort. DEVSEL# Timing Status (DEV_STS)—RO. This 2-bit field defines the timing for DEVSEL# assertion. These read only bits indicate the ICH3's DEVSEL# timing when performing a positive decode. ICH3 generates DEVSEL# with medium timing for USB. 10:9 8 7 6 5 4:0 Data Parity Error Detected (DPED). Reserved as 0. Read Only. Fast Back to Back (FB2B). Reserved as 1 Read Only. User Definable Features (UDF). Reserved as 0. Read Only. 66 MHz Capable (66MHZ_CAP). Reserved as 0. Read Only. Reserved. 11.1.5 RID—Revision Identification Register (USB—D29:F0/F1/F2) Address Offset: Default Value: Bit 08h See Note Attribute: Size: Description RO 8 bits 7:0 These bits contain device stepping information and are hardwired to the default value. NOTE: Refer to the Specification Update for the Revision ID. 11.1.6 PI—Programming Interface Register (USB—D29:F0/F1/F2) Address Offset: Default Value: Bit 09h 00h Attribute: Size: Description RO 8 bits 7:0 Programming Interface Value—RO: 00h = No specific register level programming interface defined. Intel® 82801CA ICH3-S Datasheet 383 USB 1.1 Controllers Registers 11.1.7 SCC—Sub Class Code Register (USB—D29:F0/F1/F2) Address Offset: Default Value: Bit 0Ah 03h Attribute: Size: Description RO 8 bits 7:0 Sub Class Code—RO. 03h = Universal Serial Bus Host Controller. 11.1.8 BCC—Base Class Code Register (USB—D29:F0/F1/F2) Address Offset: Default Value: Bit 0Bh 0Ch Attribute: Size: Description RO 8 bits 7:0 Base Class Code—RO. 0Ch = Serial Bus controller. 11.1.9 HTYPE—Header Type Register (USB—D29:F0/F1/F2) Address Offset: Default Value: 0Eh FN 0: 80h FN 1: 00h FN 2: 00h Attribute: Size: RO 8 bits For functions 1 and 2, this register is hardwired to 00h. For function 0, bit 7 is determined by the values in bits 15, 10, and 9 of the function disable register (D31:F0:F2h). Bit Description Multi-Function Device. When set to 1, this bit indicates to software that this is a multi-function device. 0 indicates a single-function device. Since the upper functions in this device can be individually hidden, this bit must be based on the function-disable bits in Device 31, Function 0, Offset F2h as follows: 7 D29:F7_Disable (bit 15) D29:F2_Disable (bit 10) D29:F2_Disable (bit 9) Multi-Function Bit 0 X X 1 6:0 X 0 X 1 X X 0 1 1 1 1 0 Configuration Layout. Hardwired to 00h, which indicates the standard PCI configuration layout. 384 Intel® 82801CA ICH3-S Datasheet USB 1.1 Controllers Registers 11.1.10 BASE—Base Address Register (USB—D29:F0/F1/F2) Address Offset: Default Value: Bit 20–23h 00000001h Attribute: Size: Description R/W 32 bits 31:16 15:5 4:1 0 Reserved. Base Address—R/W. Bits [15:5] correspond to I/O address signals AD [15:5], respectively. This gives 32 bytes of relocatable I/O space. Reserved. Resource Type Indicator (RTE)—RO. This bit is hardwired to 1 indicating that the base address field in this register maps to I/O space. 11.1.11 SVID—Subsystem Vendor ID Register (USB—D29:F0/F1/F2) Address Offset: Default Value: Lockable: Bit 2Ch–2Dh 00h No Attribute: Size: Power Well: Description RO 16 bits Core 15:0 Subsystem Vendor ID—RO. The SVID register, in combination with the Subsystem ID (SID) register, enables the operating system (OS) to distinguish subsystems from each other. The value returned by reads to this register is the same as that which was written by BIOS into the IDE_SVID register. 11.1.12 SID—Subsystem ID Register (USB—D29:F0/F1/F2) Address Offset: Default Value: Lockable: Bit 2Eh–2Fh 00h No Attribute: Size: Power Well: Description RO 16 bits Core 15:0 Subsystem ID—R/Write-Once. The SID register, in combination with the SVID register, enables the operating system (OS) to distinguish subsystems from each other. The value returned by reads to this register is the same as that which was written by BIOS into the IDE_SID register. 11.1.13 INTR_LN—Interrupt Line Register (USB—D29:F0/F1/F2) Address Offset: Default Value: Bit 3Ch 00h Attribute: Size: Description R/W 8 bits 7:0 Interrupt Line (INT_LN)—R/W. This data is not used by the ICH3. It is to communicate to software the interrupt line that the interrupt pin is connected to. Intel® 82801CA ICH3-S Datasheet 385 USB 1.1 Controllers Registers 11.1.14 INTR_PN—Interrupt Pin Register (USB—D29:F0/F1/F2) Address Offset: Default Value: 3Dh Function 0: 01h Function 1: 02h Function 2: 03h Attribute: Size: RO 8 bits Bit Description 7:3 Reserved. Interrupt Pin (INT_PN). The values of 01h, 02h, and 03h in function 0, 1, and 2, respectively, indicate to software that the corresponding ICH3 USB controllers drive the INTA#, INTB#, and INTC# PCI signals. Read-Only. Note that this does not determine the mapping to the ICH3 PIRQ inputs. Function 0 drives PIRQA; Function 1 drives PIRQD; Function 2 drives PIRQC. Function 1 does not use the corresponding mapping in order to spread the interrupts with AC ’97, which has historically been mapped to PIRQB. 2:0 11.1.15 SB_RELNUM—Serial Bus Release Number Register (USB—D29:F0/F1/F2) Address Offset: Default Value: Bit 60h 10h Attribute: Size: Description RO 8 bits 7:0 Serial Bus Release Number—RO. 10h = Indicates that the USB controller is compliant with the USB specification release 1.0. 11.1.16 USB_LEGKEY—USB Legacy Keyboard/Mouse Control Register (USB—D29:F0/F1/F2) Address Offset: Default Value: C0–C1h 2000h Attribute: Size: R/W 16 bits This register is implemented separately in each of the USB 1.1 functions. However, the enable and status bits for the trapping logic are OR’ed and shared, respectively, since their functionality is not specific to any one host controller. Bit Description SMI Caused by End of Pass-through (SMIBYENDPS)—R/WC. Indicates if the event occurred. Note that even if the corresponding enable bit is not set in bit 7, then this bit will still be active. It is up to the SMM code to use the enable bit to determine the exact cause of the SMI#. 0 = Software clears this bit by writing a 1 to the bit location in any of the controllers. 1 = Event Occurred. 15 14 Reserved. PCI Interrupt Enable (USBPIRQEN)—R/W. Used to prevent the USB controller from generating an interrupt due to transactions on its ports. Note, when disabled, that it will probably be configured to generate an SMI using bit 4 of this register. Default to 1 for compatibility with older USB software. 0 = Disable. 1 = Enable. 13 386 Intel® 82801CA ICH3-S Datasheet USB 1.1 Controllers Registers Bit Description SMI Caused by USB Interrupt (SMIBYUSB)—RO. Indicates if an interrupt event occurred from this controller. The interrupt from the controller is taken before the enable in bit 13 has any effect to create this read-only bit. Note that even if the corresponding enable bit is not set in the Bit 4, then this bit may still be active. It is up to the SMM code to use the enable bit to determine the exact cause of the SMI#. 0 = Software should clear the interrupts via the USB controllers. Writing a 1 to this bit will have no effect. 1 = Event Occurred. SMI Caused by Port 64 Write (TRAPBY64W)—R/WC. Indicates if the event occurred. Note that even if the corresponding enable bit is not set in the bit 3, then this bit will still be active. It is up to the SMM code to use the enable bit to determine the exact cause of the SMI#. Note that the A20Gate Pass-Through Logic allows specific port 64h writes to complete without setting this bit. 0 = Software clears this bit by writing a 1 to the bit location in any of the controllers. 1 = Event Occurred. SMI Caused by Port 64 Read (TRAPBY64R)—R/WC. Indicates if the event occurred. Note that even if the corresponding enable bit is not set in the bit 2, then this bit will still be active. It is up to the SMM code to use the enable bit to determine the exact cause of the SMI#. 0 = Software clears this bit by writing a 1 to the bit location in any of the controllers. 1 = Event Occurred. SMI Caused by Port 60 Write (TRAPBY60W)—R/WC. Indicates if the event occurred. Note that even if the corresponding enable bit is not set in the bit 1, then this bit will still be active. It is up to the SMM code to use the enable bit to determine the exact cause of the SMI#. Note that the A20Gate Pass-Through Logic allows specific port 64h writes to complete without setting this bit. 0 = Software clears this bit by writing a 1 to the bit location in any of the controllers. 1 = Event Occurred. SMI Caused by Port 60 Read (TRAPBY60R)—R/WC. Indicates if the event occurred. Note that even if the corresponding enable bit is not set in the bit 0, then this bit will still be active. It is up to the SMM code to use the enable bit to determine the exact cause of the SMI#. 0 = Software clears this bit by writing a 1 to the bit location in any of the controllers. 1 = Event Occurred. SMI at End of Pass-through Enable (SMIATENDPS)—R/W. May need to cause SMI at the end of a pass-through. Can occur if an SMI is generated in the middle of a pass through, and needs to be serviced later. 0 = Disable. 1 = Enable. Pass Through State (PSTATE)—RO. 0 = If software needs to reset this bit, it should set bit 5 in all of the host controllers to 0. 1 = Indicates that the state machine is in the middle of an A20GATE pass-through sequence. A20Gate Pass-Through Enable (A20PASSEN)—R/W. 0 = Disable. 1 = Allows A20GATE sequence Pass-Through function. A specific cycle sequence involving writes to port 60h and 64h does not result in the setting of the SMI status bits. SMI on USB IRQ Enable (USBSMIEN)—R/W. 0 = Disable 1 = USB interrupt will cause an SMI event.. SMI on Port 64 Writes Enable (64WEN)—R/W. 0 = Disable. 1 = A 1 in bit 11 will cause an SMI event. SMI on Port 64 Reads Enable (64REN)—R/W. 0 = Disable. 1 = A 1 in bit 10 will cause an SMI event. SMI on Port 60 Writes Enable (60WEN)—R/W. 0 = Disable. 1 = A 1 in bit 9 will cause an SMI event. SMI on Port 60 Reads Enable (60REN)—R/W. 0 = Disable. 1 = A 1 in bit 8 will cause an SMI event. 12 11 10 9 8 7 6 5 4 3 2 1 0 Intel® 82801CA ICH3-S Datasheet 387 USB 1.1 Controllers Registers 11.1.17 USB_RES—USB Resume Enable Register (USB—D29:F0/F1/F2) Address Offset: Default Value: Bit C4h 00h Attribute: Size: Description R/W 8 bits 7:2 Reserved. PORT1EN—R/W. Enable the USB controller to respond to wakeup events on this port. For Function 2 this applies to port 1, for Function 4 this applies to port 3. 1 0 = The USB controller will not look at this port for a wakeup event. 1 = The USB controller will monitor this port for remote wakeup and connect/disconnect events. PORT0EN—R/W. Enable the USB controller to respond to wakeup events on this port. For Function 2 this applies to port 0, for Function 4 this applies to port 2. 0 0 = The USB controller will not look at this port for a wakeup event. 1 = The USB controller will monitor this port for remote wakeup and connect/disconnect events. 388 Intel® 82801CA ICH3-S Datasheet USB 1.1 Controllers Registers 11.2 USB I/O Registers Some of the read/write register bits which deal with changing the state of the USB hub ports function such that on read back they reflect the current state of the port, and not necessarily the state of the last write to the register. This allows the software to poll the state of the port and wait until it is in the proper state before proceeding. A Host Controller Reset, Global Reset, or Port Reset will immediately terminate a transfer on the affected ports and disable the port. This affects the USBCMD register, bit [4] and the PORTSC registers, bits [12,6,2]. See individual bit descriptions for more detail. Table 11-2. USB I/O Registers Offset Mnemonic Register Default Type 00–01h 02–03h 04–05h 06–07h 08–0Bh 0Ch 0D–0Fh 10–11h 12–13h 14–17h 18h USBCMD USBSTS USBINTR FRNUM FRBASEADD SOFMOD — PORTSC0 PORTSC1 — LOOPDATA USB Command USB Status USB Interrupt Enable USB Frame Number USB Frame List Base Address USB Start of Frame Modify Reserved Port 0 Status/Control Port 1 Status/Control Reserved Loop Back Test Data 0000h 0020h 0000h 0000h Undefined 40h 0 0080h 0080h 0 00h R/W* R/WC R/W R/W (see Note 1) R/W R/W RO R/WC (see Note 1) R/WC (see Note 1) RO RO NOTES: 1. These registers are WORD writable only. Byte writes to these registers have unpredictable effects. Intel® 82801CA ICH3-S Datasheet 389 USB 1.1 Controllers Registers 11.2.1 USBCMD—USB Command Register I/O Offset: Default Value: Base + (00–01h) 0000h Attribute: Size: R/W 16 bits The Command Register indicates the command to be executed by the serial bus host controller. Writing to the register causes a command to be executed. The table following the bit description provides additional information on the operation of the Run/Stop and Debug bits. Bit Description 15:7 Reserved. Loop Back Test Mode—R/W. 8 0 = Disable loop back test mode. 1 = ICH3 is in loop back test mode. When both ports are connected together, a write to one port will be seen on the other port and the data will be stored in I/O offset 18h. Max Packet (MAXP)—R/W. This bit selects the maximum packet size that can be used for full speed bandwidth reclamation at the end of a frame. This value is used by the Host Controller to determine whether it should initiate another transaction based on the time remaining in the SOF counter. Use of reclamation packets larger than the programmed size will cause a Babble error if executed during the critical window at frame end. The Babble error results in the offending endpoint being stalled. Software is responsible for ensuring that any packet which could be executed under bandwidth reclamation be within this size limit. 7 0 = 32 bytes. 1 = 64 bytes. Configure Flag (CF)—R/W. This bit has no effect on the hardware. It is provided only as a semaphore service for software. 0 = Indicates that software has not completed host controller configuration. 1 = HCD software sets this bit as the last action in its process of configuring the Host Controller. Software Debug (SWDBG)—R/W. The SWDBG bit must only be manipulated when the controller is in the stopped state. This can be determined by checking the HCHalted bit in the USBSTS register. 6 5 0 = Normal Mode 1 = Debug mode. In SW Debug mode, the Host Controller clears the Run/Stop bit after the completion of each USB transaction. The next transaction is executed when software sets the Run/Stop bit back to 1. Force Global Resume (FGR)—R/W: 4 0 = Software resets this bit to 0 after 20 ms has elapsed to stop sending the Global Resume signal. At that time all USB devices should be ready for bus activity. The 1 to 0 transition causes the port to send a low speed EOP signal. This bit will remain a 1 until the EOP has completed. 1 = Host Controller sends the Global Resume signal on the USB, and sets this bit to 1 when a resume event (connect, disconnect, or K-state) is detected while in global suspend mode. Enter Global Suspend Mode (EGSM)—R/W: 3 0 = Software resets this bit to 0 to come out of Global Suspend mode. Software writes this bit to 0 at the same time that Force Global Resume (bit 4) is written to 0 or after writing bit 4 to 0. 1 = Host Controller enters the Global Suspend mode. No USB transactions occur during this time. The Host Controller is able to receive resume signals from USB and interrupt the system. Software must ensure that the Run/Stop bit (bit 0) is cleared prior to setting this bit. Global Reset (GRESET)—R/W: 0 = This bit is reset by the software after a minimum of 10 ms has elapsed as specified in Chapter 7 of the USB Specification. 1 = Global Reset. The Host Controller sends the global reset signal on the USB and then resets all its logic, including the internal hub registers. The hub registers are reset to their power on state. Chip Hardware Reset has the same effect as Global Reset (bit 2), except that the Host Controller does not send the Global Reset on USB. 2 390 Intel® 82801CA ICH3-S Datasheet USB 1.1 Controllers Registers Bit Description Host Controller Reset (HCRESET)—R/W. The effects of HCRESET on Hub registers are slightly different from Chip Hardware Reset and Global USB Reset. The HCRESET affects bits [8,3:0] of the Port Status and Control Register (PORTSC) of each port. HCRESET resets the state machines of the Host Controller including the Connect/Disconnect state machine (one for each port). When the Connect/Disconnect state machine is reset, the output that signals connect/disconnect are negated to 0, effectively signaling a disconnect, even if a device is attached to the port. This virtual disconnect causes the port to be disabled. This disconnect and disabling of the port causes bit 1 (connect status change) and bit 3 (port enable/disable change) of the PORTSC to get set. The disconnect also causes bit 8 of PORTSC to reset. About 64 bit times after HCRESET goes to 0, the connect and low-speed detect will take place, and bits 0 and 8 of the PORTSC will change accordingly. 1 0 = Reset by the Host Controller when the reset process is complete. 1 = Reset. When this bit is set, the Host Controller module resets its internal timers, counters, state machines, etc. to their initial value. Any transaction currently in progress on USB is immediately terminated. Run/Stop (RS)—R/W. When set to 1, the ICH3 proceeds with execution of the schedule. The ICH3 continues execution as long as this bit is set. When this bit is cleared, the ICH3 completes the current transaction on the USB and then halts. The HC Halted bit in the status register indicates when the Host Controller has finished the transaction and has entered the stopped state. The Host Controller clears this bit when the following fatal errors occur: consistency check failure, PCI Bus errors. 0 = Stop. 1 = Run. Note: The USB run stop bit should be cleared only under one of the following conditions: 1. There are no active Transaction Descriptors in the schedule. 2. A reset of the USB host controller is guaranteed prior to a subsequent run/stop bit assertion. 0 Table 11-3. Run/Stop, Debug Bit Interaction SWDBG (Bit 5), Run/Stop (Bit 0) Operation SWDBG (Bit 5) Run/Stop (Bit 0) Description 0 0 If executing a command, the Host Controller completes the command and then stops. The 1.0 ms frame counter is reset and command list execution resumes from start of frame using the frame list pointer selected by the current value in the FRNUM register. (While Run/Stop=0, the FRNUM register can be reprogrammed). Execution of the command list resumes from Start Of Frame using the frame list pointer selected by the current value in the FRNUM register. The Host Controller remains running until the Run/Stop bit is cleared (by software or hardware). If executing a command, the Host Controller completes the command and then stops and the 1.0 ms frame counter is frozen at its current value. All status are preserved. The Host Controller begins execution of the command list from where it left off when the Run/Stop bit is set. Execution of the command list resumes from where the previous execution stopped. The Run/Stop bit is set to 0 by the Host Controller when a TD is being fetched. This causes the Host Controller to stop again after the execution of the TD (single step). When the Host Controller has completed execution, the HC Halted bit in the Status Register is set. 0 1 1 0 1 1 Intel® 82801CA ICH3-S Datasheet 391 USB 1.1 Controllers Registers When the USB Host Controller is in Software Debug Mode (USBCMD Register bit 5=1), the single stepping software debug operation is as follows: To Enter Software Debug Mode: 1. HCD puts Host Controller in Stop state by setting the Run/Stop bit to 0. 2. HCD puts Host Controller in Debug Mode by setting the SWDBG bit to 1. 3. HCD sets up the correct command list and Start Of Frame value for starting point in the Frame List Single Step Loop. 4. HCD sets Run/Stop bit to 1. 5. Host Controller executes next active TD, sets Run/Stop bit to 0, and stops. 6. HCD reads the USBCMD register to check if the single step execution is completed (HCHalted=1). 7. HCD checks results of TD execution. Go to step 4 to execute next TD or step 8 to end Software Debug mode. 8. HCD ends Software Debug mode by setting SWDBG bit to 0. 9. HCD sets up normal command list and Frame List table. 10. HCD sets Run/Stop bit to 1 to resume normal schedule execution. In Software Debug mode, when the Run/Stop bit is set, the Host Controller starts. When a valid TD is found, the Run/Stop bit is reset. When the TD is finished, the HCHalted bit in the USBSTS register (bit 5) is set. The SW Debug mode skips over inactive TDs and only halts after an active TD has been executed. When the last active TD in a frame has been executed, the Host Controller waits until the next SOF is sent and then fetches the first TD of the next frame before halting. This HCHalted bit can also be used outside of Software Debug mode to indicate when the Host Controller has detected the Run/Stop bit and has completed the current transaction. Outside of the Software Debug mode, setting the Run/Stop bit to 0 always resets the SOF counter so that when the Run/Stop bit is set the Host Controller starts over again from the frame list location pointed to by the Frame List Index (see FRNUM Register description) rather than continuing where it stopped. 392 Intel® 82801CA ICH3-S Datasheet USB 1.1 Controllers Registers 11.2.2 USBSTA—USB Status Register I/O Offset: Default Value: Base + (02–03h) 0020h Attribute: Size: R/WC 16 bits This register indicates pending interrupts and various states of the Host Controller. The status resulting from a transaction on the serial bus is not indicated in this register. Software sets a bit to 0 in this register by writing a 1 to it. Bit Description 15:6 Reserved. HCHalted—R/WC: 0 = Software resets this bit to 0 by writing a 1 to the bit position. 1 = The Host Controller has stopped executing as a result of the Run/Stop bit being set to 0, either by software or by the Host Controller hardware (debug mode or an internal error). Default. Host Controller Process Error—R/WC. 5 4 0 = Software resets this bit to 0 by writing a 1 to the bit position. 1 = The Host Controller has detected a fatal error. This indicates that the Host Controller suffered a consistency check failure while processing a Transfer Descriptor. An example of a consistency check failure would be finding an illegal PID field while processing the packet header portion of the TD. When this error occurs, the Host Controller clears the Run/Stop bit in the Command register to prevent further schedule execution. A hardware interrupt is generated to the system. Host System Error—R/WC. 3 0 = Software resets this bit to 0 by writing a 1 to the bit position. 1 = A serious error occurred during a host system access involving the Host Controller module. In a PCI system, conditions that set this bit to 1 include PCI Parity error, PCI Master Abort, and PCI Target Abort. When this error occurs, the Host Controller clears the Run/Stop bit in the Command register to prevent further execution of the scheduled TDs. A hardware interrupt is generated to the system. Resume Detect (RSM_DET)—R/WC: 0 = Software resets this bit to 0 by writing a 1 to the bit position. 1 = The Host Controller received a “RESUME” signal from a USB device. This is only valid if the Host Controller is in a global suspend state (bit 3 of Command register = 1). USB Error Interrupt—R/WC: 0 = Software resets this bit to 0 by writing a 1 to the bit position. 1 = Completion of a USB transaction resulted in an error condition (e.g., error counter underflow). If the TD on which the error interrupt occurred also had its IOC bit set, both this bit and Bit 0 are set. USB Interrupt (USBINT)—R/WC: 0 = Software resets this bit to 0 by writing a 1 to the bit position. 1 = The Host Controller sets this bit when the cause of an interrupt is a completion of a USB transaction whose Transfer Descriptor had its IOC bit set. Also set when a short packet is detected (actual length field in TD is less than maximum length field in TD), and short packet detection is enabled in that TD. 2 1 0 Intel® 82801CA ICH3-S Datasheet 393 USB 1.1 Controllers Registers 11.2.3 USBINTR—Interrupt Enable Register I/O Offset: Default Value: Base + (04–05h) 0000h Attribute: Size: R/W 16 bits This register enables and disables reporting of the corresponding interrupt to the software. When a bit is set and the corresponding interrupt is active, an interrupt is generated to the host. Fatal errors (Host Controller Processor Error-bit 4, USBSTS Register) cannot be disabled by the host controller. Interrupt sources that are disabled in this register still appear in the Status Register to allow the software to poll for events. Bit Description 15:4 3 Reserved. Short Packet Interrupt Enable—R/W: 0 = Disabled. 1 = Enabled. Interrupt On Complete (IOC) Enable—R/W: 2 0 = Disabled. 1 = Enabled. Resume Interrupt Enable—R/W: 1 0 = Disabled. 1 = Enabled. Timeout/CRC Interrupt Enable—R/W: 0 0 = Disabled. 1 = Enabled. 11.2.4 FRNUM—Frame Number Register I/O Offset: Default Value: Base + (06–07h) 0000h Attribute: Size: R/W (Word Writes Only) 16 bits Bits [10:0] of this register contain the current frame number which is included in the frame SOF packet. This register reflects the count value of the internal frame number counter. Bits [9:0] are used to select a particular entry in the Frame List during scheduled execution. This register is updated at the end of each frame time. This register must be written as a word. Byte writes are not supported. This register cannot be written unless the Host Controller is in the STOPPED state as indicated by the HCHalted bit (USBSTS register). A write to this register while the Run/Stop bit is set (USBCMD register) is ignored. Bit Description 15:11 Reserved. Frame List Current Index/Frame Number—R/W. Provides the frame number in the SOF Frame. The value in this register increments at the end of each time frame (approximately every 1 ms). In addition, bits [9:0] are used for the Frame List current index and correspond to memory address signals [11:2]. 10:0 394 Intel® 82801CA ICH3-S Datasheet USB 1.1 Controllers Registers 11.2.5 FRBASEADD—Frame List Base Address Register I/O Offset: Default Value: Base + (08–0Bh) Undefined Attribute: Size: R/W 32 bits This 32-bit register contains the beginning address of the Frame List in the system memory. HCD loads this register prior to starting the schedule execution by the Host Controller. When written, only the upper 20 bits are used. The lower 12 bits are written as zero (4-KB alignment). The contents of this register are combined with the frame number counter to enable the Host Controller to step through the Frame List in sequence. The two least significant bits are always 00. This requires DWord alignment for all list entries. This configuration supports 1024 Frame List entries. Bit Description Base Address—R/W. These bits correspond to memory address signals [31:12], respectively. 31:12 11:0 Reserved. 11.2.6 SOFMOD—Start of Frame Modify Register I/O Offset: Default Value: Base + (0Ch) 40h Attribute: Size: R/W 8 bits This 1-byte register is used to modify the value used in the generation of SOF timing on the USB. Only the 7 least significant bits are used. When a new value is written into these 7 bits, the SOF timing of the next frame will be adjusted. This feature can be used to adjust out any offset from the clock source that generates the clock that drives the SOF counter. This register can also be used to maintain real time synchronization with the rest of the system so that all devices have the same sense of real time. Using this register, the frame length can be adjusted across the full range required by the USB specification. It’s initial programmed value is system dependent based on the accuracy of hardware USB clock and is initialized by system BIOS. It may be reprogrammed by USB system software at any time. Its value will take effect from the beginning of the next frame. This register is reset upon a Host Controller Reset or Global Reset. Software must maintain a copy of its value for reprogramming if necessary. Bit Description 7 Reserved. SOF Timing Value—R/W. Guidelines for the modification of frame time are contained in Chapter 7 of the USB Specification. The SOF cycle time (number of SOF counter clock periods to generate a SOF frame length) is equal to 11936 + value in this field. The default value is decimal 64 which gives a SOF cycle time of 12000. For a 12 MHz SOF counter clock input, this produces a 1 ms Frame period. The following table indicates what SOF Timing Value to program into this field for a certain frame period. Frame Length (# 12 MHz Clocks) (decimal) SOF Reg. Value (decimal) 6:0 11936 11937 . . 11999 12000 12001 . . 12062 12063 0 1 . . 63 64 65 . . 126 127 Intel® 82801CA ICH3-S Datasheet 395 USB 1.1 Controllers Registers 11.2.7 PORTSC[0,1]—Port Status and Control Register I/O Offset: Port 0/2/4: Base + (10–11h) Port 1/3/5: Base + (12–13h) 0080h Attribute: R/W (Word Writes Only) Default Value: Size: 16 bits Note: For Function 0 this applies to ICH3 USB ports 0 and 1, for Function 1 this applies to ICH3 USB ports 2 and 3, and for Function 2 this applies to ICH3 USB ports 4 and 5. After a Power-up reset, Global reset, or Host Controller reset, the initial conditions of a port are no device connected, Port disabled, and the bus line status is 00 (single-ended zero). Bit Description 15:13 Reserved—RO. Suspend—R/W. This bit should not be written to a 1 if global suspend is active (bit 3=1 in the USBCMD register). Bit 2 and bit 12 of this register define the hub states as follows: Bits [12,2] Hub State X,0 Disable 0,1 Enable 1,1 Suspend When in suspend state, downstream propagation of data is blocked on this port, except for singleended 0 resets (global reset and port reset). The blocking occurs at the end of the current transaction, if a transaction was in progress when this bit was written to 1. In the suspend state, the port is sensitive to resume detection. Note that the bit status does not change until the port is suspended and that there may be a delay in suspending a port if there is a transaction currently in progress on the USB. 0 = Port not in suspend state. 1 = Port in suspend state. NOTE: Normally, if a transaction is in progress when this bit is set, the port will be suspended when the current transaction completes. However, in the case of a specific error condition (out transaction with babble), the ICH3 may issue a start-of-frame, and then suspend the port. Overcurrent Indicator—R/WC. Set by hardware 12 11 0 = Software clears this bit by writing a 1 to the bit position. 1 = Overcurrent pin has gone from inactive to active on this port. Overcurrent Active—RO. This bit is set and cleared by hardware. 10 0 = Indicates that the overcurrent pin is inactive (high). 1 = Indicates that the overcurrent pin is active (low). Port Reset—RO. 0 = Port is not in Reset. 1 = Port is in Reset. When set, the port is disabled and sends the USB Reset signaling. Low Speed Device Attached (LS) —RO. Writes have no effect. 9 8 7 0 = Full speed device is attached. 1 = Low speed device is attached to this port. Reserved—RO. Always read as 1. Resume Detect (RSM_DET)—R/W. Software sets this bit to a 1 to drive resume signaling. The Host Controller sets this bit to a 1 if a J-to-K transition is detected for at least 32 microseconds while the port is in the Suspend state. The ICH3 will then reflect the K-state back onto the bus as long as the bit remains a 1, and the port is still in the suspend state (bit 12,2 are 11). Writing a 0 (from 1) causes the port to send a low speed EOP. This bit will remain a 1 until the EOP has completed. 6 0 = No resume (K-state) detected/driven on port. 1 = Resume detected/driven on port. 396 Intel® 82801CA ICH3-S Datasheet USB 1.1 Controllers Registers Bit Description Line Status—RO. These bits reflect the D+ (bit 4) and D- (bit 5) signals lines’ logical levels. These bits are used for fault detect and recovery as well as for USB diagnostics. This field is updated at EOF2 time (See Chapter 11 of the USB Specification). Port Enable/Disable Change—R/WC. For the root hub, this bit gets set only when a port is disabled due to disconnect on that port or due to the appropriate conditions existing at the EOF2 point (See Chapter 11 of the USB Specification). 5:4 3 0 = No change. Software clears this bit by writing a 1 to the bit location. 1 = Port enabled/disabled status has changed. Port Enabled/Disabled (PORT_EN) —R/W. Ports can be enabled by host software only. Ports can be disabled by either a fault condition (disconnect event or other fault condition) or by host software. Note that the bit status does not change until the port state actually changes and that there may be a delay in disabling or enabling a port if there is a transaction currently in progress on the USB. 0 = Disable. 1 = Enable. Connect Status Change—R/WC. Indicates that a change has occurred in the port’s Current Connect Status (see bit 0). The hub device sets this bit for any changes to the port device connect status, even if system software has not cleared a connect status change. If, for example, the insertion status changes twice before system software has cleared the changed condition, hub hardware will be setting” an already-set bit (i.e., the bit will remain set). However, the hub transfers the change bit only once when the Host Controller requests a data transfer to the Status Change endpoint. System software is responsible for determining state change history in such a case. 2 1 0 = No change. Software clears this bit by writing a 1 to the bit location. 1 = Change in Current Connect Status. Current Connect Status—RO. This value reflects the current state of the port, and may not correspond directly to the event that caused the Connect Status Change bit (Bit 1) to be set. 0 0 = No device is present. 1 = Device is present on port. Intel® 82801CA ICH3-S Datasheet 397 USB 1.1 Controllers Registers This page is intentionally left blank. 398 Intel® 82801CA ICH3-S Datasheet SMBus Controller Registers (D31:F3) SMBus Controller Registers (D31:F3) 12 12.1 PCI Configuration Registers (SMBus—D31:F3) Table 12-1. PCI Configuration Registers (SMBUS—D31:F3) Offset Mnemonic Register Name/Function Default Type 00–01h 02–03h 04–05h 06–07h 08h 09h 0Ah 0Bh 20–23h 2C–2Dh 2E–2Fh 3Ch 3Dh 40h VID DID CMD STA RID PI SCC BCC SMB_BASE SVID SID INTR_LN INTR_PN HOSTC Vendor ID Device ID Command Register Device Status Revision ID Programming Interface Sub Class Code Base Class Code SMBus Base Address Register Subsystem Vendor ID Subsystem ID Interrupt Line Interrupt Pin Host Configuration 8086 2483h 0000h 0280h See Note 2 00h 05h 0Ch 00000001h 00h 00h 00h 02h 00h RO RO R/W R/W RO RO RO RO R/W RO RO R/W RO R/W NOTES: 1. Registers that are not shown should be treated as Reserved (See Section 6.2 for details). 2. Refer to the Specification Update for the Revision ID. 12.1.1 VID—Vendor Identification Register (SMBUS—D31:F3) Address: Default Value: Bit 00–01h 8086h Attributes: Size: Description RO 16 bits 15:0 Vendor Identification Value—RO. This is a 16-bit value assigned to Intel. 12.1.2 DID—Device Identification Register (SMBUS—D31:F3) Address: Default Value: Bit 02–03h 2483h Attributes: Size: Description RO 16 bits 15:0 Device Identification Value—RO. Intel® 82801CA ICH3-S Datasheet 399 SMBus Controller Registers (D31:F3) 12.1.3 CMD—Command Register (SMBUS—D31:F3) Address: Default Value: Bit 04–05h 0000h Attributes: Size: Description RO, R/W 16 bits 15:10 9 8 7 6 5 4 3 2 1 0 Reserved. Fast Back to Back Enable (FBE)—RO. Reserved as 0. SERR# Enable (SERR_EN)—RO. Reserved as 0. Wait Cycle Control (WCC)—RO. Reserved as 0. Parity Error Response (PER)—RO. Reserved as 0. VGA Palette Snoop (VPS)—RO. Reserved as 0. Postable Memory Write Enable (PMWE) —RO. Reserved as 0. Special Cycle Enable (SCE)—RO. Reserved as 0. Bus Master Enable (BME)—RO. Reserved as 0. Memory Space Enable (MSE) —RO. Reserved as 0. I/O Space Enable (IOE)—R/W. 0 = Disable. 1 = Enables access to the SM Bus I/O space registers as defined by the Base Address Register. 12.1.4 STA—Device Status Register (SMBUS—D31:F3) Address: Default Value: Bit 06–07h 0280h Attributes: Size: Description RO, R/WC 16 bits 15 14 13 12 Detected Parity Error (DPE)—RO. Reserved as 0. Signaled System Error (SSE)—RO. Reserved as 0. Received Master Abort (RMA)—RO. Reserved as 0. Received Target Abort (RTA)—RO. Reserved as 0. Signaled Target Abort (STA)—R/WC. 11 0 = Software resets STA to 0 by writing a 1 to this bit location. 1 = Set when the function is targeted with a transaction that the ICH3 terminates with a target abort. DEVSEL# Timing Status (DEV_STS)—RO. This 2-bit field defines the timing for DEVSEL# assertion for positive decode. 10:9 8 7 6 5 4:0 01 = Medium timing. Data Parity Error Detected (DPED)—RO. Reserved as 0. Fast Back to Back (FB2B)—RO. Reserved as 1. User Definable Features (UDF)—RO. Reserved as 0. 66 MHz Capable (66MHZ_CAP)—RO. Reserved as 0. Reserved. 400 Intel® 82801CA ICH3-S Datasheet SMBus Controller Registers (D31:F3) 12.1.5 RID—Revision Identification Register (SMBUS—D31:F3) Address Offset: Default Value: Bit 08h See Note Attribute: Size: Description RO 8 Bits 7:0 Revision Identification Value—RO. NOTE: Refer to the Specification Update for the Revision ID. 12.1.6 SCC—Sub Class Code Register (SMBUS—D31:F3) Address Offset: Default Value: Bit 0Ah 05h Attributes: Size: Description RO 8 bits 7:0 Sub Class Code—RO. 05h = SM Bus serial controller. 12.1.7 BCC—Base Class Code Register (SMBUS—D31:F3) Address Offset: Default Value: Bit 0Bh 0Ch Attributes: Size: Description RO 8 bits 7:0 Base Class Code—RO. 0Ch = Serial controller. 12.1.8 SMB_BASE—SMBus Base Address Register (SMBUS—D31:F3) Address Offset: Default Value: Bit 20–23h 00000001h Attribute: Size: Description R/W 32-bits 31:16 15:5 4:1 0 Reserved—RO. Base Address—R/W. Provides the 32 byte system I/O base address for the ICH3 SMB logic. Reserved—RO. I/O Space Indicator—RO. This read-only bit is always 1, indicating that the SMB logic is I/O mapped. Intel® 82801CA ICH3-S Datasheet 401 SMBus Controller Registers (D31:F3) 12.1.9 SVID—Subsystem Vendor ID Register (SMBUS—D31:F2/F4) Address Offset: Default Value: Lockable: Bit 2Ch–2Dh 00h No Attribute: Size: Power Well: Description RO 16 bits Core 15:0 Subsystem Vendor ID—RO. The SVID register, in combination with the Subsystem ID (SID) register, enables the operating system (OS) to distinguish subsystems from each other. The value returned by reads to this register is the same as that which was written by BIOS into the IDE_SVID register. 12.1.10 SID—Subsystem ID Register (SMBUS—D31:F2/F4) Address Offset: Default Value: Lockable: Bit 2Eh–2Fh 00h No Attribute: Size: Power Well: Description RO 16 bits Core 15:0 Subsystem ID—R/Write-Once. The SID register, in combination with the SVID register, enables the operating system (OS) to distinguish subsystems from each other. The value returned by reads to this register is the same as that which was written by BIOS into the IDE_SID register. 12.1.11 INTR_LN—Interrupt Line Register (SMBUS—D31:F3) Address Offset: Default Value: Bit 3Ch 00h Attributes: Size: Description R/W 8 bits 7:0 Interrupt Line (INT_LN)—R/W. This data is not used by the ICH3. It is to communicate to software the interrupt line that the interrupt pin is connected to PIRQB#. 12.1.12 INTR_PN—Interrupt Pin Register (SMBUS—D31:F3) Address Offset: Default Value: Bit 3Dh 02h Attributes: Size: Description RO 8 bits 7:0 Interrupt Pin (INT_PN)—RO. 02h = Indicates that the ICH3 SMBus Controller will drive PIRQB# as its interrupt line. 402 Intel® 82801CA ICH3-S Datasheet SMBus Controller Registers (D31:F3) 12.1.13 HOSTC—Host Configuration Register (SMBUS—D31:F3) Address Offset: Default Value: Bit 40h 00h Attribute: Size: Description R/W 8 bits 7:3 Reserved. I2C_EN—R/W. 2 0 = SMBus behavior. 1 = The ICH3 is enabled to communicate with I2C devices. This will change the formatting of some commands. SMB_SMI_EN—R/W. 0 = SMBus interrupts will not generate an SMI#. 1 = Any source of an SMB interrupt will instead be routed to generate an SMI#. Refer to Section 5.17.4, “Interrupts / SMI#” on page 5-205. This bit needs to be set for SMBALERT# to be enabled. SMBus Host Enable (HST_EN)—R/W. 1 0 0 = Disable the SMBus Host Controller. 1 = Enable. The SMB Host Controller interface is enabled to execute commands. The INTREN bit needs to be enabled for the SMB Host Controller to interrupt or SMI#. Note that the SMB Host Controller will not respond to any new requests until all interrupt requests have been cleared. Intel® 82801CA ICH3-S Datasheet 403 SMBus Controller Registers (D31:F3) 12.2 SMBus I/O Registers Table 12-2. SMB I/O Registers Offset Mnemonic Register Name Default Access 00h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Eh 0Fh 10h 11h 14h 16h 17h HST_STS HST_CNT HST_CMD XMIT_SLVA HST_D0 HST_D1 BLOCK_DB PEC RCV_SLVA SLV_DATA SMLINK_PIN_CTL SMBUS_PIN_CTL SLV_STS SLV_CMD NOTIFY_DADDR NOTIFY_DLOW NOTIFY_DHIGH Host Status Host Control Host Command Transmit Slave Address Host Data 0 Host Data 1 Block Data Byte Packet Error Check Receive Slave Address Slave Data SMLink Pin Control SMBus Pin Control Slave Status Slave Command Notify Device Address Notify Data Low Byte Notify Data High Byte 00h 00h 00h 00h 00h 00h 00h 00h 44h 0000h 04h 04h 00h 00h 00h 00h 00h R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/WC R/W RO RO RO 404 Intel® 82801CA ICH3-S Datasheet SMBus Controller Registers (D31:F3) 12.2.1 HST_STS—Host Status Register Register Offset: Default Value: 00h 00h Attribute: Size: R/WC 8-bits All status bits are set by hardware and cleared by the software writing a one to the particular bit position. Writing a zero to any bit position has no effect. Bit BYTE_DONE_STS—R/WC. Description 7 0 = Cleared by writing a 1 to the bit position. 1 = The ICH3 has received a byte (for Block Read commands) or if it has completed transmission of a byte (for Block Write commands). This bit will be set even on the last byte of the transfer. It will not be set when transmission is due to the Alert On LAN* heartbeat. INUSE_STS—R/WC (special). This bit is used as semaphore among various independent software threads that may need to use the ICH3’s SMBus logic, and has no other effect on hardware. 0 = After a full PCI reset, a read to this bit returns a 0. 1 = After the first read, subsequent reads will return a 1. A write of a 1 to this bit will reset the next read value to 0. Writing a 0 to this bit has no effect. Software can poll this bit until it reads a 0, and will then own the usage of the host controller. SMBALERT_STS—R/WC. 6 5 0 = Interrupt or SMI# was not generated by SMBALERT#. 1 = The source of the interrupt or SMI# was the SMBALERT# signal. This bit is only cleared by software writing a 1 to the bit position or by RSMRST# going low. If the signal is programmed as a GPIO, then this bit will never be set. FAILED—R/WC. 4 0 = Cleared by writing a 1 to the bit position. 1 = The source of the interrupt or SMI# was a failed bus transaction. This bit is set in response to the KILL bit being set to terminate the host transaction. BUS_ERR—R/WC. 0 = Cleared by writing a 1 to the bit position. 1 = The source of the interrupt of SMI# was a transaction collision. DEV_ERR—R/WC. 3 2 The source of the interrupt or SMI# was due to one of the following: • Illegal Command Field, • Unclaimed Cycle (host initiated), • Host Device Time-out Error.] 0 = Software resets this bit by writing a 1 to this location. The ICH3 will then deassert the interrupt or SMI#. INTR—R/WC (special). This bit can only be set by termination of a command. INTR is not dependent on the INTREN bit of the Host Controller Register (offset 02h). It is only dependent on the termination of the command. If the INTREN bit is not set, then the INTR bit will be set, although the interrupt will not be generated. Software can poll the INTR bit in this non-interrupt case. 0 = Software resets this bit by writing 1 to this location. The ICH3 will then deassert the interrupt or SMI#. 1 = The source of the interrupt or SMI# was the successful completion of its last command. HOST_BUSY—RO. 0 = Cleared by the ICH3 when the current transaction is completed. 1 = Indicates that the ICH3 is running a command from the host interface. No SMB registers should be accessed while this bit is set, except the BLOCK DATA BYTE Register. The BLOCK DATA BYTE Register can be accessed when this bit is set only when the SMB_CMD bits in the Host Control Register are programmed for Block command or I2C Read command. This is necessary in order to check the BYTE_DONE_STS bit. 1 0 Intel® 82801CA ICH3-S Datasheet 405 SMBus Controller Registers (D31:F3) 12.2.2 HST_CNT—Host Control Register Register Offset: Default Value: Bit 02h 00h Attribute: Size: Description R/W 8-bits 7 PEC_EN—R/W 0 = SMBus host controller does not perform the transaction with the PEC phase appended. 1 = Causes the host controller to perform the SMBus transaction with the Packet Error Checking phase appended. For writes, the value of the PEC byte is transferred from the PEC Register. For reads, the PEC byte is loaded in to the PEC Register. This bit must be written prior to the write in which the START bit is set. START—WO. 0 = This bit will always return 0 on reads. The HOST_BUSY bit in the Host Status register (offset 00h) can be used to identify when the ICH3 has finished the command. 1 = Writing a 1 to this bit initiates the command described in the SMB_CMD field. All registers should be setup prior to writing a 1 to this bit position. LAST_BYTE—WO. This bit is used for Block Read commands. 1 = Software sets this bit to indicate that the next byte will be the last byte to be received for the block. This causes the ICH3 to send a NACK (instead of an ACK) after receiving the last byte. 6 5 NOTE: Once the SECOND_TO_STS bit in TCO2_STS register (D31:F0, TCOBASE+6h, bit 1) is set, the LAST_BYTE bit also gets set. While the SECOND_TO_STS bit is set, the LAST_BYTE bit cannot be cleared. This prevents the ICH3 from running some of the SMBus commands (Block Read/Write, I2C Read, Block I2C Write). SMB_CMD—R/W. The bit encoding below indicates which command the ICH3 is to perform. If enabled, the ICH3 will generate an interrupt or SMI# when the command has completed If the value is for a non-supported or reserved command, the ICH3 will set the device error (DEV_ERR) status bit and generate an interrupt when the START bit is set. The ICH3 will perform no command, and will not operate until DEV_ERR is cleared. 000 = Quick: The slave address and read/write value (bit 0) are stored in the transmit slave address register. 001 = Byte: This command uses the transmit slave address and command registers. Bit 0 of the slave address register determines if this is a read or write command. 010 = Byte Data: This command uses the transmit slave address, command, and DATA0 registers. Bit 0 of the slave address register determines if this is a read or write command. If it is a read, the DATA0 register will contain the read data. 011 = Word Data: This command uses the transmit slave address, command, DATA0 and DATA1 registers. Bit 0 of the slave address register determines if this is a read or write command. If it is a read, after the command completes, DATA0 and DATA1 registers contain the read data. 100 = Process Call: This command uses the transmit slave address, command, DATA0 and DATA1 registers. Bit 0 of the slave address register determines if this is a read or write command. After the command completes, the DATA0 and DATA1 registers will contain the read data. 101 = Block: This command uses the transmit slave address, command, DATA0 registers, and the Block Data Byte register. For block write, the count is stored in the DATA0 register and indicates how many bytes of data will be transferred. For block reads, the count is received and stored in the DATA0 register. Bit 0 of the slave address register selects if this is a read or write command. For writes, data is retrieved from the first n (where n is equal to the specified count) addresses of the SRAM array. For reads, the data is stored in the Block Data Byte register. 110 = I2C Read: This command uses the transmit slave address, command, DATA0, DATA1 registers, and the Block Data Byte register. The read data is stored in the Block Data Byte register. The ICH3 will continue reading data until the NAK is received. 111 = Reserved. KILL—R/W. 0 = Normal SMBus Host Controller functionality. 1 = When set, kills the current host transaction taking place, sets the FAILED status bit, and asserts the interrupt (or SMI#). This bit, once set, must be cleared by software to allow the SMBus Host Controller to function normally. INTREN—R/W. 0 = Disable. 1 = Enable the generation of an interrupt or SMI# upon the completion of the command. 4:2 1 0 406 Intel® 82801CA ICH3-S Datasheet SMBus Controller Registers (D31:F3) 12.2.3 HST_CMD—Host Command Register Register Offset: Default Value: Bit 03h 00h Attribute: Size: Description R/W 8 bits 7:0 This eight bit field is transmitted by the host controller in the command field of the SMBus protocol during the execution of any command. 12.2.4 XMIT_SLVA—Transmit Slave Address Register Register Offset: Default Value: 04h 00h Attribute: Size: R/W 8 bits This register is transmitted by the host controller in the slave address field of the SMBus protocol. Bit Description Address—R/W. 7-bit address of the targeted slave. Read/Write Control (RW)—R/W. Direction of the host transfer. 7:1 0 0 = Write. 1 = Read. 12.2.5 HST_D0—Data 0 Register Register Offset: Default Value: Bit 05h 00h Attribute: Size: Description R/W 8 bits 7:0 DATA0/COUNT—R/W. This field contains the eight bit data sent in the DATA0 field of the SMBus protocol. For block write commands, this register reflects the number of bytes to transfer. This register should be programmed to a value between 1 and 32 for block counts. A count of 0 or a count above 32 will result in unpredictable behavior. The host controller does not check or log illegal block counts. 12.2.6 HST_D1—Data 1 Register Register Offset: Default Value: Bit 06h 00h Attribute: Size: Description R/W 8 bits 7:0 DATA1—R/W. This eight bit register is transmitted in the DATA1 field of the SMBus protocol during the execution of any command. Intel® 82801CA ICH3-S Datasheet 407 SMBus Controller Registers (D31:F3) 12.2.7 BLOCK_DB—Block Data Byte Register Register Offset: Default Value: Bit 07h 00h Attribute: Size: Description R/W 8 bits 7:0 Block Data Byte—R/W. For Block Writes, the software will write the first byte to this register as part of the setup for this command. After the ICH3 has sent the Address, Command, and Byte Count fields, it will send the byte in the Block Data Byte register. After the byte has been sent, the ICH3 will set the BYTE_DONE_STS bit in the Host Status register. If there are more bytes to send, the software then writes the next byte to the Block Data Byte register and subsequently clears the BYTE_DONE_STS bit. The ICH3 will then send the next byte. During the time from when a byte has been transmitted to when the next byte has been loaded, the ICH3 will insert wait-states on the SMBus/I 2C. A similar process will be used for Block Reads. After receiving the byte count (which goes in the DATA 0 register), the first “data byte” goes in the Block Data Byte register and the ICH3 will generate an SMI# or interrupt (depending on configuration). The interrupt or SMI# handler will then read the byte and clear the BYTE_DONE_STS bit. This will free room for the next byte. During the time from when a byte is read to when the BYTE_DONE_STS bit is cleared, the ICH3 will insert wait-states on the SMBus/I 2C. 12.2.8 ) PEC—Packet Error Check (PEC) Register Register Offset: Default Value: Bit 08h 00h Attribute: Size: Description R/W 8 bits 7:0 PEC_DATA—R/W. This 8-bit register is written with the 8-bit CRC value that is used as the SMBus PEC data prior to a write transaction. For read transactions, the PEC data is loaded from the SMBus into this register and is then read by software. Software must ensure that the INUSE_STS bit is properly maintained to avoid having this field over-written by a write transaction following a read transaction. 12.2.9 RCV_SLVA—Receive Slave Address Register Register Offset: Default Value: Lockable: Bit 09h 44h No Attribute: Size: Power Well: Description R/W 8 bits Resume 7 6:0 Reserved. SLAVE_ADDR—R/W. This field is the slave address that the ICH3 decodes for read and write cycles. the default is not 0, so the SMBus Slave Interface can respond even before the processor comes up (or if the processor is dead). This register is cleared by RSMRST#, but not by PCIRST#. 408 Intel® 82801CA ICH3-S Datasheet SMBus Controller Registers (D31:F3) 12.2.10 SLV_DATA—Receive Slave Data Register Register Offset: Default Value: Lockable: 0Ah 00h No Attribute: Size: Power Well: RO 16 bits Resume This register contains the 16-bit data value written by the external SMBus master. The processor can then read the value from this register. This register is reset by RSMRST#, but not PCIRST# . Bit Description Data Message Byte 1 (DATA_MSG1)—RO. See Section 5.17.6 for a discussion of this field. Data Message Byte 0 (DATA_MSG0)—RO. See Section 5.17.6 for a discussion of this field. 15:8 7:0 12.2.11 SMLINK_PIN_CTL—SMLink Pin Control Register Register Offset: Default Value: 0Eh See below Attribute: Size: R/W 8 bits Note: This register is in the resume well and is reset by RSMRST# Bit Description 7:3 Reserved. SMLINK_CLK_CTL—R/W. This Read/Write bit has a default of 1. 0 = ICH3 will drive the SMLINK[0] pin low, independent of what the other SMLINK logic would otherwise indicate for the SMLINK[0] pin. 1 = The SMLINK[0] pin is Not overdriven low. The other SMLINK logic controls the state of the pin. SMLINK[1]_CUR_STS—R/W. This read-only bit has a default value that is dependent on an external signal level. This pin returns the value on the SMLINK[1] pin. It will be 1 to indicate high, 0 to indicate low. This allows software to read the current state of the pin. SMLINK[0]_CUR_STS—R/W. This read-only bit has a default value that is dependent on an external signal level. This pin returns the value on the SMLINK[0] pin. It will be 1 to indicate high, 0 to indicate low. This allows software to read the current state of the pin. 2 1 0 12.2.12 SMBUS_PIN_CTL—SMBus Pin Control Register Register Offset: Default Value: 0Fh See below Attribute: Size: R/W 8 bits Note: This register is in the resume well and is reset by RSMRST#. Bit Description 7:3 Reserved. SMBCLK_CTL—R/W. This Read/Write bit has a default of 1. 0 = ICH3 will drive the SMBCLK pin low, independent of what the other SMB logic would otherwise indicate for the SMBCLK pin. 1 = The SMBCLK pin is Not overdriven low. The other SMBus logic controls the state of the pin. SMBDATA_CUR_STS—R/W. This read-only bit has a default value that is dependent on an external signal level. This pin returns the value on the SMBDATA pin. It will be 1 to indicate high, 0 to indicate low. This allows software to read the current state of the pin. SMBCLK_CUR_STS—R/W. This read-only bit has a default value that is dependent on an external signal level. This pin returns the value on the SMBCLK pin. It will be 1 to indicate high, 0 to indicate low. This allows software to read the current state of the pin. 2 1 0 Intel® 82801CA ICH3-S Datasheet 409 SMBus Controller Registers (D31:F3) 12.2.13 SLV_STS—Slave Status Register Register Offset: Default Value: 10h 00h Attribute: Size: R/WC 8 bits Note: This register is in the resume well and is reset by RSMRST#. All bits in this register are implemented in the 64 kHz clock domain. Therefore, software must poll this register until a write takes effect before assuming that a write has completed internally. Bit Description 7:1 Reserved. HOST_NOTIFY_STS—R/WC. The ICH3 sets this bit to a 1 when it has completely received a successful Host Notify Command on the SMLink pins. Software reads this bit to determine that the source of the interrupt or SMI# was the reception of the Host Notify Command. Software clears this bit after reading any information needed from the Notify address and data registers by writing a 1 to this bit. Note that the ICH3 will allow the Notify Address and Data registers to be over-written once this bit has been cleared. When this bit is 1, the ICH3 will NACK the first byte (host address) of any new “Host Notify” commands on the SMLink. Writing a 0 to this bit has no effect. 0 12.2.14 SLV_CMD—Slave Command Register Register Offset: Default Value: 11h 00h Attribute: Size: R/W 8 bits Note: This register is in the resume well and is reset by RSMRST# Bit Description 7:2 Reserved. SMBALERT_DIS—R/W. 0 = Allows the generation of the interrupt or SMI#. 1 = Software sets this bit to block the generation of the interrupt or SMI# due to the SMBALERT# source. This bit is logically inverted and ANDed with the SMBALERT_STS bit. The resulting signal is distributed to the SMI# and/or interrupt generation logic. This bit does not effect the wake logic. HOST_NOTIFY_WKEN—R/W. Software sets this bit to 1 to enable the reception of a Host Notify command as a wake event. When enabled this event is “OR”ed in with the other SMBus wake events and is reflected in the SMB_WAK_STS bit of the General Purpose Event 0 Status register. HOST_NOTIFY_INTREN—R/W. Software sets this bit to 1 to enable the generation of interrupt or SMI# when HOST_NOTIFY_STS is 1. This enable does not affect the setting of the HOST_NOTIFY_STS bit. When the interrupt is generated, either PIRQ[B]# or SMI# is generated, depending on the value of the SMB_SMI_EN bit (D31, F3, Off40h, B1). If the HOST_NOTIFY_STS bit is set when this bit is written to a 1, then the interrupt (or SMI#) will be generated. The interrupt (or SMI#) is logically generated by ANDing the STS and INTREN bits. 2 1 0 410 Intel® 82801CA ICH3-S Datasheet SMBus Controller Registers (D31:F3) 12.2.15 NOTIFY_DADDR—Notify Device Address Register Offset: Default Value: 14h 00h Attribute: Size: RO 8 bits Note: This register is in the resume well and is reset by RSMRST#. Bit Description DEVICE_ADDRESS—RO. This field contains the 7-bit device address received during the Host Notify protocol of the SMBus 2.0 specification. Software should only consider this field valid when the HOST_NOTIFY_STS bit is set to 1. 7:1 0 Reserved. 12.2.16 NOTIFY_DLOW—Notify Data Low Byte Register Register Offset: Default Value: 16h 00h Attribute: Size: RO 8 bits Note: This register is in the resume well and is reset by RSMRST#. Bit Description DATA_LOW_BYTE—RO. This field contains the first (low) byte of data received during the Host Notify protocol of the SMBus 2.0 specification. Software should only consider this field valid when the HOST_NOTIFY_STS bit is set to 1. 7:0 12.2.17 NOTIFY_DHIGH—Notify Data High Byte Register Register Offset: Default Value: 17h 00h Attribute: Size: RO 8 bits Note: This register is in the resume well and is reset by RSMRST#. Bit Description DATA_HIGH_BYTE—RO. This field contains the second (high) byte of data received during the Host Notify protocol of the SMBus 2.0 specification. Software should only consider this field valid when the HOST_NOTIFY_STS bit is set to 1. 7:0 Intel® 82801CA ICH3-S Datasheet 411 SMBus Controller Registers (D31:F3) This page is intentionally left blank. 412 Intel® 82801CA ICH3-S Datasheet AC ’97 Audio Controller Registers (D31:F5) AC ’97 Audio Controller Registers (D31:F5) 13.1 Note: 13 AC ’97 Audio PCI Configuration Space (D31:F5) Registers that are not shown should be treated as Reserved (See Section 6.2 for details). Table 13-1. PCI Configuration Map (Audio—D31:F5) Offset Mnemonic Register Default Access 00–01h 02–03h 04–05h 06–07h 08h 09h 0Ah 0Bh 0Eh 10–13h 14–17h 2C–2Dh 2E–2Fh 3Ch 3Dh 40h VID DID PCICMD PCISTS RID PI SCC BCC HEDT NAMBAR NABMBAR SVID SID INTR_LN INTR_PN PCID Vendor Identification Device Identification PCI Command PCI Device Status Revision Identification Programming Interface Sub Class Code Base Class Code Header Type Native Audio Mixer Base Address Native Audio Bus Mastering Base Address Subsystem Vendor ID Subsystem ID Interrupt Line Interrupt Pin Programmable Codec ID 8086h 2485h 0000 0280h See Note 00 01h 04h 00 00000001h 00000001h 0000h 0000h 00h 02h 01h RO RO R/W R/WC RO RO RO RO RO R/W R/W Write-Once Write-Once R/W RO R/W NOTE: Refer to the Specification Update for the Revision ID. 13.1.1 VID—Vendor Identification Register (Audio—D31:F5) Offset: Default Value: Lockable: Bit 00–01h 8086h No Attribute: Size: Power Well: Description RO 16 Bits Core 15:0 Vendor Identification Value. This is a 16-bit value assigned to Intel. Intel® 82801CA ICH3-S Datasheet 413 AC ’97 Audio Controller Registers (D31:F5) 13.1.2 DID—Device Identification Register (Audio—D31:F5) Offset: Default Value: Lockable: Bit 02–03h 2485h No Attribute: Size: Power Well: Description RO 16 Bits Core 15:0 Device Identification Value. 13.1.3 PCICMD—PCI Command Register (Audio—D31:F5) Address Offset: Default Value: Lockable: 04–05h 0000h No Attribute: Size: Power Well: R/W 16 bits Core PCICMD is a 16-bit control register. Refer to the PCI 2.2 specification for complete details on each bit. Bit Description 15:10 9 8 7 6 5 4 3 2 1 Reserved. Read 0. Fast Back to Back Enable (FBE). Not implemented. Hardwired to 0. SERR# Enable (SERR_EN). Not implemented. Hardwired to 0. Wait Cycle Control (WCC). Not implemented. Hardwired to 0. Parity Error Response (PER). Not implemented. Hardwired to 0. VGA Palette Snoop (VPS). Not implemented. Hardwired to 0. Memory Write and Invalidate Enable (MWIE). Not implemented. Hardwired to 0. Special Cycle Enable (SCE). Not implemented. Hardwired to 0. Bus Master Enable (BME)—R/W. Controls standard PCI bus mastering capabilities. 0 = Disable. 1 = Enable. Memory Space Enable (MSE). Hardwired to 0, AC ’97 does not respond to memory accesses I/O Space Enable (IOE)—R/W. This bit controls access to the AC ’97 Audio Controller I/O space registers. 0 0 = Disable (Default). 1 = Enable access to I/O space. The Native PCI Mode Base Address register should be programmed prior to setting this bit. 414 Intel® 82801CA ICH3-S Datasheet AC ’97 Audio Controller Registers (D31:F5) 13.1.4 PCISTS—PCI Device Status Register (Audio—D31:F5) Offset: Default Value Lockable: 06–07h 0280h No Attribute: Size: Power Well: R/WC 16 bits Core PCISTA is a 16-bit status register. Refer to the PCI 2.2 specification for complete details on each bit. Bit Description 15 14 13 12 11 10:9 8 7 6 5 4:0 Detected Parity Error (DPE). Not implemented. Hardwired to 0. Signaled System Error (SSE). Not implemented. Hardwired to 0. Master Abort Status (MAS)—R/WC. 0 = Software clears this bit by writing a 1 to the bit position. 1 = Bus Master AC ’97 2.2 interface function, as a master, generates a master abort. Reserved. Will always read as 0. Signaled Target Abort (STA). Not implemented. Hardwired to 0. DEVSEL# Timing Status (DEV_STS)—RO. This 2-bit field reflects the ICH3's DEVSEL# timing when performing a positive decode. 01b = Medium timing. Data Parity Error Detected (DPED). Not implemented. Hardwired to 0. Fast Back to Back (FB2B). Hardwired to 1. This bit indicates that the ICH3 as a target is capable of fast back-to-back transactions. User Definable Features (UDF). Not implemented. Hardwired to 0. 66 MHz Capable (66MHZ_CAP). Hardwired to 0. Reserved. Read as 0s. 13.1.5 RID—Revision Identification Register (Audio—D31:F5) Offset: Default Value: Lockable: Bit 08h See Note No Attribute: Size: Power Well: Description RO 8 Bits Core 7:0 Revision Identification Value—RO. NOTE: Refer to the Specification Update for the Revision ID. 13.1.6 PI—Programming Interface Register (Audio—D31:F5) Offset: Default Value: Lockable: Bit 09h 00h No Attribute: Size: Power Well: Description RO 8 bits Core 7:0 Programming Interface Value—RO. Intel® 82801CA ICH3-S Datasheet 415 AC ’97 Audio Controller Registers (D31:F5) 13.1.7 SCC—Sub Class Code Register (Audio—D31:F5) Address Offset: Default Value: Lockable: Bit 0Ah 01h No Attribute: Size: Power Well: Description RO 8 bits Core 7:0 Sub Class Code—RO. 01h = Audio Device. 13.1.8 BCC—Base Class Code Register (Audio—D31:F5) Address Offset: Default Value: Lockable: Bit 0Bh 04h No Attribute: Size: Power Well: Description RO 8 bits Core 7:0 Base Class Code—RO. 04h = Multimedia device. 13.1.9 HEDT—Header Type Register (Audio—D31:F5) Address Offset: Default Value: Lockable: Bit 0Eh 00h No Attribute: Size: Power Well: Description RO 8 bits Core 7:0 Header Type. Hardwired to 00h. 416 Intel® 82801CA ICH3-S Datasheet AC ’97 Audio Controller Registers (D31:F5) 13.1.10 NAMBAR—Native Audio Mixer Base Address Register (Audio—D31:F5) Address Offset: Default Value: Lockable: 10–13h 00000001h No Attribute: Size: Power Well: R/W 32 bits Core The Native PCI Mode Audio function uses PCI Base Address register #1 to request a contiguous block of I/O space that is to be used for the Native Audio Mixer software interface. The mixer requires 256 bytes of I/O space. Native Audio Mixer and Modem codec I/O registers are located from 00h to 7Fh and reside in the codec. Access to these registers will be decoded by the AC ’97 controller and forwarded over the AC-link to the codec. The codec will then respond with the register value. In the case of the split codec implementation, accesses to the different codecs are differentiated by the controller by using address offsets 00h–7Fh for the primary codec and address offsets 80h–FEh for the secondary codec. For description of these I/O registers, refer to the Audio Codec ’97, Revision 2.2 specification. Bit Description 31:16 Hardwired to 0s. Base Address—R/W. These bits are used in the I/O space decode of the Native Audio Mixer interface registers. The number of upper bits that a device actually implements depends on how much of the address space the device will respond to. For the AC ’97 mixer, the upper 16 bits are hardwired to 0, while bits 15:8 are programmable. This configuration yields a maximum I/O block size of 256 bytes for this base address. 15:8 7:1 0 Reserved. Read as 0s. Resource Type Indicator (RTE)—RO. Hardwired to 1, indicating a request for I/O space. 13.1.11 NABMBAR—Native Audio Bus Mastering Base Address Register (Audio—D31:F5) Address Offset: Default Value: Lockable: 14–17h 00000001h No Attribute: Size: Power Well: R/W 32 bits Core The Native PCI Mode Audio function uses PCI Base Address register #1 to request a contiguous block of I/O space that is to be used for the Native Mode Audio software interface. Bit Description 31:16 Hardwired to 0s. Base Address—R/W. These bits are used in the I/O space decode of the Native Audio Bus Mastering interface registers. The number of upper bits that a device actually implements depends on how much of the address space the device will respond to. For AC ’97 bus mastering, the upper 16 bits are hardwired to 0, while bits 15:6 are programmable. This configuration yields a maximum I/O block size of 64 bytes for this base address. 15:6 5:1 0 Reserved. Read as 0s. Resource Type Indicator (RTE)—RO. This bit is set to one, indicating a request for I/O space. Intel® 82801CA ICH3-S Datasheet 417 AC ’97 Audio Controller Registers (D31:F5) 13.1.12 SVID—Subsystem Vendor ID Register (Audio—D31:F5) Address Offset: Default Value: Lockable: 2D–2Ch 0000h No Attribute: Size: Power Well: Read/Write-Once 16 bits Core The SVID register, in combination with the Subsystem ID register, enable the operating environment to distinguish one audio subsystem from the other(s). This register is implemented as write-once register. Once a value is written to it, the value can be read back. Any subsequent writes will have no effect. Bit Description Subsystem Vendor ID—R/WO. 15:0 13.1.13 SID—Subsystem ID Register (Audio—D31:F5) Address Offset: Default Value: Lockable: 2E–2Fh 0000h No Attribute: Size: Power Well: Read/Write-Once 16 bits Core The SID register, in combination with the Subsystem Vendor ID register make it possible for the operating environment to distinguish one audio subsystem from the other(s). This register is implemented as write-once register. Once a value is written to it, the value can be read back. Any subsequent writes will have no effect. Bit Description Subsystem ID—R/WO. 15:0 13.1.14 INTR_LN—Interrupt Line Register (Audio—D31:F5) Address Offset: Default Value: Lockable: 3Ch 00h No Attribute: Size: Power Well: R/W 8 bits Core This register indicates which PCI interrupt line is used for the AC ’97 module interrupt. Bit Description Interrupt Line (INT_LN)—R/W. This data is not used by the ICH3. It is used to communicate to software the interrupt line that the interrupt pin is connected to. 7:0 418 Intel® 82801CA ICH3-S Datasheet AC ’97 Audio Controller Registers (D31:F5) 13.1.15 INTR_PN—Interrupt Pin Register (Audio—D31:F5) Address Offset: Default Value: Lockable: 3Dh 02h No Attribute: Size: Power Well: RO 8 bits Core This register indicates which PCI interrupt pin is used for the AC ’97 module interrupt. The AC ’97 interrupt is internally OR’ed to the interrupt controller with the PIRQB# signal. Bit Description 7:3 2:0 Reserved. Interrupt Pin (INT_PN)—RO. Hardwired to 010b to select PIRQB#. 13.1.16 PCID—Programmable Codec ID Register (Audio—D31:F5) Address Offset: Default Value: Lockable: 40h 01h No Attribute: Size: Power Well: R/W 8 bits Core Note: The value in this register must only be modified prior to any AC ’97 codec accesses. Bit Description 7:2 Reserved. Secondary Codec ID (SCID)—R/W. These two bits define the encoded ID that is used to address the secondary codec I/O space. The two bits are the ID that will be placed on slot-0, bits 0 and 1, upon an I/O access to the secondary codec. Bit 1 is the first bit sent and bit 0 is the second bit sent on AC_SDATA_OUT during slot 0. 1:0 Intel® 82801CA ICH3-S Datasheet 419 AC ’97 Audio Controller Registers (D31:F5) 13.2 AC ’97 Audio I/O Space (D31:F5) The AC ’97 I/O space includes Native Audio Bus Master Registers and Native Mixer Registers. Table 13-2 shows the register addresses for the audio mixer registers. Table 13-2. Intel® ICH3 Audio Mixer Register Configuration Primary offset Secondary Offset NAMBAR Exposed Registers (D31:F5) 00h 02h 04h 06h 08h 0Ah 0Ch 0Eh 10h 12h 14h 16h 18h 1Ah 1Ch 1Eh 20h 22h 24h 26h 28h 2Ah 2Ch 2Eh 30h 32h 34h 36h 38h 3A–56h 58h 7Ah 7Ch 7Eh 80h 82h 84h 86h 88h 8Ah 8Ch 8Eh 90h 92h 94h 96h 98h 9Ah 9Ch 9Eh A0h A2h A4h A6h A8h AAh ACh AEh B0h B2h B4h B6h B8h BA–F6h Reset Master Volume Mute Headphone Volume Mute Master Volume Mono Mute Master Tone (R & L) PC_BEEP Volume Mute Phone Volume Mute Mic Volume Mute Line In Volume Mute CD Volume Mute Video Volume Mute Aux Volume Mute PCM Out Volume Mute Record Select Record Gain Mute Record Gain Mic Mute General Purpose 3D Control AC ’97 RESERVED Powerdown Ctrl/Stat Extended Audio Extended Audio Ctrl/Stat PCM Front DAC Rate PCM Surround DAC Rate PCM LFE DAC Rate PCM LR ADC Rate MIC ADC Rate 6Ch Vol: C, LFE Mute 6Ch Vol: L, R Surround Mute Intel RESERVED Vendor Reserved Vendor Reserved Vendor ID1 Vendor ID2 NOTE: 1. Registers in bold are multiplexed between audio and modem functions 2. Software should not try to access reserved registers 420 Intel® 82801CA ICH3-S Datasheet AC ’97 Audio Controller Registers (D31:F5) The Bus Master registers are located from offset + 00h to offset + 51h and reside in the AC ’97 controller. Accesses to these registers do not cause the cycle to be forwarded over the AC-link to the codec. In the case of the split codec implementation accesses to the different codecs are differentiated by the controller by using address offsets 00h–7Fh for the primary codec and address offsets 80h–FEh for the secondary codec. The Global Control (GLOB_CNT) and Global Status (GLOB_STA) registers are aliased to the same global registers in the audio and modem I/O space. Therefore a read/write to these registers in either audio or modem I/O space affects the same physical register. Bus Mastering registers exist in I/O space and reside in the AC ’97 controller. The three channels, PCM in, PCM out, and Mic in, each have their own set of Bus Mastering registers. The following register descriptions apply to all three channels. The register definition section titles use a generic “x_” in front of the register to indicate that the register applies to all three channels. The naming prefix convention used in Table 13-3 and in the register description I/O address is as follows: PI = PCM in channel PO = PCM out channel MC = Mic in channel. Intel® 82801CA ICH3-S Datasheet 421 AC ’97 Audio Controller Registers (D31:F5) Table 13-3. Native Audio Bus Master Control Registers Offset Mnemonic Name Default Access 00h 04h 05h 06h 08h 0Ah 0Bh 10h 14h 15h 16h 18h 1Ah 1Bh 20h 24h 25h 26h 28h 2Ah 2Bh 2Ch 30h 34h PI_BDBAR PI_CIV PI_LVI PI_SR PI_PICB PI_PIV PI_CR PO_BDBAR PO_CIV PO_LVI PO_SR PO_PICB PO_PIV PO_CR MC_BDBAR PM_CIV MC_LVI MC_SR MC_PICB MC_PIV MC_CR GLOB_CNT GLOB_STA ACC_SEMA PCM In Buffer Descriptor list Base Address Register PCM In Current Index Value PCM In Last Valid Index PCM In Status Register PCM In Position In Current Buffer PCM In Prefetched Index Value PCM In Control Register PCM Out Buffer Descriptor list Base Address Register PCM Out Current Index Value PCM Out Last Valid Index PCM Out Status Register PCM Out Position In Current Buffer PCM Out Prefetched Index Value PCM Out Control Register Mic. In Buffer Descriptor list Base Address Register Mic. In Current Index Value Mic. In Last Valid Index Mic. In Status Register Mic In Position In Current Buffer Mic. In Prefetched Index Value Mic. In Control Register Global Control Global Status Codec Write Semaphore Register 00000000h 00h 00h 0001h 0000h 00h 00h 00000000h 00h 00h 0001h 0000h 00h 00h 00000000h 00h 00h 0001h 0000h 00h 00h 00000000h 00000000h 00h R/W RO R/W R/W RO RO R/W R/W RO R/W R/W RO RO R/W R/W RO R/W R/W RO RO R/W R/W RO R/W 13.2.1 x_BDBAR—Buffer Descriptor Base Address Register I/O Address: Default Value: Lockable: Bit NABMBAR + 00h (PIBDBAR), Attribute: NABMBAR + 10h (POBDBAR), NABMBAR + 20h (MCBDBAR) 00000000h Size: No Power Well: Description R/W 32 bits Core 31:3 2:0 Buffer Descriptor Base Address[31:3]—R/W. These bits represent address bits 31:3. The data should be aligned on 8-byte boundaries. Each buffer descriptor is 8 bytes long and the list can contain a maximum of 32 entries. Hardwired to 0. 422 Intel® 82801CA ICH3-S Datasheet AC ’97 Audio Controller Registers (D31:F5) 13.2.2 x_CIV—Current Index Value Register I/O Address: Default Value: Lockable: NABMBAR + 04h (PICIV), NABMBAR + 14h (POCIV), NABMBAR + 24h (MCCIV) 00h No Attribute: Size: Power Well: RO 8 bits Core Software can read the registers at offsets 04h, 05h and 06h simultaneously by performing a single 32-bit read from address offset 04h. Software can also read this register individually by doing a single 8-bit read to offset 04h. Bit Description 7:5 4:0 Hardwired to 0. Current Index Value[4:0]—RO. These bits represent which buffer descriptor within the list of 32 descriptors is currently being processed. As each descriptor is processed, this value is incremented. The value rolls over after it reaches 31. 13.2.3 x_LVI—Last Valid Index Register I/O Address: Default Value: Lockable: NABMBAR + 05h (PILVI), NABMBAR + 15h (POLVI), NABMBAR + 25h (MCLVI) 00h No Attribute: Size: Power Well: R/W 8 bits Core Software can read the registers at offsets 04h, 05h and 06h simultaneously by performing a single 32 bit read from address offset 04h. Software can also read this register individually by doing a single 8 bit read to offset 05h. Bit Description 7:5 4:0 Hardwired to 0. Last Valid Index[4:0]—R/W. This value represents the last valid descriptor in the list. This value is updated by the software each time it prepares a new buffer and adds it to the list. Intel® 82801CA ICH3-S Datasheet 423 AC ’97 Audio Controller Registers (D31:F5) 13.2.4 x_SR—Status Register I/O Address: Default Value: Lockable: Bit NABMBAR + 06h (PISR), NABMBAR + 16h (POSR), NABMBAR + 26h (MCSR) 0001h No Attribute: Size: Power Well: Description R/WC, RO 16 bits Core 15:5 Reserved. FIFO Error (FIFOE)—R/WC. 4 0 = Cleared by writing a 1 to this bit position. 1 = FIFO error occurs. PISR Register: FIFO error indicates a FIFO overrun. The FIFO pointers don't increment, the incoming data is not written into the FIFO, thus is lost. POSR Register: FIFO error indicates a FIFO underrun. The sample transmitted in this case should be the last valid sample. The ICH3 will set the FIFOE bit if the under-run or overrun occurs when there are more valid buffers to process. Buffer Completion Interrupt Status (BCIS)—R/WC. 3 0 = Cleared by writing a 1 to this bit position. 1 = Set by the hardware after the last sample of a buffer has been processed, AND if the Interrupt on Completion (IOC) bit is set in the command byte of the buffer descriptor. It remains active until cleared by software. Last Valid Buffer Completion Interrupt (LVBCI)—R/WC. 2 0 = Cleared by writing a 1 to this bit position. 1 = Last valid buffer has been processed. It remains active until cleared by software. This bit indicates the occurrence of the event signified by the last valid buffer being processed. Thus this is an event status bit that can be cleared by software once this event has been recognized. This event will cause an interrupt if the enable bit in the Control Register is set. The interrupt is cleared when the software clears this bit. In the case of Transmits (PCM out, Modem out) this bit is set, after the last valid buffer has been fetched (not after transmitting it). While in the case of Receives, this bit is set after the data for the last buffer has been written to memory. Current Equals Last Valid (CELV)—RO. 1 0 = Cleared by hardware when controller exists state (i.e., until a new value is written to the LVI register.) 1 = Current Index is equal to the value in the Last Valid Index Register, and the buffer pointed to by the CIV has been processed (i.e., after the last valid buffer has been processed). This bit is very similar to bit 2, except this bit reflects the state rather than the event. This bit reflects the state of the controller, and remains set until the controller exits this state. DMA Controller Halted (DCH)—RO. 1 = Halted. This could happen because of the Start/Stop bit being cleared, or it could happen once the controller has processed the last valid buffer (in which case it will set bit 1 and halt). 0 Software can read the registers at offsets 04h, 05h and 06h simultaneously by performing a single 32-bit read from address offset 04h. Software can also read this register individually by doing a single 16-bit read to offset 06h. 424 Intel® 82801CA ICH3-S Datasheet AC ’97 Audio Controller Registers (D31:F5) 13.2.5 x_PICB—Position In Current Buffer Register I/O Address: Default Value: Lockable: Bit NABMBAR + 08h (PIPICB), NABMBAR + 18h (POPICB), NABMBAR + 28h (MCPICB) 0000h No Attribute: Size: Power Well: Description RO 16 bits Core 15:0 Position In Current Buffer[15:0]—RO. These bits represent the number of DWords left to be processed in the current buffer. Once again, this means, the number of samples not yet read from memory (in the case of reads from memory) or not yet written to memory (in the case of writes to memory), irrespective of the number of samples that have been transmitted/received across AClink. Software can read the registers at the offsets 08h, 0Ah, and 0Bh by performing a 32-bit read from the address offset 08h. Software can also read this register individually by doing a single 16-bit read to offset 08h. 13.2.6 x_PIV—Prefetched Index Value Register I/O Address: Default Value: Lockable: Bit NABMBAR + 0Ah (PIPIV), NABMBAR + 1Ah (POPIV), NABMBAR + 2Ah (MCPIV) 00h No Attribute: Size: Power Well: Description RO 8 bits Core 7:5 4:0 Hardwired to 0. Prefetched Index Value[4:0]—RO. These bits represent which buffer descriptor in the list has been prefetched. The bits in this register are also modulo 32 and roll over after they reach 31. Software can read the registers at the offsets 08h, 0Ah, and 0Bh by performing a 32-bit read from the address offset 08h. Software can also read this register individually by doing a single 8-bit read to offset 0Ah. Intel® 82801CA ICH3-S Datasheet 425 AC ’97 Audio Controller Registers (D31:F5) 13.2.7 x_CR—Control Register I/O Address: Default Value: Lockable: Bit NABMBAR + 0Bh (PICR), NABMBAR + 1Bh (POCR), NABMBAR + 2Bh (MCCR) 00h No Attribute: Size: Power Well: Description R/W 8 bits Core 7:5 Reserved. Interrupt On Completion Enable (IOCE)—R/W. This bit controls whether or not an interrupt occurs when a buffer completes with the IOC bit set in its descriptor. 4 0 = Disable. Interrupt will not occur. 1 = Enable. FIFO Error Interrupt Enable (FEIE)—R/W. This bit controls whether the occurrence of a FIFO error will cause an interrupt or not. 3 0 = Disable. Bit 4 in the Status Register will be set, but the interrupt will not occur. 1 = Enable. Interrupt will occur. Last Valid Buffer Interrupt Enable (LVBIE)—R/W. This bit controls whether the completion of the last valid buffer will cause an interrupt or not. 2 0 = Disable. Bit 2 in the Status register will still be set, but the interrupt will not occur. 1 = Enable. Reset Registers (RR)—R/W (special). 1 0 = Removes reset condition. 1 = Contents of all Bus master related registers to be reset, except the interrupt enable bits (bit 4,3,2 of this register). Software needs to set this bit but need not clear it since the bit is self clearing. This bit must be set only when the Run/Pause bit is cleared. Setting it when the Run bit is set will cause undefined consequences. Run/Pause Bus Master (RPBM)—R/W. 0 0 = Pause bus master operation. This results in all state information being retained (i.e., master mode operation can be stopped and then resumed). 1 = Run. Bus master operation starts. Software can read the registers at the offsets 08h, 0Ah, and 0Bh by performing a 32-bit read from the address offset 08h. Software can also read this register individually by doing a single 8-bit read to offset 0Bh. 426 Intel® 82801CA ICH3-S Datasheet AC ’97 Audio Controller Registers (D31:F5) 13.2.8 GLOB_CNT—Global Control Register I/O Address: Default Value: Lockable: Bit NABMBAR + 2Ch 00000000h No Attribute: Size: Power Well: Description R/W 32 bits Core 31:22 Reserved. PCM 4/6 Enable—R/W. Configures PCM Output for 2, 4 or 6 channel mode. 21:20 00 = 2-channel mode (default) 01 = 4-channel mode 10 = 6-channel mode 11 = Reserved Reserved. Secondary Resume Interrupt Enable—R/W. 19:6 5 0 = Disable. 1 = Enable an interrupt to occur when the secondary codec causes a resume event on the AClink. Primary Resume Interrupt Enable—R/W. 4 0 = Disable. 1 = Enable an interrupt to occur when the primary codec causes a resume event on the AC-link. ACLINK Shut Off—R/W. 3 0 = Normal operation. 1 = Drive all AC ’97 outputs low and turn off all AC ’97 input buffer enables AC ’97 Warm Reset—R/W (special). 0 = Normal operation. 1 = Writing a 1 to this bit causes a warm reset to occur on the AC-link. The warm reset will awaken a suspended codec without clearing its internal registers. If software attempts to perform a warm reset while bit_clk is running, the write will be ignored and the bit will not change. This bit is self-clearing (it remains set until the reset completes and bit_clk is seen on the ACLink, after which it clears itself). AC ’97 Cold Reset#—R/W. 2 1 0 = Writing a 0 to this bit causes a cold reset to occur throughout the AC ’97 circuitry. All data in the codec will be lost. Software needs to clear this bit no sooner than the minimum number of ms have elapsed. 1 = This bit defaults to 0; hence, after reset, the driver needs to set this bit to a 1. GPI Interrupt Enable (GIE)—R/W. This bit controls whether the change in status of any GPI causes an interrupt. 0 0 = Bit 0 of the Global Status Register is set, but no interrupt is generated. 1 = The change on value of a GPI causes an interrupt and sets bit 0 of the Global Status Register. Intel® 82801CA ICH3-S Datasheet 427 AC ’97 Audio Controller Registers (D31:F5) 13.2.9 GLOB_STA—Global Status Register I/O Address: Default Value: Lockable: Bit NABMBAR + 30h 00300000h No Attribute: Size: Power Well: Description RO, R/W, R/WC 32 bits Core 31:22 21 Reserved. 6 Channel Capability (6CH_CAP)—RO. Hardwired to 1 in the ICH3. 0 = The AC ’97 Controller does not support 6-channel PCM Audio output. 1 = The AC ’97 Controller supports 6-channel PCM Audio output. 4 Channel Capability (4CH_CAP)—RO. Hardwired to ‘1’ in the ICH3. 20 19:18 17 0 = The AC ’97 Controller does not support 4-channel PCM Audio output. 1 = The AC ’97 Controller supports 4-channel PCM Audio output. Reserved. MD3—R/W. Power down semaphore for Modem. This bit exists in the suspend well and maintains context across power states (except G3). The bit has no hardware function. It is used by software in conjunction with the AD3 bit to coordinate the entry of the two codecs into D3 state. AD3—R/W. Power down semaphore for Audio. This bit exists in the suspend well and maintains context across power states (except G3). The bit has no hardware function. It is used by software in conjunction with the MD3 bit to coordinate the entry of the two codecs into D3 state. Read Completion Status (RCS)—R/WC. This bit indicates the status of codec read completions. 16 15 0 = A codec read completes normally. 1 = A codec read results in a time-out. The bit remains set until being cleared by software writing a 1 to the bit location. Bit 3 of slot 12—RO. Display bit 3 of the most recent slot 12. Bit 2 of slot 12—RO. Display bit 2 of the most recent slot 12. Bit 1 of slot 12—RO. Display bit 1 of the most recent slot 12. Secondary Resume Interrupt (SRI)—R/WC. This bit indicates that a resume event occurred on AC_SDIN[1]. 14 13 12 11 0 = Cleared by writing a 1 to this bit position. 1 = Resume event occurred. Primary Resume Interrupt (PRI)—R/WC. This bit indicates that a resume event occurred on AC_SDIN[0]. 10 0 = Cleared by writing a 1 to this bit position. 1 = Resume event occurred. Secondary Codec Ready (SCR)—RO. Reflects the state of the codec ready bit in AC_SDIN[1]. Bus masters ignore the condition of the codec ready bits, so software must check this bit before starting the bus masters. Once the codec is “ready”, it must never go “not ready” spontaneously. 9 0 = Not Ready. 1 = Ready. Primary Codec Ready (PCR)—RO. Reflects the state of the codec ready bit in AC_SDIN [0]. Bus masters ignore the condition of the codec ready bits, so software must check this bit before starting the bus masters. Once the codec is “ready”, it must never go “not ready” spontaneously. 8 0 = Not Ready. 1 = Ready. Mic In Interrupt (MINT)—RO. This bit indicates that one of the Mic in channel interrupts occurred. 7 0 = When the specific interrupt is cleared, this bit will be cleared. 1 = Interrupt occurred. 428 Intel® 82801CA ICH3-S Datasheet AC ’97 Audio Controller Registers (D31:F5) Bit Description PCM Out Interrupt (POINT)—RO. This bit indicates that one of the PCM out channel interrupts occurred. 0 = When the specific interrupt is cleared, this bit will be cleared. 1 = Interrupt occurred. 0= PCM In Interrupt (PIINT)—RO. This bit indicates that one of the PCM in channel interrupts occurred. 6 5 0 = When the specific interrupt is cleared, this bit will be cleared. 1 = Interrupt occurred. Reserved. Modem Out Interrupt (MOINT)—RO. This bit indicates that one of the modem out channel interrupts occurred. 0 = When the specific interrupt is cleared, this bit will be cleared. 1 = Interrupt occurred. Modem In Interrupt (MIINT)—RO. This bit indicates that one of the modem in channel interrupts occurred. 4:3 2 1 0 = When the specific interrupt is cleared, this bit will be cleared. 1 = Interrupt occurred. GPI Status Change Interrupt (GSCI)—RWC. This bit reflects the state of bit 0 in slot 12, and is set whenever bit 0 of slot 12 is set. This happens when the value of any of the GPIOs currently defined as inputs changes. 0 0 = Cleared by writing a 1 to this bit position. 1 = Input changed. 13.2.10 CAS—Codec Access Semaphore Register I/O Address: Default Value: Lockable: Bit NABMBAR + 34h 00h No Attribute: Size: Power Well: Description R/W 8 bits Core 7:1 Reserved. Codec Access Semaphore (CAS)—R/W (special). This bit is read by software to check whether a codec access is currently in progress. 0 0 = No access in progress. 1 = The act of reading this register sets this bit to 1. The driver that read this bit can then perform an I/O access. Once the access is completed, hardware automatically clears this bit. Intel® 82801CA ICH3-S Datasheet 429 AC ’97 Audio Controller Registers (D31:F5) This page intentionally left blank. 430 Intel® 82801CA ICH3-S Datasheet AC ’97 Modem Controller Registers (D31:F6) AC ’97 Modem Controller Registers (D31:F6) 14.1 Note: 14 AC ’97 Modem PCI Configuration Space (D31:F6) Registers that are not shown should be treated as Reserved (See Section 6.2 for details). Table 14-1. PCI Configuration Map (Modem—D31:F6) Offset Mnemonic Register Default Access 00–01h 02–03h 04–05h 06–07h 08h 09h 0Ah 0Bh 0Eh 10–13h 14–17h 2C–2Dh 2E–2Fh 3Ch 3Dh VID DID PCICMD PCISTA RID PI SCC BCC HEDT MMBAR MBAR SVID SID INTR_LN INT_PN Vendor Identification Device Identification PCI Command PCI Device Status Revision Identification Programming Interface Sub Class Code Base Class Code Header Type Modem Mixer Base Address Modem Base Address Subsystem Vendor ID Subsystem ID Interrupt Line Interrupt Pin 8086 2486h 0000 0280h See Note 00 03h 07h 00 00000001h 00000001h 0000h 0000h 00h 02h RO RO R/W R/WC RO RO RO RO RO R/W R/W Write-Once Write-Once RO RO NOTE: Refer to the Specification Update for the Revision ID. 14.1.1 VID—Vendor Identification Register (Modem—D31:F6) Address Offset: Default Value: Lockable: Bit 00–01h 8086 No Attribute: Size: Power Well: Description RO 16 Bits Core 15:0 Vendor Identification Value. Intel® 82801CA ICH3-S Datasheet 431 AC ’97 Modem Controller Registers (D31:F6) 14.1.2 DID—Device Identification Register (Modem—D31:F6) Address Offset: Default Value: Lockable: Bit 02–03h 2486h No Attribute: Size: Power Well: Description RO 16 Bits Core 15:0 Device Identification Value. 14.1.3 PCICMD—PCI Command Register (Modem—D31:F6) Address Offset: Default Value: Lockable: 04–05h 0000h No Attribute: Size: Power Well: R/W 16 bits Core PCICMD is a 16-bit control register. Refer to the PCI Local Bus Specification, Revision 2.2 for complete details on each bit. Bit Description 15:10 9 8 7 6 5 4 3 2 1 Reserved. Read 0. Fast Back to Back Enable (FBE). Not implemented. Hardwired to 0. SERR# Enable (SERR_EN). Not implemented. Hardwired to 0. Wait Cycle Control (WCC). Not implemented. Hardwired to 0. Parity Error Response (PER). Not implemented. Hardwired to 0. VGA Palette Snoop (VPS). Not implemented. Hardwired to 0. Memory Write and Invalidate Enable (MWIE). Not implemented. Hardwired to 0. Special Cycle Enable (SCE). Not implemented. Hardwired to 0. Bus Master Enable (BME)—R/W. Controls standard PCI bus mastering capabilities. 0 = Disable. 1 = Enable. Memory Space Enable (MSE). Hardwired to 0, AC ’97 does not respond to memory accesses. I/O Space Enable (IOE)—R/W. This bit controls access to the I/O space registers. 0 0 = Disable access. (default = 0). 1 = Enable access to I/O space. The Native PCI Mode Base Address register should be programmed prior to setting this bit. 432 Intel® 82801CA ICH3-S Datasheet AC ’97 Modem Controller Registers (D31:F6) 14.1.4 PCISTA—Device Status Register (Modem—D31:F6) Address Offset: Default Value: Lockable: 06–07h 0280h No Attribute: Size: Power Well: R/WC 16 bits Core PCISTA is a 16-bit status register. Refer to the PCI 2.2 specification for complete details on each bit. Bit Description 15 14 13 12 11 10:9 8 7 6 5 4:0 Detected Parity Error (DPE)—RO. Not implemented. Hardwired to 0. Signaled System Error (SSE)—RO. Not implemented. Hardwired to 0. Master Abort Status (MAS)—R/WC. 0 = Software clears this bit by writing a 1 to the bit position. 1 = Bus Master AC ’97 interface function, as a master, generates a master abort. Reserved. Read as 0. Signaled Target Abort (STA)—RO. Not implemented. Hardwired to 0. DEVSEL# Timing Status (DEV_STS)—RO. This 2-bit field reflects the ICH3's DEVSEL# timing parameter. These read only bits indicate the ICH3's DEVSEL# timing when performing a positive decode. Data Parity Error Detected (DPED)—RO. Not implemented. Hardwired to 0. Fast Back to Back (FB2B)—RO. Hardwired to 1. This bit indicates that the ICH3 as a target is capable of fast back-to-back transactions. User Definable Features (UDF)—RO. Not implemented. Hardwired to 0. 66 MHz Capable (66MHZ_CAP)—RO. Hardwired to 0. Reserved. Read as 0's. 14.1.5 RID—Revision Identification Register (Modem—D31:F6) Address Offset: Default Value: Lockable: Bit 08h See Note No Attribute: Size: Power Well: Description RO 8 Bits Core 7:0 Revision Identification Value—RO. NOTE: Refer to the Specification Update for the Revision ID. 14.1.6 PI—Programming Interface Register (Modem—D31:F6) Address Offset: Default Value: Lockable: Bit 09h 00h No Attribute: Size: Power Well: Description RO 8 bits Core 7:0 Programming Interface Value—RO. Intel® 82801CA ICH3-S Datasheet 433 AC ’97 Modem Controller Registers (D31:F6) 14.1.7 SCC—Sub Class Code Register (Modem—D31:F6) Address Offset: Default Value: Lockable: Bit 0Ah 03h No Attribute: Size: Power Well: Description RO 8 bits Core 7:0 Sub Class Code—RO. 03h = Generic Modem. 14.1.8 BCC—Base Class Code Register (Modem—D31:F6) Address Offset: Default Value: Lockable: Bit 0Bh 07h No Attribute: Size: Power Well: Description RO 8 bits Core 7:0 Base Class Code—RO. 07h = Simple Communications Controller. 14.1.9 HEDT—Header Type Register (Modem—D31:F6) Address Offset: Default Value: Lockable: Bit 0Eh 00h No Attribute: Size: Power Well: Description RO 8 bits Core 7:0 Header Type—RO. 434 Intel® 82801CA ICH3-S Datasheet AC ’97 Modem Controller Registers (D31:F6) 14.1.10 MMBAR—Modem Mixer Base Address Register (Modem—D31:F6) Address Offset: Default Value: 10–13h 00000001h Attribute: Size: R/W 32 bits The Native PCI Mode Modem uses PCI Base Address register #1 to request a contiguous block of I/O space that is to be used for the Modem Mixer software interface. The mixer requires 256 bytes of I/O space. All accesses to the mixer registers are forwarded over the AC-link to the codec where the registers reside. In the case of the split codec implementation accesses to the different codecs are differentiated by the controller by using address offsets 00h–7Fh for the primary codec and address offsets 80h–FEh for the secondary codec. Bit Description 31:16 Hardwired to 0s. Base Address—R/W. These bits are used in the I/O space decode of the Modem interface registers. The number of upper bits that a device actually implements depends on how much of the address space the device will respond to. For the AC ’97 Modem, the upper 16 bits are hardwired to 0, while bits 15:8 are programmable. This configuration yields a maximum I/O block size of 256 bytes for this base address. 15:8 7:1 0 Reserved. Read as 0. Resource Type Indicator (RTE)—RO. This bit is set to one, indicating a request for I/O space. 14.1.11 MBAR—Modem Base Address Register (Modem—D31:F6) Address Offset: Default Value: 14–17h 00000001h Attribute: Size: R/W 32 bits The Modem function uses PCI Base Address register #1 to request a contiguous block of I/O space that is to be used for the Modem software interface. The Modem Bus Mastering register space requires 128 bytes of I/O space. All Modem registers reside in the controller, therefore cycles are NOT forwarded over the AC-link to the codec. Bit Description 31:16 Hardwired to 0s. Base Address—R/W. These bits are used in the I/O space decode of the Modem interface registers. The number of upper bits that a device actually implements depends on how much of the address space the device will respond to. For the AC ’97 Modem, the upper 16 bits are hardwired to 0, while bits 15:7 are programmable. This configuration yields a maximum I/O block size of 128 bytes for this base address. 15:7 6:1 0 Reserved. Read as 0. Resource Type Indicator (RTE)—RO. This bit is set to one, indicating a request for I/O space. Intel® 82801CA ICH3-S Datasheet 435 AC ’97 Modem Controller Registers (D31:F6) 14.1.12 SVID—Subsystem Vendor ID (Modem—D31:F6) Address Offset: Default Value: Lockable: 2C–2Dh 0000h No Attribute: Size: Power Well: Read/Write-Once 16 bits Core The SVID register, in combination with the Subsystem ID register, enable the operating environment to distinguish one audio subsystem from the other(s). This register is implemented as write-once register. Once a value is written to it, the value can be read back. Any subsequent writes will have no effect. Bit Description Subsystem Vendor ID—R/WO. 15:0 14.1.13 SID—Subsystem ID (Modem—D31:F6) Address Offset: Default Value: Lockable: 2E–2Fh 0000h No Attribute: Size: Power Well: Read/Write-Once 16 bits Core The SID register, in combination with the Subsystem Vendor ID register make it possible for the operating environment to distinguish one audio subsystem from another. This register is implemented as write-once register. Once a value is written to it, the value can be read back. Any subsequent writes will have no effect. Bit Description Subsystem ID—R/WO. 15:0 14.1.14 INTR_LN—Interrupt Line Register (Modem—D31:F6) Address Offset: Default Value: Lockable: 3Ch 00h No Attribute: Size: Power Well: R/W 8 bits Core This register indicates which PCI interrupt line is used for the AC ’97 module interrupt. Bit Description Interrupt Line (INT_LN)—R/W. This data is not used by the ICH3. It is used to communicate to software the interrupt line that the interrupt pin is connected to. 7:0 14.1.15 INT_PIN—Interrupt Pin (Modem—D31:F6) Address Offset: Default Value: Lockable: 3Dh 02h No Attribute: Size: Power Well: RO 8 bits Core This register indicates which PCI interrupt pin is used for the AC ’97 modem interrupt. The AC ’97 interrupt is internally ORed to the interrupt controller with the PIRQB# signal. Bit Description 7:3 2:0 Reserved. Interrupt Pin (INT_PN)—RO. Hardwired to 010b to select PIRQB#. 436 Intel® 82801CA ICH3-S Datasheet AC ’97 Modem Controller Registers (D31:F6) 14.2 AC ’97 Modem I/O Space (D31:F6) In the case of the split codec implementation accesses to the modem mixer registers in different codecs are differentiated by the controller by using address offsets 00h–7Fh for the primary codec and address offsets 80h–FEh for the secondary codec. Table 14-2 shows the register addresses for the modem mixer registers. Table 14-2. Intel® ICH3 Modem Mixer Register Configuration Register Pri. Sec. MMBAR Exposed Registers (D31:F6) Name 00h:38h 3Ch 3Eh 40h 42h 44h 80h:B8h BCh BEh C0h C2h C4h Intel RESERVED Extended Modem ID Extended Modem Stat/Ctrl Line 1 DAC/ADC Rate Line 2 DAC/ADC Rate Handset DAC/ADC Rate 46h 48h 4Ah C6h C8h CAh Line 1 DAC/ADC Level Mute Line 2 DAC/ADC Level Mute Handset DAC/ADC Level Mute 4Ch 4Eh 50h 52h 54h 56h 58h 7Ah 7Ch 7Eh CCh CEh D0h D2h D4h D6h D8h FAh FCh FEh GPIO Pin Configuration GPIO Polarity/Type GPIO Pin Sticky GPIO Pin Wake Up GPIO Pin Status Misc. Modem AFE Stat/Ctrl Vendor Reserved Vendor Reserved Vendor ID1 Vendor ID2 NOTE: 1. Registers in bold are multiplexed between audio and modem functions. 2. Registers in italics are for functions not supported by the ICH3. 3. Software should not try to access reserved registers. 4. The ICH3 supports a modem codec as either primary or secondary, but does not support two modem codecs. The Global Control (GLOB_CNT) and Global Status (GLOB_STA) registers are aliased to the same global registers in the audio and modem I/O space. Therefore a read/write to these registers in either audio or modem I/O space affects the same physical register. These registers exist in I/O space and reside in the AC ’97 controller. The two channels, Modem in and Modem out, each have their own set of Bus Mastering registers. The following register descriptions apply to both channels. The naming prefix convention used is as follows: MI = Modem in channel MO = Modem out channel Intel® 82801CA ICH3-S Datasheet 437 AC ’97 Modem Controller Registers (D31:F6) Table 14-3. Modem Registers Offset Mnemonic Name Default Access 00h 04h 05h 06h 08h 0Ah 0Bh 10h 14h 15h 16h 18h 1Ah 1Bh 3Ch 40h 44h MI_BDBAR MI_CIV MI_LVI MI_SR MI_PICB MI_PIV MI_CR MO_BDBAR MO_CIV MO_LVI MO_SR MI_PICB MO_PIV MO_CR GLOB_CNT GLOB_STA ACC_SEMA Modem In Buffer Descriptor List Base Address Register Modem In Current Index Value Register Modem In Last Valid Index Register Modem In Status Register Modem In Position In Current Buffer Register Modem In Prefetch Index Value Register Modem In Control Register Modem Out Buffer Descriptor List Base Address Register Modem Out Current Index Value Register Modem Out Last Valid Register Modem Out Status Register Modem In Position In Current Buffer Register Modem Out Prefetched Index Register Modem Out Control Register Global Control Global Status Codec Write Semaphore Register 00000000h 00h 00h 0001h 00h 00h 00h 00000000h 00h 00h 0001h 00h 00h 00h 00000000h 00000000h 00h R/W R R/W R/W R RO R/W R/W RO R/W R/W RO RO R/W R/W RO R/W NOTE: 1. MI = Modem in channel; MO = Modem out channel 438 Intel® 82801CA ICH3-S Datasheet AC ’97 Modem Controller Registers (D31:F6) 14.2.1 x_BDBAR—Buffer Descriptor List Base Address Register I/O Address: Default Value: Lockable: Bit MBAR + 00h (MIBDBAR), MBAR + 10h (MOBDBAR) 00000000h No Attribute: Size: Power Well: Description R/W 32bits Core 31:3 2:0 Buffer Descriptor List Base Address[31:3]—R/W. These bits represent address bits 31:3. The entries should be aligned on 8 byte boundaries. Hardwired to 0. 14.2.2 x_CIV—Current Index Value Register I/O Address: Default Value: Lockable: Bit MBAR + 04h (MICIV), MBAR + 14h (MOCIV), 00h No Attribute: Size: Power Well: Description RO 8bits Core 7:5 4:0 Hardwired to 0. Current Index Value [4:0]—RO. These bits represent which buffer descriptor within the list of 16 descriptors is being processed currently. As each descriptor is processed, this value is incremented. Software can read the registers at offsets 04h, 05h and 06h simultaneously by performing a single 32-bit read from address offset 04h. Software can also read this register individually by doing a single 8-bit read to offset 04h. 14.2.3 x_LVI—Last Valid Index Register I/O Address: Default Value: Power Well: Bit MBAR + 05h (MILVI), MBAR + 15h (MOLVI) 00h Core Attribute: Size: R/W 8bits Description 7:5 4:0 Hardwired to 0. Last Valid Index [4:0]—R/W. These bits indicate the last valid descriptor in the list. This value is updated by the software as it prepares new buffers and adds to the list. Software can read the registers at offsets 04h, 05h and 06h simultaneously by performing a single 32-bit read from address offset 04h. Software can also read this register individually by doing a single 8-bit read to offset 05h. Intel® 82801CA ICH3-S Datasheet 439 AC ’97 Modem Controller Registers (D31:F6) 14.2.4 x_SR—Status Register I/O Address: Default Value: Lockable: Bit MBAR + 06h (MISR), MBAR + 16h (MOSR) 0001h No Attribute: Size: Power Well: Description R/WC 16 bits Core 15:5 Reserved. FIFO Error (FIFOE)—R/WC. 4 0 = Cleared by writing a 1 to this bit position. 1 = FIFO error occurs. Modem in: FIFO error indicates a FIFO overrun. The FIFO pointers don't increment, the incoming data is not written into the FIFO, thereby being lost. Modem out: FIFO error indicates a FIFO underrun. The sample transmitted in this case should be the last valid sample. The ICH3 will set the FIFOE bit if the under-run or overrun occurs when there are more valid buffers to process. Buffer Completion Interrupt Status (BCIS)—R/WC. 3 0 = Cleared by writing a 1 to this bit position. 1 = Set by the hardware after the last sample of a buffer has been processed, AND if the Interrupt on Completion (IOC) bit is set in the command byte of the buffer descriptor. Remains active until software clears bit. Last Valid Buffer Completion Interrupt (LVBCI)—R/WC. 2 0 = Cleared by writing a 1 to this bit position. 1 = Set by hardware when last valid buffer has been processed. It remains active until cleared by software. This bit indicates the occurrence of the event signified by the last valid buffer being processed. Thus, this is an event status bit that can be cleared by software once this event has been recognized. This event will cause an interrupt if the enable bit in the Control Register is set. The interrupt is cleared when the software clears this bit. In the case of transmits (PCM out, Modem out) this bit is set, after the last valid buffer has been fetched (not after transmitting it) While in the case of Receives, this bit is set after the data for the last buffer has been written to memory. Current Equals Last Valid (CELV)—RO. 1 0 = Hardware clears when controller exists state (i.e., until a new value is written to the LVI register). 1 = Current Index is equal to the value in the Last Valid Index Register, AND the buffer pointed to by the CIV has been processed (i.e., after the last valid buffer has been processed). This bit is very similar to bit 2, except, this bit reflects the state rather than the event. This bit reflects the state of the controller, and remains set until the controller exits this state. DMA Controller Halted (DCH)—RO. 1 = DMA controller is halted. This could happen because of the Start/Stop bit being cleared, or it could happen once the controller has processed the last valid buffer (in which case it will set bit 1 and halt). 0 Software can read the registers at offsets 04h, 05h and 06h simultaneously by performing a single 32-bit read from address offset 04h. Software can also read this register individually by doing a single 16-bit read to offset 06h. 440 Intel® 82801CA ICH3-S Datasheet AC ’97 Modem Controller Registers (D31:F6) 14.2.5 x_PICB—Position In Current Buffer Register I/O Address: Default Value: Lockable: Bit MBAR + 08h (MIPICB), MBAR + 18h (MOPICB), 0000h No Attribute: Size: Power Well: Description RO 16 bits Core 15:0 Position In Current Buffer[15:0]—RO. These bits represent the number of DWords left to be processed in the current buffer. Software can read the registers at the offsets 08h, 0Ah, and 0Bh by performing a 32-bit read from the address offset 08h. Software can also read this register individually by doing a single 16-bit read to offset 08h. 14.2.6 x_PIV—Prefetch Index Value Register I/O Address: Default Value: Lockable: Bit MBAR + 0Ah (MIPIV), MBAR + 1Ah (MOPIV) 00h No Attribute: Size: Power Well: Description RO 8 bits Core 7:5 4:0 Hardwired to 0 Prefetched Index Value [4:0]—RO. These bits represent which buffer descriptor in the list has been prefetched. Software can read the registers at the offsets 08h, 0Ah, and 0Bh by performing a 32-bit read from the address offset 08h. Software can also read this register individually by doing a single 8-bit read to offset 0Ah. Intel® 82801CA ICH3-S Datasheet 441 AC ’97 Modem Controller Registers (D31:F6) 14.2.7 x_CR—Control Register I/O Address: Default Value: Lockable: Bit MBAR + 0Bh (MICR), MBAR + 1Bh (MOCR) 00h No Attribute: Size: Power Well: Description R/W 8 bits Core 7:5 Reserved. Interrupt On Completion Enable (IOCE)—R/W. This bit controls whether or not an interrupt occurs when a buffer completes with the IOC bit set in its descriptor. 4 0 = Disable. 1 = Enable. FIFO Error Interrupt Enable (FEIE)—R/W. This bit controls whether the occurrence of a FIFO error will cause an interrupt or not. 3 0 = Disable. Bit 4 in the Status Register will be set, but the interrupt will not occur. 1 = Enable. Interrupt will occur. Last Valid Buffer Interrupt Enable (LVBIE)—R/W. This bit controls whether the completion of the last valid buffer will cause an interrupt or not. 2 0 = Disable. Bit 2 in the Status register will still be set, but the interrupt will not occur. 1 = Enable. Reset Registers (RR)—R/W (special). 1 0 = Removes reset condition. 1 = Contents of all registers to be reset, except the interrupt enable bits (bit 4,3,2 of this register). Software needs to set this bit. It must be set only when the Run/Pause bit is cleared. Setting it when the Run bit is set will cause undefined consequences. This bit is self-clearing (software needs not clear it). Run/Pause Bus Master (RPBM)—R/W. 0 0 = Pause bus master operation. This results in all state information being retained (i.e., master mode operation can be stopped and then resumed). 1 = Run. Bus master operation starts. Software can read the registers at the offsets 08h, 0Ah, and 0Bh by performing a 32-bit read from the address offset 08h. Software can also read this register individually by doing a single 8-bit read to offset 0Bh. 442 Intel® 82801CA ICH3-S Datasheet AC ’97 Modem Controller Registers (D31:F6) 14.2.8 GLOB_CNT—Global Control Register I/O Address: Default Value: Lockable: Bit MBAR + 3Ch 00000000h No Attribute: Size: Power Well: Description R/W 32 bits Core Reserved. 31:6 NOTE: Software must preserve the value of these bits when writing to this register. This can be achieved by either not writing to the upper two bytes at all (with byte-writes to this register enabled) or by performing a read-modify-write to the entire 4-byte register. Secondary Resume Interrupt Enable—R/W. 5 0 = Disable. 1 = Enable an interrupt to occur when the secondary codec causes a resume event on the AClink. Primary Resume Interrupt Enable—R/W. 4 0 = Disable. 1 = Enable an interrupt to occur when the primary codec causes a resume event on the AC-link. ACLINK Shut Off—R/W. 3 0 = Normal operation. 1 = Disable the AC-link signals (drive all AC ’97 outputs low and turn off all AC ’97 input buffer enables). AC ’97 Warm Reset—R/W (special). 0 = This bit is self-clearing (it clears itself after the reset has occurred and BIT_CLK has started). 1 = Writing a 1 to this bit causes a warm reset to occur on the AC-link. The warm reset will awaken a suspended codec without clearing its internal registers. If software attempts to perform a warm reset while BIT_CLK is running, the write will be ignored and the bit will not be changed. A warm reset can only occur in the absence of BIT_CLK. AC ’97 Cold Reset#—R/W. 2 1 0 = Writing a 0 to this bit causes a cold reset to occur throughout the AC ’97 circuitry. All data in the codec will be lost. Software needs to clear this bit no sooner than the minimum number of ms have elapsed. 1 = This bit defaults to 0; hence, after reset, the driver needs to set this bit to a 1. GPI Interrupt Enable (GIE)—R/W. This bit controls whether the change in status of any GPI causes an interrupt. 0 0 = Bit 0 of the Global Status Register is set, but an interrupt is not generated. 1 = The change on value of a GPI causes an interrupt and sets bit 0 of the Global Status Register. Intel® 82801CA ICH3-S Datasheet 443 AC ’97 Modem Controller Registers (D31:F6) 14.2.9 GLOB_STA—Global Status Register I/O Address: Default Value: Lockable: Bit MBAR + 40h 00300000h No Attribute: Size: Power Well: Description RO, R/W, R/WC 32 bits Core 31:22 21 Reserved. 6 Channel Capability (6CH_CAP)—RO. Hardwired to 1 in the ICH3. 0 = The AC ’97 Controller does not support 6-channel PCM Audio output. 1 = The AC ’97 Controller supports 6-channel PCM Audio output. 4 Channel Capability (4CH_CAP)—RO. Hardwired to 1 in the ICH3. 20 19:18 17 0 = The AC ’97 Controller does not support 4-channel PCM Audio output. 1 = The AC ’97 Controller supports 4-channel PCM Audio output. Reserved. MD3—R/W. Power down semaphore for Modem. This bit exists in the suspend well and maintains context across power states (except G3). The bit has no hardware function. It is used by software in conjunction with the AD3 bit to coordinate the entry of the two codecs into D3 state. AD3—R/W. Power down semaphore for Audio. This bit exists in the suspend well and maintains context across power states (except G3). The bit has no hardware function. It is used by software in conjunction with the MD3 bit to coordinate the entry of the two codecs into D3 state. Read Completion Status (RCS)—R/W. This bit indicates the status of codec read completions. 16 15 14 13 12 0 = A codec read completes normally. 1 = A codec read results in a time-out. The bit remains set until being cleared by software. Bit 3 of slot 12—RO. Display bit 3 of the most recent slot 12. Bit 2 of slot 12—RO. Display bit 2 of the most recent slot 12. Bit 1 of slot 12—RO. Display bit 1 of the most recent slot 12. Secondary Resume Interrupt (SRI)—R/WC. This bit indicates that a resume event occurred on AC_SDIN[1]. 11 0 = Cleared by writing a 1 to this bit position. 1 = Resume event occurred. Primary Resume Interrupt (PRI)—R/WC. This bit indicates that a resume event occurred on AC_SDIN[0]. 10 0 = Cleared by writing a 1 to this bit position. 1 = Resume event occurred. Secondary Codec Ready (SCR)—RO. Reflects the state of the codec ready bit in AC_SDIN[1]. Bus masters ignore the condition of the codec ready bits, so software must check this bit before starting the bus masters. Once the codec is “ready”, it must never go “not ready” spontaneously. 9 0 = Not Ready. 1 = Ready. Primary Codec Ready (PCR)—RO. Reflects the state of the codec ready bit in AC_SDIN [0]. Bus masters ignore the condition of the codec ready bits, so software must check this bit before starting the bus masters. Once the codec is “ready”, it must never go “not ready” spontaneously. 8 0 = Not Ready. 1 = Ready. Mic In Interrupt (MINT)—RO. This bit indicates that one of the Mic in channel interrupts occurred. 7 0 = When the specific interrupt is cleared, this bit will be cleared. 1 = Interrupt occurred. PCM Out Interrupt (POINT)—RO. This bit indicates that one of the PCM out channel interrupts occurred. 0 = When the specific interrupt is cleared, this bit will be cleared. 1 = Interrupt occurred. 6 444 Intel® 82801CA ICH3-S Datasheet AC ’97 Modem Controller Registers (D31:F6) Bit Description PCM In Interrupt (PIINT)—RO. This bit indicates that one of the PCM in channel interrupts occurred. 5 0 = When the specific interrupt is cleared, this bit will be cleared. 1 = Interrupt occurred. Reserved. Modem Out Interrupt (MOINT)—RO. This bit indicates that one of the modem out channel interrupts occurred. 0 = When the specific interrupt is cleared, this bit will be cleared. 1 = Interrupt occurred. Modem In Interrupt (MIINT)—RO. This bit indicates that one of the modem in channel interrupts occurred. 4:3 2 1 0 = When the specific interrupt is cleared, this bit will be cleared. 1 = Interrupt occurred. GPI Status Change Interrupt (GSCI)—RWC. This bit reflects the state of bit 0 in slot 12, and is set whenever bit 0 of slot 12 is set. This happens when the value of any of the GPIOs currently defined as inputs changes. 0 0 = Cleared by writing a 1 to this bit position. 1 = Input changed. Note: On reads from a codec, the controller will give the codec a maximum of 4 frames to respond, after which if no response is received, it will return a dummy read completion to the processor (with all If’s on the data) and also set the read completion status bit in the global status register. 14.2.10 CAS—Codec Access Semaphore Register I/O Address: Default Value: Lockable: Bit NABMBAR + 44h 00h No Attribute: Size: Power Well: Description R/W 8 bits Core 7:1 Reserved. Codec Access Semaphore (CAS) —R/W (special). This bit is read by software to check whether a codec access is currently in progress. 0 0 = No access in progress. 1 = The act of reading this register sets this bit to 1. The driver that read this bit can then perform an I/O access. Once the access is completed, hardware automatically clears this bit. Intel® 82801CA ICH3-S Datasheet 445 AC ’97 Modem Controller Registers (D31:F6) This page is intentionally left blank. 446 Intel® 82801CA ICH3-S Datasheet Ballout Definition Ballout Definition 15 This section contains the ICH3 ballout information. Figure 15-1 and Figure 15-2 provide graphical illustrations of how the ballout maps to the 421-ball BGA package, and Table 15-1 provides the BGA ball list sorted alphabetically by signal name. Intel® 82801CA ICH3-S Datasheet 447 Ballout Definition I Figure 15-1. Intel® ICH3 Ballout (Topview—Left Side) 1 A B VSS 2 PIRQD# 3 REQ2# 4 GNT0# 5 PIRQH# / GPIO5 6 PIRQE# / GPIO2 7 AC_SYNC 8 LAN_RXD1 9 LAN_RXD2 10 LAN_TXD2 11 OC5# PIRQA# PIRQC# GNTB# / GNT5# / GPIO17 GNT4# PIRQF# / GPIO3 GNTA# / GPIO16 AC_BIT_CLK VSS LAN_TXD0 VSS AC_SDIN0 C D E F G H J K L M N P R T U V W Y AA AB AC PIRQB# NC VSS REQA# / GPIO0 PIRQG# / GPIO4 VSS AC_SDOUT LAN_RXD0 LAN_CLK LAN_TXD1 AC_SDIN1 AD28 GNT2# REQ0# REQB# / REQ5# / GPIO1 REQ4# GNT3# NC LAN_RSTSYNC EE_DIN VSS EE_SHCLK AC_RST# AD30 AD26 GNT1# VSS V5REF1 NC EE_DOUT EE_CS VccSus3_3 Vcc1_8 FRAME# AD22 AD24 REQ1# AD16 Vcc3_3 VccLAN1_8 VccLAN1_8 VccLAN3_3 VccLAN3_3 AD20 AD9 VSS AD18 PAR Vcc3_3 TRDY# STOP# AD6 AD11 AD4 Vcc3_3 AD15 AD0 AD13 AD2 VSS Vcc3_3 AD1 C/BE0# AD3 AD5 C/BE1# Vcc1_8 VccLAN1_8 VSS AD7 AD8 VSS AD10 SERR# VSS VSS PLOCK# PERR# DEVSEL# AD12 AD14 Vcc3_3 VSS C/BE2# AD17 IRDY# AD27 VSS VSS VSS AD21 AD19 AD23 AD29 AD31 Vcc1_8 VccSus1_8 VSS AD25 C/BE3# VSS REQ3# VSS Vcc3_3 NC LDRQ0# LAD2 / FWH2 VSS PCICLK Vcc3_3 LFRAME# LAD3 / FWH3 LAD1 / FWH1 LDRQ1# THRM# Vcc3_3 LAD0 / FHW0 GPIO7 VSS GPIO6 GPIO21 VccSus1_8 VccSus1_8 VccSus3_3 VccSus3_3 Vcc1_8 PME# GPIO8 GPIO25 GPIO27 V5REF_Sus2 VSS VSS V5REF2 PDD10 VSS PDD4 PCIRST# GPIO13 GPIO28 GPIO12 LAN_RST# INTRUDER# RTCRST# VSS PDD5 PDD9 PDD11 RI# SLP_S5# VSS SUSCLK SLP_S3# PWROK RSMRST# VSS PDD7 PDD2 PDD14 PWRBTN# SMLINK1 TP[0] SUSSTAT# SMBDATA SMBALERT# / GPIO11 VCCRTC VBIAS VSS PDD6 PDD12 PDD1 VSS GPIO24 SMLINK0 SMBCLK RTCX2 RTCX1 VSS PDD8 PDD3 PDD13 1 2 3 4 5 6 7 8 9 10 11 448 Intel® 82801CA ICH3-S Datasheet Ballout Definition I Figure 15-2. Intel® ICH3 Ballout (Topview—Right Side) 12 OC4# 13 VSS 14 USBP5N 15 USBP5P 16 VSS 17 VSS 18 USBP1N 19 USBP1P 20 VSS 21 VSS 22 VSS 23 VSS A B C D E F G H J K L M N P R T U V W Y AA AB AC OC3# VSS VSS VSS USBP3N USBP3P VSS VSS VSS USBRBIAS VSS VccSus1_8 OC2# V5REF_Sus1 VSS VSS VSS VSS VSS VSS VSS VSS VSS VccSus1_8 OC1# VSS USBP4N USBP4P VSS VSS USBP0N USBP0P VSS VSS VSS GPIO42 OC0# VccSus1_8 VSS VSS USBP2N USBP2P VSS VSS VSS GPIO37 GPIO36 GPIO43 VccSus1_8 VccSus1_8 VccSus1_8 VccSus3_3 VccSus3_3 VSS CLK48 GPIO34 VSS GPIO40 Vcc3_3 GPIO35 VSS GPIO41 GPIO33 GPIO39 Vcc3_3 VSS GPIO32 GPIO38 SERIRQ SPKR Vcc1_8 APICCLK APICD0 APICD1 FERR# CLK14 VccSus1_8 VSS VccSus3_3 Vcc1_8 HICOMP VSS VSS VSS VSS VSS VSS VSS HITERM HIREF VSS HI0 VSS VSS VSS Vcc1_8 HI8 VSS HI1 VSS HI2 VSS VSS VSS HI10 HI3 VSS HI_STBS VSS Vcc3_3 VSS V_CPU_IO Vcc1_8 HI9 VSS HI4 VSS HI_STBF Vcc1_8 HI11 HI6 VSS HI5 VSS Vcc1_8 CLK66 VSS NC VSS HI7 V_CPU_IO Vcc1_8 GPIO23 GPIO18 RCIN# STPCLK# Vcc1_8 Vcc3_3 Vcc3_3 Vcc3_3 Vcc3_3 VRMPWRGD VSS GPIO20 V_CPU_IO A20M# PDD0 SDD8 VSS SDD7 SDD4 SDD1 VSS IRQ15 GPIO19 CPUSLP# VSS CPUPWRGD PDIOW# PDDACK# SDD5 SDD10 SDD9 SDD0 SDD14 SDDACK# GPIO22 NMI A20GATE SMI# VSS SDD6 PDA0 PDA2 VSS SDD13 SDIOW# SDA1 VSS IGNNE# VSS INTR PDDREQ PIORDY IRQ14 PDCS3# SDD3 SDD12 SDDREQ SIORDY SDA2 NC NC INIT# PDD15 PDIOR# PDA1 PDCS1# SDD11 SDD2 SDD15 SDIOR# SDA0 SDCS1# SDCS3# VSS 12 13 14 15 16 17 18 19 20 21 22 23 Intel® 82801CA ICH3-S Datasheet 449 Ballout Definition Table 15-1. Intel® ICH3-S Ball List by Signal Name Signal Name Ball Number Table 15-1. Intel® ICH3-S Ball List by Signal Name (Continued) Signal Name Ball Number AD29 AD30 AD31 GPIO6 APICCLK APICD0 APICD1 TP[0] C/BE0# C/BE1# C/BE2# C/BE3# GPIO21 CLK14 CLK48 CLK66 GPIO24 CPUSLP# GPIO22 CPUPWRGD DEVSEL# EE_CS EE_DIN EE_DOUT EE_SHCLK FERR# FRAME# GNT0# GNT1# GNT2# GNT3# GNT4# GNTA# / GPIO16 GNTB# / GNT5# / GPIO17 GPIO7 GPIO8 GPIO12 GPIO13 P4 E1 P5 V4 J19 J20 J21 AB3 K2 K5 N1 R2 V5 J23 F20 T19 AC2 W21 Y20 W23 M3 E9 D8 E8 D10 J22 F1 A4 E3 D2 D5 B4 B6 B3 V2 W2 Y4 Y2 A20GATE A20M# AC_BIT_CLK AC_RST# AC_SDIN0 AC_SDIN1 AC_SDOUT AC_SYNC 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 Y22 V23 B7 D11 B11 C11 C7 A7 J2 K1 J4 K3 H5 K4 H3 L1 L2 G2 L4 H4 M4 J3 M5 J1 F5 N2 G4 P2 G1 P1 F2 P3 F3 R1 E2 N4 D1 450 Intel® 82801CA ICH3-S Datasheet Ballout Definition Table 15-1. Intel® ICH3-S Ball List by Signal Name (Continued) Signal Name Ball Number Table 15-1. Intel® ICH3-S Ball List by Signal Name (Continued) Signal Name Ball Number GPIO25 GPIO27 GPIO28 GPIO32 GPIO33 GPIO34 GPIO35 GPIO36 GPIO37 GPIO38 GPIO39 GPIO40 GPIO41 GPIO42 GPIO43 HI_STBS HI_STBF HI0 HI1 HI2 HI3 HI4 HI5 HI6 HI7 HI8 HI9 HI10 HI11 HICOMP HIREF HITERM IGNNE# INIT# INTR INTRUDER# IRDY# IRQ14 W3 W4 Y3 H20 G22 F21 G19 E22 E21 H21 G23 F23 G21 D23 E23 N22 P23 L22 M21 M23 N20 P21 R22 R20 T23 M19 P19 N19 R19 K19 L20 L19 AA21 AB23 AA23 Y6 N3 AB14 IRQ15 LAD0 / FHW0 LAD1 / FWH1 LAD2 / FWH2 LAD3 / FWH3 LAN_CLK LAN_RST# LAN_RSTSYNC LAN_RXD0 LAN_RXD1 LAN_RXD2 LAN_TXD0 LAN_TXD1 LAN_TXD2 LDRQ0# LDRQ1# LFRAME# NC NC NC NC NC NC NC NMI OC0# OC1# OC2# OC3# OC4# OC5# PAR PCICLK PCIRST# PDA0 PDA1 PDA2 PDCS1# W19 V1 U3 T3 U2 C9 Y5 D7 C8 A8 A9 B9 C10 A10 T2 U4 U1 AB21 AB22 C2 D6 E7 T1 T21 Y21 E12 D12 C12 B12 A12 A11 G5 T5 Y1 AA14 AC14 AA15 AC15 Intel® 82801CA ICH3-S Datasheet 451 Ballout Definition Table 15-1. Intel® ICH3-S Ball List by Signal Name (Continued) Signal Name Ball Number Table 15-1. Intel® ICH3-S Ball List by Signal Name (Continued) Signal Name Ball Number PDCS3# PDD0 PDD1 PDD2 PDD3 PDD4 PDD5 PDD6 PDD7 PDD8 PDD9 PDD10 PDD11 PDD12 PDD13 PDD14 PDD15 PDDACK# PDDREQ PDIOR# PDIOW# PERR# PIORDY PIRQA# PIRQB# PIRQC# PIRQD# PIRQE# / GPIO2 PIRQF# / GPIO3 PIRQG# / GPIO4 PIRQH# / GPIO5 PLOCK# PME# PWRBTN# PWROK RCIN# REQ0# REQ1# AB15 W12 AB11 AA10 AC10 W11 Y9 AB9 AA9 AC9 Y10 W9 Y11 AB10 AC11 AA11 AC12 Y13 AB12 AC13 Y12 M2 AB13 B1 C1 B2 A2 A6 B5 C5 A5 M1 W1 AB1 AA6 U22 D3 F4 REQ2# REQ3# REQ4# REQA# / GPIO0 REQB# / REQ5# / GPIO1 RI# RSMRST# RTCRST# RTCX1 RTCX2 SDA0 SDA1 SDA2 SDCS1# SDCS3# SDD0 SDD1 SDD2 SDD3 SDD4 SDD5 SDD6 SDD7 SDD8 SDD9 SDD10 SDD11 SDD12 SDD13 SDD14 SDD15 SDDACK# SDDREQ SDIOR# SDIOW# SERIRQ SERR# SIORDY A3 R4 E4 C4 D4 AA1 AA7 Y7 AC7 AC6 AC20 AA19 AB20 AC21 AC22 Y17 W17 AC17 AB16 W16 Y14 AA13 W15 W13 Y16 Y15 AC16 AB17 AA17 Y18 AC18 Y19 AB18 AC19 AA18 H22 L5 AB19 452 Intel® 82801CA ICH3-S Datasheet Ballout Definition Table 15-1. Intel® ICH3-S Ball List by Signal Name (Continued) Signal Name Ball Number Table 15-1. Intel® ICH3-S Ball List by Signal Name (Continued) Signal Name Ball Number GPIO19 SLP_S3# SLP_S5# SMBALERT# / GPIO11 SMBCLK SMBDATA SMI# SMLINK0 SMLINK1 SPKR GPIO23 STOP# GPIO20 GPIO18 STPCLK# SUS_STAT# SUSCLK THRM# TRDY# USBP0N USBP0P USBP1N USBP1P USBP2N USBP2P USBP3N USBP3P USBP4N USBP4P USBP5N USBP5P USBRBIAS V_CPU_IO V_CPU_IO V_CPU_IO V5REF_Sus1 V5REF_Sus2 V5REF1 W20 AA5 AA2 AC5 AC4 AB5 Y23 AC3 AB2 H23 U20 H2 V21 U21 U23 AB4 AA4 U5 H1 D18 D19 A18 A19 E16 E17 B16 B17 D14 D15 A14 A15 B21 P14 U18 V22 C13 W5 E6 V5REF2 VBIAS Vcc1_8 Vcc1_8 Vcc1_8 Vcc1_8 Vcc1_8 Vcc1_8 Vcc1_8 Vcc1_8 Vcc1_8 Vcc1_8 Vcc1_8 Vcc1_8 Vcc3_3 Vcc3_3 Vcc3_3 Vcc3_3 Vcc3_3 Vcc3_3 Vcc3_3 Vcc3_3 Vcc3_3 Vcc3_3 Vcc3_3 Vcc3_3 Vcc3_3 Vcc3_3 Vcc3_3 VccLAN1_8 VccLAN1_8 VccLAN1_8 VccLAN3_3 VccLAN3_3 VCCRTC VccSus1_8 VccSus1_8 VccSus1_8 W8 AB7 E11 J18 K18 K6 M14 P18 P6 R18 T18 U19 V10 V14 F6 G18 G6 H18 H6 J6 M10 P12 R6 T6 U6 V15 V16 V17 V18 F7 F8 K10 F10 F9 AB6 B23 C23 E13 Intel® 82801CA ICH3-S Datasheet 453 Ballout Definition Table 15-1. Intel® ICH3-S Ball List by Signal Name (Continued) Signal Name Ball Number Table 15-1. Intel® ICH3-S Ball List by Signal Name (Continued) Signal Name Ball Number VccSus1_8 VccSus1_8 VccSus1_8 VccSus1_8 VccSus1_8 VccSus1_8 VccSus1_8 VccSus3_3 VccSus3_3 VccSus3_3 VccSus3_3 VccSus3_3 VccSus3_3 VRMPWRGD VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS F14 F15 F16 K12 P10 V6 V7 E10 F17 F18 K14 V8 V9 V19 D9 A1 A13 A16 A17 A20 A21 A22 A23 AA12 AA16 AA20 AA22 AA3 AA8 AB8 AC1 AC23 AC8 B10 B13 B14 B15 B18 VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS B19 B20 B22 B8 C14 C15 C16 C17 C18 C19 C20 C21 C22 C3 C6 D13 D16 D17 D20 D21 D22 E14 E15 E18 E19 E20 E5 F19 F22 G20 G3 H19 J5 K11 K13 K20 K21 K22 454 Intel® 82801CA ICH3-S Datasheet Ballout Definition Table 15-1. Intel® ICH3-S Ball List by Signal Name (Continued) Signal Name Ball Number Table 15-1. Intel® ICH3-S Ball List by Signal Name (Continued) Signal Name Ball Number VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS K23 L10 L11 L12 L13 L14 L21 L23 L3 M11 M12 M13 M20 M22 N10 N11 N12 N13 N14 N21 N23 VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS N5 P11 P13 P20 P22 R21 R23 R3 R5 T20 T22 T4 V20 V3 W10 W14 W18 W22 W6 W7 Y8 Intel® 82801CA ICH3-S Datasheet 455 Ballout Definition This page is intentionally left blank. 456 Intel® 82801CA ICH3-S Datasheet Electrical Characteristics Electrical Characteristics This chapter provides the DC and AC electrical charateristics of the ICH3-S. 16 16.1 Absolute Maximum Ratings Case Temperature under Bias Storage Temperature Voltage on Any 3.3 V Pin with Respect to Ground Voltage on Any 5 V Tolerant Pin with Respect to Ground (VREF=5V) 1.8 V Supply Voltage with Respect to Vss 3.3 V Supply Voltage with Respect to Vss 5.0 V Supply Voltage (Vref) with Respect to Vss = 0 °C to +108 °C = -55 °C to +150 °C = -0.5 to Vcc + 0.3 V = -0.5 to VREF + 0.3 V = -0.5 to +2.7 V = -0.5 to +4.6 V = -0.5 to +5.5 V Warning: Stressing the device beyond the “Absolute Maximum Ratings” may cause permanent damage. These are stress ratings only. See Section 16.2 for the Functional Operating Range of the ICH3. A non-condensing environment is required to maintain RTC accuracy. Note: 16.2 Functional Operating Range All of the AC and DC Characteristics specified in this document assume that the ICH3 component is operating within the Functional Operating Range given in this section. Operation outside of the Functional Operating Range is not recommended, and extended exposure outside of the Functional Operating Range may affect component reliability. • • • • • Case Temperature under Bias = 0 °C to +108 °C 1.8 V Supply Voltage (VCC1_8, VccSus1_8) with respect to Vss = 1.71 V to 1.89 V 3.3 V Supply Voltage (VCC3_3, VccSus3_3) with respect to Vss = 3.135 V to 3.465 V 5 V Supply Voltage (V5REF, V5REF_Sus) with respect to Vss = 4.75 V to 5.25 V V_CPU_IO Voltage with respect to Vss =0.950 V to 2.625 V Intel® 82801CA ICH3-S Datasheet 457 Electrical Characteristics 16.3 DC Characteristics Table 16-1. Intel® ICH3-S Power Consumption Estimates Maximum Power Consumption Power Plane S0 S1 S3 S4/S5 G3 Vcc1_8 Vcc3_3 External PHY connected, but PHY power not included External PHY not connected to ICH3-S External PHY connected, but PHY power not included External PHY not connected to ICH3-S Vcc RTC 550 mA 420 mA 94 mA 152 mA 1 mA 63 mA N/A N/A 8.5 mA N/A N/A 8.5 mA N/A N/A N/A VccSus1_8 64 mA 54 mA 7.5 mA 7.5 mA N/A 26 mA 5 mA 4.05 mA 4.05 mA N/A VccSus3_3 14.01 mA N/A 1.01 mA N/A 0.06 mA N/A 0.06 mA N/A N/A 4 uA NOTES: 1. 3.3V SUS S0 was measured with USB traffic (6 ports populated at full speed). 2. Both VccSUS1_8 and VccSUS3_3 S0 max were measured with LAN 100 Mbs full duplex test. 3. VccSUS estimates represent ICH3-S power only; they do not include PHY. 458 Intel® 82801CA ICH3-S Datasheet Electrical Characteristics Table 16-2. DC Characteristics Input Signal Association Symbol Associated Signals2 PCI Signals: AD[31:0], C/BE[3:0]#, DEVSEL#, FRAME#, IRDY#, TRDY#, STOP#, PAR, PERR#, PLOCK#, SERR#, REQ[4:0]# VIH1/VIL1 (5V Tolerant) PC/PCI Signals: REQ[A]#/GPIO[0], REQB[#]/REQ[5]#/GPIO[1] Interrupt Signals: IRQ[15:14], PIRQ[D:A]#, PIRQ[H:E]#/GPIO[5:2] Legacy Signals: RCIN#, A20GATE GPIO Signals: GPIO[7:6] Clock Signals: CLK66, CLK48, CLK14 Interrupt Signals: SERIRQ LPC/FWH Signals: LDRQ[1:0]#, LAD[3:0]/FWH[3:0]; LFRAME#/FWH[4] Power Management Signals: PME#, PWRBTN#, RI#, LAN_RST#, RTCRST#, THRM#, VRMPWRGD System Management Signals: SMBALERT#/GPIO[11] EEPROM Signals: EE_DIN GPIO Signals: GPIO[25:24, 13:12, 8] Clock Signals: APICCLK SMBus Signals: SMBCLK, SMBDATA System Management Signals: INTRUDER#, SMLINK[1:0] VIH2/VIL2 VIH3/VIL3 VIH4/VIL4 VIH5/VIL5 Power Management Signals: RSMRST#, PWROK GPIO Signals: GPIO[28:27] LAN Signals: LAN_RXD[2:0] Processor Signals: FERR#, APICD[1:0] Hub Interface Signals: HI[11:0], HI_STBF, HI_STBS Real Time Clock Signals: RTCX1 USB Signals: OC[5:0]# AC’97 Signals: AC_BITCLK, AC_SDIN[1:0], AC_SYNC VIL6/VIH6 VIL7/VIH7 VIL8/VIH8 VIL9/VIH9 VIL10/VIH10 (5 V Tolerant) VIL11/VIH11 VIL12/VIH12 VIL13/VIH13 VIL14/VIH14 VDI / VCM / VSE GPIO Signals: GPIO[43:32] Clock Signals: LAN_CLK Clock Signals: PCICLK IDE Signals: PDD[15:0], SDD[15:0], PDDREQ, PIORDY, SDDREQ, SIORDY USB Signals: USBP[5:0][P,N] NOTE: To determine the signals’s power plane, refer to Table 3-5. Intel® 82801CA ICH3-S Datasheet 459 Electrical Characteristics Table 16-3. DC Input Characteristics Symbol Parameter Min Max Unit Notes VIL1 VIH1 VIL2 VIH2 VIL3 VIH3 VIL4 VIH4 VIL5 VIH5 VIL6 VIH6 VIL7 VIH7 VIL8 VIH8 VIL9 VIH9 VIL10 VIH10 VIL11 VIH11 VIL12 VIH12 VIL13 VIH13 VIL14 VIH14 VDI VCM VSE Input Low Voltage Input High Voltage Input Low Voltage Input High Voltage Input Low Voltage Input High Voltage Input Low Voltage Input High Voltage Input Low Voltage Input High Voltage Input Low Voltage Input High Voltage Input Low Voltage Input High Voltage Input Low Voltage Input High Voltage Input Low Voltage Input High Voltage Input Low Voltage Input High Voltage Input Low Voltage Input High Voltage Input Low Voltage Input High Voltage Input Low Voltage Input High Voltage Input Low Voltage Input High Voltage Differential Input Sensitivity Differential Common Mode Range Single-Ended Receiver Threshold -0.5 2.0 -0.5 2.0 -0.5 0.5Vcc3_3 -0.5 1.7 -0.5 2.1 -0.5 0.6Vcc3_3 -0.5 1.2 -0.3 HIREF + 0.10 -0.5 0.40 -0.5 2.0 -0.5 0.65Vcc3_3 -0.5 0.6Vcc3_3 -0.5 2.0 0.8 V5REF + 0.5 0.8 Vcc3_3 + 0.5 0.3Vcc3_3 Vcc3_3 + 0.5 0.7 2.625 0.6 VccSus3_3 + 0.5 0.3Vcc3_3 Vcc3_3 + 0.5 0.6 Vcc3_3 + 0.5 HIREF – 0.10 Vcc1_8 + 0.5 0.10 2.0 0.8 V5REF_SUS + 0.5 0.35Vcc3_3 Vcc3_3 + 0.5 0.3Vcc3_3 Vcc3_3 + 0.5 0.8 Vcc3_3 + 0.5 0.8 V V V V V V V V V V V V V V V V V V V V V V V V V V V V V Note 1 Note 2 Note 3 2.0 0.2 0.8 0.8 V5REF + 0.5 2.5 2.0 V V NOTES: 1. VDI = | USBPx[P]–USBPx[N] | 2. Includes VDI range. 3. These voltages represent steady state values. For transient values, consult VRING in Table 16-6. 460 Intel® 82801CA ICH3-S Datasheet Electrical Characteristics Table 16-4. DC Characteristic Output Signal Association Symbol Associated Signals IDE Signals: PDD[15:0], SDD[15:0], PDIOW#/PDSTOP, SDIOW#/SDSTOP, PDIOR#/ PDWSTB/PRDMARDY, SDIOR#/STWSTB/SRDMARDY, PDDACK#, SDDACK#, PDA[2:0], SDA[2:0], PDCS[3,1]#, SDCS[3,1]# Processor Signals: A20M#, CPUPWRGD (1), CPUSLP#, IGNNE#, INIT#, INTR, NMI, SMI#, STPCLK# PCI Signals: AD[31:0], C/BE[3:0]#, PCIRST#, GNT[4:0]#, PAR, DEVSEL#, PERR#, PLOCK#, STOP#, TRDY#, IRDY#, FRAME#, SERR# (1) Interrupt Signals: SERIRQ, PIRQ[D:A]# (1), PIRQ[H:E]#/GPIO[5:2](1) PCI Signals: GNT5#/GNTB#/GPIO17, GNTA#/GPIO16 LPC/FWH Signals: LAD[3:0]/FWH[3:0], LFRAME#/FWH[4] VOH1/VOL1 VOH2/VOL2 VOH3/VOL3 VOH4/VOL4 AC ’97 Signals: AC_RST#, AC_SDOUT, AC_SYNC LAN Signals: LAN_RSTSYNC, LAN_TXD[2:0] GPIO Signals: GPIO[21], GPIO[43:32] SMBus Signals: SMBCLK (1), SMBDATA (1) System Management Signals: SMLINK[1:0] (1) Interrupt Signals: APICD[1:0] (1) Power Management Signals: SLP_S3#, SLP_S5#, SUS_STAT#, SUSCLK EEPROM Signals: EE_CS, EE_DOUT, EE_SHCLK GPIO Signals: GPIO[28:27, 25:22, 20:18] Other Signals: SPKR USB Signals: USBP[5:0][P,N] Hub Signals: HI[11:0], HI_STBF, HI_STBS VOL5/VOH5 VOL6/VOH6 VOL7/VOH7 VOL8/VOH8 NOTE 1: These signal are open drain. Intel® 82801CA ICH3-S Datasheet 461 Electrical Characteristics Table 16-5. DC Output Characteristics Symbol Parameter Min Max Unit IOL / IOH Notes VOL1 VOH1 VOL2 VOH2 VOL3 VOH3 VOL4 VOH4 VOL5 VOH5 VOL6 VOH6 VOL7 VOH7 VOL8 VOH8 Output Low Voltage Output High Voltage Output Low Voltage Output High Voltage Output Low Voltage Output High Voltage Output Low Voltage Output High Voltage Output Low Voltage Output High Voltage Output Low Voltage Output High Voltage Output Low Voltage Output High Voltage Output Low Voltage Output High Voltage 1.6 Vcc3_3 - 0.5 Vcc3_3 - 0.5 N/A 0.9Vcc3_3 2.4 V_CPU_IO – 26 mV 2.4 0.5 V V 4 mA -0.4 mA 4.0 mA -0.1 mA 6 mA -2 mA 1.5 mA -0.5 mA 4 mA Note 1 Note 1 0.4 V V Note 2 0.55 V V Note 2 0.1Vcc3_3 V V Note 2 0.4 V V Note 2 4.0 mA -2.0 mA 5 mA -2 mA 20 mA -1.5 mA Note 2 0.4 V V 0.4 V V 0.05 V V NOTES: 1. IDE signal DC voltage levels shall be measured at the host connector. 2. The CPUPWRGD, SERR#, PIRQ[A:H], GPIO[22]/CPUPERF#, APIC[1:0], SMBDATA, SMBCLK and SMLINK[1:0] signal has an open drain driver, and the VOH spec does not apply. This signal must have external pull-up resistor. 462 Intel® 82801CA ICH3-S Datasheet Electrical Characteristics Table 16-6. Other DC Characteristics Symbol Parameter Min Max Unit Notes V5REF VCC3_3 VCC1_8 HIREF ICH3 Core Well Reference Voltage I/O Buffer Voltage Internal Logic Voltage Hub Interface Reference Voltage 4.75 3.135 1.71 0.343 4.75 3.135 1.71 2.0 1.5 1.0 5.25 3.465 1.89 0.357 5.25 3.465 1.89 3.6 2.0 1.5 V V V V V V V V V V Applies to Ultra DMA modes greater than mode 4. Applies to Ultra DMA modes greater than mode 4 Applies to Ultra DMA modes greater than mode 4 Applies to Ultra DMA modes greater than mode 4 Applied to USBP[5:0][P,N] Applied to USBP[5:0]P,N] |(USBPx+,USBPx-)| Includes VDI V5REF_Sus Suspend Well Reference Voltage VccSus3_3 Suspend Well I/O Buffer Voltage VccSus1_8 Vcc(RTC) V+ VSuspend Well Logic Voltage Battery Voltage Low to High Input Threshold High to Low Input Threshold VHYS Difference between Input Thresholds: (V+current value) – (V-current value) Average of thresholds: ((V+current value) + (V-current value))/2 Voltage at Recipient Connector Hysteresis Input Rising Threshold Hysteresis Input Falling Threshold Differential Input Sensitivity Differential Common Mode Range Output Signal Crossover Voltage Single Ended Rcvr Threshold Input Leakage Current Hi-Z State Data Line Leakage Input Leakage Current–Clock signals Input Capacitance–Hub interface Input Capacitance–All Other Output Capacitance I/O Capacitance Crystal Load Capacitance 320 mV VTHRAVG 1.3 1.7 V VRING VIT+ VITVDI VCM VCRS VSE ILI1 ILI2 ILI3 CIN COUT CI/O -1.0 1.9 6.0 V V 1.3 0.2 0.8 1.3 0.8 -1.0 -10 -100 2.5 2.0 2.0 +1.0 +10 +100 8 12 12 12 Typical Value V V V V V uA uA uA pF pF pF (0 V< VIN< 3.3V) See Note FC = 1 MHz FC = 1 MHz FC = 1 MHz CL CL XTAL1 XTAL2 6 6 pF pF NOTE: Includes APICCLK, CLK14, CLK48, CLK66, LAN_CLK, and PCICLK. Intel® 82801CA ICH3-S Datasheet 463 Electrical Characteristics 16.4 AC Characteristics Table 16-7. Clock Timings Sym Parameter PCI Clock (PCICLK) Min Max Unit Notes Figure t1 t2 t3 t4 t5 Period High Time Low Time Rise Time Fall Time Oscillator Clock (OSC) 30 12 12 33.3 ns ns ns 16-1 16-1 16-1 16-1 16-1 3 3 ns ns t6 t7 t8 Period High Time Low Time USB Clock (USBCLK) 67 20 20 70 ns 16-1 16-1 ns 16-1 fclk48 t9 t10 t11 t12 t13 Operating Frequency Frequency Tolerance High Time Low Time Rise Time Fall Time SMBus Clock (SMBCLK) 48 500 8 8 1.2 1.2 MHz ppm ns ns ns ns 1 2 16-1 16-1 16-1 16-1 fsmb t18 t19 t20 t21 Operating Frequency High Time Low Time Rise Time Fall Time I/O APIC Clock (APICCLK) 10 4.0 4.7 16 50 kHz µs µs ns ns 3 16-16 16-16 16-16 16-16 1000 300 fioap t22 t23 t24 t25 Operating Frequency High Time Low Time Rise Time Fall Time AC ’97 Clock (BITCLK) 14.32 12 12 1.0 1.0 33.33 36 36 5.0 5.0 MHz ns ns ns ns 16-1 16-1 16-1 16-1 fac97 t26 t27 t28 Operating Frequency Output Jitter High Time Low Time 12.288 750 32.56 32.56 48.84 48.84 MHz ps ns ns 16-1 16-1 464 Intel® 82801CA ICH3-S Datasheet Electrical Characteristics Table 16-7. Clock Timings (Continued) Sym Parameter Min Max Unit Notes Figure t29 t30 Rise Time Fall Time Hub Interface Clock 2.0 2.0 6.0 6.0 ns ns 4 4 16-1 16-1 fhi t31 t32 t33 t34 t35 Operating Frequency High Time Low Time Rise Time Fall Time CLK66 leads PCICLK 6.0 6.0 0.25 0.25 1.0 66 MHz ns ns 1.2 1.2 4.5 ns ns ns 5 16-1 16-1 16-1 16-1 NOTES: 1. The USBCLK is a 48 MHz that expects a 40/60% duty cycle. 2. USBCLK is a pass-thru clock that is not altered by the ICH3. This frequency tolerance specification is required for USB 1.1 compliance and is affected by external elements such as the clock generator and the system board. 3. The maximum high time (t18 Max) provide a simple guaranteed method for devices to detect bus idle conditions. 4. BITCLK rise and fall times are measured from 10%VDD and 90%VDD. 5. This specification includes pin-to-pin skew from the clock generator as well as board skew. 6. SUSCLK duty cycle can range from 30% minimum to 70% maximum. Table 16-8. PCI Interface Timing Sym Parameter Min Max Units Notes Figure t40 t41 t42 t43 AD[31:0] Valid Delay AD[31:0] Setup Time to PCICLK Rising AD[31:0] Hold Time from PCICLK Rising C/BE[3:0]#, FRAME#, TRDY#, IRDY#, STOP#, PAR, PERR#, PLOCK#, DEVSEL# Valid Delay from PCICLK Rising C/BE[3:0]#, FRAME#, TRDY#, IRDY#, STOP#, PAR, PERR#, PLOCK#, IDSEL, DEVSEL# Output Enable Delay from PCICLK Rising C/BE[3:0]#, FRAME#, TRDY#, IRDY#, STOP#, PERR#, PLOCK#, DEVSEL#, GNT[A:B]# Float Delay from PCICLK Rising C/BE[3:0]#, FRAME#, TRDY#, IRDY#, STOP#, SERR#, PERR#, DEVSEL#, Setup Time to PCICLK Rising C/BE[3:0]#, FRAME#, TRDY#, IRDY#, STOP#, SERR#, PERR#, DEVSEL#, REQ[A:B]# Hold Time from PCLKIN Rising PCIRST# Low Pulse Width GNT[A:B}#, GNT[5:0]# Valid Delay from PCICLK Rising REQ[A:B]#, REQ[5:0]# Setup Timer to PCICLK Rising 2 7 0 2 11 ns ns ns Min: 0pF Max: 50pF 16-2 16-3 16-3 11 ns Min: 0pF Max: 50pF 16-2 t44 2 ns 16-6 t45 2 28 ns 16-4 t46 7 ns 16-3 t47 t48 t49 t50 0 1 2 12 12 ns ms ns ns 16-3 16-5 Intel® 82801CA ICH3-S Datasheet 465 Electrical Characteristics Table 16-9. IDE PIO and Multiword DMA ModeTiming Sym Parameter Min Max Units Notes Figure t60 t61 t62 t63 t64 t65 t66 t67 t68 t69 t70 t71 t72 t73 t74 t75 t76 PDIOR#/PDIOW#/SDIOR#/SDIOW# Active From CLK66 Rising PDIOR#/PDIOW#/SDIOR#/SDIOW# Inactive From CLK66 Rising PDA[2:0]/SDA[2:0] Valid Delay From CLK66 Rising PDCS1#/SDCS1#, PDCS3#/SDCS3# Active From CLK66 Rising PDCS1#/SDCS1#, PDCS3#/SDCS3# Inactive From CLK66 Rising PDDACK#/SDDACK# Active From CLK66 Rising PDDACK#/SDDACK# Inactive From CLK66 Rising PDDREQ/SDDREQ Setup Time to CLK66 Rising PDDREQ/SDDREQ Hold From CLK66 Rising PDD[15:0]/SDD[15:0] Valid Delay From CLK66 Rising PDD[15:0]/SDD[15:0] Setup Time to CLK66 Rising PDD[15:0]/SDD[15:0] Hold From CLK66 Rising PIORDY/SIORDY Setup Time to CLK66 Rising PIORDY/SIORDY Hold From CLK66 Rising PIORDY/SIORDY Inactive Pulse Width PDIOR#/PDIOW#/SDIOR#/SDIOW# Pulse Width Low PDIOR#/PDIOW#/SDIOR#/SDIOW# Pulse Width High 2 2 2 2 2 2 2 7 7 2 10 7 7 7 48 20 20 30 30 30 20 20 ns ns ns ns ns ns ns ns ns 16-7,16-8 16-7,16-8 16-7 16-7 16-7 16-8 16-8 16-8 16-7,16-8 16-7,16-8 16-7,16-8 1 1 16-7 16-7 16-7 2,3 3,4 16-7,16-8 16-7,16-8 30 ns ns ns ns ns ns NOTES: 1. IORDY is internally synchronized. This timing is to guarantee recognition on the next clock. 2. PIORDY sample point from DIOx# assertion and PDIOx# active pulse width is programmable from 2-5 PCI clocks when the drive mode is Mode 2 or greater. Refer to the ISP field in the IDE Timing Register 3. PIORDY sample point from DIOx# assertion, PDIOx# active pulse width and PDIOx# inactive pulse width cycle time is the compatible timing when the drive mode is Mode 0/1. Refer to the TIM0/1 field in the IDE timing register. 4. PDIOx# inactive pulse width is programmable from 1-4 PCI clocks when the drive mode is Mode 2 or greater. Refer to the RCT field in the IDE Timing Register. 466 Intel® 82801CA ICH3-S Datasheet Electrical Characteristics Table 16-10. Ultra ATA Timing (Mode 0, Mode 1, Mode 2) Sym Parameter1 Mode 0 (ns) Min Max Mode 1 (ns) Min Max Mode 2 (ns) Min Max Measuring Location Figure t80 Sustained Cycle Time (T2cyctyp) 240 160 120 Sender Connector End Recipient Connector Sender Connector Recipient Connector Recipient Connector Sender Connector Sender Connector 16-10 t81 Cycle Time (Tcyc) 112 73 54 t82 t83a t84a t85a t86a t87 t88 t89 t90 t91 t92a Two Cycle Time (T2cyc) Data Setup Time (Tds) Data Hold Time (Tdh) Data Valid Setup Time (Tdvs) Data Valid Hold Time (Tdvh) Limited Interlock Time (Tli) Interlock Time w/ Minimum (Tmli) Envelope Time (Tenv) Ready to Pause Time (Trp) DMACK setup/hold Time (Tack) CRC Word Setup Time at Host (Tcvs) CRC word valid hold time at sender (from DMACK# negation until CRC may become invalid)2 (Tcvh) STROBE output released-todriving to the first transition of critical timing (Tzfs) Data Output Released-to-Driving Until the First Tunisian of Critical Timing (Tdzfs) Unlimited Interlock Time (Tui) Maximum time allowed for output drivers to release (from asserted or negated) (Taz) Minimum time for drivers to assert or negate (from released) (Tzad) Ready-to-final-STROBE time (no STROBE edges shall be sent this long after negation of DMARDY#) (Trfs) 230 15 5 70 6.2 0 20 20 160 20 70 70 150 153 10 5 48 6.2 0 20 20 125 20 48 70 150 115 7 5 31 6.2 0 20 20 100 20 31 70 150 16-10 16-10 16-10 16-10 16-10 16-12 16-12 16-9 16-11 16-9, 16-12 See Note 2 Host Connector Host Connector Recipient Connector Host Connector Host Connector Host Connector t92b 6.2 6.2 6.2 t93 0 0 0 Device Connector Sender Connector Host Connector 10 See Note 2 Device Connector Sender Connector t94 70 48 31 t95 0 0 0 t96a 10 10 t96b 0 0 0 t97 75 70 60 Intel® 82801CA ICH3-S Datasheet 467 Electrical Characteristics Table 16-10. Ultra ATA Timing (Mode 0, Mode 1, Mode 2) (Continued) Sym Parameter1 Mode 0 (ns) Min Max Mode 1 (ns) Min Max Mode 2 (ns) Min Max Measuring Location Figure t98a t98b Maximum time before releasing IORDY (Tiordyz) Minimum time before driving IORDY 2 (Tziordy) Time from STROBE edge to negation of DMARQ or assertion of STOP (when sender terminates a burst) (Tss) Recipient IC data setup time (from data valid until STROBE edge)2 (Tdsic) Recipient IC data hold time (from STROBE edge until data may become invalid)2 (Tdhic) Sender IC data valid setup time (from data valid until STROBE edge) 2 (Tdvsic) Sender IC data valid hold time (from STROBE edge until data may become invalid) 2 (Tdvhic) 0 20 0 20 0 20 Device Connector Device Connector Sender Connector t99 50 50 50 t83b 14.7 9.7 6.8 ICH3 ball t84b 4.8 4.8 4.8 ICH3 ball t85b 72.9 50.9 33.9 ICH3 ball t86b 9 9 9 ICH3 ball NOTES: 1. The specification symbols in parentheses correspond to the AT Attachment - 6 with Packet Interface (ATA/ATAPI - 6) specification name. 2. See the AT Attachment - 6 with Packet Interface (ATA/ATAPI - 6) specification for further details on measuring these timing parameters. 468 Intel® 82801CA ICH3-S Datasheet Electrical Characteristics Table 16-11. Ultra ATA Timing (Mode 3, Mode 4, Mode 5) Parameter1 Mode 3 (ns) Min Max Mode 4 (ns) Min Max Mode 5 (ns) Min Max Measuring Location Sym Figure t80 Sustained Cycle Time (T2cyctyp) 90 60 40 Sender Connector End Recipient Connector Sender Connector Recipient Connector Recipient Connector Sender Connector Sender Connector 75 See Note 2 Host Connector 50 Host Connector Recipient Connector Host Connector Host Connector 16-10 t81 Cycle Time (Tcyc) 39 25 16.8 t82 t83 t84 t85 t86 t87 t88 t89 t90 t91 t92a Two Cycle Time (T2cyc) Data Setup Time (Tds) Data Hold Time (Tdh) Data Valid Setup Time (Tdvs) Data Valid Hold Time (Tdvh) Limited Interlock Time (Tli) Interlock Time w/ Minimum (Tmli) Envelope Time (Tenv) Ready to Pause Time (Trp) DMACK setup/hold Time (Tack) CRC Word Setup Time at Host (Tcvs) CRC Word Hold Time at Sender CRC word valid hold time at sender (from DMACK# negation until CRC may become invalid)2 (Tcvh) STROBE output released-todriving to the first transition of critical timing (Tzfs) Data Output Released-to-Driving Until the First Transition of Critical Timing (Tdzfs) Unlimited Interlock Time (Tui) Maximum time allowed for output drivers to release (from asserted or negated) (Taz) Drivers to assert or negate (from released) (Tzad) Ready-to-final-STROBE time (no STROBE edges shall be sent this long after negation of DMARDY#) (Trfs) 86 7 5 20 6.2 0 20 20 100 20 20 55 100 57 5 5 6.7 6.2 0 20 20 100 20 6.7 55 100 38 4.0 4.6 4.8 4.8 0 20 20 85 20 10 16-10 16-10 16-10 16-10 16-10 16-12 16-12 16-9 16-11 16-9, 16-12 t92b 6.2 6.2 10.0 Host Connector t93 0 0 35 Device Connector Sender Connector Host Connector 10 See Note 2 Device Connector Sender Connector t94 20.0 6.7 25 t95 0 0 0 t96a 10 10 t96b 0 0 0 t97 60 60 50 Intel® 82801CA ICH3-S Datasheet 469 Electrical Characteristics Table 16-11. Ultra ATA Timing (Mode 3, Mode 4, Mode 5) (Continued) Sym Parameter1 Mode 3 (ns) Min Max Mode 4 (ns) Min Max Mode 5 (ns) Min Max Measuring Location Figure t98a t98b Maximum time before releasing IORDY (Tiordyz) Minimum time before driving IORDY 2 (Tziordy) Time from STROBE edge to negation of DMARQ or assertion of STOP (when sender terminates a burst) (Tss) Recipient IC data setup time (from data valid until STROBE edge)2 (Tdsic) Recipient IC data hold time (from STROBE edge until data may become invalid)2 (Tdhic) Sender IC data valid setup time (from data valid until STROBE edge)2 (Tdvsic) Sender IC data valid hold time (from STROBE edge until data may become invalid)2 (Tdvhic) 0 20 0 20 0 20 Device Connector Device Connector Sender Connector t99 50 50 50 t83b 6.8 4.8 2.3 ICH3 Balls t84b 4.8 4.8 2.8 ICH3 Balls t85b 22.6 9.5 6.0 ICH3 Balls t86b 9.0 9.0 6.0 ICH3 Balls NOTES: 1. The specification symbols in parentheses correspond to the AT Attachment - 6 with Packet Interface (ATA/ATAPI - 6) specification name. 2. See the AT Attachment - 6 with Packet Interface (ATA/ATAPI - 6) specification for further details on measuring these timing parameters. 470 Intel® 82801CA ICH3-S Datasheet Electrical Characteristics : Table 16-12. Universal Serial Bus Timing Sym Parameter Min Max Units Notes Fig Full Speed Source (Note 7) t100 t101 t102 t103 t104 USBPx+, USBPx- Driver Rise Time USBPx+, USBPx- Driver Fall Time Source Differential Driver Jitter To Next Transition For Paired Transitions Source SE0 interval of EOP Source Jitter for Differential Transition to SE0 Transition Receiver Data Jitter Tolerance To Next Transition For Paired Transitions EOP Width: Must accept as EOP Width of SE0 interval during differential transition 4 4 -3.5 -4 160 -2 20 20 3.5 1 175 5 ns ns ns ns ns ns 1, CL = 50 pF 1, CL = 50 pF 2, 3 4 5 16-13 16-13 16-14 16-15 t105 t106 t107 -18.5 -9 82 18.5 9 ns ns ns 3 4 16-14 16-15 14 ns Low Speed Source (Note 8) t108 USBPx+, USBPx- Driver Rise Time 75 300 75 300 ns ns ns ns 1, 6 CL = 50 pF CL = 350 pF 1,6 CL = 50 pF CL = 350 pF 2, 3 4 5 16-13 t109 USBPx+, USBPx- Driver Fall Time Source Differential Driver Jitter To Next Transition For Paired Transitions Source SE0 interval of EOP Source Jitter for Differential Transition to SE0 Transition Receiver Data Jitter Tolerance To Next Transition For Paired Transitions EOP Width: Must accept as EOP Width of SE0 interval during differential transition 16-13 t110 t111 t112 -25 -14 1.25 -40 25 14 1.50 100 ns ns µs ns 16-14 16-15 t113 t114 t115 -152 -200 670 152 200 ns ns ns 3 4 16-14 16-15 210 ns 1. Driver output resistance under steady state drive is specified at 28 ohms at minimum and 43 ohms at maximum 2. Timing difference between the differential data signals 3. Measured at crossover point of differential data signals 4. Measured at 50% swing point of data signals 5. Measured from last crossover point to 50% swing point of data line at leading edge of EOP 6. Measured from 10% to 90% of the data signal 7. Full Speed Data Rate has minimum of 11.97 Mbps and maximum of 12.03 Mbps 8. Low Speed Data Rate has a minimum of 1.48 Mbps and a maximum of 1.52 Mbps Intel® 82801CA ICH3-S Datasheet 471 Electrical Characteristics Table 16-13. IOAPIC Bus Timing Sym Parameter Min Max Units Notes Fig t120 t121 t122 APICCD[1:0]# Valid Delay from APICCLK Rising APICCD[1:0]# Setup Time to APICCLK Rising APICCD[1:0]# Hold Time from APICCLK Rising 3.0 8.5 3.0 12.0 ns ns ns 16-2 16-3 16-3 NOTE: The Min AC column indicates the minimum times required by the SMBus and/or I2C specifications. The ICH3 tolerates these timings on both its SMBus and SMLink interfaces. Table 16-14. SMBus Timing Sym Parameter Min Max Units Notes Fig t130 t131 t132 t133 t134 t135 t136 t137 t138 Bus Tree Time Between Stop and Start Condition Hold Time after (repeated) Start Condition. After this period, the first clock is generated. Repeated Start Condition Setup Time Stop Condition Setup Time Data Hold Time Data Setup Time Device Time Out Cumulative Clock Low Extend Time (slave device) Cumulative Clock Low Extend Time (master device) 4.7 4.0 4.7 4.0 0 250 25 35 25 10 µs µs µs µs ns ns ms ms ms 1 2 3 4 16-16 16-16 16-16 16-16 16-16 16-16 16-17 16-17 NOTES: 1. A device will timeout when any clock low exceeds this value. 2. t137 is the cumulative time a slave device is allowed to extend the clock cycles in one message from the initial start to stop. If a slave device exceeds this time, it is expected to release both its clock and data lines and reset itself. 3. t138 is the cumulative time a master device is allowed to extend its clock cycles within each byte of a message as defined from start-to-ack, ack-to-ack or ack-to-stop. 4. t134 has a minimum timing for I2C of 0 ns, while the minimum timing for SMBus is 300 ns. Table 16-15. AC ’97 Timing Sym Parameter Min Max Units Notes Fig t140 t141 t142 ACSDIN[0:1] Setup to Falling Edge of BITCLK ACSDIN[0:1] Hold from Falling Edge of BITCLK ACSYNC, ACSDOUTvalid delay from rising edge of BITCLK 15 5 15 ns ns ns 16-2 Table 16-16. LPC Timing Sym Parameter Min Max Units Notes Fig t150 t151 t152 t153 t154 t155 t156 t157 LAD[3:0] Valid Delay from PCICLK Rising LAD[3:0] Output Enable Delay from PCICLK Rising LAD[3:0] Float Delay from PCICLK Rising LAD[3:0] Setup Time to PCICLK Rising LAD[3:0] Hold Time from PCICLK Rising LDRQ[1:0]# Setup Time to PCICLK Rising LDRQ[1:0]# Hold Time from PCICLK Rising LFRAME# Valid Delay from PCICLK Rising 2 2 11 ns ns 16-2 16-6 16-4 16-3 16-3 16-3 16-3 16-2 28 7 0 12 0 2 12 ns ns ns ns ns ns 472 Intel® 82801CA ICH3-S Datasheet Electrical Characteristics Table 16-17. Miscellaneous Timings Sym Parameter Min Max Units Notes Fig t160 t161 t162 t163 t164 t165 SERIRQ Setup Time to PCICLK Rising SERIRQ Hold Time from PCICLK Rising RI#, EXTSMI#, GPI, USB Resume Pulse Width SPKR Valid Delay from OSC Rising SERR# Active to NMI Active IGNNE# Inactive from FERR# Inactive 7 0 2 200 200 230 ns ns RTCCLK ns ns ns 16-3 16-3 16-5 16-2 Table 16-18. Power Sequencing and Reset Signal Timings Sym Parameter Min Max Units Notes Fig t170 t171 t172 t173 t174 t175 t176 t177 t178 t179 t180 VccRTC active to RTCRST# inactive V5RefSus active to VccSus3_3, VccSus1_8 active VccRTC supply active to VccSus supplies active VccSus supplies active to LAN_RST# active, RSMRST# inactive V5Ref active to Vcc3_3, Vcc1_8 active VccSus supplies active to Vcc supplies active Vcc supplies active to PWROK, VRMPWRGD active PWROK and VRMPWRGD both active to SUS_STAT# inactive. SUS_STAT# inactive to PCIRST# inactive AC_RST# active low pulse width AC_RST# inactive to BIT_CLK startup delay 5 0 0 10 0 0 10 32 1 1 162.8 34 3 ms ms ms ms ms ms ms RTCCLK RTCCLK 1, 2 3 1, 2 3 16-18 16-18 16-18 16-18 16-21 16-18 16-18 16-18 16-21 16-21 16-21 µs ns NOTES: 1. The V5Ref supply must power up before or simultaneous with its associated 3.3 V supply, and must power down simultaneous with or after the 3.3 V supply. See Section 2.20.3 for details. 2. The associated 3.3 V and 1.8 V supplies are assumed to power up or down ‘together. The difference between the levels of the 3.3 V and 1.8 V supplies must never be greater than 2.0 V. 3. The VccSus supplies must never be active while the VccRTC supply is inactive. Likewise, the Vcc or VccLAN, in mobile configurations, supplies must never be active while the VccSus supplies are inactive, and the Vcc supplies must never be active while the VccLAN supplies are inactive in mobile configurations. Intel® 82801CA ICH3-S Datasheet 473 Electrical Characteristics Table 16-19. Power Management Timings Sym Parameter Min Max Units Notes Fig t181 t182 t183 t184 VccSus active to SLP_S3#, SLP_S5#, SUS_STAT# and PCIRST# active RSMRST# inactive to SUSCLK running, SLP_S3#, SLP_S5# inactive Vcc active to STPCLK# and CPUSLP# inactive, and CPU Frequency Strap signals high PWROK and VRMPWRGD active to SUS_STAT# inactive and processor Frequency Straps latched to Strap Values CPU Reset Complete to Frequency Strap signals unlatched from Strap Values STPCLK# active to Stop Grant cycle Stop Grant cycle to CPUSLP# active CPUSLP# active to SUS_STAT# active SUS_STAT# active to PCIRST# active PCIRST# active to SLP_S3# active SLP_S3# active to SLP_S5# active SLP_S3# active to PWROK, VRMPWRGD inactive PWROK, VRMPWRGD inactive to Vcc supplies inactive Wake Event to SLP_S3#, SLP_S5# inactive Processor I/F signals latched prior to STPCLK# active Break Event to STPCLK# inactive STPCLK# inactive to Processor I/F signals unlatched 32 50 110 50 ns ms ns 7 16-20 16-20 16-20 16-21 1 16-20 t185 34 RTCCLK t186 t187 t188 t192 t193 t194 t195 t196 t197 t198 t204 t205 t206 7 N/A 60 2 9 1 1 0 20 1 0 30 240 9 N/A 63 4 21 2 2 CLK66 2 3 16-20 16-21 16-21 16-21 16-21 16-21 16-21 16-21 16-21 PCICLK RTCCLK RTCCLK RTCCLK RTCCLK ms ns 4 1 1 1 1, 6 5 10 4 3120 1880 RTCCLK CLK66 ns ns 1 2 16-21 16-22 16-22 16-22 NOTES: 1. These transitions are clocked off the internal RTC. 1 RTC clock is approximately 32 us. 2. This transition is clocked off the 66 MHz CLK66. 1 CLK66 is approximately 15 ns. 3. The ICH3 STPCLK# assertion will trigger the processor to send a stop grant acknowledge cycle. The timing for this cycle getting to the ICH3 is dependant on the processor and the memory controller. 4. These transitions are clocked off the 33 MHz PCICLK. 1 PCICLK is approximately 30ns. 5. The ICH3 has no maximum timing requirement for this transition. It is up to the system designer to determine if the SLP_S3# and SLP_S5# signals are used to control the power planes. 6. If the transition to S5 is due to Power Button Override, SLP_S3# and SLP_S5# are asserted together following timing t194 (PCIRST# active to SLP_S3# and SLP_S5# active). 7. If there is no RTC battery in the system, so VccRTC and the VccSus supplies come up together, the delay from RTCRST# and RSMRST# inactive to SUSCLK toggling may be as much as 1000 ms. 474 Intel® 82801CA ICH3-S Datasheet Electrical Characteristics 16.5 Timing Diagrams Figure 16-1. Clock Timing Period High Time 2.0V 0.8V Low Time Fall Time Rise Time Figure 16-2. Valid Delay From Rising Clock Edge Clock 1.5V Valid Delay Output VT Figure 16-3. Setup and Hold Times Clock 1.5V Setup Time Hold Time Input VT VT Figure 16-4. Float Delay Input VT Float Delay Output Intel® 82801CA ICH3-S Datasheet 475 Electrical Characteristics Figure 16-5. Pulse Width Pulse Width VT VT Figure 16-6. Output Enable Delay Clock 1.5V Output Enable Delay Output VT Figure 16-7. IDE PIO Mode CLK66 t61 t60 t75 DIOx# t76 t69 DD[15:0] Write write data t71 t70 DD[15:0] Read read data t69 t73 t72 IORDY sample point t74 t62,t63 DA[2:0], CS1#, CS3# t64 476 Intel® 82801CA ICH3-S Datasheet Electrical Characteristics Figure 16-8. IDE Multiword DMA CLK66 t67 DDREQ[1:0] t65 DDACK[1:0] t60 t75 DIOx# t61 t76 t68 t70 DD[15:0] Read t71 Read Data Read Data t69 DD[15:0] Write t69 Write Data Write Data idedma.vsd Figure 16-9. Ultra ATA Mode (Drive Initiating a Burst Read) DMARQ (drive) t96 t91 DMAC K# (host) t89 ST OP (host) t89 DMARDY# (host) t99b t95 t94 t97 t98 ST R OBE (drive) t85 t86 DD[15:0] DA[2:0], CS[1:0] Ultra_ATA _Tim ing Intel® 82801CA ICH3-S Datasheet 477 Electrical Characteristics Figure 16-10. Ultra ATA Mode (Sustained Burst) t82 t81 t85 t99f ST R OBE @ sender t86 t99g Data @ sender t86 t99g t86 t99g t81 t85 t99f t83 t99d t83 t99d ST RO BE @ receiver t84 t99e Data @ receiver t84 t99e t84 t99e Ultra_ATA_Sust_Tim ing Figure 16-11. Ultra ATA Mode (Pausing a DMA Burst) t90 STOP (host) DMARDY# t99 STROBE DATA Ultra_ATA_Pause_Tim ing 478 Intel® 82801CA ICH3-S Datasheet Electrical Characteristics Figure 16-12. Ultra ATA Mode (Terminating a DMA Burst) DMARQ (drive) t87 t88 t91 DMACK# (host) STOP (host) t99c t99a DMARDY# (drive) t87 Strobe (host) t92 DATA (host) t93 t91 CRC Ultra_ATA_Term Figure 16-13. USB Rise and Fall Times Rise Time CL Differential Data Lines 10% CL tR 90% Fall Time 90% 10% tF Low Speed: 75 ns at CL = 50 pF, 300 ns at CL = 350 pF Full Speed: 4 to 20 ns at CL = 50 pF Figure 16-14. USB Jitter T period Crossover Points Differential Data Lines Jitter Consecutive Transitions Paired Transitions USB Ti i Intel® 82801CA ICH3-S Datasheet 479 Electrical Characteristics Figure 16-15. USB EOP Width Tperiod Data Crossover Level Differential Data Lines EOP Width Figure 16-16. SMBus Transaction t19 t20 t21 SMBCLK t131 t134 t135 t132 t18 t133 SMBDATA t130 Figure 16-17. SMBus Timeout Start t137 CLK ack t138 SMBCLK t138 CLK ack Stop SMBDATA 480 Intel® 82801CA ICH3-S Datasheet Electrical Characteristics Figure 16-18. Power Sequencing and Reset Signal Timings PWROK, VRMPWRGD Vcc3_3, Vcc1_8, V_CPU_IO V5Ref RSMRST#, RSM_PWROK VccSus3_3, VccSus1_8 T173 T172 T171 V5RefSus RTCRST# T170 VccRTC ich2_powerup_reset_DT.vsd T176 T175 T174 Figure 16-19. 1.8 V/3.3 V Power Sequencing V 3.3 V O L T A G E 1.8 V V < 2.0V t Time P ow er_Seq Intel® 82801CA ICH3-S Datasheet 481 Electrical Characteristics Figure 16-20. G3 (Mechanical Off) to S0 Timings System State Hub interface "CPU Reset Complete" message STPCLK#, CPUSLP# G3 G3 S5 S5 S0 S0 state T186 T184 Frequency Straps T185 PCIRST# T181 SUS_STAT# PWROK, VRMPWRGD T176 T177 T178 Strap Values Normal Operation Vcc SLP_S3# SLP_S5# T181 SUSCLK RSMRST#, RSM_PWROK T173 VccSus ICH2_G3_S0_timing_DT1.vst T183 Running T182 Figure 16-21. S0 to S5 to S0 Timings S0 S0 S3 S3 S4/S5 S3/S4/S5 S0 S0 STPCLK# Stop Grant Cycle T187 CPUSLP# T188 SUS_STAT# T192 PCIRST# T193 SLP_S3# T194 T184 T177 T178 T198 SLP_S5# T195 Wake Event PWROK, VRMPWRGD Vcc T197 T196 T176 ich2_S0_S5_timing_DT1.vsd 482 Intel® 82801CA ICH3-S Datasheet Electrical Characteristics Figure 16-22. C0 to C2 to C0 Timings CPU I/F Signals STPCLK# Break Event Unlatched Latched Unlatched T204 T205 T206 ICH2_C0_C2_Timing.vsd Intel® 82801CA ICH3-S Datasheet 483 Electrical Characteristics This page is intentionally left blank. 484 Intel® 82801CA ICH3-S Datasheet Package Information Package Information Figure 17-1 illustrates the ICH3 421 BGA package. All dimensions are in millimeters. Figure 17-1. Intel® ICH3 Package THIS DRAWING CONTAINS INTEL CORPORATION CONFIDENTIAL INFORMATION. IT IS DISCLOSED IN CONFIDENCE AND ITS CONTENTS MAY NOT BE DISCLOSED WITHOUT THE PRIOR WRITTEN CONSENT OF INTEL CORPORATION. // 0.127 A -A- 17 31.00 ±0.20 26.00 ±0.25 PIN #1 IDENTIFIER -B- NOTES: 1. ALL DIMENSIONS AND TOLERANCES CONFORM TO ANSI Y14.5M-1982. 16.96 REF 31.00 ±0.20 26.00 ±0.25 0.127 A 2. DIMENSION IS MEASURED AT THE MAXIMUM SOLDER BALL DIAMETER, PARALLEL TO PRIMARY DATUM -C- . 3. PRIMARY DATUM -C- AND SEATING PLANE ARE DEFINED BY THE SPHERICAL CROWNS OF THE SOLDER BALLS. 4. ALL DIMENSIONS UNLESS OTHERWISE SPECIFIED ARE IN MILLIMETERS 3 X C1.00 THRU 16.96 REF 45D CHAMFER 4 PLACES TOP VIEW PIN #1 CORNER A B C D E F G H J K L M N P R T U V W Y AA AB AC 2 Ø 0.30 S Ø 0.90 0.60 22 20 18 16 14 12 10 8 6 4 2 23 21 19 17 15 13 11 9 7 5 3 1 C AS BS 1.27 1.53 REF 1.53 REF 1.27 BOTTOM VIEW 2.38 ±0.21 1.17 ±0.05 30° // 0.15 C 0.15 -C- 0.61 ±0.06 0.60 ±0.10 3 SEATING PLANE SIDE VIEW Intel® 82801CA ICH3-S Datasheet 485 Package Information This page is intentionally left blank. 486 Intel® 82801CA ICH3-S Datasheet Testability Testability 18.1 Test Mode Description 18 The ICH3 supports two types of test modes, a tri-state test mode and a XOR Chain test mode. Driving RTCRST# low for a specific number of PCI clocks while PWROK is high will activate a particular test mode as described in Table 18-1. Note: . RTCRST# can be driven low any time after PCIRST# is inactive. Table 18-1. Test Mode Selection Number of PCI Clocks RTCRST# driven low after PWROK active Test Mode 42 No Test Mode Selected XOR Chain 1 XOR Chain 2 XOR Chain 3 XOR Chain 4 All Z Reserved. DO NOT ATTEMPT No Test Mode Selected Figure 18-1 illustrates the entry into a test mode. A particular test mode is entered upon the rising edge of the RTCRST# after being asserted for a specific number of PCI clocks while PWROK is active. To change test modes, the same sequence should be followed again. To restore the ICH3 to normal operation, execute the sequence with RTCRST# being asserted so that no test mode is selected as specified in Table 18-1. Figure 18-1. Test Mode Entry (XOR Chain Example) RSMRST# PWROK RTCRST# Other Signal Outputs N Number of PCI Clocks Test Mode Entered All Output Signals Tri-Stated XOR Chain Output Enabled Intel® 82801CA ICH3-S Datasheet 487 Testability 18.2 Tri-state Mode When in the tri-state mode, all outputs and bi-directional pin are tri-stated, including the XOR Chain outputs. 18.3 XOR Chain Mode In the ICH3, provisions for Automated Test Equipment (ATE) board level testing are implemented with XOR Chains. The ICH3 signals are grouped into four independent XOR chains which are enabled individually. When an XOR chain is enabled, all output and bi-directional buffers within that chain are tri-stated, except for the XOR chain output. Every signal in the enabled XOR chain (except for the XOR chain’s output) functions as an input. All output and bi-directional buffers for pins not in the selected XOR chain are tri-stated. Figure 18-2 is a schematic example of XOR chain circuitry. Table 18-3–Table 18-6 list each XOR chain pin ordering, with the first value being the first input and the last value being the XOR chain output. Table 18-7 lists the signal pins not included in any XOR chain. Figure 18-2. Example XOR Chain Circuitry Vcc XOR Chain Output Input Pin 1 Input Pin 2 Input Pin 3 Input Pin 4 Input Pin 5 Input Pin 6 18.3.1 XOR Chain Testability Algorithm Example XOR chain testing allows motherboard manufacturers to check component connectivity (e.g., opens and shorts to VCC or GND). An example algorithm to do this is shown in Table 18-2. Table 18-2. XOR Test Pattern Example Vector Input Pin 1 Input Pin 2 Input Pin 3 Input Pin 4 Input Pin 5 Input Pin 6 XOR Output 1 2 3 4 5 6 7 0 1 1 1 1 1 1 0 0 1 1 1 1 1 0 0 0 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 1 1 0 1 0 1 0 1 488 Intel® 82801CA ICH3-S Datasheet Testability In this example, Vector 1 applies all 0s to the chain inputs. The outputs being non-inverting, will consistently produce a 1 at the XOR output on a good board. One short to Vcc (or open floating to Vcc) will result in a 0 at the chain output, signaling a defect. Likewise, applying Vector 7 (all 1s) to the chain inputs (given that there are an even number of input signals in the chain), will consistently produce a 1 at the XOR chain output on a good board. One short to Vss (or open floating to Vss) will result in a 0 at the chain output, signaling a defect. It is important to note that the number of inputs pulled to 1 will affect the expected chain output value. If the number of chain inputs pulled to 1 is even, then expect 1 at the output. If the number of chain inputs pulled to 1 is odd, expect 0 at the output. Continuing with the example in Table 18-2, as the input pins are driven to 1 across the chain in sequence, the XOR Output will toggle between 0 and 1. Any break in the toggling sequence (e.g., 1011) will identify the location of the short or open. Table 18-3. XOR Chain #1 (RTCRST# Asserted for 4 PCI Clocks While PWROK Active) Pin Name Ball # Notes Pin Name Ball # Notes AC_SYNC AC_SDOUT PIRQE#/GPIO2 GNTA#/GPIO16 PIRQH#/GPIO5 PIRQF#/GPIO3 PIRQG#/GPIO4 GNT3# GNT0# GNT4# REQA#/GPIO0 REQB#/REQ5#/ GPIO1 REQ2# GNTB#/GNT5#/ GPIO17 PIRQD# PIRQC# PIRQA# PIRQB# GNT2# REQ0# AD28 GNT1# REQ4# AD26 AD30 A7 C7 A6 B6 A5 B5 C5 D5 A4 B4 C4 D4 A3 B3 A2 B2 B1 C1 D2 D3 D1 E3 E4 E2 E1 Top of XOR Chain 2nd signal in XOR AD16 REQ1# AD24 AD22 FRAME# PAR AD18 AD9 AD20 AD4 AD11 AD6 STOP# TRDY# AD2 AD13 AD0 AD15 C/BE1# AD5 AD3 C/BE0# AD1 SERR# AD10 F5 F4 F3 F2 F1 G5 G4 G2 G1 H5 H4 H3 H2 H1 J4 J3 J2 J1 K5 K4 K3 K2 K1 L5 L4 XOR Chain #1 AC_SDIN1 C11 OUTPUT Intel® 82801CA ICH3-S Datasheet 489 Testability Table 18-4. XOR Chain #2 (RTCRST# Asserted for 5 PCI Clocks While PWROK Active) Pin Name Ball # Notes Pin Name Ball # Notes AD8 AD7 AD14 AD12 DEVSEL# PERR# PLOCK# AD27 IRDY# AD17 C/BE2# AD31 AD29 AD23 AD19 L2 L1 M5 M4 M3 M2 M1 N4 N3 N2 N1 P5 P4 P3 P2 Top of XOR Chain 2nd signal in XOR AD21 AD25 C/BE3# REQ3# LDRQ0# LAD2/FWH2 LFRAME# LAD3/FWH3 LAD1/FWH1 LDRQ1# LAD0/FHW0 GPIO7 GPIO[6] THRM# GPIO21 P1 R1 R2 R4 T2 T3 U1 U2 U3 U4 V1 V2 V4 U5 V5 XOR Chain #2 TP[0]# AB3 OUTPUT 490 Intel® 82801CA ICH3-S Datasheet Testability Table 18-5. XOR Chain #3 (RTCRST# asserted for 6 PCI Clocks While PWROK Active) Pin Name Ball # Notes Pin name Ball # Notes PDD10 PDD5 PDD7 PDD6 PDD8 PDD9 PDD2 PDD12 PDD3 PDD4 PDD11 PDD14 PDD1 PDD13 PDD0 PDIOW# PDDREQ PDD15 PDDACK# PIORDY PDIOR# PDA0 IRQ14 PDA1 PDA2 PDCS3# PDCS1# IRQ15 W9 Y9 AA9 AB9 AC9 Y10 AA10 AB10 AC10 W11 Y11 AA11 AB11 AC11 W12 Y12 AB12 AC12 Y13 AB13 AC13 AA14 AB14 AC14 AA15 AB15 AC15 W19 Top of XOR Chain 2nd signal in XOR GPIO[19] GPIO[20] VRMPWRGD GPIO[22] GPIO[18] GPIO[23] A20GATE RCIN# CPUPWRGD NC NC INIT# SMI# CPU_SLP# IGNNE# NMI INTR A20M# STPCLK# HI_STBF GPIO32 GPIO35 GPIO33 GPIO34 GPIO37 GPIO36 W20 V21 V19 Y20 U21 U20 Y22 U22 W23 AB21 AB22 AB23 Y23 W21 AA21 Y21 AA23 V23 U23 P23 H20 G19 G22 F21 E21 E22 Last in XOR Chain XOR Chain #3 RI# AA1 OUTPUT Intel® 82801CA ICH3-S Datasheet 491 Testability Table 18-6. XOR Chain #4 (RTCRST# Asserted for 7 PCI Clocks While PWROK Active) Pin Name Ball # Notes Pin Name Ball # Notes SDD8 SDD6 SDD5 SDD7 SDD10 SDD11 SDD3 SDD9 SDD12 SDD15 SDD4 SDIOW# SDD2 SDD0 SDDREQ SDD14 SDD13 SDD1 SIORDY SDIOR# SDDACK# SDA1 SDA2 SDA0 SDCS3# SDCS1# HI7 HI11 HI6 HI5 HI9 HI4 HI_STBS HI10 HI3 HI8 HI1 HI2 W13 AA13 Y14 W15 Y15 AC16 AB16 Y16 AB17 AC18 W16 AA18 AC17 Y17 AB18 Y18 AA17 W17 AB19 AC19 Y19 AA19 AB20 AC20 AC22 AC21 T23 R19 R20 R22 P19 P21 N22 N19 N20 M19 M21 M23 Top of XOR Chain 2nd signal in XOR GPIO42 GPIO8 PME# GPIO25 PCIRST# GPIO13 GPIO28 GPIO12 SLP_S5# GPIO27 SMLINK1 PWRBTN# GPIO[24] SMLINK0 SUSCLK SUS_STAT# SMBCLK SLP_S3# SMBDATA SMBALERT#/ GPIO11 OC4# OC3# OC2# OC1# OC5# AC_SDIN0 AC_RST# USBP0P USBP0N USBP1P USBP1N USBP2P USBP2N USBP3P USBP3N USBP4P USBP4N USBP5P D23 W2 W1 W3 Y1 Y2 Y3 Y4 AA2 W4 AB2 AB1 AC2 AC3 AA4 AB4 AC4 AA5 AB5 AC5 A12 B12 C12 D12 A11 B11 D11 D19 D18 A19 A18 E17 E16 B17 B16 D15 D14 A15 492 Intel® 82801CA ICH3-S Datasheet Testability Table 18-6. XOR Chain #4 (RTCRST# Asserted for 7 PCI Clocks While PWROK Active) Pin Name Ball # Notes Pin Name Ball # Notes HI0 HICOMP APICD0 APICD1 FERR# SERIRQ GPIO38 SPKR GPIO41 GPIO39 GPIO40 GPIO43 L22 K19 J20 J21 J22 H22 H21 H23 G21 G23 F23 E23 USBP5N LAN_TXD2 LAN_TXD1 EE_SHCLK LAN_RXD2 LAN_TXD0 EE_CS LAN_RXD1 LAN_RXD0 EE_DIN EE_DOUT LAN_RSTSYNC A14 A10 C10 D10 A9 B9 E9 A8 C8 D8 E8 D7 Last in XOR Chain XOR Chain #4 OC0# E12 OUTPUT Table 18-7. Signals Not in XOR Chain Pin Name Ball # Notes Pin Name Ball # Notes RSMRST# PWROK RTCX1 RTCX2 VBIAS RTCRST# LAN_CLK AC_BIT_CLK AA7 AA6 AC7 AC6 AB7 Y7 C9 B7 CLK14 CLK48 CLK66 APICCLK PCICLK INTRUDER# LAN_RST# J23 F20 T19 J19 T5 Y6 Y5 Intel® 82801CA ICH3-S Datasheet 493 Testability This page is intentionally left blank. 494 Intel® 82801CA ICH3-S Datasheet Register Index Register Index Table A-1. Intel® ICH3 PCI Configuration Registers Register Name Offset Datasheet Section and Location A LAN Controller (B1:D8:F0) Vendor Identification Device Identification PCI Command PCI Device Status Revision Identification Programming Interface Sub Class Code Base Class Code Cache Line Size Master Latency Timer Header Type CSR Memory-Mapped Base Address 00–01h 02–03h 04–05h 06–07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh Section 7.1.1, “VID—Vendor ID Register (LAN Controller—B1:D8:F0)” on page 7-236 Section 7.1.2, “DID—Device ID Register (LAN Controller—B1:D8:F0)” on page 7-236 Section 7.1.3, “PCICMD—PCI Command Register (LAN Controller—B1:D8:F0)” on page 7-236 Section 7.1.4, “PCISTS—PCI Status Register (LAN Controller—B1:D8:F0)” on page 7-237 Section 7.1.5, “REVID—Revision ID Register (LAN Controller—B1:D8:F0)” on page 7-237 Section 7.1.6, “SCC—Sub Class Code Register (LAN Controller—B1:D8:F0)” on page 7-238 Section 7.1.7, “BCC—Base Class Code Register (LAN Controller—B1:D8:F0)” on page 7-238 Section 7.1.8, “CLS—Cache Line Size Register (LAN Controller—B1:D8:F0)” on page 7-238 Section 7.1.9, “PMLT—PCI Master Latency Timer Register (LAN Controller—B1:D8:F0)” on page 7-238 Section 7.1.10, “HEADTYP—Header Type Register (LAN Controller—B1:D8:F0)” on page 7-239 Section 7.1.11, “CSR_MEM_BASE CSR—MemoryMapped Base Address Register (LAN Controller— B1:D8:F0)” on page 7-239 Section 7.1.12, “CSR_IO_BASE—CSR I/O-Mapped Base Address Register (LAN Controller—B1:D8:F0)” on page 7-239 Section 7.1.13, “SVID—Subsystem Vendor ID Register (LAN Controller—B1:D8:F0)” on page 7-240 Section 7.1.14, “SID—Subsystem ID Register (LAN Controller—B1:D8:F0)” on page 7-240 Section 7.1.15, “CAP_PTR—Capabilities Pointer Register (LAN Controller—B1:D8:F0)” on page 7-240 Section 7.1.16, “INT_LN—Interrupt Line Register (LAN Controller—B1:D8:F0)” on page 7-241 Section 7.1.17, “INT_PN—Interrupt Pin Register (LAN Controller—B1:D8:F0)” on page 7-241 Section 7.1.18, “MIN_GNT—Minimum Grant Register (LAN Controller—B1:D8:F0)” on page 7-241 Section 7.1.19, “MAX_LAT—Maximum Latency Register (LAN Controller—B1:D8:F0)” on page 7-241 10–13h CSR I/O-Mapped Base Address 14–17h Subsystem Vendor ID Subsystem ID Capabilities Pointer Interrupt Line Register Interrupt Pin Register Minimum Grant Register Maximum Latency Register 2C–2Dh 2E–2Fh 34h 3Ch 3Dh 3Eh 3Fh Intel® 82801CA ICH3-S Datasheet 495 Register Index Table A-1. Intel® ICH3 PCI Configuration Registers (Continued) Register Name Offset Datasheet Section and Location Capability ID Register Next Item Pointer DCh DDh Section 7.1.20, “CAP_ID—Capability ID Register (LAN Controller—B1:D8:F0)” on page 7-242 Section 7.1.21, “NXT_PTR—Next Item Pointer Register (LAN Controller—B1:D8:F0)” on page 7-242 Section 7.1.22, “PM_CAP—Power Management Capabilities Register (LAN Controller—B1:D8:F0)” on page 7-242 Section 7.1.23, “PMCSR—Power Management Control/ Status Register (LAN Controller—B1:D8:F0)” on page 7-243 Section 7.1.24, “PCIDATA—PCI Power Management Data Register (LAN Controller—B1:D8:F0)” on page 7-244 Power Management Capabilities DE–DFh Power Management Control/Status Register E0–E1h Data Register E2h Hub Interface to PCI Bridge D30:F0 Vendor ID Device ID PCI Device Command Register PCI Device Status Register Revision ID Sub Class Code Base Class Code Primary Master Latency Timer Header Type Primary Bus Number Secondary Bus Number Subordinate Bus Number Secondary Master Latency Timer I/O Base Register I/O Limit Register Secondary Status Register Memory Base 00–01h 02–03h 04–05h 06–07h 08h 0Ah 0Bh 0Dh 0Eh 18h 19h 1Ah 1Bh 1Ch 1Dh 1E–1Fh 20–21h Section 8.1.1, “VID—Vendor ID Register (HUB-PCI— D30:F0)” on page 8-260 Section 8.1.2, “DID—Device ID Register (HUB-PCI— D30:F0)” on page 8-260 Section 8.1.3, “CMD—Command Register (HUB-PCI— D30:F0)” on page 8-261 Section 8.1.4, “PD_STS—Primary Device Status Register (HUB-PCI—D30:F0)” on page 8-262 Section 8.1.5, “REVID—Revision ID Register (HUBPCI—D30:F0)” on page 8-263 Section 8.1.6, “SCC—Sub Class Code Register (HUBPCI—D30:F0)” on page 8-263 Section 8.1.7, “BCC—Base-Class Code Register (HUBPCI—D30:F0)” on page 8-263 Section 8.1.8, “PMLT—Primary Master Latency Timer Register (HUB-PCI—D30:F0)” on page 8-263 Section 8.1.9, “HEADTYP—Header Type Register (HUB-PCI—D30:F0)” on page 8-264 Section 8.1.10, “PBUS_NUM—Primary Bus Number Register (HUB-PCI—D30:F0)” on page 8-264 Section 8.1.11, “SBUS_NUM—Secondary Bus Number Register (HUB-PCI—D30:F0)” on page 8-264 Section 8.1.12, “SUB_BUS_NUM—Subordinate Bus Number Register (HUB-PCI—D30:F0)” on page 8-264 Section 8.1.13, “SMLT—Secondary Master Latency Timer Register (HUB-PCI—D30:F0)” on page 8-265 Section 8.1.14, “IOBASE—I/O Base Register (HUBPCI—D30:F0)” on page 8-265 Section 8.1.15, “IOLIM—I/O Limit Register (HUB-PCI— D30:F0)” on page 8-265 Section 8.1.16, “SECSTS—Secondary Status Register (HUB-PCI—D30:F0)” on page 8-266 Section 8.1.17, “MEMBASE—Memory Base Register (HUB-PCI—D30:F0)” on page 8-267 496 Intel® 82801CA ICH3-S Datasheet Register Index Table A-1. Intel® ICH3 PCI Configuration Registers (Continued) Register Name Offset Datasheet Section and Location Memory Limit 22–23h Section 8.1.18, “MEMLIM—Memory Limit Register (HUB-PCI—D30:F0)” on page 8-267 Section 8.1.19, “PREF_MEM_BASE—Prefetchable Memory Base Register (HUB-PCI—D30:F0)” on page 8-267 Section 8.1.20, “PREF_MEM_MLT—Prefetchable Memory Limit Register (HUB-PCI—D30:F0)” on page 8-268 Section 8.1.21, “IOBASE_HI—I/O Base Upper 16 Bits Register (HUB-PCI—D30:F0)” on page 8-268 Section 8.1.22, “IOLIM_HI—I/O Limit Upper 16 Bits Register (HUB-PCI—D30:F0)” on page 8-268 Section 8.1.23, “INT_LINE—Interrupt Line Register (HUB-PCI—D30:F0)” on page 8-268 Section 8.1.24, “BRIDGE_CNT—Bridge Control Register (HUB-PCI—D30:F0)” on page 8-269 Section 8.1.27, “CNF—ICH3 Configuration Register (HUB-PCI—D30:F0)” on page 8-271 Section 8.1.28, “MTT—Multi-Transaction Timer Register (HUB-PCI—D30:F0)” on page 8-271 Section 8.1.29, “PCI_MAST_STS—PCI Master Status Register (HUB-PCI—D30:F0)” on page 8-272 Section 8.1.30, “ERR_CMD—Error Command Register (HUB-PCI—D30:F0)” on page 8-272 Section 8.1.31, “ERR_STS—Error Status Register (HUB-PCI—D30:F0)” on page 8-273 Prefetchable Memory Base 24–25h Prefetchable Memory Limit 26–27h I/O Base Upper 16 Bits I/O Limit Upper 16 Bits Interrupt Line Bridge Control ICH3 Configuration Register Multi-Transaction Timer PCI Master Status Error Command Register Error Status Register 30–31h 32–33h 3Ch 3E–3Fh 50–51h 70h 82h 90h 92h LPC Bridge D31:F0 Vendor ID Device ID PCI Command Register PCI Device Status Register Revision ID Programming Interface Sub Class Code Base Class Code Header Type ACPI Base Address Register 00–01h 02–03h 04–05h 06–07h 08h 09h 0Ah 0Bh 0Eh 40–43h Section 9.1.1, “VID—Vendor ID Register (LPC I/F— D31:F0)” on page 9-276 Section 9.1.2, “DID—Device ID Register (LPC I/F— D31:F0)” on page 9-276 Section 9.1.3, “PCICMD—PCI COMMAND Register (LPC I/F—D31:F0)” on page 9-277 Section 9.1.4, “PCISTA—PCI Device Status Register (LPC I/F—D31:F0)” on page 9-278 Section 9.1.5, “REVID—Revision ID Register (LPC I/F— D31:F0)” on page 9-278 Section 9.1.6, “PI—Programming Interface Register (LPC I/F—D31:F0)” on page 9-279 Section 9.1.7, “SCC—Sub Class Code Register (LPC I/ F—D31:F0)” on page 9-279 Section 9.1.8, “BCC—Base Class Code Register (LPC I/ F—D31:F0)” on page 9-279 Section 9.1.9, “HEADTYP—Header Type Register (LPC I/F—D31:F0)” on page 9-279 Section 9.1.10, “PMBASE—ACPI Base Address Register (LPC I/F—D31:F0)” on page 9-280 Intel® 82801CA ICH3-S Datasheet 497 Register Index Table A-1. Intel® ICH3 PCI Configuration Registers (Continued) Register Name Offset Datasheet Section and Location ACPI Control BIOS Control Register TCO Control GPIO Base Address Register GPIO Control Register 44h 4E–4Fh 54h 58–5Bh 5Ch Section 9.1.11, “ACPI_CNTL—ACPI Control Register (LPC I/F—D31:F0)” on page 9-280 Section 9.1.12, “BIOS_CNTL Register (LPC I/F— D31:F0)” on page 9-281 Section 9.1.13, “TCO_CNTL—TCO Control Register (LPC I/F—D31:F0)” on page 9-281 Section 9.1.14, “GPIOBASE—GPIO Base Address Register (LPC I/F—D31:F0)” on page 9-282 Section 9.1.15, “GPIO_CNTL—GPIO Control Register (LPC I/F—D31:F0)” on page 9-282 Section 9.1.16, “PIRQ[n]_ROUT—PIRQ[A,B,C,D] Routing Control Register (LPC I/F—D31:F0)” on page 9-283 Section 9.1.17, “SERIRQ_CNTL—Serial IRQ Control Register (LPC I/F—D31:F0)” on page 9-283 Section 9.1.18, “PIRQ[n]_ROUT—PIRQ[E,F,G,H] Routing Control Register (LPC I/F—D31:F0)” on page 9-284 Section 9.1.19, “D31_ERR_CFG—Device 31 Error Configuration Register (LPC I/F—D31:F0)” on page 9-284 Section 9.1.20, “D31_ERR_STS—Device 31 Error Status Register (LPC I/F—D31:F0)” on page 9-285 Section 9.1.21, “PCI_DMA_CFG—PCI DMA Configuration Register (LPC I/F—D31:F0)” on page 9-285 Section 9.8.1.1, “GEN_PMCON_1—General PM Configuration 1 Register (PM—D31:F0)” on page 9-331 Section 9.8.1.2, “GEN_PMCON_2—General PM Configuration 2 Register (PM—D31:F0)” on page 9-331 Section 9.8.1.3, “GEN_PMCON_3—General PM Configuration 3 Register (PM—D31:F0)” on page 9-332 Section 9.8.1.5, “GPI_ROUT—GPI Routing Control Register (PM—D31:F0)” on page 9-333 Section 9.8.1.6, “TRP_FWD_EN—I/O Monitor Trap Forwarding Enable Register (PM—D31:F0)” on page 9-333 Section 9.8.1.7, “MON[n]_TRP_RNG—I/O Monitor [4:7] Trap Range Register for Devices 4–7 (PM—D31:F0)” on page 9-334 Section 9.8.1.8, “MON_TRP_MSK—I/O Monitor Trap Range Mask Register for Devices 4-7 (PM—D31:F0)” on page 9-334 Section 9.1.22, “GEN_CNTL—General Control Register (LPC I/F—D31:F0)” on page 9-286 Section 9.1.23, “GEN_STA—General Status Register (LPC I/F—D31:F0)” on page 9-288 Section 9.1.24, “RTC_CONF—RTC Configuration Register (LPC I/F—D31:F0)” on page 9-289 PIRQ[A–D] Routing Control 60–63h Serial IRQ Control Register 64h PIRQ[E–H] Routing Control 68–6Bh Device 31 Error Configuration Register Device 31 Error Status Register 88h 8Ah PCI DMA Configuration Registers General Power Management Configuration 1 General Power Management Configuration 2 General Power Management Configuration 3 GPI_ROUT I/O Monitor Trap Forwarding Enable Register I/O Monitor [4:7] Trap Range Registers I/O Monitor [4:7] Trap Mask Register General Control General Status Real Time Clock Configuration 90–91h A0h A2h A4h B8–BBh C0h C4h, C6h, C8h, CAh CCh D0–D3h D4–D7h D8h 498 Intel® 82801CA ICH3-S Datasheet Register Index Table A-1. Intel® ICH3 PCI Configuration Registers (Continued) Register Name Offset Datasheet Section and Location LPC COM Port Decode Ranges E0h Section 9.1.25, “COM_DEC—LPC I/F Communication Port Decode Ranges Register (LPC I/F—D31:F0)” on page 9-289 Section 9.1.26, “FDD/LPT_DEC—LPC I/F FDD & LPT Decode Ranges Register (LPC I/F—D31:F0)” on page 9-290 Section 9.1.27, “SND_DEC—LPC I/F Sound Decode Ranges Register (LPC I/F—D31:F0)” on page 9-290 Section 9.1.28, “FWH_DEC_EN1—FWH Decode Enable 1 Register (LPC I/F—D31:F0)” on page 9-291 Section 9.1.29, “GEN1_DEC—LPC I/F Generic Decode Range 1 Register (LPC I/F—D31:F0)” on page 9-292 Section 9.1.30, “LPC_EN—LPC I/F Enables Register (LPC I/F—D31:F0)” on page 9-292 Section 9.1.31, “FWH_SEL1—FWH Select 1 Register (LPC I/F—D31:F0)” on page 9-294 Section 9.1.32, “GEN2_DEC—LPC I/F Generic Decode Range 2 Register (LPC I/F—D31:F0)” on page 9-295 Section 9.1.33, “FWH_SEL2—FWH Select 2 Register (LPC I/F—D31:F0)” on page 9-295 Section 9.1.34, “FWH_DEC_EN2—FWH Decode Enable 2 Register (LPC I/F—D31:F0)” on page 9-296 LPC FDD & LPT Decode Ranges E1h LPC Sound Decode Ranges FWH Decode Enable 1 Register LPC Generic Decode Range 1 LPC Enables FWH Select 1 Register LPC Generic Decode Range 2 FWH Select 2 Register FWH Decode Enable 2 Register Function Disable Register E2h E3h E4–E5h E6–E7h E8h EC–EDh F2h Section 9.1.35, “FUNC_DIS—Function Disable Register (LPC I/F—D31:F0)” on page 9-297 IDE Controller (D31:F1) Vendor ID Device ID Command Register Device Status Revision ID Programming Interface Sub Class Code Base Class Code Master Latency Timer Header Type Bus Master Base Address Register 00–01h 02–03h 04–05h 06–07h 08h 09h 0Ah 0Bh 0Dh 0Eh 20–23h Section 10.1.1, “VID—Vendor ID Register (IDE— D31:F1)” on page 10-366 Section 10.1.2, “DID—Device ID Register (IDE— D31:F1)” on page 10-366 Section 10.1.3, “CMD—Command Register (IDE— D31:F1)” on page 10-366 Section 10.1.4, “STS—Device Status Register (IDE— D31:F1)” on page 10-367 Section 10.1.5, “RID—Revision Identification Register (IDE—D31:F1)” on page 10-367 Section 10.1.6, “PI—Programming Interface Register (IDE—D31:F1)” on page 10-368 Section 10.1.7, “SCC—Sub Class Code Register (IDE— D31:F1)” on page 10-368 Section 10.1.8, “BCC—Base Class Code Register (IDE—D31:F1)” on page 10-368 Section 10.1.9, “MLT—Master Latency Timer Register (IDE—D31:F1)” on page 10-368 Section 10.1.12, “SCMD_BAR—Secondary Command Block Base Address Register (IDE D31:F1)” on page 10-369 Intel® 82801CA ICH3-S Datasheet 499 Register Index Table A-1. Intel® ICH3 PCI Configuration Registers (Continued) Register Name Offset Datasheet Section and Location Primary/Secondary IDE Timing Slave IDE Timing Synchronous DMA Control Register Synchronous DMA Timing Register IDE I/O Configuration Register 40–43h 44h 48h 4A–4Bh 54h Section 10.1.18, “INTR_LN—Interrupt Line Register (IDE—D31:F1)” on page 10-371 Section 10.1.21, “SLV_IDETIM—Slave (Drive 1) IDE Timing Register (IDE—D31:F1)” on page 10-373 Section 10.1.22, “SDMA_CNT—Synchronous DMA Control Register (IDE—D31:F1)” on page 10-374 Section 10.1.23, “SDMA_TIM—Synchronous DMA Timing Register (IDE—D31:F1)” on page 10-375 Section 10.1.24, “IDE_CONFIG—IDE I/O Configuration Register” on page 10-376 USB Controller (D31:F2) Vendor ID Device ID Command Register Device Status Revision ID Programming Interface Sub Class Code Base Class Code Base Address Register Interrupt Line Interrupt Pin 00–01h 02–03h 04–05h 06–07h 08h 09h 0Ah 0Bh 20–23h 3Ch 3Dh Section 11.1.1, “VID—Vendor Identification Register (USB—D29:F0/F1/F2)” on page 11-381 Section 11.1.2, “DID—Device Identification Register (USB—D29:F0/F1/F2)” on page 11-382 Section 11.1.3, “CMD—Command Register (USB— D29:F0/F1/F2)” on page 11-382 Section 11.1.4, “STA—Device Status Register (USB— D29:F0/F1/F2)” on page 11-383 Section 11.1.5, “RID—Revision Identification Register (USB—D29:F0/F1/F2)” on page 11-383 Section 11.1.6, “PI—Programming Interface Register (USB—D29:F0/F1/F2)” on page 11-383 Section 11.1.7, “SCC—Sub Class Code Register (USB—D29:F0/F1/F2)” on page 11-384 Section 11.1.8, “BCC—Base Class Code Register (USB—D29:F0/F1/F2)” on page 11-384 Section 11.1.10, “BASE—Base Address Register (USB—D29:F0/F1/F2)” on page 11-385 Section 11.1.13, “INTR_LN—Interrupt Line Register (USB—D29:F0/F1/F2)” on page 11-385 Section 11.1.14, “INTR_PN—Interrupt Pin Register (USB—D29:F0/F1/F2)” on page 11-386 Section 11.1.15, “SB_RELNUM—Serial Bus Release Number Register (USB—D29:F0/F1/F2)” on page 11-386 Section 11.1.16, “USB_LEGKEY—USB Legacy Keyboard/Mouse Control Register (USB—D29:F0/F1/ F2)” on page 11-386 Section 11.1.17, “USB_RES—USB Resume Enable Register (USB—D29:F0/F1/F2)” on page 11-388 Serial Bus Release Number 60h USB Legacy Keyboard/Mouse Cotrol USB Resume Enable C0–C1h C4h SMBus Controller (D31:F3) Vendor ID Device ID Command Register 00–01h 02–03h 04–05h Section 12.1.1, “VID—Vendor Identification Register (SMBUS—D31:F3)” on page 12-399 Section 12.1.2, “DID—Device Identification Register (SMBUS—D31:F3)” on page 12-399 Section 12.1.3, “CMD—Command Register (SMBUS— D31:F3)” on page 12-400 500 Intel® 82801CA ICH3-S Datasheet Register Index Table A-1. Intel® ICH3 PCI Configuration Registers (Continued) Register Name Offset Datasheet Section and Location Device Status Revision ID Programming Interface Sub Class Code Base Class Code SMB Base Address Register Interrupt Line Interrupt Pin Host Configuration 06–07h 08h 09h 0Ah 0Bh 20–23h 3Ch 3Dh 40h Section 12.1.4, “STA—Device Status Register (SMBUS—D31:F3)” on page 12-400 Section 12.1.5, “RID—Revision Identification Register (SMBUS—D31:F3)” on page 12-401 Section 12.1.6, “SCC—Sub Class Code Register (SMBUS—D31:F3)” on page 12-401 Section 12.1.7, “BCC—Base Class Code Register (SMBUS—D31:F3)” on page 12-401 Section 12.1.8, “SMB_BASE—SMBus Base Address Register (SMBUS—D31:F3)” on page 12-401 Section 12.1.11, “INTR_LN—Interrupt Line Register (SMBUS—D31:F3)” on page 12-402 Section 12.1.12, “INTR_PN—Interrupt Pin Register (SMBUS—D31:F3)” on page 12-402 Section 12.1.13, “HOSTC—Host Configuration Register (SMBUS—D31:F3)” on page 12-403 AC’97 Audio Controller (D31:F5) Vendor Identification Device Identification PCI Command PCI Device Status Revision Identification Programming Interface Sub Class Code Base Class Code Header Type Native Audio Mixer Base Address Native Audio Bus Mastering Base Address Subsystem Vendor ID Subsystem ID Interrupt Line 00–01h 02–03h 04–05h 06–07h 08h 09h 0Ah 0Bh 0Eh 10–13h Section 13.1.1, “VID—Vendor Identification Register (Audio—D31:F5)” on page 13-413 Section 13.1.2, “DID—Device Identification Register (Audio—D31:F5)” on page 13-414 Section 13.1.3, “PCICMD—PCI Command Register (Audio—D31:F5)” on page 13-414 Section 13.1.4, “PCISTS—PCI Device Status Register (Audio—D31:F5)” on page 13-415 Section 13.1.5, “RID—Revision Identification Register (Audio—D31:F5)” on page 13-415 Section 13.1.6, “PI—Programming Interface Register (Audio—D31:F5)” on page 13-415 Section 13.1.7, “SCC—Sub Class Code Register (Audio—D31:F5)” on page 13-416 Section 13.1.8, “BCC—Base Class Code Register (Audio—D31:F5)” on page 13-416 Section 13.1.9, “HEDT—Header Type Register (Audio— D31:F5)” on page 13-416 Section 13.1.10, “NAMBAR—Native Audio Mixer Base Address Register (Audio—D31:F5)” on page 13-417 Section 13.1.11, “NABMBAR—Native Audio Bus Mastering Base Address Register (Audio—D31:F5)” on page 13-417 Section 13.1.12, “SVID—Subsystem Vendor ID Register (Audio—D31:F5)” on page 13-418 Section 13.1.13, “SID—Subsystem ID Register (Audio— D31:F5)” on page 13-418 Section 13.1.14, “INTR_LN—Interrupt Line Register (Audio—D31:F5)” on page 13-418 14–17h 2C–2Dh 2E–2Fh 3Ch Intel® 82801CA ICH3-S Datasheet 501 Register Index Table A-1. Intel® ICH3 PCI Configuration Registers (Continued) Register Name Offset Datasheet Section and Location AC’97 Modem Controller (D31:F6) Vendor Identification Device Identification PCI Command PCI Device Status Revision Identification Programming Interface Sub Class Code Base Class Code Header Type Modem Mixer Base Address Modem Base Address Subsystem Vendor ID Subsystem ID Interrupt Line Interrupt Pin 00–01h 02–03h 04–05h 06–07h 08h 09h 0Ah 0Bh 0Eh 10–13h 14–17h 2C–2Dh 2E–2Fh 3C 3Dh Section 14.1.1, “VID—Vendor Identification Register (Modem—D31:F6)” on page 14-431 Section 14.1.2, “DID—Device Identification Register (Modem—D31:F6)” on page 14-432 Section 14.1.3, “PCICMD—PCI Command Register (Modem—D31:F6)” on page 14-432 Section 14.1.4, “PCISTA—Device Status Register (Modem—D31:F6)” on page 14-433 Section 14.1.5, “RID—Revision Identification Register (Modem—D31:F6)” on page 14-433 Section 14.1.6, “PI—Programming Interface Register (Modem—D31:F6)” on page 14-433 Section 14.1.7, “SCC—Sub Class Code Register (Modem—D31:F6)” on page 14-434 Section 14.1.8, “BCC—Base Class Code Register (Modem—D31:F6)” on page 14-434 Section 14.1.9, “HEDT—Header Type Register (Modem—D31:F6)” on page 14-434 Section 14.1.10, “MMBAR—Modem Mixer Base Address Register (Modem—D31:F6)” on page 14-435 Section 14.1.11, “MBAR—Modem Base Address Register (Modem—D31:F6)” on page 14-435 Section 14.1.12, “SVID—Subsystem Vendor ID (Modem—D31:F6)” on page 14-436 Section 14.1.13, “SID—Subsystem ID (Modem— D31:F6)” on page 14-436 Section 14.1.14, “INTR_LN—Interrupt Line Register (Modem—D31:F6)” on page 14-436 Section 14.1.15, “INT_PIN—Interrupt Pin (Modem— D31:F6)” on page 14-436 502 Intel® 82801CA ICH3-S Datasheet Register Index Table A-2. Intel® ICH3 Fixed I/O Registers Register Name Port Datasheet Section and Location Channel 0 DMA Base & Current Address Register Channel 0 DMA Base & Current Count Register Channel 1 DMA Base & Current Address Register Channel 1 DMA Base & Current Count Register Channel 2 DMA Base & Current Address Register Channel 2 DMA Base & Current Count Register Channel 3 DMA Base & Current Address Register Channel 3 DMA Base & Current Count Register Channel 0–3 DMA Command Register Channel 0–3 DMA Status Register Channel 0–3 DMA Write Single Mask Register Channel 0–3 DMA Channel Mode Register Channel 0–3 DMA Clear Byte Pointer Register Channel 0–3 DMA Master Clear Register Channel 0–3 DMA Clear Mask Register Channel 0–3 DMA Write All Mask Register Aliased at 00–0Fh 00h 01h 02h 03h 04h 05h 06h 07h Section 9.2.1, “DMABASE_CA—DMA Base and Current Address Registers” on page 9-299 Section 9.2.2, “DMABASE_CC—DMA Base and Current Count Registers” on page 9-300 Section 9.2.1, “DMABASE_CA—DMA Base and Current Address Registers” on page 9-299 Section 9.2.2, “DMABASE_CC—DMA Base and Current Count Registers” on page 9-300 Section 9.2.1, “DMABASE_CA—DMA Base and Current Address Registers” on page 9-299 Section 9.2.2, “DMABASE_CC—DMA Base and Current Count Registers” on page 9-300 Section 9.2.1, “DMABASE_CA—DMA Base and Current Address Registers” on page 9-299 Section 9.2.2, “DMABASE_CC—DMA Base and Current Count Registers” on page 9-300 Section 9.2.4, “DMACMD—DMA Command Register” on page 9-301 Section 9.2.5, “DMASTA—DMA Status Register” on page 9-301 Section 9.2.6, “DMA_WRSMSK—DMA Write Single Mask Register” on page 9-302 Section 9.2.7, “DMACH_MODE—DMA Channel Mode Register” on page 9-302 Section 9.2.8, “DMA Clear Byte Pointer Register” on page 9-303 Section 9.2.9, “DMA Master Clear Register” on page 9-303 Section 9.2.10, “DMA_CLMSK—DMA Clear Mask Register” on page 9-303 Section 9.2.11, “DMA_WRMSK—DMA Write All Mask Register” on page 9-304 08h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 10–1Fh Master PIC ICW1 Init. Cmd Word 1 Register Master PIC OCW2 Op Ctrl Word 2 Register Master PIC OCW3 Op Ctrl Word 3 Register Master PIC ICW2 Init. Cmd Word 2 Register Master PIC ICW3 Init. Cmd Word 3 Register Master PIC ICW4 Init. Cmd Word 4 Register Master PIC OCW1 Op Ctrl Word 1 Register 20h Section 9.4.2, “ICW1—Initialization Command Word 1 Register” on page 9-309 Section 9.4.8, “OCW2—Operational Control Word 2 Register” on page 9-312 Section 9.4.9, “OCW3—Operational Control Word 3 Register” on page 9-313 Section 9.4.3, “ICW2—Initialization Command Word 2 Register” on page 9-310 Section 9.4.4, “ICW3—Master Controller Initialization Command Word 3 Register” on page 9-310 Section 9.4.6, “ICW4—Initialization Command Word 4 Register” on page 9-311 Section 9.4.7, “OCW1—Operational Control Word 1 (Interrupt Mask) Register” on page 9-311 21h Intel® 82801CA ICH3-S Datasheet 503 Register Index Table A-2. Intel® ICH3 Fixed I/O Registers (Continued) Register Name Aliased at 20–21h Aliased at 20–21h Aliased at 20–21h Aliased at 20–21h Aliased at 20–21h Aliased at 20–21h Aliased at 20–21h Aliased at 20–21h Port Datasheet Section and Location 24–25h 28–29h 24–25h 2C–2Dh 30–31h 34–35h 38–39h 3C–3Dh Section 9.3.2, “SBYTE_FMT—Interval Timer Status Byte Format Register” on page 9-307 Section 9.3.3, “Counter Access Ports Register” on page 9-307 Section 9.3.2, “SBYTE_FMT—Interval Timer Status Byte Format Register” on page 9-307 Section 9.3.3, “Counter Access Ports Register” on page 9-307 Section 9.3.2, “SBYTE_FMT—Interval Timer Status Byte Format Register” on page 9-307 Section 9.3.3, “Counter Access Ports Register” on page 9-307 Section 9.3.1, “TCW—Timer Control Word Register” on page 9-305 Section 9.3.1.1, “RDBK_CMD—Read Back Command” on page 9-306 Section 9.3.1.2, “LTCH_CMD—Counter Latch Command” on page 9-306 Counter 0 Interval Time Status Byte Format Counter 0 Counter Access Port Register Counter 1 Interval Time Status Byte Format Counter 1 Counter Access Port Register Counter 2 Interval Time Status Byte Format Counter 2 Counter Access Port Register Timer Control Word Register Timer Control Word Register Read Back Counter Latch Command Aliased at 40–43h 40h 41h 42h 43h 50–53h 61h 70h Section 9.7.1, “NMI_SC—NMI Status and Control Register” on page 9-327 Section 9.7.2, “NMI_EN—NMI Enable (and Real Time Clock Index) Register” on page 9-328 Table 9-7 “RTC (Standard) RAM Bank” on page 9-323 Section 9.7.2, “NMI_EN—NMI Enable (and Real Time Clock Index) Register” on page 9-328 Table 9-7 “RTC (Standard) RAM Bank” on page 9-323 NMI Status and Control Register NMI Enable Register Real-Time Clock (Standard RAM) Index Register Real-Time Clock (Standard RAM) Target Register Extended RAM Index Register Extended RAM Target Register 70h 71h 72h 73h Aliased at 70–71h 74–75h Aliased if U128E bit in RTC Configuration Register is enalbed Section 9.1.24, “RTC_CONF—RTC Configuration Register (LPC I/F—D31:F0)” on page 9-289 Aliased to 70–71h if U128E bit in RTC Configuration Register is enalbed Section 9.1.24, “RTC_CONF—RTC Configuration Register (LPC I/F—D31:F0)” on page 9-289 Aliased at 72–73h or 70–71h 76–77h 504 Intel® 82801CA ICH3-S Datasheet Register Index Table A-2. Intel® ICH3 Fixed I/O Registers (Continued) Register Name Port Datasheet Section and Location Channel 2 DMA Memory Low Page Register Channel 3 DMA Memory Low Page Register Channel 1 DMA Memory Low Page Register Reserved Page Registers Channel 0 DMA Memory Low Page Register Reserved Page Register Channel 6 DMA Memory Low Page Register Channel 7 DMA Memory Low Page Register Channel 5 DMA Memory Low Page Register Reserved Page Registers Refresh Low Page Register Aliased at 81–8Fh 81h 82h 83h 84–86h 87h 88h 89h 8Ah 8Bh 8C–8Eh 8Fh 91–9Fh (except 92h) 92h Section 9.2.3, “DMAMEM_LP—DMA Memory Low Page Registers” on page 9-300 Section 9.2.3, “DMAMEM_LP—DMA Memory Low Page Registers” on page 9-300 Section 9.2.3, “DMAMEM_LP—DMA Memory Low Page Registers” on page 9-300 Section 9.2.3, “DMAMEM_LP—DMA Memory Low Page Registers” on page 9-300 Section 9.2.3, “DMAMEM_LP—DMA Memory Low Page Registers” on page 9-300 Section 9.2.3, “DMAMEM_LP—DMA Memory Low Page Registers” on page 9-300 Section 9.2.3, “DMAMEM_LP—DMA Memory Low Page Registers” on page 9-300 Fast A20 and INIT Register Slave PIC ICW1 Init. Cmd Word 1 Register Slave PIC OCW2 Op Ctrl Word 2 Register Slave PIC OCW3 Op Ctrl Word 3 Register Slave PIC ICW2 Init. Cmd Word 2 Register Slave PIC ICW3 Init. Cmd Word 3 Register Slave PIC ICW4 Init. Cmd Word 4 Register Slave PIC OCW1 Op Ctrl Word 1 Register Aliased at A0–A1h Aliased at A0–A1h Aliased at A0–A1h Aliased at A0–A1h Section 9.7.3, “PORT92—Fast A20 and Init Register” on page 9-328 Section 9.4.2, “ICW1—Initialization Command Word 1 Register” on page 9-309 Section 9.4.8, “OCW2—Operational Control Word 2 Register” on page 9-312 Section 9.4.9, “OCW3—Operational Control Word 3 Register” on page 9-313 Section 9.4.3, “ICW2—Initialization Command Word 2 Register” on page 9-310 Section 9.4.4, “ICW3—Master Controller Initialization Command Word 3 Register” on page 9-310 Section 9.4.6, “ICW4—Initialization Command Word 4 Register” on page 9-311 Section 9.4.7, “OCW1—Operational Control Word 1 (Interrupt Mask) Register” on page 9-311 A0h A1 A4–A5h A8–A9h AC–ADh B0–B1h B2h B3h B4–B5h B8–B9h BC–BDh Section 9.8.2.1, “APM_CNT—Advanced Power Management Control Port Register” on page 9-335 Section 9.8.2.2, “APM_STS—Advanced Power Management Status Port Register” on page 9-335 Advanced Power Management Control Port Register Advanced Power Management Status Port Register Aliased at A0–A1h Aliased at A0–A1h Aliased at A0–A1h Intel® 82801CA ICH3-S Datasheet 505 Register Index Table A-2. Intel® ICH3 Fixed I/O Registers (Continued) Register Name Port Datasheet Section and Location Channel 4 DMA Base & Current Address Register Aliased at C0h C0h C1h C2h C3h C4h C5h C6h C7h C8h C9h CAh CBh CCh CDh CEh CFh Section 9.2.1, “DMABASE_CA—DMA Base and Current Address Registers” on page 9-299 Channel 4 DMA Base & Current Count Register Aliased at C2h Section 9.2.2, “DMABASE_CC—DMA Base and Current Count Registers” on page 9-300 Channel 5 DMA Base & Current Address Register Aliased at C4h Section 9.2.1, “DMABASE_CA—DMA Base and Current Address Registers” on page 9-299 Channel 5 DMA Base & Current Count Register Aliased at C6h Section 9.2.2, “DMABASE_CC—DMA Base and Current Count Registers” on page 9-300 Channel 6 DMA Base & Current Address Register Aliased at C8h Section 9.2.1, “DMABASE_CA—DMA Base and Current Address Registers” on page 9-299 Channel 6 DMA Base & Current Count Register Aliased at CAh Section 9.2.2, “DMABASE_CC—DMA Base and Current Count Registers” on page 9-300 Channel 7 DMA Base & Current Address Register Aliased at CCh Section 9.2.1, “DMABASE_CA—DMA Base and Current Address Registers” on page 9-299 Channel 7 DMA Base & Current Count Register Aliased at CEh Section 9.2.2, “DMABASE_CC—DMA Base and Current Count Registers” on page 9-300 Channel 4–7 DMA Command Register Channel 4–7 DMA Status Register Aliased at D0h D0h Section 9.2.4, “DMACMD—DMA Command Register” on page 9-301 Section 9.2.5, “DMASTA—DMA Status Register” on page 9-301 D1h D4h D5h D6h D7h D8h D9h DAh DBh DCh DEh Section 9.2.10, “DMA_CLMSK—DMA Clear Mask Register” on page 9-303 Section 9.2.9, “DMA Master Clear Register” on page 9-303 Section 9.2.8, “DMA Clear Byte Pointer Register” on page 9-303 Section 9.2.7, “DMACH_MODE—DMA Channel Mode Register” on page 9-302 Section 9.2.6, “DMA_WRSMSK—DMA Write Single Mask Register” on page 9-302 Channel 4–7 DMA Write Single Mask Register Aliased at D4h Channel 4–7 DMA Channel Mode Register Aliased at D6h Channel 4–7 DMA Clear Byte Pointer Register Aliased at D8h Channel 4–7 DMA Master Clear Register Aliased at DAh Channel 4–7 DMA Clear Mask Register Aliased at DCh 506 Intel® 82801CA ICH3-S Datasheet Register Index Table A-2. Intel® ICH3 Fixed I/O Registers (Continued) Register Name Port Datasheet Section and Location Channel 4–7 DMA Write All Mask Register Aliased at DEh DEh DFh F0h 170–177h 1F0–1F7h 376h 3F6h 4D0h 4D1h CF9h Section 9.2.11, “DMA_WRMSK—DMA Write All Mask Register” on page 9-304 Coprocessor Error Reigster PIO Mode Command Block Offset for Secondary Drive PIO Mode Command Block Offset for Primary Drive PIO Mode Control Block Offset for Secondary Drive PIO Mode Control Block Offset for Primary Drive Master PIC Edge/Level Triggered Register Slave PIC Edge/Level Triggered Register Reset Control Register Section 9.7.4, “COPROC_ERR—Coprocessor Error Register” on page 9-328 See ATA Specification for detailed register description See ATA Specification for detailed register description See ATA Specification for detailed register description See ATA Specification for detailed register description Section 9.4.10, “ELCR1—Master Controller Edge/Level Triggered Register” on page 9-314 Section 9.4.11, “ELCR2—Slave Controller Edge/Level Triggered Register” on page 9-315 Section 9.7.5, “RST_CNT—Reset Control Register” on page 9-329 NOTE: When the POS_DEC_EN bit is set, additional I/O ports get positively decoded by the ICH3. Intel® 82801CA ICH3-S Datasheet 507 Register Index Table A-3. Intel® ICH3 Variable I/O Registers Register Name Offset Datasheet Section and Location LAN Control/Status Registers (CSR) may be mapped to either I/O space or memory space. LAN CSR at CSR_IO_BASE + Offset or CSR_MEM_BASE + Offset. CSR_MEM_BASE set in Section 7.1.11, “CSR_MEM_BASE CSR—Memory-Mapped Base Address Register (LAN Controller— B1:D8:F0)” on page 7-239 CSR_IO_BASE set in Section 7.1.12, “CSR_IO_BASE—CSR I/O-Mapped Base Address Register (LAN Controller—B1:D8:F0)” on page 7-239 SCB Status Word SCB Command Word SCB General Pointer PORT EEPROM Control Register MDI Control Register Receive DMA Byte Count Early Receive Interrupt Flow Control Register PMDR General Control General Status 01–00h 03–02h 07–04h OB–08h 0F–0Eh 13–10h 17–14h 18h 1A–19h 1Bh 1Ch 1Dh Section 7.2.1, “System Control Block Status Word Register” on page 7-246 Section 7.2.2, “System Control Block Command Word Register” on page 7-247 Section 7.2.3, “System Control Block General Pointer Register” on page 7-249 Section 7.2.4, “PORT” on page 7-249 Section 7.2.5, “EEPROM Control Register” on page 7-250 Section 7.2.6, “Management Data Interface (MDI) Control Register” on page 7-251 Section 7.2.7, “Receive DMA Byte Count Register” on page 7-251 Section 7.2.8, “Early Receive Interrupt Register” on page 7-252 Section 7.2.9, “Flow Control Register” on page 7-253 Section 7.2.10, “Power Management Driver (PMDR) Register” on page 7-254 Section 7.2.11, “General Control Register” on page 7-254 Section 7.2.12, “General Status Register” on page 7-255 Power Management I/O Registers at PMBASE+Offset PMBASE set in Section 9.1.10, “PMBASE—ACPI Base Address Register (LPC I/F—D31:F0)” on page 9-280 PM1 Status PM1 Enable PM1 Control PM1 Timer Processor Control Level 2 Register General Purpose Event 0 Status General Purpose Event 0 Enables 00–01h 02–03h 04–07h 08–0Bh 10–13h 14h 28–29h 2A–2Bh Section 9.8.3.1, “PM1_STS—Power Management 1 Status Register” on page 9-337 Section 9.8.3.2, “PM1_EN—Power Management 1 Enable Register” on page 9-339 Section 9.8.3.3, “PM1_CNT—Power Management 1 Control Register” on page 9-340 Section 9.8.3.4, “PM1_TMR—Power Management 1 Timer Register” on page 9-340 Section 9.8.3.5, “PROC_CNT—Processor Control Register” on page 9-341 Section 9.8.3.6, “LV2—Level 2 Register” on page 9-342 Section 9.8.3.7, “GPE0_STS—General Purpose Event 0 Status Register” on page 9-342 Section 9.8.3.8, “GPE0_EN—General Purpose Event 0 Enables Register” on page 9-344 508 Intel® 82801CA ICH3-S Datasheet Register Index Table A-3. Intel® ICH3 Variable I/O Registers (Continued) Register Name Offset Datasheet Section and Location General Purpose Event 1 Status General Purpose Event 1 Enables SMI# Control and Enable SMI Status Register Monitor SMI Status Device Activity Status Device Trap Enable Bus Address Tracker Bus Cycle Tracker 2C–2D 2E–2F 30–31h 34–35h 40h 44h 48h 4Ch 4Eh Section 9.8.3.9, “GPE1_STS—General Purpose Event 1 Status Register” on page 9-345 Section 9.8.3.10, “GPE1_EN—General Purpose Event 1 Enable Register” on page 9-345 Section 9.8.3.11, “SMI_EN—SMI Control and Enable Register” on page 9-346 Section 9.8.3.12, “SMI_STS—SMI Status Register” on page 9-347 Section 9.8.3.13, “MON_SMI—Device Monitor SMI Status and Enable Register” on page 9-348 Section 9.8.3.14, “DEVACT_STS—Device Activity Status Register” on page 9-349 Section 9.8.3.15, “DEVTRAP_EN— Device Trap Enable Register” on page 9-350 Section 9.8.3.16, “BUS_ADDR_TRACK— Bus Address Tracker Register” on page 9-351 Section 9.8.3.17, “BUS_CYC_TRACK— Bus Cycle Tracker Register” on page 9-351 TCO I/O Registers at TCOBASE + Offset TCOBASE = PMBASE + 40h PMBASE is set in Section 9.1.10, “PMBASE—ACPI Base Address Register (LPC I/F—D31:F0)” on page 9-280 TCO_RLD: TCO Timer Reload and Current Value TCO_TMR: TCO Timer Initial Value TCO_DAT_IN: TCO Data In TCO_DAT_OUT: TCO Data Out TCO1_STS : TCO Status TCO2_STS : TCO Status TCO1_CNT: TCO Control TCO2_CNT: TCO Control 00h 01h 02h 03h 04–05h 06–07h 08–09h 0A–0Bh Section 9.9.2, “TCO1_RLD—TCO Timer Reload and Current Value Register” on page 9-352 Section 9.9.3, “TCO1_TMR—TCO Timer Initial Value Register” on page 9-353 Section 9.9.4, “TCO1_DAT_IN—TCO Data In Register” on page 9-353 Section 9.9.5, “TCO1_DAT_OUT—TCO Data Out Register” on page 9-353 Section 9.9.6, “TCO1_STS—TCO1 Status Register” on page 9-354 Section 9.9.7, “TCO2_STS—TCO2 Status Register” on page 9-355 Section 9.9.8, “TCO1_CNT—TCO1 Control Register” on page 9-356 Section 9.9.9, “TCO2_CNT—TCO2 Control Register” on page 9-356 Intel® 82801CA ICH3-S Datasheet 509 Register Index Table A-3. Intel® ICH3 Variable I/O Registers (Continued) Register Name Offset Datasheet Section and Location GPIO I/O Registers at GPIOBASE + Offset GPIOBASE is set in Section 9.1.14, “GPIOBASE—GPIO Base Address Register (LPC I/F—D31:F0)” on page 9-282 GPIO Use Select GPIO Input/Output Select GPIO Level for Input or Output GPIO Blink Enable GPIO Signal Invert 00–03h 04–07h 0C–0Fh 18–1Bh 2C–2Fh Section 9.10.2, “GPIO_USE_SEL—GPIO Use Select Register” on page 9-360 Section 9.10.3, “GP_IO_SEL—GPIO Input/Output Select Register” on page 9-361 Section 9.10.4, “GP_LVL—GPIO Level for Input or Output Register” on page 9-361 Section 9.10.5, “GPO_BLINK—GPO Blink Enable Register” on page 9-362 Section 9.10.6, “GPI_INV—GPIO Signal Invert Register” on page 9-362 BMIDE I/O Registers at BM_BASE + Offset BM_BASE is set at Section 10.1.12, “SCMD_BAR—Secondary Command Block Base Address Register (IDE D31:F1)” on page 10-369 Command Register Primary Status Register Primary Descriptor Table Pointer Primary Command Register Secondary Status Register Secondary Descriptor Table Pointer Secondary 00h 02h 04–07h 08h 0Ah 0C–0Fh Section 10.2.1, “BMIC[P,S]—Bus Master IDE Command Register” on page 10-378 Section 10.2.2, “BMIS[P,S]—Bus Master IDE Status Register” on page 10-379 Section 10.2.3, “BMID[P,S]—Bus Master IDE Descriptor Table Pointer Register” on page 10-379 Section 10.2.1, “BMIC[P,S]—Bus Master IDE Command Register” on page 10-378 Section 10.2.2, “BMIS[P,S]—Bus Master IDE Status Register” on page 10-379 Section 10.2.3, “BMID[P,S]—Bus Master IDE Descriptor Table Pointer Register” on page 10-379 USB I/O Registers at Base Address + Offset USB Base Address is set at Section 11.1.10, “BASE—Base Address Register (USB—D29:F0/F1/F2)” on page 11-385 USB Command Register USB Status Register USB Interrupt Enable USB Frame Number USB Frame List Base Address USB Start of Frame Modify Port 0, 2 Status/Control Port 1, 3 Status/Control Loop Back Test Data 00–01h 02–03h 04–05h 06–07h 08–0Bh 0Ch 10–11h 12–13h 18h Section 11.2.1, “USBCMD—USB Command Register” on page 11-390 Section 11.2.2, “USBSTA—USB Status Register” on page 11-393 Section 11.2.3, “USBINTR—Interrupt Enable Register” on page 11-394 Section 11.2.4, “FRNUM—Frame Number Register” on page 11-394 Section 11.2.5, “FRBASEADD—Frame List Base Address Register” on page 11-395 Section 11.2.6, “SOFMOD—Start of Frame Modify Register” on page 11-395 Section 11.2.7, “PORTSC[0,1]—Port Status and Control Register” on page 11-396 Section 11.2.7, “PORTSC[0,1]—Port Status and Control Register” on page 11-396 510 Intel® 82801CA ICH3-S Datasheet Register Index Table A-3. Intel® ICH3 Variable I/O Registers (Continued) Register Name Offset Datasheet Section and Location SMBus I/O Registers at SMB_BASE + Offset SMB_BASE is set at Section 12.1.8, “SMB_BASE—SMBus Base Address Register (SMBUS—D31:F3)” on page 12-401 Host Status Host Control Host Command Transmit Slave Address Host Data 0 Host Data 1 Block Data Byte Receive Slave Address Receive Slave Data 00h 02h 03h 04h 05h 06h 07h 09h 0Ah Section 12.2.1, “HST_STS—Host Status Register” on page 12-405 Section 12.2.2, “HST_CNT—Host Control Register” on page 12-406 Section 12.2.3, “HST_CMD—Host Command Register” on page 12-407 Section 12.2.4, “XMIT_SLVA—Transmit Slave Address Register” on page 12-407 Section 12.2.5, “HST_D0—Data 0 Register” on page 12-407 Section 12.2.6, “HST_D1—Data 1 Register” on page 12-407 Section 12.2.7, “BLOCK_DB—Block Data Byte Register” on page 12-408 Section 12.2.9, “RCV_SLVA—Receive Slave Address Register” on page 12-408 Section 12.2.10, “SLV_DATA—Receive Slave Data Register” on page 12-409 AC’97 Audio I/O Registers at NAMBAR + Offset NAMBAR is set at Section 13.1.11, “NABMBAR—Native Audio Bus Mastering Base Address Register (Audio—D31:F5)” on page 13-417 PCM In Buffer Descriptor list Base Address Register PCM In Current Index Value PCM In Last Valid Index PCM In Status Register PCM In Position In Current Buffer PCM In Prefetched Index Value PCM In Control Register PCM Out Buffer Descriptor list Base Address Register PCM Out Current Index Value PCM Out Last Valid Index PCM Out Status Register PCM Out Position In Current Buffer 00h 04h 05h 06h 08h 0Ah 0Bh 10h 14h 15h 16h 18h Section 13.2.1, “x_BDBAR—Buffer Descriptor Base Address Register” on page 13-422 Section 13.2.2, “x_CIV—Current Index Value Register” on page 13-423 Section 13.2.3, “x_LVI—Last Valid Index Register” on page 13-423 Section 13.2.4, “x_SR—Status Register” on page 13-424 Section 13.2.5, “x_PICB—Position In Current Buffer Register” on page 13-425 Section 13.2.6, “x_PIV—Prefetched Index Value Register” on page 13-425 Section 13.2.7, “x_CR—Control Register” on page 13-426 Section 13.2.1, “x_BDBAR—Buffer Descriptor Base Address Register” on page 13-422 Section 13.2.2, “x_CIV—Current Index Value Register” on page 13-423 Section 13.2.3, “x_LVI—Last Valid Index Register” on page 13-423 Section 13.2.4, “x_SR—Status Register” on page 13-424 Section 13.2.5, “x_PICB—Position In Current Buffer Register” on page 13-425 Intel® 82801CA ICH3-S Datasheet 511 Register Index Table A-3. Intel® ICH3 Variable I/O Registers (Continued) Register Name Offset Datasheet Section and Location PCM Out Prefetched Index Value PCM Out Control Register Mic. In Buffer Descriptor list Base Address Register Mic. In Current Index Value Mic. In Last Valid Index Mic. In Status Register Mic In Position In Current Buffer Mic. In Prefetched Index Value Mic. In Control Register Global Control Global Status Codec Access Semaphore Register 1Ah 1Bh 20h 24h 25h 26h 28h 2Ah 2Bh 2Ch 30h 34h Section 13.2.6, “x_PIV—Prefetched Index Value Register” on page 13-425 Section 13.2.7, “x_CR—Control Register” on page 13-426 Section 13.2.1, “x_BDBAR—Buffer Descriptor Base Address Register” on page 13-422 Section 13.2.2, “x_CIV—Current Index Value Register” on page 13-423 Section 13.2.3, “x_LVI—Last Valid Index Register” on page 13-423 Section 13.2.4, “x_SR—Status Register” on page 13-424 Section 13.2.5, “x_PICB—Position In Current Buffer Register” on page 13-425 Section 13.2.6, “x_PIV—Prefetched Index Value Register” on page 13-425 Section 13.2.7, “x_CR—Control Register” on page 13-426 Section 13.2.8, “GLOB_CNT—Global Control Register” on page 13-427 Section 13.2.9, “GLOB_STA—Global Status Register” on page 13-428 Section 13.2.10, “CAS—Codec Access Semaphore Register” on page 13-429 AC’97 Modem I/O Registers at MBAR + Offset MBAR is set in Section 14.1.11, “MBAR—Modem Base Address Register (Modem—D31:F6)” on page 14-435 Modem In Buffer Descriptor List Base Address Register Modem In Current Index Value Register Modem In Last Valid Index Register Modem In Status Register Modem In Position In Current Buffer Register Modem In Prefetch Index Value Register Modem In Control Register Modem Out Buffer Descriptor List Base Address Register Modem Out Current Index Value Register Modem Out Last Valid Register 00h 04h 05h 06h 08h 0Ah 0Bh 10h 14h 15h Section 14.2.1, “x_BDBAR—Buffer Descriptor List Base Address Register” on page 14-439 Section 14.2.2, “x_CIV—Current Index Value Register” on page 14-439 Section 14.2.3, “x_LVI—Last Valid Index Register” on page 14-439 Section 14.2.4, “x_SR—Status Register” on page 14-440 Section 14.2.5, “x_PICB—Position In Current Buffer Register” on page 14-441 Section 14.2.6, “x_PIV—Prefetch Index Value Register” on page 14-441 Section 14.2.7, “x_CR—Control Register” on page 14-442 Section 14.2.1, “x_BDBAR—Buffer Descriptor List Base Address Register” on page 14-439 Section 14.2.2, “x_CIV—Current Index Value Register” on page 14-439 Section 14.2.3, “x_LVI—Last Valid Index Register” on page 14-439 512 Intel® 82801CA ICH3-S Datasheet Register Index Table A-3. Intel® ICH3 Variable I/O Registers (Continued) Register Name Offset Datasheet Section and Location Modem Out Status Register Modem In Position In Current Buffer Register Modem Out Prefetched Index Register Modem Out Control Register Global Control Global Status Codec Access Semaphore Register 16h 18h 1Ah 1Bh 3Ch 40h 44h Section 14.2.4, “x_SR—Status Register” on page 14-440 Section 14.2.5, “x_PICB—Position In Current Buffer Register” on page 14-441 Section 14.2.6, “x_PIV—Prefetch Index Value Register” on page 14-441 Section 14.2.7, “x_CR—Control Register” on page 14-442 Section 14.2.8, “GLOB_CNT—Global Control Register” on page 14-443 Section 14.2.9, “GLOB_STA—Global Status Register” on page 14-444 Section 14.2.10, “CAS—Codec Access Semaphore Register” on page 14-445 Intel® 82801CA ICH3-S Datasheet 513 Register Index This page is intentionally left blank. 514 Intel® 82801CA ICH3-S Datasheet Register Bit Index Numerics 12-Clock Retry Enable ........................................ 271 4 Channel Capability (4CH_CAP) .............. 428, 444 6 Channel Capability (6CH_CAP) .............. 428, 444 66 MHz Capable (66MHZ_CAP)237, 262, 266, 278 B BIOSWR_STS.....................................................354 BIOS_EN.............................................................346 BIOS_STS ...........................................................348 Bit 1 of slot 12 .............................................428, 444 Bit 2 of slot 12 .............................................428, 444 Bit 3 of slot 12 .............................................428, 444 Block Data Byte ..................................................408 BOOT_STS .........................................................355 Buffer Completion Interrupt Status (BCIS) 424, 440 Buffer Descriptor Base Address..........................422 Buffer Descriptor List Base Address...................439 Buffered Mode (BUF) .........................................311 Bus Master Enable (BME) .236, 261, 277, 366, 382, 400, 414, 432 Bus Master IDE Active (ACT)............................379 BUS_ERR ...........................................................405 BYTE_DONE_STS.............................................405 A A20Gate Pass-Through Enable (A20PASSEN).. 387 AC ’97 Cold Reset .............................................. 224 AC ’97 Cold Reset# .................................... 427, 443 AC ’97 Warm Reset ............................ 224, 427, 443 AC97_EN ............................................................ 344 AC97_STS........................................................... 343 ACLINK Shut Off ....................................... 427, 443 ACPI Enable (ACPI_EN).................................... 280 AD3 ............................................................. 428, 444 Address................................................................ 407 Address Increment/Decrement Select ................. 302 Address of Descriptor Table (ADDR)................. 379 Address Resolution Protocol ............................... 194 ADI...................................................................... 309 ADLIB_ACT_STS.............................................. 349 ADLIB_LPC_EN ................................................ 293 ADLIB_TRP_EN ................................................ 350 AFTERG3_EN .................................................... 332 Alarm Flag (AF)..................................................326 Alarm Interrupt Enable (AIE) ............................. 325 Alternate A20 Gate (ALT_A20_GATE)............. 328 Alternate Access Mode Enable (ALTACC_EN) 287 APIC Data ........................................................... 317 APIC Enable (APIC_EN).................................... 286 APIC ID............................................................... 318 APIC Index.......................................................... 316 APMC_EN .......................................................... 346 APM_STS ........................................................... 348 AUDIO_ACT_STS ............................................. 349 AUDIO_TRP_EN ............................................... 350 Autoinitialize Enable...........................................302 Automatic End of Interrupt (AEOI) .................... 311 Auxiliary Current ................................................ 242 C Cache Line Size (CLS)........................................238 Capabilities List (CAP_LIST).............................237 Capabilities Pointer (CAP_PTR).........................240 Capability ID (CAP_ID)......................................242 Cascaded Interrupt Controller IRQ Connection ..310 Channel 0 Select ..................................................285 Channel 1 Select ..................................................285 Channel 2 Select. .................................................285 Channel 3 Select ..................................................285 Channel 5 Select ..................................................285 Channel 6 Select ..................................................285 Channel 7 Select ..................................................285 Channel Mask Bits ..............................................304 Channel Mask Select ...........................................302 Channel Request Status .......................................301 Channel Terminal Count Status...........................301 Clear Byte Pointer ...............................................303 Clear Mask Register ............................................303 CNA Mask...........................................................247 CNF1_LPC_EN...................................................292 CNF2_LPC_EN...................................................292 Codec Access Semaphore (CAS) ................429, 445 COMA Decode Range.........................................289 COMA_LPC_EN ................................................293 COMB Decode Range.........................................289 COMB_LPC_EN.................................................293 Command Unit Command (CUC).......................248 Command Unit Status (CUS) ..............................246 Command Unit (CU) Executed (CX) ..................246 Configure Flag (CF) ............................................390 Connect Status Change........................................397 Coprocessor Error Enable (COPR_ERR_EN) ....286 COPROC_ERR ...................................................328 Count Register Status ..........................................307 Countdown Type Status ......................................307 B Base Address239, 280, 282, 369, 370, 385, 395, 401, 417, 435 Base and Current Address ................................... 299 Base and Current Count ...................................... 300 Base Class Code .238, 263, 279, 368, 384, 401, 416, 434 Binary/BCD Countdown Select .......................... 305 BIOS Lock Enable (BLE) ................................... 281 BIOS Release (BIOS_RLS) ................................346 BIOS Write Enable (BIOSWE)........................... 281 Intel® 82801CA ICH3-S Datasheet 515 Register Bit Index Counter 0 Select ..................................................306 Counter 1 Select ..................................................306 Counter 2 Select ..................................................306 Counter Latch Command .................................... 306 Counter Mode Selection...................................... 305 Counter OUT Pin State........................................ 307 Counter Port ........................................................ 307 Counter Select ..................................................... 305 Counter Selection ................................................ 306 CPU Power Failure (CPUPWR_FLR) ................ 331 CPU SLP# Enable (CPUSLP_EN)...................... 331 CU Not Active (CNA)......................................... 246 Current Connect Status........................................ 397 Current Equals Last Valid (CELV) .............424, 440 Current Index Value .................................... 423, 439 CX Mask.............................................................. 247 D D1 Support .......................................................... 242 D2 Support .......................................................... 242 D29_F0_Disable..................................................297 D29_F1_Disable..................................................297 D29_F2_Disable..................................................297 D31_F1_Disable..................................................297 D31_F3_Disable..................................................297 D31_F5_Disable..................................................297 D31_F6_Disable..................................................297 Data ..................................................................... 251 Data Message Byte 0 (DATA_MSG0) ............... 409 Data Message Byte 1 (DATA_MSG1) ............... 409 Data Mode (DM) ................................................. 325 Data Parity Error Detected .................................. 367 Data Parity Error Detected (DPED) ... 237, 278, 383, 400, 415, 433 Data Scale............................................................ 243 Data Select........................................................... 243 DATA0/COUNT ................................................. 407 DATA1................................................................ 407 DATA_HIGH_BYTE ......................................... 411 DATA_LOW_BYTE .......................................... 411 Date Alarm .......................................................... 326 Daylight Savings Enable (DSE) .......................... 325 Deep Power-Down on Link Down Enable..........254 Delayed Transaction Enable (DTE) .................... 287 Delivery Mode..................................................... 321 Delivery Status .................................................... 320 Delivery Type (DT)............................................. 319 Destination........................................................... 320 Destination Mode ................................................ 321 Detected Parity Error (DPE)237, 262, 266, 278, 367, 400, 415, 433 DEV7:4_TRAP_EN ............................................ 348 DEV7:4_TRAP_STS...........................................348 Device Identification Value 236, 260, 276, 366, 382, 399, 414, 432 Device Monitor Status (DEVMON_STS)........... 347 Device Specific Initialization (DSI) .................... 242 DEVICE_ADDRESS .......................................... 411 DEVSEL# Timing Status (DEV_STS) ......237, 262, 266, 278, 367, 383, 400, 415, 433 DEV_ERR ...........................................................405 Diagnose Result...................................................250 Division Chain Select (DV2:0) ...........................324 DMA Channel Group Enable ..............................301 DMA Channel Select...........................................302 DMA Collection Buffer Enable (DCB_EN) .......287 DMA Controller Halted (DCH)...................424, 440 DMA Group Arbitration Priority.........................301 DMA Low Page (ISA Address Bits 23:16).........300 DMA Transfer Mode...........................................302 DMA Transfer Type ............................................302 Drive 0 DMA Capable.........................................379 Drive 0 DMA Timing Enable (DTE0) ................373 Drive 0 Fast Timing Bank (TIME0)....................373 Drive 0 IORDY Sample Point Enable (IE0) .......373 Drive 0 Prefetch/Posting Enable (PPE0).............373 Drive 1 DMA Capable.........................................379 Drive 1 DMA Timing Enable (DTE1) ................372 Drive 1 Fast Timing Bank (TIME1)....................372 Drive 1 IORDY Sample Point Enable (IE1) .......372 Drive 1 Prefetch/Posting Enable (PPE1).............372 Drive 1 Timing Register Enable (SITRE) ...........372 Duplex Mode .......................................................255 Dynamic Data......................................................243 E Early Receive Count............................................252 Early Receive (ER)..............................................246 Edge/Level Bank Select (LTIM) .........................309 EEPROM Chip Select (EECS)............................250 EEPROM Serial Clock (EESK) ..........................250 EEPROM Serial Data In (EEDI).........................250 EEPROM Serial Data Out (EEDO).....................250 Enable Special Mask Mode (ESMM)..................313 Enables I/O (x) Extension Enable (XAPIC_EN) 287 Enables Processor BIST (CPU_BIST_EN).........288 End of SMI (EOS) ...............................................346 Enter Global Suspend Mode (EGSM).................390 ER Mask ..............................................................247 Error.....................................................................379 F FAILED...............................................................405 Fast Back to Back Enable....................................269 Fast Back to Back Enable (FBE) 236, 261, 277, 366, 382, 400, 414, 432 Fast Back to Back (FB2B)..237, 262, 266, 278, 367, 383, 400, 415, 433 Fast Primary Drive 0 Base Clock (FAST_PCB0) .....................................376 Fast Primary Drive 1 Base Clock (FAST_PCB1) .....................................376 Fast Secondary Drive 0 Base Clock (FAST_SCB0) .....................................376 Fast Secondary Drive 1 Base Clock (FAST_SCB1) .....................................376 FC Full.................................................................253 Intel® 82801CA ICH3-S Datasheet 516 Register Bit Index FC Paused ........................................................... 253 FC Paused Low ................................................... 253 FCP Mask............................................................ 247 FDD Decode Range ............................................ 290 FDD_LPC_EN.................................................... 293 FIFO Error Interrupt Enable (FEIE) ........... 426, 442 FIFO Error (FIFOE).................................... 424, 440 Flow Control Pause (FCP) .................................. 246 Flow Control Threshold...................................... 253 Force Global Resume (FGR) .............................. 390 Force Thermal Throttling (FORCE_THTL)....... 341 FR Mask.............................................................. 247 Frame List Current Index/Frame Number .......... 394 Frame Received (FR).......................................... 246 Full Reset (FULL_RST) ..................................... 329 FWH_C0_EN.............................................. 291, 296 FWH_C0_IDSEL................................................ 294 FWH_C8_EN.............................................. 291, 296 FWH_C8_IDSEL................................................ 294 FWH_D0_EN ............................................. 291, 296 FWH_D0_IDSEL ............................................... 294 FWH_D8_EN ............................................. 291, 296 FWH_D8_IDSEL ....................................... 294, 295 FWH_E0_EN...................................................... 291 FWH_E0_IDSEL........................................ 294, 295 FWH_E8_EN...................................................... 291 FWH_E8_IDSEL........................................ 294, 295 FWH_F0_EN ...................................................... 291 FWH_F0_IDSEL ........................................ 294, 295 FWH_F8_EN ...................................................... 291 FWH_F8_IDSEL ................................................ 294 GPI(2) Route ....................................................... 333 GPI(n)_EN .......................................................... 345 GPI(n)_STS......................................................... 345 GP_BLINK(n)..................................................... 362 GP_INV(n) .......................................................... 362 GP_IO_SEL2(43:32)........................................... 363 GP_LVL2(43:32) ................................................ 363 GP_LVL(n) ......................................................... 361 H HCHalted............................................................. 393 Header Type ........................ 239, 264, 279, 416, 434 Hide ISA Bridge (HIDE_ISA) ............................ 286 HIDE_DEV0 ....................................................... 270 HIDE_DEV1 ....................................................... 270 HIDE_DEV2 ....................................................... 270 HIDE_DEV3 ....................................................... 270 HIDE_DEV4 ....................................................... 270 HIDE_DEV5 ....................................................... 270 HIDE_DEV8 ....................................................... 270 Hole Enable (15 MB–16 MB)............................. 271 Host Controller Process Error ............................. 393 Host Controller Reset (HCRESET)..................... 391 Host System Error ............................................... 393 HOST_BUSY...................................................... 405 HOST_NOTIFY_INTREN ................................. 410 HOST_NOTIFY_STS......................................... 410 HOST_NOTIFY_WKEN.................................... 410 Hour Format (HOURFORM).............................. 325 HP_PCI_EN ........................................................ 271 HUBNMI_STS.................................................... 354 HUBSCI_STS ..................................................... 354 HUBSERR_STS ................................................. 354 HUBSMI_STS .................................................... 354 G GAMEH_LPC_EN ............................................. 292 GAMEL_LPC_EN.............................................. 292 GBL_SMI_EN .................................................... 346 General Self-Test Result ..................................... 250 Generic Decode Range 1 Enable (GEN1_EN) ... 292 Generic I/O Decode Range 1 Base Address (GEN1_BASE) ................................... 292 Generic I/O Decode Range 2 Base Address (GEN2_BASE) ................................... 295 Generic I/O Decode Range 2 Enable (GEN2_EN) ........................................ 295 Global Enable (GBL_EN)................................... 339 Global Release (GBL_RLS) ............................... 340 Global Reset (GRESET) ..................................... 390 Global Status (GBL _STS) ................................. 338 GPE0_STS .......................................................... 347 GPE1_STS .......................................................... 347 GPI Interrupt Enable (GIE)......................... 427, 443 GPI Status Change Interrupt (GSCI) .......... 429, 445 GPIO Enable (GPIO_EN)................................... 282 GPIO11_ALERT_DISABLE ............................. 356 GPIO(n)_SEL ..................................................... 361 GPIO_USE_SEL................................................. 360 GPIO_USE_SEL2(43:32)................................... 363 GPI(0) Route....................................................... 333 GPI(15) Route..................................................... 333 GPI(1) Route....................................................... 333 I I2C ....................................................................... 203 I2C_EN ................................................................ 403 ICW4 Write Required (IC4)................................ 309 ICW/OCW Select................................................ 309 IDE Decode Enable (IDE)................................... 372 IDEP0_ACT_STS ............................................... 349 IDEP0_TRP_EN ................................................. 350 IDEP1_ACT_STS ............................................... 349 IDEP1_TRP_EN ................................................. 350 IDES0_ACT_STS ............................................... 349 IDES0_TRP_EN ................................................. 350 IDES1_ACT_STS ............................................... 349 IDES1_TRP_EN ................................................. 350 INIT_NOW ......................................................... 328 Interesting Packet ................................................ 254 Internal LAN Master Request Status (LAN_MREQ_STS) ........................... 272 Internal PCI Master Request Status (INT_MREQ_STS) ............................. 272 Interrupt............................................................... 379 Interrupt Enable................................................... 251 Interrupt Input Pin Polarity ................................. 320 Interrupt Level Select (L2, L1, L0) ..................... 312 517 Intel® 82801CA ICH3-S Datasheet Register Bit Index Interrupt Line (INT_LN) .... 241, 268, 371, 385, 402, 418, 436 Interrupt Mask (M).............................................. 247 Interrupt On Complete (IOC) Enable .................. 394 Interrupt On Completion Enable (IOCE) .... 426, 442 Interrupt Pin (INT_PN)241, 371, 386, 402, 419, 436 Interrupt Request Flag (IRQF) ............................ 326 Interrupt Request Level .......................................310 Interrupt Request Mask .......................................311 Interrupt Routing Enable (IRQEN) .............283, 284 Interrupt Vector Base Address ............................ 310 INTR....................................................................405 INTRD_SEL........................................................ 356 INTREN .............................................................. 406 Intruder Detect (INTRD_DET) ........................... 355 INUSE_STS ........................................................ 405 IO Space Indicator............................................... 401 IOCHK# NMI Enable (IOCHK_NMI_EN) ........ 327 IOCHK# NMI Source Status (IOCHK_NMI_STS) ........................... 327 IORDY Sample Point (ISP) ................................372 IRQ Number ........................................................ 317 IRQ Routing ................................................ 283, 284 IRQ10 ECL.......................................................... 315 IRQ11 ECL.......................................................... 315 IRQ12 ECL.......................................................... 315 IRQ12_CAUSE ................................................... 357 IRQ14 ECL.......................................................... 315 IRQ15 ECL.......................................................... 315 IRQ1_CAUSE ..................................................... 357 IRQ3 ECL............................................................ 314 IRQ4 ECL............................................................ 314 IRQ5 ECL............................................................ 314 IRQ6 ECL............................................................ 314 IRQ7 ECL............................................................ 314 IRQ9 ECL............................................................ 315 ISA Enable .......................................................... 269 I/O Address Base Bits ......................................... 265 I/O Address Base Upper 16 Bits ......................... 268 I/O Address Limit Bits ........................................ 265 I/O Address Limit Upper 16 Bits ........................ 268 I/O Addressing Capability................................... 265 I/O APIC Identification .......................................319 I/O Space Enable (IOE)......236, 261, 277, 366, 382, 400, 414, 432 I/O Space Indicator.............................................. 239 Last Valid Buffer Completion Interrupt (LVBCI) ......................................424, 440 Last Valid Buffer Interrupt Enable (LVBIE).......................................426, 442 Last Valid Index ..........................................423, 439 Latch Count of Selected Counters.......................306 Latch Status of Selected Counters.......................306 LEGACY_USB_EN............................................346 LEGACY_USB_STS ..........................................348 LEG_ACT_STS ..................................................349 LEG_IO_TRP_EN ..............................................350 Line Status ...........................................................397 Link Status Change Indication ............................254 Link Status Indication..........................................255 Loop Back Test Mode .........................................390 Low Speed Device Attached (LS).......................396 Lower 128-byte Lock (L128LOCK) ...................289 LPT Decode Range..............................................290 LPT_LPC_EN .....................................................293 M Magic Packet .......................................................254 Management Data Interrupt (MDI) .....................246 Mask ....................................................................320 Master Abort Mode .............................................269 Master Abort Status (MAS).........237, 278, 415, 433 Master Clear ........................................................303 Master Data Parity Error Detected (MDPD)262, 266 Master Latency Timer Count (MLTC)238, 263, 265, 368 Master/Slave in Buffered Mode ..........................311 Max Packet (MAXP)...........................................390 Maximum Latency (MAX_LAT)........................241 Maximum Redirection Entries ............................319 MC_LPC_EN ......................................................292 MD3.............................................................428, 444 Memory ...............................................................261 Memory Address Base ........................................267 Memory Address Limit .......................................267 Memory Space Enable (MSE)....236, 261, 277, 366, 382, 400, 414, 432 Memory Space Indicator .....................................239 Memory Write and Invalidate Enable (MWIE)..236, 261, 414, 432 Mic In Interrupt (MINT) .............................428, 444 Microcontroller SMI Enable (MCSMI_EN) .......346 Microcontroller SMI# Status (MCSMI_STS) .....347 Microprocessor Mode..........................................311 MIDI Decode Range............................................290 MIDI_ACT_STS .................................................349 MIDI_LPC_EN ...................................................293 MIDI_TRP_EN ...................................................350 Minimum Grant (MIN_GNT) .............................241 Mode Selection Status .........................................307 Modem In Interrupt (MIINT) ......................429, 445 Modem Out Interrupt (MOINT)..................429, 445 MON4_FWD_EN................................................333 MON4_MASK ....................................................334 MON5_FWD_EN................................................333 MON5_MASK ....................................................334 K KBC_ACT_STS..................................................349 KBC_LPC_EN .................................................... 292 KBC_TRP_EN .................................................... 350 Keyboard IRQ1 Latch Enable (IRQ1LEN)......... 286 KILL....................................................................406 L LAN Connect Address ........................................ 251 LAN Connect Register Address .......................... 251 LAN Connect Software Reset ............................. 254 Intel® 82801CA ICH3-S Datasheet 518 Register Bit Index MON6_FWD_EN ............................................... 333 MON6_MASK.................................................... 334 MON7_FWD_EN ............................................... 333 MON7_MASK.................................................... 334 MON_TRAP_BASE........................................... 334 Mouse IRQ12 Latch Enable (IRQ12LEN) ......... 286 MSS Decode Range ............................................ 290 MSS_LPC_EN.................................................... 293 Multi-Function Device................ 239, 264, 279, 384 Multi-Transaction Timer Count Value ............... 271 N NEWCENTURY_STS........................................ 354 Next Item Pointer (NXT_PTR)........................... 242 NMI..................................................................... 356 NMI Enable (NMI_EN)...................................... 328 NMI2SMI_EN ............................................ 355, 356 NMI_NOW ......................................................... 356 NO_REBOOT..................................................... 288 O OCW2 Select ...................................................... 312 OCW3 Select ...................................................... 313 Opcode ................................................................ 251 Overcurrent Active.............................................. 396 Overcurrent Indicator.......................................... 396 P Package Information ........................................... 485 Parity Error Response Enable ............................. 269 Parity Error Response (PER)236, 261, 277, 366, 382, 400, 414, 432 Pass Through State (PSTATE) ........................... 387 PCI Interrupt Enable (USBPIRQEN) ................. 386 PCI Master Request Status (PCI_MREQ_STS) . 272 PCI SERR# Enable (PCI_SERR_EN) ................ 327 PCI_DAC_EN..................................................... 270 PCM 4/6 Enable.................................................. 427 PCM In Interrupt (PIINT)........................... 429, 445 PCM Out Interrupt (POINT)....................... 429, 444 PEC_DATA ........................................................ 408 PEC_EN.............................................................. 406 Periodic Interrupt Enable (PIE) .......................... 325 Periodic Interrupt Flag (PF) ................................ 326 Periodic SMI# Rate Select (PER_SMI_SEL)..... 331 PERIODIC_EN................................................... 346 PERIODIC_STS ................................................. 347 PIRQAE_ACT_STS ........................................... 349 PIRQBF_ACT_STS............................................ 349 PIRQCG_ACT_STS ........................................... 349 PIRQDH_ACT_STS........................................... 349 PM1_STS_REG.................................................. 348 PME Clock.......................................................... 242 PME Enable ........................................................ 243 PME Status.................................................. 243, 254 PME Support....................................................... 242 PME_B0_EN ...................................................... 344 PME_B0_STS ..................................................... 342 PME_EN ............................................................. 344 PME_STS............................................................ 342 Pointer Field ........................................................ 249 Poll Mode Command .......................................... 313 POP_MODE_CAP .............................................. 368 POP_MODE_SEL............................................... 368 Port Enabled/Disabled (PORT_EN).................... 397 Port Enable/Disable Change................................ 397 PORT Function Selection.................................... 249 Port Reset ............................................................ 396 PORT0EN ........................................................... 388 PORT1EN ........................................................... 388 Position In Current Buffer........................... 425, 441 Positive Decode Enable (POS_DEC_EN) .......... 287 Postable Memory Write Enable (PMWE) ...................... 277, 366, 382, 400 Power Button Enable (PWRBTN_EN) ............... 339 Power Button Override Status (PRBTNOR_STS)337 Power Button Status (PWRBTN__STS)............. 338 Power Failure (PWR_FLR)................................. 332 Power Sequencing ............................................... 473 Power State.......................................................... 243 Prefetchable......................................................... 239 Prefetchable Memory Address Base ................... 267 Prefetchable Memory Address Limit .................. 268 Prefetched Index Value ............................... 425, 441 Primany Resume Interrupt Enable .............. 427, 443 Primary Bus Number........................................... 264 Primary Codec Ready (PCR) ...................... 428, 444 Primary Drive 0 Base Clock (PCB0) .................. 377 Primary Drive 0 Cycle Time (PCT0) .................. 375 Primary Drive 0 Synchronous DMA Mode Enable (PSDE0) .................................. 374 Primary Drive 1 Base Clock (PCB1) .................. 377 Primary Drive 1 Cycle Time (PCT1) .................. 375 Primary Drive 1 IORDY Sample Point (PISP1) . 373 Primary Drive 1 Recovery Time (PRCT1) ......... 373 Primary Drive 1 Synchronous DMA Mode Enable (PSDE1) .................................. 374 Primary Master Channel Cable Reporting .......... 376 Primary Resume Interrupt (PRI) ................. 428, 444 Primary Slave Channel Cable Reporting ............ 376 PRIM_SIG_MODE............................................. 376 Processor Break Event Indication Enable (FERR#-MUX-EN)............................. 286 Processor Frequency Strap (FREQ_STRAP3:0). 288 Programming Interface Value ..... 279, 383, 415, 433 PRQ ..................................................................... 319 PWRBTN_LVL .................................................. 331 PWROK Failure (PWROK_FLR)....................... 331 R Rate Select (RS3:0) ............................................. 324 Read Back Command.......................................... 306 Read Completion Status (RCS)................... 428, 444 Read / Write Control (RWC) .............................. 378 Ready................................................................... 251 Read/Write Control (RW) ................................... 407 Read/Write Select................................................ 305 519 Intel® 82801CA ICH3-S Datasheet Register Bit Index Read/Write Selection Status................................307 Real Time Clock Index Address (RTC_INDX) .. 328 Receive DMA Byte Count .................................. 251 Receive Not Ready (RNR) .................................. 246 Receive Unit Command (RUC) .......................... 248 Receive Unit Status (RUS).................................. 246 Received Master Abort (RMA).. 262, 266, 367, 383, 400 Received System Error (SSE) ..................... 262, 266 Received Target Abort (RTA).... 237, 262, 266, 278, 400 Recovery Time (RCT)......................................... 372 Redirection Entry Clear.......................................318 Refresh Cycle Toggle (REF_TOGGLE)............. 327 Register Read Command..................................... 313 Register Result .................................................... 250 Remote IRR......................................................... 320 REQ5#/GNT5# PC/PCI Protocol Select (PCPCIB_SEL) ................................... 286 Reset CPU (RST_CPU).......................................329 Reset Registers (RR) ...................................426, 442 Resource Indicator....................................... 280, 282 Resource Type Indicator (RTE) . 369, 370, 385, 417, 435 Resume Detect (RSM_DET)....................... 393, 396 Resume Interrupt Enable ..................................... 394 Revision Identification Value..... 237, 263, 278, 367, 401, 415, 433 RI_EN.................................................................. 344 RI_STS ................................................................ 343 RNR Mask........................................................... 247 ROM Content Result ...........................................250 Rotate and EOI Codes (R, SL, EOI) ................... 312 RTC Event Enable (RTC_EN) ............................ 339 RTC Power Status (RTC_PWR_STS) ................ 332 RTC Status (RTC_STS) ...................................... 337 Run/Pause Bus Master (RPBM).................. 426, 442 Run/Stop (RS) ..................................................... 391 S SAFE_MODE ..................................................... 288 SB16 Decode Range............................................ 290 SB16_LPC_EN ................................................... 293 SCB General Pointer ...........................................249 SCI Enable (SCI_EN) ......................................... 340 SCI IRQ Select (SCI_IRQ_SEL) ........................ 280 Secondary Bus Number.......................................264 Secondary Bus Reset ...........................................269 Secondary Codec ID (SCID)............................... 419 Secondary Codec Ready (SCR) .................. 428, 444 Secondary Drive 0 Base Clock (SCBO)..............376 Secondary Drive 0 Cycle Time (SCT0) ..............375 Secondary Drive 0 Synchronous DMA Mode Enable (SSDE0) .................................. 374 Secondary Drive 1 Base Clock (SCB1) ..............376 Secondary Drive 1 Cycle Time (SCT1) ..............375 Secondary Drive 1 IORDY Sample Point (SISP1) ................................................ 373 Secondary Drive 1 Recovery Time (SRCT1)...... 373 Secondary Drive 1 Synchronous DMA Mode Enable (SSDE1) ........................374 Secondary Master Channel Cable Reporting ......376 Secondary Resume Interrupt Enable ...........427, 443 Secondary Resume Interrupt (SRI) .............428, 444 Secondary Slave Channel Cable Reporting.........376 SECOND_TO_STS.............................................355 SEC_SIG_MODE................................................376 SEND_NOW .......................................................356 Serial Bus Release Number .................................386 Serial IRQ Enable (SIRQEN)..............................283 Serial IRQ Frame Size (SIRQSZ) .......................283 Serial IRQ Mode Select (SIRQMD)....................283 SERIRQ_SMI_STS.............................................347 SERR# Due to Delayed Transaction Timeout (SERR_DTT) ................273, 285 SERR# Due to Received Target Abort (SERR_RTA) ..............................273, 285 SERR# Enable .....................................................269 SERR# Enable on Delayed Transaction Timeout (SERR_DTT_EN).................272 SERR# Enable on Receiving Target Abort (SERR_RTA_EN) ...............................272 SERR# Enable (SERR_EN)236, 261, 277, 366, 382, 400, 414, 432 SERR# NMI Source Status (SERR#_NMI_STS)............................327 SERR# on Delayed Transaction Timeout Enable (SERR_DTT_EN) ...................284 SERR# on Received Target Abort Enable (SERR_RTA_EN) ...............................284 Short Packet Interrupt Enable..............................394 Signaled System Error (SSE) .....237, 278, 367, 400, 415, 433 Signaled Target Abort (STA) .....237, 262, 266, 278, 367, 383, 400, 415, 433 Single or Cascade (SNGL) ..................................309 Slave Identification Code ....................................311 SLAVE_ADDR...................................................408 Sleep Enable (SLP_EN) ......................................340 Sleep Type (SLP_TYP).......................................340 SLP_SMI_EN......................................................346 SLP_SMI_STS ....................................................348 SMBALERT_DIS ...............................................410 SMBALERT_STS...............................................405 SMBCLK_CTL ...................................................409 SMBCLK_CUR_STS .........................................409 SMBDATA_CUR_STS ......................................409 SMBus Host Enable (HST_EN)..........................403 SMBus SMI Status (SMBUS_SMI_STS) ...........347 SMBus Wake Status (SMB_WAK_STS) ...........343 SMB_CMD .........................................................406 SMB_FOR_BIOS................................................297 SMB_SMI_EN ....................................................403 SMI at End of Pass-through Enable (SMIATENDPS) .................................387 SMI Caused by End of Pass-through (SMIBYENDPS) .................................386 SMI Caused by Port 60 Read (TRAPBY60R) ....387 SMI Caused by Port 60 Write (TRAPBY60W) ..387 SMI Caused by Port 64 Read (TRAPBY64R) ....387 SMI Caused by Port 64 Write (TRAPBY64W) ..387 Intel® 82801CA ICH3-S Datasheet 520 Register Bit Index SMI Caused by USB Interrupt (SMIBYUSB).... 387 SMI on Port 60 Reads Enable (60REN) ............. 387 SMI on Port 60 Writes Enable (60WEN) ........... 387 SMI on Port 64 Reads Enable (64REN) ............. 387 SMI on Port 64 Writes Enable (64WEN) ........... 387 SMI on USB IRQ (USBSMIEN)........................ 387 SMLink Slave SMI Status (SMLINK_SLV_SMI_STS)............... 355 SMLINK0_CUR_STS ........................................ 409 SMLINK1_CUR_STS ........................................ 409 SMLINK_CLK_CTL.......................................... 409 SOF Timing Value.............................................. 395 Software Debug (SWDBG) ................................ 390 Software Generated Interrupt (SI) ...................... 247 Software Interrupt (SWI) .................................... 246 Software SMI Rate Select (SWSMI_RATE_SEL) ....................... 331 Software SMI# Timer Enable (SWSMI_TMR_EN)........................... 346 SOP_MODE_CAP.............................................. 368 SOP_MODE_SEL .............................................. 368 Speaker Data Enable (SPKR_DAT_EN)............ 327 Special Cycle Enable (SCE)236, 261, 277, 366, 382, 400, 414, 432 Special Fully Nested Mode (SFNM) .................. 311 Special Mask Mode (SMM)................................ 313 Speed................................................................... 255 Square Wave Enable (SQWE) ............................ 325 START................................................................ 406 Start Frame Pulse Width (SFPW) ....................... 283 Start/Stop Bus Master (START)......................... 378 STPCLK_DEL.................................................... 332 Sub Class Code238, 263, 279, 368, 384, 401, 416, 434 Subordinate Bus Number.................................... 264 Subsystem ID .............. 240, 371, 385, 402, 418, 436 Subsystem Vendor ID . 240, 371, 385, 402, 418, 436 Suspend ............................................................... 396 SWSMI_TMR_STS............................................ 348 SW_TCO_SMI ................................................... 355 System Reset (SYS_RST)................................... 329 THTL_EN ........................................................... 341 TIMEOUT........................................................... 354 Timeout/CRC Interrupt Enable ........................... 394 Timer Counter 2 Enable (TIM_CNT2_EN)........ 327 Timer Counter 2 OUT Status (TMR2_OUT_STS) ............................ 327 Timer Overflow Interrupt Enable (TMROF_EN)339 Timer Overflow Status (TMROF_STS).............. 338 Timer Value (TMR_VAL) .................................. 340 TOP_SWAP ........................................................ 288 Trigger Mode....................................................... 320 Type..................................................................... 239 U Update Cycle Inhibit (SET)................................. 325 Update In Progress (UIP) .................................... 324 Update-Ended Flag (UF)..................................... 326 Update-Ended Interrupt Enable (UIE) ................ 325 Upper 128-byte Enable (U128E)......................... 289 Upper 128-byte Lock (U128LOCK) ................... 289 USB Error Interrupt............................................. 393 USB Interrupt (USBINT) .................................... 393 USB1_EN............................................................ 344 USB1_STS .......................................................... 343 USB2_EN............................................................ 344 USB2_STS .......................................................... 343 USB3_EN............................................................ 344 USB3_STS .......................................................... 342 User Definable Features (UDF) . 237, 262, 266, 278, 367, 383, 400, 415, 433 V Valid RAM and Time Bit (VRT) ........................ 326 Vector .................................................................. 321 Vendor Identification Value236, 260, 276, 366, 381, 399, 413, 431 Version ........................................................ 242, 319 VGA 16-Bit Decode............................................ 269 VGA Enable ........................................................ 269 VGA Palette Snoop (VPS) . 236, 261, 277, 366, 382, 400, 414, 432 T TCO Interrupt Enable (TCO_INT_EN).............. 281 TCO Interrupt Select (TCO_INT_SEL) ............. 281 TCO Timer Halt (TCO_TMR_HLT).................. 356 TCOSCI_EN ....................................................... 344 TCOSCI_STS ..................................................... 343 TCO_EN ............................................................. 346 TCO_INT_STS ................................................... 354 TCO_MESSAGE(n) ........................................... 357 TCO_STS............................................................ 347 Thermal Interrupt Override Status (THRMOR_STS)................................ 343 Thermal Interrupt Status (THRM_STS) ............. 343 THRM#_POL ..................................................... 344 THRM_DTY....................................................... 341 THRM_EN.......................................................... 344 Throttle Status (THTL_STS) .............................. 341 THTL_DTY ........................................................ 341 W Wait Cycle Control (WCC) 236, 261, 277, 366, 382, 400, 414, 432 Wake Status (WAK_STS)................................... 337 Watchdog Status (WDSTATUS) ........................ 357 WR_PingPong_EN.............................................. 376 X Xoff ..................................................................... 253 Xon ...................................................................... 253 521 Intel® 82801CA ICH3-S Datasheet
82801CA 价格&库存

很抱歉,暂时无法提供与“82801CA”相匹配的价格&库存,您可以联系我们找货

免费人工找货