Revision 0.49/17/99Initial release based on 82C686A “Super South” Data Sheet revision 1.42
Updated feature bullets, document title, and block diagram
Replaced pinout diagram with blank BGA352 template
Added LAN, LPC, and EEPROM pin descriptions, removed signals as req’d
Updated Functions 5 and 6 per engineering input
Revision 0.59/27/99Added Preliminary Ballout & Mechanical SpecDH
Revision 0.610/1/99Updated pin descriptions and pin listsDH
Revision 0.710/15/99Updated pinouts to conform to engineering pinout revision 0.4 dated 10/6/99DH
Revision 0.810/29/99Updated feature bullets and performed partial edit of Overview text
TABLE OF CONTENTS..................................................................................................................................................................II
LIST OF FIGURES..........................................................................................................................................................................IV
LIST OF TABLES...........................................................................................................................................................................IV
Super-I/O Configuration Index / Data Registers...............................................................................................................47
Floppy Disk Controller Registers.......................................................................................................................................................... 50
Parallel Port Registers........................................................................................................ ................................................................... 51
Serial Port 1 Registers........................................................................................................................................................................... 52
Serial Port 2 Registers........................................................................................................................................................................... 53
SoundBlaster Pro Port Registers.........................................................................................................................................54
FM Registers......................................................................................................................................................................................... 54
Game Port Registers............................................................................................................................................................. 55
PCI Configuration Space I/O...............................................................................................................................................56
Function 0 Registers - PCI to ISA Bridge...........................................................................................................................57
PCI Configuration Space Header.......................................................................................................................................................... 57
ISA Bus Control.................................................................................................................................................................................... 57
Plug and Play Control........................................................................................................................................................................... 61
Distributed DMA / Serial IRQ Control.................................................................................................................................................63
Miscellaneous / General Purpose I/O.................................................................................................................................................... 64
Function 1 Registers - Enhanced IDE Controller..............................................................................................................69
PCI Configuration Space Header.......................................................................................................................................................... 69
IDE I/O Registers.................................................................................................................................................................................. 76
Function 2 Registers - USB Controller Ports 0-1...............................................................................................................77
PCI Configuration Space Header.......................................................................................................................................................... 77
USB I/O Registers................................................................................................................................................................................. 79
Function 3 Registers - USB Controller Ports 2-3...............................................................................................................80
PCI Configuration Space Header.......................................................................................................................................................... 80
USB I/O Registers................................................................................................................................................................................. 82
Preliminary Revision 0.8 October 29, 1999-ii-Table of Contents
Page 5
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT8231
Function 4 Regs - Power Management, SMBus and HWM..............................................................................................83
PCI Configuration Space Header.......................................................................................................................................................... 83
Power Management-Specific PCI Configuration Registers .................................................................................................................. 84
System Management Bus-Specific Configuration Registers................................................................................................................. 91
Power Management I/O-Space Registers ..............................................................................................................................................92
System Management Bus I/O-Space Registers.................................................................................................................................... 101
Hardware Monitor I/O Space Registers .............................................................................................................................................. 104
PCI Configuration Space Header – Function 5 Audio........................................................................................................................ 108
PCI Configuration Space Header – Function 6 Modem...................................................................................................................... 109
Function 5 & 6 Codec-Specific Configuration Registers....................................................................................................................110
Function 5 I/O Base 0 Regs – DXSn Scatter/Gather DMA................................................................................................................. 112
Function 5 I/O Base 1 Registers –Audio FM NMI Status................................................................................................................... 117
Function 5 I/O Base 2 Registers –MIDI / Game Port.......................................................................................................................... 117
Function 6 I/O Base 0 Regs –Modem Scatter/Gather DMA............................................................................................................... 118
Power Management Subsystem Overview.......................................................................................................................................... 120
Processor Bus States........................................................................................................................................................................... 120
System Suspend States and Power Plane Control............................................................................................................................... 121
General Purpose I/O Ports...................................................................................................................................................................121
Power Management Events................................................................................................................................................................. 122
System and Processor Resume Events................................................................................................................................................ 122
Legacy Power Management Timers.................................................................................................................................................... 123
System Primary and Secondary Events............................................................................................................................................... 123
TABLE 2. SYSTEM I/O MAP.......................................................................................................................................................29
Dual channel master mode PCI supporting four Enhanced IDE devices
−
Transfer rate up to 100MB/sec to cover up to PIO mode 4, multi-word DMA mode 2, and UltraDMA mode 5
−
Thirty-two levels (doublewords) of prefetch and write buffers per channel
−
Dual DMA engine for concurrent dual channel operatio n
−
Bus master programming interface for SFF-8038i rev.1.0 and Windows-95 / 98 / 2000 compliant
−
Full scatter gather capability
−
Support ATAPI compliant devices including DVD devices
−
Support PCI native and ATA compatibility modes
−
Complete software driver support
VT8231
•Integrated Super IO Controller
−
Supports 2 serial ports, IR port, parallel port, and floppy disk controller functions
−
Two UARTs for Complete Serial Ports
Programmable character lengths (5,6,7,8)
Even, odd, stick or no parity bit generation and detection
Programmable baud rate generator
High speed baud rate (230Kbps, 460Kbps) support
Independent transmit/receiver FIFOs
Modem Control
Plug and play with 96 base IO address and 12 IRQ options
−
Fast IR (FIR) port
IrDA 1.0 SIR and IrDA 1.1 FIR compliant
IR function through the second serial port
Infrared-IrDA (HPSIR) and ASK (Amplitude Shift Keyed) IR
−
Multi-mode parallel port
Standard mode, ECP and EPP support
Dynamic and static switch between parallel port pinout and FDC pinout
Plug and play with 192 base IO address, 12 IRQ and 4 DMA options
−
Floppy Disk Controller
16 bytes of FIFO
Data rates up to 1Mbps
Perpendicular recording driver support
Two FDDs with drive swap support
Plug and play with 48 base IO address, 12 IRQ and 4 DMA options
Preliminary Revision 0.8 October 29, 1999-2-Features
Page 9
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
•SoundBlaster Pro Hardware and Direct Sound Ready AC97 Digital Audio Controller
−
Up to six concurrent AC97 output channels for six-speaker surround sound experience
−
Multiple Direct Sound channels between system memory and AC97 link
10 Direct Sound output channels
4 Direct Sound input channels
8-channel hardware sample-rate-converter / mixer
1 Surround Sound channel of up to six data st reams
−
PCI bus master interface with scatter / gather and bursting capability
−
32 byte FIFO for each direct sound channel
−
Host based wave table synthesis
−
Standard v1.03 or v2.1 AC97 Codec interface with up to four AC97 codec’s from multiple vendors
−
Loopback capability for re-directing mixed audio streams into USB and 1394 speakers
−
Hardware SoundBlaster Pro for legacy compatibility
−
Plug and play with 4 IRQ, 4 DMA, and 4 I/O space options for SoundBlaster Pro and MIDI hardware
−
Hardware assisted FM synthesis for legacy compatibility
−
Direct two game ports and one MIDI port interface
−
Complete software driver support for Windows-95 / 98 / 2000 and Windows-NT
•MC97 HSP Modem Controller
−
PCI bus master interface with scatter / gather and burst capability
−
Standard AC97 codec interface for MC or AMC codec
−
Wake on ring in APM or ACPI mode through AC97 link
−
Supported by most HSP modem vendors
VT8231
•Universal Serial Bus Controller
−
USB v.1.1 and Intel Universal HCI v.1.1 compatible
−
Eighteen level (doublewords) data FIFO with full scatter and gather capability
−
Root hub and four function ports
−
Integrated physical layer transceivers with optional over-current detection status on USB inputs
−
Legacy keyboard and PS/2 mouse support
•System Management Bus Interface
−
One master / slave SMBus and one slave-only SMBus
−
Host interface for processor communications
−
Slave interface for external SMBus masters
Preliminary Revision 0.8 October 29, 1999-3-Features
Page 10
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
•Voltage, Temperature, Fan Speed Monitor and Controller
−
Five universal input channels for voltage or temperature sensing
−
Two fan-speed moni toring channels
−
Input channel for thermal diode in Intel™ high speed Pentium II™ / Pentium III™ CPUs
−
Programmable control, status, monitor and alarm for flexible desktop management
−
External thermister or internal bandgap temperature sensing
−
Automatic clock throttling with integrated temperature sensing
−
Internal core VCC voltage sensing
−
Flexible external voltage sensing arrangement (any positive supply and battery)
•Sophisticated PC99-Compatible Mobile Power Management
−
Supports both ACPI (Advanced Configuration and Power Interface) and legacy (APM) power management
−
ACPI v1.0 Compliant
−
APM v1.2 Compli ant
−
CPU clock throttling and clock stop control for complete ACPI C0 to C3 state support
−
PCI bus cloc k run, Power Management Enable (PME) control, and PCI/CPU c lock generator 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 indicators
−
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
−
Multiple internal and external SMI sources for flexible power management models
−
One programmable chip select and one microcontroller chip select
−
Enhanced integrated real time clock (RTC) with date alarm, month alarm, and century field
−
Thermal alarm on either external or any combination of three internal temperature sensing circuits
Steerable DMA channels for integrated floppy, parallel, and soundblaster pro controllers
−
One additional steerable interrupt channel for on-board plug and play devices
−
Microsoft Windows 2000TM, Windows 98SETM, Windows 98TM, Windows NTTM, Windows 95
BIOS compliant
TM
and plug and play
•Built-in NAND-tree pin scan test capability
•0.30um, 3.3V, low power CMOS process
•Single chip 27x27 mm, 376 pin BGA
Preliminary Revision 0.8 October 29, 1999-4-Features
Page 11
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
O
VERVIEW
The VT8231 South Bridge is a high integration, high performance, power-efficient, and high compatibility device that supports
Intel, AMD, and VIA / Cyrix based processor to PCI bus bridge functionality to make a complete Microsoft PC99-compliant PCI /
LPC system. The VT8231 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 VT8231 also supports the UltraDMA-33, 66, and 100
standards to allow reliable data transfer rates up to 100 MB/sec throughput. The IDE controller is SFF-8038i v1.0 and
Microsoft Windows-family compliant.
b) Integrated LAN Fast Ethernet controller (MAC) with Media Independent Interface (MII) to external PHY. The LAN
controller operates at 1 / 10 / 100 Mbit/sec transfer rates using either full and half duplex operation and has separate 2Kbyte
FIFOs for receive and transmit of full ethernet packets. The internal high-performance PCI interface has scatter / gather and
bursting capability and can align bytes in the transmit data buffer to reduce CPU utilization. The LAN interface can perform
address filtering on physical, broadcast, and multicast packets. The interface can also be configured for system wake up on
link status change, receipt of magic packet, unicast physical address match on incoming packets, and predefined pattern
match in the incoming data.
c) LPC (Low Pin Count) interface for BIOS ROM plus optional conventional BIOS ROM support
d) Universal Serial Bus controller that is USB v1.1 and Universal HCI v1.1 compliant. The VT8231 includes the root hub with
four 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.
e) Keyboard controller with PS2 mouse support
f) Real Time Clock with 256 byte extended CMOS. In addition to standard RTC functionality, the integrated RTC also includes
the date alarm, century field, and other enhancements for compatibility with the ACPI standard.
g) 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 protocol), PCI b us clock sto p co ntrol,
modular power, clock and leakage control, hardware-based and software-based event handling, general purpose I/O, chip
select and external SMI.
h) Hardware monitoring subsystem for managing system / motherb oard voltage level s , temperatures, and fa n speeds
i) Full System Management Bus (SMBus) interface with one master / slave port and one slave-only port
j) 16550-compatible serial I/O port with “Fast-IR” infrared communications port option.
k) Integrated PCI-mastering dual full-duplex direct-sound AC97-link-compatible sound system. Hardware soundblaster-pro and
hardware-assisted FM blocks are included for Windows DOS box and real-mode DOS compatibility. Loopback capability is
also implemented for directing mixed audio streams into USB and 1394 speakers for high quality digital audio.
l) Game port and MIDI port
m) Standard floppy disk drive interface
n) ECP/EPP-capable parallel port with floppy disk controller pinout option
o) Serial IRQ for docking and non-docking applications
p) Plug and Play controller that allows complete steerability of all PCI interrupts and internal interrupts to any interrupt channel.
One additional steerable interrupt channel is provided to allow plug and play and reconfigurability of on-board peripherals for
Windows family compliance.
VT8231
Preliminary Revision 0.8 October 29, 1999-5-Overview
Page 12
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT8231
CPU / Cache
Sideband Signals:
Init / CPUre s et
IRQ / NMI
SMI / StopClk
FERR / IGNNE
SLP# (Slot-1)
Boot ROM
Onboard
LPC I/O
LPC
RTC
Crystal
CA
CD
North Bridge
VT8231
376 BGA
MA/Command
MD
PCI
SMB
USB Ports 0-3
Keyboard / Mouse
MIDI / Game Ports
Parallel Port
Serial Ports 1 and 2
Infrared Comm Port
IDE Primary and Secondary
Floppy Disk Interface
AC97 Lin k
Hardware Monitor Inputs
GPIO, Power Cont rol, Reset
Fast Ethernet Interface
Figure 1. PC System Configuration Using the VT8231
System Memory
DIMM Module ID
Expansion
Cards
Preliminary Revision 0.8 October 29, 1999-6-Overview
Note: Some of the pins above have alternate functions and alternate names. The table above contains only one name (usually the most often used function), but
the pin lists and pin descriptions contain all names.
Preliminary Revision 0.8 October 29, 1999-7-Pinouts
Page 14
7HFKQRORJLHV,QF
&
Q
J
J
Q
Q
Q
p
p
p
p
Q
Q
Q
Q
:H&RQQHFW
RQQHFW
:H
VT8231
Pin Lists
Figure 3. VT8231 Pin List (Numerical Order)
PinPin NamePinPin NamePinPin NamePinPin NamePinPin Name
D02O PREQL#
D03I PGNTH#
D04 IO AD29
D05 IO AD20G16I MCRS / AIR
D06 IO CB E 2#G17I MCOL / AIR
D07 IO STOP#G18 O MTXD1 / AIR
D08 IO AD14G19 O MTXD2 / AIR
Center
pins (24 pins): J8-J13, K8-K13, L8-L13, M8-M13
GND
G06P VCC
G07P GND
G08P VCC
G09P VCC
G13P GNDRAM
G14P GND
G15P VCCRAMN06P VCC
M05 P VCCHWM
M06 P VCC
M15 P VCC
M16 P GNDPLL
M17I PCICLKT16 IO PDD00Y07 IO LAD1
M18 O PDA1T17 IO PDD15Y08I LDRQ#/SIN3/I15
M19 O PDA0T18 IO PDD13Y09 IO MEMW#
M20 O PDA2T19 IO PDD03Y10 O LG1#/ SD13/O10
L17 OD DRVDEN0W07 IO LAD2R17 IO PDD14R04O SLOWCLK / O0
K17 OD DRVDEN1V07 IO LAD3T17 IO PDD15U06 OD SLP# / GPO7
J17 OD DS0#Y08I LDRQ#/SDIN3/I15 N20 O PDDACK#T02I SMBALRT# / I7
K19 OD DS1#W08 O LF RAME#P19I PDDR
H18I DSKCHG#Y10 O LGNT1#/SD13/O10 N18O PDIOR#R01 IO SMBCK2 / IO27
D14I DSR#V10O LGNT2#/SD15/O11 P20O PDIOW #T01 IO SMBDT1
L02AI DTD+Y02ILID / GPI4N19I P DRDYR02 IO SMBDT2 / IO 26J19 OD WDATA#
L03 AI DTD-U10I LREQ1#/SD12/I12 D13I PE / WDATA#Y05 OD SMI#J20 OD WGATE#
A16O DTR#W10ILREQ2#/SD14/I13 D03I PGNTH#U09 O SPKRH17I WRTPRT#
E16O EECKW06 O MCCS#/O17/strapD01I PGNTL#J18 OD STEP#V04I WSC#/ARQ#/I14
C18O EECS#G17IMCOL / AIR
C19I EEDIG16I MCRS / AIR
C20O EEDOD17 O MDCKB01I PINTB#A11 IO STROBE#
Center
#H
pins (24 pins): J8-J13, K8-K13, L8-L13, M8-M13
GND
11P
H15P GND
K
L15P GND
P1
P14P GND
L
M1
D1
FRAME#E18I MRXD1
7PGND
D
D
D
D
M
DPLL
DRAM
B
AB1 / GAMED4T16IOPDD
AY / GAMED1T19IOPDD
BY / GAMED
LA2
D20I MRXD2E03I PWRGDH16I TRK00#
D19I MRXD3H20I RDATA#B15O T XD
F18I MRXERR/AIRQU03I RING# / GPI3M03I UIC2
N02 IO MSCK / IR
N04 IO MSDT / IRQ12F05I RSMRST#L04I UIC4
G04I M SI / I2SE02I RTCX1L01I UIC5
or subtractive decoding. As an input, DEVSEL# indicates the response to a VT8231initiated transaction and is also sampled when decoding whether to subtractively decode
the cycle.
Parity.
System Error.
error condition. Upon sampling SERR# active, the VT8231 can be programmed to
generate an NMI to the CPU.
I
PCI Interrupt Request
INTD# pins as follows:
PCI Request.
PCI Grant.
VT8231.
PCI Request.
PCI Grant.
VT8231.
PCI Clock.
PCI Bus Clock Run.
(high) or running (low). The VT8231 drives this signal low when the PCI clock is
running (default on reset ) and releases it when it st ops the PCI cloc k. External device s
may assert this signal low to request that the PCI clock be restarted or prevent it fro m
stopping. Connect this pin to ground using a 100 Ω resistor if the function is not used.
Refer to the “PCI Mobile Design Guide” and the VIA “Apollo MVP4 Design Guide” for
more details.
PCI Reset.
PCI Stop.
CPU Stop.
Assertion indicates the address phase of a PCI transfer. Negation indicates that
Asserted by the target to request the master to stop the current transaction.
A single parity bit is provided over AD[31:0] and C/BE[3:0]#.
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.
to PCICLK prior to sending an interrupt over the APIC serial bus.
This signals the VT8231 to flush its internal buffers.
Internal APIC Data 0.
External APIC Chip Select.
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.
Internal APIC Data 1.
External APIC Acknowledge.
that it internal buffers have been flushed (in response to
APICREQ#). This indicates to the external APIC that the
VT8231’s internal buffers have been flushed and that it is OK for
the APIC to send its interrupt.
APIC Clock.
SCI Out.
interrupts to external APIC (if used). Defined as SCIOUT# if
external APIC enabled (function 0 Rx74[7] = 1).
Internal condition for connection to external APIC.
Internal condition for connection to external APIC.
Internal condition for connection to external APIC.
Internal condition for connection to external APIC.
Internal condition for connection to external APIC.
Internal condition for connection to external APIC.
Internal condition for connection to external APIC.
Internal condition for connection to external APIC.
Internal condition for connection to external APIC.
Internal condition for connection to external APIC.
Internal condition for connection to external APIC.
Internal condition for connection to external APIC.
Asserted by external APIC synchronous
The VT8231 drives this signal active
Asserted by the VT8231 to indicate
Asserted by the north
Serial EEPROM Interface
Signal NamePin #I/OSignal Description
EECS#
EECK
EEDO
EEDI
Preliminary Revision 0.8 October 29, 1999-12-Pinouts
C18O
E16O
C20O
C19I
Serial EEPROM Chip Select.
Serial EEPROM Clock.
Serial EEPROM Data Output.
Serial EEPROM Data Input.
LPC Frame.
LPC Data Request.
LPC Address / Data.
High Priority Request 1.
High Priority Grant 1.
High Priority Request 2.
High Priority Grant 2.
Low Priority Request 1.
Low Priority Grant 1.
Low Priority Request 2.
Low Priority Grant 2.
LAN Controller - Media Independent Interface (MII)
USB Port 0 Data +
USB Port 0 Data USB Port 1 Data +
USB Port 1 Data USB Port 2 Data +
USB Port 2 Data USB Port 3 Data +
USB Port 3 Data USB Clock.
48MHz clock input for the USB interface
USB Port 0 Over Current Detect.
USB Port 1 Over Current Detect.
USB Port 2 Over Current Detect.
USB Port 3 Over Current Detect.
System Management Bus (SMB) Interface (I2C Bus)
Signal NamePin #I/OSignal Description
SMBCK1
SMBCK2
/ GPIO27
SMBDT1
SMBDT2
/ GPIO26
SMBALRT#
/ GPI7
R3IO
R1IO / IO
T1IO
R2IO / IO
T2I / I
SMB / I2C Channel 1 Clock.
SMB / I
SMB / I2C Channel 1 Data.
SMB / I
SMB Alert.
2
C Channel 2 Clock.
2
C Channel 2 Data.
(System Management Bus I/O space Rx08[3] = 1) When the
chip is enabled to allow it, assertion generates an IRQ or SMI interrupt or a
power management resume event. The same pin is used as General Purpose
Input 6 whose value is reflected in Rx48[6] of function 4 I/O space
Port 0 is disabled if this input is low.
Port 1 is disabled if this input is low
Port 2 is disabled if this input is low.
Port 3 is disabled if this input is low.
Preliminary Revision 0.8 October 29, 1999-14-Pinouts
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). T he 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 cont rol. 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 host
Device read strobe
. Input flow control. The host may
Device write strobe
Device write strobe
Secondary channel DMA acknowledge
.
Preliminary Revision 0.8 October 29, 1999-15-Pinouts
Page 22
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
UltraDMA-33 / 66 Enhanced IDE Interface (continued)
See also Parallel Port pin descriptions for optional Floppy Disk interface functionality
L17OD
K17OD
K18OD
J16OD
J17OD
K19OD
K20OD
J18OD
L20I
H19OD
H16I
H20I
J19OD
J20OD
H18I
H17I
Drive Density Select 0.
Drive Density Select 1.
Motor Control 0.
Motor Control 1.
Drive Select 0.
Drive Select 1.
Direction.
Step.
Index.
Head Select.
Track 0.
Read Data.
Write Data.
Write Gate.
Disk Change.
since the last drive selection.
Write Protect.
commands to be ignor ed)
Direction of head movement (0 = inward motion, 1 = outward motion)
Low pulse for each track-to-track movement of the head.
Sense to detect that the head is positioned over the beginning of a track
Sense to detect that the head is positioned over track 0.
Select motor on drive 0.
Select motor on drive 1
Select drive 0.
Select drive 1
Selects the side for R/W operations (0 = side 1, 1 = side 0)
Raw serial bit stream from the drive for read operatrions.
Encoded data to the drive for write operations.
Signal to the drive to enable current flow in the write head.
Sense that the drive door is open or the diskette has been changed
Sense for detection that the diskette is write protected (causes write
Preliminary Revision 0.8 October 29, 1999-18-Pinouts
Page 25
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
Parallel Port Interface
Signal NamePin #I/OSignal Description
VT8231
PINIT#
STROBE#
AUTOFD#
SLCTIN#
SLCT
ACK#
ERROR#
BUSY
PE
PD7
PD6
PD5
PD4
PD3
PD2
PD1
PD0
As shown by the alternate functions above, in mobile applications the parallel port pins can op tionally be selected to function as a
floppy disk interface for attachment of an external floppy drive using the parallel port connector (see Super I/O Configuration
Index F6[5]).
IO / IO / IO / IO / I
IO / I
IO / I
IO / I
IO / I
Initialize.
Strobe.
Auto Feed.
each line is printed. I/O pin in ECP/EPP mode.
Select In.
Select.
Acknowledge.
the data and is ready to accept new data
Error.
printer.
Busy.
Paper End.
Parallel Port Data.
Initialize printer. Output in standard mode, I/O in ECP/EPP mode.
Output used to strobe data into the printer. I/O in ECP/EPP mode.
Output used to cause the printer to automatically feed one line after
Output used to select the printer. I/O pin in ECP/EPP mode.
Status output from the printer. High indicates that it is powered on.
Status output from the printer. Low indicates that it has received
Status output from the printer. Low indicates an error condition in the
Status output from the printer. High indicates not ready to accept data.
Status output from the printer. High indicates that it is out of paper.
Preliminary Revision 0.8 October 29, 1999-19-Pinouts
Page 26
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
Serial Port and Infrared Interface
Signal NamePin #I/OSignal Description
TXD
RXD
IRTX
IRRX
IRRX2
RTS#
CTS#
DTR#
DSR#
DCD#
RI#
/ GPO14
/ GPO15
/ GPI
B15O
E14I
R8O / O
U8I / O
T8I / I
A15O
B16I
A16O
D14I
F14I
C16I
Transmit Data.
Receive Data.
Infrared Transmit.
1, 2, or 3. General Purpose Output 14 if Rx76[5] = 1
Infrared Receive.
or 3. General Purpose Output 15 if Rx76[5] = 1
Infrared Receive.
Request To Send.
Typically used as hardware handshake with CTS# for low level flow control.
Designed for direct input to external RS-232C driver.
Clear To Send.
device is ready to receive data. Typically used as hardware handshake with RTS#
for low level flow control. Designed for input from external RS-232C receiver.
Data Terminal Ready.
ready. Typically used as hardware handshake with DSR# for overall readiness to
communicate. Designed for direct input to external RS-232C driver.
Data Set Ready.
device is powered, initialized, and ready. Typically used as hardware handshake
with DTR# for overall readiness to communicate. Designed for direct input from
external RS-232C receiver.
Data Carrier Detect.
a carrier signal (i.e., a communications channel is currently open). In direct
connect environments, this input will typically be driven by DTR# as part of the
DTR/DSR handshake. Designed for direct input from external RS-232C receiver.
Ring Indicator.
condition. Used by software to initiate operations to answer and open the
communications channel. Designed for direct input from external RS-232C
receiver (whose input is typically not connected in direct connect environments).
Serial port transmit data out.
Serial port receive data in.
Indicator to the serial port that an external communications
Indicator to serial port that an external modem is detecting a ring
VT8231
IR transmit data out (Rx76[5] = 0) selectable from serial port
IR receive data in (Rx76[5] = 0) selectable to serial port 1, 2,
IR receive data in (Rx76[5] = 0)
Indicator that the serial output port is ready to transmit data.
Indicator that serial port is powered, initialized, and
Indicator to serial port that an external serial communications
Indicator to serial port that an external modem is detecting
Preliminary Revision 0.8 October 29, 1999-20-Pinouts
interface to BIOS ROMs but may also be used to
implement a subset of the ISA bus if required. SA[19-16]
are connected to ISA bus SA[19-16] directly. SA[19-17]
are also connected to LA[19-17] of the ISA bus.
System Data.
ROMs and for devices residing on the ISA bus. SD0-7
also output general purpose output information when
GPOWE# is active.
I/O Read.
device that the slave may drive data on to the ISA data bus.
I/O Write.
device that the slave may latch data from the ISA data bus.
Memory Read.
slave that it may drive data onto the ISA data bus.
Memory Write.
slave that it may latch data from the ISA data bus.
F4I
V3I / I
T4I / IO
U3I / I
Y2I / I
T3I / I
U1I / I
T2I / I
F3I / I
Y3I / I
Y11I / IO / I
W11I / I O / I
U10I / IO / I
W10I / I O / I
V4I / I / I
Y8I / I / I
R5I / I
P3I / I / I
K3I / O / I / I
J1I / O / I / O
V2I / O / IO
J2I / O / IO / O
R2I / O / IO
R1I / O / IO
W4I / O / O / O
Y4I / O / O / O
Y1I / O / IO / O / O
W3I / O / IO
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
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 24
General Purpose Input 25
General Purpose Input 26
General Purpose Input 27
General Purpose Input 28
General Purpose Input 29
General Purpose Input 30
General Purpose Input 31
(Rx5A[2] = 1)
Preliminary Revision 0.8 October 29, 1999-23-Pinouts
General Purpose Output 1.
General Purpose Output 2.
General Purpose Output 3.
General Purpose Output 4.
General Purpose Output 5.
General Purpose Output 6.
General Purpose Output 7.
General Purpose Output 8.
General Purpose Output 9.
General Purpose Output 10.
General Purpose Output 11.
General Purpose Output 14
General Purpose Output 15
General Purpose Output 16.
General Purpose Output 17.
General Purpose Output 18.
General Purpose Output 19.
General Purpose Output 20.
General Purpose Output 21.
General Purpose Output 22.
General Purpose Output 23.
General Purpose Output 24.
General Purpose Output 25.
General Purpose Output 26.
General Purpose Output 27.
General Purpose Output 28.
General Purpose Output 29.
General Purpose Output 30.
General Purpose Output 31.
(Func 4 Rx54[1-0] =
(Rx76[5] = 1)
(Rx76[5] = 1)
Preliminary Revision 0.8 October 29, 1999-24-Pinouts
Page 31
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
General Purpose I/Os
Signal NamePin #I/OSignal Description
VT8231
GPIOA
GPIOBGeneral Purpose I/O B
GPIOC
GPIOD
/ SCIOUT#
GPIOE
/ GPI24 / GPO24
/ GPI25 / GPO25 / ATEST
/ GPI30 / GPO30 / DTEST
/ GPI31 / GPO31
V2IO / I / O
J2IO / I / O / O
Y1IO / I / O / O
O
W3IO
General Purpose I/O A / 24
= 1. See also Rx74[2]
General Purpose I/O C / 25.
General Purpose I/O D / 30.
Voltage Reference for Thermal Sensing
Fan Speed Monitor 1.
Fan Speed Monitor 2.
Hardware Monitor Digital Test Out
Hardware Monitor Analog Test Out
(Rx76[0] = 0). GPOWE# if Rx76[0]
(Rx76[2] = 0). See also Rx74[4]
(Rx76[3] = 0). See also Rx74[5]
For temperature / voltage monitoring.
For temperature / voltage monitoring.
For temperature / voltage monitoring.
For temperature / voltage monitoring.
For temperature / voltage monitoring.
(5V ±5%)
(3.3V only)
(3.3V only)
Preliminary Revision 0.8 October 29, 1999-25-Pinouts
Page 32
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
Power Management and External State Monitoring
Signal NamePin #I/OSignal Description
VT8231
/ GPI6
PME#
EXTSMI#
SMBALRT#
THRM
LID
RING#
BATLOW#
CPUMISS
AOLGPI
INTRUDER#
RSMRST#
SUSA#
SUSB#
SUSC#
SUSST1#
SUSCLK
/ GPI2
/ AOLGPI / GPI17
/ GPI4
/ GPI3
/ GPI5
/ GPI16
/ GPI17 / THRM
/ GPO1 / strap
/ GPO2
/ GPO
/ GPO3
/ GPO4
/ GPI7
/ GPI8
U1I / I
T4IOD / I
T2I / I
P3I / I / I
Y2I / I
U3I / I
T3I / I
R5I / I
P3I / I / I
F3I / I
F5I
P1O / O / I
P2O / O
N3O / O
N5O / O
P4O / O
Power Management Event.
External System Management Interrupt.
falling edge on this input causes an SMI# to be generated to the CPU to
enter SMI mode. (10K PU to VCCS if not used) (3.3V only)
SMB Alert
chip is enabled to allow it, assertion generates an IRQ or SMI or power
management event. (10K PU to VCCS if not used)
Monitor Input - Thermal Alarm.
used)
Monitor Input - Notebook Computer Display Lid Open / Closed.
Used by the 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
VT8231 performs a 200 usec debounce of this input if Function 4 Rx40[5]
is set to 1. (10K PU to VCCS if not used)
Monitor Input – M odem Ring.
circuitry to allow the system to be re-activated by a received phone call.
(10K PU to VCCS if not used)
Monitor Input - Bat t ery Low.
Monitor Input - CPU M issing.
correctly.
Monitor Input - Awa ke On LAN External Event.
Monitor Input – Chassis Intr usion.
Resume Reset.
plane and also resets portions of the internal RTC logic.
Suspend Plane A Control
Asserted during power management POS, STR, and STD suspend states.
Used to control the primary power plane. (10K PU to VCCS if not used)
Suspend Plane B Control
Asserted during power management STR and STD suspend states. Used
to control the secondary power plane. (10K PU to VCCS if not used)
Suspend Plane C Control.
suspend state. Used to control the tertiary power plane. Also connected to
ATX power-on circuitry.
Suspend Status 1
the North Bridge 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. Connect 10K PU to VCCS.
Suspend Clock.
(e.g., Apollo MVP3 or MVP4) for DRAM refresh purposes. Stopped
during Suspend-to-Disk and Soft-Off modes. Connect 10K PU to VCCS.
(System Management Bus I/O space Rx08[3] = 1). When the
Resets the internal logic connected to the VCCS power
(Func4 Rx54[4] = 1 for GPO3). Typically connected to
32.768 KHz output clock for use by the North Bridge
(Rx74[1]=0) (1K PU to VCCS if not used)
When enabled to allow it, a
(Rx74[1]=1) (1K PU to VCCS if not
May be connected to external modem
(10K PU to VCCS if not used)
Indicates whether t he CPU is plugged in
(Rx74[7]=0 and Function 4 Rx54[2]=0).
(Rx74[7]=0 and Function 4 Rx54[3]=0).
Asserted during power management STD
Preliminary Revision 0.8 October 29, 1999-26-Pinouts
Page 33
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
Resets, Clocks, and Clock Control
Signal NamePin #I/OSignal Description
VT8231
PWRGD
PWRBTN#
SLPBTN#
FAN2 /
GPIO18
PCIRST#
RTCX1
RTCX2
OSC
SLOWCLK
GPO0
CPUSTP#
GPO5
PCISTP#
GPO6
/
/
/
E3I
U2I
K3I / I
E4O
E2I
E1O
T12I
/
R4O
W2O /
W1O /
Power Good.
Power Button.
external system on/off button or switch. The VT8231 performs a 200us
debounce of this input if Function 4 Rx40[5] is set to 1. (3.3V only)
Sleep Button.
/ IO
external system sleep button or switch (Function 4 Rx40[6] = 1). Connect to
VCC if not used.
PCI Reset.
this pin during power-up or from the control register.
RTC Crystal Input
used for the internal RTC and for power-well power management logic.
RTC Crystal Output
Oscillator.
Slow Clock.
(set to 01, 10, or 11).
CPU Clock Stop
O
disable the CPU clock outputs. Not connected if not used. See also PMU I/O
Rx2C[3].
PCI Clock Stop
O
the PCI clock outputs. Not connected if not used.
Connected to the PWRGOOD signal on the Power Supply.
Used by the Power Management subsystem to monitor an
Used by the power management subsystem to monitor an
Active low reset signal for the PCI bus. The VT8231 will assert
: 32.768 KHz crystal or oscillator input. This input is
: 32.768 KHz crystal output
14.31818 MHz clock signal used by the internal Timer.
Frequency selectable if PM U function 4 Rx54[1-0] is nonzero
(Rx75[4] = 0). Signals the system clock generator to
(Rx75[5] = 0). Signals the system clock generator to disable
Preliminary Revision 0.8 October 29, 1999-27-Pinouts
Page 34
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
Power and Ground
Signal NamePin #I/OSignal Description
VT8231
(27 Pins)
VCC
(27 Pins)
GND
VCCSUS
VBAT
VREF
VCCHWM
GNDHWM
VCCMII
VCCRAM
GNDRAM
VCCPLL
GNDPLL
VCCUSB
GNDUSB
F7, F9, F12-F13, F15,
G6, G8-G10, G12,
H6, J6, J15, K15,
L6, M6, M15, N6,
P8-P9, P11-P13, P15,
R7, R9-R10, R1 3-R15
G7, G11, G14, H15,
J8-J13, K6, K8-K13,
L8-L13, L15, M8-M13,
N15, P7, P10, P14
P5, P6P
F2P
K1P
M5P
L5P
F16, K16P
G15P
G13P
L16P
M16P
E15P
D15P
P
Core Power.
when the mechanical switch on the power supply is turned on and the
PWRON signal is conditioned high. These pins should be connected to the
same voltage as the CPU I/O circuitry. Internally connected to hardware
monitoring system voltage detection circuitry for 3.3V monitoring.
P
Ground.
Suspend Power.
supply 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:
SMBCK1/DT1, KBCK/DT, MSCK/DT, PWRBTN#, SUSC#, GPO0 /
SLOWCLK, GPO1 / SUSA#, GPO2 / SUSB#, GPO3 / SUSST1#, GPO4 /
SUSCLK, GPI1 / IRQ8#, GPI2 / EXTSMI#, GPI3 / RING#, GPI4 / LID,
GPI5 / BATLOW#, GPI6 / PME#, GPI7 / SMBALRT#, GPI16 / CPUMISS,
GPI17 / AOLGPI / THRM, GPIO26 / SMBDT2, GPIO27 / SMBCK2
RTC Battery.
referenced to this plane are: RTCX1, RTCX2, PWRGD, RSMRST#, GPI0,
and INTRUDER#.
Voltage Reference
Hardware Monitor Power.
(voltage monitoring, temperature monitoring, and fan speed monitoring).
Connect to VCC thr ough a ferri te bead. Signals powere d by or re ferenced to
this plane are: UIC[5:1], DTD+/-, FAN1, FAN2 / SLPBTN# / GPIO18
Hardware Monitor Gro und.
LAN MII Power.
external PHY) . Connect to VCC through a fe rrite be ad. Signals po wered by
or referenced to this plane are: MCRS, MCOL, MDCK, MDIO, MTXD[3:0],
MTXENA, MTXCLK, MRXERR, MRXCLK, MRXDV, and MRXD[3:0]
LAN RAM Power.
a ferrite bead.
LAN RAM Ground.
PLL Power.
bead.
PLL Ground.
USB Differential Output Power.
(USBP0+, P0-, P1+, P 1-, P2+, P2-, P3+, P 3-). Connect to VCC through a
ferrite bead.
USB Differential Output Ground.
3.3V nominal (3.15V to 3.45V). This supply is turned on only
Connect to primary motherboard ground plane.
Always available unless the mechanical switch of the power
Battery input for internal RTC. Signals powered by or
(5V ±5%). For thermal sensing and 5V input tolerance.
Power for hardware monitoring subsystem
Connect to GND through a ferrite bead.
Power for LAN Media Independent Interface (interface to
Power for LAN internal RAM. Connect to VCC through
Connect to GND through a ferrite bead.
Power for internal PLL. Connect to VCC through a ferrite
Connect to GND through a ferrite bead.
Power for USB differential outputs
Connect to GND through a ferrite bead.
Preliminary Revision 0.8 October 29, 1999-28-Pinouts
Page 35
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
R
EGISTERS
VT8231
Register Overview
The following tables summarize the configuration and I/O
registers of the VT8231. 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 ot herwise indicated
100-CF7-available for system use*
CF8-CFB PCI Configuration Address 0000 1100 1111 10xx
CFC-CFF PCI Configuration Data0000 1100 1111 11xx
D00-FFFF -available for system use-
* On-Chip Super-I/O Functi ons – PC-Standard Port Addresses
200-20FGame Port
2E8-2EFCOM4
2F8-2FFCOM2
378-37FParallel Port (Standard & EPP)
3E8-3EFCOM3
3F0-3F1Configuration Index / Data
3F0-3F7Floppy Controller
3F8-3FFCOM1
400-402Parallel Port (ECP Extensions)
Preliminary Revision 0.8 October 29, 1999-29-Register Overview
Page 36
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
Table 3. Registers
VT8231
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-Dh).
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.
Preliminary Revision 0.8 October 29, 1999-30-Register Overview
Page 37
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT8231
Super-I/O Configuration Registers (I/O Spa ce)
Port Super-I/O Configuration RegistersDefault Acc
3F0Super-I/O Config Index (Rx85[1]=1)00RW
3F1Super-I/O Config Data (Rx85[1]=1)00RW
Super-I/O Config Registers (Indexed via Port 3F0/1)
Offset Super-I/O ControlDefaultAcc
00-DF -reserved-00RO
E0Super-I/O Device ID
E1Super-I/O Device Revision00
E2Function Se l ect00
E3Floppy Ctrlr Base Addr (def = 3F0-7)
E4-E5 -reserved-00RO
E6Parallel Port Base Addr (def = 378-F)
E7Serial Port 1 Base Addr (def = 3F8-F)
E8Serial Port 2 Base Addr (def = 2F8-F)
E9-ED -reserved-00RO
EESe rial Port Configuration00
EFPower Down Control00
F0Parallel Port Control00
F1Serial Port Control00
F2Test Mode (Do Not Program)00
F3-reserved-00RO
F4Test Mode (Do Not Program) 200
F5-reserved-00RO
F6Floppy Controller Configuration00
F7-reserved-00RO
F8Floppy Controller Drive Select00
F9-FB -reserved-00RO
FCGeneral Purpose I/O00
FD-FF -reserved-00RO
3CRW
RW
RW
FCRW
DERW
FERW
BERW
RW
RW
RW
RW
RW
RW
RW
RW
RW
Super-I/O I/O Ports
Offset Floppy Disk Controller (3F0-3F7)Default Acc
00-01 -reserved-00--
02FDC Command--RW
03-reserved-00-04FDC Main Status-04FDC Data Rate Select00
05FDC Data--RW
06-reserved-00-07Diskchange Status-07FDC Configuration Control00
Offset Parallel Port (378-37F typical)Default Acc
00Parallel Port Data--RW
01P a r a llel Port Status-02Parallel Port Control
03EPP AddressRW
04EPP Data Port 0RW
05EPP Data Port 1RW
06EPP Data Port 2RW
07EPP Data Port 3RW
400h ECP Data / Configuration ARW
401h ECP Configuration BRW
402h ECP Extended ControlRW
Offset Serial Port 1 (COM1=3F8, 3=3E8)Default Acc
0Transmit (Wr) / Receive (Rd) BufferRW
1Interrupt EnableRW
2FIFO Control
2Inte rrupt Status
3UART ControlRW
4Handshake ControlRW
5UART StatusRW
6Hand s hake StatusRW
7ScratchpadRW
9-8Baud Rate Generator DivisorRW
A-F-undefined---
E0
RO
WO
RO
WO
RO
RW
WO
RO
Offset Serial Port 2 (COM2=2F8, 4=2E8)Default Acc
0Transmit (Wr) / Receive (Rd) BufferRW
1Interrupt EnableRW
2FIFO Control
2Inte rrupt Status
3UART ControlRW
4Handshake ControlRW
5UART StatusRW
6Hand s hake StatusRW
7ScratchpadRW
9-8Baud Rate Generator DivisorRW
A-F-undefined---
Preliminary Revision 0.8 October 29, 1999-31-Register Overview
WO
RO
Page 38
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
PCI Function 0 Registers – PCI-to-ISA Bridge
Configuration Space PCI-to-ISA B ridge Header Registers
Offset PCI Configuration Space HeaderDefaultAcc
1-0Vendor ID
3-2Device ID
5-4Command
7-6Status
8Revision ID
9Programming Interface00RO
ASub Class Code
BBase Class Code
C-reserved- (cache line size)00—
D-reserved- (latency timer)00—
Configuration Space PCI-to-ISA Bridge-Specific Registers
1106
8231
0087RW
0200WC
nn
01
06
80
RO
RO
RO
RO
RO
RO
VT8231
Offset Plug and Play ControlDefaultAcc
50PnP DMA Request Control
51PnP Routing for LPT / FDC IRQ00RW
52P nP Routing for COM2 / COM1 IRQ00RW
53-reserved-00—
54PCI IRQ Edge / Level Select00RW
55PnP Routing for PCI INTA00RW
56PnP Routing for PCI INTB-C00RW
57PnP Routing for PCI INTD00RW
58-reserved-00—
59-reserved-
5AKBC / RTC Co ntrol
5BInternal RTC Test Mode00RW
5CDMA Control00RW
5D-5E -reserved-00—
5F-reserved- (do not program)
† Bit 7-4 power-up default depends on external strapping
Offset
6B-6A Channel 5 Base Address / Enable0000RW
6D-6C Channel 6 Base Address / Enable0000RW
6F-6E Channel 7 Base Address / Enable0000RW
Distributed DMADefaultAcc
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
2D
04
x4†
04
RW
—
RW
RW
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 3
49-reserved-00—
4AIDE Interrupt Routing
4B-reserved-00—
4CDMA / Master Mem Access Control 100RW
4DDMA / Master Mem Access Control 200RW
4F-4E DMA / Master Mem Access Control 3
01
04
0300
RW
RW
RW
Offset MiscellaneousDefaultAcc
70Subsystem ID Write00WO
71-73 -reserved-00—
74GPIO Control 100RW
75GPIO Control 200RW
76GPIO Control 300RW
77GPIO Control 400RW
79-78 PCS0# I/O Port Address0000 0000 RW
7B-7A PCS1# I/O Port Address0000 0000 RW
7D-7C PCI DMA Channel Enable0000RW
7F-7E 32-Bit DMA Control0000RW
80Programmable Chip Select Mask00RW
81ISA Positive Decoding Control 100RW
82ISA Positive Decoding Control 200RW
83ISA Positive Decoding Control 300RW
84ISA Positive Decoding Control 400RW
85Extended Function Enable00RW
86-87 PnP IRQ/DRQ Test (do not program)00RW
88PLL Test00RW
89PLL Control00RW
8APCS2/3 I/O Port Address Mask00RW
8BPCS Control00RW
8D-8C PCS2# I/O Port Address0000RW
8F-8E P CS3# I/O Port Address0000RW
90-FF -reserved-00—
Preliminary Revision 0.8 October 29, 1999-32-Register Overview
Page 39
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
PCI Function 1 Registers – IDE Controller
VT8231
Configuration Space IDE Header Registers
Offset PCI Configuration Space HeaderDefaultAcc
1-0Vendor ID
3-2Device ID
5-4Command
7-6Status
8Revision ID
9Programming Interface
ASub Class Code
BBase Class Code
C-reserved- (cache line size)00—
DLatency Timer00
EHeader Type00RO
FBuilt In Self Test (BIST )00RO
13-10 Base Address – Pri Data / Command
17-14 Base Address – Pri Control / Status
1B-18 Base Address – Sec Data / Command
1F-1C Base Address – Sec Control / Status
23-20 Base Address – Bus Master Control
24-2F -reserved- (unassigned)00—
30-33 -reserved- (expan ROM base addr)00—
34Capability Pointer
35-3B -reserved- (unassigned)00—
3CInterrupt Line
3DInterrupt Pin00RO
3EMinimum Grant00R O
3FMaximum Latency00R O
Configuration Space IDE-Specific Registers
Offset Configuration Space IDE RegistersDefaultAcc
40IDE Chip Enable
41IDE Configuration
42-reserved- (do not program)
43IDE FIFO Configuration
44IDE Miscellaneous Control 1
45IDE Miscellaneous Control 2
46IDE Miscellaneous Control 3
4B-48 IDE Drive Timing Control
4CIDE Address Setup Time
4D-reserved- (do not program)00
4ESec Non-1F0 IDE Port Access Timing
4FPri Non-1F0 IDE Port Access Timing
1106
0571
0080
0280RW
nn
85RW
01
01
000001F0
000003F4
00000170
00000374
0000CC01 RW
C0
0ERW
08
02
09RW
3A
68
03
C0
A8A8A8A8
FF
FF
FF
RO
RO
RO
RO
RO
RO
RW
RO
RO
RO
RO
RO
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
Configuration Space IDE-Specific Registers ( c ontinued)
Offset Configuration Space IDE RegistersDefaultAcc
53-50 UltraDM A E xtended Timing Control
54UltraDMA FIFO Control
55-5F -reserved-00—
61-60 IDE Primary Sector Size
62-67 -reserved-00—
69-68 IDE Secondary Sector Size
69-6F -reserved-00—
46-47 -reserved-00
4B-48 GPI Port Input Value
4F-4C GPO Port Output Value
50-FF -reserved-00
Preliminary Revision 0.8 October 29, 1999-36-Register Overview
inputRO
inputRO
03FF FFFF
WC
—
—
RO
—
RW
—
Page 43
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
I/O Space Hardware Monitor Registers
VT8231
Offset Hardwa re MonitorDefaultAcc
00-3F Value RAM
00-12 -reserved-00
13 Analog Data 15-800RW
14 Analog Data 7-000RW
15 Digital Data 7-000RW
16 Channel Counter00RW
17 Data Valid & Channel Indicators00RW
18-1C -reserved-00
1D TSENS3 Ho t Hi Limit00RW
1E TSENS3 Hot Hysteresis Lo Lim00RW
1F TSENS3 (Int) Temp Reading0 0RW
20 TSENS1 (W13) Temp Reading00RW
21 TSENS2 (Y13) Temp Reading00RW
22 VSENS1 (U13) Voltage Reading00RW
23 VSENS2 (V13) Voltage Reading00RW
24 Internal Core VCC Voltage Reading00RW
25 VSENS3 (W14) Voltage Reading00RW
26 VSENS4 (Y14) Voltage Reading00RW
27 -reserved- (-12V Voltage Reading)00
28 -reserved- (-5V Voltage Reading)00
29 FAN1 (T12) Count Reading00RW
2A FAN2 (U12) Count Reading00RW
2B VSENS1 (CPU) Voltage High Limit00RW
2C VSENS1 (CPU) Voltage Low Limit00RW
2D VSENS2 (NB) Vo ltage High Limit00RW
2E VSENS2 (NB) Voltage Low Limit00RW
2F Internal Core VCC High Limit00RW
30 Internal Core VCC Low Limit00RW
31 VSENS3 (5V) Voltage High Limit00RW
32 VSENS3 (5V) Voltage Low Limit00RW
33 VSENS4 (12V) Voltage High Limit00RW
34 VSENS4 (12V) Voltage Low Limit0 0RW
35 -reserved- (-12V Sense High Limit)00
36 -reserved- (-12V Sense Low Limit)00
37 -reserved- (-5V Sense High Limit)00
38 -reserved- (-5V Sense Low Limit)00
39 TSENS1 Hot High Limit00RW
3A TSENS1 Hot Hysteresis Lo Lim00RW
3B FAN1 Fan Count Limit00RW
3C FAN2 Fan Count Limit00RW
3D TSENS2 Hot High Limit00RW
3E TSENS2 Hot Hysteresis Lo Lim00RW
3F Stepping ID Number00RW
Preliminary Revision 0.8 October 29, 1999-39-Register Overview
Page 46
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT8231
I/O Registers – SoundBlaster Pr o
Offset SB Pro Registers (220 or 240h typ)Default Acc
0FM Le ft Channel Index / StatusRW
1FM Left Channel Data
2FM Right Channel Index / StatusRW
3FM Right Channel Data
4Mixer Index
5Mixer DataRW
6Sound Processor Reset
7-reserved-00-8FM I ndex / Status (Both Channels)RW
9FM D ata (Both Channels)
ASo und Processor Data
B-reserved-00-CSound Processor Co mmand / Data
Sound Proce ssor Buffer Status
D-reserved-00-ESnd Processor Data Available Status
F-reserved-00--
Port SB Pro Regs (same as offsets 8 & 9)Default Acc
388h FM Index / StatusRW
389h FM Data
The above group of registers emulates the “FM”, “Mixer”, and
“Sound Processor” functions of the SoundBlas t er Pro.
WO
WO
WO
WO
WO
RO
WR
RD
RO
WO
I/O Registers – Game Por t
Offset Game Port (200-20F typical)Default Acc
0-reserved-00-1Game Port Status
1Start One-Shot
2-F-reserved-00--
RO
WO
Preliminary Revision 0.8 October 29, 1999-40-Register Overview
Page 47
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT8231
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.
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
Port 64 - Keyboard / Mouse Command .......................... WO
This port is used to send commands to the keyboard / mouse
controller. The command codes recognized by the VT8231
are listed n the table below.
Note: The VT8231 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
purpose I/ O p ins ( eve n tho ugh P 1 3 -P1 6 a re set o n p o wer-up a s
strapping options). In other words, many of the commands
below are provided and “work”, but otherwise perform no
useful function (e.g., co mmands that set P1 2-P 17 hi gh or l ow).
Also note that setting P10-11, P22-23, P26-27, and T0-1 high
or low directly serves no useful purpose, since 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
VT8231
CodeKeyboard Command Code Description
20hRead Control B yte (next byte is Control Byte)
21-3FhRead SRAM Data (next byte is Data Byte)
60hWrite Contro l 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 Co ntroller 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 stuc k hi gh,
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 hi gh
BDhSet P23 high
BEhS et P14 high
BFhSet P1 5 high
CodeKeyboard 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 keyboa r d)
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
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
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 4 Base / Current AddressRW
0000 0000 1100 001xCh 4 Base / Current CountRW
0000 0000 1100 010xCh 5 Base / Current AddressRW
0000 0000 1100 011xCh 5 Base / Current CountRW
0000 0000 1100 100xCh 6 Base / Current AddressRW
0000 0000 1100 101xCh 6 Base / Current CountRW
0000 0000 1100 110xCh 7 Base / Current AddressRW
0000 0000 1100 111xCh 7 Base / Current CountRW
0000 0000 1101 000xStatus / Com m andRW
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 Bi tsWO
Note that not all bits of the address are decoded.
The Master and Slave DMA Controllers are 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:
The DMA Controller shadow registers are enabled by setting
function 0 Rx77 bit 0. If the shadow registers are enabled,
they are read back at the indicated I/O port instead of the
standard DMA controller registers (writes are unchanged).
Port 0 –Channel 0 Base Address ...................................... RO
Port 1 –Channel 0 Byte Count .......................................... RO
Port 2 –Channel 1 Base Address ...................................... RO
Port 3 –Channel 1 Byte Count .......................................... RO
Port 4 –Channel 2 Base Address ...................................... RO
Port 5 –Channel 2 Byte Count .......................................... RO
Port 6 –Channel 3 Base Address ...................................... RO
Port 7 –Channel 3 Byte Count .......................................... RO
Port 8 –1st Read Channel 0-3 Command Register .......... RO
Port 8 –2nd Read Channel 0-3 Request Register.............. RO
Port 8 –3rd Read Channel 0 Mode Register ..................... RO
Port 8 –4th Read Channel 1 Mode Register ..................... RO
Port 8 –5th Read Channel 2 Mode Register ..................... RO
Port 8 –6th Read Channel 3 Mode Register ..................... RO
Port F –Channel 0-3 Read All Mask ................................ RO
Port C4 –Channel 5 Base Address.................................... RO
Port C6 –Channel 5 Byte Count ....................................... RO
Port C8 –Channel 6 Base Address.................................... RO
Port CA –Channel 6 Byte Count ...................................... RO
Port CC –Channel 7 Base Address ................................... RO
Port CE –Channel 7 Byte Count ...................................... RO
Port D0 –1st Read Channel 4-7 Command Register ........ RO
Port D0 –2nd Read Channel 4-7 Request Register ........... RO
Port D0 –3rd Read Channel 4 Mode Register .................. RO
Port D0 –4th Read Channel 5 Mode Register .................. RO
Port D0 –5th Read Channel 6 Mode Register .................. RO
Port D0 –6th Read Channel 7 Mode Register .................. RO
Port DE –Channel 4-7 Read All Mask ............................. RO
Note that not all bits of the address are decoded.
The Master Interrupt Controller is compatible with the Intel
8259 Interrupt Co ntroller 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 Cont roller
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 Co ntroller 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 function
0 Rx47[4]. If the shadow registers are enabled, they are read
back at the indicated I/O port instead of the standard interrupt
controller registers (writes are unchanged).
Port 20 - Master Interrupt Control Shadow ................... RO
Port A0 - Slave Interrupt Control 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.
Timer / Counter Shadow Registers
The following shadow registers are enabled for readback by
setting function 0 Rx47[4]. If the shadow registers are
enabled, they are read back at the indicated I/O port instead of
the standard timer / counter registers (writes are unchanged).
Port 40 – Counter 0 Base Count Value (LSB 1
st
MSB 2nd) RO
Port 41 – Counter 1 Base Count Value (LSB 1st MSB 2nd) RO
Port 42 – Counter 2 Base Count Value (LSB 1st MSB 2nd) RO
06Day of the Week
07Day of the Month
08Month
09Year
VT8231
Binary Range BCD Range
00-3Bh00-59h
00-3Bh00-59h
00-3Bh00-59h
00-3Bh00-59h
am 12hr: 01-1Ch01-12h
pm 12hr: 81-8Ch81-92h
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
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)
Super-I/O configuration registers are accessed by performing
I/O operations to / from an index / data pair of registers in
system I/O space at port addresses 3F0h and 3F1h. The
configuration registers accessed using this mechanism are used
to configure the Super-I/O registers (parallel port, serial ports,
IR port, and floppy controller).
Super I/O configuration is accomp lished in three steps:
1) Enter configuration mode (set Function 0 Rx85[1] = 1)
2) Configure the chip
a) Write index to port 3F0
b) Read / write data from / to port 3F1
c) Repeat a and b for all desired registers
3) Exit configuration mode (set Function 0 Rx85[1] = 0)
Port 3F0h – Super-I/O Configuration Index ................... RW
7-0Index value
Function 0 PCI configuration space register Rx85[1] must be
set to 1 to enable access to the Super-I/O configuration
registers.
Port 3F1h – Super-I/O Configuration Data .................... RW
7-0Data value
This register shares a port with the Floppy Status Port (which
is read only). T his port is accessible only when Rx85[1] is set
to 1 (the floppy status port is accessed if Rx85[1] = 0).
Super-I/O Configuration Registers
These registers are accessed via the port 3F0 / 3F1 index / data
register pair using the indicated index values below
Index E0 – Super-I/O Device ID ....................................... RO
7-0Super-I/O ID
Index E1 – Super-I/O Device Revision ............................. RO
7-0Super-I/O Revision Code
Index E2 – Super-I/O Function Select ............................ RW
Index E6 – Parallel Port I/O Base Address .................... RW
7-0I/O Address 9-2
If EPP is not enabled, the parallel port can be set to 192
locations on 4-byte boundaries from 100h to 3FCh. If EPP is
enabled, the parallel port can be set to 96 locations on 8-byte
boundaries from 100h to 3F8h.
Index E7 – Serial Port 1 I/O Base Address ..................... RW
7-1I/O Address 9-3
0Must be 0
Index E8 – Serial Port 2 I/O Base Address ..................... RW
These registers are located at I/O ports which are offsets from
“FDCBase” (index C3h of the Super-I/O configuration
registers). FDCBase is typically set to allow these ports to be
accessed at the standard floppy disk controller address range
of 3F0-3F7h.
VT8231
Port FDCBase+2 – FDC Command ................................. RW
7Motor 3 (unused in VT8231: no MTR3# pin)
6Motor 2 (unused in VT8231: no MTR2# pin)
5Motor 1
0Motor Off
1Motor On
4Motor 0
0Motor Off
1Motor On
3DMA and IRQ Channels
0Disabled
1Enabled
2FDC Reset
0Execute FDC Reset
1FDC Enabled
1-0Drive Select
00 Select Drive 0
01 Select Drive 1
1x -reserved-
Port FDCBase+4 – FDC Main Status ............................... RO
7Main Request
0Data register not ready
1Data register ready
6Data Input / Output
0CPU => FDC
1FDC => CPU
5Non-DMA Mode
0FDC in DMA mode
1FDC not in DMA mode
4FDC Busy
0FDC inactive
1FDC active
3-2Reserved
1Drive 1 Active
0Drive inactive
1Drive performing a positioning change
0Drive 0 Active
0Drive inactive
1Drive performing a positioning change
These registers are located at I/O ports which are offsets from
“LPTBase” (index C6h of the Super-I/O configuration
registers). LPTBase is typically set to allow these ports to be
accessed at the standard parallel port address range of 37837Fh.
VT8231
Port LPTBase+0 – Parallel Port Data ............................. RW
7-0Parallel Port Data
Port LPTBase+1 – Parallel Port Status ............................ RO
7BUSY#
0Printer busy, offline, or error
1Printer not busy
6ACK#
0Data transfer to printer complete
1Data transfer to printer in progress
5PE
0Paper available
1No paper available
4SLCT
0Printer offline
1Printer online
3ERROR#
0Printer error
1Printer OK
2-0Reserved
Port LPTBase+2 – Parallel Port Control ........................ RW
These registers are located at I/O ports which are offsets from
“COM1Base” (index C7h of the Super-I/O configuration
registers). COM1Base is typically set to allow these ports to
be accessed at the standard serial port 1 address range of 3F83FFh.
Port COM1Base+0 – Transmit / Receive Buffer ............ RW
7-0Serial Data
Port COM1Base+1 – Interrupt Enable ........................... RW
7-4Undefined
3Interrupt on Hnadshake Input State Change
2Intr on Parity, Overrun, Framing Error or Break
1Interrupt on Transmit Buffer Empty
0Interrupt on Receive Data Ready
Port COM1Base+2 – Interrupt Status ............................. RO
Port COM1Base+4 – Handshake Control ...................... RW
7-5Undefined
4Loopback Check
0Normal operation
1Loopback enabled
3General Purpose Output 2 (unused in VT8231)
2General Purpose Output 1 (unused in VT8231)
1Request To Send
0Disabled
1Enabled
0Data Terminal Ready
0Disabled
1Enabled
Port COM1Base+5 – UART Status ................................. RW
7Undefined
6Transmitter Empty
01 byte in transmit hold or transmit shift register
10 bytes transmit hold and transmit shift regs
5Transmit Buffer Empty
01 byte in transmit hold register
1Tra nsmit hold register empty
4Break Detected
0No break detected
1Break detected
3Framing Error Detected
0No error
1Error
2Parity Error Detected
0No error
1Error
1Overrun Error Detected
0No error
1Error
0Received Data Ready
0No received data available
1Received data in receiver buffer register
Port COM1Base+6 – Handshake Status ......................... RW
7DCD Status (1=Active, 0=Inactive)
6RI Status (1=Active, 0=Inactive)
5DSR Status (1=Active, 0=Inactive)
4CTS Status (1=Active, 0=Inactive)
3DCD Changed (1=Changed Since Last Read)
2RI Changed (1=Changed Since Last Read)
1DSR Changed (1=Changed Since Last Read)
0CTS Changed (1=Changed Since La st Read)
Port COM1Base+7 – Scratchpad .................................... RW
7Scratchpad Data
Port COM1Base+9-8 – Baud Rate Generator Divisor .. RW
15-0 Divisor Value for Basud Rate Generator
Baud Rate = 115,200 / Divisor
(e.g., setting this register to 1 selects 115.2 Kbaud)
These registers are located at I/O ports which are offsets from
“COM2Base” (index C8h of the Super-I/O configuration
registers). COM2Base is typically set to allow these ports to
be accessed at the standard serial port 2 address range of 2F82FFh.
Port COM1Base+0 – Transmit / Receive Buffer ............ RW
7-0Serial Data
Port COM1Base+1 – Interrupt Enable ........................... RW
7-4Undefined
3Interrupt on Hnadshake Input State Change
2Intr on Parity, Overrun, Framing Error or Break
1Interrupt on Transmit Buffer Empty
0Interrupt on Receive Data Ready
Port COM1Base+2 – Interrupt Status ............................. RO
Port COM1Base+4 – Handshake Control ...................... RW
7-5Undefined
4Loopback Check
0Normal operation
1Loopback enabled
3General Purpose Output 2 (unused in VT8231)
2General Purpose Output 1 (unused in VT8231)
1Request To Send
0Disabled
1Enabled
0Data Terminal Ready
0Disabled
1Enabled
Port COM1Base+5 – UART Status ................................. RW
7Undefined
6Transmitter Empty
01 byte in transmit hold or transmit shift register
10 bytes transmit hold and transmit shift regs
5Transmit Buffer Empty
01 byte in transmit hold register
1Tra nsmit hold register empty
4Break Detected
0No break detected
1Break detected
3Framing Error Detected
0No error
1Error
2Parity Error Detected
0No error
1Error
1Overrun Error Detected
0No error
1Error
0Received Data Ready
0No received data available
1Received data in receiver buffer register
Port COM1Base+6 – Handshake Status ......................... RW
7DCD Status (1=Active, 0=Inactive)
6RI Status (1=Active, 0=Inactive)
5DSR Status (1=Active, 0=Inactive)
4CTS Status (1=Active, 0=Inactive)
3DCD Changed (1=Changed Since Last Read)
2RI Changed (1=Changed Since Last Read)
1DSR Changed (1=Changed Since Last Read)
0CTS Changed (1=Changed Since La st Read)
Port COM1Base+7 – Scratchpad .................................... RW
7Scratchpad Data
Port COM1Base+9-8 – Baud Rate Generator Divisor .. RW
15-0 Divisor Value for Basud Rate Generator
Baud Rate = 115,200 / Divisor
(e.g., setting this register to 1 selects 115.2 Kbaud)
These registers are located at offsets fr om “SBPBase” (defined
in Rx43 of Audio Function 5 PCI configuration space).
SBPBase is typically set to allow these ports to be accessed at
the standard SoundBlaster Pro port address of 220h or 240h.
FM Registers
Port SBPBase+0 – FM Left Channel Index / Status ....... RW
7-0FM Right Channel Index / Status
Port SBPBase+1 – FM Left Channel Data ..................... WO
7-0Right Channel FM Data
Port SBPBase+2 – FM Right Channel Index / Status .... RW
7-0FM Right Channel Index / Status
Port SBPBase+3 – FM Right Channel Data .................. WO
7-0Right Channel FM Data
Port 388h or SBPBase+8 – FM Index / Status ................ RW
7-0FM Index / Status (Bot h Channels)
Writing to this port programs both the left and right channels
(the write programms port offsets 0 and 2 as well)
Port 389h or SBPBase+9 – FM Data .............................. WO
7-0FM Data (Both Channels)
Writing to this port programs both the left and right channels
(the write programms port offsets 1 and 3 as well)
Mixer Registers
Port SBPBase+4 – Mixer Index....................................... WO
7-0Mixer Index
Port SBPBase+5 – Mixer Data ......................................... RW
7-0Mixer Data
Sound Processor Registers
Register Summary - FM
Index Bit-7 Bit-6 Bit-5 Bit-4 Bit-3 Bit-2 Bit-1 Bit-0
10 Play8 bits directly
14 Play8 bits via DMA
91 PlayHigh-speed 8 bits via DMA
16 Play2-bit compressed via DMA
17 Play2-bit compressed via DMA with reference
74 Play4-bit compressed via DMA
75 Play4-bit compressed via DMA with reference
76 Play2.6-bit compressed via DMA
77 Play2.6-bit compressed via DMA with reference
20 Record Direct
24 Record Via DMA
99 Record High-speed 8 bits via DMA
D1 Speaker Turn on speaker connection
D3 Speaker Turn off speaker connection
D8 Speaker Get speaker setting
These registers are fixed at the standard game port address of
201h.
I/O Port 201h – Game Port Status ................................... RO
7Joystick B Button 2 Status
6Joystick B Button 1 Status
5Joystick A Button 2 Status
4Joystick A Button 1 Status
3Joystick B One-Shot Status for Y-Potentiometer
2Joystick B One-Shot Status for X-Potentiometer
1Joystick A One-Shot Status for Y-Potentiometer
0Joystick A One-Shot Status for X-Potentiometer
I/O Port 201h – Start One-Shot ....................................... WO
(Value Written is Ignored)
7-0
30 MIDIDirect MIDI input
31 MIDIMIDI input via interrupt
32 MIDIDirect MIDI input with time stamp
33 MIDIMIDI input via interrupt with time stamp
34 MIDIDirect MIDI UART mode
35 MIDIMIDI UART mode via interrupt
36 MIDIDirect MIDI UART mode with time stamp
37 MIDIMIDI UART mode via interrupt with time stamp
38 MIDISend MIDI code
PCI configuration space accesses for functions 0-6 use PCI
configuration mechanism 1 (see PCI specification revision 2.2
for more details). The ports respond only to double-word
accesses. Byte or word accesses will be passed on unchanged.
Port CFB-CF8 - Configuration Address ......................... RW
The following sections describe the registers and register bits
of these functions.
Port CFF-CFC - Configuration Data .............................. RW
Preliminary Revision 0.8 October 29, 1999-56-Function 0 Registers - PCI to ISA Bridge
Page 63
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT8231
Function 0 Registers - PCI to ISA Bridge
All registers are located in the function 0 PCI configuration
space of the VT8231. These registers are accessed through
PCI configuration mechanism #1 via I/O address CF8/CFC.
PCI Configuration Space Header
Offset 1-0 - Vendor ID = 1106h ......................................... RO
Offset 3-2 - Device ID = 8231h .......................................... 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
Offset 44 - Keyboard Controller Control ....................... RW
7KBC Timeout Test
6-4Reserved
3Mouse Lo c k Enable
2-1Reserved
0Reserved
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
(do not program)........................ default = 0
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
Preliminary Revision 0.8 October 29, 1999-60-Function 0 Registers - PCI to ISA Bridge
Page 67
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
Plug and Play Control
VT8231
Offset 50 – PNP DMA Request Control .......................... RW
7-4Reserved
3-2PnP Routing for Parallel Port DRQ
1-0PnP Routing for Floppy DRQ
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:
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
Offset 8D-8C – PCS2# I/O Port Address ........................ RW
15-0 PCS2# I/O Port Address
Offset 8F-8E – PCS3# I/O Port Address ......................... RW
15-0 PCS3# I/O Port Address
Preliminary Revision 0.8 October 29, 1999-68-Function 0 Registers - PCI to ISA Bridge
Page 75
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT8231
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 re giste rs. T he P CI co nfigur at io n re giste rs
are located in the function 1 PCI configuration space of the
VT8231. 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
Preliminary Revision 0.8 October 29, 1999-76-Function 1 Registers - Enhanced IDE Control ler
Page 83
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT8231
Function 2 Registers - USB Controller Ports 0-1
This Universal Serial Bus 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
VT8231. The USB I/O registers are defined in UHCI
specification v1.1. The registers in this function control USB
ports 0-1 (see function 3 for ports 2-3).
PCI Configuration Space Header
Offset 1-0 - Vendor ID ....................................................... RO
0-7Vendor ID
Offset 3-2 - Device ID ......................................................... RO
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 0 Status / Control
I/O Offset 13-12 - Port 1 Status / Control
Preliminary Revision 0.8 October 29, 1999-79-Function 2 Registers - USB Controller Ports 0-1
Page 86
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT8231
Function 3 Registers - USB Controller Ports 2-3
This Universal Serial Bus 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 3 PCI configuration space of the
VT8231. The USB I/O registers are defined in UHCI
specification v1.1. The registers in this function control USB
ports 2-3 (see function 2 for ports 0-1).
PCI Configuration Space Header
Offset 1-0 - Vendor ID ....................................................... RO
0-7Vendor ID
Offset 3-2 - Device ID ......................................................... RO
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 0 Status / Control
I/O Offset 13-12 - Port 1 Status / Control
Preliminary Revision 0.8 October 29, 1999-82-Function 3 Registers - USB Controller Ports 2-3
Page 89
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
Function 4 Regs - Power M anagement, SMBus and HWM
This section describes the ACPI (Advanced Configuration and
Power Interface) Power Management system of the VT8231
which includes a System Management Bus ( SMBus) interfac e
controller and Hardware Monitoring (HWM) subsystem. The
power management system of the VT8231 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
Offset 1-0 - Vendor ID ....................................................... RO
0-7Vendor ID
Offset 3-2 - Device ID ......................................................... RO
Offset 41 - General Configuration 1 ................................ RW
7I/O Enable for ACPI I/O Base
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.
Preliminary Revision 0.8 October 29, 1999-85-Function 4 Regs - Power Management, SM Bus and HWM
Page 92
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT8231
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
0GP0 Timer stops at 0 ............................ default
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
0GP1 Timer stops at 0 .............................default
Preliminary Revision 0.8 October 29, 1999-88-Function 4 Regs - Power Management, SM Bus and HWM
Page 95
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT8231
Offset 58 – GP2 / GP3 Timer Control ............................. RW
7GP3 Timer Start
On setting this bit to 1, the GP3 timer loads the value
defined by Rx5A and starts counting down. The GP3
timer is reloaded at the occurrence of certain events
enabled in the GP Timer Reload Enable Register
(Power Management I/O Space Offset 38h). If no
such event occurs and the GP 3 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
0GP3 Timer stops at 0 .............................default
On setting this bit to 1, the GP2 timer loads the value
defined by Rx59 and starts counting down. The GP2
timer is reloaded at the occurrence of certain events
enabled in the GP Timer Reload Enable Register
(Power Management I/O Space Offset 38h). If no
such event occurs and the GP 2 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
0GP2 Timer stops at 0 .............................default
Offset D5 – SMBus Slave Address for Port 2 ................. RW
7-0SMBus Slave Address for Port 2
Bit-0 must be set to 0 for proper operation
Offset D6 – SMBus Revision ID ....................................... RO
7-0SMB us Revision Code
...............default=0
Preliminary Revision 0.8 October 29, 1999-91-Function 4 Regs - Power Management, SM Bus and HWM
Page 98
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
Power Management I/O-Space Registers
Basic Power Management Control and Status
VT8231
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
(WAK_STS) ................... default = 0
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 tr ansitions from the
suspend state to the no rmal working state (from C3 to
C0 for the processor).
This bit is set when the RTC generates an alarm (on
assertion of the RTC IRQ signal).
9Sleep Button Status
(SB_STS)................. default = 0
This bit is set when the sleep button (SLPBTN# /
IRQ6 / GPI4) is pressed.
8Power Button Status
(PB_STS)............... default = 0
This bit is set when the PWRBTN# signal is asser ted
LOW. If the PWRBTN# signal is held LOW for
more than four seconds, this bit is cleared, the
PBOR_STS bit is set, and the system will transition
into the soft off state.
This bit is set by hardware when BIOS_RLS is set
(typically by an SMI routine to release control o f 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
(BM_STS) ................. default = 0
This bit is set when a system b us master requests the
system bus. All PCI master, ISA master and ISA
DMA devices are included.
This bit may be set to trigger either an SCI or an SMI
(depending on the setting of the SCI_EN bit) to be
generated when the TMR_STS bit is set.
Preliminary Revision 0.8 October 29, 1999-92-Power Management I/O-Space Registers
Page 99
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
VT8231
I/O Offset 5-4 - Power Management Control ................. RW
15Soft Resume
14Reserved
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 RAM (STR)
010 Suspend to Disk (STD) (also called Soft Off).
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 b e generated if
the BIOS_EN bit is set (bit-5 of the Global Enable
register at offset 2Ah).
1Bus Master Reload
0Bus master requests are ignored by power
1Bus master requests transition the processor
0SCI Enable
Selects the power management event to generate
either an SCI or SMI:
1Generate SMI
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 always 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 returns the running co unt 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.
Preliminary Revision 0.8 October 29, 1999-93-Power Management I/O-Space Registers
Page 100
7HFKQRORJLHV,QF
&
:H&RQQHFW
RQQHFW
:H
Processor Power Management Registers
VT8231
I/O Offset 13-10 - Processor & PCI Bus Control............ RW
Setting this bit starts clock throttling (modulating the
STPCLK# signal) regar dless 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 VT8231 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 #. Wakeup 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.