TABLE OF CONTENTS..................................................................................................................................................................II
LIST OF FIGURES..........................................................................................................................................................................IV
LIST OF TABLES ...........................................................................................................................................................................IV
Function 0 Registers - PCI to ISA Bridge...........................................................................................................................35
PCI Configuration Space Header..........................................................................................................................................................35
ISA Bus Control.................................................................................................................................................................................... 36
Plug and Play Control........................................................................................................................................................................... 39
Distributed DMA / Serial IRQ Control................................................................................................................................................. 41
Miscellaneous / General Purpose I/O.................................................................................................................................................... 42
Function 1 Registers - Enhanced IDE Controller..............................................................................................................47
PCI Configuration Space Header..........................................................................................................................................................47
IDE I/O Registers.................................................................................................................................................................................. 54
Function 2 Registers - Universal Serial Bus Controller.....................................................................................................55
PCI Configuration Space Header..........................................................................................................................................................55
USB I/O Registers................................................................................................................................................................................. 57
Function 3 Registers - Power Management and SMBus..................................................................................................58
PCI Configuration Space Header..........................................................................................................................................................58
Power Management-Specific PCI Configuration Registers .......................................................................... ........................................ 59
System Management Bus-Specific Configuration Registers................................................................................................................. 65
System Management Bus I/O-Space Registers...................................................................................................................................... 66
Power Management I/O-Space Registers..............................................................................................................................................70
Power Management Subsystem Overview............................................................................................................................................ 78
Processor Bus States............................................................................................................................................................................. 78
System Suspend States and Power Plane Control................................................................................................................................. 79
General Purpose I/O Ports..................................................................................................................................................................... 79
Power Management Events................................................................................................................................................................... 80
System and Processor Resume Events.................................................................................................................................................. 80
Legacy Power Management Timers...................................................................................................................................................... 81
System Primary and Secondary Events................................................................................................................................................. 81
TABLE 2. SYSTEM I/O MAP.......................................................................................................................................................21
TABLE 6. AC CHARACTERISTICS - PCI CYCLE TIMING..................................................................................................83
TABLE 7. AC CHARACTERISTICS - ULTRADMA-33 IDE BUS INTERFACE TIMING..................................................84
Revision 0.3 June 17, 1999-iv-Table of Contents
Page 7
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
VT82C596B PIPC
PCI I
WITH
ACPI, E
APIC, D
U
LTRA
DMA-33/66 M
USB C
Inter-operable with VIA and other Host-to-PCI Bridges
•
−
Combine with VT82C598 (Apollo MVP3) for a complete 66 / 75 / 83 / 100MHz Socket-7 PCI / AGP / ISA system
−
Combine with VT82C693 (Apollo ProPlus) for a complete 66 / 100 MHz Socket-370 or Slot-1 PCI / ISA system
−
Combine with VT82C693A (Apollo Pro133) for a complete 66 / 100 / 133 MHz Skt-370 or Slot-1 PCI / ISA system
PC98 Compliant PCI to ISA Bridge
•
−
Integrated ISA Bus Controller with integrated DMA, timer, and interrupt controller
−
Integrated Keyboard Controller with PS2 mouse support
−
Integrated DS12885-style Real Time Clock with extended 256 byte CMOS RAM and Day/Month Alarm for ACPI
−
Integrated USB Controller with root hub and two function ports
−
Integrated UltraDMA-33/66 master mode EIDE controller with enhanced PCI bus commands
−
PCI-2.1 compliant with delay transaction
−
Eight double-word line buffer between PCI and ISA bus
−
One-level PCI to ISA post-write buffer
−
Supports type F DMA transfers
−
Distributed DMA support for ISA legacy DMA across the PCI bus
−
Sideband signal support for PC/PCI and serial interrupt for docking and non-docking applications
−
Serial Interrupt input
−
Fast reset and Gate A20 operation
−
Edge trigger or level-sensitive interrupts
−
Flash EPROM, 2Mb EPROM and combined BIOS support
−
Supports positive and subtractive decoding
NTEGRATED PERIPHERAL CONTROLLER
PC98 C
OMPLIANT
PCI-TO-ISA B
NHANCED POWER MANAGEMENT
ISTRIBUTED
DMA, S
ERIAL
ASTER MODE
ONTROLLER
, K
EYBOARD CONTROLLER, AND
RIDGE
IRQ, P
LUG AND PLAY
PCI-EIDE C
, SMBUS,
,
ONTROLLER
RTC
,
Universal Serial Bus Controller
•
−
USB v.1.1 and Intel Universal HCI v.1.1 compatible
−
Eighteen level (doublewords) data FIFO with full scatter / gather capabilities
−
Root hub and two function ports
−
Integrated physical layer transceivers with over-current detection status on USB inputs
−
Legacy keyboard and PS/2 mouse support
Advanced Programmable Interrupt Controller (APIC)
•
−
Integrated on-chip
−
Control pins provided for support of optional external APIC
−
Used to extend system interrupt capability
−
PC98 compliant
Revision 0.3 June 17, 1999-1-Features
Page 8
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
UltraDMA-33/66 Master Mode PCI EIDE Controller
•
−
Dual channel master mode PCI supporting four Enhanced IDE devices
−
Transfer rate up to 22MB/sec to cover PIO mode 4, multi-word DMA mode 2 drives, and beyond
−
Extension to UltraDMA-33 interface for transfer rates to 33MB/sec
−
Extension to UltraDMA-66 interface for transfer rates to 66MB/sec
−
Thirty-two levels (doublewords) of prefetch and write buffers
−
Dual DMA engine for concurrent dual channe l operation
−
Bus master programming interface for SFF-8038i rev.1.0 and Windows-95 compliant
−
Full scatter gather capability
−
Support ATAPI compliant devices including DVD devices
−
Support PCI native and ATA compatibility modes
−
Complete software driver support
−
Supports glue-less “Swap-Bay” option with full electrical isolation
System Management Bus Interface
•
−
Host interface for processor communications
−
Slave interface for external SMBus masters
Sophisticated PC98-Compatible Mobile Power Management
•
−
Supports both ACPI (Advanced Configuration and Power Interface) and legacy (APM) power management
−
ACPI v1.0 Compliant
−
APM v1.2 Complia nt
−
CPU clock throttling and clock stop control for complete ACPI C0 to C3 state support
−
PCI bus clock run a nd PCI/CPU clock gene rator stop control
−
Supports multiple system suspend types: power-on suspends with flexible CPU/PCI bus reset options,
suspend to DRAM, and suspend to disk (soft-off), all with hardware automatic wake-up
−
Multiple suspend power plane controls and suspend status indicato rs
−
One idle timer, one peripheral timer and one general purpose timer, plus 24/32-bit ACPI compliant timer
−
Normal, doze, sleep, suspend and conserve modes
−
Global and local device power control
−
System event monitoring with two event classes
−
Primary and secondary interrupt differentiation for individual channels
−
Dedicated input pins for power and sleep buttons, external modem ring indicator, and notebook lid open/close for
system wake-up
−
Up to 22 general purpose input ports and 31 output ports
−
Multiple internal and external SMI sources for flexible power management models
−
Two programmable chip selects and one microcontroller chip select
−
Enhanced integrated real time clock (RTC) with date alarm, month alarm, and century field
−
Thermal alarm support
−
Cache SRAM power-down control
−
Hot docking support
−
I/O pad leakage control
VT82C596B
Plug and Play Controller
•
−
PCI interrupts steerable to any interrupt channel
−
Dual interrupt and DMA signal steering for on-board plug and play devices
−
Microsoft Windows 95
Built-in NAND-tree pin scan test capability
•
0.5u, 3.3V, low power CMOS process
•
Single chip 324 pin BGA
•
Revision 0.3 June 17, 1999-2-Features
TM
and plug and play BIOS compliant
Page 9
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
O
VERVIEW
VT82C596B
The VT82C596B south bridge is a high integration, high performance, power-efficient, and high compatibility device that supports
PCI / ISA bus bridge functionality to make a complete Microsoft PC98-compliant system. In addition to complete ISA extension
bus functionality, the VT82C596B includes standard intelligent peripheral controllers:
a) Master mode enhanced IDE controller with dual channel DMA engine and interlaced dual channel commands. Dedicated
FIFO coupled with scatter and gather master mode operation allows high performance transfers between PCI and IDE
devices. In addition to standard PIO and DMA mode operation, the VT82C596B also supports the UltraDMA-33 standard to
allow reliable data transfer rate s up to 33 MB /se c thro ughp ut and the Ultra DMA-66 stand ar d fo r 6 6M B/ sec d ata transfer . T he
IDE controller is SFF-8038i v1.0 and Microsoft Windows-95 / 98 / NT compliant.
b) Universal Serial Bus controller that is USB v1.1 and Universal HCI v1.1 compliant. The VT82C596B includes the root hub
with two function ports with integrated physical layer transceivers. The USB controller allows hot plug and play and
isochronous peripherals to be inserted into the system with universal driver support. The controller also implements legacy
keyboard and mouse support so that legacy software can run transparently in a non-USB-aware operating system
environment.
c) Keyboard controller with PS2 mouse support.
d) Real Time Clock with 256 byte extended CMOS. In addition to the standard ISA RTC functionality, the integrated RTC also
includes the date alarm, century field, and other enhancements for compatibility with the ACPI standard.
e) Notebook-class power management functionality compliant with ACPI and legacy APM requirements. Multiple sleep states
(power-on suspend, suspend-to-DRAM, and suspend-to-Disk) are supported with hardware automatic wake-up. Additional
functionality includes event monitoring, CPU clock throttling and stop (Intel processor p rotoco l), PCI b us clock stop control,
modular power, clock and leakage control, hardware-based and software-based event handling, general purpose I/O, chip
select and external SMI.
f) Full System Management Bus (SMBus) interface.
g) Distributed DMA capability for support of ISA legacy DMA over the PCI bus. PC/PCI and Serial IRQ mechanisms are also
supported for docking and non-docking applications.
h) Plug and Play controller that allows complete steerability of all PCI interrupts to any interrupt channel. Three additional
steerable interrupt channels are provided to allow plug and play and reconfigurability of on-board perip herals for Windows
95 compliance.
i) Integrated APIC (see the Win98 Hardware Design Guide)
The VT82C596B also enhances the functionality of the standard ISA peripherals. The integrated interrupt controller supports both
edge and level triggered interrupts channel by channel. The integrated DMA controller supports type F DMA in addition to
standard ISA DMA modes. Compliant with the PCI-2.1 specification, the VT82C596B supports delayed transactions so that
slower ISA peripherals do not block the traffic of the PCI bus. Special circuitry is built in to allow concurrent operation without
causing dead lock even in a PCI-to-PCI bridge environment. The chip also includes eight levels (doublewords) of line buffers from
the PCI bus to the ISA bus to further enhance overall system performance.
CPU / Cache
Sideband Signals:
Init / CPUreset
IRQ / NMI
SMI / StopClk
FERR / IGNNE
Boot ROM
CA
CD
RTC
Crystal
North Bridge
VT82C596B
324 BGA
MA/Command
MD
PCI
I2C (Module ID)
USB
KBC
IDE
GPIO, Power Control, Reset
ISA
System Memory
Expansion
Cards
Figure 1. PC System Configuration Using the VT82C596B
Revision 0.3 June 17, 1999-3-Overview
Page 10
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
P
INOUTS
VT82C596B
Figure 2. VT82C596B Ball Diagram (Top View)
Key1234567891011121314151617181920
PCI
A
RST#AD27IDSELAD19
AD31AD26AD23AD18I
B
AD30AD25AD22AD17T
C
AD28CBE3#AD20CBE
D
AD29AD24AD21AD16DEV
E
USB-
F
G
H
J
K
L
M
N
P
R
T
U
V
W
Y
GPO28GPO29
P1+
PIRQD#USB-
GPI18USB
USB
OC0#
KBCS#
/MSDT
RTC-
ALE
REQA#RTC
GNTA#REQB#NC /
A20G/
MSCK
CPU
STP#
SD6SD
IRQ
9
SD
7
RST
DRV
IO
CHK#
SCI#
GPI21GPO0GPO
P0+
USB
P1-
P0-
USB
GPI14NC /
OC1#
ROM
GPI16GPI
CS#
GPI13USB
CLK
CS#XDIR#XOE#
KBCKMCCS#
GNTB#REQC#GNTC#PIRQ
PCI
PIRQA#PIRQ
STP#
IOCH
RDY
3
SMEMW#SA18DRQ3DRQ1SA11IRQ5SA
SD
2
DRQ
SD
2
SD4SD
SD
ZWS# AEN IOR#
5
0
1
FRA
SERR#
ME#
RDY#
RDY#
STOP#
2#
SEL#AD15
GPO
VCC VCCVCC VCC
30
27
GPI19GPI
20
GND
KEYL
USB
VCC
17
USB
PCS0#GPI
15
NC /
KBDT
PCS
1#
C#
NCVCC VCCVCC
B#
IOW#
SMEMR#SA17DACK
SA
16
SA19DACK3#SA14SA12IRQ6SA
AD13AD9AD5AD1PCI
AD12AD8AD4AD0PCI
PAR
CBE1#AD11CBE0#AD3PCK
AD14AD10AD6AD
GND
VCC
VCC
B
CLKSA9
RFSH#
1#
SA15SA13IRQ7SA8DACK2#SA3MCS
2
AD
VCC
7
GND GND GND GNDVREF
GND GND GND GND
GND GND GND GND
GND GND GND GND
IRQ3SA4SA1LA23IRQ12LA18DACK
6
7
SA10IRQ4SA5SA2S
RQB#PGNT#SDD6SDD4SDD13SDDRQ
RQC#PREQ#SDD9SDD11SDD1SDIOW#SDA1SDCS1#PDD9PDD6
RUN#
RQA#
BALE
PCI
RQD#SDD7SDD5SDD3SDD14SDIOR#SDA0SDCS3#PDD10PDD5
GND
P
CLKSDD8SDD10SDD2SDD15SDRDYPDD12PDD3PDD11PDD4
PCI
VCC VCC GND
SA0IRQ10LA20DACK0#MEMW#DRQ6DRQ7SUSC#BAT
TCOSC
IOCS
16#LA21
BHE#
16#LA22
SD
D12SDD0
VCC
5#
IRQ14MEMR#DACK
IRQ11LA19DRQ
0
IRQ15LA17DRQ
DACK#
VCC
PD
IOW#PDIOR#PDDRQPDD15PDD0
PDA0PDA2PDA1PD
PD
CS3#PDCS1#
AAK#/
ZZSPKR
V
BAT
NC
VCC
ALRT#
SUS
LID
VCC
SUS
SD9
6#
DACK
SD
8
5
SDA2PDD8PD
SD
PD
D14PDD1PDD13PDD2
DACK#
RDY
ACS#/
APD0THRM#
STP
APD1
CLK#
ARQ#/
WSC#
IGN
INIT INTR NMI
NE#
RSM
PWRGDCPU
RST#
SMB
NC
SUS
RI#
CLK
CFG1CFG2SMB
SUS
SUS
ST1#
ST2#
SD
TEST#
11
SD13SD
7#
SD10SD12SD
IRQ0
OUT
SER
IRQ
FERR# SLP#
RST
RTCX1RC
GPI
SMI#
1
RTC
CLK
GPO8SMB
DATA
PWR
LOW#
BTN#
SUSB#EXT
SMI#
SUS
15
14
D7
PD
IRQ
1
A20
M#
IN#
X2
A#
IRQ
8#
Note: Some of the pins above have alternate functions and alternate names. The table above contains only one name, but the pin lists and pin descriptions contain
all names.
stopped (high) or running (low). The VT82C596B drives this signal low when the
PCI clock is running (de fault on reset) and releases it when it stops the PCI clock.
External devices may assert this signal low to request that the PCI clock be restarted
or prevent it from stopping. Refer to the PCI Mobile Design Guide for more details.
PCLK provides timing for all transactions on the PCI Bus.
Assertion indicates the address phase of a PCI transfer. Negation indicates
The standard PCI address and data lines. The address is driven
The command is driven with FRAME# assertion. Byte
Asserted when the initiator is ready for data transfer.
Asserted when the target is ready for data transfer.
Asserted by the target to request the master to stop the current transaction.
The VT82C596B asserts this signal to claim PCI transactions through
A single parity bit is provided over AD[31:0] and C/BE[3:0]#.
SERR# can be pulsed active by any PCI device that detects a system
IDSEL is used as a chip select during PCI
. These pins are typically connected to the PCI bus INTA#-
PIRQA#PIRQB#
This signal goes to the North Bridge to req uest the PCI bus.
This signal is driven by the North Bridge to grant PCI access to the
This signal indicates whether the PCI clock is or will be
PIRQC#PIRQD#
Revision 0.3 June 17, 1999-7-Pinouts
Page 14
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
CPU Interface
Signal NamePin #I/OSignal Description
VT82C596B
CPURST
INTR
NMI
INIT
STPCLK#
SMI#
FERR#
IGNNE#
SLP#
M19OD
L19OD
L20OD
L18OD
J18OD
P20OD
K19I
L17OD
K20OD
CPU Reset.
CPU Interrupt.
interrupt request is pending and needs service.
Non-Maskable Interrupt.
CPU. The VT82C596B generates an NMI when either SERR# or IOCHK# is
asserted.
Initialization.
on the PCI bus or if a soft reset is initiated by the register
Stop Clock.
different Power-Management events.
System Management Interrupt.
in response to different Power-Management events.
Numerical Coprocessor Error.
the CPU. Internally generates interrupt 13 if active.
Ignore Numeric Error.
Sleep.
used with socket-7 CPUs.
The VT82C596B asserts CPURST to reset the CPU during power-up.
INTR is driven by the VT82C596B to signal the CPU that an
The VT82C596B asserts INIT if it detects a shut-down special cycle
STPCLK# is asserted by the VT82C596B to the CPU in response to
Used to put the CPU to sleep. Used with slot-1 CPUs only. Not currently
Universal Serial Bus Interface
Signal NamePin #I/OSignal Description
USBP0+
USBP0USBOC0#
USBP1+
USBP1USBOC1#
USBCLK
G2IO
H3IO
J1I
F1I O
H2IO
J2I
L3I
USB Port 0 Data +
USB Port 0 Data USB Port 0 Over Current Detect.
USB Port 1 Data +
USB Port 1 Data USB Port 1 Over Current Detect.
USB Clock.
48MHz clock input for Universal Serial Bus interface
NMI is used to force a non-maskable interrupt to the
SMI# is asserted by the VT82C596B to the CPU
This signal is tied to the coprocessor error signal on
This pin is connected to the “ignore error” pin on the CPU.
Port 0 is disabled if this input is low.
Port 1 is disabled if this input is low.
System Management Bus (SMB) Interface (I2C Bus)
Signal NamePin #I/OSignal Description
SMBCLK
SMBDATA
SMBALRT#
Revision 0.3 June 17, 1999-8-Pinouts
/ GPI11
R19IO
T20IO
N17I
SMB / I2C Clock.
SMB / I2C Data.
MultiFunction Pin
SMB Alert.
an IRQ or SMI interrupt or a power management resume event.
General Purpose Input 11.
(Rx74[5] = 0) When the chip is enabled to allo w it, assertion generates
initiation of an UltraDMA burst; negated by the host before data
is transferred in an UltraDMA burst. Assertion of STOP by the
host during or after data transfer in UltraDMA mode signals the
termination of the burst.
Secondary Device I/O Write.
Secondary Stop
initiation of an UltraDMA burst; negated by the host before data
is transferred in an UltraDMA burst. Assertion of STOP by the
host during or after data transfer in UltraDMA mode signals the
termination of the burst.
. Output strobe (both edges). The host may stop
. Stop transfer: Asserted by the host prior to
. Stop transfer: Asserted by the host prior to
Primary channel DMA request
Secondary channel DMA request
Primary channel DMA acknowledge
Device ready indicator
. Output flow control. The device
. Input data strobe (both edges). The
Device ready indicator
. Output flow control. The
. Input data strobe (both edges). The
Device read strobe
. Primary channel input flow control
. Output data strobe (both edges). The
Device read strobe
. Input flow control. The host
Device write strobe
Device write strobe
Secondary channel DMA acknowledge
.
Revision 0.3 June 17, 1999-9-Pinouts
Page 16
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
UltraDMA-33 / 66 Enhanced IDE Interface (continued)
Used to request DMA services from the internal DMA controller.
Used by the internal DMA controller to indicate that a request for
Asserted to DMA slaves as a terminal count indicator.
The output of internal timer/counter 2.
General Purpose Input 6
Reflects the state of the internal
.
Interrupt Request 8
from external RTC
.
Revision 0.3 June 17, 1999-12-Pinouts
Page 19
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
XD Interface
Signal NamePin #I/OSignal Description
VT82C596B
XDIR#
XOE#
KBCS#
ROMCS#
MCCS#
PCS[1-0]#
/ GPO22
/ GPO23
/ GPO26
M3O
M4O
K1O
K2O
N4O
N5, L4O
MultiFunction Pin
X-Bus Data Direction.
memory read cycles to the programmed BIOS or APIC address space. XDIR# is
tied directly to the direction control of a 74F245 transceiver that buffers the X-Bus
data and ISA-Bus data. SD0-7 connect to the “A” side of the transceiver and
XD0-7 connect to the “B” side. XDIR# high indicates that SD0-7 drives XD0-7.
General Purpose Output 22.
MultiFunction Pin
X-Bus Output Enable.
XOE# is tied directly to the output enable of a 74F245 transceiver that buffers the
X-Bus data and ISA-Bus data (see XDIR# above).
RTC port 71h. Externally connected to a pair of OR gates (to logically AND
the chip select with IOR# and IOW#) to generate the active-low RTC read and
write commands.
General Purpose Output 24.
MultiFunction Pin
External RTC Address Strobe.
Port 70h.
General Purpose Output 25.
Internal Keyboard Controller
Signal NamePin #I/OSignal Description
KEYLOCK
/ NC
KBCK
/ NC
KBDT
/ A20GATE
MSCK
/ KBCS# / GPO26
MSDT
/ PIRQ1
J4I
N3IO
M5IO
P1IO
K1IO
Extended Function
Rx59[1]=1
Key Lock.
Extended Function
Rx5A[0]=1 (Internal keyboard controller enabled –strapped from XD0)
Keyboard Clock
Extended Function
Rx5A[0]=1 (Internal keyboard controller enabled –strapped from XD0)
Keyboard Data
MultiFunction Pin
Rx5A[1]=0 (internal keyboard controller disabled – strapped from XD1)
Gate A20.
Rx5A[1]=1 (internal keyboard controller enabled
Mouse Clock.
MultiFunction Pin
Rx5A[1]=0 (Internal keyboard controller disabled –strapped from XD1)
Keyboard Controller Chip Select.
enabled) Chip select for external keyboard controller.
General Purpose Output 26
disabled) General purpose output
Rx5A[1]=1 (Internal keyboard controller enabled –strapped from XD1)
Mouse Data.
Input to internal keyboard controller
From optional external keyboard controller
Mouse clock (exte nded function not available on PIIX4)
Mouse data (extended function not available on PIIX4)
: 32.768 KHz crystal or oscillator input.
: 32.768 KHz crystal output
(Rx76[0] = 0) Asserted for read or write accesses to
(Rx76[0] = 1) General purpose output.
(Rx76[1] = 0) Asserted for writes to RTC I/O
(Rx76[1] = 1) General purpose output.
(PIIX4 PIRQ1)
(PIIX4 No Connect)
(PIIX4 No Connect)
–strapped from XD1)
(Rx76[2]=0 external keyboard controller
(Rx76[2]=1 external keyboard controller
Revision 0.3 June 17, 1999-14-Pinouts
Page 21
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
PC/PCI and Serial IRQ Control
Signal NamePin #I/OSignal Description
VT82C596B
REQ[A-C]#
GNT[A-C]#
SERIRQ
/ GPI7
/ GPI[2-4]
/ GPO[9-11]
M1, N2, P3I
N1, P2, P4O
J19I
PC/PCI DMA Requests.
per the PC/PCI protocol. For GPI functions refer to Rx7D[2-0].
PC/PCI DMA Grants.
PC/PCI protocol. For GPO functions refer to Rx7D[2-0].
Serial Interrupt Request.
Rx68[3].
A20 Control
Signal NamePin #I/OSignal Description
A20GATE
A20M#
/ MSCK
P1I
M20OD
Gate A20:
if used. Logically combined with Port 92 bit-1 (Fast_A20) and output
on the A20M# signal. If the internal keyboard / PS2 mouse co ntroller is
used, this pin becomes the mouse clock input (the A20GATE signal
comes directly from the internal keyboard controller).
A20 Mask.
Gate A20 output from optional external keyboard controller
Asserted by the north bridge to indicate that all snoop activity on the
CPU bus initiated by the last PCI-to-DRAM write is complete and
that it is safe to perform an APIC interrupt.
External APIC Request.
external APIC synchronous to PCICLK prior to sending an interrupt
over the APIC serial bus. This signals the VT82C596B to flush its
internal buffers.
General Purpose Input 5.
MultiFunction Pin
Internal APIC Data 0.
External APIC Chip Select.
VT82C596B drives this signal active to select an external APIC (if
used). This occurs if the external APIC is enabled and a PCI cycle is
detected within the programmed APIC address range.
General Purpose Output 13.
MultiFunction Pin
Internal APIC Data 1.
External APIC Acknowledge.
the VT82C596B to indicate that it internal buffers have been flushed
(in response to APICREQ#). This indicates to the external APIC that
the VT82C596B’s internal buffers have been flushed and that it is OK
for the APIC to send its interrupt.
General Purpose Output 12.
Used by PCI agent to request DMA services
Used to acknowledge DMA services per the
Used with Distributed DMA. For GPI see
(Rx74[7]=1 & Rx74[1]=1)
(Rx74[7]=1 & Rx74[1]=0) Asserted by
(Rx74[7] = 0)
(Rx74[7]=1 & Rx74[1]=1)
(Rx74[7]=1 & Rx74[1]=0) The
(Rx74[7] = 0)
(Rx74[7]=1 & Rx74[1]=1)
(Rx74[7]=1 & Rx74[1]=0) Asserted by
(Rx74[7] = 0)
Revision 0.3 June 17, 1999-15-Pinouts
Page 22
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
General Purpose Inputs
Signal NamePin #I/OSignal Description
VT82C596B
/ IOCHCK#
GPI0
/ PME#
GPI1
/ REQA#
GPI2
/ REQB#
GPI3
/ REQC#
GPI4
/ APICREQ#
GPI5
/ IRQ8#
GPI6
/ SERIRQ
GPI7
/ THRM#
GPI8
/ BATLOW#
GPI9
/ LID
GPI10
/ SMBALRT#
GPI11
/ RI#
GPI12
/ SLPBTN#
GPI13
GPI14
GPI15
GPI16
GPI17
GPI18
GPI19
/ PIRQ0
GPI20
/ PIRQ2
GPI21
The underlined name above indicates the default function on power up.
Y1I
P19I
M1I
N2I
P3I
K18I
Y20I
J19I
H19I
U19I
P16I
N17I
P18I
L2I
J3I
L5I
K3I
K4I
H1I
H4I
H5I
G3I
General Purpose Input 0.
General Purpose Input 1.
General Purpose Input 2.
General Purpose Input 3.
General Purpose Input 4.
General Purpose Input 5.
General Purpose Input 6.
General Purpose Input 7.
General Purpose Input 8.
General Purpose Input 9.
General Purpose Input 10.
General Purpose Input 11.
General Purpose Input 12.
General Purpose Input 13.
register 0 of ACPI I/O Space (Function 3) is enabled
General Purpose Input 14.
General Purpose Input 15.
General Purpose Input 16.
General Purpose Input 17.
General Purpose Input 18.
General Purpose Input 19.
General Purpose Input 20.
General Purpose Input 21.
Rx7D[1] = 0.
Rx7D[2] = 0.
Rx74[7] = 0.
Rx74[7] = 0.
Rx74[7] = 0.
Rx75[0] = 1. See also F3Rx54[3].
Rx75[0] = 1. See also F3Rx54[2].
Rx75[1] = 1.
Rx75[2] = 1.
Rx75[3] = 1.
Rx75[4] = 1. See also F3Rx54[4].
Rx75[5] = 1. See also F3Rx54[7].
Rx75[6] = 1.
Rx75[6] = 1.
Rx76[0] = 1.
Rx76[1] = 1.
Rx76[2] = 1.
Rx74[7] = 0.
Revision 0.3 June 17, 1999-17-Pinouts
Page 24
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
Power Management
Signal NamePin #I/OSignal Description
VT82C596B
PWRBTN#
SLPBTN#
RCIN#
RSMRST#
EXTSMI#
PCIREQ[A-D]#
/ GPI13
U20I
L2I
N20I
M17I
V20IOD
E10, A11,
B11, C11
Power Button.
external system on/off button or switch. The VT82C596B performs a 200us
debounce of this input if Rx40[5] is set to 1. This input is referenced to
VCCSUS.
ACPI Sleep Button.
sleep button if bit-9 of register 0 of ACPI I/O Space (Function 3) is enabled.
Reset CPU.
used) causes an INIT signal to be generated to the CPU.
Resume Reset.
plane and also resets portions of the internal RTC logic.
External System Management Interrupt.
edge on this input causes an SMI# to be generated to the CPU to enter SMI
mode. Once asserted, this pin should be held low for at least four PCICLKs.
The VT82C596B also asserts EXTSMI# in response to SMI# being activated
within the Serial IRQ function. This pin should be connected to an external
pullup.
I
Power Management PCI Requests.
monitor PCI requests for use of the PCI bus.
Used by the Power Management subsystem to monitor an
General purpose input 13, but also functions as the ACPI
This signal from an optional external keyboard controller (if
Resets the internal logic connected to the VCCSUS power
When enabled to allow it, a falling
Used by internal power management to
Revision 0.3 June 17, 1999-18-Pinouts
Page 25
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
Power Management (continued)
Signal NamePin #I/OSignal Description
VT82C596B
/ GPI10
LID
/ GPI12
RI#
THRM#
SCIOUT#
CPUSTP#
PCISTP#
/ GPO19
ZZ
SUSA#
/ GPO15
SUSB#
SUSC#
SUSST1#
SUSST2#
/ GPO16
/ GPI8
/ GPO29
/ GPO17
/ GPO18
/ GPO20
/ GPO21
P16I
P18I
H19I
F3O
R1O
R2O
K16O
W20O
V19O
U18O
T17O
T18O
Notebook Computer Display Lid Open / Closed Monitor.
Power Management subsystem to monitor the opening and closing of the
display lid of notebook computers. Can be used to detect either low-to-high
and/or high-to-low transitions to generate an SMI#. The VT82C596B
performs a 200 usec debounce of this input if Rx40[5] is set to 1. May
optionally be programmed as a general purpose input (Rx74[4]=1).
Ring Indicator.
system to be re-activated by a received phone call. This input is referenced to
VCCSUS. May optionally be programmed as a general purpose input
(Rx74[6]=1).
Thermal Detect.
signal initiates hardware Clock Throttling mode. This causes STPCLK# to be
cycled at a preset programmable rate (see Function 3 configuration space
Rx4C). May optionally be programmed as a general purpose input
(Rx74[2]=1).
ACPI System Control Interrupt.
May optionally be programmed as a general purpose output (Rx74[7]=0).
CPU Clock Stop.
outputs. May optionally be programmed as a general purpose output
(Rx75[1]=1).
PCI Clock Stop.
outputs. May optionally be programmed as a general purpose output
(Rx75[2]=1).
L2 Cache SRAM Low Power Mode.
SRAMs during CPU Stop Clock state. May optionally be programmed as a
general purpose output (Rx75[3]=1).
Suspend Plane A Control.
and STD suspend states. Used to control the primary power plane.
Suspend Plane B Control.
suspend states. Used to control the secondary power plane. May optionally be
programmed as a general purpose output (Rx75[0]=1).
Suspend Plane C Control.
state. Used to control the tertiary power plane. May optionally be
programmed as a general purpose output (Rx75[0]=1).
Suspend Status 1.
Apollo MVP3) to provide information on host clock status. Asserted when the
system may stop the host clock, such as Stop Clock or during POS, STR, or
STD suspend states. May optionally be programmed as a general purpose
output (Rx75[4]=1).
Suspend Status 2.
information on system suspend state. Asserted during POS, STR, or STD
suspend states. May optionally be programmed as a general purpose output
(Rx75[5]=1).
May be connected to external modem circuitry to allow the
If the VT82C596B is enabled to allow it, asserting this
Connected to the external APIC if used.
Signals the system clock generator to disable the CPU clock
Signals the system clock generator to disable the PCI clock
Used to power down the L2 Cache
Asserted during po wer management POS, STR,
Asserted during power management STR and STD
Asserted during p ower manage ment ST D susp end
Typically connected to the North Bridge (e.g., VT82C598
Typically connected to other system devices to provide
Used by the
Revision 0.3 June 17, 1999-19-Pinouts
Page 26
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
Resets and Clocks
Signal NamePin #I/OSignal Description
VT82C596B
PWRGD
PCIRST#
RSTDRV
BCLK
OSC
SUSCLK
M18I
A1O
W1O
T7O
V11I
P17O
Power Good.
PCI Reset.
this pin during power-up or from the control register.
Reset Drive.
Bus Clock.
Oscillator.
Suspend Clock.
VT82C598 Apollo MVP3) for DRAM refresh purposes. Stopped during Suspend-to-
Disk and Soft-Off modes.
Connected to the PWRGOOD signal on the Power Supply.
Active low reset signal for the PCI bus. The VT82C596B will assert
Reset signal to the ISA bus.
ISA bus clock.
14.31818 MHz clock signal used by the internal Timer.
32.768 KHz output clock for use by the North Bridge (e.g.,
Used to select chip test modes. Pulled up externally to VCCSUS for normal
Test.
operation.
Used to select the CPU type (0=Socket-7, 1=Slot-1). Determines
Used to select the type of decoding for the top 64 Kbytes of
Power and Ground
Signal NamePin #I/OSignal Description
VCC
VREF
VCCSUS
VBAT
VCCUSB
GNDUSB
GND
NC
E9, E11, E12,
E16, F5, F6,
F14, F15, G6,
P15, R6, R7 ,
R15, T6
J16P
N16, R16P
L16P
K5P
J5P
D10, E7, E13,
J9-12, K9-12,
L9-12, M9-12
J4, M5, M16,
N3, N18, R5
P
Core Power.
the mechanical switch on the power supply is turned on and the PWRON signal is
conditioned high. This pin should b e connected to the same voltage as the CPU I/O
circuitry.
Voltage Reference.
voltage should be on only when the mechanical switch on the power supply is turned
on and the PWRON signal is conditioned high.
Suspend Power.
is turned off. If the "soft-off" state is not implemented, then this pin can be
connected to VCC. Signals powered by or referenced to this plane are: BATLOW#,
CFG1-2, EXTSMI#, GPI1, GPO8, IRQ8#, LID, RI#, SMBALRT#, SMBCLK,
SMBDATA, PWRBTN#, SUS[A-C]#, SUSCLK, SUSST[1-2]#, TEST#, PWROK,
RSMRST#.
RTC Battery.
USB Differential Output Power Source
USB Differential Output Ground
P
Ground
-
No Connect
3.3V nominal (3.15V to 3.45V). This supply is turned on only when
Always available unless the mechanical switch of the power supply
Battery input for internal RTC (RTCX1, RTCX2)
5V nominal (4.75 to 5.25) to provide 5V input tolerance. This
(USBP0+, P0-, P1+, P1-)
Revision 0.3 June 17, 1999-20-Pinouts
Page 27
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
R
EGISTERS
Register Overview
The following tables summarize the configuration and I/O
registers of the VT82C596B. These tables also document the
power-on default value (“Default”) and access type (“Acc”) for
each register. Access type definitions used are RW
(Read/Write), RO (Read/Only), “—” for reserved / used
(essentially the same as RO), and RWC (or just WC) (Read /
Write 1’s to Clear individual bits). Registers indicated as RW
may have some read/only bits that always read back a fixed
value (usually 0 if unused); registers designated as RWC or
WC may have some read-only or read write bits (see individual
register descriptions for details).
Detailed register descriptions are provided in the following
section of this document. All offset and default values are
shown in hexadecimal unless otherwise indicat ed
90-91-available for system use-0000 0000 1001 000x
92System Control0000 0000 1001 0010
93-9F-available for system use-0000 0000 1001 nnnn
A0-BFSlave Interrupt Controller0000 0000 101x xxxn
C0-DFSlave DMA Controller0000 0000 110n nnnx
E0-FF-available for system use-0000 0000 111x xxxx
100-CF7-available for system useCF8-CFB PCI Configuration Address 0000 1100 1111 10xx
CFC-CFF PCI Configuration Data0000 1100 1111 11xx
D00-FFFF -available for system use-
Table 3. Registers
Legacy I/O Registers
Port Master DMA Controller RegistersDefault Acc
00Channel 0 Base & Current AddressRW
01Channel 0 Base & Current CountRW
02Channel 1 Base & Current AddressRW
03Channel 1 Base & Current CountRW
04Channel 2 Base & Current AddressRW
05Channel 2 Base & Current CountRW
06Channel 3 Base & Current AddressRW
07Channel 3 Base & Current CountRW
08Status / CommandRW
NMI Disable is port 70h (CMOS Memory Address) bit-7.
RTC control occurs via specific CMOS data locations (0-0Dh).
Ports 72-73 may be used to access all 256 locations of CMOS.
Ports 74-75 may be used to access CMOS if the internal RTC is
disabled.
WO
WO
WO
WO
WO
WO
RW
RW
WO
WO
Revision 0.3 June 17, 1999-21-Register Overview
Page 28
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
Port DMA Page RegistersDefault Acc
87DMA Page - DM A Channel 0RW
83DMA Page - DM A Channel 1RW
81DMA Page - DM A Channel 2RW
82DMA Page - DM A Channel 3RW
8FDMA Page - DMA Channel 4RW
C0Channel 0 Base & Current AddressRW
C2Channel 0 Base & Current CountRW
C4Channel 1 Base & Current AddressRW
C6Channel 1 Base & Current CountRW
C8Channel 2 Base & Current AddressRW
CAChannel 2 Base & Current CountRW
CCChannel 3 Base & Current AddressRW
CEChannel 3 Base & Current CountRW
D0Status / CommandRW
D2Write Request
D4Write Single Mask
D6Write Mode
D8Clear Byte Pointer FF
DAMaster Clear
DCClear Mask
DERead / Write MaskRW
WO
WO
WO
WO
WO
WO
Revision 0.3 June 17, 1999-22-Register Overview
Page 29
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
PCI Function 0 Registers - PCI-to-ISA Bridge
VT82C596B
Configuration Space PCI-to-ISA Bridg e Header Registers
9Programming Interface00RO
ASub Class Code01RO
BBase Class Code06RO
C-reserved- (cache line size)00—
D-reserved- (latency timer)00—
EHeader Type80RO
FBuilt In Self Test (BIST)00RO
Configuration Space PCI-to-ISA Bridg e - Specific Registers
RW
WC
Configuration Space PCI-to-ISA Bridg e - Specific Registers
Offset Plug and Play ControlDefaultAcc
50-reserved- (do not program)24RW
51-53 -reserved-00—
54PCI IRQ Edge / Level Selection00RW
55PnP Routing for External MIRQ0-100RW
56PnP Routing for PCI INTB-A00RW
57PnP Routing for PCI INTD-C00RW
58PnP Routing for External MIRQ200RW
59PIRQ Pin Configuration04RW
5AKBC / RTC Controlx4†RW
5BInternal RTC Test Mode00RW
5CDMA Control00RW
5F-5D -reserved-00—
† Bit 7-4 power-up default value depends on external strapping
Distributed DMADefaultAcc
Offset
61-60 Channel 0 Base Address / Enable0000RW
63-62 Channel 1 Base Address / Enable0000RW
65-64 Channel 2 Base Address / Enable0000RW
67-66 Channel 3 Base Address / Enable0000RW
69-68 Serial IRQ Control0000RW
6B-6A Channel 5 Base Address / Enable0000RW
6D-6C Channel 6 Base Address / Enable0000RW
6F-6E Channel 7 Base Address / Enable0000RW
Offset ISA Bus ControlDefaultAcc
40ISA Bus Control00RW
41ISA Test Mode00RW
42ISA Clock Control00RW
43ROM Decode Control00RW
44Keyboard Controller Control00RW
45Type F DMA Control00RW
46Miscellaneous Control 100RW
47Miscellaneous Control 200RW
48Miscellaneous Control 301RW
49-reserved-00—
4AIDE Interrupt Routing04RW
4B-reserved-00—
4CDMA / Master Mem Access Control 100RW
4DDMA / Master Mem Access Control 200RW
9Programming Interface85
ASub Class Code01RO
BBase Class Code01RO
C-reserved- (cache line size)00—
DLatency Timer00RW
EHeader Type00RO
FBuilt In Self Test (BIST)00RO
13-10 Base Address – Pri Data / Command000001F0 RO
17-14 Base Address – Pri Control / Status000003F4 RO
1B-18 Base Address – Sec Data / Command00000170 RO
1F-1C Base Address – Sec Control / Status00000374 RO
23-20 Base Address – Bus Master Control0000CC01
24-2F -reserved- (unassigned)00—
30-33 -reserved- (expan ROM base addr)00—
34-3B -reserved- (unassigned)00—
Configuration Space IDE-Specific Registers
Offset Configuration Space IDE RegistersDefaultAcc
40Chip Enable08RW
41IDE Configuration02RW
42-reserved- (do not program)09
43FIFO Co nfiguration3ARW
44Miscellaneous Control 168RW
45Miscellaneous Control 200RW
46Miscellaneous Control 3C0RW
4B-48 Drive Timing Control
4CAddress Setup TimeFFRW
4D-reserved- (do not program)00
4ESec Non-1F0 Port Access TimingFFRW
4FPri Non-1F0 Port Access TimingFFRW
53-50 UltraDMA33 Extd Timing Control03030303 RW
54UltraDMA FIFO Control06RW
55-5F -reserved-00—
61-60 IDE Primary Sector Size0200RW
62-67 -reserved-00—
69-68 IDE Secondary Sector Size0200RW
Port CFF-CFC - Configuration Data .............................. RW
Refer to PCI Bus Specification Version 2.1 for further details
on operation o f the above configuration registe rs.
Revision 0.3 June 17, 1999-28-Configuration Space I/O
Page 35
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
Register Descriptions
Legacy I/O Ports
This group of registers includes the DMA Controllers,
Interrupt Controllers, and Timer/Counters as well as a number
of miscellaneous ports originally implemented using discrete
logic on original PC/AT motherboards. All of the registers
listed are integrated on-chip. These registers are implemented
in a precise manner for backwards compatibility with previous
generations of PC hardware. These registers are listed for
information purposes only. Detailed descriptions of the
actions and programming of these registers are included in
numerous industry publications (duplication of that
information here is beyond the scope of this document). All of
these registers reside in I/O space.
Port 61 - Misc Functions & Speaker Control ................. RW
7Reserved
6IOCHCK# Active
This bit is set when the ISA bus IOCHCK# signal is
asserted. Once set, this bit may be cleared by setting
bit-3 of this register. Bit-3 should be cleared to
enable recording of the next IOCHCK#. IOCHCK#
generates NMI to the CPU if NMI is enabled.
5Timer/Counter 2 Output
This bit reflects the output of Timer/Counter 2
without any synchronization.
4Refresh Detected
This bit toggles on every rising edge of the ISA bus
REFRESH# signal.
Revision 0.3 June 17, 1999-29-Register Descriptions - Legacy I/O Ports
Page 36
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
Keyboard Controller Registers
The keyboard controller handles the keyboard and mouse
interfaces. Two ports are used: port 60 and port 64. Reads
from port 64 return a status byte. Writes to port 64h are
command codes (see command code list following the register
descriptions). Input and output data is transferred via port 60.
A “Control” register is also available. It is accessable by
writing commands 20h / 60h to the command port (port 64h);
The control byte is written by first sending 60h to the
command port, then sending the control byte value. The
control register may be read by sending a command of 20h to
port 64h, waiting for “Output Buffer Full” status = 1, then
reading the control byte value from port 60h.
Traditional (non-integrated) keyboard controllers have an
“Input Port” and an “Output Port” with specific pins dedicated
to certain functions and other pins available for general
purpose I/O. Specific commands are provided to set these pins
high and low. All outputs are “open-collector” so to allow
input on one of these pins, the output value for that pin would
be set high (non-driving) and the desired input value read on
the input port. These ports are defined as follows:
1T1 - Mouse Clock In––
Note: Command code C0h transfers input port data to the
output buffer. Command code D0h copies output port values
to the output buffer. Command code E0h transfers test input
port data to the output buffer.
Port 60 - Keyboard Controller Input Buffer ................. WO
Only write to port 60h if port 64h bit-1 = 0 (1=full).
Port 60 - Keyboard Controller Output Buffer ................ RO
Only read from port 60h if port 64h bit-0 = 1 (0=empty).
Lo Code Hi Code
Lo Code Hi Code
Hi Code
Port 64 - Keyboard / Mouse Status .................................. RO
Revision 0.3 June 17, 1999-30-Register Descriptions - Legacy I/O Ports
Page 37
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
Port 64 - Keyboard / Mouse Command .......................... WO
This port is used to send co mmands to the keyboard / mouse
controller. The command codes recognized by the
VT82C596B are listed n the table below.
Note: The VT82C596B Keyboard Controller is compatible
with the VIA VT82C42 Industry-Standard Keyboard
Controller except that due to its integrated nature, many of the
input and output port pins are not available externally for use
as general purpo se I/O pins (even though P 13-P16 are set on
power-up as strapping options). In other words, many of the
commands below are provided and “work”, but otherwise
perform no useful function (e. g., commands that set P12-P 17
high or low). Also note that setting P10-11, P22-23, P26-27,
and T0-1 high or lo w directly serves no useful purpose, sinc e
these bits are used to implement the keyboard and mouse ports
and are directly controlled by keyboard controller logic.
Table 4. Keyboard Controller Command Codes
VT82C596B
CodeKey board Command Code Description
20hRead Control Byte (next byte is Control Byte)
21-3FhRead SRAM Data (next byte is Data Byte)
60hWrite Control Byte (next byte is Control Byte)
61-7FhWrite SRAM Data (next byte is Data Byte)
9xhWrite low nibble (bits 0-3) to P10-P13
A1hOutput Keyboard Controller Version #
A4hTest if Password is installed
(always returns F1h to indicate not installed)
A7hDisable Mouse Interface
A8hEnable Mouse Interface
A9hMouse Interface Test (puts test results in port 60h)
(value: 0=OK, 1=clk stuck low, 2=clk stuck high,
3=data stuck lo, 4= data stuck hi, FF=general error)
AAhKBC self test (returns 55h if OK, FCh if not)
ABhKeyboard Interface Test (see A9h Mouse Test)
ADhDisable Keyboard Interface
AEhEnable Keyboard Interface
AFhReturn Version #
B0hSet P10 low
B1hSet P11 low
B2hSet P12 low
B3hSet P13 low
B4hSet P22 low
B5hSet P23 low
B6hSet P14 low
B7hSet P15 low
B8hSet P10 high
B9hSet P11 high
BAhSet P12 high
BBhSet P13 high
BChSet P22 high
BDhSet P23 high
BEhSet P14 high
BFhSet P15 high
CodeKey board Command Code Description
C0hRead input port (read P10-17 input data to
the output buffer)
C1hPoll input port low (read input data on P11-13
repeatably & put in bits 5-7 of status
C2hPoll input port high (same except P15-17)
C8hUnblock P22-23 (use before D1 to change
active mode)
C9hReblock P22-23 (protection mechanism for D1)
CAhRead mode (output KBC mode info to port 60
output buffer (bit-0=0 if ISA, 1 if PS/2)
D0hRead Output Port (copy P10-17 output port values
to port 60)
D1hWrite Output Port (data byte following is written to
keyboard output port as if it came from keyboard)
D2hWrite Keyboard Output Buffer & clear status bit-5
(write following byte to keyboard)
D3hWrite Mouse Output Buffer & set status bit-5 (write
following byte to mouse; put value in mouse input
buffer so it appears to have come from the mouse)
D4hWrite Mouse (write following byte to mouse)
E0hRead test inputs (T0-1 read to bits 0-1 of resp byte)
ExhSet P23-P21 per command bits 3-1
FxhPulse P23-P20 low for 6usec per command bits 3-0
All other codes not listed are undefined.
Revision 0.3 June 17, 1999-31-Register Descriptions - Legacy I/O Ports
Page 38
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
DMA Controller I/O Registers
Ports 00-0F - Master DMA Controller
Channels 0-3 of the Master DMA Controller control System
DMA Channels 0-3. There are 16 Master DMA Controller
registers:
I/O Address Bits 15-0Register Name
0000 0000 000x 0000Ch 0 Base / Current AddressRW
0000 0000 000x 0001Ch 0 Base / Current CountRW
0000 0000 000x 0010Ch 1 Base / Current AddressRW
0000 0000 000x 0011Ch 1 Base / Current CountRW
0000 0000 000x 0100Ch 2 Base / Current AddressRW
0000 0000 000x 0101Ch 2 Base / Current CountRW
0000 0000 000x 0110Ch 3 Base / Current AddressRW
0000 0000 000x 0111Ch 3 Base / Current CountRW
0000 0000 000x 1000Status / CommandRW
0000 0000 000x 1001Write RequestWO
0000 0000 000x 1010Write Single MaskWO
0000 0000 000x 1011Write ModeWO
0000 0000 000x 1100Clear Byte Pointer F/FWO
0000 0000 000x 1101Master ClearWO
0000 0000 000x 1110Clear MaskWO
0000 0000 000x 1111R/W All Mask BitsRW
Note that not all bits of the address are decoded.
The Master DMA Controller is compatible with the Intel 8237
DMA Controller chip. Detailed descriptions of 8237 DMA
Controller operation can be obtained from the Intel Peripheral
Components Data Book and numerous other industry
publications.
Ports C0-DF - Slave DMA Controller
Channels 0-3 of the Slave DMA Controller control System
DMA Channels 4-7. There are 16 Slave DMA Controller
registers:
I/O Address Bits 15-0Register Name
0000 0000 1100 000xCh 0 Base / Current AddressRW
0000 0000 1100 001xCh 0 Base / Current CountRW
0000 0000 1100 010xCh 1 Base / Current AddressRW
0000 0000 1100 011xCh 1 Base / Current CountRW
0000 0000 1100 100xCh 2 Base / Current AddressRW
0000 0000 1100 101xCh 2 Base / Current CountRW
0000 0000 1100 110xCh 3 Base / Current AddressRW
0000 0000 1100 111xCh 3 Base / Current CountRW
0000 0000 1101 000xStatus / CommandRW
0000 0000 1101 001xWrite RequestWO
0000 0000 1101 010xWrite Single MaskWO
0000 0000 1101 011xWrite ModeWO
0000 0000 1101 100xClear Byte Pointer F/FWO
0000 0000 1101 101xMaster ClearWO
0000 0000 1101 110xClear MaskWO
0000 0000 1101 111xRead/Write All Mask BitsWO
Note that not all bits of the address are decoded.
The Slave DMA Controller is compatible with the Intel 8237
DMA Controller chip. Detailed description of 8237 DMA
controller operation can be obtained from the Intel Peripheral
Components Data Book and numerous other industry
publications.
Ports 80-8F - DMA Page Registers
There are eight DMA Page Registers, one for each DMA
channel. These registers provide bits 16-23 of the 24-bit
address for each DMA channel (bits 0-15 are stored in
registers in the Master and Slave DMA Controllers). They are
located at the following I/O Port addresses:
Note that not all bits of the address are decoded.
The Master Interrupt Controller is compatible with the Intel
8259 Interrupt Controller chip. Detailed descriptions of 8259
Interrupt Controller operation can be obtained from the Intel
Peripheral Components Data Book and numerous other
industry publications.
Ports A0-A1 - Slave Interrupt Contro ller
The Slave Interrupt Controller controls system interrupt
channels 8-15. The slave system interrupt controller also
occupies two register locations:
Note that not all address bits are decoded.
The Slave Interrupt Controller is compatible with the Intel
8259 Interrupt Controller chip. Detailed descriptions of 8259
Interrupt Controller operation can be obtained from the Intel
Peripheral Components Data Book and numerous other
industry publications.
Interrupt Controller Shadow Registers
The following shadow registers are enabled by setting bit 4 of
Rx47 to 1 (offset 47h in the PCI-ISA Bridge function 0
register group). If the shadow registers are enabled, they are
read back at the indicated I/O port instead of the standard
interrupt controller registers (writes to the interrupt controller
register ports are directed to the standard interrupt controller
registers).
Port 20 - Master Interrupt Control Shadow ................... RO
7-5Reserved
4OCW3 bit 5
3OCW2 bit 7
2ICW4 bit 4
1ICW4 bit 1
0ICW1 bit 3
Port 21 - Master Interrupt Mask Shadow ....................... RO
7-5Reserved
4-0T7-T3 of Interrupt Vector Address
Port A0 - Slave Interrupt Control Shadow ..................... RO
7-5Reserved
4OCW3 bit 5
3OCW2 bit 7
2ICW4 bit 4
1ICW4 bit 1
0ICW1 bit 3
Port A1 - Slave Interrupt Mask Shadow ........................ RO
Note that not all bits of the address are decoded.
The Timer / Counters are compatible with the Intel 8254
Timer / Counter chip. Detailed descriptions of 8254 Timer /
Counter operation can be obtained from the Intel Peripheral
Components Data Book and numerous other industry
publications.
Revision 0.3 June 17, 1999-33-Register Descriptions - Legacy I/O Ports
Page 40
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
CMOS / RTC Registers
Port 70 - CMOS Address ................................................. WO
24hr: 00-17h00-23h
am 12hr: 01-1Ch01-12h
pm 12hr: 81-8Ch81-92h
24hr: 00-17h00-23h
Sun=1: 01-07h01-07h
01-1Fh01-31h
01-0Ch01-12h
00-63h00-99h
Port 72 - CMOS Address .................................................. RW
7-0CMOS Address
Port 73 - CMOS Data........................................................ RW
7-0CMOS Data
Note:P orts 72-73 may be accessed if Rx5A bit-2 is set to
one to select the internal RTC. If Rx5A bit-2 is set to
zero, accesses to ports 72-73 will be directed to an
external RTC.
Port 74 - CMOS Address .................................................. RW
7-0CMOS Address
Port 75 - CMOS Data........................................................ RW
7-0CMOS Data
Note:P orts 74-75 may be accessed only if Function 0 Rx5B
bit-1 is set to one to enable the internal RTC SRAM
and if Rx48 bit-3 (Port 74/75 Access Enable) is set to
one to enable port 74/75 access.
Note:Ports 70-71 are compatible with PC industry-
standards and may be used to access the lower 128
bytes of the 256-byte on-chip CMOS RAM. Ports
72-73 may be used to access the full extended 256byte space. Ports 74-75 may be used to access the
full on-chip extended 256-byte space in cases where
the on-chip RTC is disabled.
Note:The system Real Time Clock (RTC) is part of the
“CMOS” block. The RTC control registers are
located at specific offsets in the CMOS data area (00Dh and 7D-7Fh). Detailed descriptions of CMOS /
RTC operation and programming can be obtained
from the VIA VT82887 Data Book or numerous
other industry publications. For reference, the
definition of the RTC register locations and bits are
summarized in the following table:
(256 bytes).................................RW
(256 bytes)
(256 bytes).................................RW
(256 bytes)
0ARegister A
7UIP
6-4DV2-0
3-0RS3-0
0BRegister B
7SET
6PIE
5AIE
4UIE
3SQWE
2DM
124/12
0DSE
0CRegister C
7IRQF
6PF
5AF
4UF
3-00
0DRegister D
7VRT
6-00
0E-7C Software-Defined Storage Registers
Offset Extended Functions
7DDate Alarm
7EMonth Alarm
7FCentury Field
80-FF Software-Defined Storage Registers
(See also Function 0 Rx5B[3] and Rx77[2-1])
Update In Progress
Divide (010=ena osc & keep time)
Rate Select for Periodic Interrupt
Inhibit Update Transfers
Periodic Interrupt Enable
Alarm Interrupt Enable
Update Ended Interrupt Enable
No function (read/write bit)
Data Mode (0=BCD, 1=binary)
Hours Byte Format (0=12, 1=24)
Daylight Savings Enable
Interrupt Request Flag
Periodic Interrupt Flag
Alarm Interrupt Flag
Update Ended Flag
Unused (always read 0)
Reads 1 if VBAT voltage is OK
Unused (always read 0)
Binary Range BCD Range
01-1Fh01-31h
01-0Ch01-12h
13-14h19-20h
Table 5. CMOS Register Summary
(111 Bytes)
(128 Bytes)
Revision 0.3 June 17, 1999-34-Register Descriptions - Legacy I/O Ports
Page 41
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
Function 0 Registers - PCI to ISA Bridge
All registers are located in the function 0 PCI configuration
space of the VT82C596B. These registers are accessed
through PCI configuration mechanism #1 via I/O address
CF8/CFC.
PCI Configuration Space Header
VT82C596B
Offset 1-0 - Vendor ID = 1106h ......................................... RO
Offset 3-2 - Device ID = 0596h .......................................... RO
3Special Cycle Enable
2Bus Master
1Memory Space
0I/O Space
† If the test bit at offset 46 bit-4 is set, access to the above
indicated bits is reversed: bit-3 above becomes read only
(reading back 1) and bits 0-1 above become read / write (with
a default of 1).
Offset 7-6 - Status ........................................................... RWC
The Post Memory Write function is automatically
enabled when Delay Transaction (see Rx47 bit-6
below) is enabled, independent of the state of this bit.
(do not program)........................default = 0
(no function)..............................default = 0
0Allow burst reads to be interrupted........default
Offset 45 - Type F DMA Control ..................................... RW
7ISA Master / DMA to PCI Line Buffer
6DMA type F Timing on Channel 7
5DMA type F Timing on Channel 6
4DMA type F Timing on Channel 5
3DMA type F Timing on Channel 3
2DMA type F Timing on Channel 2
1DMA type F Timing on Channel 1
0DMA type F Timing on Channel 0
.... default=0
........... default=0
........... default=0
........... default=0
........... default=0
........... default=0
........... default=0
........... default=0
Offset 47 - Miscellaneous Control 2 ................................ RW
Note:All ISA DMA / Masters that access addresses higher
than the top of PCI memory will not be directed to the
PCI bus.
11Forward E0000-EFFFF Accesses to PCI
10Forward A0000-BFFFF Accesses to PCI
9Forward 80000-9FFFF Accesses to PCI
8Forward 00000-7FFFF Accesses to PCI
7Forward DC000-DFFFF Accesses to PCI
6Forward D8000-DBFFF Accesses to PCI
5Forward D4000-D7FFF Accesses to PCI
4Forward D0000-D3FFF Accesses to PCI
3Forward CC000-CFFFF Accesses to PCI
2Forward C8000-CBFFF Accesses to PCI
1Forward C4000-C7FFF Accesses to PCI
0Forward C0000-C3FFF Accesses to PCI
for ISA DMA/Master accesses
(HA[23:16])
........def=0
.......def=0
........ def=1
........ def=1
......def=0
...... def=0
....... def=0
....... def=0
.....def=0
...... def=0
....... def=0
....... def=0
Revision 0.3 June 17, 1999-38-PCI Function 0 Registers - PCI-to-ISA Bridge
Page 45
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
Plug and Play Control
VT82C596B
Offset 50 - Reserved (Do Not Program) .......................... RW
Revision 0.3 June 17, 1999-39-PCI Function 0 Registers - PCI-to-ISA Bridge
Page 46
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
Offset 5A – KBC / RTC Control ...................................... RW
Bits 7-4 of this register are latched from pins SD7-4 at powerup but are read/write accessible so may be changed after
power-up to change the default strap setting:
1Enable
This bit is set if the internal RTC is disabled but it is
desired to still be able to access the internal RTC
SRAM via ports 74-75. If the internal RTC is
enabled, setting this bit does nothing (the internal
RTC SRAM should be accessed at either ports 70/71
or 72/73.
0RTC Test Mode Enable
(do not program).default=0
Offset 5C - DMA Control ................................................. RW
0GPI0, GP O[7-1].....................................default
1IOCHCK, LA[23-17]
Bits 18-0 also control multi-function pin definitions. Refer to
the General Purpose Inputs and Outputs sections of the pin
descriptions for more information.
Revision 0.3 June 17, 1999-42-PCI Function 0 Registers - PCI-to-ISA Bridge
Page 49
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
Offset 7B-78 – Programmable Chip Select Control ....... RW
31-16 PCS1 I/O Port Address [15-0]
15-0 PCS0 I/O Port Address [15-0]
Offset 7F-7C – PC/PCI Control ....................................... RW
Revision 0.3 June 17, 1999-46-PCI Function 0 Registers - PCI-to-ISA Bridge
Page 53
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
Function 1 Registers - Enhanced IDE Controller
This Enhanced IDE controller interface is fully compatible
with the SFF 8038i v.1.0 specification. There are two sets of
software accessible registers -- PCI configuration registers and
Bus Master IDE I/O registers. The PCI configuration registers
are located in the function 1 PCI configuration space of the
VT82C596B. The Bus Master IDE I/O registers are defined in
the SFF8038i v1.0 specification.
PCI Configuration Space Header
Offset 1-0 - Vendor ID (1106h=VIA) ................................ RO
Offset 3-2 - Device ID (0571h=IDE Controller) ............... RO
Revision 0.3 June 17, 1999-54-Function 1 Registers - Enhanced IDE Controller
Page 61
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
Function 2 Registers - Universal Serial Bus Controller
This USB host controller interface is fully compatible with
UHCI specification v1.1. There are two sets of software
accessible registers: PCI configuration registers and USB I/O
registers. The PCI configuration registers are located in the
function 2 PCI configuration space of the VT82C596B. The
USB I/O registers are defined in the UHCI v1.1 specification.
PCI Configuration Space Header
Offset 1-0 - Vendor ID ....................................................... RO
0-7Vendor ID
Offset 3-2 - Device ID ......................................................... RO
Revision 0.3 June 17, 1999-56-Function 2 Registers - Universal Serial Bus Controller
Page 63
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
Offset 60 - Serial Bus Release Number ............................. RO
7-0Release Number
Offset C1-C0 - Legacy Support ......................................... RO
15-0 UHCI v1.1 Compliant
.............................. always reads 10h
................ always reads 2000h
USB I/O Registers
These registers are compliant with the UHCI v1.1 standard.
Refer to the UHCI v1.1 specification for further details.
I/O Offset 1-0 - USB Command
I/O Offset 3-2 - USB Status
I/O Offset 5-4 - USB Interrupt Enable
I/O Offset 7-6 - Frame Number
I/O Offset B-8 - Frame List Base Address
I/O Offset 0C - Start Of Frame Modify
I/O Offset 11-10 - Port 1 Status / Control
I/O Offset 13-12 - Port 2 Status / Control
I/O Offset 1F-14 - Reserved
Revision 0.3 June 17, 1999-57-Function 2 Registers - Universal Serial Bus Controller
Page 64
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
Function 3 Registers - Power Management and SMBus
This section describes the ACPI (Advanced Configuration and
Power Interface) Power Management system of the
VT82C596B which includes a System Management Bus
(SMBus) interface controller. The power management system
of the VT82C596B supports both ACPI and legacy power
management functions and is compatible with the APM v1.2
and ACPI v1.0 specifications.
PCI Configuration Space Header
VT82C596B
Offset 1-0 - Vendor ID ....................................................... RO
0-7Vendor ID
Offset 3-2 - Device ID ......................................................... RO
Offset 41 - General Configuration (00h) ......................... RW
7I/O Enable for ACPI I/O Ba se
0Disable access to ACPI I/O block..........default
1Allow access to Power Management I/O
Register Block (see offset 4B-48 to set the
base address for this register block). The
definitions of the registers in the Power
Management I/O Register Block are included
later in this document, following the Power
Management Subsystem overview.
Revision 0.3 June 17, 1999-60-Function 3 Registers - Power Management and SMBus
Page 67
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
Offset 4B-48 – Power Management I/O Base ................. RW
31-16 Reserved
15-7 Power Management I/O Register Base Address.
Port Address for the base of the 128-byte Power
Management I/O Register block, corresponding to
AD[15:7]. The "I/O Space" bit at offset 41 bit-7
enables access to this register block. The definitions
of the registers in the Power Management I/O
Register Block are included later in this document,
following the Power-Management-Specific PCI
Configuration register descriptions and the Power
Management Subsystem overview.
6-00000001b
Offset 4C – Host Bus Power Management Control ........ RW
7-4Thermal Duty Cycle (THM_DTY)
This 4-bit field determines the duty cycle of the
STPCLK# signal when the THRM# pin is asserted
low. The field is decoded as follows:
On setting this bit to 1, the GP0 timer loads the value
defined by bits 15-8 of this register and starts
counting down. The GP0 timer is reloaded at the
occurrence of certain peripheral events enabled in the
GP Timer Reload Enable Register (Power
Management I/O Space Offset 38h). If no such event
occurs and the GP0 timer counts down to zero, then
the GP0 Timer Timeout Status bit is set to one (bit-2
of the Global Status register at Power Management
Register I/O Space Offset 28h). Additionally, if the
GP0 Timer Timeout Enable bit is set (bit-2 of the
Global Enable register at Power Management
Register I/O Space Offset 2Ah), then an SMI is
generated.
2GP0 Timer Automatic Reload
This bit is set to one to enable the GP0 timer to reload
automatically after counting down to 0.
Write to load count value; Read to get current count
15-8 GP0 Timer Count Value
Write to load count value; Read to get current count
7GP1 Timer Start
On setting this bit to 1, the GP1 timer loads the value
defined by bits 23-16 of this register and starts
counting down. The GP1 timer is reloaded at the
occurrence of certain peripheral events enabled in the
GP Timer Reload Enable Register (Power
Management I/O Space Offset 38h). If no such event
occurs and the GP1 timer counts down to zero, then
the GP1 Timer Timeout Status bit is set to one (bit-3
of the Global Status register at Power Management
Register I/O Space Offset 28h). Additionally, if the
GP1 Timer Timeout Enable bit is set (bit-3 of the
Global Enable register at Power Management
Register I/O Space Offset 2Ah), then an SMI is
generated.
6GP1 Timer Automatic Reload
This bit is set to one to enable the GP1 timer to reload
automatically after counting down to 0.
Revision 0.3 June 17, 1999-63-Function 3 Registers - Power Management and SMBus
Page 70
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
Offset 5B-58 – GP2/3 Timer Control (0000 0000h) ........ RW
31-24 Reserved
23-16 GP3 Timer Count Value
Write to load count value; Read to get current count
15-8 GP2 Timer Count Value
Write to load count value; Read to get current count
7GP3 Timer Start
On setting this bit to 1, the GP3 timer loads the value
defined by bits 23-16 of this register and starts
counting down. The GP3 timer is reloaded at the
occurrence of certain peripheral events enabled in the
GP Timer Reload Enable Register (Power
Management I/O Space Offset 38h). If no such event
occurs and the GP3 timer counts down to zero, then
the GP3 Timer Timeout Status bit is set to one (bit-13
of the Global Status register at Power Management
Register I/O Space Offset 28h). Additionally, if the
GP3 Timer Timeout Enable bit is set (bit-13 of the
Global Enable register at Power Management
Register I/O Space Offset 2Ah), then an SMI is
generated.
6GP3 Timer Automatic Reload
This bit is set to one to enable the GP3 timer to reload
automatically after counting down to 0.
Offset 61 - Programming Interface Read Value ............ WO
7-0Rx09 Read Value
The value returned by the register at offset 9h (Programming
Interface) may b e changed by writing the desired value to this
location.
Offset 62 - Sub Class Read Value .................................... WO
7-0Rx0A Read Value
The value returned by the register at offset 0Ah (Sub Class
Code) may be changed by writing the desired value to this
location.
Offset 63 - Base Class Read Value ................................... WO
7-0Rx0B Read Value
The value returned by the register at offset 0Bh (Base Class
Code) may be changed by writing the desired value to this
location.
3GP2 Timer Start
On setting this bit to 1, the GP2 timer loads the value
defined by bits 15-8 of this register and starts
counting down. The GP2 timer is reloaded at the
occurrence of certain peripheral events enabled in the
GP Timer Reload Enable Register (Power
Management I/O Space Offset 38h). If no such event
occurs and the GP2 timer counts down to zero, then
the GP2 Timer Timeout Status bit is set to one (bit-12
of the Global Status register at Power Management
Register I/O Space Offset 28h). Additionally, if the
GP2 Timer Timeout Enable bit is set (bit-12 of the
Global Enable register at Power Management
Register I/O Space Offset 2Ah), then an SMI is
generated.
2GP2 Timer Automatic Reload
This bit is set to one to enable the GP2 timer to reload
automatically after counting down to 0.
an SMBus transaction error....................default
SMBus transaction error (illegal command
field, unclaimed host-initiated cycle, or host
device timeout). This bit is only set by
hardware and can be cleared by writing a 1 to
this bit position.
signal ....................................................default
signal. This bit will be set only if the Alert
Enable bit is set in the SMBus Slave Control
Register at I/O Offset R08[3]. This bit is only
set by hardware and can be cleared by writing
a 1 to this bit position.
...............................................
to SMBus Shadow Address Port 2......... default
slave cycle address match to SMBus Shadow
Address Port 2. This bit is only set by
hardware and can be cleared by writing a 1 to
this bit position.
...............................................
to SMBus Shadow Address Port 1......... default
slave cycle address match to SMBus Shadow
Address Port 1. This bit is only set by
hardware and can be cleared by writing a 1 to
this bit position.
match ....................................................default
slave cycle event match of the SMBus Slave
Command Register at PCI Function 3
Configuration Offset 85h (command match)
and the SMBus Slave Event Register at
SMBus Base + Offset 0Ah (data event match).
This bit is only set by hardware and can be
cleared by writing a 1 to this bit position.
Writing a 1 to this bit causes the SMBus
controller host interface to initiate execution of
the co mmand pr ogra mmed in th e SMB us H ost
Command Register (I/O offset 3). All
necessary registers should be programmed
prior to writing a 1 to this bit. The Host Busy
bit (SMBus Host Status Register bit-0) can be
used to identify when the SMBus controller
has completed command execution.
Setting this bit to 1 also sets the FAILED
status bit (Host Status bit-4) and asserts the
interrupt selected by the SMB Interrupt Select
bit (Function 3 SMBus Host Configuration
Register Rx84[1]).
I/O Offset 07h – SMBus Block Data ............................... RW
Reads and writes to this register are used to access the 32-byte
block data storage array. An internal index pointer is used to
address the array. It is reset to 0 by reads o f the SMBus Host
Control register (I/O Offset 2) and incremented automatically
by each access to this register. The transfer of block data into
(read) or out of (write) this storage array during an SMBus
transaction always starts at index address 0.
7-0SMBUS Block Data
Revision 0.3 June 17, 1999-67-Function 3 Registers - Power Management and SMBus
..................................default = 0
Page 74
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
I/O Offset 08h – SMBus Slave Control ............................ RW
event on external SMBus master generation of
a transaction with an address that matches the
SMBus Slave Shadow Port 2 register (PCI
function 3 configuration register Rx87).
event on external SMBus master generation of
a transaction with an address that matches the
SMBus Slave Shadow Port 1 register (PCI
function 3 configuration register Rx86).
event on external SMBus master generation of
a transaction with an address that matches the
SMBus host controller slave port of 10h, a
command field which matches the SMBus
Slave Command register (PCI function 3
configuration register Rx85), and a match of
one of the corresponding enabled events in the
SMBus Slave Event Register (I/O Offset 0Ah).
This register is used to store command values for external
SMBus master accesses to the host slave and slave shadow
ports.
7-0Shadow Command
This field contains the command value which was
received during an external SMBus master access
whose address field matched the host slave address
(10h) or one of the slave shadow port addresses.
....................................default = 0
Revision 0.3 June 17, 1999-68-Function 3 Registers - Power Management and SMBus
This register is used to enable generation of interrupt or
resume events for accesses to the host controller’s slave port.
15-0 SMBus Slave Event
This field contains data bits used to compare against
incoming data to the SMBus Slave Data Register (I/O
Offset 0Ch). When a bit in this register is set and the
corresponding bit the Slave Data register is also set,
an interrupt or resume event will be generated if the
command value matches the value in the SMBus
Slave Command register and the access was to
SMBus host address 10h.
.................................. default = 0
I/O Offset 0Ch – SMBus Slave Data ................................ RO
This register is used to store data values for external SMBus
master accesses to the shadow ports or the SMBus host
controller’s slave port.
15-0 SMBus Slave Data
This field contains the data value which was
transmitted during an external SMBus master access
whose address field matched one of the slave shadow
port addresses or the SMBus host controller slave
port address of 10h.
....................................default = 0
Revision 0.3 June 17, 1999-69-Function 3 Registers - Power Management and SMBus
Page 76
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
Power Management I/O-Space Registers
Basic Power Management Control and Status
VT82C596B
I/O Offset 1-0 - Power Management Status ................. RWC
The bits in this register are set only by hardware and can be
reset by software by writing a one to the desired bit position.
15Wakeup Status
This bit is set when the system is in the suspend state
and an enabled resume event occurs. Upon setting
this bit, the system automatically transitions from the
suspend state to the normal working state (from C3 to
C0 for the processor).
14-12 Reserved
11Power Status
This bit is set by abnormal power off.
10RTC Status
This bit is set when the RTC generates an alarm (on
assertion of the RTC IRQ signal).
9Sleep Button Status
This bit is set when the sleep button (SLPBTN# /
GPI13) is pressed.
8Power Butto n Status
This bit is set when the PWRBTN# signal is asserted
LOW. If the PWRBTN# signal is held LOW for
more than four seconds, this bit is cleared and the
system will transition into the soft off state.
7-6Reserved
5Global Status
This bit is set by hardware when BIOS_RLS is set
(typically by an SMI routine to release control of the
SCI/SMI lock). When this bit is cleared by software
(by writing a one to this bit position) the BIOS_RLS
bit is also cleared at the same time by hardware.
4Bus Master Status
This bit is set when a system bus master requests the
system bus. All PCI master, ISA master and ISA
DMA devices are included.
3-1Reserved
0Timer Carry Status
The bit is set when the 23
bit ACPI power management timer changes.
Revision 0.3 June 17, 1999-70-Function 3 Registers - Power Management and SMBus
Page 77
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
I/O Offset 5-4 - Power Management Control ................. RW
15-14 Reserved
13Sleep Enable
This is a write-only bit; reads from this bit always
return zero. Writing a one to this bit causes the
system to sequence into the sleep (suspend) state
defined by the SLP_TYP field.
12-10 Sleep Type
000 Normal On
001 Suspend to DRAM
010 Suspend to Disk (also called Soft Off). The
011 Reserved
100 Power On Suspend without Reset
101 Power On Suspend with CPU Reset
110 Power On Suspend with CPU/PCI Reset
111 Reserved
In any sleep state, there is minimal interface between
powered and non-powered planes so that the effort
for hardware design may be well managed.
9-3Reserved
2Global Release
This bit is set by ACPI software to indicate the
release of the SCI / SMI lock. Upon setting of this
bit, the hardware automatically sets the BIOS_STS
bit. The bit is cleared by hardware when the
BIOS_STS bit is cleared by software. Note that the
setting of this bit will cause an SMI to be generated if
the BIOS_EN bit is set (bit-5 of the Global Enable
register at offset 2Ah).
1Bus Master Reload
This bit is used to enable the occurrence of a bus
master request to transition the processor from the C3
state to the C0 state.
0SCI Enable
Selects the power management event to generate
either an SCI or SMI:
0Generate SMI
1Generate SCI
Note that certain power management events can be
programmed individually to generate an SCI or SMI
independent of the setting of this bit (refer to the
General Purpose SCI Enable and General Purpose
SMI Enable registers at offsets 22 and 24). Also,
TMR_STS & GBL_STS always generate SCI and
BIOS_STS al ways generates SMI.
I/O Offset 0B-08 - Power Management Timer ............... RW
31-24 Extended Timer Value (ETM_VAL)
This field reads back 0 if the 24-bit timer option is
selected (Rx41 bit-3).
23-0 Timer Value (TMR_VAL)
This read-only field r eturns the running count of the
power management timer. This is a 24/32-bit counter
that runs off a 3.579545 MHz clock, and counts while
in the S0 (working) system state. The timer is reset to
an initial value of zero during a reset, and then
continues counting until the 14.31818 MHz input to
the chip is stopped. If the clock is restarted without a
reset, then the counter will continue counting from
where it stopped.
Revision 0.3 June 17, 1999-71-Function 3 Registers - Power Management and SMBus
Page 78
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
Processor Power Management Registers
VT82C596B
I/O Offset 13-10 - Processor & PCI Bus Control............ RW
Setting this bit starts clock throttling (modulating the
STPCLK# signal) regardless of the CPU state. The
throttling duty cycle is determined by bits 3-0 of this
register.
3-0Throttling Duty Cycle (THT_DTY)
This 4-bit field determines the duty cycle of the
STPCLK# signal when the system is in throttling
mode (the "Throttling Enable" bit is set to one). The
duty cycle indicates the percentage of time the
STPCLK# signal is asserted while the Throttling
Enable bit is set. The field is decoded as follows:
Reads from this register put the processor into the
Stop Grant state (the VT82C596B asserts STPCLK#
to suspend the processor). Wake up from Stop Grant
state is by interrupt (INTR, SMI, and SCI).
Reads from this register return all zeros; writes to this register
have no effect.
Reads from this register put the processor in the C3
clock state with the STPCLK# signal asserted. If
Rx10[9] = 1 then the CPU clock is also stopped by
asserting CPUSTP#. Wake up from the C3 stat e is by
interrupt (INTR, SMI, and SCI).
Reads from this register return all zeros; writes to this register
have no effect.
Revision 0.3 June 17, 1999-72-Function 3 Registers - Power Management and SMBus
Page 79
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
General Purpose Power Management Registers
VT82C596B
I/O Offset 21-20 - General Purpose Status (GP_STS) . RWC
15Reserved
14USB Wakeup Status for STR/STD/Soff (UW_STS)
13Reserved
12Battery Low Stat us (BL_STS)
This bit is set when the BATLOW# input is asserted
low.
11Notebook Lid Status (LID_STS)
This bit is set when the LID input detects the edge
selected by Rx2C bit-7 (0=rising, 1=falling).
10Thermal Detect Status (THRM_STS)
This bit is set when the THRM# input detects the
edge selected by Rx2C bit-6 (0=rising, 1=falling).
9USB Resume Status (USB_STS)
This bit is set when a USB peripheral generates a
resume event.
8Ring Status (RI_ STS)
This bit is set when the RI# input is asserted low.
7EXTSMI7 Toggle Status (XSMI7_STS)
This bit is set when the GPI17 pin is toggled.
6EXTSMI6 Toggle Status (XSMI6_STS)
This bit is set when the GPI16 pin is toggled.
5EXTSMI5 Toggle Status (XSMI5_STS)
This bit is set when the GPI15 pin is toggled.
4EXTSMI4 Toggle Status (XSMI4_STS)
This bit is set when the GPI4 pin is toggled.
3EXTSMI3 Toggle Status (XSMI3_STS)
This bit is set when the GPI3 pin is toggled.
2EXTSMI2 Toggle Status (XSMI2_STS)
This bit is set when the GPI2 pin is toggled.
1PME# Sta tus (PME_STS)
This bit is set when the GPI1 pin is asserted high.
0EXTSMI# Stat us (EXT_STS)
This bit is set when the EXTSMI# pin is asserted low.
Note that the above bits correspond one for one with the bits
of the General Purpose SCI Enable and General Purpose SMI
Enable registers at offsets 22 and 24: an SCI or SMI is
generated if the corresponding bit of the General Purpose SCI
or SMI Enable registers, respectively, is set to one.
The above bits are set by hardware only and can only be
cleared by writing a one to the desired bit.
I/O Offset 23-22 - General Purpose SCI Enable ............ RW
15Reserved
14Enable SCI on setting of the UW_STS bit
13Reserved
12Enable SCI on setting of the BL_STS bit
11Enable SCI on setting of the LID_STS bit
10Enable SCI on setting of the THRM_STS bit
9Enable SCI on setting of the USB_STS bit
8Enable SCI on setting of the RI_STS bit
7Enable SCI on setting of the XSM I7 _STS bit
6Enable SCI on setting of the XSM I6 _STS bit
5Enable SCI on setting of the XSM I5 _STS bit
4Enable SCI on setting of the XSM I4 _STS bit
3Enable SCI on setting of the XSM I3 _STS bit
2Enable SCI on setting of the XSM I2 _STS bit
1Enable SCI on setting of the PME_STS bit
0Enable SCI on setting of the EXT_ STS bit
These bits allow generation of an SCI using a separate set of
conditions from those used for generating an SMI.
I/O Offset 25-24 - General Purpose SMI Enable ........... RW
15Reserved
14Enable SMI on setting of the UW_STS bit
13Reserved
12Enable SMI on setting of the BL_STS bit
11Enable SMI on setting of the LID_STS bit
10Enable SMI on setting of the THRM_STS bit
9Enable SMI on setting of the USB_STS bit
8Enable SMI on setting of the RI_STS bit
7Enable SMI on setting of t he XSMI7_STS bit
6Enable SMI on setting of t he XSMI6_STS bit
5Enable SMI on setting of t he XSMI5_STS bit
4Enable SMI on setting of t he XSMI4_STS bit
3Enable SMI on setting of t he XSMI3_STS bit
2Enable SMI on setting of t he XSMI2_STS bit
1Enable SMI on setting of the PME_STS bit
0Enable SMI on setting of the EXT_STS bit
These bits allow generation of an SMI using a separate set of
conditions from those used for generating an SCI.
Revision 0.3 June 17, 1999-73-Function 3 Registers - Power Management and SMBus
Page 80
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
Generic Power Management Registers
VT82C596B
I/O Offset 29-28 - Global Status .................................... RWC
15GPIO Range 1 Access Status (GP_R1_STS)
14GPIO Range 0 Access Status (GP_R0_STS)
13GP3 Timer Timeout Status (GP3_TO_STS)
12GP2 Timer Timeout Status (GP3_TO_STS)
11SerIRQ SMI Status (SIRQ_SM_STS)
10-9 Reserved
8PCKRUN# Resume Status (PR_RSM_STS)
This bit is set when PCI bus peripherals wake up the
system by asserting PCKRUN#
7Primary IRQ Resume Status (PI_RSM_STS)
This bit is set at the occurrence of primary IRQs as
defined in Rx45-44 of PCI configuration space
6Software SMI Status (SW_SMI_STS)
This bit is set when the SMI_CMD port (offset 2F) is
written.
5BIOS Status (BIOS_STS)
This bit is set when the GBL_RLS bit is set to one
(typically by the ACP I software to release control of
the SCI/SMI lock). When this bit is reset (by writing
a one to this bit position) the GBL_RLS bit is reset at
the same time by hardware.
4Legacy USB Status (LEG_USB_STS)
This bit is set when a legacy USB event occurs.
3GP1 Timer Time Out Status (GP1_TO_STS)
This bit is set when the GP1 timer times out.
2GP0 Timer Time Out Status (GP0_TO_STS)
This bit is set when the GP0 timer times out.
1Secondary Event Timer Time Out Status
(ST_TO_STS)
This bit is set when the secondary event timer times
out.
0Primary Activity Status (PACT_STS)
This bit is set at the occurrence of any enabled
primary system activity (see the Primary Activity
Detect Status register at offset 30h and the Primary
Activity Detect Enable register at offset 34h). After
checking this bit, software can check the status bits in
the Primary Activity Detect Status register at offset
30h to identify the specific source of the primary
event. Note that setting this bit can be enabled to
reload the GP0 timer (see bit-0 of the GP Timer
Reload Enable register at offset 38).
Note that SMI can be generated based on the setting of any of
the above bits (see the offset 2Ah Global Enable register bit
descriptions in the right hand column of this page).
The bits in this register are set by hardware only and can only
be cleared by writing a one to the desired bit position.
Revision 0.3 June 17, 1999-74-Function 3 Registers - Power Management and SMBus
Page 81
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
I/O Offset 2D-2C - Global Control (GBL_CTL) ............ RW
15-12 Reserved
11IDE Secondary Bus Pow er Off
10IDE Primary Bus Power Off
9Reserved
8SMI Active (INSMI)
7LID Triggering Polarity
6THRM# Triggering Polarity
5Disable Battery Low Resume
4SMI Lock (SMIIG)
3Wait for Halt / Stop Grant Cycle for STPCLK#
Assertion
This bit works with Rx4C[7] of PCI configuration
space to control the start of STPCLK# assertion.
2Power Button Triggering
Must be set to 1 for ACPI v0.9 compliance.
1BIOS Release (BIOS_RLS)
This bit is set by legacy software to indicate release
of the SCI/SMI lock. Upon setting of this bit,
hardware automatically sets the GBL_STS bit. This
bit is cleared by hardware when the GBL_STS bit
cleared by software.
Note that if the GBL_EN bit is set (bit-5 of the Power
Management Enable register at offset 2), then setting
this bit causes an SCI to be generated (because setting
this bit causes the GBL_STS bit to be set).
Writing to this port sets the SW_SMI_ST S bit. Note
that if the SW_SMI_EN bit is set (see bit-6 of the
Global Enable register at offset 2Ah), then an SMI is
generated.
Revision 0.3 June 17, 1999-75-Function 3 Registers - Power Management and SMBus
Page 82
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
I/O Offset 33-30 - Primary Activity Detect Status ....... RWC
These bits correspond to the Primary Activity Detect Enable
bits in offset 37-34.
31-11 Reserved
10Audio Controller Access Status ...........(AUD_STS)
Set if the audio controller is accessed.
9Keyboard Controller Access Status..... (KBC_STS)
Set if the keyboard controller is accessed via I/O port
60h.
Set on the occurrence of a primary interrupt (enabled
via the "Primary Interrupt Channel" register at
Function 3 PCI configuration register offset 44 h).
0PCI Master Activity Status ....................(PCI_STS)
Set on the occurrence of PCI master activity.
Note:The bits above correspond to the bits of the Primary
Activity Detect Enable register at offset 34 (see right
hand column of this page): if the corresponding bit is
set in that register, setting of the above bits will cause
the PACT_STS bit to be set (bit-0 of the Global
Status register at offset 28). Setting of PACT_STS
may be set up to enable a "Primary Activity Event" :
an SMI will be generated if PACT_EN is set (bit-0 of
the Global Enable register at offset 2Ah) and/or the
GP0 timer will be reloaded if the "GP0 Timer Reload
on Primary Activity" bit is set (bit-0 of the GP Timer
Reload Enable register at offset 38 on this page).
Note:Bits above also correspond to bits of the GP Timer
Reload Enable register at offset 38: if the
corresponding bit is set in that register, setting the bit
in this register will cause the indicated timer to be
reloaded.
Bits in this register are set by hardware o nly and may only b e
cleared by writing a 1 to the desired bit. All bits default to 0.
Depending on the configuration, up to 8 external SCI/SMI
ports are available as indicated below. The state of these
inputs may be read in this register.
15-11 Reserved
10Hardware Monitor IRQ Status
9SMBus IRQ Status
8SMBus Resume Status
7RI# (GPI12 Pin) Input Value
6SMBALRT# (GPI11 Pin) Input Value
5Reserved
4SLPBTN# (GPI13 Pin) Input Value
3LID (GPI10 Pin) Input Value
2BATLOW# (GPI9 Pin) Input Value
1PME# (GPI1 Pin) Input Value
0EXTSMI# Input Value
I/O Offset 4B-48 - GPI Port Input Value (GPI_VAL) .... RO
The VT82C596B supports the complete set of C0 to C3
processor states as specified in the Advanced Configuration
and Power Interface (ACPI) specification (and defined in
ACPI I/O space Registers 10-15):
C0:Normal Operation
C1:CPU Halt (controlled by software).
C2:Stop Clock. Entered when the P_LVL2 register is
read. The STPCLK# signal is asserted to put the
processor in the Stop Grant State. If the SRAM_ZZ
bit is set to 1, then the ZZ pin is also asserted (after
the acknowledgement of the stop grant bus cycle) for
powering down the cache SRAM. The CPUSTP#
signal is not asserted so that host clocks remain
running. To exit this state, the chip negates the ZZ
signal and then negates STPCLK#.
C3:Suspend. Entered when the P_LVL3 register is read.
In addition to STPCLK# and ZZ assertion as in the
C2 state, the SUSST1# (suspend status 1) signal is
asserted to tell the north bridge to switch to “Suspend
DRAM Refresh” mode based on the 32KHz suspend
clock (SUSCLK) provided by the VT82C596B. If
the HOST_STP bit is enabled, then CP USTP# is also
asserted to stop clock generation and put the CPU
into Stop Clock State. To exit this state, the chip
negates CPUSTP# and allows time for the processor
PLL to lock. Then the SUSST1#, ZZ, and STPCLK#
signals are negated to resume to normal operation.
During normal operation, two mechanisms are provided to
modulate CPU execution and control power consumption by
throttling the duty cycle of STPCLK#:
a.Setting the THT_EN bit to 1, the duty cycle
defined in THT_DTY (IO space Rx10) is used.
b.THRM# pin assertion enables automatic clock
throttling with duty cycle pre-configured in
THM_DTY (PCI configuration Rx4C) .
Figure 6. Power Management Subsystem Block Diagram
Refer to ACPI Specification v1.0 and APM specification v1.2
for additional information.
Revision 0.3 June 17, 1999-78-Functional Descriptions
Page 85
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
System Suspend States and Power Plane Control
There are three power planes inside the VT82C596B. The
first power plane (VCCSUS) is always on unless turned off by
the mechanical switch. The second power plane (VCC) is
controlled by chip output SUSC# (also called “PSON”). The
third plane (VCCRTC) is powered b y the combination of the
VCCSUS and the external battery (VB AT) for the integrated
real time clock. Most of the circuitry inside the VT82C596B
is powered by VCC. The amount of logic powered by
VCCSUS is very small; its main function is to control the
supply of VCC and other power pla ne s. VCCRTC is always on
unless both the mechanical switch and VBAT are removed.
The VT82C596B supports multiple system suspend states by
configuring the SLP_TYP field of ACPI I/O space register
Rx4-5:
a)POS (Power On Suspend): Most devices in the
system remain powered. The host bus is put into an
equivalent of the C3 state. In particular, the CPU is
put into the Stop Grant State or Stop Clock State
depending on the setting of the HOST_STP bit.
SUSST1# is asserted to tell the north bridge to switch
to “Suspend DRAM Refresh” mode based on the
32KHz SUSCLK provided by the VT82C596B. As
to the PCI bus, setting the PCLK_RUN bit to 0
enables the CLKRUN protocol defined in the PCI
Mobile Design Guide. That is, the PCKRUN# pin
will be de-activated after the PCI bus is idle for 26
clocks. Any PCI bus masters including the north
bridge may resume PCI clock operation by pulling
the PCKRUN# pin low. During the PCKRUN# de-
activation period, the PCISTP# pin may be activated
to disable the output of the PCI clock generator if the
PCI_STP bit is enabled. When the system resumes
from POS, the VT82C496 can optionally resume
without resetting the system, can reset the processor
only, or can reset the entire system. When no reset is
performed, the chip only needs to wait for the clock
synthesizer and processor PLL to lock before the
system is resumed, which typically takes 20ms.
b)STR (Suspend to DRAM): P ower is removed from
most of the system except the system DRAM. Power
is supplied to the suspend refresh logic in the north
bridge (VTT of VT82C598AT) and the suspend logic
of the VT82C596B (VCCSUS). The VT82C596B
provides a 32KHz suspend clock to the north bridge
for it to use to continue DRAM refresh.
c)STD (Suspend to Disk, also called Soft-off): Power
is removed from most of the system except the
suspend logic of VT82C596B (VCCSUS).
d)Mechanical Off: This is not a suspend state. All
power in the system is removed except the RTC
battery.
SUSC#) are provided to turn off more system power planes as
the system moves to deeper power-down states, i.e., from
normal operation to POS (only SUSA# asserted), to STR (both
SUSA# and SUSB# asserted), and to STD (all three SUS#
signals asserted). In particular, the assertion of SUSC# can be
used to turn off the VCC supply to the VT82C596B.
Two suspend status indicators (SUSST1-2#) are provided to
inform the north bridge and the rest of the system of the
processor and system suspend states. SUSST2# is asserted
when the system enters any suspend state. SUSST1# is
asserted when the system enters the suspend state or the
processor enters the C3 state. SUSST1# is connected to the
north bridge to switch between normal and suspend-DRAMrefresh modes.
General Purpose I/O Ports
As ACPI compliant hardware, the VT82C596B includes
PWRBTN#, SLPBTN#, and RI# pins to implement power
button, sleep button, and ring indicator functionality,
respectively. Furthermore, the VT82C596B offers many
general-purpose I/O ports with the following capabilities:
2
C/SMB Support
• I
• Thermal Detect
• Notebook Lid Open/Close Detect
• Battery Low Detect
• Twenty-two General Purpose Input Ports (10
dedicated and 12 multiplexed with other functions).
• Thirty-one General Purpose Output Ports (6 dedicated
and 25 multiplexed with other functions)
In addition, the VT82C596B provides eight external SMI pins
(one dedicated EXTSMI# pin and seven pins shared with
general purpose input pins). Once enabled, each of the
external SMI inputs triggers an SCI or SMI at both the rising
and falling edges of the corresponding input signal. Software
can check the status of the input pins and take appropriate
actions.
The suspend state is entered by setting the SLP_EN bit to 1.
Three power plane control signals (SUSA#, SUSB# and
Revision 0.3 June 17, 1999-79-Functional Descriptions
Page 86
7HFKQRORJLHV,QF
&
y
:H&RQQHFW
RQQHFW
:H
VT82C596B
Power Management Events
Three types of power management events are supported:
1)
ACPI-required Fixed Events
defined in the PM1a_STS
and PM1a_EN registers. These events can trigger either
SCI or SMI depending on the SCI_EN bit:
• PWRBTN# Triggering
•RTC Alarm
• Sleep Button
• ACPI Power Management Timer Carry (always SCI)
• BIOS Release (always SCI)
2)
ACPI-aware General Purpose Function Events
in the GP_STS and GP_SCI_EN, and GP_SMI_EN
registers. These events can trigger either SCI or SMI
depending on the setting of individual SMI and SCI
enable bits:
• External SMI triggeri ng
•USB Resume
• Ring Indicator (RI#)
• Battery Low Detect (BATLOW#)
• Notebook Lid Open/Close Detect (LID)
• Thermal Detect (THRM#)
defined
3)
Generic Global Events
defined in the GBL_STS and
GBL_EN registers. These registers are mainly used for
SMI:
• PCI Bus Clock Run Resume
• Primary Interrupt Occurance
• GP0 and GP1 Timer Time Out
• Secondary Event Timer Time Out
• Occurrence of Primary Events
(defined in register PACT_STS and PACT_EN)
• Legacy USB accesses (keyboard and mouse)
- Software SMI
System and Processor Resume Events
Depending on the system suspend state, different features can
be enabled to resume the system. There are two classes of
resume events:
a)VCCSUS-based events. Event logic resides in the
VCCSUS plane and thus can resume the system from
any suspend state. Such events include PWRBTN#,
RI#, BATLOW#, LID, SMBus resume event, RTC
alarm, EXTSMI#, and GP1 (EXTSMI1#).
b)VCC-Based Events. Event logic resides in the VCC
plane and thus can only resume the system from the
POS state. Such events include the ACPI PM timer,
USB resume, and EXTSMI2-7#.
HCLK
SMI# / STPCLK#
CPU Bus
ZZ
(Socket-7)
Memory Bus
CKE#
HCLK
GCLK
PCLK
Module ID
CPUSTP#
PCISTP#
SMBus
GPIO and ACPI Events
Power Plane & Peripheral Control
L2 Cache
PC100
SDRAM
MCLK
Clock
Generator
3D
Graphics
Controller
PCLK
GCLK
AGP Bus
GCKRUN#
PCKRUN#
PCI Bus
BIOS ROM
Ke
board / Mouse
ISA
IDE
USB
Skt-7 or Slot-1
Host CPU
SMIACT#
VT82C598MVP
Apollo MVP3
or
VT82C693
Apollo ProPlus
SUSCLK,
SUSST1#
VT82C596B
324 BGA
Figure 7. Apollo MVP3 System Block Diagram Using the VT82C596B South Bridge
Revision 0.3 June 17, 1999-80-Functional Descriptions
Page 87
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
Legacy Power Management Timers
In addition to the ACPI power management timer, the
VT82C596B includes the following four legacy power
management timers:
GP0 Timer
GP1 Timer
reload
Secondary Event Timer
Conserve Mode Timer
standby
The normal sequence of operations for a general purpose timer
(GP0 or GP1) is to
1) First program the time base and timer value of the initial
count (register GP_TIM_CNT).
2) Then activate counting by setting the GP0_START or
GP1_START bit to one: the timer will start with the
initial count and count down towards 0.
3) When the timer counts down to zero, an SMI will be
generated if enabled (GP0TO_EN and GP1TO_EN in the
GBL_EN register) with status recorded (GP0TO_STS and
GP1TO_STS in the GBL_STS register).
4) Each timer can also be programmed to reload the initial
count and restart counting automatically after counting
down to 0. This feature is not used in standard VIA
BIOS.
The GP0 and GP1 timers can be used just as the general
purpose timers described above. However, they can also be
programmed to reload the initial count by system primary
events or peripheral events thus used as primary event (global
standby) timer and peripheral timer, respectively. The
secondary event timer is solely used to monitor secondary
events.
: general purpose timer with primary event
: general purpose timer with peripheral event
: to monitor secondary events
: Hardware-controlled return to
enabled, the occurrence of the primary event reloads the GP0
timer if the PACT_GP0_EN bit is also set to 1. T he cause of
the timer reload is recorded in the corresponding bit of
PRI_ACT_STS register while the timer is reloaded. If no
enabled primary event occurs during the count down, the GP0
timer will time out (count down to 0) and the system can be
programmed (setting the GP0TO_EN bit in the GBL_EN
register to one) to trigger an SMI to switch the system to a
power down mode.
The VT82C596B distinguishes two kinds of interrupt requests
as far as power management is concerned: the primary and
secondary interrupts. Like other primary events, the
occurrence of a primary interrupt demands that the system be
restored to full processing capability. Secondary interrupts,
however, are typically used for housekeeping tasks in the
background unnoticeable to the user. The VT82C596B allows
each channel of interrupt request to be declared as either
primary, secondary, or ignorable in the PIRQ_CH and
SIRQ_CH registers. Secondary interrupts are the only system
secondary events defined in the VT82C596B.
Like primary events, primary interrupts can be made to reload
the GP0 timer by setting the PIRQ_EN bit to 1. Secondary
interrupts do not reload the GP0 timer. Therefore the GP0
timer will time out and the SMI routine can put the system into
power down mode if no events other than secondary interrupts
are happening periodically in the background.
Primary events can be programmed to trigger an SMI (setting
of the PACT_EN bit). Typically, this SMI triggering is turned
off during normal system operation to avoid degrading system
performance. Triggering is turned on by the SMI routine
before entering the power down mode so that the system may
be returned to normal operation at the occurrence of primary
events. At the same time, the GP0 timer is reloaded and the
count down process is restarted.
System Primary and Secondary Events
Primary system events are distinguished in the P RI_ACT _ST S
and PRI_ACT_EN registers:
Bit Event
7
Keyboard Access
6
Serial Port Access
5
Parallel Port Access
4
Video Access
3
IDE/Floppy Access
2
Reserved
1
Primary Interrupts
0
ISA Master/DMA Activity
Each category can be enabled as a primary event by setting the
corresponding bit of the PRI_ACT_EN register to 1. If
Revision 0.3 June 17, 1999-81-Functional Descriptions
Trigger
I/O port 60h
I/O ports 3F8h-3FFh, 2F8h-2FFh,
3E8h-3EFh, or 2E8h-2EFh
I/O ports 378h-37Fh or 278h-27Fh
I/O ports 3B0h-3DFh or memory
A/B segments
I/O ports 1F0h-1F7h, 170h-177h,
or 3F5h
Each channel of the interrupt
controller can be programmed to
be a primary or secondary
interrupt
Peripheral Events
Primary and secondary events define system events in general
and the response is typically expressed in terms of system
events. Individual peripheral events can also be monitored by
the VT82C596B through the GP1 timer. The follo wing four
categories of perip heral events are distinguished ( via register
GP_RLD_EN):
Bit-7
Bit-6
Bit-4
Bit-3
The four categories are subsets of the primary events as
defined in PRI_ACT_EN and the occurrence of these events
can be checked through a common register PRI_ACT_STS.
As a peripheral timer, GP1 can be used to monitor one (or
more than one) of the above four device types by programming
the corresponding bit to one and the other bits to zero. Time
out of the GP1 timer indicates no activity of the corresponding
device type and appropriate action can be taken as a result.
Keyboard Access
Serial Port Access
Video Access
IDE/Floppy Access
Note: Stress above the conditions listed may cause permanent damage to the
device. Functional operation of this device should be restricted to the
conditions described under operating conditions.
DC Characteristics
TA-0-70oC, VCC=5V+/-5%, GND=0V
SymbolParameterMinMaxUnitCondition
V
IL
V
IH
V
OL
V
OH
I
IL
I
OZ
I
CC
Input low voltage-0.500.8V
Input high voltage2.0VCC+0.5V
Output low voltage-0.45VIOL=4.0mA
Output high voltage2.4-VIOH=-1.0mA
Input leakage current-+/-10uA0<VIN<V
Tristate leakage current-+/-20uA0.45<V
Power supply current-80mA
+ 0.5Volts
CC
CC
OUT<VCC
Revision 0.3 June 17, 1999-82-Electrical Specifications
Page 89
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
AC Timing Specifications
T
AD[31:0] Setup Time to PCLK Rising7ns
S
T
FRAME#,TRDY#,IRDY# Setup Time to PCLK Rising7ns
S
T
CBE[3:0]#, STOP#,DEVSEL# Setup Time to PCLK Rising7ns
S
T
PGNT# Setup Time to PCLK Rising12ns
S
T
AD[31:0] Hold Time from PCLK Rising0ns
H
T
FRAME#,TRDY#,IRDY# Hold Time from PCLK Rising0ns
H
T
CBE[3:0]#, STOP#,DEVSEL# Hold Time from PCLK Rising0ns
H
T
PGNT# Hold Time from PCLK Rising0ns
H
T
AD[31:0] Valid Delay from PCLK Rising (address phase)211ns0pf on min, 50pf on max
VD
T
AD[31:0] Valid Delay from PCLK Rising (data phase)211ns0pf on min, 50pf on max
VD
T
FRAME#,TRDY#,IRDY# Valid Delay from PCLK Rising211ns0pf on min, 50pf on max
VD
T
CBE[3:0]#, STOP#,DEVSEL# Valid Delay from PCLK Rising211ns0pf on min, 50pf on max
VD
T
PREQ# Valid Delay from PCLK Rising212ns0pf on min, 50pf on max
VD
VT82C596B
Table 6. AC Characteristics - PCI Cycle Timing
ParameterMinMax UnitNotes
T
FRAME#,TRDY#,IRDY# Float Delay from PCLK Rising28ns0pf on min, 50pf on max
FD
T
CBE[3:0]#, STOP#,DEVSEL# Float Delay from PCLK Rising28ns0pf on min, 50pf on max
FD
Revision 0.3 June 17, 1999-83-Electrical Specifications
Page 90
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
Table 7. AC Characteristics - UltraDMA-33 IDE Bus Interface Timing
SymbolDescriptionTimingUnit
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
Envelope time for read initial29.3ns
Data setup time for read initial1.1ns
Data hold time for read initial (rise)2.3ns
Envelope time for write initial (rise)29.3ns
Data setup time for write initial (fall)42.2ns
Data hold time for write initial (fall)17.8ns
Data setup time for write initial42.0ns
Data hold time for write initial17.2ns
READY to final STROBE time21.3ns
READY to Pause time180.0ns
Limited interlock time (to STOP)95.1ns
Limited interlock time (to Host DMARDY)125.3ns
Delay time required for output drives turning on102.0ns
Data setup time for read terminating55.3ns
Data hold time for read terminating31.6ns
Limited interlock time (to STOP)125.3ns
Limited interlock time (to Host STROBE)95.2ns
Limited interlock time with minimum120.6ns
Data setup time for write terminating57.7ns
Data hold time for write terminating31.8ns
Limited interlock time with minimum155.8ns
Delay time required for output drives turning on68.5ns
Limited interlock time65.2ns
Limited interlock time with minimum90.6ns
Delay time of PCLK to DCS3,1#4.8ns
Delay time of PCLK to DA[2:0]5.3ns
Delay time of PCLK to DIOW#9.3ns
Delay time of PCLK to DIOR#9.2ns
Data setup time during PIO write85.5ns
Data hold time during PIO write31.7ns
Data setup time during PIO read0.4ns
Data hold time during PIO read2.1ns
Revision 0.3 June 17, 1999-84-Electrical Specifications
Page 91
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT82C596B
DDRQ (Drive)
UI
T
DDACK# (Host)
STOP (Host)
HDMARDY# (Host)
T
ENV1
DSTROBE (Drive)
T
LI1
T
DS1
Data
T
DH1
Figure 8. UltraDMA-33 IDE Timing - Drive Initiating DMA Burst for Read Command
DDRQ (Drive)
T
UI
DDACK# (Host)
T
ENV2
STOP (Host)
DDMARDY# (Drive)
T
UI
HSTROBE (Host)
DDMARDY# (Drive)
HSTROBE (Host)
T
DVH2
Data
T
DVS2
Figure 9. UltraDMA-33 IDE Timing - Drive Initiating Burst for Write Command
Revision 0.3 June 17, 1999-85-Electrical Specifications
Page 92
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
DDRQ (Drive)
DDACK# (Host)
VT82C596B
For Write:
DDMARDY# (Drive)
HSTROBE (Host)
For Read:
STOP (Host)
HDMARDY# (Host)
Figure 10. UltraDMA-33 IDE Timing - Pausing a DMA Burst
T
RFS
T
RP
Revision 0.3 June 17, 1999-86-Electrical Specifications
Page 93
7HFKQRORJLHV,QF
&
)
)
)
:H&RQQHFW
RQQHFW
:H
DDRQ (Drive
DDACK# (Host)
STOP (Host
HDMARDY# (Host
VT82C596B
T
LI4
T
CRC
DVS4
T
DVH4
Data
T
ZA4
Figure 11. UltraDMA-33 IDE Timing - Drive Terminating DMA Burst During Read Command
DDRQ (Drive)
DDACK# (Host)
T
STOP (Host)
LI5A
DDMARDY# (Host)
HSTROBE (Host)
Data
T
LI5B
T
MLI5
T
CRC
DVS5
T
DVH5
Figure 12. UltraDMA-33 IDE Timing - Drive Terminating DMA Burst During Write Command
Revision 0.3 June 17, 1999-87-Electrical Specifications
Page 94
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
T
MLI6
VT82C596B
DDRQ# (Drive)
T
DDACK# (Host)
ZA6
STOP (Host)
HDMARDY# (Host)
Data
Figure 13. UltraDMA-33 IDE Timing - Host Terminating DMA Burst During Read Command
CRC
DDRQ (Drive)
DDACK# (Host)
T
MIL7
STOP (Host)
T
HSTROBE# (Host)
Data
Figure 14. UltraDMA-33 IDE Timing - Host Terminating DMA Burst During Write Command
Revision 0.3 June 17, 1999-88-Electrical Specifications
LI7
T
DVS7
CRC
T
DVH7
Page 95
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
DCS3# / DCS1#
DA [2:0]
DIOW#
DD Write
DIOR#
DD Read
VT82C596B
T
2
T
3
T
WDS
T
4
T
WDH
T
5
T
T
RDS
RDH
Figure 15. UltraDMA-33 IDE Timing - PIO Cycle
Revision 0.3 June 17, 1999-89-Electrical Specifications
Page 96
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
P
ACKAGE MECHANICAL SPECIFICATIONS
VT82C596B
Y = Date Code Year
W = Date Code Week
V = Chip Version
R = Revision Code
L = Lot Code