FINTEK F81866AD-I

F81866A
F81866A
6 UARTs Super IO With 128 Bytes FIFO and Power
Saving Functions
Release Date: Jan, 2012
Version: V0.12P
Jan, 2012
V0.12P
F81866A
F81866A Datasheet Revision History
Version
V0.10P
Date
2011/10/07
Page
-
V0.11P
2011/11/09
-
V0.12P
2012/01/13
-
Revision History
Preliminary
1. Made Clarification & Modification
2. Update All Register Reset Type
3. Add ACPI Related Description & Timing (see section 6.8)
4. Add AMD TSI & Intel PECI 3.0 (see section 6.10)
5. Add OVP Description (see section 6.11)
6. Add Multi Function Registers
7. Update Application Circuit (Add Soft Start Circuit to 5VSB & FAN Power)
1.Made Clarification & Modification
2.PS/2 Swap Register ⎯ Index FEh, bit 3-0
3.Add ERP (Fintek G3’) Timing (Section 6.8.3)
4.Update Base Address Low Register –Index 61h Default Value
Please note that all data and specifications are subject to change without notice. All the trade marks of products
and companies mentioned in this data sheet belong to their respective owners.
LIFE SUPPORT APPLICATIONS
These products are not designed for use in life support appliances, devices, or systems where malfunction of these
products can reasonably be expected to result in personal injury. Customers using or selling these products for
use in such applications do so at their own risk and agree to fully indemnify Fintek for any damages resulting from
such improper use or sales.
Jan, 2012
V0.12P
F81866A
Table of Content
1. 2. 3. 4. 5. 6. General Description ...................................................................................................... 11 Features ....................................................................................................................... 11 Block Diagram .............................................................................................................. 15 Pin Configuration .......................................................................................................... 16 Pin Description ............................................................................................................. 17 5.1 Power Pin ................................................................................................................ 17 5.2 Clock ....................................................................................................................... 18 5.3 LPC Interface .......................................................................................................... 18 5.4 FDC, & GPIO .......................................................................................................... 18 5.5 Parallel Port (LPT Port), & GPIO............................................................................. 20 5.6 Hardware Monitor, I2C, & GPIO .............................................................................. 21 5.7 KBC & I2C Function ................................................................................................ 22 5.8 ACPI, ERP, SIR & GPIO ......................................................................................... 23 5.9 UART, GPIO ............................................................................................................ 25 Function Description ..................................................................................................... 28 6.1 Power on Strapping Option ..................................................................................... 28 6.2 FDC ......................................................................................................................... 28 6.3 Parallel Port ............................................................................................................ 29 6.4 Hardware Monitor.................................................................................................... 32 6.4.1 General Description.................................................................................................... 32 6.4.1.1 Voltage .................................................................................................................... 32 6.4.1.2 Temperature Sensor................................................................................................ 33 (1) Monitor Temperature from “thermistor” ............................................................................... 34 (2) Monitor Temperature from “thermal diode” ......................................................................... 34 Over Temperature Signal (OVT#) .............................................................................................. 34 Temperature PME#.................................................................................................................... 34 6.4.1.3 Fan .......................................................................................................................... 35 Fan speed count ........................................................................................................................ 35 Fan speed control ...................................................................................................................... 35 (1) DAC Fan Control ................................................................................................................ 36 (2) PWM duty Fan Control ....................................................................................................... 36 Fan speed control mechanism .................................................................................................. 37 (1) Manual mode...................................................................................................................... 38 (2) Auto mode .......................................................................................................................... 38 Jan, 2012
V0.12P
F81866A
Stage auto mode ....................................................................................................................... 39 A. Stage auto mode (PWM Duty)............................................................................................. 39 B. Stage auto mode (RPM%)................................................................................................... 39 Linear auto mode....................................................................................................................... 40 A. Linear auto mode (PWM Duty I) .......................................................................................... 40 B. Linear auto mode (RPM%) .................................................................................................. 41 PWMOUT Duty-cycle operating process ................................................................................... 42 Fan Speed Control with Multi-temperature ................................................................................ 43 FAN_FAULT# ............................................................................................................................. 45 6.4.2 6.4.2.1 Hardware Monitor Device Registers ........................................................................... 45 Configuration Setting .............................................................................................. 45 FAN, Voltage Start up Register ⎯ Index 01h ............................................................................ 45 Case Open, Alert, OVT Mode Register ⎯ Index 02h ................................................................ 46 Case Open Status Register ⎯ Index 03h .................................................................................. 46 6.4.2.2 PECI/TSI/I2C Setting .............................................................................................. 46 TSI Or IBEX Control Register ⎯ Index 08h .............................................................................. 46 I2C Address Control Register
⎯ Index 09h ............................................................................ 46 PECI, TSI, IBEX, Beta Register ⎯ Index 0Ah ........................................................................... 47 CUP Socket Select Register ⎯ Index 0Bh ................................................................................ 47 TCC Register ⎯ Index 0Ch ....................................................................................................... 47 TSI Offset Register ⎯ Index 0Dh .............................................................................................. 48 Configuration Register ⎯ Index 0Fh ......................................................................................... 48 TSI, I2C Temperature 0 – Index E0h ......................................................................................... 48 TSI, I2C Temperature 1 – Index E1h ......................................................................................... 48 TSI, I2C Temperature 2 Low Byte – Index E2h ......................................................................... 49 TSI, I2C Temperature 2 High Byte – Index E3h ........................................................................ 49 TSI, I2C Temperature 3 – Index E4h ......................................................................................... 49 TSI, I2C Temperature 4 – Index E5h ......................................................................................... 49 TSI, I2C Temperature 5 – Index E6h ......................................................................................... 50 TSI, I2C Temperature 6 – Index E7h ......................................................................................... 50 TSI, I2C Temperature 7 – Index E8h ......................................................................................... 50 I2C Data Buffer 9 – Index E9h ................................................................................................... 50 Block Write Count Register – Index ECh ................................................................................... 51 I2C Command Byte/TSI Command Byte – Index EDh .............................................................. 51 I2C Status – Index EEh ............................................................................................................. 51 I2C Protocol Select – Index EFh ............................................................................................... 52 6.4.2.3 PECI 3.0 & Temperature Setting ............................................................................. 52 Jan, 2012
V0.12P
F81866A
PECI 3.0 Command and Register ............................................................................................. 52 PECI Configuration Register ⎯ Index 40h ................................................................................ 52 PECI Master Control Register ⎯ Index 41h .............................................................................. 52 PECI Master Status Register ⎯ Index 42h ............................................................................... 53 PECI Master DATA0 Register ⎯ Index 43h .............................................................................. 53 PECI Master DATA1 Register ⎯ Index 44h .............................................................................. 53 PECI Master DATA2 Register ⎯ Index 45h .............................................................................. 53 PECI Master DATA3 Register ⎯ Index 46h .............................................................................. 54 PECI Master DATA4 Register ⎯ Index 47h .............................................................................. 54 PECI Master DATA5 Register ⎯ Index 48h .............................................................................. 54 PECI Master DATA6 Register ⎯ Index 49h .............................................................................. 54 PECI Master DATA7 Register ⎯ Index 4Ah .............................................................................. 54 PECI Master DATA8 Register ⎯ Index 4Bh .............................................................................. 54 PECI Master DATA9 Register ⎯ Index 4Ch .............................................................................. 54 PECI Master DATA10 Register ⎯ Index 4Dh ............................................................................ 55 PECI Master DATA11 Register ⎯ Index 4Eh ............................................................................ 55 PECI Master DATA12 Register ⎯ Index 4Fh ............................................................................ 55 HWM Manual Control Register1 ⎯ Index 50h .......................................................................... 55 HWM Manual Control Status Register 1⎯ Index 51h ............................................................... 55 HWM Manual Control Status Register 2⎯ Index 52h ............................................................... 56 HWM RAW Data Register 1⎯ Index 55h .................................................................................. 56 HWM RAW Data Register 2⎯ Index 56h .................................................................................. 56 Temperature Register ................................................................................................................ 56 Temperature PME# Enable Register ⎯ Index 60h .................................................................... 56 Temperature Interrupt Status Register ⎯ Index 61h ................................................................. 57 Temperature Real Time Status Register ⎯ Index 62h .............................................................. 57 Temperature BEEP Enable Register ⎯ Index 63h .................................................................... 58 T1 OVT and High Limit Temperature Select Register ⎯ Index 64h .......................................... 58 OVT and Alert Output Enable Register 1 ⎯ Index 66h ............................................................. 59 Temperature Sensor Type Register ⎯ Index 6Bh ..................................................................... 59 TEMP1 Limit Hystersis Select Register ⎯ Index 6Ch ............................................................... 59 TEMP2 and TEMP3 Limit Hystersis Select Register ⎯ Index 6Dh ........................................... 59 DIODE OPEN Status Register ⎯ Index 6Fh ............................................................................. 60 Temperature ⎯ Index 70h- 8Dh ................................................................................................ 60 T1 Slope Adjust Register ⎯ Index 7Fh ..................................................................................... 61 Temperature Filter Select Register ⎯Index 8Eh ....................................................................... 61 6.4.2.4 Voltage Setting ........................................................................................................ 62 Jan, 2012
V0.12P
F81866A
Voltage-Protect Shut Down Enable Register ⎯ Index 10h ....................................................... 62 Voltage-Protect Status Register ⎯ Index 11h............................................................................ 62 Voltage-Protect Configuration Register ⎯ Index 12h ................................................................ 63 Voltage1 PME# Enable Register ⎯ Index 14h .......................................................................... 63 Voltage1 Interrupt Status Register ⎯ Index 15h ....................................................................... 63 Voltage1 Exceeds Real Time Status Register 1 ⎯ Index 16h ................................................... 63 Voltage1 BEEP Enable Register ⎯ Index 17h .......................................................................... 64 Voltage Protection Power Good Select Register ⎯ Index 3Fh ................................................. 64 Voltage reading and limit⎯ Index 20h- 3Ah .............................................................................. 64 6.4.2.5 Fan Control Setting ................................................................................................. 65 FAN PME# Enable Register ⎯ Index 90h ................................................................................. 65 FAN Interrupt Status Register ⎯ Index 91h .............................................................................. 65 FAN Real Time Status Register ⎯ Index 92h ............................................................................ 65 FAN BEEP# Enable Register ⎯ Index 93h ............................................................................... 66 FAN Type Select Register ⎯ Index 94h (FAN_PROG_SEL = 0) .............................................. 66 Fan1 Base Temperature Register – Offset 94h (FAN_PROG_SEL = 1) ................................... 67 FAN1 Temperature Adjustment Rate Register ⎯ Index 95h (FAN_PROG_SEL = 1)................ 67 FAN mode Select Register ⎯ Index 96h (FAN_PROG_SEL = 0) ............................................. 68 FAN mode Select Register ⎯ Index 96h (FAN_PROG_SEL = 1) ............................................. 69 Faster Fan Filter Control Register ⎯ Index 97h ........................................................................ 69 Auto FAN1 and FAN2 Boundary Hystersis Select Register ⎯ Index 98h ................................. 70 Auto FAN3 Boundary Hystersis Select Register ⎯ Index 99h .................................................. 70 Fan3 Control Register ⎯ Index 9Ah.......................................................................................... 70 Auto Fan Up Speed Update Rate Select Register ⎯ Index 9Bh (FAN_PROG_SEL = 0) ......... 71 Auto Fan Down Speed update Rate Select Register ⎯ Index 9Bh (FAN_PROG_SEL = 1) ..... 71 FAN1 and FAN2 START UP DUTY-CYCLE/VOLTAGE ⎯ Index 9Ch ....................................... 72 FAN3 START UP DUTY-CYCLE/VOLTAGE ⎯ Index 9Dh ........................................................ 72 FAN PROGRAMMABLE DUTY-CYCLE/VOLTAGE LOADED AFTER POWER-ON ⎯ Index 9Eh .. 73 Fan Fault Time Register ⎯ Index 9Fh....................................................................................... 73 A. FAN1 Index A0h~AFh ............................................................................................................ 73 VT1 BOUNDARY 1 TEMPERATURE – Index A6h .................................................................... 74 VT1 BOUNDARY 2 TEMPERATURE – Index A7 ...................................................................... 74 VT1 BOUNDARY 3 TEMPERATURE – Index A8h .................................................................... 75 VT1 BOUNDARY 4 TEMPERATURE – Index A9 ...................................................................... 75 FAN1 SEGMENT 1 SPEED COUNT – Index AAh..................................................................... 75 FAN1 SEGMENT 2 SPEED COUNT – Index ABh..................................................................... 75 FAN1 SEGMENT 3 SPEED COUNT Register – Index ACh ...................................................... 76 Jan, 2012
V0.12P
F81866A
FAN1 SEGMENT 4 SPEED COUNT Register – Index ADh ...................................................... 76 FAN1 SEGMENT 5 SPEED COUNT Register – Index AEh ...................................................... 76 FAN1 Temperature Mapping Select – Index AFh....................................................................... 76 B. FAN2 Index B0h~BFh ............................................................................................................ 77 VT2 BOUNDARY 1 TEMPERATURE – Index B6h .................................................................... 78 VT2 BOUNDARY 2 TEMPERATURE – Index B7 ...................................................................... 78 VT2 BOUNDARY 3 TEMPERATURE – Index B8h .................................................................... 79 VT2 BOUNDARY 4 TEMPERATURE – Index B9 ...................................................................... 79 FAN2 SEGMENT 1 SPEED COUNT – Index BAh .................................................................... 79 FAN2 SEGMENT 2 SPEED COUNT – Index BBh .................................................................... 79 FAN2 SEGMENT 3 SPEED COUNT Register – Index BCh ...................................................... 80 FAN2 SEGMENT 4 SPEED COUNT Register – Index BDh ...................................................... 80 FAN2 SEGMENT 5 SPEED COUNT Register – Index BEh ...................................................... 80 FAN2 Temperature Mapping Select – Index BFh ...................................................................... 80 C. FAN3 Index C0h- CFh ............................................................................................................ 81 VT3 BOUNDARY 1 TEMPERATURE – Index C6h.................................................................... 82 VT3 BOUNDARY 2 TEMPERATURE – Index C7...................................................................... 82 VT3 BOUNDARY 3 TEMPERATURE – Index C8h.................................................................... 83 VT3 BOUNDARY 4 TEMPERATURE – Index C9h.................................................................... 83 FAN3 SEGMENT 1 SPEED COUNT – Index CAh .................................................................... 83 FAN3 SEGMENT 2 SPEED COUNT – Index CBh .................................................................... 83 FAN3 SEGMENT 3 SPEED COUNT
– Index CCh................................................................ 84 FAN3 SEGMENT 4 SPEED COUNT
– Index CDh................................................................ 84 FAN3 SEGMENT 5 SPEED COUNT
– Index CEh ................................................................ 84 FAN3 Temperature Mapping Select – Index CFh ...................................................................... 84 6.5Keyboard Controller ..................................................................................................................... 85 Commands………………………………………………………………………………………………86 PS/2 wakeup function ................................................................................................................ 88 6.6GPIO……….. ................................................................................................ ……………………..88 6.6.1 GPIO Access Method ................................................................................................. 88 6.6.2 GPIOxx status ............................................................................................................ 90 6.6.2.1 GPIO0x ................................................................................................................... 90 6.6.2.2 GPIO1x ................................................................................................................... 91 6.6.2.3 GPIO2x ................................................................................................................... 91 6.6.2.4 GPIO3x ................................................................................................................... 91 6.6.2.5 GPIO4x ................................................................................................................... 92 6.6.2.6 GPIO5x ................................................................................................................... 92 Jan, 2012
V0.12P
F81866A
6.6.2.7 GPIO6x ................................................................................................................... 92 6.6.2.8 GPIO7x ................................................................................................................... 93 6.6.2.9 GPIO8x ................................................................................................................... 93 6.7 Watchdog Timer Function ....................................................................................... 93 6.8 ACPI Function ......................................................................................................... 94 6.8.1 Power Control............................................................................................................. 95 6.8.1.1 Wake Up Via Sleep State ........................................................................................ 95 6.8.1.2 Wake Up Stage Detection ....................................................................................... 95 6.8.1.3 AC Loss & Resume Control Methods ..................................................................... 96 6.8.2 Intel Power Saving Function Deep Sleep Well (DSW) ............................................... 97 6.8.3 Power Saving Controller (Fintek ERP Mode) ............................................................. 99 6.8.4 ACPI Timing ............................................................................................................. 103 6.8.4.1 G3 To S0 ............................................................................................................... 103 6.8.4.2 G3 To S0 (only DSW) ............................................................................................ 104 6.8.4.3 G3 To S0 (DSW & ERP, AC Resume Green Bold Line) ........................................ 105 6.8.4.4 DSW To S0............................................................................................................ 106 6.8.4.5 S0 to DSW ............................................................................................................ 107 6.8.4.6 S0 to G3’ ............................................................................................................... 108 6.8.5 6.9 PWOK Signals.......................................................................................................... 109 UART…………. .................................................................................................................... 109 6.9.1 UART Device Register .......................................................................................... 109 6.9.2 Programmable Baud Rate..................................................................................... 113 6.10 AMD TSI and Intel PECI 3.0 Functions ................................................................................ 114 6.11 Over Voltage Protection ....................................................................................................... 115 7. Register Description ................................................................................................... 116 7.1 Global Control Registers ...................................................................................................... 116 7.2 Multifunction Function Register Mapping Table ................................................................... 124 7.2.1 Multi Function Register Mapping For FDC ............................................................... 124 7.2.2 Multi Function Register Mapping For Parallel Port (LPT) ......................................... 125 7.2.3 Multi Function Register Mapping For Hardware Monitor .......................................... 125 7.2.4 Multi Function Register Mapping For KBC (PS/2 Mouse) ........................................ 126 7.2.5 Multi Function Register Mapping For GPIO0x .......................................................... 126 7.2.6 Multi Function Register Mapping For GPIO1x .......................................................... 126 7.2.7 Multi Function Register Mapping For GPIO2x .......................................................... 127 7.2.8 Multi Function Register Mapping For GPIO3x .......................................................... 127 7.2.9 Multi Function Register Mapping For GPIO4x .......................................................... 128 7.2.10 Multi Function Register Mapping For GPIO5x .......................................................... 128 Jan, 2012
V0.12P
F81866A
7.2.11 Multi Function Register Mapping For GPIO6x .......................................................... 128 7.2.12 Multi Function Register Mapping For GPIO7x .......................................................... 129 7.2.13 Multi Function Register Mapping For GPIO8x .......................................................... 129 7.2.14 Multi Function Register Mapping For WDT .............................................................. 129 7.2.15 Multi Function Register Mapping For ERP, LED ...................................................... 129 7.2.16 Multi Function Register Mapping For IR ................................................................... 130 7.2.17 Multi Function Register Mapping For I2C ................................................................. 130 7.2.18 Multi Function Register Mapping For UART 1 & UART 2 ........................................ 131 7.2.19 Multi Function Register Mapping For UART 3 .......................................................... 131 7.2.20 Multi Function Register Mapping For UART 4 .......................................................... 131 7.2.21 Multi Function Register Mapping For UART 5 .......................................................... 131 7.2.22 Multi Function Register Mapping For UART 6 .......................................................... 132 7.3 FDC Device Configuration Registers (LDN CR00) .............................................................. 132 7.3.1 FDC Device Enable Register ⎯ Index 30h .............................................................. 132 7.3.2 Base Address High Register ⎯ Index 60h ............................................................... 132 7.3.3 Base Address Low Register ⎯ Index 61h ................................................................ 132 7.3.4 IRQ Channel Select Register ⎯ Index 70h .............................................................. 133 7.3.5 DMA Channel Select Register ⎯ Index 74h ............................................................. 133 7.3.6 FDD Mode Register ⎯ Index F0h ............................................................................ 133 7.3.7 FDD Drive Type Register ⎯ Index F2h .................................................................... 133 7.3.8 FDD Selection Register ⎯ Index F4h....................................................................... 133 7.4 Parallel Port Device Configuration Registers (LDN CR03) .................................................. 134 7.4.1 Parallel Port Device Enable Register ⎯ Index 30h .................................................. 135 7.4.2 Base Address High Register ⎯ Index 60h ............................................................... 135 7.4.3 Base Address Low Register ⎯ Index 61h ................................................................ 135 7.4.4 IRQ Channel Select Register ⎯ Index 70h .............................................................. 135 7.4.5 DMA Channel Select Register ⎯ Index 74h ............................................................. 135 7.4.6 PRT Mode Select Register ⎯ Index F0h .................................................................. 135 7.5 Hardware Device Configuration Registers (LDN CR04) ...................................................... 136 7.5.1 Hardware Monitor Device Enable Register ⎯ Index 30h ......................................... 136 7.5.2 Base Address High Register ⎯ Index 60h ............................................................... 136 7.5.3 Base Address Low Register ⎯ Index 61h ................................................................ 136 7.5.4 IRQ Channel Select Register ⎯ Index 70h .............................................................. 136 7.6 KBC Registers (CR05) ......................................................................................................... 137 7.6.1 KBC Device Enable Register ⎯ Index 30h .............................................................. 137 7.6.2 Base Address High Register ⎯ Index 60h ............................................................... 137 7.6.3 Base Address Low Register ⎯ Index 61h ................................................................ 137 Jan, 2012
V0.12P
F81866A
7.6.4 KB IRQ Channel Select Register ⎯ Index 70h ........................................................ 137 7.6.5 Mouse IRQ Channel Select Register ⎯ Index 72h .................................................. 137 7.6.6 PS/2 Swap Register ⎯ Index FEh (Powered by VBAT) ........................................... 137 7.7 GPIO Registers (CR06) ....................................................................................................... 138 7.8 WDT Device Configuration Registers (LDN CR07) .............................................................. 166 7.9 PME, ACPI and ERP Device Configuration Registers (LDN CR0A) .................................... 168 7.10 UART1 Device Configuration Registers (LDN CR10) .......................................................... 178 7.11 UART2 Device Configuration Registers (LDN CR11) .......................................................... 180 7.12 UART3 Device Configuration Registers (LDN CR12) .......................................................... 183 7.13 UART4 Device Configuration Registers (LDN CR13) .......................................................... 186 7.14 UART5 Device Configuration Registers (LDN CR14) .......................................................... 189 7.15 UART6 Device Configuration Registers (LDN CR15) .......................................................... 192 8. 9. 10. 11. 12. Electrical Characteristics ............................................................................................ 197 Ordering Information ................................................................................................... 200 Top Marking Specification ........................................................................................... 200 Package Dimensions .................................................................................................. 201 Application Circuit ....................................................................................................... 202 Jan, 2012
V0.12P
F81866A
1. General Description
The F81866A is the featured IO chip for Industrial PC system. Equipped with one IEEE
1284 parallel port, 6 UART ports with Multi drop function (9-bit protocol), SIR, ACPI
management function and FDC. Each UART provides 16/32/64/128 bytes FIFO. The UART
supports legacy speeds up to 115.2K bps as well as even higher baud rates of 230K, 460K,
or 921K bps to support higher speed modems. The F81866A supports the enhanced parallel
port (EPP) and the extended capabilities port (ECP). The F81866A supports keyboard and
mouse interface which is 8042-based keyboard controller. The F81866A integrated with
hardware monitor, 7 sets of voltage sensor, 3 sets of creative auto-controlling smart fans
and 2 temperature sensor pins for the accurate dual current type temperature measurement
for CPU thermal diode or external transistors 2N3906 and one local temperature.
The F81866A provides flexible features for multi-directional application. For instance,
supports 72 GPIO pins, IRQ sharing function designed in UART feature for particular usage
and accurate current mode H/W monitor will be worth in measurement of temperature.
Others, the F81866A supports newest Intel PECI 3.0 interfaces for new generational CPU
temperature usage, INTEL IBX PEAK, I2C and AMD TSI for temperature reading.
In order to save the current consumption when the system is in the soft off state which
is so called power saving function. The power saving function supports the system boot-on
not only by pressing the power button but also by the wake-up events via GPIO0x, GPIO1x,
RI1#, and RI2#. When the system enters the S3/S4/S5 state, F81866A can cut off the VSB
power rail which supplies power source to the devices like the LAN chip, the chipset, the
SIO, the audio codec, DRAM, and etc. The PC system can be emulated to G3-like state
when the system enters S3/S4/S5 states. At the G3-like state, the F81866A consumes
5VSB power rail only. The integrated two control pins are utilized to turn on or off VSB
power rail in the G3-like status. The turned on VSB rail is supplied to a wake up device to
fulfill a low power consumption system which supports a wake up function.
These features as above description will help you more and improve the product value.
The F81866A is in the package of 128-LQFP. (14mm*14mm)
2. Features
General Functions
¾ Comply with LPC 1.1
¾ Support ACPI 3.0
¾ Support WDT Reset Function
¾ Support WDT wake up while ERP function is enabled
¾ Provide 4 sets of GPIO (GPIO0x/1x/5x/8x) SMI event via PME# or SIRQ
11
Jan, 2012
V0. 12P
F81866A
¾ Provide different SIRQ channels for GPIO0x/1x/5x/8x
¾ Provide one FDC, KBC and Parallel Port
¾ Provide 6 fully functional UART and 1 SIR
9Programmable 16/32/64/128 bytes FIFO
9Multi drop function
9Support IRQ Sharing function.
9Provide auto flow control function
¾ H/W monitor functions
9Support OVP & UVP for 3VCC and VIN2&3
9Support smart fan FQST for FAN 1
9Support PECI 3.0
9Support IBX PCH temperature reading via I2C
9Support AMD TSI
¾ 72 GPIO Pins for flexible application
¾ Support LED blinking function
¾ Provide Power Saving Function (Comply ERP lot 6.0)
¾ Support Intel Deep Sleep Well (DSW) Timing Sequence
¾ Provide wake-up events via power button, GPIO0x, GPIO1x, RI1#, and RI2#
¾ Provide ATX emulates AT function
¾ 14.318/24/48 MHz clock input
¾ Packaged in 128-LQFP
FDC
¾ Compatible with IBM PC AT disk drive systems
¾ Variable write pre-compensation with track selectable capability
¾ Support vertical recording format
¾ DMA enable logic
¾ 16-byte data FIFOs
¾ Support floppy disk drives and tape drives
¾ Detects all overrun and under run conditions
¾ Built-in address mark detection circuit to simplify the read electronics
¾ Completely compatible with industry standard 82077
¾ 360K/720K/1.2M/1.44M/2.88M format; 250K, 300K, 500K, 1M, 2M bps data transfer rate
Parallel Port
¾ One PS/2 compatible bi-directional parallel port
¾ Support Enhanced Parallel Port (EPP) − Compatible with IEEE 1284
¾ Support Extended Capabilities Port (ECP) − Compatible with IEEE 1284
12
Jan, 2012
V0. 12P
F81866A
¾ Enhanced printer port back-drive current protection
Hardware Monitor Functions
¾ 2 dual current type (±3ºC) thermal inputs for CPU thermal diode and 2N3906 transistors
¾ Provide one local temperature
¾ Support temperature monitoring via thermistor
¾ Temperature range: -60ºC~127ºC
¾ 8 sets voltage monitoring (4 external and 4 internal powers)
¾ High limit signal (PME#) for Vcore
¾ 3 fan speed monitoring inputs
¾ 3 fan speed PWM/DC control outputs
¾ FANCTL 1~3 provides 4 frequency (23.5/11.75/5.875KHz, & 200Hz) select via the
registers
¾ Issue PME# and OVT# hardware signals output
¾ Case intrusion detection circuit
Support PECI 3.0
I2C Interface
¾Support slave interface to report the hardware monitor data
¾Support master interface to get the thermal data via PCH & MXM module
Support AMD TSI Interface
Keyboard Controller
¾ compatibility with the 8042
¾ Support PS/2 mouse
¾ Hardware Gate A20 and Hardware Keyboard Reset
¾ Support KB, Mouse wake up and swap function
GPIO Function
¾ Total 72 pins GPIO
¾ Interrupt status (wake up) support via GPIO0x and GPIO1x
¾ Support different SIRQ channels via GPIO0x, GPIO1x, GPIO5x and GPIO8x
¾ All GPIO supports digit IO for Input/Output control, Output data control, input status.
¾ Support High/Low Level/Pulse, Open Drain/Push Pull function selection
¾ All GPIO could be accessed via 3 ways: configuration register port (4E/2E), index/data
port and directly access to GPIO only (digital I/O). Please refer to the GPIO function
description for detail.
13
Jan, 2012
V0. 12P
F81866A
Watch Dog Timer
¾ Time resolution minute/second
¾ Maximum 256 minutes or 256 seconds
¾ Output signal via WDTRST#/PWOK
¾ WDT could also wake up PME#, PSWOUT#
Power Saving Function
¾ G3-like Timing Control
¾ Comply With ERP Lot 6.0
¾ Built in Soft Start Function for Two Control Pins with VSB Power Sources Control.
¾ Event In via GPIO0x, GPIO1x, RI1#, and RI2#
Support Intel Cougar Point Timing (DSW)
UART
¾ Provide 6 fully functional UART
¾ 6 high-speed 16C550/16C650/16C750/16C850 compatible UARTs
¾ Provide auto flow control function
¾ Baud rate supports 115.2K, max. up to 1.5M
¾ Support IRQ 3,4,5,6,7,8,9,10,11 sharing
¾ Provide Multi drop (9-bits) Function for Gaming Machine
¾ Support IrDA version 1.0 SIR protocol (Multi with UART 6)
¾ Support Ring-In Wake Up via RI1# and RI2#
Infrared
¾ Support IrDA version 1.0 SIR protocol with maximum baud rate up to 115.2K bps
(Multi with UART 6)
Provide ATX Emulates AT Function
Package
¾ 128-pin LQFP (14mm * 14mm) green package
Noted: Patented TW207103 TW207104 TW220442 US6788131 B1 TWI235231 TW237183
TWI263778
14
Jan, 2012
V0. 12P
F81866A
3. Block Diagram
CPU
Chipset
F81866A
Temperature
KBC
Voltage
Parallel
Fan
ACPI
SATA
USB
AC’97
PECI 3.0
AMD TSI
Power
Saving
GPIO
Floppy
UART
IBX PCH
15
Jan, 2012
V0. 12P
F81866A
4. Pin Configuration
16
Jan, 2012
V0. 12P
F81866A
5. Pin Description
I/O16st
Ilv/OD8, 1v
I/OOD12st, 5v
I/OOD14st,5v
I/OOD8st,5v
I/OD16st,5v
OD16,u10
I/O12st,5v
O8
O12
O14
O16
OOD12,5v
AOUT
OD12,5v
OD14,5v
OD24t,5v
I/OD12st,5v
I/O8st, 5v
INst,lv
INt,5v
INst
INst,5v
INt, u47,5v
AIN
P
5.1
- TTL level bi-directional pin with schmitt trigger, 16mA source/sink capability.
- Low level bi-directional pin. Outupt with 8 mA drive and 1mA sink capability.
- TTL level bi-directional pin, output can be selected to open drian or push pull by the
register, with 12 mA source/sink capability, 5V tolerance.
- TTL level bi-directional pin with schmitt trigger, output can be selected to open drian or
push pull by the register, with 14 mA source/sink capability, 5V tolerance.
- TTL level bi-directional pin, output can be selected to open drian or push pull by register,
with 8 mA source/sink capability, 5V tolerance.
- TTL level bi-directional pin with schmitt trigger, open drain output with 16 mA sink
capability, 5V tolerance.
- Open drain output pin with 16 mA sink capability, pull-up 10k Ω .
- TTL level bi-directional pin with schmitt trigger,12 mA sink capability, 5V tolerance.
- Output pin with 8 mA source/sink capability.
- Output pin with 12 mA source/sink capability.
- Output pin with 14 mA source/sink capability.
- Output pin with 16 mA source/sink capability.
- Open drian or push pull by the register, with 12 mA source/sink capability, 5V tolerance.
- Analog output pin.
- Open-drain output pin with 12 mA sink capability, 5V tolerance.
- Open-drain output pin with 14 mA sink capability, 5V tolerance.
- TTL level Open-drain output pin with 24 mA sink capability, 5V tolerance.
- TTL level bi-directional pin with schmitt trigger, open drain output with 12mA source-sink
capability, 5V tolerance.
- TTL level bi-directional pin with schmitt trigger, 8 mA sink capability, 5V tolerance.
- Low voltage, TTL level input pin with schmitt trigger.
- TTL level input pin,5V tolerance.
- TTL level input pin with schmitt trigger.
- TTL level input pin with schmitt trigger, 5V tolerance.
- TTL level input pin, pull-up 47k Ω , 5V tolerance.
- Analog Input pin.
- Power.
Power Pin
Pin
31, 119
Pin Name
3VCC
Type
P
60
I_VSB3V
P
84
73
97
88
22, 128
VBAT
5VSB (V5A)
3VSB
AGND
GND
P
P
P
P
P
Description
Power supply voltage input with 3.3V.
3.3V internal standby power regulates from 5VSB for
internal circuit usage. Strongly recommend to place
0.1uF for the compensation.
Battery voltage. Place 1000pF for the monitoring.
5V standby power supply.
Analog Power with 3.3V standby.
Analog GND.
Digital GND.
17
Jan, 2012
V0. 12P
F81866A
5.2
Clock
Pin
32
Pin Name
PCICLK
Type
INst
PWR
3VCC
33
CLKIN
INst
3VCC
5.3
LPC Interface
Pin
Pin Name
Type
PWR
23
LRESET#
INst
3VCC
24
25
LDRQ#
SERIRQ
O16
I/O16st
3VCC
3VCC
26
LFRAME#
INst
3VCC
27-30
LAD[0:3]
I/O16st
3VCC
32
PCICLK
INst
3VCC
5.4
Pin
Pin Name
Type
GPIO50
I/OOD14st, 5v
DENSEL#
11
12
Description
Reset signal. It can connect to PCIRST# signal on the
host.
Encoded DMA Request signal.
Serial IRQ input/Output.
Indicates start of a new cycle or termination of a broken
cycle.
These signal lines communicate address, control, and
data information over the LPC bus between a host and
a peripheral.
33MHz PCI clock input.
FDC, & GPIO
PWR
Description
General Purpose IO.
Drive Density Select.
Set to 1 – High data rate.(500Kbps, 1Mbps)
Set to 0 – Low data rate. (250Kbps, 300Kbps)
UART Request To Send. An active low signal
informs the modem or data set that the controller is
ready to send data.
General Purpose IO.
Motor A On. When set to 0, this pin enables disk
drive 0. This is an open drain output.
UART Serial Input. Used to receive serial data
through the communication link.
General Purpose IO.
Drive Select A. When set to 0, this pin enables disk
drive A. This is an open drain output.
UART Serial Output. Used to transmit serial data
out to the communication link.
General Purpose IO.
Write data. This logic low open drain writes
pre-compensation serial data to the selected FDD.
An open drain output.
OD14,5v
9
10
Description
33MHz PCI clock input.
System clock input. According to the input frequency
14.318/24/48MHz (default 48MHz).
3VCC
RTS6#
O14
GPIO51
I/OOD14st, 5v
MOA#
OD14,5v
SIN6
INst,5v
GPIO52
I/OOD14st, 5v
DRVA#
OD14,5v
SOUT6
O14
GPIO53
I/OOD14st, 5v
WDATA#
OD14,5v
DCD6#
INst,5v
3VCC
3VCC
3VCC
Data Carrier Detect. An active low signal indicates
18
Jan, 2012
V0. 12P
F81866A
the modem or data set has detected a data carrier.
GPIO54
I/OOD14st, 5v
DIR#
OD14,5v
13
14
3VCC
RI6#
INst,5v
GPIO55
I/OOD14st, 5v
STEP#
OD14,5v
CTS6#
INst,5v
GPIO56
I/OOD14st, 5v
HDSEL#
DTR6#
O14
GPIO57
I/OOD14st, 5v
WGATE#
OD14,5v
General Purpose IO.
Head select. This open drain output determines
which disk drive head is active.
Logic 1 = side 0
Logic 0 = side 1
UART Data Terminal Ready. An active low signal
informs the modem or data set that controller is
ready to communicate.
General Purpose IO.
Write enable. An open drain output.
3VCC
DSR6#
INst,5v
GPIO60
RDATA#
I/OOD12st, 5v
DCD5#
INst,5v
GPIO61
I/OOD12st, 5v
TRK0#
INst,5v
INst,5v
18
20
Clear To Send is the modem control input.
3VCC
16
19
3VCC
OD14,5v
15
17
General Purpose IO.
Direction of the head step motor. An open drain
output.
Logic 1 = outward motion
Logic 0 = inward motion
Ring Indicator. An active low signal indicates that a
ring signal is being received from the modem or data
set.
General Purpose IO.
Step output pulses. This active low open drain output
produces a pulse to move the head to another track.
Data Set Ready. An active low signal indicates the
modem or data set is ready to establish a
communication link and transfer data to the UART.
General Purpose IO.
The read data input signal from the FDD.
Data Carrier Detect. An active low signal indicates
the modem or data set has detected a data carrier.
3VCC
General Purpose IO.
Track 0. This Schmitt-triggered input from the disk
drive is active low when the head is positioned over
the outermost track.
Ring Indicator. An active low signal indicates that a
ring signal is being received from the modem or data
set.
General Purpose IO.
This Schmitt-triggered input from the disk drive is
active low when the head is positioned over the
beginning of a track marked by an index hole.
3VCC
RI5#
INst,5v
GPIO62
I/OOD12st, 5v
INDEX#
INst,5v
CTS5#
INst,5v
GPIO63
I/OOD12st, 5v
WPT#
INst,5v
3VCC
Clear To Send is the modem control input.
General Purpose IO.
Write protected. This active low Schmitt input from
the disk drive indicates that the diskette is
write-protected.
3VCC
19
Jan, 2012
V0. 12P
F81866A
DTR5#
O12
GPIO64
I/OOD12st, 5v
DSKCHG#
INst,5v
21
3VCC
DSR5#
5.5
Pin
102
103
UART Data Terminal Ready. An active low signal
informs the modem or data set that controller is
ready to communicate.
General Purpose IO.
Diskette change. This signal is active low at power
on and whenever the diskette is removed.
Data Set Ready. An active low signal indicates the
modem or data set is ready to establish a
communication link and transfer data to the UART.
INst,5v
Parallel Port (LPT Port), & GPIO
Pin Name
FANIN3
Type
INst,5v
SLCT
INst,5v
GPIO70
I/OOD12st, 5v
PE
INst,5v
FANCTL3
OOD12,5v
AOUT
PWR
3VCC
3VCC
Description
Fan 3 tachometer input.
An active high input on this pin indicates that the
printer is selected. Refer to the description of the
parallel port for definition of this pin in ECP and EPP
mode.
General purpose IO.
An active high input on this pin indicates that the
printer has detected the end of the paper. Refer to the
description of the parallel port for the definition of this
pin in ECP and EPP mode.
Fan 3 control output. This pin provides PWM
duty-cycle output or a DAC voltage output.
Power on Strapping pin:
104
105
106
107
PWM _DAC3
INst,5v
GPIO71
I/OOD12st, 5v
BUSY
INst,5v
GPIO72
I/OOD12st, 5v
ACK#
INst,5v
GPIO73
I/OOD12st, 5v
SLIN#
I/OOD12st,5v
GPIO74
I/OOD12st, 5v
INIT#
I/OOD12st,5v
1: PWM mode.
3VCC
3VCC
3VCC
3VCC
0: Default is DAC mode for FANCTL3 (internal pull
down 100k Ω ).
General purpose IO.
An active high input indicates that the printer is not
ready to receive data. Refer to the description of the
parallel port for definition of this pin in ECP and EPP
mode.
General purpose IO.
An active low input on this pin indicates that the
printer has received data and is ready to accept more
data. Refer to the description of the parallel port for
the definition of this pin in ECP and EPP mode.
General purpose IO.
Output line for detection of printer selection. Refer to
the description of the parallel port for the definition of
this pin in ECP and EPP mode.
General purpose IO.
Output line for the printer initialization. Refer to the
description of the parallel port for the definition of this
20
Jan, 2012
V0. 12P
F81866A
108
109
110
111
112
113
GPIO76
I/OOD12st, 5v
AFD#
I/OOD12st,5v
GPIO77
I/OOD12st, 5v
STB#
I/OOD12st,5v
GPIO80
I/OOD12st, 5v
PD0
I/O12st,5v
GPIO81
I/OOD12st, 5v
PD1
GPIO82
I/O12st,5v
PD5
GPIO86
117
118
5.6
75
INst,5v
PD4
GPIO85
116
72
ERR#
PD3
GPIO84
115
71
I/OOD12st, 5v
PD2
GPIO83
114
Pin
GPIO75
I/OOD12st, 5v
I/O12st,5v
I/OOD12st, 5v
I/O12st,5v
I/OOD12st, 5v
I/O12st,5v
I/OOD12st, 5v
I/O12st,5v
I/OOD12st, 5v
I/O12st,5v
PD6
GPIO87
I/OOD12st, 5v
PD7
I/O12st,5v
pin in ECP and EPP mode.
General purpose IO.
An active low input on this pin indicates that the
printer has encountered an error condition. Refer to
the description of the parallel port for the definition of
this pin in ECP and EPP mode.
General purpose IO.
An active low output from this pin causes the printer to
auto feed a line after a line is printed. Refer to the
description of the parallel port for the definition of this
pin in ECP and EPP mode.
General purpose IO.
3VCC
3VCC
An active low output is used to latch the parallel data
into the printer. Refer to the description of the parallel
port for the definition of this pin in ECP and EPP
mode.
General purpose IO.
Parallel port data bus bit 0. Refer to the description of
the parallel port for the definition of this pin in ECP
and EPP mode.
General purpose IO.
3VCC
3VCC
3VCC
Parallel port data bus bit 1.
General purpose IO.
Parallel port data bus bit 2.
General purpose IO.
Parallel port data bus bit 3.
General purpose IO.
3VCC
3VCC
3VCC
Parallel port data bus bit 4.
General purpose IO.
Parallel port data bus bit 5.
General purpose IO.
Parallel port data bus bit 6.
General purpose IO.
Parallel port data bus bit 7.
3VCC
3VCC
3VCC
Hardware Monitor, I2C, & GPIO
Pin Name
Type
BEEP
OD24t,5v
GPIO16
I/OOD12st,5v
SDA
Ilv/OD12st, 5v
PECI
Ilv /OD8, S1
GPIO17
I/OOD12st,5v
OVT#
OD12,5v
PWR
Description
Beep pin.
I_VSB3V
I_VSB3V
I_VSB3V
21
General purpose IO.
I2C Interface DATA pin. AMD TSI & Intel PCH (IBX
Peak) data pin.
PECI interface pin.
General purpose IO.
Over temperature signal output.
Jan, 2012
V0. 12P
F81866A
Alert a signal when temperature over limit setting.
General purpose IO.
I2C Interface CLOCK pin. Clock output for AMD TSI
& Intel PCH (IBX Peak).
Case Open Detection #. This pin is connected to a
specially designed low power CMOS flip-flop backed
by the battery for case open state preservation during
power loss.
Analog
GND
for
thermal
diode/transistor
temperature.
Thermal diode/transistor temperature sensor input.
ALERT#
GPIO20
OD12,5v
I/OOD24st,5v
SCL
Ilv/OD24st, 5v
85
COPEN#
INst,5v
VBAT
89
D-
AIN
3VSB
90
D2+
AIN
3VSB
91
D1+(CPU)
AIN
3VSB
92
VREF
AOUT
3VSB
93
VIN4
AIN
3VSB
94
VIN3
AIN
3VSB
95
VIN2
AIN
3VSB
96
VIN1 (Vcore)
AIN
3VSB
98
FANIN1
INst,5v
3VCC
FANCTL1
OOD12,5v
AOUT
Fan 1 tachometer input.
Fan 1 control output. This pin provides PWM
duty-cycle output or a DAC voltage output (internal
pull down 100k Ω , default).
3VCC
Power on Strapping pin:
76
99
100
PWM _DAC1
INst,5v
FANIN2
INst,5v
FANCTL2
OOD 12,5v
AOUT
I_VSB3V
CPU thermal diode/transistor temperature sensor
input. This pin is for CPU use.
Voltage reference output.
Voltage Input 4.
Voltage Input 3. Support OVP & UVP function, and
default is disable alarm mode.
Voltage Input 2. Support OVP & UVP function, and
default is disable alarm mode.
Voltage Input for Vcore.
1: PWM mode.
0: Default is DAC mode for FANCTL1 (internal pull
down 100k Ω ).
Fan 2 tachometer input.
Fan 2 control output. This pin provides PWM
duty-cycle output or a DAC voltage output (internal
pull down 100k Ω , default).
3VCC
Power on Strapping pin:
3VCC
101
PWM _DAC2
5.7
1: PWM mode.
INst,5v
0: Default is DAC mode for FANCTL2 (internal pull
down 100k Ω ).
KBC & I2C Function
Pin
Pin Name
Type
PWR
34
KBRST#
OD16,u10
3VCC
35
GA20
OD16,u10
3VCC
63
KDATA
I/OD16st,5V
I_VSB3V
Description
Keyboard reset. This pin is high after system reset.
Internal pull high 3.3V with 10k Ω .
Gate A20 output. This pin is high after system
reset. Internal pull high 3.3V with 10k Ω .
PS/2 Keyboard Data.
64
KCLK
I/OD16st,5V
I_VSB3V
PS/2 Keyboard Clock.
22
Jan, 2012
V0. 12P
F81866A
MDATA
61
62
5.8
Pin
PS/2 Mouse Data.
I/OD16st,5V
SCL
Ilv/OD16st, 5v
MCLK
I/OD16st,5V
SDA
Ilv/OD16st, 5v
I_VSB3V
I2C Interface CLOCK pin. Clock output for AMD
TSI & Intel PCH (IBX Peak).
PS/2 Mouse Clock.
I2C Interface DATA pin. AMD TSI & Intel PCH (IBX
Peak) data pin.
I_VSB3V
ACPI, ERP, SIR & GPIO
Pin Name
Type
PWR
Description
Standby power rail control pin 0. This pin controls an
external PMOS to turn on or off the standby power
52
ERP_CTRL0#
GPIO00
OD12,5V
I_VSB3V
rail.
In the S5 state, the default is set to 1 to cut off the
standby power rail.
General purpose IO.
I/OOD12st,5v
Standby power rail control pin 1. This pin controls an
external PMOS to turn on or off the standby power
53
54
55
56
57
58
59
65
ERP_CTRL1#
OD12,5V
GPIO01
I/OOD12st,5v
SUS_WARN#
INst
GPIO02
I/OOD12st,5v
SUS_ACK#
OD12,5v
GPIO03
I/OOD12st,5v
SLP_SUS#
INst,lv
GPIO04
I/OOD12st,5v
GPIO05
I/OOD12st,5v
SOUT5
O12
GPIO06
I/OOD12st,5v
SIN5
INt,5v
GPIO07
I/OOD12st,5v
RTS5#
O12
GPIO10
I/OOD12st,5v
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
rail.
In the S5 state, the default is set to 1 to cut off the
standby power rail.
General purpose IO.
This pin asserts low when the PCH is planning to
enter the DSW power state. It can detect 5VDUAL
level with delay setting supported. The delay time is
1ms~8S (default 4s)
General purpose IO.
This pin must wait SUSWARN# signal for entering
DSW power state.
General purpose IO.
This pin asserts low which comes from PCH to shut
off suspend power rails externally to enhance power
saving function.
General purpose IO.
General purpose IO.
UART Serial Output. Used to transmit serial data out to
the communication link.
General purpose IO.
I_VSB3V
I_VSB3V
I_VSB3V
UART Serial Input. Used to receive serial data
through the communication link.
General purpose IO.
UART Request To Send. An active low signal informs
the modem or data set that the controller is ready to
send data.
General purpose IO.
23
Jan, 2012
V0. 12P
F81866A
66
67
68
69
70
74
77
78
79
80
81
82
83
86
LED_VSB
OOD12,5V
GPIO11
I/OOD12st,5v
LED_VCC
OOD12,5V
SCL
Ilv/OD12st, 5v
GPIO12
I/OOD12st,5v
IRTX
O12
SDA
Ilv/OD12st, 5v
GPIO13
I/OOD12st,5v
IRRX
INst,5v
GPIO14
I/OOD12st,5v
ATX_AT_TRAP
INt,5v
WDTRST#
GPIO15
OD12,5v
I/OOD12st,5v
PME#
OD12,5v
GPIO65
ATXPG_IN
GPIO21
PWSIN#
GPIO22
I/OOD12st,5v
INst,5v
I/OOD12st,5v
INst,5v
I/OOD12st,5v
PWSOUT#
OD12,5V
GPIO23
S3#
GPIO24
I/OOD12st,5v
INst,5v
I/OOD12st,5v
PS_ON#
OD12,5v
GPIO25
I/OOD12st,5v
PWOK
OD12,5V
GPIO26
I/OD12st,5v
RSMRST#
OD12,5V
GPIO27
I/OD12st,5v
DPWROK
OD12,5v
GPIO66
I/OD12st,5v
Power LED for VSB.
I_VSB3V
General purpose IO.
Power LED for VCC.
I_VSB3V
I2C Interface CLOCK pin. Clock output for AMD TSI
& Intel PCH (IBX Peak).
General purpose IO.
I_VSB3V
SIR Data Infrared Transmitter Output. UART 6 can’t
be used if this function is valid.
I2C Interface DATA pin. AMD TSI & Intel PCH (IBX
Peak) data pin.
General purpose IO.
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
VBAT
VBAT
VBAT
SIR Data Infrared Receiver input. UART 6 can’t be
used if this function is valid.
General purpose IO.
Power on trapping: ATX emulates AT function
1: ATX mode (Default, internal pull high 47k Ω ).
0: AT mode.
Watch dog timer signal output.
General purpose IO.
Generated PME event. It supports the PCI PME#
interface. This signal allows the peripheral to request
the system to wake up.
General purpose IO.
ATX Power Good input.
General purpose IO.
Main power switch button input.
General purpose IO.
Panel Switch Output. This pin is low active and pulse
output. It is power on request output#.
General purpose IO.
S3# Input is Main power on-off switch input.
General purpose IO.
Power supply on-off control output. Connect to ATX
power supply PS_ON# signal.
General purpose IO.
PWOK function, It is power good signal of VCC,
which is delayed 400ms (default) as VCC arrives at
2.8V.
General purpose IO.
Resume Reset# function, It is power good signal of
3VSB, which is delayed 66ms as 3VSB arrives at
2.8V.
General purpose IO.
It is power good signal of 5VSB which is delayed
66ms as 5VSB arrives at 4.4V. Couple this pin to
PCH when system supports Intel DSW state function.
General purpose IO.
24
Jan, 2012
V0. 12P
F81866A
87
5.9
S5#
INst,5v
GPIO67
I/OD12st,5v
I_VSB3V
S5# input. This pin companies with S3# to indicate
the operating state from S0 to S3 and S4/S5 sleep
states.
General purpose IO.
UART, GPIO
Pin
Pin Name
Type
1
DCD2#
INst,5v
2
RI2#
INst,5v
3
CTS2#
INst,5v
DTR2#
PWR
Description
Data Carrier Detect. An active low signal indicates the
3VCC
modem or data set has detected a data carrier.
Ring Indicator. An active low signal indicates that a
I_VSB3V ring signal is being received from the modem or data
set. Support wake up function.
Clear To Send is the modem control input.
3VCC
UART Data Terminal Ready. An active low signal
informs the modem or data set that controller is ready
to communicate.
O8
Power on Strapping pin for over voltage protection
4
3VCC
OVP_Mode
(OVP).
1: Default is disabled; internal pull high 47k Ω .
INt,u47, 5v
Voltage protection function is enabled via setting the
related registers.
RTS2#
0: Enable OVP function.
UART Request To Send. An active low signal informs
the modem or data set that the controller is ready to
send data.
O8
5
3VCC
KBC_EN_TRAP
1: KBC enable (Default, internal pull high 47k Ω ).
INt,u47, 5v
6
DSR2#
INst,5v
3VCC
7
SOUT2
O8
3VCC
8
SIN2
INst,5v
3VCC
DCD3#
INst,5v
GPIO30
I/OOD8st, 5v
RI3#
INst,,5v
GPIO31
CTS3#
GPIO32
I/OOD8st, 5v
36
37
38
INst,5v
I/OOD8st, 5v
Power on Strapping pin
3VCC
3VCC
3VCC
0: KBC disable.
Data Set Ready. An active low signal indicates the
modem or data set is ready to establish a
communication link and transfer data to the UART.
UART Serial Output. Used to transmit serial data out
to the communication link.
UART Serial Input. Used to receive serial data
through the communication link.
Data Carrier Detect. An active low signal indicates the
modem or data set has detected a data carrier.
General Purpose IO.
Ring Indicator. An active low signal indicates that a
ring signal is being received from the modem or data
set.
General Purpose IO.
Clear To Send is the modem control input.
General Purpose IO.
25
Jan, 2012
V0. 12P
F81866A
39
40
41
42
43
44
45
46
47
48
49
50
51
DTR3#
O8
GPIO33
I/OOD8st, 5v
RTS3#
O8
GPIO34
I/OOD8st, 5v
DSR3#
INst,5v
GPIO35
I/OOD8st, 5v
SOUT3
O8
GPIO36
I/OOD8st, 5v
SIN3
INst,5v
GPIO37
I/OOD8st, 5v
DCD4#
INst,5v
GPIO40
I/OOD8st, 5v
RI4#
INst,5v
GPIO41
CTS4#
GPIO42
I/OOD8st, 5v
DTR4#
O8
GPIO43
I/OOD8st, 5v
RTS4#
O8
GPIO44
I/OOD8st, 5v
INst,5v
I/OOD8st, 5v
DSR4#
INst,5v
GPIO45
I/OOD8st, 5v
SOUT4
O8
GPIO46
I/OOD8st, 5v
SIN4
INst,5v
GPIO47
I/OOD8st, 5v
3VCC
3VCC
UART Data Terminal Ready. An active low signal
informs the modem or data set that controller is ready
to communicate.
General Purpose IO.
UART Request To Send. An active low signal informs
the modem or data set that the controller is ready to
send data.
General Purpose IO.
3VCC
3VCC
Data Set Ready. An active low signal indicates the
modem or data set is ready to establish a
communication link and transfer data to the UART.
General Purpose IO.
UART Serial Output. Used to transmit serial data out
to the communication link.
General Purpose IO.
3VCC
3VCC
3VCC
3VCC
3VCC
3VCC
3VCC
3VCC
3VCC
UART Serial Input. Used to receive serial data
through the communication link.
General Purpose IO.
Data Carrier Detect. An active low signal indicates the
modem or data set has detected a data carrier.
General Purpose IO.
Ring Indicator. An active low signal indicates that a
ring signal is being received from the modem or data
set.
General Purpose IO.
Clear To Send is the modem control input.
General Purpose IO.
UART Data Terminal Ready. An active low signal
informs the modem or data set that controller is ready
to communicate.
General Purpose IO.
UART Request To Send. An active low signal informs
the modem or data set that the controller is ready to
send data.
General Purpose IO.
Data Set Ready. An active low signal indicates the
modem or data set is ready to establish a
communication link and transfer data to the UART.
General Purpose IO.
UART Serial Output. Used to transmit serial data out
to the communication link.
General Purpose IO.
UART Serial Input. Used to receive serial data
through the communication link.
General Purpose IO.
26
Jan, 2012
V0. 12P
F81866A
120
DCD1#
INst,5v
121
RI1#
INst,5v
122
CTS1#
INst,5v
Data Carrier Detect. An active low signal indicates the
modem or data set has detected a data carrier.
Ring Indicator. An active low signal indicates that a
I_VSB3V ring signal is being received from the modem or data
set. Support wake up function.
Clear To Send is the modem control input.
3VCC
3VCC
DTR1#
O8
3VCC
FAN_40_100
INt,u47, 5v
3VCC
RTS1#
O8
3VCC
123
124
125
Power on strapping:
Config4E_2E
INt,u47, 5v
3VCC
DSR1#
INst,5v
3VCC
SOUT1
O8
126
3VCC
I2C_ADDR
127
UART Data Terminal Ready. An active low signal
informs the modem or data set that controller is ready
to communicate.
Power on strapping pin:
1(Default): (Internal pull high 47k Ω )
Power on fan speed default duty is 40%.(PWM)
0: (External pull down)
Power on fan speed default duty is 100%.(PWM)
UART Request To Send. An active low signal informs
the modem or data set that the controller is ready to
send data.
SIN1
INt,u47, 5v
INst,5v
3VCC
1(internal pull high 47k Ω ,Default) Configuration
register:4E/4F
0 Configuration register:2E/2F
Data Set Ready. An active low signal indicates the
modem or data set is ready to establish a
communication link and transfer data to the UART.
UART Serial Output. Used to transmit serial data out
to the communication link.
Power on strapping pin:
1: (internal pull high 47k Ω , default)
Power on I2C slave address is 0x5C.
0: (external pull down)
Power on I2C slave address is 0x5A.
UART Serial Input. Used to receive serial data
through the communication link.
27
Jan, 2012
V0. 12P
F81866A
6. Function Description
6.1 Power on Strapping Option
The F81866A provides eight pins for power on hardware strapping to select required functions. See
below table for the detail:
Pin No.
4
Symbol
OVP_Mode
Value
1
0
6.2
69
ATX_AT_TRAP
99
PWM_DAC1
101
PWM_DAC2
103
PWM_DAC3
123
FAN40_100
124
Config4E_2E
126
I2C_ADDR
1
0
1
0
1
0
1
0
1
0
1
0
1
0
Description
Disable (default): internal pull high 47k Ω . Voltage
protection function is enabled via setting the related
registers.
Enable OVP function.
ATX mode (default, internal pull high 47k Ω ).
AT mode.
PWM mode.
DAC mode (default, internal pull down 100k Ω )
PWM mode.
DAC mode (default, internal pull down 100k Ω )
PWM mode.
DAC mode (default, internal pull down 100k Ω )
Power on fan speed default duty is 40%. ( Default)
Power on fan speed default duty is 100%.
Configuration Register I/O port is 4E/4F. (Default)
Configuration Register I/O port is 2E/2F.
The I2C slave address is 0X5C (Default)
The I2C slave address is 0X5A
FDC
The Floppy Disk Controller provides the interface between a host processor and one floppy disk drive. It
integrates a controller and a digital data separator with write pre-compensation, data rate selection logic,
microprocessor interface, and a set of registers. The FDC supports data transfer rates of 250 Kbps, 300 Kbps,
500 Kbps, 1 Mbps and 2 Mbps. It operates in PC/AT mode.
The FDC configuration is handled by software and a set of Configuration registers. Status, Data, and
Control registers facilitate the interface between the host microprocessor and the disk drive, providing
information about the condition and/or state of the FDC. These configuration registers can select the data rate,
enable interrupts, drives, and DMA modes, and indicate errors in the data or operation of the FDC/FDD.
28
Jan, 2012
V0. 12P
F81866A
6.3
Parallel Port
The parallel port in F81866A supports an IBM XT/AT compatible parallel port (SPP), bi-directional parallel
port ( BPP ), Enhanced Parallel Port ( EPP ), Extended Capabilities Parallel Port ( ECP ) mode. Refer to the
configuration registers for more information on selecting the mode of operation.
The below content is about the Parallel Port device register descriptions. All the registers are for software
porting reference.
Parallel Port Data Register ⎯ Base + 0
Bit
Name
R/W Default
7-0
DATA
R/W
00h
Description
The output data to drive the parallel port data lines.
ECP Address FIFO Register ⎯ Base + 0
Bit
7-0
Name
ECP_AFIFO
R/W Default
R/W
00h
Description
Access only in ECP Parallel Port Mode and the ECP_MODE programmed in
the Extended Control Register is 011.
The data written to this register is placed in the FIFO and tagged as an
Address/RLE. It is auto transmitted by the hardware. The operation is only
defined for forward direction. It divide into two parts :
Bit 7 :
0: bits 6-0 are run length, indicating how many times the next byte to appear (0
= 1time, 1 = 2times, 2 = 3times and so on).
1: bits 6-0 are ECP address.
Bit 6-0 : Address or RLE depends on bit 7.
Device Status Register ⎯ Base + 1
Bit
Name
7
BUSY_N
R
-
Inverted version of parallel port signal BUSY.
6
ACK_N
R
-
Version of parallel port signal ACK#.
5
PERROR
R
-
Version of parallel port signal PE.
4
SELECT
R
-
Version of parallel port signal SLCT.
3
ERR_N
R
-
Version of parallel port signal ERR#.
2-1
Reserved
R
11
0
TMOUT
R/W Default
R
-
Description
Reserved. Return 11b when read.
This bit is valid only in EPP mode. Return 1 when in other modes.
It indicates that a 10uS time out has occurred on the EPP bus.
0: no time out error.
1: time out error occurred, write 1 to clear.
Device Control Register ⎯ Base + 2
Bit
Name
7-6
Reserved
R/W Default
-
11
Description
Reserved. Return 11b when read.
29
Jan, 2012
V0. 12P
F81866A
5
DIR
R/W
0
0: the parallel port is in output mode.
1: the parallel port is in input mode.
It is auto reset to 1 when in SPP mode.
4
ACKIRQ_EN
R/W
0
Enable an interrupt at the rising edge of ACK#.
3
SLIN
R/W
0
Inverted and then drives the parallel port signal SLIN#.
When read, the status of inverted SLIN# is return.
2
INIT_N
R/W
0
Drives the parallel port signal INIT#.
When read, the status of INIT# is return.
1
AFD
R/W
0
Inverted and then drives the parallel port signal AFD#.
When read, the status of inverted AFD# is return.
0
STB
R/W
0
Inverted and then drives the parallel port signal STB#.
When read, the status of inverted STB# is return.
EPP Address Register ⎯ Base + 3
Bit
7-0
Name
EPP_ADDR
R/W Default
R/W
00h
Description
Write this register will cause the hardware to auto transmit the written data to
the device with the EPP Address Write protocol.
Read this register will cause the hardware to auto receive data from the device
by with the EPP Address Read protocol.
EPP Data Register ⎯ Base + 4 – Base + 7
Bit
7-0
Name
EPP_DATA
R/W Default
R/W
00h
Description
Write this register will cause the hardware to auto transmit the written data to
the device with the EPP Data Write protocol.
Read this register will cause the hardware to auto receive data from the device
by with the EPP Data Read protocol.
Parallel Port Data FIFO ⎯ Base + 400h
Bit
7-0
Name
C_FIFO
R/W Default
R/W
00h
Description
Data written to this FIFO is auto transmitted by the hardware to the device by
using standard parallel port protocol.
It is only valid in ECP and the ECP_MODE is 010b.The operation is only for
forward direction.
ECP Data FIFO ⎯ Base + 400h
Bit
7-0
Name
ECP_DFIFO
R/W Default
R/W
00h
Description
Data written to this FIFO when DIR is 0 is auto transmitted by the hardware to
the device by using ECP parallel port protocol.
Data is auto read from device into the FIFO when DIR is 1 by the hardware by
using ECP parallel port protocol. Read the FIFO will return the content to the
system.
It is only valid in ECP and the ECP_MODE is 011b.
30
Jan, 2012
V0. 12P
F81866A
ECP Test FIFO ⎯ Base + 400h
Bit
7-0
Name
T_FIFO
R/W Default
R/W
00h
Description
Data may be read, written from system to the FIFO in any Direction. But no
hardware handshake occurred on the parallel port lines. It could be used to test
the empty, full and threshold of the FIFO.
It is only valid in ECP and the ECP_MODE is 110b.
ECP Configuration Register A ⎯ Base + 400h
Bit
Name
7
IRQ_MODE
R/W Default
R
0
Description
0: interrupt is ISA pulse.
1: interrupt is ISA level.
Only valid in ECP and ECP_MODE is 111b.
000: the design is 16-bit implementation.
001: the design is 8-bit implementation (default).
010: the design is 32-bit implementation.
011-111: Reserved.
Only valid in ECP and ECP_MODE is 111b.
6-4
IMPID
R
001
3
Reserved
-
-
Reserved.
2
BYTETRAN_N
R
1
0: when transmitting there is 1 byte waiting in the transceiver that does not
affect the FIFO full condition.
1: when transmitting the state of the full bit includes the byte being transmitted.
Only valid in ECP and ECP_MODE is 111b.
1-0
Reserved
R
00
Return 00 when read.
Only valid in ECP and ECP_MODE is 111b.
ECP Configuration Register B ⎯ Base + 401h
Bit
Name
R/W Default
Description
7
COMP
R
0
0: only send uncompressed data.
1: compress data before sending.
Only valid in ECP and ECP_MODE is 111b.
6
Reserved
R
1
Reserved. Return 1 when read.
Only valid in ECP and ECP_MODE is 111b.
5-3
ECP_IRQ_CH
R
001
000: the interrupt selected with jumper.
001: select IRQ 7 (default).
010: select IRQ 9.
011: select IRQ 10.
100: select IRQ 11
101: select IRQ 14.
110: select IRQ 15.
111: select IRQ 5.
Only valid in ECP and ECP_MODE is 111b.
2-0
ECP_DMA_CH
R
011
Return the DMA channel of ECP parallel port.
Only valid in ECP and ECP_MODE is 111b.
31
Jan, 2012
V0. 12P
F81866A
Extended Control Register ⎯ Base + 402h
Bit
Name
R/W Default
Description
000: SPP Mode.
001: PS/2 Parallel Port Mode.
010: Parallel Port Data FIFO Mode.
011: ECP Parallel Port Mode.
100: EPP Mode.
101: Reserved.
110: Test Mode.
111: Configuration Mode.
Only valid in ECP.
7-5
ECP_MODE
R/W
000
4
ERRINTR_EN
R/W
0
0: disable the interrupt generated on the falling edge of ERR#.
1: enable the interrupt generated on the falling edge of ERR#.
3
DAMEN
R/W
0
0: disable DMA.
1: enable DMA. DMA starts when SERVICEINTR is 0.
2
SERVICEINTR
R/W
1
0: enable the following case of interrupt.
DMAEN = 1: DMA mode.
DMAEN = 0, DIR = 0: set to 1 whenever there are writeIntrThreshold or more
bytes are free in the FIFO.
DMAEN = 0, DIR = 0: set to 1 whenever there are readIntrThreshold or more
bytes are valid to be read in the FIFO.
1
FIFOFULL
R
0
0: The FIFO has at least 1 free byte.
1: The FIFO is completely full.
0
FIFOEMPTY
R
0
0: The FIFO contains at least 1 byte.
1: The FIFO is completely empty.
6.4
Hardware Monitor
6.4.1 General Description
6.4.1.1Voltage
For the 8-bit ADC has the 8mv LSB, the maximum input voltage of the analog pin is 2.048V.
Therefore the voltage under 2.048V (ex:1.5V) can be directly connected to these analog inputs. The
voltage higher than 2.048V should be reduced by a factor with external resistors so as to obtain the
input range. Only 3Vcc is an exception for it is main power of the F81866A. Therefore 3Vcc can
directly connect to this chip’s power pin and need no external resistors. There are two functions in
this pin with 3.3V. The first function is to supply internal analog power of the F81866A and the second
function is that voltage with 3.3V is connected to internal serial resistors to monitor the +3.3V voltage.
The internal serial resistors are two 150K Ω , so that the internal reduced voltage is half of +3.3V (See
figure 6-1).
There are four voltage inputs in the F81866A and the voltage divided formula is shown as follows:
32
Jan, 2012
V0. 12P
F81866A
VIN = V+12 V ×
R2
R1 + R 2
where V+12V is the analog input voltage, for example.
If we choose R1=20K, R2=2K, the exact input voltage for V+12v will be 1.09V, which is within
the tolerance. As for application circuit, it can be refer to the figure shown as follows.
Voltage Inputs
3Vcc
(directly connect to the chip)
VIN (< 2.04V)
(directly connect to the chip)
VIN (> 2.04V)
R
1
150K
150K
R2
8-bit ADC
with
8 mV LSB
VREF
R
VIN3.3
10K, 1%
D+
Typical BJT
Connection
2N3906
R
Typical Thermister
THM Connection
10K, 25 C
D-
Fig 6-1
PME# interrupt for voltage is shown as figure 6-2. Voltage exceeding or going below high limit
will cause an interrupt if the previous interrupt has been reset by writing “1” all the interrupt Status
Register.
(pulse mode)
*
*
*Interrupt Reset when Interrupt Status Registers are written 1
Voltage PME# Mode
Fig 6-2
6.4.1.2Temperature Sensor
The F81866A monitors two remote temperature sensors. These sensors can be measured from -60°C
to 127°C for thermal diode & thermistor. More detail please refers to the register description.
Remote-sensor transistor manufacturers
Manufacturer
Model Number
Panasonic
2SB0709 2N3906
Philips
PMBT3906
33
Jan, 2012
V0. 12P
F81866A
(1) Monitor Temperature from “thermistor”
The F81866A can connect two thermistors to measure environment temperature or remote
temperature. The specification of thermistor should be considered to (1) β value is 3435K (2)
resistor value is 10K Ω at 25°C. In the Figure 6-1, the thermistor is connected by a serial resistor
with 10K Ω , then connected to VREF.
(2) Monitor Temperature from “thermal diode”
Also, if the CPU, GPU or external circuits provide thermal diode for temperature
measurement, the F81866A is capable to these situations. The build-in reference table is for PNP
2N3906 transistor. In the Figure 6-1, the transistor is directly connected into temperature pins.
Over Temperature Signal (OVT#)
OVT# alert for temperature is shown as figure 6-3. When monitored temperature exceeds
the over-temperature threshold value, OVT# will be asserted until the temperature goes below the
hysteresis temperature.
TOVT
T
HYST
OVT#
(Level mode)
OVT#
(SMI mode)
Fig 6-3
Temperature PME#
PME# interrupt for temperature is shown as figure 6-4. Temperature exceeding high limit or
going below hysteresis will cause an interrupt if the previous interrupt has been reset by writing
“1” all the interrupt Status Register.
34
Jan, 2012
V0. 12P
F81866A
T OVT
T Hhys
T HIGH
T Hhys
PME#
(pulse mode)
*
*
*
*
*Interrupt Reset when Interrupt Status Registers are written 1
Fig 6-4
6.4.1.3Fan
Fan speed count
Inputs are provided by the signals from fans equipped with tachometer outputs. The level of
these signals should be set to TTL level, and maximum input voltage cannot be over 5V. If the input
signals from the tachometer outputs are over the 5V, the external trimming circuit should be added to
reduce the voltage to obtain the input specification.
Determine the fan counter according to:
Count =
1.5 × 10 6
RPM
In other words, the fan speed counter (12 bit resolution) has been read from register, the fan
speed can be evaluated by the following equation.
RPM =
1.5 × 10 6
Count
As for fan, it would be best to use 2 pulses (4 phases fan) tachometer output per round. So the
parameter “Count” under 5 bit filter is 4096~64 and RPM is 366~23438 based on the above equation. If
using 8 phases fan, RPM would be from 183~11719.
Fan speed control
The F81866A provides 2 fan speed control methods:
1. DAC FAN CONTROL2. PWM DUTY CYCLE
35
Jan, 2012
V0. 12P
F81866A
(1) DAC Fan Control
The range of DC output is 0~VCC, controlled by 8-bit register. 1 LSB is about 0.013V
(VCC=3.3V). The output DC voltage is amplified by external OP circuit, thus to reach maximum FAN
OPERATION VOLTAGE, 12V. The output voltage will be given as followed:
Output_vol tage (V) = VCC ×
Programmed 8bit Register Value
256
And the suggested application circuit for linear fan control would be:
+12V
8
R
4.7K
3
2
+
PMOS
Q1
D1
1N4148
1
4
DC OUTPUT VOLTAGE
U1A
R
4.7K
LM358
JP1
R
10K
3
2
1
C
47u
R
C
0.1u
CON3
R
3.6K
27K
FANIN MONITOR
R
10K
Fig 6-5
(2) PWM duty Fan Control
The duty cycle of PWM can be programmed by a 8-bit register. The default duty cycle is set to
100%, that is, the default 8-bit registers is set to FFh. The expression of duty can be represented as
follows.
Duty_cycle(%) =
Programmed 8bit Register Value
× 100%
255
+12V
R1
R2
G
PNP Transistor
D
NMOS
S
C
+
FAN
-
Fig 6-6
36
Jan, 2012
V0. 12P
F81866A
Fan speed control mechanism
There are some modes to control fan speed and they are 1.Manual mode, 2. Auto mode (Stage
& Linear). More detail, please refer to the description of registers & below figure.
Start
Step1: Select FAN_TYPE
(CR94)
DAC (linear)
PWM
Step2 :Select FAN_MODE
CR96 [5:4] Fan3
CR96 [3:2] Fan2
CR96 [1:0] Fan1
Auto Mode
Manual Mode
RPM
Duty
RPM
Step3: Set temp. follows
FAN1 :CRAF
FAN2 :CRBF
FAN3 :CRCF
Step3: Set temp. follows
FAN1 :CRAF
FAN2 :CRBF
FAN3 :CRCF
Step4: Set H/W Monitor
Fan1 – (BOUNDARY :CR A6~A9)
(SPEED : CR AA ~ AE)
Fan2 –(BOUNDARY :CR B6~B9)
(SPEED : CR BA ~ BE)
Fan3 –(BOUNDARY :CR C6~C9)
(SPEED : CR CA ~ CE)
Step4: Set H/W Monitor
Fan1 – (BOUNDARY :CR A6~A9)
(SPEED : CR AA ~ AE)
Fan2 –(BOUNDARY :CR B6~B9)
(SPEED : CR BA ~ BE)
Fan3 –(BOUNDARY :CR C6~C9)
(SPEED : CR CA ~ CE)
Step3: Set RPM
FAN1 :CR A2,A3
FAN2 :CR B2,B3
FAN3 :CR C2,C3
Duty
Step3: Set Duty
FAN1 :CR,A3
FAN2 :CR B3
FAN3 :CR C3
Fig 6-7 Fan type & mode selection flow
Each fan can be controlled by 8 kinds of temperature inputs: (1) T1 temperature (2)
T2 temperature (3) T3 temperature (4) PECI temperature (5) 4 suits I2C master
temperature.
FAN 1
Related Register
FAN_PROG_SEL
Index 9Fh [7]
FAN Type Select
Index 94 [1:0]
FAN mode Select
Index 96 [1:0]
FAN count reading
Index A0h~A1h
FAN expect speed
Index A2h~A3h
FAN full speed count
Index A4h~A5h
BOUNDARY
Index A6h~A9h
SEGMENT SPEED
Index AAh~AEh
FAN1 Temperature Mapping
Index AFh
37
Jan, 2012
V0. 12P
F81866A
FAN 2
Related Register
FAN_PROG_SEL
Index 9Fh [7]
FAN Type Select
Index 94 [3:2]
FAN mode Select
Index 96 [3:2]
FAN count reading
Index B0h~B1h
FAN expect speed
Index B2h~B3h
FAN full speed count
Index B4h~B5h
BOUNDARY
Index B6h~B9h
SEGMENT SPEED
Index BAh~BEh
FAN1 Temperature Mapping
Index BFh
FAN 3
Related Register
CLK_TUNE_PROG_EN
Global Control Register : index 27h [0]
Multi Function
Global Control Register : index 2Bh [1:0]
FAN_PROG_SEL
Index 9Fh [7]
FAN Type Select
Index 94 [5:4]
FAN mode Select
Index 96 [5:4]
FAN count reading
Index C0h~C1h
FAN expect speed
Index C2h~C3h
FAN full speed count
Index C4h~C5h
BOUNDARY
Index C6h~C9h
SEGMENT SPEED
Index CAh~CEh
FAN1 Temperature Mapping
Index CFh
(1) Manual mode
For manual mode, it generally acts as the software fan speed control.
(2) Auto mode
In auto mode, the F81866A provides the automatic fan speed control related to the temperature
variation of CPU/GPU or the system. The F81866A can provide four temperature boundaries and five
intervals, and each interval has its related fan speed count. All these values should be set by BIOS
first. Take FAN1 for example, the 4 temperature boundaries could be set from the register 0xA6 to
0xA9 and the five intervals for fan speed control could be set from register 0xAA to 0xAE.The
hysteresis setting (0 ~ 15°C) could also be found in the register 0x98.
There are two kinds for the auto modes they are the stage auto mode and the linear auto mode.
The “FAN1_INTERPOLATION_EN” in the register 0xAFh is used for the linear auto mode enable.
38
Jan, 2012
V0. 12P
F81866A
The following examples explain the differences for the stage auto mode and linear auto mode.
Stage auto mode
In this mode, the fan keeps in a same speed for each temperature interval. And there are two
types of fan speed setting: PWM Duty and RPM %.
A. Stage auto mode (PWM Duty)
Set the temperature limits as 70°C, 60°C, 50°C, 40°C and the duty as 100%, 90%, 80%, 70%, 60%
Fig 6-8 Stage mode fan control illustration
a.Once the temperature is under 40°C, the lowest fan speed keeps in the 60% PWM duty.
b.Once the temperature is over 40°C, 50°Cand 60°C, the fan speed will vary from 70%, 80% to 90%
PWM duty and increasing with the temperature level.
c.For the temperature higher than 70°C, the fan speed keeps in 100% PWM duty.
d.If set the hysteresis is 3°C (default 4°C), once the temperature becomes lower than 67°C, the fan
speed would reduce to 90% PWM duty.
B. Stage auto mode (RPM%)
Set the temperature as 70°C, 60°C, 50°C, 40°C and the corresponding fan speed is 6,000 RPM,
5,400 RPM, 4,800 RPM, 4,200 RPM, and 3,600 RPM (assume the Max Fan Speed is 6,000
RPM).
39
Jan, 2012
V0. 12P
F81866A
Fig 6-9 Stage mode fan control illustration
a.Once the temperature is lower than 40°C, the lowest fan speed keeps in 3,600 RPM (60% of full
speed).
b.Once the temperature is higher than 40°C, 50°C and 60°C, the fan speed will vary from 4,200
RPM to 5,400 RPM and increasing with the temperature level.
c.For the temperature higher than 70°C, the fan speed keeps in the full speed 6,000 RPM.
d.If the hysteresis is set as 3°C (default 4°C), once temperature gets lower than 67°C, the fan speed
would reduce to 5,400 RPM.
Linear auto mode
Furthermore, F81866A also supports linear auto mode. The fan speed would increase or decrease
linearly with the temperature. There are also PWM Duty and RPM% modes for it.
A. Linear auto mode (PWM Duty I)
Set the temperature as 70°C, 60°C, 50°C and 40°C and the duty is 100%, 80%, 70%, 60% and
50%.
40
Jan, 2012
V0. 12P
F81866A
Fig 6-10 Linear mode fan control illustration
a. Once the temperature is lower than 40°C, the lowest fan speed keeps in the 50% PWM duty
b. Once the temperature becomes higher than 40°C, 50°C and 60°C, the fan speed will vary from
50% to 80% PWM duty linearly with the temperature variation. The temp.-fan speed monitoring
flash interval is 1sec.
c.
Once the temperature goes over 70°C, the fan speed will directly increase to 100% PWM duty
(full speed).
d. If set the hysteresis is 5°C (default is 4°C), once the temperature becomes lower than 65°C
(instead of 70°C), the fan speed will reduce from 100% PWM duty and decrease linearly with the
temperature.
B. Linear auto mode (RPM%)
Set the temperature as 70°C, 60°C, 50°C, 40°C and the corresponding fan speed is 6,000 RPM,
4,800 RPM, 4,200 RPM, 3,600 RPM and 3,000 RPM (assume the Max Fan Speed is 6,000 RPM).
41
Jan, 2012
V0. 12P
F81866A
Fig 6-11 Linear mode fan control illustration
a. Once the temperature is lower than 40°C, the lowest fan speed keeps in 3,000 RPM (50% of full
speed).
b. Once the temperature is over 40°C,50°C and 60°C, the fan speed will vary from 3,000 to 4,800
RPM almost linearly with the temperature variation because the temp.-fan speed monitoring
flash interval is 1sec.
c.
Once the temperature goes over 70°C, the fan speed will directly increase to full speed 6,000
RPM.
d. If the hysteresis is 5°C (default is 4°C), once the temperature becomes lower than 65°C (instead
of 70°C), the fan speed wull reduce from full speed and decrease linearly with the temperature.
PWMOUT Duty-cycle operating process
In both “Manual RPM” and “Temperature RPM” modes, the F81866A adjust PWMOUT
duty-cycle according to current fan count and expected fan count. It will operate as follows:
1.
When expected count is 0xFFF, PWMOUT duty-cycle will be set to 0x00 to turn off fan.
2.
When expected count is 0x000, PWMOUT duty-cycle will be set to 0xFF to turn on fan with full
speed.
3.
If both (1) and (2) are not true,
When PWMOUT duty-cycle decrease to MIN_DUTY(≠ 00h), obviously the duty-cycle will
decrease to 00h next, the F81866A will keep duty-cycle at 00h for 1.6 seconds. After that,
42
Jan, 2012
V0. 12P
F81866A
the F81866A starts to compare current fan count and expected count in order to increase
or decrease its duty-cycle. This ensures that if there is any glitch during the period, the
F81866A will ignore it.
Start Duty
Stop Duty
Fig 6-12
Fan Speed Control with Multi-temperature
F81866A supports Multi-temperature for Fan 1 control. Fan 1 can be controlled up to 2 kinds of
temperature inputs. This function works with linear auto mode which can extend to two linear slopes
for Fan 1 control. As below graph shows, this machine can support more silence fan control in low
temperature and high fan speed in the high temperature segment. More detail setting please refers to
the related registers.
RPM/PWM %
100%
90%
Slope can
be set
60%
S=
ΔPWM/Δt =1
40%
30ºC
50ºC
80ºC
Temperature
Figure 6-13 Support 2 Linear Application with Multi-Temp. Setting
In the figure below, TFan1 is the scaled temperature for fan1. T1 is the real temperature for the
fan1 sensor. Ta is another temperature data which can be used for linearly scale up or scale down the
fan1 speed curve. Tb would be the point which starts the temperature scaling. The slope for the
temperature curve over and under Tb would be Ctup and Ctdn.
43
Jan, 2012
V0. 12P
F81866A
Temp.
TFan1
T1
Ta
Tb
TFan1
Time
1. Ctup, Ctdn Can be Programmed to 1, ½, ¼, 0
2. Ta Can be Selected to the Same Temp. Source (Ex:T1)
TFan1= T1 + (Ta-Tb)*Ctup ; TFan1= T1 + (Ta-Tb)*Ctdn
Figure 6-14
In application, we can set the Ta as the 2
nd
starts the scaling. So if the 2
nd
sensor temperature and Tb as the temperature which
sensor temperature Ta is higher or lower than Tb, the fan1 speed
would be changed with it.
EX: Ta = T1, Tb = 60, Ctu = 1, Ctd = 1/4
Figure 6-15
44
Jan, 2012
V0. 12P
F81866A
FAN_FAULT#
Fan_Fault# will be asserted when the fan speed doesn’t meet the expected fan speed within a
programmable period (default is 11 seconds) or when fan stops with respect to PWM duty-cycle
which should be able to turn on the fan. There are two conditions may cause the FAN_FAULT# event.
(1). When PWM_Duty reaches 0xFF, the fan speed count can’t reach the fan expected count on
time. (Figure 6-16)
11 sec(default)
Current Fan Count
Expected Fan Count
100%
Duty-cycle
Fan_Fault#
Fig 6-16
(2). After the period of detecting fan full speed, when PWM_Duty > Min. Duty, and fan count is still in
0xFFF.
6.4.2 Hardware Monitor Device Registers
Before the device registers, the following is a register map order which shows a summary of all
registers. Please refer to each register if you want more detail information.
Register index01 ~ CR03 Æ Configuration Registers
Register index08 ~ CREF Æ PECI/TSI/I2C Control Register
Register CR40 ~ CR8E Æ PECI 3.0 Command and temperature Setting Register
Register CR10 ~ CR3A Æ Voltage Setting Register
Register CR90 ~ CRCF Æ Fan Control Setting Register
ÆFan1 Detail Setting CRA0 ~ CRAF
ÆFan2 Detail Setting CRB0 ~ CRBF
ÆFan3 Detail Setting CRC0 ~ CRCF
6.4.2.1Configuration Setting
FAN, Voltage Start up Register ⎯ Index 01h
Bit
Name
R/W
Reset Default
Description
7-3
Reserved
0h
-
0
Reserved
2
POWER_DOWN
R/W
5VSB
0
Hardware monitor function power down function.
1
FAN_START
R/W
5VSB
1
0
V_T_START
R/W
5VSB
1
1: enable startup of fan monitoring operations.
0: Put the part in the standby mode.
1: enable startup of temperature and voltage monitoring operations
0: Put the part in the standby mode.
45
Jan, 2012
V0. 12P
F81866A
Case Open, Alert, OVT Mode Register ⎯ Index 02h
Bit
Name
R/W
Reset Default
7
Reserved
R/W
-
0
6
CASE_BEEP_EN
R/W
5VSB
0
R/W
5VSB
0
5-4
OVT_MODE
3
Reserved
R/W
-
0
2
CASE_SMI_EN
R/W
5VSB
0
1-0
ALERT_MODE
R/W
5VSB
0
Description
Dummy register.
0: Disable case open event output via BEEP.
1: Enable case open event output via BEEP.
00: The OVT# will be low active level mode.
01: The OVT# will be low pulse mode.
10: The OVT# will indicate by 1Hz LED function.
11: The OVT# will indicate by (400/800HZ) BEEP output.
Dummy register.
0: Disable case open event output via PME.
1: Enable case open event output via PME.
00: The ALERT# will be low active level mode.
01: The ALERT# will be high active level mode.
10: The ALERT# will indicate by 1Hz LED function.
11: The ALERT# will indicate by (400/800HZ) BEEP output.
Case Open Status Register ⎯ Index 03h
Bit
Name
R/W
Reset Default
Description
7-1
Reserved
R/W
-
0
Reserved
0
CASE_STS
R/W
VBAT
0
Case open event status write 1 to clear if case open event cleared. (This
bit is powered by VBAT.)
6.4.2.2PECI/TSI/I2C Setting
TSI Or IBEX Control Register ⎯ Index 08h
Bit
Name
R/W
Reset
Default
7-1
TSI_ADDR
R/W
5VSB
26h
0
Reserved
-
-
-
Name
7-1
0
AMD TSI or Intel IBEX slave address.
Reserved
⎯ Index 09h
I2C Address Control Register
Bit
Description
R/W
Reset
Default
I2C _ADDR
R/W
5VSB
0
Reserved
R/W
-
0
Description
I2C__ADDR[7:1] is the slave address sent by the embedded master
when using a block write command
Reserved
46
Jan, 2012
V0. 12P
F81866A
PECI, TSI, IBEX, Beta Register ⎯ Index 0Ah
Bit
Name
R/W
Reset Default
7
BETA_EN2
R/W
5VSB
0
6
BETA_EN1
R/W
5VSB
0
5
INTEL_SEL
R/W
5VSB
1
4
MXM_MODE
R/W
LRESE
T#
0
Description
0: disable the T2 beta compensation.
1: enable the T2 beta compensation.
0: disable the T1 beta compensation.
1: enable the T1 beta compensation.
This bit is used to select AMD TSI or Intel IBEX when TSI_EN is set to 1.
0: Select AMD
1: Select Intel
Reserved
3-2
VTT_SEL
R/W
5VSB
0
1
TSI_EN
R/W
5VSB
0
PECI (VTT) voltage selection.
00: VTT is 1.23V
01: VTT is 1.13V
10: VTT is 1.00V
11: VTT is 1.00V
Set this bit 1 to enable AMD TSI or Intel IBEX function
0
PECI_EN
R/W
LRESET#
0
Set this bit 1 to enable Intel PECI function
CUP Socket Select Register ⎯ Index 0Bh
Bit
Name
R/W
Reset Default
Description
Select the Intel CPU socket number.
0000: no CPU presented. PECI host will use Ping () command to find the
CPU address.
7-4
CPU_SEL
R/W
5VSB
0
0001: CPU is in socket 0, i.e. PECI address is 0x30.
0010: CPU is in socket 0, i.e. PECI address is 0x31.
0100: CPU is in socket 0, i.e. PECI address is 0x32.
1000: CPU is in socket 0, i.e. PECI address is 0x33.
3-1
Reserved
-
-
0
0
DOMAIN1_EN
R/W
5VSB
0
Others are reserved.
Reserved.
If the CPU is selected as dual core. Set this register 1 to read the
temperature of domain1.
TCC Register ⎯ Index 0Ch
Bit
Name
R/W
Reset Default
Description
TCC Activation Temperature.
When PECI is enabled, the absolute value of CPU temperature is
7-0
TCC_TEMP
R/W
5VSB
8’h55 calculated by the equation:
CPU_TEMP = TCC_TEMP + PECI Reading.
º
The range of this register is -128 ~ 127 C.
47
Jan, 2012
V0. 12P
F81866A
TSI Offset Register ⎯ Index 0Dh
Bit
Name
R/W
Reset Default
Description
This byte is used as the offset to be added to the CPU temperature
7-0
TSI_OFFSET
R/W
5VSB
0
reading of AMD_TSI.
The range of this register is -128 ~ 127ºC.
Configuration Register ⎯ Index 0Fh
Bit
Name
R/W
Reset Default
Description
7-2
Reserved
-
-
0
Reserved.
1-0
DIG_RATE_SEL
R/W
5VSB
0
Reserved for Fintek use only
TSI, I2C Temperature 0 – Index E0h
Bit
Name
R/W
Reset
Default
Description
This is the AMD TSI reading if AMD TSI enable.
TSI_TEMP0
R/W
5VSB
-
And will be highest temperature among CPU, MCH and PCH if Intel
temperature interface enable. The range is 0~255ºC. To access this byte,
MCH_BANK_SEL must set to “0”.
This byte is used as multi-purpose:
7-0
I2C_DATA0
R/W
5VSB
8’h00
1.
The received data of receive protocol.
2.
The first received byte of read word protocol.
3.
The 10th received byte of read block protocol.
4.
The sent data for send byte protocol and write byte protocol.
5.
The first send byte for write word protocol.
6.
The first send byte for write block protocol.
To access this byte, MCH_BANK_SEL should be set to “1”.
TSI, I2C Temperature 1 – Index E1h
Bit
Name
R/W
Reset
Default
Description
This is the high byte of Intel temperature interface PCH reading. The
TSI_TEMP1
R
5VSB
-
range is 0~255ºC.
To access this byte, MCH_BANK_SEL should be set to “0”.
This byte is used as multi-purpose:
7-0
I2C_DATA1
R/W
5VSB
8’h00
1.
The second received byte of read word protocol.
2.
The 11th received byte of read block protocol.
3.
The second send byte for write word protocol.
4.
The second send byte for write block protocol.
To access this byte, MCH_BANK_SEL should be set to “1”.
48
Jan, 2012
V0. 12P
F81866A
TSI, I2C Temperature 2 Low Byte – Index E2h
Bit
Name
R/W
Reset
Default
Description
This is the low byte of Intel temperature interface CPU reading. The
reading is the fraction part of CPU temperature. Bit 0 indicates the error
TSI_TEMP2_LO
R
5VSB
-
status.
0: No error.
1: Error code.
7-0
To access this byte, MCH_BANK_SEL should be set to “0”.
This is the 12th byte of the block read protocol.
I2C_DATA2
R/W
5VSB
8’h00
This byte is also used as the 3rd byte of block write protocol.
To access this byte, MCH_BANK_SEL should be set to “1”.
TSI, I2C Temperature 2 High Byte – Index E3h
Bit
Name
R/W
Reset
Default
Description
This is the high byte of Intel temperature interface CPU reading. The
TSI_TEMP2_HI
R
5VSB
-
reading is the decimal part of CPU temperature.
To access this byte, MCH_BANK_SEL should be set to “0”.
7-0
This is the 13th byte of the block read protocol.
I2C_DATA3
R/W
5VSB
8’h00
This byte is also used as the 4th byte of block write protocol.
To access this byte, MCH_BANK_SEL should be set to “1”.
TSI, I2C Temperature 3 – Index E4h
Bit
Name
R/W
Reset
Default
Description
This is the high byte of Intel temperature interface MCH reading. The
TSI_TEMP3
R
5VSB
-
range is 0~255ºC.
To access this byte, MCH_BANK_SEL should be set to “0”.
7-0
This is the 14th byte of the block read protocol.
I2C_DATA4
R/W
5VSB
8’h00
This byte is also used as the 5th byte of block write protocol.
To access this byte, MCH_BANK_SEL should be set to “1”.
TSI, I2C Temperature 4 – Index E5h
Bit
Name
R/W
Reset
Default
Description
This is the high byte of Intel temperature interface DIMM0 reading. The
7-0
TSI_TEMP4
R
5VSB
-
range is 0~255ºC.
To access this byte, MCH_BANK_SEL should be set to “0”.
49
Jan, 2012
V0. 12P
F81866A
This is the 15th byte of the block read protocol.
I2C_DATA5
R/W
5VSB
8’h00
This byte is also used as the 6th byte of block write protocol.
To access this byte, MCH_BANK_SEL should be set to “1”.
TSI, I2C Temperature 5 – Index E6h
Bit
Name
R/W
Reset
Default
Description
This is the high byte of Intel temperature interface DIMM1 reading. The
TSI_TEMP5
R
5VSB
-
range is 0~255ºC.
To access this byte, MCH_BANK_SEL should be set to “0”.
7-0
This is the 16th byte of the block read protocol.
I2C_DATA6
R/W
5VSB
8’h00
This byte is also used as the 7th byte of block write protocol.
To access this byte, MCH_BANK_SEL should be set to “1”.
TSI, I2C Temperature 6 – Index E7h
Bit
Name
R/W
Reset
Default
Description
This is the high byte of Intel temperature interface DIMM2 reading. The
TSI_TEMP6
R
5VSB
-
range is 0~255ºC.
To access this byte, MCH_BANK_SEL should be set to “0”.
7-0
This is the 17th byte of the block read protocol.
I2C_DATA7
R/W
5VSB
8’h00
This byte is also used as the 8th byte of block write protocol.
To access this byte, MCH_BANK_SEL should be set to “1”.
TSI, I2C Temperature 7 – Index E8h
Bit
Name
R/W
Reset
Default
Description
This is the high byte of Intel temperature interface DIMM3 reading. The
TSI_TEMP7
R
5VSB
-
range is 0~255ºC. The above 9 bytes could also be used as the read
data of block read protocol if the TSI is disable or pending.
7-0
This is the 18th byte of the block read protocol.
I2C_DATA8
R/W
5VSB
8’h00
This byte is also used as the 9th byte of block write protocol.
To access this byte, MCH_BANK_SEL should be set to “1”.
I2C Data Buffer 9 – Index E9h
Bit
Name
R/W
Reset
Default
Description
th
This is the 18 byte of the block read protocol.
7-0
I2C_DATA9
R/W
5VSB
FFh
This byte is also used as the 9th byte of block write protocol.
To access this byte, MCH_BANK_SEL should be set to “1”.
50
Jan, 2012
V0. 12P
F81866A
Block Write Count Register – Index ECh
Bit
Name
R/W
Reset
Default
7
MCH_BANK_SEL
R/W
5VSB
0
6
Reserved
-
-
0
5-0
BLOCK_WR_CNT
R/W
5VSB
0
Description
This bit is used to select the register in index E0h to E9h.
Set “0” to read the temperature bank and “1” to access the data bank.
Reserved
Use the register to specify the byte count of block write protocol. Support
up to 10 bytes.
I2C Command Byte/TSI Command Byte – Index EDh
Bit
Name
R/W
Reset
Default
Description
There are actual two bytes for this index. TSI_CMD_PROG select which
byte to be programmed:
7-0
I2C_CMD/TSI_CMD
R/W
5VSB
0/1
0: I2C_CMD, which is the command code for write byte/word, read
byte/word, block write/read and process call protocol.
1: TSI_CMD, which is the command code for Intel temperature interface
block read protocol and the data byte for AMD TSI send byte protocol.
I2C Status – Index EEh
Bit
Name
R/W
Reset
Default
Description
Set 1 to pending auto TSI accessing. (In AMD model, auto accessing will
7
TSI_PENDING
R/W
LRESET#
0
issue a send-byte followed a receive-byte; In Intel model, auto accessing
will issue a block read).
To use the SCL/ SDA as I2C master, set this bit to “1” first.
6
TSI_CMD_PROG
R/W
5VSB
0
5
PROC_KILL
R/W
5VSB
0
4
FAIL_STS
R
5VSB
0
3
I2C_ABT_ERR
R
5VSB
0
2
I2C_TO_ERR
R
5VSB
0
1
I2C_NAC_ERR
R
5VSB
0
0
I2C_ READY
R
5VSB
1
Set 1 to program TSI_CMD.
Kill the current I2C transfer and return the state machine to idle. It will set
a fail status if the current transfer is not completed.
This is set when PROC_KI LL kill an un-completed transfer. It will be
auto cleared by next I2C transfer.
This is the arbitration lost status if I2C command is issued. Auto cleared
by next I2C command.
This is the timeout status if I2C command is issued. Auto cleared by next
I2C command.
This is the NACK error status if I2C command is issued. Auto cleared by
next I2C command.
0: I2C transfer is in process.
1: Ready for next I2C command.
51
Jan, 2012
V0. 12P
F81866A
I2C Protocol Select – Index EFh
Bit
Name
R/W
Reset
Default
7
I2C_START
W
-
0
6-4
Reserved
-
-
-
Description
Write “1” to trigger I2C transfer with the protocol specified by
I2C_PROTOCOL.
Reserved.
Select what protocol if I2C transfer is triggered.
0001b: send byte.
0010b: write byte.
0011b: write word.
0100b: Reserved.
0101b: block write.
3-0
I2C_PROTOCOL
R/W
5VSB
0
0111b: quick command (write).
1001b: receive byte.
1010b: read byte.
1011b: read word.
1101b: block read.
1111b: Reserved
Otherwise: reserved.
6.4.2.3 PECI 3.0 & Temperature Setting
PECI 3.0 Command and Register
PECI Configuration Register ⎯ Index 40h
Bit
7
Name
R/W
RDIAMSR_CMD_EN R/W
Reset Default
5VSB
0
6
C3_UPDATE_EN
R/W
5VSB
0
5-4
Reserved
R
-
-
3
C3_PTEMP_EN
R/W
5VSB
0
2
C0_PTEMP_EN
R/W
5VSB
0
1
C3_ALL0_EN
R/W
5VSB
0
0
C0_ALL0_EN
R/W
5VSB
0
Description
When PECI temperature monitoring is enabled, set this bit 1 will generate
a RdIAMSR() command before a GetTemp() command.
If RDIAMSR_CMD_EN is not set to 1, the temperature data is not
allowed to be updated when the completion code of RdIAMSR() is 0x82.
Reserved
Set this bit 1 to enable updating positive value of temperature if the
completion code of RdIAMSR() is 0x82.
Set this bit 1 to enable updating positive value of temperature if the
completion code of RdIAMSR() is not 0x82 and the bit 8 of completion
code is not 1 either.
Set this bit 1 to enable updating temperature value 0x0000 if the
completion code of RdIAMSR() is 0x82.
Set this bit 1 to enable updating temperature value 0x0000 if the
completion code of RdIAMSR() is not 0x82 and the bit 8 of completion
code is not 1 either.
PECI Master Control Register ⎯ Index 41h
Bit
7
Name
PECI_CMD_START
R/W
W
Reset Default
5VSB
-
Description
Write 1 to this bit to start a PECI command when using as a PECI master.
(PECI_PENDING must be set to 1)
52
Jan, 2012
V0. 12P
F81866A
6-5
Reserved
R
-
-
Reserved
4
PECI_PENDING
R/W
5VSB
0
Set this bit 1 to stop monitoring PECI temperature.
3
Reserved
R
-
-
2-0
PECI_CMD
R/W
5VSB
Reserved
3’h0
PECI command to be used by PECI master.
000: PING()
001: GetDIB()
010: GetTemp()
011: RdIAMSR()
100: RdPkgConfig()
101: WrPkgConfig()
others: Reserved
PECI Master Status Register ⎯ Index 42h
Bit
Name
R/W
Reset Default
7-3
Reserved
R
-
-
2
ABORT_FCS
R/WC
5VSB
-
1
PECI_FCS_ERR
R/WC
5VSB
-
0
PECI_FINISH
R/WC
5VSB
-
Description
Reserved
This bit is the Abort FCS status of PECI master commands. Write this bit
1 or read this byte will clear this bit to 0.
This bit is the FCS error status of PECI master commands. Write this bit 1
or read this byte will clear this bit to 0.
This bit is the Command Finish status of PECI master commands. Write
this bit 1 or read this byte will clear this bit to 0.
PECI Master DATA0 Register ⎯ Index 43h
Bit
7-0
Name
PECI_DATA0
R/W
R/W
Reset Default
5VSB
0
Description
For RdIAMSR(), RdPkgConfig() and WrPkgConfig() command, this byte
represents “Host ID[7:1] & Retry[0]”. Please refer to PECI interface
specification for more detail.
PECI Master DATA1 Register ⎯ Index 44h
Bit
Name
R/W
Reset Default
7-0
PECI_DATA1
R/W
5VSB
0
Description
For RdIAMSR() , this byte represents “Processor ID”.
For RdPkgConfig() and WrPkgConfig() , this byte represents “Index”.
Please refer to PECI interface specification for more detail.
PECI Master DATA2 Register ⎯ Index 45h
Bit
7-0
Name
PECI_DATA2
R/W
R/W
Reset Default
5VSB
0
Description
For RdIAMSR(), this byte is the least significant byte of “MSR Address”.
For RdPkgConfig() and WrPkgConfig(), this byte is the least significant
byte of “Parameter”.
Please refer to PECI interface specification for more detail.
53
Jan, 2012
V0. 12P
F81866A
PECI Master DATA3 Register ⎯ Index 46h
Bit
7-0
Name
PECI_DATA3
R/W
R/W
Reset Default
5VSB
0
Description
For RdIAMSR(), this byte is the most significant byte of “MSR Address”.
For RdPkgConfig() and WrPkgConfig(), this byte is the most significant
byte of “Parameter”.
Please refer to PECI interface specification for more detail.
PECI Master DATA4 Register ⎯ Index 47h
Bit
7-0
Name
PECI_DATA4
R/W
R/W
Reset Default
5VSB
0
Description
For GetDIB() , this byte represents “Device Info”
For GetTemp(), this byte represents the least significant byte of
temperature.
For RdIAMSR() and RdPkgConfig() , this byte is “Completion Code”.
For WrPkgConfig(), this byte represents “DATA[7:0]”
PECI Master DATA5 Register ⎯ Index 48h
Bit
7-0
Name
PECI_DATA5
R/W
R/W
Reset Default
5VSB
0
Description
For GetDIB() , this byte represents “Revision Number”
For GetTemp(), this byte represents the most significant byte of
temperature.
For RdIAMSR() and RdPkgConfig() , this byte represents “DATA[7:0]”
For WrPkgConfig(), this byte represents “DATA[15:8]”
PECI Master DATA6 Register ⎯ Index 49h
Bit
Name
R/W
Reset Default
7-0
PECI_DATA6
R/W
5VSB
0
Description
For RdIAMSR() and RdPkgConfig() , this byte represents
For WrPkgConfig(), this byte represents “DATA[23:16]”
“DATA[15:8]”.
PECI Master DATA7 Register ⎯ Index 4Ah
Bit
7-0
Name
PECI_DATA7
R/W
R/W
Reset Default
5VSB
0
Description
For RdIAMSR() and RdPkgConfig() , this byte
“DATA[23:16]”.
For WrPkgConfig(), this byte represents “DATA[31:24]”
represents
PECI Master DATA8 Register ⎯ Index 4Bh
Bit
Name
R/W
Reset Default
7-0
PECI_DATA8
R/W
5VSB
0
Description
For RdIAMSR() and RdPkgConfig() , this
“DATA[31:24]”.
For WrPkgConfig(), this byte represents “AW FCS”
byte
represents
PECI Master DATA9 Register ⎯ Index 4Ch
Bit
Name
R/W
Reset Default
7-0
PECI_DATA9
R/W
5VSB
0
Description
For RdIAMSR(), this byte represents “DATA[39:32]”.
For WrPkgConfig(), this byte represents “Completion Code”
54
Jan, 2012
V0. 12P
F81866A
PECI Master DATA10 Register ⎯ Index 4Dh
Bit
Name
R/W
Reset Default
7-0
PECI_DATA10
R/W
5VSB
0
Description
For RdIAMSR(), this byte represents “DATA[47:40]”.
PECI Master DATA11 Register ⎯ Index 4Eh
Bit
Name
R/W
Reset Default
7-0
PECI_DATA11
R/W
5VSB
0
Description
For RdIAMSR(), this byte represents “DATA[55:48]”.
PECI Master DATA12 Register ⎯ Index 4Fh
Bit
Name
R/W
Reset Default
7-0
PECI_DATA12
R/W
5VSB
0
Description
For RdIAMSR(), this byte represents “DATA[63:56]”.
HWM Manual Control Register ⎯ Index 50h
Bit
Name
R/W
7
LOAD_CH
W
-
-
Write 1 to load a temperature or voltage channel to be converted
6
STOP_CH
R/W
5VSB
0
Set to 1 when load a channel will generate a one-shot conversion.
5
HOLD_CH
R/W
5VSB
0
Set to 1 when load a channel will keep converting this channel.
0
First channel to be converted when LOAD_CH is set to 1.
00000: VCC
00001: VIN1
00010: VIN2
00011: VIN3
00100: VIN4
00101: VSB3V
00110: VBAT
00111: 5VSB
10000: Intel PECI
10001: T1
10010: T2
11000: AMD TSI/Intel IBEX
4:0
CHANNEL
R/W
Reset Default
5VSB
Description
HWM Manual Control Status Register 1⎯ Index 51h
Bit
Name
R/W
Reset Default
Description
7
Reserved
-
-
-
Reserved
6
V_CONV_STS
R
5VSB
-
At least one of the voltage channels had finish converting.
5
PECI_CONV_STS
WC
5VSB
-
PECI channel had finish converting
4
TSI_CONV_STS
WC
5VSB
-
TSI channel had finish converting
3
Reserved
-
-
Reserved
2
T2_CONV_STS
WC
5VSB
-
T2 channel had finish converting
1
T1_CONV_STS
WC
5VSB
-
T1 channel had finish converting
0
Reserved
-
-
Reserved
55
Jan, 2012
V0. 12P
F81866A
HWM Manual Control Status Register 2⎯ Index 52h
Bit
Name
R/W
Reset Default
7
5VSB_CONV_STS
WC
5VSB
-
5VSB voltage channel had finish converting
Description
6
VBAT_CONV_STS
WC
5VSB
-
VBAT voltage channel had finish converting
5
VSB3V_CONV_STS
WC
5VSB
-
VSB3V voltage channel had finish converting
4
VIN4_CONV_STS
WC
5VSB
-
VIN4 voltage channel had finish converting
3
VIN3_CONV_STS
WC
5VSB
-
VIN3 voltage channel had finish converting
2
VIN2_CONV_STS
WC
5VSB
-
VIN2 voltage channel had finish converting
1
VIN1_CONV_STS
WC
5VSB
-
VIN1 voltage channel had finish converting
0
VCC_CONV_STS
WC
5VSB
-
VCC voltage channel had finish converting
HWM RAW Data Register 1⎯ Index 55h
Bit
Name
R/W
7-0
RAW_DATA_L
R
Reset Default
5VSB
0
Description
Low byte of HM converting raw data
HWM RAW Data Register 2⎯ Index 56h
Bit
Name
R/W
Reset Default
Description
7-2
Reserved
-
-
-
Reserved
1-0
RAW_DATA_H
R
5VSB
0
The highest two bits of HM converting raw data
Temperature Register
Temperature PME# Enable Register ⎯ Index 60h
Bit
Name
R/W
Reset Default
Description
7
Reserved
R/W
-
0
6
EN_ T2_OVT_PME
R/W
5VSB
0
5
EN_ T1_OVT_PME
R/W
5VSB
0
4
EN_ T0_ OVT_PME
R/W
5VSB
0
If set this bit to 1, PME# signal will be issued when TEMP0 exceeds OVT
setting.
3
Reserved
R/W
-
0
Reserved
2
EN_ T2_EXC_PME
R/W
5VSB
0
1
EN_ T1_EXC_PME
R/W
5VSB
0
0
EN_ T0_EXC_PME
R/W
5VSB
0
Reserved
If set this bit to 1, PME# signal will be issued when TEMP2 exceeds OVT
setting.
If set this bit to 1, PME# signal will be issued when TEMP1 exceeds OVT
setting.
If set this bit to 1, PME# signal will be issued when TEMP2 exceeds high
limit setting.
If set this bit to 1, PME# signal will be issued when TEMP1 exceeds high
limit setting.
If set this bit to 1, PME# signal will be issued when TEMP0 exceeds high
limit setting.
56
Jan, 2012
V0. 12P
F81866A
Temperature Interrupt Status Register ⎯ Index 61h
Bit
Name
R/W
7
Reserved
R/W
Reset Default
-
0
Description
Reserved
This bit gets 1 to indicate TEMP2 temperature sensor has exceeded
6
T2_OVT _STS
R/W
3VCC
0
OVT limit or below the “OVT limit –hysteresis”. Write 1 to clear this bit,
write 0 to ignore.
This bit gets 1 to indicate TEMP1 temperature sensor has exceeded
5
T1_OVT _STS
R/W
3VCC
0
OVT limit or below the “OVT limit –hysteresis”. Write 1 to clear this bit,
write 0 to ignore.
4
T0_OVT _STS
R/W
3VCC
0
A one indicates TEMP0 temperature sensor has exceeded OVT limit or
below the “OVT limit –hysteresis”. Write 1 to clear this bit, write 0 will be
ignored.
3
Reserved
R/W
-
0
Reserved
This bit gets 1 to indicate TEMP2 temperature sensor has exceeded
2
T2_EXC _STS
R/W
3VCC
0
high limit or below the “high limit –hysteresis” limit. Write 1 to clear this
bit, write 0 to ignore.
This bit gets 1 to indicate TEMP1 temperature sensor has exceeded
1
T1_EXC _STS
R/W
3VCC
0
high limit or below the “high limit –hysteresis” limit. Write 1 to clear this
bit, write 0 to ignore.
0
T0_EXC _STS
R/W
3VCC
0
A one indicates TEMP0 temperature sensor has exceeded high limit or
below the “high limit –hysteresis” limit. Write 1 to clear this bit, write 0
will be ignored.
Temperature Real Time Status Register ⎯ Index 62h
Bit
Name
R/W
Reset Default
Description
7
Reserved
R/W
-
0
6
T2_OVT
R/W
3VCC
0
5
T1_OVT
R/W
3VCC
0
4
T0_OVT
R/W
3VCC
0
Set when the TEMP0 exceeds the OVT limit. Clear when the TEMP0 is
below the “OVT limit –hysteresis” temperature.
3
Reserved
R/W
-
0
Reserved
2
T2_EXC
R/W
3VCC
0
1
T1_EXC
R/W
3VCC
0
0
T0_EXC
R/W
3VCC
0
Reserved
Set when the TEMP2 exceeds the OVT limit. Clear when the TEMP2 is
below the “OVT limit –hysteresis” temperature.
Set when the TEMP1 exceeds the OVT limit. Clear when the TEMP1 is
below the “OVT limit –hysteresis” temperature.
Set when the TEMP2 exceeds the high limit. Clear when the TEMP2 is
below the “high limit –hysteresis” temperature.
Set when the TEMP1 exceeds the high limit. Clear when the TEMP1 is
below the “high limit –hysteresis” temperature.
Set when the TEMP0 exceeds the high limit. Clear when the TEMP0 is
below the “high limit –hysteresis” temperature.
57
Jan, 2012
V0. 12P
F81866A
Temperature BEEP Enable Register ⎯ Index 63h
Bit
Name
R/W
Reset Default
Description
7
Reserved
R/W
-
0
6
EN_ T2_ OVT_BEEP
R/W
5VSB
0
5
EN_ T1_ OVT_BEEP
R/W
5VSB
0
4
EN_ T0_ OVT_BEEP
R/W
5VSB
0
If set this bit to 1, BEEP signal will be issued when TEMP0 exceeds OVT
limit setting.
3
Reserved
R/W
-
0
Reserved
2
EN_ T2_EXC_BEEP
R/W
5VSB
0
1
EN_ T1_EXC_BEEP
R/W
5VSB
0
0
EN_ T0_EXC_BEEP
R/W
5VSB
0
Reserved
If set this bit to 1, BEEP signal will be issued when TEMP2 exceeds OVT
limit setting.
If set this bit to 1, BEEP signal will be issued when TEMP1 exceeds OVT
limit setting.
If set this bit to 1, BEEP signal will be issued when TEMP2 exceeds high
limit setting.
If set this bit to 1, BEEP signal will be issued when TEMP1 exceeds high
limit setting.
If set this bit to 1, BEEP signal will be issued when TEMP0 exceeds high
limit setting.
T1 OVT and High Limit Temperature Select Register ⎯ Index 64h
Bit
Name
R/W
7-6
Reserved
R/W
Reset Default
-
0
Description
Reserved
Select the source temperature for T1 OVT Limit.
0: Select T1 to be compared to Temperature 1 OVT Limit.
1: Select CPU temperature from PECI to be compared to Temperature 1
5-4
OVT_TEMP_SEL
R/W
5VSB
0
OVT Limit.
2: Select CPU temperature from AMD TSI or Intel PCH I2C to be
compared to Temperature 1 OVT Limit.
3: Select the MAX temperature from Intel PCH I2C to be compared to
Temperature 1 OVT Limit.
3-2
Reserved
R/W
-
0
Reserved
Select the source temperature for T1 High Limit.
0: Select T1 to be compared to Temperature 1 High Limit.
1: Select CPU temperature from PECI to be compared to Temperature 1
1-0
HIGH_ TEMP_SEL
R/W
5VSB
0
High Limit.
2: Select CPU temperature from AMD TSI or Intel PCH I2C to be
compared to Temperature 1 High Limit.
3: Select the MAX temperature from Intel PCH I2C to be compared to
Temperature 1 High Limit.
58
Jan, 2012
V0. 12P
F81866A
OVT and Alert Output Enable Register 1 ⎯ Index 66h
Bit
Name
R/W
Reset Default
7
Reserved
R/W
-
0
6
EN_T2_ALERT
R/W
5VSB
0
5
EN_T1_ALERT
R/W
5VSB
0
Description
Reserved
Enable temperature 2 alert event (asserted when temperature over high
limit)
Enable temperature 1 alert event (asserted when temperature over high
limit)
4
EN_T0_ALERT
R/W
5VSB
0
Enable temperature 0 alert event (asserted when temperature over high
limit)
3
Reserved
R/W
-
0
Reserved
2
EN_T2_OVT
R/W
5VSB
0
Enable over temperature (OVT) mechanism of temperature2.
1
EN_T1_OVT
R/W
5VSB
1
Enable over temperature (OVT) mechanism of temperature1.
0
EN_T0_OVT
R/W
5VSB
0
Enable over temperature (OVT) mechanism of temperature0.
Temperature Sensor Type Register ⎯ Index 6Bh
Bit
Name
R/W
Reset Default
Description
7-4
Reserved
RO
-
0
Reserved
3
Reserved
RO
-
0
Reserved
2
T2_MODE
R/W
5VSB
1
1
T1_MODE
R/W
5VSB
1
0
Reserved
R
-
0
0: TEMP2 is connected to a thermistor.
1: TEMP2 is connected to a BJT. (default)
0: TEMP1 is connected to a thermistor
1: TEMP1 is connected to a BJT.(default)
Reserved
TEMP1 Limit Hystersis Select Register ⎯ Index 6Ch
Bit
Name
R/W
Reset Default
Description
º
7-4
TEMP1_HYS
R/W
5VSB
4h
3-0
TEMP0_HYS
R/W
5VSB
4h
Limit hysteresis. (0~15 C)
Temperature and below the (boundary – hysteresis).
Limit hysteresis. (0~15ºC)
Temperature and below the (boundary – hysteresis).
TEMP2 and TEMP3 Limit Hystersis Select Register ⎯ Index 6Dh
Bit
7-4
3-0
Name
Reserved
TEMP2_HYS
R/W
R
R/W
Reset Default
5VSB
0
4h
Description
Reserved
Limit hysteresis. (0~15ºC)
Temperature and below the (boundary – hysteresis ).
59
Jan, 2012
V0. 12P
F81866A
DIODE OPEN Status Register ⎯ Index 6Fh
Bit
Name
R/W
Reset Default
Description
7-6
Reserved
R
-
-
5
PECI_OPEN
R
3VCC
-
4
TSI_OPEN
R
3VCC
-
3
Reserved
R
-
-
Reserved
2
T2_DIODE_OPEN
R
3VCC
-
“1” indicates external diode 2 is open or short
1
T1_DIODE_OPEN
R
3VCC
-
“1” indicates external diode 1 is open or short
T0_DIODE_OPEN
RO
3VCC
-
This register indicates the abnormality of temperature 0 measurement.
0
Reserved
When PECI interface is enabled, “1” indicates an error code (0x0080 or
0x0081) is received from PECI slave.
When TSI interface is enabled, “1” indicates the error of not receiving
NACK bit or a timeout occurred.
Temperature ⎯ Index 70h- 8Dh
Address
Attribute
Reset
Default Value
Description
70h
RO
3VCC
--
Temperature 0 reading. The unit of reading is 1ºC.At the
moment of reading this register.
71h
Reserved
3VCC
FFh
72h
R
3VCC
--
73h
R
3VCC
--
74h
R
3VCC
--
75-79h
R
3VCC
--
7Ah
R
3VCC
--
7Bh
R
3VCC
--
7Ch
R
3VCC
--
Reserved
Temperature 1 reading. The unit of reading is 1ºC.At the
moment of reading this register.
Reserved
Temperature 2 reading. The unit of reading is 1ºC.At the
moment of reading this register.
Reserved
The data of CPU temperature from digital interface after IIR
filter. (Available if Intel IBX or AMD TSI interface is enabled)
The raw data of PCH temperature from digital interface. (Only
available if Intel IBX interface is enabled)
The raw data of MCH read from digital interface. (Only available
if Intel IBX interface is enabled)
The raw data of maximum temperature between
7Dh
R
3VCC
--
CPU/PCH/MCH from digital interface. (Only available if Intel
IBEX interface is enabled)
7Eh
R
3VCC
--
The data of CPU temperature from digital interface after IIR
filter. (Only available if PECI interface is enabled)
80h
R/W
5VSB
64h
Temperature sensor 0 OVT limit. The unit is 1ºC.
81h
R/W
5VSB
55h
Temperature sensor 0 high limit. The unit is 1ºC.
5VSB
64h
Temperature sensor 1 OVT limit. The unit is 1ºC.
82h
R/W
60
Jan, 2012
V0. 12P
F81866A
83h
R/W
5VSB
55h
Temperature sensor 1 high limit. The unit is 1ºC.
84h
R/W
5VSB
64h
Temperature sensor 2 OVT limit. The unit is 1ºC.
85h
R/W
5VSB
55h
Temperature sensor 2 high limit. The unit is 1ºC.
86-8Bh
R
--
--
Reserved
8C~8Dh
R
--
FFH
Reserved
T1 Slope Adjust Register ⎯ Index 7Fh
Bit
Name
R/W
7-4
Reserved
-
-
-
3
T1_ADD
R/W
5VSB
0h
2-0
T1_SCALE
R/W
Reset Default
-
0h
Description
Reserved
This bit is the sign bit for T1 reading slope adjustment. See T1_SCALE
below for detail.
T1_ADD
X
0
0
0
1
1
1
T1_SCALE
00
01
10
11
01
10
11
Slope
No adjustment
15/16
31/32
63/64
17/16
33/32
65/64
Temperature Filter Select Register ⎯Index 8Eh
Bit
Name
R/W
Reset Default
Description
The queue time for second filter to quickly update values.
00: 8 times.
7-6
IIR-QUEUR3
R/W
5VSB
2’b10 01: 12 times.
10: 16 times. (default)
11: 24 times.
The queue time for second filter to quickly update values.
00: 8 times.
5-4
IIR-QUEUR2
R/W
5VSB
2’b10 01: 12 times.
10: 16 times. (default)
11: 24 times.
The queue time for second filter to quickly update values.
00: 8 timers.
3-2
IIR-QUEUR1
R/W
5VSB
2’b10 01: 12 times.
10: 16 times. (default)
11: 24 times.
61
Jan, 2012
V0. 12P
F81866A
The queue time for second filter to quickly update values. (for CPU
temperature from PECI or TSI interface)
1-0
IIR-QUEUR_DIG
R/W
5VSB
2’b10
00: 8 timers.
01: 12 times.
10: 16 times. (default)
11: 24 times.
6.4.2.4 Voltage Setting
Voltage-Protect Shut Down Enable Register ⎯ Index 10h
Bit
Name
R/W
Reset Default
Description
7
Reserved
-
-
0
Reserved.
6
V3_VP_EN
R/W
VBAT*
0
Voltage-Protect shut down enable for VIN3
5
V2_VP_EN
R/W
VBAT*
0
Voltage-Protect enable for VIN2
4-1
Reserved
-
-
0
Reserved
0
VCC_VP_EN
R/W
VBAT*
0
Voltage-Protect shut down enable for 3VCC
Voltage-Protect Status Register ⎯ Index 11h
Bit
Name
R/W
7-6
Reserved
-
Reset Default
-
0
Description
Reserved.
This bit is voltage-protect status. Once one of the monitored voltages
0
V_EXC_VP
R/WC
VBAT/
5VSB*
(3VCC, VIN2, VIN3) over its related over-voltage limits or under its related
0
under-voltage limits and if the related voltage-protect shut down enable bit
is set, this bit will be set to 1. Write a 1 to this bit will clear it to 0. (This bit is
powered by VBAT)
*Reset by VBAT when OVP_MODE is “0”, Reset by 5VSB when OVP_MODE is “1”
62
Jan, 2012
V0. 12P
F81866A
Voltage-Protect Configuration Register ⎯ Index 12h
Bit
Name
R/W
7-4
Reserved
-
Reset Default
-
-
Description
Reserved.
PSON# de-active time select in alarm mode of voltage protection.
00: PSON# tri-state 0.5 sec and then inverted of S3# when over voltage or
under voltage occurred.
01: PSON# tri-state 1 sec and then inverted of S3# when over voltage or
3-2
PU_TIME
R/W
VBAT
2’h1
under voltage occurred.
10: PSON# tri-state 2 sec and then inverted of S3# when over voltage or
under voltage occurred.
11: PSON# tri-state 4 sec and then inverted of S3# when over voltage or
under voltage occurred.
VP_EN_DELAY could set the delay time to start voltage protecting after
VDD power is ok when OVP_MODE is 1. (OVP_MODE is strapped by
RTS1# pin)
1-0
VP_EN_DELAY
R/W
VBAT
2’h2
00: bypass
01: 50ms
10: 100ms
11: 200ms
Voltage1 PME# Enable Register ⎯ Index 14h
Bit
Name
R/W
Reset Default
7-2
Reserved
-
-
0
1
EN_V1_PME
R/W
5VSB
0
0
Reserved
-
-
-
Description
Reserved
A one enables the corresponding interrupt status bit for PME# interrupt.
Set this bit 1 to enable PME# function for VIN1.
Reserved
Voltage1 Interrupt Status Register ⎯ Index 15h
Bit
Name
R/W
Reset Default
Description
7-2
Reserved
--
-
0
Reserved
1
V1_ EXC _STS
R/W
5VSB
0
0
Reserved
-
-
This bit is set when the VIN1 is over the high limit. Write 1 to clear this bit,
write 0 will be ignored.
Reserved
-
Voltage1 Exceeds Real Time Status Register 1 ⎯ Index 16h
Bit
7-2
Name
Reserved
R/W
--
Reset Default
-
Description
0
Reserved
1
V1_EXC
RO
5VSB
0
A one indicates VIN1 exceeds the high limit. A zero indicates VIN1 is in the
safe region.
0
Reserved
--
-
0
Reserved
63
Jan, 2012
V0. 12P
F81866A
Voltage1 BEEP Enable Register ⎯ Index 17h
Bit
Name
R/W
7-2
Reserved
--
Reset Default
-
0
Reserved
1
EN_V1_BEEP
R/W
5VSB
0
0
Reserved
-
0
A one enables the corresponding interrupt status bit for BEEP output of
VIN1.
Reserved
--
Description
Voltage Protection Power Good Select Register ⎯ Index 3Fh
Bit
Name
R/W
7-1
Reserved
--
Reset Default
-
0
Description
Reserved
0: OVP/UVP power good signal is 3VCCOK (3VCC > 2.8V)
0
OVP_RST_SEL
R/W
VBAT
0
1: OVP/UVP power good signal is PWOK.
OVP/UVP function wont’ start detecting until power good.
Voltage reading and limit⎯ Index 20h- 3Ah
Address
Attribute
Reset
Default Value
Description
20h
R
3VCC
--
3VCC reading. The unit of reading is 8mV.
21h
R
3VCC
--
VIN1 (Vcore) reading. The unit of reading is 8mV.
22h
R
3VCC
--
VIN2 reading. The unit of reading is 8mV.
23h
R
3VCC
--
VIN3 reading. The unit of reading is 8mV.
24h
R
3VCC
--
VIN4 reading. The unit of reading is 8mV.
25h
R
3VCC
--
VSB3V reading. The unit of reading is 8mV.
26h
R
3VCC
--
VBAT reading. The unit of reading is 8mV.
27h
R
3VCC
--
28h-2Ch
R
--
FF
Reserved
5VSB reading. The unit of reading is 8 mV. The 5VSB voltage to
be monitored is internally divided by 3.
2Dh
RO
3VCC
--
FAN1 present fan duty reading
2Eh
RO
3VCC
--
FAN2 present fan duty reading
2Fh
RO
3VCC
--
FAN3 present fan duty reading
30
31
RO
R/W
VBAT
VBAT
89
F2
3VCC under-voltage protection limit. The unit is 8mV
3VCC over-voltage protection limit. The unit is 8 mV
FF
Reserved
32~35h
R
36h
R/W
VBAT
E2
37h
R/W
VBAT
E1
38h
R/W
VBAT
83
VIN2 over-voltage limit (V2_OVV_LIMIT). The unit is 8mv. (This
byte is powered by VBAT.)
VIN3 over-voltage limit (V3_OVV_LIMIT). The unit is 8mv. (This
byte is powered by VBAT.)
VIN2 under-voltage limit (V2_UVV_LIMIT). The unit is 8mv (This
byte is powered by VBAT)
64
Jan, 2012
V0. 12P
F81866A
39h
R/W
VBAT
96
3Ah
R/W
5VSB
FF
VIN3 under-voltage limit (V3_UVV_LIMIT). The unit is 8mv (This
byte is powered by VBAT)
VIN1 OVP limit. The unit is 8mv (This byte is powered by VBAT)
6.4.2.5Fan Control Setting
FAN PME# Enable Register ⎯ Index 90h
Bit
Name
R/W
Reset Default
7-3
Reserved
R
-
0
2
EN_FAN3_PME
R/W
5VSB
0
1
EN_FAN2_PME
R/W
5VSB
0
0
EN_FAN1_PME
R/W
5VSB
0
Description
Reserved
A one enables the corresponding interrupt status bit for PME# interrupt
Set this bit 1 to enable PME# function for Fan3.
A one enables the corresponding interrupt status bit for PME# interrupt.
Set this bit 1 to enable PME# function for Fan2.
A one enables the corresponding interrupt status bit for PME# interrupt.
Set this bit 1 to enable PME# function for Fan1.
FAN Interrupt Status Register ⎯ Index 91h
Bit
Name
7-3
Reserved
2
FAN3_STS
1
0
R/W
R
Reset Default
-
0
R/W
3VCC
--
FAN2_STS
R/W
3VCC
--
FAN1_STS
R/W
3VCC
--
Description
Reserved
This bit is set when the fan3 count exceeds the count limit. Write 1 to
clear this bit, write 0 will be ignored.
This bit is set when the fan2 count exceeds the count limit. Write 1 to
clear this bit, write 0 will be ignored.
This bit is set when the fan1 count exceeds the count limit. Write 1 to
clear this bit, write 0 will be ignored.
FAN Real Time Status Register ⎯ Index 92h
Bit
Name
R/W
7-3
Reserved
--
Reset Default
-
0
Description
Reserved
This bit set to high mean that fan3 count can’t meet the expected count
2
FAN3_EXC
R
3VCC
--
over than SMI time (CR9F) or when duty not zero but fan stop over then 3
sec.
1
FAN2_EXC
R
3VCC
--
0
FAN1_EXC
R
3VCC
--
This bit set to high mean that fan2 count can’t meet expect count over
than SMI time (CR9F) or when duty not zero but fan stop over then 3 sec.
This bit set to high mean that fan1 count can’t meet expect count over
than SMI time (CR9F) or when duty not zero but fan stop over then 3 sec.
65
Jan, 2012
V0. 12P
F81866A
FAN BEEP# Enable Register ⎯ Index 93h
Bit
Name
R/W
7
Reserved
-
-
-
Reserved
R/W
5VSB
0
Set one will enable FAN to force full speed when T2 over high limit.
R/W
5VSB
0
Set one will enable FAN to force full speed when T1 over high limit.
6
5
FULL_WITH_
T2_EN
FULL_WITH_
T1_EN
Reset Default
Description
4
Reserved
-
-
-
Reserved
3
Reserved
-
-
-
Reserved.
2
EN_FAN3_ BEEP
R/W
5VSB
0
A one enables the corresponding interrupt status bit for BEEP.
1
EN_FAN2_ BEEP
R/W
5VSB
0
A one enables the corresponding interrupt status bit for BEEP.
0
EN_FAN1_ BEEP
R/W
5VSB
0
A one enables the corresponding interrupt status bit for BEEP.
FAN Type Select Register ⎯ Index 94h (FAN_PROG_SEL = 0)
Bit
7-6
Name
Reserved
R/W
-
Reset Default
-
-
Description
Reserved.
00: Output PWM mode (push pull) to control fans.
01: Use linear fan application circuit to control fan speed by fan’s power
terminal.
5-4
FAN3_TYPE
R/W
3VCC
00
10: Output PWM mode (open drain) to control Intel 4-wire fans.
11: Reserved.
Bit 0 is power on trap by FANCTL3
0: FANCTL3 is pull up by external resistor.
1: FANCTL3 is pull down by internal 100K Ω resistor.
00: Output PWM mode (push pull) to control fans.
01: Use linear fan application circuit to control fan speed by fan’s power
terminal.
3-2
FAN2_TYPE
R/W
3VCC
00
10: Output PWM mode (open drain) to control Intel 4-wire fans.
11: Reserved.
Bit 0 is power on trap by FANCTL2
0: FANCTL2 is pull up by external resistor.
1: FANCTL2 is pull down by internal 100K Ω resistor.
66
Jan, 2012
V0. 12P
F81866A
00: Output PWM mode (push pull) to control fans.
01: Use linear fan application circuit to control fan speed by fan’s power
terminal.
1-0
FAN1_TYPE
R/W
3VCC
00
10: Output PWM mode (open drain) to control Intel 4-wire fans.
11: Reserved.
Bit 0 is power on trap by FANCTL1
0: FANCTL1 is pull up by external resistor.
1: FANCTL1is pull down by internal 100K Ω resistor.
S: Register default values are decided by trapping.
Fan1 Base Temperature Register – Offset 94h (FAN_PROG_SEL = 1)
Bit
Name
R/W
Reset Default
Description
This register is used to set the base temperature for FAN1 temperature
adjustment.
The FAN1 temperature is calculated according to the equation:
7-0
FAN1_BASE
_TEMP
Tfan1 = Tnow + (Ta – Tb)*Ct
R/W
5VSB
0
Where Tnow is selected by FAN1_TEMP_SEL_DIG and
FAN1_TEMP_SEL.
Tb is this register, Ta is selected by TFAN1_ADJ_SEL and Ct is selected
by TFAN1_ADJ_UP_RATE/TFAN1_ADJ_DN_RATE.
To access this register, FAN_PROG_SEL (CR9F [7]) must set to “1”.
FAN1 Temperature Adjustment Rate Register ⎯ Index 95h (FAN_PROG_SEL = 1)
Bit
7
Name
Reserved
R/W
-
Reset Default
-
-
Description
Reserved
This selects the weighting of the difference between Ta and Tb if Ta is
higher than Tb.
3’h1: 1 (Ct = 1)
6-4
TFAN1_ADJ_UP
5VSB
_RATE
3’h0
3’h2: 1/2 (Ct= 1/2)
3’h3: 1/4 (Ct = 1/4)
3’h4: 1/8 (Ct = 1/8)
otherwise: 0
To access this byte, FAN_PROG_SEL must set to “1”.
3
Reserved
-
-
Reserved
67
Jan, 2012
V0. 12P
F81866A
This selects the weighting of the difference between Ta and Tb if Ta is
lower than Tb.
3’h1: 1 (Ct = 1)
2-0
TFAN1_ADJ_DN
_RATE
R/W
5VSB
3’h0
3’h2: 1/2 (Ct= 1/2)
3’h3: 1/4 (Ct = 1/4)
3’h4: 1/8 (Ct = 1/8)
otherwise: 0
To access this byte, FAN_PROG_SEL must set to “1”.
FAN mode Select Register ⎯ Index 96h (FAN_PROG_SEL = 0)
Bit
7-6
Name
Reserved
R/W
-
Reset Default
-
-
Description
Reserved
00: Auto fan speed control. Fan speed will follow different temperature by
different RPM defined in 0xC6-0xCE.
01: Auto fan speed control. Fan speed will follow different temperature by
different duty cycle defined in 0xC6-0xCE.
5-4
FAN3_MODE
R/W
VBAT
01
10: Manual mode fan control. User can write expected RPM count to
0xC2-0xC3, and F81866A will adjust duty cycle (PWM fan type) or
voltage (linear fan type) to control fan speed automatically.
11: Manual mode fan control. User can write expected duty cycle (PWM
fan type) or voltage (linear fan type) to 0xC3, and F81866A will output this
desired duty or voltage to control fan speed.
00: Auto fan speed control. Fan speed will follow different temperature by
different RPM defined in 0xB6-0xBE.
01: Auto fan speed control. Fan speed will follow different temperature by
different duty cycle (voltage) defined in 0xB6-0xBE.
3-2
FAN2_MODE
R/W
VBAT
01
10: Manual mode fan control. User can write expected RPM count to
0xB2-0xB3, and F81866A will adjust duty cycle (PWM fan type) or voltage
(linear fan type) to control fan speed automatically.
11: Manual mode fan control, user can write expected duty cycle (PWM
fan type) or voltage (linear fan type) to 0xB3, and F81866A will output this
desired duty or voltage to control fan speed.
68
Jan, 2012
V0. 12P
F81866A
00: Auto fan speed control. Fan speed will follow different temperature by
different RPM defined in 0xA6-0xAE.
01: Auto fan speed control. Fan speed will follow different temperature by
different duty cycle defined in 0xA6-0xAE.
1-0
FAN1_MODE
R/W
VBAT
01
10: Manual mode fan control, user can write expected RPM count to
0xA2-0xA3, and F81866A will auto control duty cycle (PWM fan type) or
voltage (linear fan type) to control fan speed automatically.
11: Manual mode fan control, user can write expected duty cycle (PWM
fan type) or voltage (linear fan type) to 0xA3, and F81866A will output this
desired duty or voltage to control fan speed.
FAN mode Select Register ⎯ Index 96h (FAN_PROG_SEL = 1)
Bit
7-3
Name
Reserved
R/W
-
Reset Default
-
-
Description
Reserved
This selects which temperature to be used as Ta for Fan1 temperature
adjustment.
000: PECI (CR7Eh)
001: T1 (CR72h)
010: T2 (CR74h)
2-0
TFAN1_ADJ_SEL
R/W
5VSB
0h
011: T3 (CR76h)
100: IBEX/TSI CPU temperature (CR7Ah)
101:IBEX PCH temperature (CR7Bh).
110: IBEX MCH temperature (CR7Ch).
111: IBEX maximum temperature (CR7Dh).
otherwise: Ta will be 0.
To access this register FAN_PROG_SEL must set to “1”.
Faster Fan Filter Control Register ⎯ Index 97h
Bit
Name
R/W
Reset Default
Description
7-3
Reserved
-
-
-
Reserved.
2
FLT_FAST3
R/W
5VSB
0
Set this bit 1 if FAN3 is using a faster fan.
1
FLT_FAST2
R/W
5VSB
0
Set this bit 1 if FAN2 is using a faster fan.
0
FLT_FAST1
R/W
5VSB
0
Set this bit 1 if FAN1 is using a faster fan.
69
Jan, 2012
V0. 12P
F81866A
Auto FAN1 and FAN2 Boundary Hystersis Select Register ⎯ Index 98h
Bit
Name
R/W
Reset Default
Description
º
Boundary hysteresis. (0~15 C)
7-4
FAN2_HYS
R/W
5VSB
4h
Segment will change when the temperature over the boundary
temperature and below the (boundary – hysteresis).
Boundary hysteresis. (0~15ºC)
3-0
FAN1_HYS
R/W
5VSB
4h
Segment will change when the temperature over the boundary
temperature and below the (boundary – hysteresis).
Auto FAN3 Boundary Hystersis Select Register ⎯ Index 99h
Bit
7-4
Name
Reserved
R/W
-
Reset Default
-
-
Description
Reserved.
Boundary hysteresis. (0~15ºC)
3-0
FAN3_HYS
R/W
5VSB
2h
Segment will change when the temperature over the boundary
temperature and below the (boundary – hysteresis).
Fan3 Control Register ⎯ Index 9Ah
Bit
7
Name
Reserved
R/W
-
Reset Default
-
-
Description
Reserved.
This bit and FAN3_PWM_FREQ_SEL are used to select FAN3 PWM
frequency. NEW_FREQ_SEL3 = { FREQ_SEL_ADD3,
FAN3_PWM_FREQ_SEL}
6
FREQ_SEL_ADD3
R/W
5VSB
0
00: 23.5 KHz
01: 11.75 KHz
10: 5.875 KHz
11: 220 Hz
This bit and FAN2_PWM_FREQ_SEL are used to select FAN2 PWM
frequency. NEW_FREQ_SEL2 = { FREQ_SEL_ADD2,
FAN2_PWM_FREQ_SEL}
5
FREQ_SEL_ADD2
R/W
5VSB
0
00: 23.5 KHz
01: 11.75 KHz
10: 5.875 KHz
11: 220 Hz
70
Jan, 2012
V0. 12P
F81866A
This bit and FAN1_PWM_FREQ_SEL are used to select FAN1 PWM
frequency. NEW_FREQ_SEL1 = { FREQ_SEL_ADD1,
FAN1_PWM_FREQ_SEL}
4
FREQ_SEL_ADD1
R/W
5VSB
0
00: 23.5 KHz
01: 11.75 KHz
10: 5.875 KHz
11: 220 Hz
3-2
Reserved
R/W
-
0
Reserved (Keep the value of these two bits “0”)
1-0
Reserved
-
-
-
Reserved
Auto Fan Up Speed Update Rate Select Register ⎯ Index 9Bh (FAN_PROG_SEL = 0)
Bit
7-6
Name
Reserved
R/W
-
Reset Default
-
-
Description
Reserved.
Fan3 duty update rate:
00: 2Hz
5-4
FAN3_UP_RATE
R/W
5VSB
01
01: 5Hz (default)
10: 10Hz
11: 20Hz
Fan2 duty update rate:
00: 2Hz
3-2
FAN2_UP_RATE
R/W
5VSB
01
01: 5Hz (default)
10: 10Hz
11: 20Hz
Fan1 duty update rate:
00: 2Hz
1-0
FAN1_UP_RATE
R/W
5VSB
01
01: 5Hz (default)
10: 10Hz
11: 20Hz
Auto Fan Down Speed update Rate Select Register ⎯ Index 9Bh (FAN_PROG_SEL = 1)
Bit
Name
R/W
Reset Default
Description
0: Fan down rate disable
7
UP_DN_RATE_EN
R/W
5VSB
0
1: Fan down rate enable
Set this bit 1 to use different fan up/down rate. If this bit is not set to 1, the
fan up/down rate will follow FAN_UP_RATE.
6
DIRECT_LOAD_EN
R/W
5VSB
0
0: Direct load disable
1: Direct load enable for manual duty mode
71
Jan, 2012
V0. 12P
F81866A
Fan3 duty update rate:
00: 2Hz
5-4
FAN3_DN_RATE
R/W
5VSB
01
01: 5Hz (default)
10: 10Hz
11: 20Hz
Fan2 duty update rate:
00: 2Hz
3-2
FAN2_DN_RATE
R/W
5VSB
01
01: 5Hz (default)
10: 10Hz
11: 20Hz
Fan1 duty update rate:
00: 2Hz
1-0
FAN1_DN_RATE
R/W
5VSB
01
01: 5Hz (default)
10: 10Hz
11: 20Hz
FAN1 and FAN2 START UP DUTY-CYCLE/VOLTAGE ⎯ Index 9Ch
Bit
Name
R/W
Reset Default
Description
When fan start, the FAN_CTRL2 will increase duty-cycle from 0 to this
7-4
FAN2_STOP
_DUTY
R/W
5VSB
5h
(value x 8) directly. And if fan speed is down, the FAN_CTRL 2 will
decrease duty-cycle to 0 when the PWM duty cycle is less than this
(value x 4).
When fan start, the FAN_CTRL 1 will increase duty-cycle from 0 to this
3-0
FAN1_STOP
_DUTY
R/W
5VSB
5h
(value x 8 directly. And if fan speed is down, the FAN_CTRL 1 will
decrease duty-cycle to 0 when the PWM duty cycle is less than this
(value x 4).
FAN3 START UP DUTY-CYCLE/VOLTAGE ⎯ Index 9Dh
Bit
Name
R/W
7-4
Reserved
-
Reset Default
-
-
Description
Reserved.
When fan start, the FAN_CTRL 3 will increase duty-cycle from 0 to this
3-0
FAN3_STOP_
DUTY
R/W
5VSB
5h
(value x 8 directly. And if fan speed is down, the FAN_CTRL 3 will
decrease duty-cycle to 0 when the PWM duty cycle is less than this
(value x 4).
72
Jan, 2012
V0. 12P
F81866A
FAN PROGRAMMABLE DUTY-CYCLE/VOLTAGE LOADED AFTER POWER-ON ⎯ Index 9Eh
Bit
Name
R/W
Reset Default
7-0
PROG_DUTY_VAL
R/W
5VSB
66h
Description
This byte will be immediately loaded as Fan duty value after VDD is
powered on if it has been programmed before shut down.
Fan Fault Time Register ⎯ Index 9Fh
Bit
Name
R/W
Reset Default
Description
7
FAN_PROG_SEL
R/W
5VSB
0
Set this bit to “1” will enable accessing registers of other bank.
6
FAN_MNT_SEL
R/W
5VSB
0
Set this bit to monitor a slower fan.
5
Reserved
-
-
-
Reserved
0: The Fan Duty is 100% and will be loaded immediately after VDD is
powered on if CR9E is not been programmed before shut down. (pull
down by external resistor)
4
FULL_DUTY_SEL
R/W
3VCC
-
1: The Fan Duty is 40% and will be loaded immediately after VDD is
powered on if CR9E is not been programmed before shut down. (pull up
by internal 47K Ω resistor).
This register is power on trap by DTR1#/FAN40_100.
This register determines the time of fan fault. The condition to cause fan
fault event is:
When PWM_Duty reaches FFh, if the fan speed count can’t reach the fan
expect count in time.
3-0
F_FAULT_TIME
R/W
5VSB
Ah
The unit of this register is 1 second. The default value is 11 seconds.
(Set to 0, means 1 seconds; Set to 1, means 2 seconds.
Set to 2, means 3 seconds. …. )
Another condition to cause fan fault event is fan stop and the PWM duty is
greater than the minimum duty programmed by the register index
9C-9Dh.
A.
Address
FAN1 Index A0h~AFh
Attribute
Reset
Default
Description
FAN1 count reading (MSB). At the moment of reading this register,
A0h
RO
3VCC
8’h0f
the LSB will be latched. This will prevent from data updating when
reading. To read the fan count correctly, read MSB first and followed
read the LSB.
A1h
RO
3VCC
8’hff
FAN1 count reading (LSB).
73
Jan, 2012
V0. 12P
F81866A
RPM mode(CR96 bit0=0):
FAN1 expect speed count value (MSB), in auto fan mode (CR96
A2h
R/W
VBAT
8’h00
bit1Î0) this register is auto updated by hardware.
Duty mode(CR96 bit0=1):
This byte is reserved byte.
RPM mode(CR96 bit0=0):
FAN1 expect speed count value (LSB) or expect PWM duty, in auto
fan mode this register is auto updated by hardware and read only.
A3h
R/W
VBAT
8’h01
Duty mode(CR96 bit0=1):
The Value programming in this byte is duty value. In auto fan mode
(CR96 bit1Î0) this register is updated by hardware.
Ex: 5Î 5*100/255 %
255 Î 100%
FAN1 full speed count reading (MSB). At the moment of reading this
A4h
R/W
5VSB
8’h03
register, the LSB will be latched. This will prevent from data updating
when reading. To read the fan count correctly, read MSB first and
followed read the LSB.
A5h
R/W
5VSB
8’hff
FAN1 full speed count reading (LSB).
VT1 BOUNDARY 1 TEMPERATURE – Index A6h
Bit
Name
R/W
Reset Default
Description
The first boundary temperature for VT1 in temperature mode.
When VT1 temperature exceeds this boundary, expected FAN1 value will
7-0
BOUND1TMP1
R/W
5VSB
3Ch be loaded from segment 1 register (index AAh).
(60oC) When VT1 temperature is under this boundary – hysteresis, expected
FAN1 value will be loaded from segment 2 register (index ABh).
º
º
This byte is a 2’s complement value ranged from -128 C ~ 127 C.
VT1 BOUNDARY 2 TEMPERATURE – Index A7
Bit
7-0
Name
BOUND2TMP1
R/W
R/W
Reset Default
5VSB
Description
The 2nd BOUNDARY temperature for VT1 in temperature mode.
When VT1 temperature is exceed this boundary, FAN1 expected value
32
will load from segment 2 register (index ABh).
º
(50 C) When VT1 temperature is below this boundary – hysteresis, FAN1
expected value will load from segment 3 register (index ACh).
This byte is a 2’s complement value ranging from -128ºC ~ 127ºC.
74
Jan, 2012
V0. 12P
F81866A
VT1 BOUNDARY 3 TEMPERATURE – Index A8h
Bit
7-0
Name
BOUND3TMP1
R/W
R/W
Reset Default
5VSB
Description
The 3rd BOUNDARY temperature for VT1 in temperature mode.
When VT1 temperature is exceed this boundary, FAN1 expected value
28h will load from segment 3 register (index ACh).
(40ºC) When VT1 temperature is below this boundary – hysteresis, FAN1
expected value will load from segment 4 register (index ADh).
This byte is a 2’s complement value ranging from -128ºC ~ 127ºC.
VT1 BOUNDARY 4 TEMPERATURE – Index A9
Bit
7-0
Name
BOUND4TMP1
R/W
R/W
Reset Default
5VSB
Description
The 4th BOUNDARY temperature for VT1 in temperature mode.
When VT1 temperature is exceed this boundary, FAN1 expected value
1Eh will load from segment 4 register (index ADh).
º
(30 C) When VT1 temperature is below this boundary – hysteresis, FAN1
expected value will load from segment 5 register (index AEh).
This byte is a 2’s complement value ranging from -128ºC ~ 127ºC.
FAN1 SEGMENT 1 SPEED COUNT – Index AAh
Bit
Name
R/W
Reset Default
Description
The meaning of this register is depending on the FAN1_MODE(CR96)
2’b00: The value that set in this byte is the relative expect fan speed % of
the full speed in this temperature section.
7-0
SEC1SPEED1
R/W
Ex:
FFh
100%:full speed: User must set this register to 0.
5VSB
(100%)
60% full speed: (100-60)*32/60, so user must program 21 to this reg.
X% full speed: The value programming in this byte is ( (100-X)*32/X
2’b01: The value that set in this byte is mean the expect PWM duty-cycle
in this temperature section.
FAN1 SEGMENT 2 SPEED COUNT – Index ABh
Bit
Name
R/W
Reset Default
Description
The meaning of this register is depending on the FAN1_MODE(CR96)
7-0
SEC2SPEED1
R/W
5VSB
2’b00: The value that set in this byte is the relative expect fan speed % of
D9h
the full speed in this temperature section.
(85%)
2’b01: The value that set in this byte is mean the expect PWM duty-cycle
in this temperature section.
75
Jan, 2012
V0. 12P
F81866A
FAN1 SEGMENT 3 SPEED COUNT Register – Index ACh
Bit
Name
R/W
Reset Default
Description
The meaning of this register is depending on the FAN1_MODE(CR96)
7-0
SEC3SPEED1
R/W
5VSB
2’b00: The value that set in this byte is the relative expect fan speed % of
B2h
the full speed in this temperature section.
(70%)
2’b01: The value that set in this byte is mean the expect PWM duty-cycle
in this temperature section.
FAN1 SEGMENT 4 SPEED COUNT Register – Index ADh
Bit
Name
R/W
Reset Default
Description
The meaning of this register is depending on the FAN1_MODE(CR96)
7-0
SEC4SPEED1
R/W
5VSB
2’b00: The value that set in this byte is the relative expect fan speed % of
99h
the full speed in this temperature section.
(60%)
2’b01: The value that set in this byte is mean the expect PWM duty-cycle
in this temperature section.
FAN1 SEGMENT 5 SPEED COUNT Register – Index AEh
Bit
Name
R/W
Reset Default
Description
The meaning of this register is depending on the FAN1_MODE(CR96)
7-0
SEC5PEED1
R/W
5VSB
2’b00: The value that set in this byte is the relative expect fan speed % of
80h
(50%) the full speed in this temperature section.
2’b01: The value that set in this byte is mean the expect PWM duty-cycle
in this temperature section.
FAN1 Temperature Mapping Select – Index AFh
Bit
7
Name
FAN1_TEMP
_SEL_DIG
R/W
Reset Default
R/W
5VSB
0
Description
This bit companies with FAN1_TEMP_SEL select the temperature source
for controlling FAN1.
This bit and FREQ_SEL_ADD1 are used to select FAN1 PWM frequency.
NEW_FREQ_SEL1 = { FREQ_SEL_ADD1, FAN1_PWM_FREQ_SEL}
6
FAN1_PWM
_FREQ_SEL
R/W
5VSB
0
00: 23.5 KHz
01: 11.75 KHz
10: 5.875 KHz
11: 220 Hz
5
FAN1_UP_T_EN
R/W
5VSB
0
Set 1 to force FAN1 to full speed if any temperature over its high limit.
76
Jan, 2012
V0. 12P
F81866A
FAN1_
4
INTERPOLATION_E
R/W
5VSB
1
Set 1 will enable the interpolation of the fan expect table.
N
This register controls the FAN1 duty movement when temperature over
highest boundary.
FAN1_JUMP
3
_HIGH_EN
0: The FAN1 duty will increases with the slope selected by
R/W
5VSB
1
FAN1_RATE_SEL register.
1: The FAN1 duty will directly jumps to the value of SEC1SPEED1
register.
This bit only activates in duty mode.
This register controls the FAN1 duty movement when temperature under
(highest boundary – hysteresis).
FAN1_JUMP
2
_LOW_EN
0: The FAN1 duty will decreases with the slope selected by
R/W
5VSB
1
FAN1_RATE_SEL register.
1: The FAN1 duty will directly jumps to the value of SEC2SPEED1
register.
This bit only activates in duty mode.
This registers company with FAN1_TEMP_SEL_DIG select the
temperature source for controlling FAN1. The following value is
comprised by {FAN1_TEMP_SEL_DIG, FAN1_TEMP_SEL}
000: fan1 follows PECI temperature (CR7Eh)
001: fan1 follows temperature 1 (CR72h).
1-0
FAN1_TEMP_SEL
R/W
5VSB
01
010: fan1 follows temperature 2 (CR74h).
011: fan1 follows temperature 0 (CR70h).
100: fan1 follows IBX/TSI CPU temperature (CR7Ah)
101: fan1 follows IBX PCH temperature (CR7Bh).
110: fan1 follows IBX MCH temperature (CR7Ch).
111: fan1 follows IBX maximum temperature (CR7Dh).
Others are reserved.
B.
Address
FAN2 Index B0h~BFh
Attribute
Reset
Default Value
Description
FAN2 count reading (MSB). At the moment of reading this
B0h
RO
3VCC
register, the LSB will be latched. This will prevent from data
8’h0f
updating when reading. To read the fan count correctly, read
MSB first and followed read the LSB.
B1h
RO
3VCC
8’hff
FAN2 count reading (LSB).
77
Jan, 2012
V0. 12P
F81866A
RPM mode(CR96 bit2=0):
FAN2 expect speed count value (MSB), in auto fan
B2h
R/W
VBAT
mode(CR96 bit3Î0) this register is auto updated by
8’h00
hardware.
Duty mode (CR96 bit2=1):
This byte is reserved byte.
RPM mode(CR96 bit2=0):
FAN2 expect speed count value (LSB) or expect PWM duty ,
in auto fan mode this register is auto updated by hardware
and read only.
B3h
R/W
VBAT
8’h01
Duty mode(CR96 bit2=1):
The Value programming in this byte is duty value. In auto fan
mode (CR96 bit3Î0) this register is updated by hardware.
Ex: 5Î 5*100/255 %
255 Î 100%
FAN2 full speed count reading (MSB). At the moment of
B4h
R/W
5VSB
reading this register, the LSB will be latched. This will
8’h03
prevent from data updating when reading. To read the fan
count correctly, read MSB first and followed read the LSB.
B5h
R/W
5VSB
8’hff
FAN2 full speed count reading (LSB).
VT2 BOUNDARY 1 TEMPERATURE – Index B6h
Bit
Name
R/W
Reset Default
Description
The first boundary temperature for VT2 in temperature mode.
When VT2 temperature exceeds this boundary, FAN2 expect value will
7-0
BOUND1TMP2
R/W
5VSB
3Ch load from segment 1 register (index Bah).
(60oC) When VT2 temperature is under this boundary – hysteresis, FAN2 expect
value will load from segment 2 register (index BAh).
º
º
This byte is a 2’s complement value ranging from -128 C ~ 127 C.
VT2 BOUNDARY 2 TEMPERATURE – Index B7
Bit
7-0
Name
BOUND2TMP2
R/W
R/W
Reset Default
5VSB
Description
The 2nd BOUNDARY temperature for VT2 in temperature mode.
When VT2 temperature is exceed this boundary, FAN2 expected value
32
will load from segment 2 register (index BBh).
º
(50 C) When VT2 temperature is below this boundary – hysteresis, FAN2
expected value will load from segment 3 register (index BCh).
This byte is a 2’s complement value ranging from -128ºC ~ 127ºC.
78
Jan, 2012
V0. 12P
F81866A
VT2 BOUNDARY 3 TEMPERATURE – Index B8h
Bit
7-0
Name
BOUND3TMP2
R/W
R/W
Reset Default
5VSB
Description
The 3rd BOUNDARY temperature for VT2 in temperature mode.
When VT2 temperature is exceed this boundary, FAN2 expected value
28h will load from segment 3 register (index BCh).
(40ºC) When VT2 temperature is below this boundary – hysteresis, FAN2
expected value will load from segment 4 register (index BDh).
This byte is a 2’s complement value ranging from -128ºC ~ 127ºC.
VT2 BOUNDARY 4 TEMPERATURE – Index B9
Bit
7-0
Name
BOUND4TMP2
R/W
R/W
Reset Default
5VSB
Description
The 4th BOUNDARY temperature for VT2 in temperature mode.
When VT2 temperature is exceed this boundary, FAN2 expected value
1Eh will load from segment 4 register (index BDh).
º
(30 C) When VT2 temperature is below this boundary – hysteresis, FAN2
expected value will load from segment 5 register (index BEh).
This byte is a 2’s complement value ranging from -128ºC ~ 127ºC.
FAN2 SEGMENT 1 SPEED COUNT – Index BAh
Bit
Name
R/W
Reset
Default
Description
The meaning of this register is depending on the FAN2_MODE (CR96)
2’b00: The value that set in this byte is the relative expect fan speed %
of the full speed in this temperature section.
7-0
SEC1SPEED2
R/W
5VSB
Ex:
FFh
100%:full speed: User must set this register to 0.
(100%)
60% full speed: (100-60)*32/60, so user must program 21 to this reg.
X% full speed: The value programming in this byte is Î (100-X)*32/X
2’b01: The value that set in this byte is mean the expect PWM
duty-cycle in this temperature section.
FAN2 SEGMENT 2 SPEED COUNT – Index BBh
Bit
Name
R/W
Reset
Default
Description
The meaning of this register is depending on the FAN2_MODE (CR96)
7-0
SEC2SPEED2
R/W
5VSB
2’b00: The value that set in this byte is the relative expect fan speed %
D9h
of the full speed in this temperature section.
(85%)
2’b01: The value that set in this byte is mean the expect PWM
duty-cycle in this temperature section.
79
Jan, 2012
V0. 12P
F81866A
FAN2 SEGMENT 3 SPEED COUNT Register – Index BCh
Bit
Name
R/W
Reset
Default
Description
The meaning of this register is depending on the FAN2_MODE (CR96)
7-0
SEC3SPEED2
R/W
5VSB
2’b00: The value that set in this byte is the relative expect fan speed %
B2h
of the full speed in this temperature section.
(70%)
2’b01: The value that set in this byte is mean the expect PWM
duty-cycle in this temperature section.
FAN2 SEGMENT 4 SPEED COUNT Register – Index BDh
Bit
Name
R/W
Reset
Default
Description
The meaning of this register is depending on the FAN2_MODE (CR96)
7-0
SEC4SPEED2
R/W
5VSB
2’b00: The value that set in this byte is the relative expect fan speed %
99h
of the full speed in this temperature section.
(60%)
2’b01: The value that set in this byte is mean the expect PWM
duty-cycle in this temperature section.
FAN2 SEGMENT 5 SPEED COUNT Register – Index BEh
Bit
Name
R/W
Reset
Default
Description
The meaning of this register is depending on the FAN2_MODE (CR96)
7-0
SEC5PEED2
R/W
5VSB
2’b00: The value that set in this byte is the relative expect fan speed %
80h
(50%) of the full speed in this temperature section.
2’b01: The value that set in this byte is mean the expect PWM
duty-cycle in this temperature section.
FAN2 Temperature Mapping Select – Index BFh
Bit
7
Name
FAN2_TEMP_
SEL_DIG
R/W
Reset
Default
R/W
5VSB
0
Description
This bit companies with FAN2_TEMP_SEL to select the temperature
source for controlling FAN2.
This bit and FREQ_SEL_ADD2 are used to select FAN2 PWM
frequency. NEW_FREQ_SEL2 = { FREQ_SEL_ADD2,
6
FAN2_PWM_
FREQ_SEL
FAN2_PWM_FREQ_SEL}
R/W
5VSB
0
00: 23.5 KHz
01: 11.75 KHz
10: 5.875 KHz
11: 220 Hz
5
FAN2_UP_T_EN
R/W
5VSB
0
Set 1 to force FAN2 to full speed if any temperature over its high limit.
80
Jan, 2012
V0. 12P
F81866A
FAN2_
4
INTERPOLATION_EN
R/W
5VSB
1
Set 1 will enable the interpolation of the fan expect table.
This register controls the FAN2 duty movement when temperature over
highest boundary.
FAN2_JUMP_
3
HIGH_EN
0: The FAN2 duty will increases with the slope selected by
R/W
5VSB
1
FAN2_RATE_SEL register.
1: The FAN2 duty will directly jumps to the value of SEC1SPEED2
register.
This bit only activates in duty mode.
This register controls the FAN2 duty movement when temperature under
(highest boundary – hysteresis).
FAN2_JUMP_
2
LOW_EN
0: The FAN2 duty will decreases with the slope selected by
R/W
5VSB
1
FAN2_RATE_SEL register.
1: The FAN2 duty will directly jumps to the value of SEC2SPEED2
register.
This bit only activates in duty mode.
This registers companying with FAN2_TEMP_SEL_DIG select the
temperature source for controlling FAN2. The following value is
comprised by {FAN2_TEMP_SEL_DIG, FAN2_TEMP_SEL}
000: fan2 follows PECI temperature (CR7Eh)
001: fan2 follows temperature 1 (CR72h).
1-0
FAN2_TEMP_SEL
R/W
5VSB
10
010: fan2 follows temperature 2 (CR74h).
011: fan2 follows temperature 0 (CR70h).
100: fan2 follows IBEX/TSI CPU temperature (CR7Ah)
101: fan2 follows IBEX PCH temperature (CR7Bh).
110: fan2 follows IBEX MCH temperature (CR7Ch).
111: fan2 follows IBEX maximum temperature (CR7Dh).
Otherwise: reserved.
C.
Address
FAN3 Index C0h- CFh
Attribute
Reset
Default Value
Description
FAN3 count reading (MSB). At the moment of reading this
C0h
RO
3VCC
register, the LSB will be latched. This will prevent from data
8’h0F
updating when reading. To read the fan count correctly, read
MSB first and followed read the LSB.
C1h
RO
3VCC
8’hff
FAN3 count reading (LSB).
81
Jan, 2012
V0. 12P
F81866A
RPM mode(CR96 bit4=0):
FAN3 expect speed count value (MSB), in auto fan mode
C2h
R/W
VBAT
8’h00
(CR96 bit5Î0) this register is auto updated by hardware.
Duty mode(CR96 bit4=1):
This byte is reserved byte.
RPM mode(CR96 bit4=0):
FAN3 expect speed count value (LSB) or expect PWM duty,
in auto fan mode this register is auto updated by hardware
and read only.
C3h
R/W
VBAT
8’h01
Duty mode(CR96 bit4=1):
The Value programming in this byte is duty value. In auto fan
mode (CR96 bit5Î0) this register is updated by hardware.
Ex: 5Î 5*100/255 %
255 Î 100%
FAN3 full speed count reading (MSB). At the moment of
C4h
R/W
5VSB
reading this register, the LSB will be latched. This will prevent
8’h03
from data updating when reading. To read the fan count
correctly, read MSB first and followed read the LSB.
C5h
R/W
5VSB
8’hff
FAN3 full speed count reading (LSB).
VT3 BOUNDARY 1 TEMPERATURE – Index C6h
Bit
Name
R/W
Reset
Default
Description
The first boundary temperature for VT3 in temperature mode.
When VT3 temperature exceeds this boundary, FAN3 expect value will
7-0
BOUND1TMP3
R/W
5VSB
3Ch load from segment 1 register (index CAh).
(60oC) When VT3 temperature is under this boundary – hysteresis, FAN3
expect value will load from segment 2 register (index CAh).
º
º
This byte is a 2’s complement value ranging from -128 C ~ 127 C.
VT3 BOUNDARY 2 TEMPERATURE – Index C7
Bit
7-0
Name
BOUND2TMP3
R/W
R/W
Reset
Default
Description
5VSB
The 2nd BOUNDARY temperature for VT3 in temperature mode.
When VT3 temperature is exceed this boundary, FAN3 expected value
32
will load from segment 2 register (index CBh).
o
(50 C) When VT3 temperature is below this boundary – hysteresis, FAN3
expected value will load from segment 3 register (index CCh).
This byte is a 2’s complement value ranging from-128ºC ~ 127ºC.
82
Jan, 2012
V0. 12P
F81866A
VT3 BOUNDARY 3 TEMPERATURE – Index C8h
Bit
7-0
Name
BOUND3TMP3
R/W
R/W
Reset
Default
5VSB
The 3rd BOUNDARY temperature for VT3 in temperature mode.
When VT3 temperature is exceed this boundary, FAN3 expected value
28h will load from segment 3 register (index CCh).
(40oC) When VT3 temperature is below this boundary – hysteresis, FAN3
expected value will load from segment 4 register (index CDh).
This byte is a 2’s complement value ranging from-128ºC ~ 127ºC.
Description
VT3 BOUNDARY 4 TEMPERATURE – Index C9h
Bit
7-0
Name
BOUND4TMP3
R/W
R/W
Reset
Default
5VSB
The 4th BOUNDARY temperature for VT3 in temperature mode.
When VT3 temperature is exceed this boundary, FAN3 expected value
1Eh will load from segment 4 register (index CDh).
o
(30 C) When VT3 temperature is below this boundary – hysteresis, FAN3
expected value will load from segment 5 register (index CEh).
This byte is a 2’s complement value ranging from-128ºC ~ 127ºC.
Description
FAN3 SEGMENT 1 SPEED COUNT – Index CAh
Bit
Name
R/W
Reset
Default
Description
The meaning of this register is depending on the FAN3_MODE (CR96)
2’b00: The value that set in this byte is the relative expect fan speed %
of the full speed in this temperature section.
7-0
SEC1SPEED3
R/W
5VSB
FFh Ex:100%:full speed: User must set this register to 0.
(100%) 60% full speed: (100-60)*32/60, so user must program 21 to this reg.
X% full speed: The value programming in this byte is ( (100-X)*32/X
2’b01: The value that set in this byte is mean the expect PWM duty-cycle
in this temperature section.
FAN3 SEGMENT 2 SPEED COUNT – Index CBh
Bit
Name
R/W
Reset
Default
Description
The meaning of this register is depending on the FAN3_MODE (CR96)
7-0
SEC2SPEED3
R/W
5VSB
2’b00: The value that set in this byte is the relative expect fan speed % of
D9h
the full speed in this temperature section.
(85%)
2’b01: The value that set in this byte is mean the expect PWM duty-cycle
in this temperature section.
83
Jan, 2012
V0. 12P
F81866A
FAN3 SEGMENT 3 SPEED COUNT
Bit
7-0
Name
SEC3SPEED3
R/W
R/W
Reset
Default
7-0
Name
SEC4SPEED3
R/W
5VSB
R/W
Reset
7-0
Name
SEC5SPEED3
R/W
R/W
5VSB
Description
The meaning of this register is depending on the FAN3_MODE (CR96)
2’b00: The value that set in this byte is the relative expect fan speed % of
99h
the full speed in this temperature section.
(60%)
2’b01: The value that set in this byte is mean the expect PWM duty-cycle
in this temperature section.
5VSB
Reset
– Index CDh
Default
FAN3 SEGMENT 5 SPEED COUNT
Bit
Description
The meaning of this register is depending on the FAN3_MODE (CR96)
B2h 2’b00: The value that set in this byte is the relative expect fan speed % of
(70%) the full speed in this temperature section.
2’b01: The value that set in this byte is mean the expect PWM duty-cycle
in this temperature section.
FAN3 SEGMENT 4 SPEED COUNT
Bit
– Index CCh
– Index CEh
Default
Description
The meaning of this register is depending on the FAN3_MODE (CR96)
2’b00: The value that set in this byte is the relative expect fan speed % of
80h
the full speed in this temperature section.
(50%)
2’b01: The value that set in this byte is mean the expect PWM duty-cycle
in this temperature section.
FAN3 Temperature Mapping Select – Index CFh
Bit
7
Name
FAN3_TEMP_
SEL_DIG
R/W
Reset
Default
R/W
5VSB
0
Description
This bit companies with FAN3_TEMP_SEL select the temperature
source for controlling FAN3.
This bit and FREQ_SEL_ADD3 are used to select FAN3 PWM
frequency. NEW_FREQ_SEL3 = { FREQ_SEL_ADD3,
6
FAN3_PWM_
FREQ_SEL
FAN3_PWM_FREQ_SEL}
R/W
5VSB
0
00: 23.5 KHz
01: 11.75 KHz
10: 5.875 KHz
11: 220 Hz
5
4
FAN3_UP_T_EN
FAN3_
INTERPOLATION_EN
R/W
5VSB
0
Set 1 to force FAN3 to full speed if any temperature over its high limit.
R/W
5VSB
1
Set 1 will enable the interpolation of the fan expect table.
84
Jan, 2012
V0. 12P
F81866A
This register controls the FAN3 duty movement when temperature over
highest boundary.
3
FAN3_JUMP_
HIGH_EN
0: The FAN3 duty will increases with the slope selected by
R/W
5VSB
1
FAN3_RATE_SEL register.
1: The FAN3 duty will directly jumps to the value of SEC1SPEED3
register.
This bit only activates in duty mode.
This register controls the FAN3 duty movement when temperature under
(highest boundary – hysteresis).
2
FAN3_JUMP_
LOW_EN
0: The FAN3 duty will decreases with the slope selected by
R/W
5VSB
1
FAN3_RATE_SEL register.
1: The FAN3 duty will directly jumps to the value of SEC2SPEED3
register.
This bit only activates in duty mode.
This registers companying with FAN3_TEMP_SEL_DIG select the
temperature source for controlling FAN3. The following value is
comprised by {FAN3_TEMP_SEL_DIG, FAN3_TEMP_SEL}
000: fan3 follows PECI temperature (CR7Eh)
001: fan3 follows temperature 1 (CR72h).
1-0
FAN3_TEMP_SEL
R/W
5VSB
11
010: fan3 follows temperature 2 (CR74h).
011: fan3 follows temperature 0 (CR70h).
100: fan3 follows IBEX/TSI CPU temperature (CR7Ah)
101: fan3 follows IBEX PCH temperature (CR7Bh).
110: fan3 follows IBEX MCH temperature (CR7Ch).
111: fan3 follows IBEX maximum temperature (CR7Dh).
Otherwise: reserved.
6.5
Keyboard Controller
The KBC circuit provides the functions included a keyboard and/or a PS/2 mouse, and can be
used with IBM-compatible personal computers or PS/2-based systems. The controller receives serial
data from the keyboard or PS/2 mouse, checks the parity of the data, and presents the data to the
system as a byte of data in its output buffer. The controller will assert an interrupt to the system when
data are placed in its output buffer.
Output Buffer
The output buffer is an 8-bit read-only register at I/O address 60h. The keyboard controller
uses the output buffer to send the code received from the keyboard and data bytes required by
85
Jan, 2012
V0. 12P
F81866A
commands to the system.
Input Buffer
The input buffer is an 8-bit write-only register at I/O address 60h or 64h. Writing to address 60h
sets a flag to indicate a data write; writing to address 64h sets a flag to indicate a command write.
Data written to I/O address 60h is sent to keyboard through the controller's input buffer only if the
input buffer full bit in the status register is “0”.
Status Register
The status register is an 8-bit read-only register at I/O address 64h that holds information about
the status of the keyboard controller and interface. It may be read at any time.
BIT
BIT FUNCTION
DESCRIPTION
0
Output Buffer Full
1
Input Buffer Full
2
System Flag
3
Command/Data
4
Inhibit Switch
0: Keyboard is inhibited
1: Keyboard is not inhibited
5
Mouse Output Buffer
0: Muse output buffer empty
1: Mouse output buffer full
6
General Purpose Time-out
0: No time-out error
1: Time-out error
7
Parity Error
0: Odd parity
1: Even parity (error)
0: Output buffer empty
1: Output buffer full
0: Input buffer empty
1: Input buffer full
This bit may be set to 0 or 1 by writing to the system flag bit in the
command byte of the keyboard controller (KCCB). It defaults to 0 after
a power-on reset.
0: Data byte
1: Command byte
Commands
COMMAND
20h
FUNCTION
Read Command Byte
86
Jan, 2012
V0. 12P
F81866A
Write Command Byte
60h
BIT
DESCRIPTION
0
Enable Keyboard Interrupt
1
Enable Mouse Interrupt
2
System flag
3
Reserve
4
Disable Keyboard Interface
5
Disable Mouse interface
6
IBM keyboard Translate Mode
7
Reserve
A7h
Disable Auxiliary Device Interface
A8h
Enable Auxiliary Device Interface
Auxiliary Interface Test
8’h00: indicate Auxiliary interface is ok.
A9h
8’h01: indicate Auxiliary clock is low.
8’h02: indicate Auxiliary clock is high
8’h03: indicate Auxiliary data is low
8’h04: indicate Auxiliary data is high
AAh
Self-test
Return 55h if self test succeeds
keyboard Interface Test
8’h00: indicate keyboard interface is ok.
ABh
8’h01: indicate keyboard clock is low.
8’h02: indicate keyboard clock is high
8’h03: indicate keyboard data is low
8’h04: indicate keyboard data is high
ADh
Disable Keyboard Interface
AEh
Enable Keyboard Interface
C0h
Read Input Port(P1) and send data to the system
C1h
Continuously puts the lower four bits of Port1 into STATUS register
C2h
Continuously puts the upper four bits of Port1 into STATUS register
CAh
Read the data written by CBh command.
CBh
Written a scratch data. This byte could be read by CAh command.
D0h
Send Port2 value to the system
D1h
Only set/reset GateA20 line based on the system data bit 1
D2h
Send data back to the system as if it came from Keyboard
D3h
Send data back to the system as if it came from Muse
D4h
Output next received byte of data from system to Mouse
FEh
Low pulse on KBRST# about 6μS
KBC Command Description
87
Jan, 2012
V0. 12P
F81866A
PS/2 wakeup function
The KBC supports keyboard and mouse wakeup function. KBC will assert PME or PWSOUT#
signal. Those wakeup conditions are controlled by the configuration register.
6.6 GPIO
F81866A has 72 pins GPIO in total. All GPIO supports digit IO for Input/Output control, Output
data control, input status and High/Low Level/Pulse, Open Drain/Push Pull function selection. The
GPIO0x and GPIO1x support interrupt status. The GPIO0x, GPIO1x, GPIO5x, and GPIO8x have
different SIRQ channels. Please see 6.6.1 section for GPIO access methods and status:
6.6.1 GPIO Access Method
There are nine sets of GPIO in F81866A which can be accessed by three ways as below:
1.
Configuration register port: Use 0x4E/0x4F (or 0x2E/0x2F) port with logic device number
0x06. Please refer to configuration register for detail.
2.
Index/Data port: The index port is base address + 0 and data port is base address + 1. To
access the GPIO register, user should first write index to index port and then read/write
from/to data port. The index for each register is same as the definition in configuration
register.
3.
Digital I/O: This way could access GPIO data register only. It is used for quickly control the
GPIO pins. The register for each address is as list:
*Available when GPIO_DEC_RANGE is set “1” (Configuration register index 0x27, bit 5)
GPIO Digital I/O Registers
Offset
0h
1h
2h
3h
4h
5h
6h
7h
8h*
9h*
Ah*
B-Fh*
Default Value
Register Name
MSB
1
-
Index Port
Data Port
GPIO8 Data Port
GPIO7 Data Port
GPIO6 Data Port
GPIO5 Data Port
GPIO0 Data Port
GPIO1 Data Port
GPIO2 Data Port
GPIO3 Data Port
GPIO4 Data Port
Reserved
88
1
-
1
-
1
-
1
-
1
-
LSB
1
-
1
-
Jan, 2012
V0. 12P
F81866A
GPIO8 Data Port ⎯ Index 02h
Bit
7-0
Name
GPIO8_DATA
R/W
R/W
Reset Default
LRESET#
-
Description
GPIO8 Data Control
Write data to this byte will change the value of GPIO80_VAL ~ GPIO87_VAL
in configuration register as writing data to index 0x89.
Read data from this byte will read the pin status of GPIO80_IN ~ GPIO87_IN
as the value in index 0x8A
GPIO7 Data Port ⎯ Index 03h
Bit
7-0
Name
GPIO7_DATA
R/W
R/W
Reset Default
LRESET#
-
Description
GPIO7 Data Control
Write data to this byte will change the value of GPIO70_VAL ~ GPIO77_VAL
in configuration register as writing data to index 0x81.
Read data from this byte will read the pin status of GPIO70_IN ~ GPIO77_IN
as the value in index 0x82
GPIO6 Data Port ⎯ Index 04h
Bit
7-0
Name
GPIO6_DATA
R/W
R/W
Reset Default
LRESET#
-
Description
GPIO6 Data Control
Write data to this byte will change the value of GPIO60_VAL ~ GPIO67_VAL
in configuration register as writing data to index 0x91.
Read data from this byte will read the pin status of GPIO60_IN ~ GPIO67_IN
as the value in index 0x92
GPIO5 Data Port ⎯ Index 05h
Bit
7-0
Name
GPIO5_DATA
R/W
R/W
Reset Default
LRESET#
-
Description
GPIO5 Data Control
Write data to this byte will change the value of GPIO50_VAL ~ GPIO57_VAL
in configuration register as writing data to index 0xA1.
Read data from this byte will read the pin status of GPIO50_IN ~ GPIO57_IN
as the value in index 0xA2
GPIO0 Data Port ⎯ Index 06h
Bit
7-0
Name
GPIO0_DATA
R/W
R/W
Reset Default
5VSB
-
Description
GPIO0 Data Control
Write data to this byte will change the value of GPIO00_VAL ~ GPIO07_VAL
in configuration register as writing data to index 0xF1.
Read data from this byte will read the pin status of GPIO00_IN ~ GPIO07_IN
as the value in index 0xF2
GPIO1 Data Port ⎯ Index 07h
Bit
7-0
Name
GPIO1_DATA
R/W
R/W
Reset Default
5VSB
-
Description
GPIO1 Data Control
Write data to this byte will change the value of GPIO10_VAL ~ GPIO17_VAL
in configuration register as writing data to index 0xE1.
Read data from this byte will read the pin status of GPIO10_IN ~ GPIO17_IN
as the value in index 0xE2
89
Jan, 2012
V0. 12P
F81866A
*GPIO2 Data Port ⎯ Index 08h
Bit
Name
7-0
GPIO2_DATA
R/W
R/W
Reset Default
5VSB
-
Description
GPIO2 Data Control, this byte is available when GPIODEC_RANGE is set.
Write data to this byte will change the value of GPIO20_VAL ~ GPIO27_VAL
in configuration register as writing data to index 0xD1.
Read data from this byte will read the pin status of GPIO20_IN ~ GPIO27_IN
as the value in index 0xD2
*GPIO3 Data Port ⎯ Index 09h
Bit
Name
7-0
GPIO3_DATA
R/W
R/W
Reset Default
LRESET#
-
Description
GPIO3 Data Control, this byte is available when GPIODEC_RANGE is set.
Write data to this byte will change the value of GPIO30_VAL ~ GPIO37_VAL
in configuration register as writing data to index 0xC1.
Read data from this byte will read the pin status of GPIO30_IN ~ GPIO37_IN
as the value in index 0xC2
GPIO4 Data Port ⎯ Index 0Ah
Bit
Name
7-0
GPIO4_DATA
R/W
R/W
Reset Default
LRESET#
-
Description
GPIO4 Data Control, this byte is available when GPIODEC_RANGE is set.
Write data to this byte will change the value of GPIO40_VAL ~ GPIO47_VAL
in configuration register as writing data to index 0xB1.
Read data from this byte will read the pin status of GPIO40_IN ~ GPIO47_IN
as the value in index 0xB2
6.6.2 GPIOxx status
Z means high impendence.
If the external circuit is pull high then the pin status is "H"; else if the external circuit is pull low then the pin
status is "L".
User define means by programming the configure register.
6.6.2.1GPIO0x
PIN STATUS
Pin
Name
52
53
54
55
56
57
58
59
GPIO00
GPIO01
GPIO02
GPIO03
GPIO04
GPIO05
GPIO06
GPIO07
G3 -> S5
S0
S3
S5
L
L
Z
L
Z
Z
Z
Z
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
90
Register
Register
Power
Reset Signal
Well
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
5VSB
5VSB
5VSB
5VSB
5VSB
5VSB
5VSB
5VSB
Pin
Power
Well
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
Jan, 2012
V0. 12P
F81866A
6.6.2.2GPIO1x
PIN STATUS
Pin
Name
65
66
67
68
69
70
71
72
GPIO10
GPIO11
GPIO12
GPIO13
GPIO14
GPIO15
GPIO16
GPIO17
G3 -> S5
S0
S3
S5
Z
Z
Z
Z
Z
Z
Z
Z
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
Register
Register
Power
Reset Signal
Well
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
5VSB
5VSB
5VSB
5VSB
5VSB
5VSB
5VSB
5VSB
Pin
Power
Well
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
6.6.2.3GPIO2x
PIN STATUS
Pin
Name
76
77
78
79
80
81
82
83
GPIO20
GPIO21
GPIO22
GPIO23
GPIO24
GPIO25
GPIO26
GPIO27
G3 -> S5
S0
S3
S5
Z
Z
Z
Z
Z
Z
L
L
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
user define
Register
Register
Power
Reset Signal
Well
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
5VSB
5VSB
5VSB
5VSB
5VSB
5VSB
5VSB
5VSB
Pin
Power
Well
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
VBAT
VBAT
* GPIO26 and GPIO27 have no push pull function.
6.6.2.4GPIO3x
PIN STATUS
Pin
Name
36
37
38
39
40
41
42
43
GPIO30
GPIO31
GPIO32
GPIO33
GPIO34
GPIO35
GPIO36
GPIO37
G3 -> S5
S0
S3
S5
Z
Z
Z
Z
Z
Z
Z
Z
user define
user define
user define
user define
user define
user define
user define
user define
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
91
Register
Register
Power
Reset Signal
Well
Pin
Power
Well
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
3VCC
3VCC
3VCC
3VCC
3VCC
3VCC
3VCC
3VCC
LRESET#
LRESET#
LRESET#
LRESET#
LRESET#
LRESET#
LRESET#
LRESET#
Jan, 2012
V0. 12P
F81866A
6.6.2.5GPIO4x
PIN STATUS
Pin
Name
44
45
46
47
48
49
50
51
GPIO40
GPIO41
GPIO42
GPIO43
GPIO44
GPIO45
GPIO46
GPIO47
G3 -> S5
S0
S3
S5
Z
Z
Z
Z
Z
Z
Z
Z
user define
user define
user define
user define
user define
user define
user define
user define
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Register
Register
Power
Reset Signal
Well
Pin
Power
Well
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
3VCC
3VCC
3VCC
3VCC
3VCC
3VCC
3VCC
3VCC
LRESET#
LRESET#
LRESET#
LRESET#
LRESET#
LRESET#
LRESET#
LRESET#
6.6.2.6GPIO5x
PIN STATUS
Pin
Name
9
Register
Register
Power
Reset Signal
Well
Pin
Power
Well
G3 -> S5
S0
S3
S5
GPIO50
Z
user define
Z
Z
I_VSB3V
LRESET#
3VCC
10
GPIO51
Z
user define
Z
Z
I_VSB3V
LRESET#
3VCC
11
GPIO52
Z
user define
Z
Z
I_VSB3V
LRESET#
3VCC
12
GPIO53
Z
user define
Z
Z
I_VSB3V
LRESET#
3VCC
13
GPIO54
Z
user define
Z
Z
I_VSB3V
LRESET#
3VCC
14
GPIO55
Z
user define
Z
Z
I_VSB3V
LRESET#
3VCC
15
GPIO56
Z
user define
Z
Z
I_VSB3V
LRESET#
3VCC
16
GPIO57
Z
user define
Z
Z
I_VSB3V
LRESET#
3VCC
6.6.2.7GPIO6x
PIN STATUS
Pin
Name
17
Register
Register
Power
Reset Signal
Well
Pin
Power
Well
G3 -> S5
S0
S3
S5
GPIO60
Z
user define
Z
Z
I_VSB3V
LRESET#
3VCC
18
GPIO61
Z
user define
Z
Z
I_VSB3V
LRESET#
3VCC
19
GPIO62
Z
user define
Z
Z
I_VSB3V
LRESET#
3VCC
20
GPIO63
Z
user define
Z
Z
I_VSB3V
LRESET#
3VCC
21
74
86
87
GPIO64
GPIO65
GPIO66
GPIO67
Z
Z
L
Z
user define
user define
user define
user define
Z
Z
Z
Z
Z
Z
Z
Z
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
LRESET#
LRESET# *
LRESET# *
LRESET# *
3VCC
I_VSB3V
VBAT
VBAT
* GPIO66 and GPIO67 have no push pull function.
92
Jan, 2012
V0. 12P
F81866A
6.6.2.8GPIO7x
PIN STATUS
Pin
Name
103
104
105
106
107
108
109
110
GPIO70
GPIO71
GPIO72
GPIO73
GPIO74
GPIO75
GPIO76
GPIO77
G3 -> S5
S0
S3
S5
Z
Z
Z
Z
Z
Z
Z
Z
user define
user define
user define
user define
user define
user define
user define
user define
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Register
Register
Power
Reset Signal
Well
Pin
Power
Well
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
3VCC
3VCC
3VCC
3VCC
3VCC
3VCC
3VCC
3VCC
LRESET#
LRESET#
LRESET#
LRESET#
LRESET#
LRESET#
LRESET#
LRESET#
6.6.2.9GPIO8x
PIN STATUS
Pin
Name
111
112
113
114
115
116
117
118
GPIO80
GPIO81
GPIO82
GPIO83
GPIO84
GPIO85
GPIO86
GPIO88
6.7
G3 -> S5
S0
S3
S5
Z
Z
Z
Z
Z
Z
Z
Z
user define
user define
user define
user define
user define
user define
user define
user define
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Register
Register
Power
Reset Signal
Well
Pin
Power
Well
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
I_VSB3V
3VCC
3VCC
3VCC
3VCC
3VCC
3VCC
3VCC
3VCC
LRESET#
LRESET#
LRESET#
LRESET#
LRESET#
LRESET#
LRESET#
LRESET#
Watchdog Timer Function
Watch dog timer is provided for system controlling. If time-out can trigger one signal to high/low level/pulse, the
signal is depend on register setting.
The time unit has two ways from 1sec or 60sec. In pulse mode, there are four pulse widths can be selected
(1ms/25ms/125ms/5sec). Others, please refer the device register description as below.
Watchdog Timer Configuration Register 1⎯ base address + 05h
Bit
Name
R/W
Reset Default
Description
7
Reserved
R
-
0
6
WDTMOUT_STS
R/W
5VSB
0
5
WD_EN
R/W
5VSB
0
If watchdog timeout event occurred, this bit will be set to 1. Write a 1 to this
bit will clear it to 0.
If this bit is set to 1, the counting of watchdog time is enabled.
4
WD_PULSE
R/W
5VSB
0
Select output mode (0: level, 1: pulse) of RSTOUT# by setting this bit.
3
WD_UNIT
R/W
5VSB
0
Select time unit (0: 1sec, 1: 60 sec) of watchdog timer by setting this bit.
2
WD_HACTIVE
R/W
5VSB
0
1-0
WD_PSWIDTH
R/W
5VSB
0
Reserved
Select output polarity of RSTOUT# (1: high active, 0: low active) by setting
this bit.
Select output pulse width of RSTOUT#
0: 1 ms
1: 25 ms
2: 125 ms
3: 5 sec
93
Jan, 2012
V0. 12P
F81866A
Watchdog Timer Configuration Register 2 ⎯ base address + 06h
Bit
Name
R/W
Reset Default
7-0
WD_TIME
R/W
5VSB
0
Description
Time of watchdog timer
Watchdog PME Control Register ⎯ base address + 0Ah
Bit
Name
R/W
7
WDT_PME
R
5VSB
--
6
WDT_PME_EN
R/W
5VSB
0
5-1
Reserved
--
0
WDOUT_EN
R/W
6.8
Reset Default
-5VSB
0
Description
The PME Status.
This bit will set when WDT_PME_EN is set and the watchdog timer is 1
unit before time out (or time out).
0: Disable Watchdog PME.
1: enable Watchdog PME.
Reserved.
0: disable Watchdog time out output via WDTRST#.
1: enable Watchdog time out output via WDTRST#.
ACPI Function
The Advanced Configuration and Power Interface (ACPI) is a system for controlling the use of
power in a computer. It lets computer manufacturer and user to determine the computer’s power usage
dynamically.
There are three ACPI states that are of primary concern to the system designer and they are
designated S0, S3 and S5. S0 is a full-power state; the computer is being actively used in this state. The
other two are called sleep states and reflect different power consumption when power-down. S3 is a
state that the processor is powered down but the last procedural state is being stored in memory which is
still active. S5 is a state that memory is off and the last procedural state of the processor has been stored
to the hard disk. Take S3 and S5 as comparison, since memory is fast, the computer can quickly come
back to the full-power state, the disk is slower than the memory and the computer takes longer time to
come back to the full-power state. However, since the memory is off, S5 draws the minimal power
comparing to S0 and S3.
ACPI includes three sub items as below:
1.
Power Control (Include wake up via sleep state, wake up stage detection, AC loss & resume
control methods)
2.Intel Power Saving Function (Deep Sleep Well, DSW: see next section for the detail)
3.EU Power Saving Function (EUP/ERP Command Lot 6.0: see next section for the detail)
Where item 2 & 3 could be coexisted via ERP_CTRL0# (follow SLP_SUS#) & ERP_CTRL1# (After
the system enters S3 1.024s & S5 6.4s, EUP/ERP mode could be achieved).
Before entering into the main section, let’s check out the related hardware control signal first.
94
Jan, 2012
V0. 12P
F81866A
Power On/Off
Control
(AC Resume)
◇
◇
◇
◇
◇
◇
◇
◇
Control Signal
RSMRST#
S3#
S5#
PWSIN#
PWSOUT#
ATXPG_IN
PS_ON#
PWOK
PME#
PS/2 KB/MS
RI1#/RI2#
GPIO0x/GPIO1x
SLP_SUS#
SUS_ACK#
SUS_WARN#
ERP_CTRL0#
ERP_CTRL1#
Power
Management
Event
Intel DSW
Hand
Shaking
Wake up
EUP/ERP
Control
☆★
◇
☆★
☆★
☆★
☆★
◇
◇
◇
◇
◇
◇
◇: Supported
★: Wake up via ERP
☆: Wake up via System
6.8.1Power Control
6.8.1.1Wake Up Via Sleep State
When the system is at the normal sleep state (S3, S4, S5) or deep sleep (G3’) state, F81866A could wake
up via PWSOUT# & PME#. See below for the related registers:
Wake up by PME#
Index 0x2D
Normal Sleep State
EUP/ERP
◇
◇
Wake up by PWSOUT#
Index 0x2D
Normal Sleep State
EUP/ERP
◇
◇
CR0A
Index 0xE0, 0xE8
CR 0A
Index 0x30
◇
◇
◇
CR0A
Index 0xE0, 0xE8
CR0A
Index 0xF0~0xF3
◇
CR0A
Index 0xF4
◇
◇
◇: Supported
6.8.1.2 Wake Up Stage Detection
F81866A is counted on the chipset SLP_S3#, SLP_S4#/SLP_S5# stage, to decide the wake up stage as
below:
ACPI Stage
S0
S3
S5
SLP_S3#
H
L
L
SLP_S4# /SLP_S5#
H
H
L
H: High; L: Low
95
Jan, 2012
V0. 12P
F81866A
Power saving mode would be activated via CR0A index E0 bit 7.
6.8.1.3 AC Loss & Resume Control Methods
There are 4 modes under power loss state via setting ACPI control register. The always on, always off,
keep last state & bypass mode. In keep last state mode, one register will latch the status before power
loss. If it is power on before power loss, it will automatically power on when power is resumed. If it is
power off before power loss, it will remain power off when power is resumed. See below for the detail:
Mode
Explanation
When AC resume, the system will power on automatically (send a PWSOUT# low pulse and
then sinking the PS_ON# low). See below for the timing:
S5
S0
S5
S0
S5
VBAT
VSB
RSMRST#
Always on
S3#
(S0)
PS_ON#
PSIN#
PSOUT#
VCC3V
When AC resume, the system is in off state and waiting for the wakeup events. See below for
the timing:
G3
S0
S5
S0
S5
VBAT
VSB
Always off
(S5)
RSMRST#
S3#
PS_ON#
PSIN#
PSOUT#
VCC3V
User press the button
Bypass
When AC resume, inverting the S3 signal to PS_ON#. See below for the timing:
(follow the
chipset after
96
Jan, 2012
V0. 12P
F81866A
G3 stage)
S5
S0
S5
S0
S5
VBAT
VSB
RSMRST#
S3#
PS_ON#
PSIN#
PSOUT#
VCC3V
ATXPG_IN, VCC (PWOK), VSB (RSMRST) and S3 signals to detect the sleep state while AC
loss occur. One of the signal (ATXPG_IN or VCC under 2.8V or VSB under 2.8V) sinks low,
SIO will latch the S3 signal to decide the system to be at “always on” or “always off” mode.
See below table:
Signal
Keep last
AC loss state
ATXPG
VSB
VCC
AC resume
state
AC loss in S0/S1 (S3=1)
Always on
AC loss in S3/S4/S5 (S3=0)
Always off
6.8.2Intel Power Saving Function Deep Sleep Well (DSW)
The F81866A supports Intel Cougar Point (CPT) Chipset timing for Sandy Bridge (Sugar Bay or Huron
River Platform). There are 4 pins for CPT control: SUS_WARN#, SUS_ACK#, SLP_SUS# and DPWROK.
For entering the Intel Deep Sleep Well (DSW) state, the PCH will assert SUS_WARN# (low level) and
turn off 5VDUAL. After the level of 5VDUAL is lower than 1.05V, F81866A will assert SUS_ACK# to inform
PCH it is ready for entering DSW. Finally, PCH will ramp down the internal VccSUS and assert SLP_SUS# to
F81866A. F81866A will turn off the 5VSB and 3VSB by ERP_CTRL0# and enter the DSW state.
To exit DSW state, PCH will de-assert SLP_SUS#, turn on the SUS rail FETs and ramp up internal
1.05V VccSUS. After the SUS rails voltages are up, RSMRST# will be desserted and the PCH will release
SUS_WARN# so that the 5VDUAL will ramp up.
Because the DSW function is controlled by the F81866A instead of controlled by the PCH directly, there
will be more wakeup events such as LAN, KB/Mouse, GPIO0x, GPIO1x, SIO RI# wake up rather than the 3
wakeup events (RTC, Power Button and GPIO27) for Intel DSW.
97
Jan, 2012
V0. 12P
F81866A
In order to achieve the lower power consumption, F81866A provides the ERP_CTRL1# to turn off the
V3A so that the system can enter the Fintek G3’ state.
The block diagram below shows how the connection and control method for F81866A and PCH.
ATX Power
5VSB
VCC
V5A
MB Logic
ERP_CTRL0#
5VDUAL
3.3V VSB VR
(SLP_SUS_FET)
5VDUAL
SUS_WARN
(Invert From PCH)
Control
5VSB
ERP_CTRL1#
3VSB
V3A
S0 State
5VDUAL
S3 State
1.05V
V3A
SUSWARN#
SUSACK#
S4/S5
SUS_WARN#
SUS_ACK#
ERP_CTRL0#
DSW
SUS_WARN#
ERP_CTRL1#
V Detect & Delay
SLP_SUS#
G3’
F81866A
CPT PCH
DPWROK
RSMRST#
5VA_PWOK#
V5A
RSMRST#
G3
3VSB
I_3VSB
Fig 6-17
The register for setting this mode is at CR0A, index 0xEC [7:6]. When choose Intel DSW mode,
ERP_CTRL0#, & ERP_CTRL1# would follow SLP_SUS#. When choose Intel DSW + Fintek G3’ mode,
ERP_CTRL0# would follows SLP_SUS#, & ERP_CTRL1# will enter Fintek ERP mode after entering DSW
mode for 6.4s (default, the time is programmable).
In sum, there are three blocks in this mode (Please refer to the application circuit for the HW schematic):
a. DSW Control Block:
a-1 SLP_SUS#: SIO input pin from CPT PCH SLP_SUS#.
a-2 SUS_WARN#: SIO input pin from CPT PCH SUS_WARN#.
a-3 SUS_ACK#: SIO output pin to CPT PCH SUSACK#.
a-4 DPWROK: SIO output pin to CPT PCH DPWROK.
b. ERP Control Block:
b-1 ERP_CTRL0#: Support “CPT PCH DSW” control mode which is a low active signal to turn on/off
3VSB/5VSB power source by P MOSFET.
b-2 ERP_CTRL1#: Support “Fintek G3’ ” control mode which is a low active signal to turn on/off
3VA/5VA power source by P MOSFET.
98
Jan, 2012
V0. 12P
F81866A
6.8.3Power Saving Controller (Fintek ERP Mode)
The two pins, ERP_CTRL0# and ERP_CTRL1#, which control the standby power rail on/off to fulfill the
purpose which decreases the power consumption when the system is in the sleep state or the soft-off state.
These two pins connected to the external PMOSs and the defaults are high in the sleep state in order to cut
off all the standby power rails to save the power consumption. If the system needs to support wake-up
function, the two pins can be programmable to set which power rail to turn on. The programmable register is
powered by the battery. So, the setting is kept even the AC power is lost when the register is set. At the power
saving state (FINTEK calls it G3’ state), the F81866A consumes 5VSB power rail only to realize a low power
consumption system.
The register for setting this mode is at CR0A, index 0xEC [7:6]. When choose Fintek G3’ mode,
ERP_CTRL0# & ERP_CTRL1# will enter S5. After entering S5 for 6.4s (default, the time is programmable),
these two pins would send high level signal and then cut off all the power sources except ATX_5VSB (power
consumption is about 15mW). In order to avoid the inrush current from ATX_5VSB, F81866A also provide the
soft start circuits at these two pins. See the related register for the soft start circuit (CR0A, index 0xEC [4]).
In sum, there are two blocks in this mode (Please refer to the application circuit for the HW schematic):
a. EUP Control Block:
ERP_CTRL0# and ERP_CTRL1# are low active signals to turn on/off 5VSB power source by P MOSFET.
b. Wake Up Event Block via:
Power Button
External LAN
PCH Internal LAN
PS2 KB/Mouse
SIO RI#
RTC
GPIO0x/1x
V
V
X
V
V
X
V
Note:
By pressing/triggering any of the above pin, the system could wake up from the sleep (S4/S5) DSW and G3’ mode.
V: Supported.
X: Does not supported.
99
Jan, 2012
V0. 12P
F81866A
Please see below for Fintek G3’ (ERP) timing:
100
Jan, 2012
V0. 12P
F81866A
101
Jan, 2012
V0. 12P
F81866A
102
Jan, 2012
V0. 12P
F81866A
6.8.4ACPI Timing
See below for the related ACPI timing:
6.8.4.1G3 To S0
ATX_VSB
V5A/V3A
5VSB/3VSB
DUAL5V
5VCC/3VCC
DPWROK
SLP_SUS#
RSMRST#
SUS_WARN#
SUS_ACK#
PWSIN#
PWSOUT#
S5#
S3#
PS_ON#
PWOK
ERP_CTRL0#
ERP_CTRL1#
Fig 6-18
103
Jan, 2012
V0. 12P
F81866A
6.8.4.2G3 To S0 (only DSW)
ATX_VSB
V5A/V3A
5VSB/3VSB
DUAL5V
5VCC/3VCC
DPWROK
SLP_SUS#
RSMRST#
SUS_WARN#
SUS_ACK#
PWSIN#
PWSOUT#
S5#
S3#
PS_ON#
PWOK
ERP_CTRL0#
ERP_CTRL1#
Fig 6-19
104
Jan, 2012
V0. 12P
F81866A
6.8.4.3G3 To S0 (DSW & ERP, AC Resume Green Bold Line)
ATX_VSB
V5A/V3A
5VSB/3VSB
DUAL5V
5VCC/3VCC
DPWROK
SLP_SUS#
RSMRST#
SUS_WARN#
SUS_ACK#
PWSIN#
PWSOUT#
S5#
S3#
PS_ON#
PWOK
ERP_CTRL0#
ERP_CTRL1#
AC
Fig 6-20
105
Jan, 2012
V0. 12P
F81866A
6.8.4.4DSW To S0
ATX_VSB
V5A/V3A
5VSB/3VSB
DUAL5V
5VCC/3VCC
DPWROK
SLP_SUS#
RSMRST#
SUS_WARN#
SUS_ACK#
PWSIN#
PWSOUT#
S5#
S3#
PS_ON#
PWOK
ERP_CTRL0#
ERP_CTRL1#
Fig 6-21
106
Jan, 2012
V0. 12P
F81866A
6.8.4.5S0 to DSW
ATX_VSB
V5A/V3A
5VSB/3VSB
DUAL5V
5VCC/3VCC
DPWROK
SLP_SUS#
RSMRST#
SUS_WARN#
SUS_ACK#
PWSIN#
PWSOUT#
S5#
S3#
PS_ON#
PWOK
ERP_CTRL0#
ERP_CTRL1#
Fig 6-22
107
Jan, 2012
V0. 12P
F81866A
6.8.4.6S0 to G3’
ATX_VSB
V5A/V3A
5VSB/3VSB
DUAL5V
5VCC/3VCC
DPWROK
SLP_SUS#
RSMRST#
SUS_WARN#
SUS_ACK#
PWSIN#
PWSOUT#
S5#
S3#
PS_ON#
PWOK
ERP_CTRL0#
ERP_CTRL1#
Fig 6-23
zRSMRST# signal: Powered by VBAT sink low.
zDPWROK/PWOK signal: Powered by VBAT sink low.
z3VSB 2.8V/2.5V and gate SLP_SUS#/DPWROK for Intel mode
108
Jan, 2012
V0. 12P
F81866A
6.8.5PWOK Signals
DELAY
VDD3VOK
PWOK
ATXPWGD
Fig 6-24
PWOK is delayed 400ms (default) as VCC arrives 2.8V, and the delay timing can be programmed via
register (100ms ~ 400ms).
6.9
UART
The F81866A provides up to 6 UART ports and supports IRQ sharing for system application. They are
compatible with 16C550/16C650/16C750 and 16C850 .The UARTs are used to convert data between parallel
format and serial format. They convert parallel data into serial format on transmission and serial format into
parallel data on receiver side. The serial format is formed by one start bit, followed by five to eight data bits, a
parity bit if programmed and one ( 1.5 or 2 ) stop bits. The UARTs include complete modem control capability
and an interrupt system that may be software trailed to the computing time required to handle the communication
link. They have FIFO mode to reduce the number of interrupts presented to the host. Both receiver and
transmitter have a 128-byte FIFO.
The UART control register control & define the asynchronous protocol data communications including data
length, stop bit, parity & baud rate selection.
The below content is about the UARTs device register descriptions. All the registers are for software porting
reference.
6.9.1UART Device Register
Receiver Buffer Register ⎯ Base + 0
Bit
7-0
Name
RBR
R/W
R
Reset Default
LRESET#
00h
Description
The data received.
Read only when LCR [7] is 0
Transmitter Holding Register ⎯ Base + 0
Bit
7-0
Name
THR
R/W
W
Reset Default
LRESET#
00h
Description
Data to be transmitted.
Write only when LCR [7] is 0
109
Jan, 2012
V0. 12P
F81866A
Divisor Latch (LSB) ⎯ Base + 0
Bit
7-0
Name
DLL
R/W
R/W
Reset Default
LRESET#
01h
Description
Baud generator divisor low byte.
Access only when LCR [7] is 1.
Divisor Latch (MSB) ⎯ Base + 1
Bit
7-0
Name
DLM
R/W
R/W
Reset Default
LRESET#
00h
Description
Baud generator divisor high byte.
Access only when LCR [7] is 1.
Interrupt Enable Register (IER) ⎯ Base + 1
Bit
Name
R/W
7-5
Reserved
-
Reset Default
-
Description
-
Reserved.
4
SM2
R/WC
LRESET#
0
This bit is used only in 9-bit mode and always returns “0” when 9-bit mode is
disabled.
0: The receiver could receive data byte.
1: The receiver could only receive address byte and issue an interrupt when
the address is received.
3
EDSSI
R/W
LRESET#
0
Enable Modem Status Interrupt. Access only when LCR [7] is 0.
2
ELSI
R/W
LRESET#
0
Enable Line Status Error Interrupt. Access only when LCR [7] is 0.
1
ETBFI
R/W
LRESET#
0
Enable Transmitter Holding Register Empty Interrupt. Access only when LCR
[7] is 0.
0
ERBFI
R/W
LRESET#
0
Enable Received Data Available Interrupt. Access only when LCR [7] is 0.
Interrupt Identification Register (IIR) ⎯ Base + 2
Bit
Name
R/W
Reset Default
Description
7
FIFO_EN
R
LRESET#
0
0: FIFO is disabled
1: FIFO is enabled.
6
FIFO_EN
R
LRESET#
0
0: FIFO is disabled
1: FIFO is enabled.
5-4
Reserved
-
LRESET#
-
Reserved.
3-1
IRQ_ID
R
LRESET#
00
000: Interrupt is caused by Modem Status
001: Interrupt is caused by Transmitter Holding Register Empty
010: Interrupt is caused by Received Data Available.
110: Interrupt is caused by Character Timeout
011: Interrupt is caused by Line Status.
0
IRQ_PENDN
R
LRESET#
1
1: Interrupt is not pending.
0: Interrupt is pending.
FIFO Control Register ⎯ Base + 2
Bit
7-6
Name
RCV_TRIG
R/W
W
Reset Default
LRESET#
00
Description
00: Receiver FIFO trigger level is 1.
01: Receiver FIFO trigger level is 4.
10: Receiver FIFO trigger level is 8.
11: Receiver FIFO trigger level is 14.
110
Jan, 2012
V0. 12P
F81866A
5-3
Reserved
-
LRESET#
-
Reserved.
2
CLRTX
R
LRESET#
0
Reset the transmitter FIFO.
1
CLRRX
R
LRESET#
0
Reset the receiver FIFO.
0
FIFO_EN
R
LRESET#
0
0: Disable FIFO.
1: Enable FIFO.
Line Control Register (LCR) ⎯ Base + 3
Bit
Name
R/W
Reset Default
7
DLAB
R/W
LRESET#
0
6
SETBRK
R/W
LRESET#
0
5
STKPAR
R/W
LRESET#
0
4
EPS
R/W
LRESET#
0
3
PEN
R/W
LRESET#
0
2
STB
R/W
LRESET#
0
1-0
WLS
R/W
LRESET#
00
Description
0: Divisor Latch can’t be accessed.
1: Divisor Latch can be accessed via Base and Base+1.
0: Transmitter is in normal condition.
1: Transmit a break condition.
XX0: Parity Bit is disable
001: Parity Bit is odd.
011: Parity Bit is even
101: Parity Bit is logic 1
111: Parity Bit is logic 0
0: Stop bit is one bit
1: When word length is 5 bit stop bit is 1.5 bit
else stop bit is 2 bit
00: Word length is 5 bit
01: Word length is 6 bit
10: Word length is 7 bit
11: Word length is 8 bit
MODEM Control Register (MCR) ⎯ Base + 4
Bit
Name
R/W
7-5
Reserved
-
LRESET#
Reset Default
-
4
LOOP
R/W
LRESET#
0
3
OUT2
R/W
LRESET#
0
2
OUT1
R/W
LRESET#
0
1
RTS
R/W
LRESET#
0
0
DTR
R/W
LRESET#
0
Description
Reserved.
0: UART in normal condition.
1: UART is internal loop back
0: All interrupt is disabled.
1: Interrupt is enabled (disabled) by IER.
Read from MSR[6] while in loop back mode
0: RTS# is forced to logic 1
1: RTS# is forced to logic 0
0: DTR# is forced to logic 1
1: DTR# is forced to logic 0
Line Status Register (LSR) ⎯ Base + 5
Bit
Name
R/W
Reset Default
7
RCR_ERR
R
LRESET#
0
6
TEMT
R
LRESET#
1
5
THRE
R
LRESET#
1
4
BI
R
LRESET#
0
3
FE
R
LRESET#
0
Description
0: No error in the FIFO when FIFO is enabled
1: Error in the FIFO when FIFO is enabled.
0: Transmitter is in transmitting.
1: Transmitter is empty.
0: Transmitter Holding Register is not empty.
1: Transmitter Holding Register is empty.
0: No break condition detected.
1: A break condition is detected.
0: Data received has no frame error.
1: Data received has frame error.
111
Jan, 2012
V0. 12P
F81866A
2
PE
R
LRESET#
0
1
OE
R
LRESET#
0
0
DR
R
LRESET#
0
0: Data received has no parity error.
1: Data received has parity error.
0: No overrun condition occurred.
1: An overrun condition occurred.
0: No data is ready for read.
1: Data is received.
MODEM Status Register (MSR) ⎯ Base + 6
Bit
Name
R/W
Reset Default
7
DCD
R
-
-
6
RI
R
-
-
5
DSR
R
-
-
4
CTS
R
-
-
3
DDCD
R
LRESET#
0
2
TERI
R
LRESET#
0
1
DDSR
R
LRESET#
1
0
DCTS
R
LRESET#
1
Description
Complement of DCD# input. In loop back mode, this bit is equivalent to OUT2
in MCR.
Complement of RI# input. In loop back mode , this bit is equivalent to OUT1 in
MCR
Complement of DSR# input. In loop back mode , this bit is equivalent to DTR in
MCR
Complement of CTS# input. In loop back mode , this bit is equivalent to RTS in
MCR
0: No state changed at DCD#.
1: State changed at DCD#.
0: No Trailing edge at RI#.
1: A low to high transition at RI#.
0: No state changed at DSR#.
1: State changed at DSR#.
0: No state changed at CTS#.
1: State changed at CTS#.
Scratch Register ⎯ Base + 7
Bit
Name
R/W
7-0
SCR
R/W
Reset Default
LRESET#
00h
Description
Scratch register.
112
Jan, 2012
V0. 12P
F81866A
6.9.2Programmable Baud Rate
The below table shows the use of baud generator with the different frequency 1.8461 MHZ, 18.461 MHZ,
14.769 MHZ, 24MHZ:
BaudRate =
COM_CLK
Divisor *16
113
Jan, 2012
V0. 12P
F81866A
6.10 AMD TSI and Intel PECI 3.0 Functions
The F81866A provides Intel PECI/AMD TSI interfaces for new generational CPU temperature
sensing. In AMD TSI interface, there are SIC and SID signals for temperature information
reading from AMD CPU. The SIC signal is for clocking use, the other is for data transferring.
More detail, please refer register description.
VDDIO
300
AMD
CPU
300
SIC
SCL
SID
SDA
SIO
Fig 6-25 AMD TSI
In Intel PECI interface, the F81866A can connect to the CPU directly. The F81866A can read
the temperature data from CPU, then the fan control machine of F81866A can implement the Fan
to cool down the CPU temperature. The application circuit is as below.
Intel
SIO
CPU
avoid pre-BIOS floating
PECI
PECI
100
Fig 6-26 Intel PECI
Please see below for the Intel PECI 3.0 Spec. commands. The F81866A integrated most of
those commands for the future advantage application. More detail, please refer to the register
descriptions.
F81866A
Support
V
V
V
V
V
V
PECI 3.0 Command
Name
Ping( )
GetTemp( )
GetDIB( )
RdIAMSR( )
WrIAMSR( )
RdPCIConfigLocal( )
WrPCIConfigLocal( )
RdPCIConfig( )
WrPCIConfig( )
RdPkgConfig( )
WrPkgConfig( )
PECI 1.0 Command
Name
Ping( )
GetTemp( )
Status
Not Available in Mobile/DT
Not Available in Mobile/DT
Not Available in Mobile/DT
Not Available in Mobile/DT
114
Jan, 2012
V0. 12P
F81866A
6.11 Over Voltage Protection
F81866A over voltage protection function could protect the damage from voltage spikes via over voltage
protection (OVP) function. Voltage protection function is enabled via setting the related register. When
the force mode occurs, the system would shut down and then can not boot at all. Only re-plugging the
power code (cut off VSB) could re-activate or re-boot the system at the force mode.
115
Jan, 2012
V0. 12P
F81866A
7. Register Description
The configuration register is used to control the behavior of the corresponding devices. To configure the register,
using the index port to select the index and then writing data port to alter the parameters. The default index port and
data port are 0x4E and 0x4F respectively. Pull down the RTS1# pin to change the default value to 0x2E/0x2F. To
enable configuration, the entry key 0x87 must be written to the index port. To disable configuration, write exit key 0xAA
to the index port. Following is an example to enable configuration and disable configuration by using debug.
-o 4e 87
-o 4e 87( enable configuration )
-o 4e aa( disable configuration )
The Following is a register map (total devices) grouped in hexadecimal address order, which shows a summary of
all registers and their default value. Please refer to each device chapter if you want more detail information.
7.1
Global Control Registers
“-“ Reserved or Tri-State
Global Control Registers
Register
0x[HEX]
Default Value
Register Name
MSB
LSB
02
Software Reset Register
-
-
-
-
-
-
-
0
07
Logic Device Number Register (LDN)
0
0
0
0
0
0
0
0
20
Chip ID Register
0
0
0
1
0
0
0
0
21
Chip ID Register
0
0
0
1
0
0
0
0
23
Vendor ID Register
0
0
0
1
1
0
0
1
24
Vendor ID Register
0
0
1
1
0
1
0
0
25
I2C Address Register
0
0
0
0
0
0
0
0
26
Clock Select Register
0
0
-
0
0
0
1
1
27
Port Select Register
1/0
1/0
0
1/0
0
0
-
0
28
Multi Function Select 1 Register
-
1
1
0
0
0
0
0
28
Multi Function Select 2 Register
-
-
-
-
-
-
0
0
29
Multi Function Select 3 Register
0
0
0
0
0
0
1
1
29
10Hz Clock Divisor High Byte
0
0
0
0
0
0
1
1
2A
10Hz Clock Divisor Low Byte
-
-
-
-
-
-
-
-
2A
10Hz Clock Divisor Low Byte
1
1
1
0
0
1
1
1
2B
Multi Function Select 4 Register
0
0
0
-
-
-
1
0
2B
10Hz Fine Tune Clock Count High Byte
-
-
-
-
-
-
-
-
116
Jan, 2012
V0. 12P
F81866A
2C
10Hz Fine Tune Clock Count Low Byte
-
-
-
-
-
-
-
-
2C
GPIO0 Enable Register
-
-
-
0
0
0
0
0
2C
GPIO1 Enable Register
0
0
0
-
1
1
1
1
2C
GPIO2 Enable Register
0
0
0
0
0
0
0
0
2D
Wakeup Control Register
-
-
-
-
1
0
0
0
7.1.1 Software Reset Register ⎯ Index 02h
Bit
Name
R/W
Reset Default
Description
7-1
Reserved
-
-
-
Reserved
0
SOFT_RST
W
-
-
Write 1 to reset the register and device powered by VDD (VCC).
7.1.2 Logic Device Number Register (LDN) ⎯ Index 07h
Bit
7-0
Name
LDN
R/W
R/W
Reset Default
LRESET#
00h
Description
00h: Select FDC device configuration registers.
03h: Select Parallel Port device configuration registers.
04h: Select Hardware Monitor device configuration registers.
05h: Select KBC device configuration registers.
06h: Select GPIO device configuration registers.
07h: Select WDT device configuration registers.
0Ah: Select PME, ACPI and ERP device configuration registers.
10h: Select UART1 device configuration registers.
11h: Select UART2 device configuration registers.
12h: Select UART3 device configuration registers.
13h: Select UART4 device configuration registers.
14h: Select UART5 device configuration registers.
15h: Select UART6 device configuration registers.
Otherwise: Reserved.
7.1.3 Chip ID Register ⎯ Index 20h
Bit
Name
R/W
Reset
Default
Description
7-0
CHIP_ID1
R
-
10h
Chip ID 1.
7.1.4 Chip ID Register ⎯ Index 21h
Bit
Name
R/W
Reset
Default
Description
7-0
CHIP_ID2
R
-
10h
Chip ID2.
7.1.5 Vendor ID Register ⎯ Index 23h
Bit
Name
R/W
Reset
Default
Description
7-0
VENDOR_ID1
R
-
19h
Vendor ID 1.
117
Jan, 2012
V0. 12P
F81866A
7.1.6 Vendor ID Register ⎯ Index 24h
Bit
Name
R/W
Reset
Default
Description
7-0
VENDOR_ID2
R
-
34h
Vendor ID 2.
7.1.7 I2C Address Select Register ⎯ Index 25h
Bit
Name
R/W
Reset Default
Description
I2C address is used to R/W hardware monitor registers.
7-1
I2C_ADDR
R/W
5VSB
0
0
EN_ARA_MODE
R/W
5VSB
0
The default address is determined by I2C_ADDR power on strap pin.
It could also be changed by writing this byte with the entry key 0x19,
0x34. The default value is 0x2E which indicates the address is 0x5C.
0: disable I2C ARA.
1: enable I2C ARA.
7.1.8 Clock Select Register ⎯ Index 26h
Bit
Name
R/W
Reset Default
Description
The clock source of CLKIN.
00: CLKIN is 48MHz
7-6
CLK_SEL
R/W
5VSB
0
10: CLKIN is 24MHz
01: CLKIN is 14.318MHz.
10: Reserved.
5
Reserved
-
-
Reserved.
MCLK/MDATA input level select.
4
MO_PIN_LVL_SEL
R/W
5VSB
0
0: TTL level.
1: Low level with 0.6V low and 0.9V high.
PIN 76 input level select.
3
PIN76_LVL_SEL
R/W
5VSB
0
0: TTL level.
1: Low level with 0.6V low and 0.9V high.
PIN 71 input level select.
2
PIN71_LVL_SEL
R/W
5VSB
0
0: TTL level.
1: Low level with 0.6V low and 0.9V high.
PIN 68 input level select.
1
PIN68_LVL_SEL
R/W
5VSB
1
0: TTL level.
1: Low level with 0.6V low and 0.9V high.
PIN 67 input level select.
0
PIN67_LVL_SEL
R/W
5VSB
1
0: TTL level.
1: Low level with 0.6V low and 0.9V high.
7.1.9
Bit
Port Select Register ⎯ Index 27h
Name
R/W
Reset Default
Description
0: Force Mode.
7
OVP_MODE
R/W
VBAT*
-
1: Alarm Mode.
The default value is determined by power on strap.
*Trap value will reset by VBAT.
118
Jan, 2012
V0. 12P
F81866A
0: ATX Mode.
6
AT_MODE
R/W
5VSB
-
1: AT Mode.
The default value is determined by power on strap.
5
GPIO_DEC_RANGE R/W
3VCC
0
0: The GPIO I/O space is 8-byte.
1: The GPIO I/O space is 16-byte.
0: The configuration register port is 2E/2F.
1: The configuration register port is 4E/4F.
4
PORT_4E_EN
R/W
5VSB*
-
This register is power on trapped by RTS1#/ Config4E_2E. Pull down
to select port 2E/2F. This bit is accessed by the host side only.
*Trap value will reset by 5VSB.
Index 0x2C register select.
00: GPIO0_EN
3-2
GPIO_PROG_SEL
R/W
5VSB
0
01: GPIO1_EN
10: GPIO2_EN
11: Reserved.
1
0
Reserved
-
CLK_TUNE_PROG_
R/W
EN
-
-
Reserved.
3VCC
0
Set “1” to enable index 0x29, 0x2A, 0x2B, 0x2C function as clock fine
tune register.
7.1.10 Multi-function Select 1 Register ⎯ Index 28h (Available when GPIO_PROG_SEL[0] = 0)
Bit
Name
R/W
7
Reserved
-
Reset Default
-
-
Description
Reserved
Pin 9 ~ 21 function select.
6
FDC_GP_EN
R/W
5VSB
1
These pins are controlled by FDC_GP_EN, UART5_FUNC_SEL, and
UART6_FUNC_SEL.
If all these bits are clear to “0”, the function would be FDC.
Pin 102 ~ 118 function select.
5
LPT_GP_EN
R/W
5VSB
1
0: Functions as parallel port.
1: Functions as GPIO7x/GPIO8x.
Pin 61, 62 function select.
4
MO_ I2C _EN
R/W
5VSB
0
0: PS/2 mouse interface MCLK/MDATA.
1: I2C SCL/SDA.
UART 5 Function Select.
00: No UART 5 pin.
3-2
UART5_FUNC_SEL
R/W
5VSB
0
01: Simple UART, only SIN5 and SOUT5 are available. Pin 57 will be
function as SOUT5 and Pin 58 will be function as SIN5.
10: Simple UART with RTS#. Pin 59 will be function as RTS5#.
11: Full UART, pin 57 ~ 59, 17 ~ 21 will function as UART 5 pins.
UART6 Function Select.
00: No UART6 pin.
1-0
UART6_FUNC_SEL
R/W
5VSB
0
01: Simple UART, only SIN6 and SOUT6 are available. Pin 10 will be
function as SOUT6 and Pin 11 will be function as SIN6.
10: Simple UART with RTS#. Pin 9 will be function as RTS6#.
11: Full UART, pin 9 ~ 16 will function as UART 6 pins.
119
Jan, 2012
V0. 12P
F81866A
7.1.11 Multi-function Select 2 Register ⎯ Index 28h (Available when GPIO_PROG_SEL[0] = 1)
Bit
Name
R/W
Reset
Default
7-2
Reserved
-
-
-
1
PIN76_EN
R/W
VBAT
0
0
PIN71_EN
R/W
VBAT
0
Description
Reserved
0: The pin function is ALERT#/GPIO20/SCL.
1: Reserved.
0: The pin function is BEEP/GPIO16/SDA.
1: Reserved.
7.1.12 Multi Function Select 3 Register ⎯ Index 29h (Available when CLK_ TUNE_PROG_EN = 0)
Bit
Name
R/W
Reset Default
Description
UART4 Function Select.
00: No UART4 pin. Pin 44 ~ 51 are all GPIOs.
7-6
UART4_FUNC_SE
R/W
L
5VSB
0
01: Simple UART, only SIN4 and SOUT4 are available. Pin 50 will be
function as SOUT4 and Pin 51 will be function as SIN4.
10: Simple UART with RTS# function only. Pin 48 will be function as
RTS4#.
11: Full UART, pin 44 ~ 51 will be function as UART pins.
UART3 Function Select.
00: No UART3 pin. Pin 36 ~ 43 are all GPIOs.
5-4
UART3_FUNC_SE
R/W
L
5VSB
0
01: Simple UART, only SIN3 and SOUT3 are available. Pin 42 will be
function as SOUT3 and Pin 43 will be function as SIN3.
10: Simple UART with RTS# function only. Pin 40 will be function as
RTS3#.
11: Full UART, pin 36 ~ 43 will be function as UART pins.
0: Disable SCL from pin 76.
1: Enable SCL from pin 76.
3
SCL_PIN76_EN
R/W
5VSB
0
There is only one slave in the current design, it is recommended to
select only one pin for SCL. When multi pins are selected, the priority of
these bits is MO_I2C_EN > SCL_PIN76_EN > SCL_PIN67_EN.
0: Disable SDA from pin 76.
1: Enable SDA from pin 76.
2
SDA_PIN71_EN
R/W
5VSB
0
There is only one slave in the current design, it is recommended to
select only one pin for SDA. When multi pins are selected, the priority of
these bits is MO_I2C_EN > SDA_PIN71_EN > SDA_PIN68_EN.
0: Disable SDA from pin 68.
1: Enable SDA from pin 68.
1
SDA_PIN68_EN
R/W
5VSB
1
There is only one slave in the current design, it is recommended to
select only one pin for SDA. When multi pins are selected, the priority of
these bits is MO_I2C_EN > SDA_PIN71_EN > SDA_PIN68_EN.
0: Disable SCL from pin 67.
1: Enable SCL from pin 67.
0
SCL_PIN67_EN
R/W
5VSB
1
There is only one slave in the current design, it is recommended to
select only one pin for SCL. When multi pins are selected, the priority of
these bits is MO_I2C_EN > SCL_PIN76_EN > SCL_PIN67_EN.
120
Jan, 2012
V0. 12P
F81866A
7.1.13 10Hz Clock Divisor High Byte ⎯ Index 29h (Powered by VBAT, available when CLK_ TUNE_PROG_EN
= 1)
Bit
Name
R/W Reset Default
7
FINE_TUNE_START
W
-
-
Write “1” to start the fine tune mechanism. The hardware will start to count
10 cycle internal 500KHz clock with 48MHz clock. The count will present in
index 0x2A, 0x2B.
6-4
Reserved
-
-
-
Reserved.
3-0
CLK10HZ_DIV
R/W VBAT
4’h3
Description
The divisor of 10Hz clock. Internal 10Hz clock is used to generate WDT
event. It is divided from 10KHz clock and could be fine tune by change its
divisor.
7.1.14 10Hz Clock Divisor Low Byte ⎯ Index 2Ah (Available when CLK_ TUNE_PROG_EN = 0)
Bit
Name
R/W
7-0
Reserved
R/W
Reset Default
-
0
Description
Reserved.
7.1.15 10Hz Clock Divisor Low Byte ⎯ Index 2Ah (Available when CLK_TUNE_PROG_EN = 1)
Bit
Name
R/W
Reset Default
7-0
CLK10HZ_DIV
R/W
VBAT
Description
The divisor of 10Hz clock. Internal 10Hz clock is used to generate WDT
8’hE7 event. It is divided from 10KHz clock and could be fine tune by change its
divisor.
7.1.16 Multi Function Select 4 Register ⎯ Index 2Bh (Available when CLK_ TUNE_PROG_EN = 0)
Bit
Name
R/W
7
GPIO67_EN
R/W
Reset Default
Description
Pin 87 function select
VBAT
0
0: Pin 87 functions as S5#.
1: Pin 87 functions as GPIO67.
Pin 86 function select
6
GPIO66_EN
R/W
VBAT
0
0: Pin 86 functions as DPWROK.
1: Pin 86 functions as GPIO66.
Pin 74 function select
5
GPIO65_EN
R/W
VBAT
0
0: Pin 74 functions as PME#.
1: Pin 74 functions as GPIO65.
4-2
Reserved
-
-
-
Reserved
Pin 102 function select
1
FANIN3_EN
R/W
VBAT
1
0: Pin 102 functions as SCLT.
1: Pin 102 functions as FANIN3.
Pin 103 function select.
0
FANCTL3_EN
R/W
VBAT
0
0: Pin 103 functions as GPIO70/PE.
1: Pin 103 functions as FANCTL3.
121
Jan, 2012
V0. 12P
F81866A
7.1.17 10Hz Clock Fine Tune Count High Byte ⎯ Index 2Bh (Available when CLK_ TUNE_PROG_EN = 1)
Bit
Name
R/W
Reset Default
Description
7
FINE_TUNE_ST
-
5VSB
-
This bit indicates the fine tune mechanism is in process.
6-4
Reserved
-
-
-
Reserved
3-0
FINE_TUNE_CNT
R/W
5VSB
4’h3
This is the count of 10 cycles of internal 500KHz clock with 48MHz clock.
7.1.18 10Hz Clock Fine Tune Count Low Byte ⎯ Index 2Ch (Available when CLK_ TUNE_PROG_EN = 1)
Bit
Name
R/W
Reset Default
7-0
FINE_TUNE_CNT
R/W
5VSB
4’h3
Description
This is the count of 10 cycles of internal 500KHz clock with 48MHz clock.
7.1.19 GPIO0 Enable Register ⎯ Index 2Ch (Available when CLK_ TUNE_PROG_EN = 0 and
GPIO_PROG_SEL = 2’b00)
Bit
Name
R/W
7-5
Reserved
-
Reset Default
-
-
Description
Reserved
Pin 56 function select.
4
GPIO04_EN
R/W
VBAT
0
0: Pin 56 functions as SLP_SUS#.
1: Pin 56 functions as GPIO04.
Pin 55 function select.
3
GPIO03_EN
R/W
VBAT
0
0: Pin 55 functions as SUS_ACK#.
1: Pin 55 functions as GPIO03.
Pin 54 function select.
2
GPIO02_EN
R/W
VBAT
0
0: Pin 54 functions as SUS_WARN#.
1: Pin 54 functions as GPIO02.
Pin 53 function select.
1
GPIO01_EN
R/W
VBAT
0
0: Pin 53 functions as ERP_CTRL1#.
1: Pin 53 functions as GPIO01.
Pin 52 function select.
0
GPIO00_EN
R/W
VBAT
0
0: Pin 52 functions as ERP_CTRL0#.
1: Pin 52 functions as GPIO00.
7.1.20 GPIO1 Enable Register ⎯ Index 2Ch (Available when CLK_ GPIO_PROG_SEL PROG_EN = 0 and
GPIO_PROG_SEL = 2’b01)
Bit
Name
R/W
7
GPIO17_EN
R/W
Reset Default
Description
Pin 72 function select.
VBAT
0
0: Pin 72 functions as PECI.
1: Pin 72 functions as GPIO17.
Pin 71 function select.
6
GPIO16_EN
R/W
VBAT
0
0: Pin 71 functions as BEEP.
1: Pin 71 functions as GPIO16.
Pin 70 function select.
5
GPIO15_EN
R/W
VBAT
0
0: Pin 70 functions as WDTRST#.
1: Pin 70 functions as GPIO15.
122
Jan, 2012
V0. 12P
F81866A
4
Reserved
-
-
-
Reserved
Pin 68 function select.
3
GPIO13_EN
R/W
VBAT
1
0: Pin 68 functions as IRRX.
1: Pin 68 functions as GPIO13.
If SDA_PIN68_EN is set, pin 68 will be function as SDA.
Pin 67 function select.
2
GPIO12_EN
R/W
VBAT
1
0: Pin 67 functions as IRTX.
1: Pin 67 functions as GPIO12.
If SCL_PIN67_EN is set, pin 67 will be function as SCL.
Pin 66 function select.
1
GPIO11_EN
R/W
VBAT
1
0: Pin 66 functions as LED_VCC.
1: Pin 66 functions as GPIO11.
Pin 65 function select.
0
GPIO10_EN
R/W
VBAT
1
0: Pin 65 functions as LED_VSB.
1: Pin 65 functions as GPIO10.
7.1.21 GPIO2 Enable Register ⎯ Index 2Ch (Powered by VBAT, Available when CLK_ TUNE_PROG_EN = 0
and GPIO_PROG_SEL = 2’b10)
Bit
Name
R/W
Reset Default
7
GPIO27_EN
R/W
VBAT
Description
Pin 83 function select.
0
0: Pin 83 functions as RSMRST#.
1: Pin 83 functions as GPIO27.
Pin 82 function select.
6
GPIO26_EN
R/W
VBAT
0
0: Pin 82 functions as PWOK.
1: Pin 82 functions as GPIO26.
Pin 81 function select.
5
GPIO25_EN
R/W
VBAT
0
0: Pin 81 functions as PSON#.
1: Pin 81 functions as GPIO25.
Pin 80 function select.
4
GPIO24_EN
R/W
VBAT
0
0: Pin 81 functions as S3#.
1: Pin 81 functions as GPIO24.
Pin 79 function select.
3
GPIO23_EN
R/W
VBAT
0
0: Pin 68 functions as PWSOUT#.
1: Pin 68 functions as GPIO23.
Pin 78 function select.
2
GPIO22_EN
R/W
VBAT
0
0: Pin 78 functions as PWSIN#.
1: Pin 78 functions as GPIO22.
Pin 77 function select.
1
GPIO21_EN
R/W
VBAT
0
0: Pin 77 functions as ATXPG_IN.
1: Pin 77 functions as GPIO21.
123
Jan, 2012
V0. 12P
F81866A
Pin 76 function select.
0
GPIO20_EN
R/W
VBAT
0
0: Pin 76 functions as ALERT#.
1: Pin 76 functions as GPIO20.
Pin 76 will be function as SCL: if SCL_PIN76_EN is set.
7.1.22 Wakeup Control Register ⎯ Index 2Dh
Bit
Name
R/W
Reset Default
7-4
Reserved
-
-
-
3
WAKEUP_EN
R/W
VBAT
1
Description
Reserved
0: disable KB/Mouse wakeup function.
1: enable KB/Mouse wakeup function.
Select the keyboard wakeup key. Accompany with KEY_SEL_ADD, there are
several key select as list
2-1
KEY_SEL
R/W
VBAT
00
KEY_SEL_ADD
KEY_SEL
Wake Key
0
00
Ctrl + Esc
0
01
Ctrl + F1
0
10
Ctrl + Space
0
11
Any Key
1
00
Windows Wakeup Key
1
01
Windows Power Key
1
10
Ctrl + Alt + Backspace
1
11
Ctrl + Alt + Delete
Select the mouse wakeup key.
0
MO_SEL
R/W
VBAT
0
0: Wakeup by mouse clicking.
1: Wakeup by mouse clicking or movement.
7.2
Multifunction Function Register Mapping Table
7.2.1Multi Function Register Mapping For FDC
PIN No.
PIN FULL NAME
PIN SELECT
PIN9
GPIO50/DENSEL#/RTS6#
DENSEL
PIN10
GPIO51/MOA#/SIN6
MOA#
PIN11
GPIO52/DRVA#/SOUT6
DRVA#
PIN12
GPIO53/WDATA#/DCD6#
WDATA#
PIN13
GPIO54/DIR#/RI6#
DIR#
PIN14
GPIO55/STEP#/CTS6#
STEP#
PIN15
GPIO56/HDSEL#/DTR6
HDSEL#
PIN16
GPIO57/WGATE#/DSR6#
WGATE#
PIN17
GPIO60/RDATA#/DCD5#
RDATA#
PIN18
GPIO61/TRK0#/RI5#
TRK0#
PIN19
GPIO62/INDEX#/CTS5#
INDEX#
124
CONFIGURE REGISTER
INDEX 27H BIT3-2 = 00
INDEX 28H BIT6 AND BIT3-0 = 0
INDEX 27H BIT0 = 0
INDEX 2AH BIT3-0 = 0
Jan, 2012
V0. 12P
F81866A
PIN20
GPIO63/WPT#/DTR5#
WPT#
PIN21
GPIO64/DSKCHG#/DSR5#
DSKCHG#
7.2.2Multi Function Register Mapping For Parallel Port (LPT)
PIN No.
PIN FULL NAME
PIN SELECT
PIN102
FANIN3/SLCT
SLCT
PIN103
GPIO70/PE/FANCTL3/PWM_D
AC3
CONFIGURE REGISTER
PE
PIN104
GPIO71/BUSY
BUSY
PIN105
GPIO72/ACK#
ACK#
PIN106
GPIO73/SLIN#
SLIN#
PIN107
GPIO74/INIT#
INIT#
PIN108
GPIO75/ERR#
ERR#
PIN109
GPIO76/AFD#
AFD#
PIN110
GPIO77/STB#
STB#
PIN111
GPIO80/PD0
PD0
PIN112
GPIO81/PD1
PD1
PIN113
GPIO82/PD2
PD2
PIN114
GPIO83/PD3
PD3
PIN115
GPIO84/PD4
PD4
PIN116
GPIO85/PD5
PD5
PIN117
GPIO86/PD6
PD6
PIN118
GPIO87/PD7
PD7
INDEX 27H BIT3-2 = 00 AND BIT0 = 0
INDEX 28H BIT5 = 0
INDEX 2BH BIT1-0 = 00
7.2.3Multi Function Register Mapping For Hardware Monitor
PIN No.
PIN FULL NAME
PIN SELECT
CONFIGURE REGISTER
INDEX 27H BIT3-2 = 01 AND BIT0 = 0
PIN71
BEEP/GPIO16/SDA/CIRRX#
BEEP
INDEX 29H BIT2 = 0
INDEX 2CH BIT6 = 0
INDEX 27H BIT3-2 = 10 AND BIT0 = 0
PIN76
ALERT#/GPIO20/SCL/CIRRX#
ALERT#
INDEX 29H BIT3 = 0
INDEX 2CH BIT0 = 0
PIN102
PIN103
FANIN3/SLCT
GPIO70/PE/FANCTL3/PWM_D
AC3
FANIN3
FANCTL3
125
INDEX 27H BIT0 = 0
INDEX 2BH BIT1 = 1
INDEX 27H BIT0 = 0
INDEX 2BH BIT0 = 1
Jan, 2012
V0. 12P
F81866A
7.2.4Multi Function Register Mapping For KBC (PS/2 Mouse)
PIN No.
PIN FULL NAME
PIN SELECT
CONFIGURE REGISTER
PIN61
MDATA/SCL
MDATA
INDEX 27H BIT3-2 = 00
PIN62
MCLK/SDA
MCLK
INDEX 28H BIT4 = 0
7.2.5Multi Function Register Mapping For GPIO0x
PIN No.
PIN FULL NAME
PIN SELECT
PIN52
ERP_CTRL0#/GPIO00
GPIO00
PIN53
ERP_CTRL1#/GPIO01
GPIO01
PIN54
SUS_WARN#/GPIO02
GPIO02
PIN55
SUS_ACK#/GPIO03
GPIO03
PIN56
SLP_SUS#/GPIO04
GPIO04
PIN57
GPIO05/SOUT5
GPIO05
PIN58
GPIO06/SIN5
GPIO06
PIN59
GPIO07/RTS5#
GPIO07
CONFIGURE REGISTER
INDEX 27H BIT3-2 = 00 AND BIT0 = 0
INDEX 2CH BIT0 = 1
INDEX 27H BIT3-2 = 00 AND BIT0 = 0
INDEX 2CH BIT1 = 1
INDEX 27H BIT3-2 = 00 AND BIT0 = 0
INDEX 2CH BIT2 = 1
INDEX 27H BIT3-2 = 00 AND BIT0 = 0
INDEX 2CH BIT3 = 1
INDEX 27H BIT3-2 = 00 AND BIT0 = 0
INDEX 2CH BIT4 = 1
INDEX 27H BIT3-2 = 00
INDEX 28H BIT3-2 = 00
7.2.6Multi Function Register Mapping For GPIO1x
PIN No.
PIN FULL NAME
PIN SELECT
PIN65
GPIO10/LED_VSB
GPIO10
PIN66
GPIO11/LED_VCC
GPIO11
CONFIGURE REGISTER
INDEX 27H BIT3-2 = 01 AND BIT0 = 0
INDEX 2CH BIT0 = 1
INDEX 27H BIT3-2 = 01 AND BIT0 = 0
INDEX 2CH BIT1 = 1
INDEX 27H BIT3-2 = 01 AND BIT0 = 0
PIN67
SCL/GPIO12/IRTX
GPIO12
INDEX 29H BIT0 = 0
INDEX 2CH BIT2 = 1
INDEX 27H BIT3-2 = 01 AND BIT0 = 0
PIN68
SDA/GPIO13/IRRX
GPIO13
INDEX 29H BIT1 = 0
INDEX 2CH BIT3 = 1
PIN69
GPIO14/ATX_AT_TRAP
GPIO14
PIN70
WDTRST#/GPIO15
GPIO15
PIN71
BEEP/GPIO16/SDA/CIRRX#
GPIO16
126
SINGLE FUNCTION
INDEX 27H BIT3-2 = 01 AND BIT0 = 0
INDEX 2CH BIT5 = 1
INDEX 27H BIT3-2 = 01 AND BIT0 = 0
Jan, 2012
V0. 12P
F81866A
INDEX 29H BIT2 = 0
INDEX 2CH BIT6 = 1
PIN72
PECI/GPIO17
GPIO17
INDEX 27H BIT3-2 = 01 AND BIT0 = 0
INDEX 2CH BIT7 = 1
7.2.7Multi Function Register Mapping For GPIO2x
PIN No.
PIN FULL NAME
PIN SELECT
CONFIGURE REGISTER
INDEX 27H BIT3-2 = 10 AND BIT0 = 0
PIN76
ALERT#/GPIO20/SCL/CIRRX#
GPIO20
INDEX 29H BIT3 = 0
INDEX 2CH BIT0 = 1
PIN77
ATXPG_IN/GPIO21
GPIO21
PIN78
PWSIN#/GPIO22
GPIO22
PIN79
PWSOUT#/GPIO23
GPIO23
PIN80
S3#/GPIO24
GPIO24
PIN81
PS_ON#/GPIO25
GPIO25
PIN82
PWOK/GPIO26
GPIO26
PIN83
RSMRST#/GPIO27
GPIO27
INDEX 27H BIT3-2 = 10 AND BIT0 = 0
INDEX 2CH BIT1 = 1
INDEX 27H BIT3-2 = 10 AND BIT0 = 0
INDEX 2CH BIT2 = 1
INDEX 27H BIT3-2 = 10 AND BIT0 = 0
INDEX 2CH BIT3 = 1
INDEX 27H BIT3-2 = 10 AND BIT0 = 0
INDEX 2CH BIT4 =1
INDEX 27H BIT3-2 = 10 AND BIT0 = 0
INDEX 2CH BIT5 = 1
INDEX 27H BIT3-2 = 10 AND BIT0 = 0
INDEX 2CH BIT6 = 1
INDEX 27H BIT3-2 = 10 AND BIT0 = 0
INDEX 2CH BIT7 = 1
7.2.8Multi Function Register Mapping For GPIO3x
PIN No.
PIN FULL NAME
PIN SELECT
PIN36
DCD3#/GPIO30
GPIO30
PIN37
RI3#/GPIO31
GPIO31
PIN38
CTS3#/GPIO32
GPIO32
PIN39
DTR3#/GPIO33
GPIO33
INDEX 27H BIT0 = 0
PIN40
RTS3#/GPIO34
GPIO34
INDEX 29H BIT5-4 = 00
PIN41
DSR3#/GPIO35
GPIO35
PIN42
SOUT3/GPIO36
GPIO36
PIN43
SIN3/GPIO37
GPIO37
127
CONFIGURE REGISTER
Jan, 2012
V0. 12P
F81866A
7.2.9Multi Function Register Mapping For GPIO4x
PIN No.
PIN FULL NAME
PIN SELECT
CONFIGURE REGISTER
PIN44
DCD4#/GPIO40
GPIO40
PIN45
RI4#/GPIO41
GPIO41
PIN46
CTS4#/GPIO42
GPIO42
PIN47
DTR4#/GPIO43
GPIO43
INDEX 27H BIT0 = 0
PIN48
RTS4#/GPIO44
GPIO44
INDEX 29H BIT7-6 = 00
PIN49
DSR4#/GPIO45
GPIO45
PIN50
SOUT4/GPIO46
GPIO46
PIN51
SIN4/GPIO47
GPIO47
7.2.10Multi Function Register Mapping For GPIO5x
PIN No.
PIN FULL NAME
PIN SELECT
CONFIGURE REGISTER
PIN9
GPIO50/DENSEL#/RTS6#
GPIO50
PIN10
GPIO51/MOA#/SIN6
GPIO51
PIN11
GPIO52/DRVA#/SOUT6
GPIO52
PIN12
GPIO53/WDATA#/DCD6#
GPIO53
INDEX 27H BIT3-2 = 00
PIN13
GPIO54/DIR#/RI6#
GPIO54
INDEX 28H BIT6 = 1 AND BIT1-0 = 00
PIN14
GPIO55/STEP#/CTS6#
GPIO55
PIN15
GPIO56/HDSEL#/DTR6
GPIO56
PIN16
GPIO57/WGATE#/DSR6#
GPIO57
7.2.11Multi Function Register Mapping For GPIO6x
PIN No.
PIN FULL NAME
PIN SELECT
PIN17
GPIO60/RDATA#/DCD5#
GPIO60
PIN18
GPIO61/TRK0#/RI5#
GPIO61
PIN19
GPIO62/INDEX#/CTS5#
GPIO62
PIN20
GPIO63/WPT#/DTR5#
GPIO63
PIN21
GPIO64/DSKCHG#/DSR5#
GPIO64
PIN74
PME#/GPIO65
GPIO65
PIN86
DPWROK/GPIO66
GPIO66
PIN87
S5#/GPIO67
GPIO67
128
CONFIGURE REGISTER
INDEX 27H BIT3-2 = 00 AND BIT0 = 0
INDEX 28H BIT6 = 1 AND BIT3-2 = 00
INDEX 27H BIT0 = 0
INDEX 2BH BIT5 = 1
INDEX 27H BIT0 = 0
INDEX 2BH BIT6 = 1
INDEX 27H BIT0 = 0
INDEX 2BH BIT7 = 1
Jan, 2012
V0. 12P
F81866A
7.2.12Multi Function Register Mapping For GPIO7x
PIN No.
PIN103
PIN FULL NAME
GPIO70/PE/FANCTL3/PWM_D
AC3
PIN SELECT
CONFIGURE REGISTER
INDEX 27H BIT3-2 = 00 AND BIT0 = 0
GPIO70
INDEX 28H BIT5 = 1
INDEX 2BH BIT0 =0
PIN104
GPIO71/BUSY
GPIO71
PIN105
GPIO72/ACK#
GPIO72
PIN106
GPIO73/SLIN#
GPIO73
PIN107
GPIO74/INIT#
GPIO74
PIN108
GPIO75/ERR#
GPIO75
PIN109
GPIO76/AFD#
GPIO76
PIN110
GPIO77/STB#
GPIO77
INDEX 27H BIT3-2 = 00 AND BIT0 = 0
INDEX 28H BIT5 = 1
7.2.13Multi Function Register Mapping For GPIO8x
PIN No.
PIN FULL NAME
PIN SELECT
CONFIGURE REGISTER
PIN111
GPIO80/PD0
GPIO80
PIN112
GPIO81/PD1
GPIO81
PIN113
GPIO82/PD2
GPIO82
PIN114
GPIO83/PD3
GPIO83
INDEX 27H BIT3-2 = 00
PIN115
GPIO84/PD4
GPIO84
INDEX 28H BIT5 = 1
PIN116
GPIO85/PD5
GPIO85
PIN117
GPIO86/PD6
GPIO86
PIN118
GPIO87/PD7
GPIO87
7.2.14Multi Function Register Mapping For WDT
PIN No.
PIN FULL NAME
PIN SELECT
PIN70
WDTRST#/GPIO15
WDTRST#
CONFIGURE REGISTER
INDEX 27H BIT3-2 = 01 AND INDEX BIT0 = 0
INDEX 2CH BIT5 = 0
7.2.15Multi Function Register Mapping For ERP, LED
PIN No.
PIN FULL NAME
PIN SELECT
PIN52
ERP_CTRL0#/GPIO00
ERP_CTRL0#
PIN53
ERP_CTRL1#/GPIO01
ERP_CTRL1#
PIN54
SUS_WARN#/GPIO02
SUS_WARN#
PIN55
SUS_ACK#/GPIO03
SUS_ACK#
129
CONFIGURE REGISTER
INDEX 27H BIT3-2 AND BIT0 = 0
INDEX 2CH BIT0 = 0
INDEX 27H BIT3-2 AND BIT0 = 0
INDEX 2CH BIT1 = 0
INDEX 27H BIT3-2 AND BIT0 = 0
INDEX 2CH BIT2 = 0
INDEX 27H BIT3-2 AND BIT0 = 0
Jan, 2012
V0. 12P
F81866A
INDEX 2CH BIT3 = 0
INDEX 27H BIT3-2 AND BIT0 = 0
PIN56
SLP_SUS#/GPIO04
SLP_SUS#
PIN86
DPWROK/GPIO66
DPWROK
PIN65
GPIO10/LED_VSB
LED_VSB
INDEX 27H BIT3-2 = 01 AND BIT0 = 0
PIN66
GPIO11/LED_VCC
LED_VCC
INDEX 2CH BIT1-0 = 00
PIN77
ATXPG_IN/GPIO21
ATXPG_IN
PIN78
PWSIN#/GPIO22
PWSIN#
PIN79
PWSOUT#/GPIO23
PWSOUT#
PIN80
S3#/GPIO24
S3#
PIN81
PS_ON#/GPIO25
PS_ON#
PIN82
PWOK/GPIO26
PWOK
PIN83
RSMRST#/GPIO27
RSMRST#
PIN87
S5#/GPIO67
S5#
INDEX 2CH BIT4 = 0
INDEX 27H BIT0 = 0
INDEX 2BH BIT6 = 0
INDEX 27H BIT3-2 = 10 AND BIT0 = 0
INDEX 2CH BIT1 = 0
INDEX 27H BIT3-2 = 10 AND BIT0 = 0
INDEX 2CH BIT2 = 0
INDEX 27H BIT3-2 = 10 AND BIT0 = 0
INDEX 2CH BIT3 = 0
INDEX 27H BIT3-2 = 10 AND BIT0 = 0
INDEX 2CH BIT4 = 0
INDEX 27H BIT3-2 = 10 AND BIT0 = 0
INDEX 2CH BIT5 = 0
INDEX 27H BIT3-2 = 10 AND BIT0 = 0
INDEX 2CH BIT6 = 0
INDEX 27H BIT3-2 = 10 AND BIT0 = 0
INDEX 2CH BIT7 = 0
INDEX 27H BIT0 = 0
INDEX 2BH BIT7 =0
7.2.16Multi Function Register Mapping For IR
PIN No.
PIN FULL NAME
PIN SELECT
PIN67
SCL/GPIO12/IRTX
IRTX
PIN68
SDA/GPIO13/IRRX
IRRX
CONFIGURE REGISTER
INDEX 27H BIT3-2 = 01 AND BIT0 = 0
INDEX 29H BIT1-0 = 00
INDEX 2CH BIT3-2 = 00
7.2.17Multi Function Register Mapping For I2C
PIN No.
PIN FULL NAME
PIN SELECT
CONFIGURE REGISTER
PIN61
MDATA/SCL
SCL
INDEX 27H BIT3-2 = 00
PIN62
MCLK/SDA
SDA
INDEX 28H BIT4 = 1
PIN71
BEEP/GPIO16/SDA/CIRRX#
SDA
INDEX 27H BIT0 = 0
PIN76
ALERT#/GPIO20/SCL/CIRRX#
SCL
INDEX 29H BIT3-2 = 11
130
Jan, 2012
V0. 12P
F81866A
7.2.18Multi Function Register Mapping For UART 1 & UART 2
UART 1 & 2 are pure pins.
7.2.19Multi Function Register Mapping For UART 3
PIN No.
PIN FULL NAME
PIN SELECT
CONFIGURE REGISTER
PIN36
DCD3#/GPIO30
DCD3#
PIN37
RI3#/GPIO31
RI3#
INDEX 27H BIT0 = 0
PIN38
CTS3#/GPIO32
CTS3#
INDEX 29H BIT5-4 = 01 ONLY SIN3/SOUT3
PIN39
DTR3#/GPIO33
DTR3#
AVAILABLE
PIN40
RTS3#/GPIO34
RTS3#
INDEX 29H BIT5-4 = 10 ONLY SIN3/SOUT3/RTS3#
PIN41
DSR3#/GPIO35
DSR3#
AVAILABLE
PIN42
SOUT3/GPIO36
SOUT3
INDEX 29H BIT5-4 = 11 FULL UART
PIN43
SIN3/GPIO37
SIN3
7.2.20Multi Function Register Mapping For UART 4
PIN No.
PIN FULL NAME
PIN SELECT
CONFIGURE REGISTER
PIN44
DCD4#/GPIO40
DCD4#
PIN45
RI4#/GPIO41
RI4#
INDEX 27H BIT0 = 0
PIN46
CTS4#/GPIO42
CTS4#
INDEX 29H BIT7-6 = 01 ONLY SIN4/SOUT4
PIN47
DTR4#/GPIO43
DTR4#
AVAILABLE
PIN48
RTS4#/GPIO44
RTS4#
INDEX 29H BIT7-6 = 10 ONLY SIN4/SOUT4/RTS4#
PIN49
DSR4#/GPIO45
DSR4#
AVAILABLE
PIN50
SOUT4/GPIO46
SOUT4
INDEX 29H BIT7-6 = 11 FULL UART
PIN51
SIN4/GPIO47
SIN4
7.2.21Multi Function Register Mapping For UART 5
PIN No.
PIN FULL NAME
PIN SELECT
PIN17
GPIO60/RDATA#/DCD5#
DCD5#
PIN18
GPIO61/TRK0#/RI5#
RI5#
INDEX 27H BIT3-2 = 00
PIN19
GPIO62/INDEX#/CTS5#
CTS5#
INDEX 28H BIT3-2 = 01 ONLY SIN5/SOUT5
PIN20
GPIO63/WPT#/DTR5#
DTR5#
AVAILABLE
PIN21
GPIO64/DSKCHG#/DSR5#
DSR5#
INDEX 28H BIT3-2 = 10 ONLY SIN5/SOUT5/RTS5#
PIN57
GPIO05/SOUT5
SOUT5
AVAILABLE
PIN58
GPIO06/SIN5
SIN5
INDEX 28H BIT3-2 = 11 FULL UART
PIN59
GPIO07/RTS5#
RTS5#
131
CONFIGURE REGISTER
Jan, 2012
V0. 12P
F81866A
7.2.22Multi Function Register Mapping For UART 6
PIN No.
PIN FULL NAME
PIN SELECT
PIN9
GPIO50/DENSEL#/RTS6#
RTS6#
PIN10
GPIO51/MOA#/SIN6
SIN6
INDEX 27H BIT3-2 = 00
PIN11
GPIO52/DRVA#/SOUT6
SOUT6
INDEX 28H BIT1-0 = 01 ONLY SIN6/SOUT6
PIN12
GPIO53/WDATA#/DCD6#
DCD6#
AVAILABLE
PIN13
GPIO54/DIR#/RI6#
RI6#
INDEX 28H BIT1-0 = 10 ONLY SIN6/SOUT6/RTS6#
PIN14
GPIO55/STEP#/CTS6#
CTS6#
AVAILABLE
PIN15
GPIO56/HDSEL#/DTR6#
DTR6#
INDEX 28H BIT1-0 = 11 FULL UART
PIN16
GPIO57/WGATE#/DSR6#
DSR6#
7.3
CONFIGURE REGISTER
FDC Device Configuration Registers (LDN CR00)
“-“ Reserved or Tri-State
Register 0x[HEX]
Default Value
Register Name
MSB
LSB
30
FDC Device Enable Register
-
-
-
-
-
-
-
1
60
Base Address High Register
0
0
0
0
0
0
1
1
61
Base Address Low Register
1
1
1
1
0
0
0
0
70
IRQ Channel Select Register
-
-
-
-
0
1
1
0
74
DMA Channel Select Register
-
-
-
-
-
0
1
0
F0
FDD Mode Register
-
-
-
0
1
1
1
0
F2
FDD Drive Type Register
-
-
-
-
-
-
1
1
F4
FDD Selection Register
-
-
-
0
0
-
0
0
7.3.1FDC Device Enable Register ⎯ Index 30h
Bit
Name
R/W
Reset Default
Description
7-1
Reserved
-
-
-
Reserved
0
FDC_EN
R/W
LRESET#
1
0: disable FDC.
1: enable FDC.
7.3.2Base Address High Register ⎯ Index 60h
Bit
Name
R/W
7-0
BASE_ADDR_HI
R/W
Reset Default
LRESET#
03h
Description
The MSB of FDC base address.
7.3.3Base Address Low Register ⎯ Index 61h
Bit
Name
R/W
7-0
BASE_ADDR_LO
R/W
Reset Default
LRESET#
F0h
Description
The LSB of FDC base address.
132
Jan, 2012
V0. 12P
F81866A
7.3.4IRQ Channel Select Register ⎯ Index 70h
Bit
Name
R/W
Reset Default
7-4
Reserved
-
-
-
3-0
SELFDCIRQ
R/W
LRESET#
06h
Description
Reserved.
Select the IRQ channel for FDC.
7.3.5DMA Channel Select Register ⎯ Index 74h
Bit
Name
R/W
Reset Default
7-3
Reserved
-
-
-
2-0
SELFDCDMA
R/W
LRESET#
010
Description
Reserved.
Select the DMA channel for FDC.
7.3.6FDD Mode Register ⎯ Index F0h
Bit
Name
R/W
Reset Default
Description
7-5
Reserved
-
-
-
Reserved.
4
FDC_SW_WP
R/W
LRESET#
0
FDC Software Write Protect.
0: Write protect is determined by WPT# pin.
1: Enable Write Protect.
3-2
IF_MODE
R/W
LRESET#
11
00: Model 30 mode.
01: PS/2 mode.
10: Reserved.
11: AT mode (default).
1
FDMAMODE
R/W
LRESET#
1
0: enable burst mode.
1: non-busrt mode (default).
0
Reserved
R/W
-
0
Reserved.
7.3.7FDD Drive Type Register ⎯ Index F2h
Bit
Name
R/W
Reset Default
7-2
Reserved
-
-
-
1-0
FDD_TYPE
R/W
LRESET#
11
Description
Reserved.
FDD drive type.
7.3.8FDD Selection Register ⎯ Index F4h
Bit
Name
R/W
7-5
Reserved
-
Reset Default
-
-
4-3
FDD_DRT
R/W
LRESET#
00
2
Reserved
-
-
-
1-0
FDD_DT
R/W
LRESET#
00
Description
Reserved.
Data rate table select, refer to table A.
00: select regular drives and 2.88 format.
01: reserved.
10: 2 mega tape.
11: reserved.
Reserved.
Drive type select, refer to table B.
133
Jan, 2012
V0. 12P
F81866A
TABLE A
Data Rate Table Select
FDD_DRT[1]
Data Rate
FDD_DRT[0]
0
0
0
1
1
0
Selected Data Rate
DENSEL
DATARATE1
DATARATE0
MFM
FM
0
0
500K
250K
1
0
1
300K
150K
0
1
0
250K
125K
0
1
1
1Meg
---
1
0
0
500K
250K
1
0
1
500K
250K
0
1
0
250K
125K
0
1
1
1Meg
---
1
0
0
500K
250K
1
0
1
2Meg
---
0
1
0
250K
125K
0
1
1
1Meg
---
1
TABLE B
Drive Type
7.4
DRVDEN0
Remark
0
DENSEL
4/2/1 MB 3.5”
2/1 MB 5.25”
1/1.6/1 MB 3.5” (3-Mode )
0
1
DATARATE1
1
0
DENSEL#
1
1
DATARATE0
FDD_DT1
FDD_DT0
0
Parallel Port Device Configuration Registers (LDN CR03)
“-“ Reserved or Tri-State
Register 0x[HEX]
Default Value
Register Name
MSB
LSB
30
Parallel Port Device Enable Register
-
-
-
-
-
-
-
1
60
Base Address High Register
0
0
0
0
0
0
1
1
61
Base Address Low Register
0
1
1
1
1
0
0
0
70
IRQ Channel Select Register
-
-
-
-
0
1
1
1
74
DMA Channel Select Register
-
-
-
0
-
0
1
1
F0
PRT Mode Select Register
0
1
0
0
0
0
1
0
134
Jan, 2012
V0. 12P
F81866A
7.4.1Parallel Port Device Enable Register ⎯ Index 30h
Bit
Name
R/W
Reset Default
Description
7-1
Reserved
-
-
-
Reserved
0
PRT_EN
R/W
LRESET#
1
0: disable Parallel Port.
1: enable Parallel Port.
7.4.2Base Address High Register ⎯ Index 60h
Bit
Name
R/W
7-0
BASE_ADDR_HI
R/W
Reset Default
LRESET#
03h
Description
The MSB of Parallel Port base address.
7.4.3Base Address Low Register ⎯ Index 61h
Bit
Name
R/W
7-0
BASE_ADDR_LO
R/W
Reset Default
LRESET#
78h
Description
The LSB of Parallel Port base address.
7.4.4IRQ Channel Select Register ⎯ Index 70h
Bit
Name
R/W
7-4
Reserved
-
Reset Default
-
-
3-0
SELPRTIRQ
R/W
LRESET#
7h
Description
Reserved.
Select the IRQ channel for Parallel Port.
7.4.5DMA Channel Select Register ⎯ Index 74h
Bit
Name
R/W
Reset Default
Description
7-5
Reserved
-
-
-
Reserved.
4
ECP_DMA_MODE
R/W
LRESET#
0
0: non-burst mode DMA.
1: enable burst mode DMA.
3
Reserved
-
-
-
Reserved.
2-0
SELPRTDMA
R/W
LRESET#
011
Select the DMA channel for Parallel Port.
7.4.6PRT Mode Select Register ⎯ Index F0h
Bit
Name
R/W
Reset Default
Description
Interrupt mode in non-ECP mode.
7
SPP_IRQ_MODE R/W
LRESET#
0
0: Level mode.
1: Pulse mode.
6-3
ECP_FIFO_THR
R/W
LRESET#
1000
ECP FIFO threshold.
135
Jan, 2012
V0. 12P
F81866A
2-0
PRT_MODE
7.5
R/W
LRESET#
010
000: Standard and Bi-direction (SPP) mode.
001: EPP 1.9 and SPP mode.
010: ECP mode (default).
011: ECP and EPP 1.9 mode.
100: Printer mode.
101: EPP 1.7 and SPP mode.
110: Reserved.
111: ECP and EPP1.7 mode.
Hardware Device Configuration Registers (LDN CR04)
“-“ Reserved or Tri-State
Register 0x[HEX]
Default Value
Register Name
MSB
LSB
30
H/W Monitor Device Enable Register
-
-
-
-
-
-
-
1
60
Base Address High Register
0
0
0
0
0
0
1
0
61
Base Address Low Register
1
0
0
1
0
1
0
1
70
IRQ Channel Select Register
-
-
-
-
0
0
0
0
7.5.1Hardware Monitor Device Enable Register ⎯ Index 30h
Bit
Name
R/W
Reset Default
Description
7-1
Reserved
-
-
-
Reserved
0
HM_EN
R/W
LRESET#
1
0: disable Hardware Monitor.
1: enable Hardware Monitor.
7.5.2Base Address High Register ⎯ Index 60h
Bit
Name
R/W
7-0
BASE_ADDR_HI
R/W
Reset Default
LRESET#
02h
Description
The MSB of Hardware Monitor base address.
7.5.3Base Address Low Register ⎯ Index 61h
Bit
Name
R/W
7-0
BASE_ADDR_LO
R/W
Reset Default
LRESET#
95h
Description
The LSB of Hardware Monitor base address.
7.5.4IRQ Channel Select Register ⎯ Index 70h
Bit
Name
R/W
Reset Default
7-4
Reserved
-
-
-
3-0
SELHMIRQ
R/W
LRESET#
0000
Description
Reserved.
Select the IRQ channel for Hardware Monitor.
136
Jan, 2012
V0. 12P
F81866A
7.6
KBC Registers (CR05)
“-“ Reserved or Tri-State
Register 0x[HEX]
Default Value
Register Name
MSB
LSB
30
KBC Device Enable Register
-
-
-
-
-
-
-
1
60
Base Address High Register
0
0
0
0
0
0
0
0
61
Base Address Low Register
0
1
1
0
0
0
0
0
70
KB IRQ Channel Select Register
-
-
-
-
0
0
0
0
72
Mouse IRQ Channel Select Register
-
-
-
-
0
0
0
0
FE
PS/2 Swap Register
0
-
-
0
0
0
0
1
7.6.1KBC Device Enable Register ⎯ Index 30h
Bit
Name
R/W
Reset Default
Description
7-1
Reserved
-
-
-
Reserved
0
KBC_EN
R/W
3VCC
1
0: disable KBC.
1: enable KBC.
7.6.2Base Address High Register ⎯ Index 60h
Bit
Name
R/W
7-0
BASE_ADDR_HI
R/W
Reset Default
LRESET#
00h
Description
The MSB of KBC command port address. The address of data port is
command port address + 4
7.6.3Base Address Low Register ⎯ Index 61h
Bit
Name
R/W
7-0
BASE_ADDR_LO
R/W
Reset Default
LRESET#
60h
Description
The LSB of KBC command port address. The address of data port is command
port address + 4.
7.6.4KB IRQ Channel Select Register ⎯ Index 70h
Bit
Name
R/W
Reset Default
7-4
Reserved
-
-
-
3-0
SELKIRQ
R/W
LRESET#
0h
Description
Reserved.
Select the IRQ channel for keyboard interrupt.
7.6.5Mouse IRQ Channel Select Register ⎯ Index 72h
Bit
Name
R/W
Reset Default
7-4
Reserved
-
-
-
3-0
SELMIRQ
R/W
LRESET#
0h
Description
Reserved.
Select the IRQ channel for PS/2 mouse interrupt.
7.6.6PS/2 Swap Register ⎯ Index FEh
Bit
Name
R/W
7-5
Reserved
-
Reset Default
-
-
Description
Reserved
137
Jan, 2012
V0. 12P
F81866A
4
KB_MO_SWAP
R/W
VBAT
0
Keyboard Mouse Swap.
0: Keyboard/Mouse is not swapped.
1: Keyboard/Mouse is swapped.
This bit could be programmed by user.
3-0
KBC_TEST_BIT
R/W
VBAT
3h
Fintek test mode bits.
7.7
GPIO Registers (CR06)
7.7.1.GPIO Configuration Registers
“-“ Reserved or Tri-State
Register
0x[HEX]
Default Value
Register Name
MSB
LSB
30
GPIO Device Enable Register
-
-
-
-
-
-
-
0
60
Base Address High Register
0
0
0
0
0
0
0
0
61
Base Address Low Register
0
1
1
0
0
0
0
0
7.7.1.1GPIO Device Enable Register ⎯ Index 30h
Bit
Name
R/W
Reset Default
Description
7-1
Reserved
-
-
-
Reserved
0
GPIO_EN
R/W
LRESET#
0
0: disable GPIO I/O port.
1: enable GPIO I/O port.
7.7.1.2Base Address High Register ⎯ Index 60h
Bit
Name
R/W
7-0 GP_BASE_ADDR_HI R/W
Reset Default
LRESET#
00h
Description
The MSB of GPIO I/O port address.
138
Jan, 2012
V0. 12P
F81866A
7.7.1.3Base Address Low Register ⎯ Index 61h
Bit
Name
7-0
R/W
BASE_ADDR_LO
R/W
Reset Default
LRESET#
00h
Description
The LSB of KBC data port address. When GPIO_DEC_RANGE is “0”, only 8
bytes are decoded:
Base + 0: index port.
Base + 1: data port.
Base + 2: GPIO8 data register.
Base + 3: GPIO7 data register.
Base + 4: GPIO6 data register.
Base + 5: GPIO5 data register.
Base + 6: GPIO0 data register.
Base + 7: GPIO1 data register.
If GPIO_DEC_RANGE is set to “1”, more 8 bytes are decoded:
Base + 8: GPIO2 data register.
Base + 9: GPIO3 data register.
Base + 10: GPIO4 data register.
Otherwise: Reserved.
There are three ways to access the GPIO registers.
1. Use configuration register port 0x4E/0x4F (or 0x2E/0x2F), the LDN for
GPIO is 0x06.
2. Use GPIO index/data port. Write index to index port first and then
read/write the register.
3. Use digital I/O port. The way only access GPIO data register. Write data to
this port will control the data output register. And read this port will read the
pin status register.
7.7.2.GPIO IRQ Channel Select Configuration Registers
Register
0x[HEX]
Default Value
Register Name
MSB
LSB
70
GPIO0 IRQ Channel Select Register
-
-
-
-
0
0
0
1
71
GPIO1 IRQ Channel Select Register
-
-
-
-
0
0
0
1
72
GPIO5 IRQ Channel Select Register
-
-
-
-
0
0
0
1
73
GPIO8 IRQ Channel Select Register
-
-
-
-
0
0
0
1
7.7.2.1GPIO0 IRQ Channel Select Register ⎯ Index 70h
Bit
Name
R/W
Reset Default
7-4
Reserved
-
-
-
3-0
SELGP0IRQ
R/W
LRESET#
1h
Description
Reserved.
Select the IRQ channel for GPIO0 interrupt.
7.7.2.2GPIO1 IRQ Channel Select Register ⎯ Index 71h
Bit
Name
R/W
Reset Default
7-4
Reserved
-
-
-
3-0
SELGP1IRQ
R/W
LRESET#
1h
Description
Reserved.
Select the IRQ channel for GPIO1 interrupt.
139
Jan, 2012
V0. 12P
F81866A
7.7.2.3GPIO5 IRQ Channel Select Register ⎯ Index 72h
Bit
Name
R/W
Reset Default
7-4
Reserved
-
-
-
3-0
SELGP5IRQ
R/W
LRESET#
1h
Description
Reserved.
Select the IRQ channel for GPIO5 interrupt.
7.7.2.4GPIO8 IRQ Channel Select Register ⎯ Index 73h
Bit
Name
R/W
7-4
Reserved
-
Reset Default
-
-
3-0
SELGP8IRQ
R/W
LRESET#
1h
Description
Reserved.
Select the IRQ channel for GPIO8 interrupt.
7.7.3.GPIO IRQ Sharing Configuration Registers
Register
0x[HEX]
Default Value
Register Name
MSB
LSB
7E
GPIO IRQ Share Enable Register
-
-
-
-
0
0
0
0
7F
GPIO IRQ Share Mode Register
0
0
0
0
0
0
0
0
7.7.3.1GPIO IRQ Sharing Enable Register ⎯ Index 7Eh
Bit
Name
R/W
Reset
Default
7-4
Reserved
-
-
-
3
GP8_IRQ_SHARE
R/W LRESET#
0
2
GP5_IRQ_SHARE
R/W LRESET#
0
1
GP1_IRQ_SHARE
R/W LRESET#
0
0
GP0_IRQ_SHARE
R/W LRESET#
0
Description
Reserved.
0: GPIO8 IRQ is not sharing with other dievices.
1: GPIO8 IRQ is sharing with other devices.
0: GPIO5 IRQ is not sharing with other dievices.
1: GPIO5 IRQ is sharing with other devices.
0: GPIO1 IRQ is not sharing with other dievices.
1: GPIO1 IRQ is sharing with other devices.
0: GPIO0 IRQ is not sharing with other dievices.
1: GPIO0 IRQ is sharing with other devices.
140
Jan, 2012
V0. 12P
F81866A
7.7.3.2GPIO IRQ Sharing Mode Register Index 7Fh
Bit
Name
R/W
Reset Default
Description
GPIO8 IRQ sharing mode:
00 : Sharing IRQ active low Level.
01 : Sharing IRQ active high edge.
7-6
GP8_IRQ_MODE
R/W
LRESET#
0
10 : Sharing IRQ active high Level.
11 : Reserved.
This bit is effective when IRQ is sharing with other device
(GP8_IRQ_SHARE is “1”).
GPIO5 IRQ sharing mode:
00 : Sharing IRQ active low Level.
01 : Sharing IRQ active high edge.
5-4
GP5_IRQ_MODE
R/W
LRESET#
0
10 : Sharing IRQ active high Level.
11 : Reserved.
This bit is effective when IRQ is sharing with other device
(GP5_IRQ_SHARE is “1”).
GPIO1 IRQ sharing mode:
00 : Sharing IRQ active low Level.
01 : Sharing IRQ active high edge.
3-2
GP1_IRQ_MODE
R/W
LRESET#
0
10 : Sharing IRQ active high Level.
11 : Reserved.
This bit is effective when IRQ is sharing with other device
(GP1_IRQ_SHARE is “1”).
GPIO0 IRQ sharing mode:
00 : Sharing IRQ active low Level.
01 : Sharing IRQ active high edge.
1-0
GP0_IRQ_MODE
R/W
LRESET#
0
10 : Sharing IRQ active high Level.
11 : Reserved.
This bit is effective when IRQ is sharing with other device
(GP0_IRQ_SHARE is “1”).
7.7.4.GPIO0x Configuration Registers
Register
0x[HEX]
Default Value
Register Name
MSB
LSB
F0
GPIO0 Output Enable Register
0
0
0
0
0
0
0
0
F1
GPIO0 Output Data Register
0
0
0
0
1
1
1
1
141
Jan, 2012
V0. 12P
F81866A
F2
GPIO0 Pin Status Register
-
-
-
-
-
-
-
-
F3
GPIO0 Drive Enable Register
0
0
0
0
0
0
0
0
F4
GPIO0 Output Mode 1 Register
0
0
0
0
0
0
0
0
F5
GPIO0 Output Mode 2 Register
0
0
0
0
0
0
0
0
F6
GPIO0 Pulse Width Select 1 Register
0
0
0
0
0
0
0
0
F7
GPIO0 Pulse Width Select 2 Register
0
0
0
0
0
0
0
0
F8
GPIO0 SMI Enable Register
0
0
0
0
0
0
0
0
F9
GPIO0 SMI Status Register
0
0
0
0
0
0
0
0
7.7.4.1GPIO0 Output Enable Register ⎯ Index F0h
Bit
Name
R/W
Reset
Default
Description
7
GPIO07_OE
R/W
5VSB
0
0: GPIO07 is input.
1: GPIO07 is output.
6
GPIO06_OE
R/W
5VSB
0
0: GPIO06 is input.
1: GPIO06 is output.
5
GPIO05_OE
R/W
5VSB
0
0: GPIO05 is input.
1: GPIO05 is output.
4
GPIO04_OE
R/W
5VSB
0
0: GPIO04 is input.
1: GPIO04 is output.
3
GPIO03_OE
R/W
5VSB
0
0: GPIO03 is input.
1: GPIO03 is output.
2
GPIO02_OE
R/W
5VSB
0
0: GPIO02 is input.
1: GPIO02 is output.
1
GPIO01_OE
R/W
5VSB
0
0: GPIO01 is input.
1: GPIO01 is output.
0
GPIO00_OE
R/W
5VSB
0
0: GPIO00 is input.
1: GPIO00 is output.
7.7.4.2GPIO0 Output Data Register ⎯ Index F1h (This byte could be also written by base address + 6)
Bit
7
Name
GPIO07_VAL
R/W
R/W
Reset Default
5VSB
0
Description
GPIO07 supports pulse mode.
When pulse mode is selected, write “1” to this bit will assert a pulse from
GPIO07. Auto clear when pulse is finished.
When level mode is selected, write 0/1 to this bit will set the level of GPIO07.
0: outputs 0 when in output mode.
1: outputs 1 when in output mode. GPIO07 will be tri-state if GPIO07_DRV is
clear to “0”.
142
Jan, 2012
V0. 12P
F81866A
6
GPIO06_VAL
5
GPIO05_VAL
R/W
R/W
5VSB
5VSB
0
GPIO06 supports pulse mode.
When pulse mode is selected, write “1” to this bit will assert a pulse from
GPIO06. Auto clear when pulse is finished.
When level mode is selected, write 0/1 to this bit will set the level of GPIO06.
0: outputs 0 when in output mode.
1: outputs 1 when in output mode. GPIO06 will be tri-state if GPIO06_DRV is
clear to “0”.
0
GPIO05 supports pulse mode.
When pulse mode is selected, write “1” to this bit will assert a pulse from
GPIO05. Auto clear when pulse is finished.
When level mode is selected, write 0/1 to this bit will set the level of GPIO05.
0: outputs 0 when in output mode.
1: outputs 1 when in output mode. GPIO05 will be tri-state if GPIO05_DRV is
clear to “0”.
4
GPIO04_VAL
R/W
5VSB
0
GPIO04 supports pulse mode.
When pulse mode is selected, write “1” to this bit will assert a pulse from
GPIO04. Auto clear when pulse is finished.
When level mode is selected, write 0/1 to this bit will set the level of GPIO04.
0: outputs 0 when in output mode.
1: outputs 1 when in output mode. GPIO04 will be tri-state if GPIO04_DRV is
clear to “0”.1: GPIO04 outputs 1 when in output mode.
3
GPIO03_VAL
R/W
5VSB
1
0: GPIO03 outputs 0 when in output mode.
1: GPIO03 outputs 1 when in output mode.
2
GPIO02_VAL
R/W
5VSB
1
0: GPIO02 outputs 0 when in output mode.
1: GPIO02 outputs 1 when in output mode.
1
GPIO01_VAL
R/W
5VSB
1
0: GPIO01 outputs 0 when in output mode.
1: GPIO01 outputs 1 when in output mode.
0
GPIO00_VAL
R/W
5VSB
1
0: GPIO00 outputs 0 when in output mode.
1: GPIO00 outputs 1 when in output mode.
7.7.4.3GPIO0 Pin Status Register ⎯ Index F2h (This byte could be also read by base address + 6)
Bit
Name
R/W
Reset
Default
Description
7
GPIO07_IN
R
-
-
The pin status of GPIO07/RTS5#.
6
GPIO06_IN
R
-
-
The pin status of GPIO06/SIN5.
5
GPIO05_IN
R
-
-
The pin status of GPIO05/SOUT5.
4
GPIO04_IN
R
-
-
The pin status of SLP_SUS#/GPIO04.
3
GPIO03_IN
R
-
-
The pin status of SUS_ACK#/GPIO03.
2
GPIO02_IN
R
-
-
The pin status of SUS_WARN#/GPIO02.
1
GPIO01_IN
R
-
-
The pin status of ERP_CTRL1#/GPIO01.
0
GPIO00_IN
R
-
-
The pin status of ERP_CTRL0#/GPIO00.
143
Jan, 2012
V0. 12P
F81866A
7.7.4.4GPIO0 Drive Enable Register ⎯ Index F3h
Bit
7
Name
GPIO07_DRV_EN
R/W
R/W
Reset Default
5VSB
Description
0
GPIO07 Drive Enable.
0: GPIO07 is open drain.
1: GPIO07 is push pull.
6
GPIO06_DRV_EN
R/W
5VSB
0
GPIO06 Drive Enable.
0: GPIO06 is open drain.
1: GPIO06 is push pull.
5
GPIO05_DRV_EN
R/w
5VSB
0
GPIO05 Drive Enable.
0: GPIO05 is open drain.
1: GPIO05 is push pull.
4
GPIO04_DRV_EN
R/W
5VSB
0
GPIO04 Drive Enable.
0: GPIO04 is open drain.
1: GPIO04 is push pull.
3
GPIO03_DRV_EN
R/W
5VSB
0
GPIO03 Drive Enable.
0: GPIO03 is open drain.
1: GPIO03 is push pull.
2
GPIO02_DRV_EN
R/W
5VSB
0
GPIO02 Drive Enable.
0: GPIO02 is open drain.
1: GPIO02 is push pull.
1
GPIO01_DRV_EN
R/W
5VSB
0
GPIO01 Drive Enable.
0: GPIO01 is open drain.
1: GPIO01 is push pull.
0
GPIO00 Drive Enable.
0: GPIO00 is open drain.
1: GPIO00 is push pull.
0
GPIO00_DRV_EN
R/W
5VSB
7.7.4.5GPIO0 Output Mode 1 Register ⎯ Index F4h
Bit
7-6
5-4
Name
GPIO03_MODE
GPIO02_MODE
R/W
R/W
R/w
Reset Default
5VSB
5VSB
Description
00b
GPIO03 output mode select:
00: Level mode.
01: Inverted level mode.
10: High pulse mode.
11: Low pulse mode.
The pulse width is determined by GPIO03_PW_SEL.
00b
GPIO02 output mode select:
00: Level mode.
01: Inverted level mode.
10: High pulse mode.
11: Low pulse mode.
The pulse width is determined by GPIO02_PW_SEL.
144
Jan, 2012
V0. 12P
F81866A
3-2
1-0
GPIO01_MODE
GPIO00_MODE
R/W
R/W
5VSB
5VSB
00b
GPIO01 output mode select:
00: Level mode.
01: Inverted level mode.
10: High pulse mode.
11: Low pulse mode.
The pulse width is determined by GPIO01_PW_SEL.
00b
GPIO00 output mode select:
00: Level mode.
01: Inverted level mode.
10: High pulse mode.
11: Low pulse mode.
The pulse width is determined by GPIO00_PW_SEL.
7.7.4.6GPIO0 Output Mode 2 Register ⎯ Index F5h
Bit
7-6
5-4
3-2
1-0
Name
GPIO07_MODE
GPIO06_MODE
GPIO05_MODE
GPIO04_MODE
R/W
R/W
R/w
R/W
R/W
Reset Default
5VSB
5VSB
5VSB
5VSB
Description
00b
GPIO07 output mode select:
00: Level mode.
01: Inverted level mode.
10: High pulse mode.
11: Low pulse mode.
The pulse width is determined by GPIO07_PW_SEL.
00b
GPIO06 output mode select:
00: Level mode.
01: Inverted level mode.
10: High pulse mode.
11: Low pulse mode.
The pulse width is determined by GPIO06_PW_SEL.
00b
GPIO05 output mode select:
00: Level mode.
01: Inverted level mode.
10: High pulse mode.
11: Low pulse mode.
The pulse width is determined by GPIO05_PW_SEL.
00b
GPIO04 output mode select:
00: Level mode.
01: Inverted level mode.
10: High pulse mode.
11: Low pulse mode.
The pulse width is determined by GPIO04_PW_SEL.
145
Jan, 2012
V0. 12P
F81866A
7.7.4.7GPIO0 Pulse Width Select 1 Register ⎯ Index F6h
Bit
7-6
5-4
3-2
1-0
Name
GPIO03_PW_SEL
GPIO02_PW_SEL
GPIO01_PW_SEL
GPIO00_PW_SEL
R/W
R/W
R/w
R/W
R/W
Reset Default
5VSB
5VSB
5VSB
5VSB
Description
00b
GPIO03 pulse width select:
00: 500us.
01: 1ms.
10: 20ms.
11: 100ms.
00b
GPIO02 pulse width select:
00: 500us.
01: 1ms.
10: 20ms.
11: 100ms.
00b
GPIO01 pulse width select:
00: 500us.
01: 1ms.
10: 20ms.
11: 100ms.
00b
GPIO00 pulse width select:
00: 500us.
01: 1ms.
10: 20ms.
11: 100ms.
7.7.4.8GPIO0 Pulse Width Select 2 Register ⎯ Index F7h
Bit
7-6
5-4
3-2
1-0
Name
GPIO07_PW_SEL
GPIO06_PW_SEL
GPIO05_PW_SEL
GPIO04_PW_SEL
R/W
R/W
R/w
R/W
R/W
Reset Default
5VSB
5VSB
5VSB
5VSB
Description
00b
GPIO07 pulse width select:
00: 500us.
01: 1ms.
10: 20ms.
11: 100ms.
00b
GPIO06 pulse width select:
00: 500us.
01: 1ms.
10: 20ms.
11: 100ms.
00b
GPIO05 pulse width select:
00: 500us.
01: 1ms.
10: 20ms.
11: 100ms.
00b
GPIO04 pulse width select:
00: 500us.
01: 1ms.
10: 20ms.
11: 100ms.
146
Jan, 2012
V0. 12P
F81866A
7.7.4.9GPIO0 SMI Enable Register ⎯ Index F8h
Bit
Name
R/W
Reset Default
Description
7
GPIO07_SMI_EN
R/W
5VSB
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO07_SMI_ST is set.
6
GPIO06_SMI_EN
R/W
5VSB
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO06_SMI_ST is set.
5
GPIO05_SMI_EN
R/W
5VSB
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO05_SMI_ST is set.
4
GPIO04_SMI_EN
R/W
5VSB
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO04_SMI_ST is set.
3
GPIO03_SMI_EN
R/W
5VSB
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO03_SMI_ST is set.
2
GPIO02_SMI_EN
R/W
5VSB
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO02_SMI_ST is set.
1
GPIO01_SMI_EN
R/W
5VSB
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO01_SMI_ST is set.
0
GPIO00_SMI_EN
R/W
5VSB
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO00_SMI_ST is set.
7.7.4.10GPIO0 SMI Status Register ⎯ Index F9h
Bit
Name
R/W
Reset Default
7
GPIO07_SMI_ST
R/W
5VSB
Description
0
0: No SMI event.
1: A SMI event will set if GPIO07 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
6
GPIO06_SMI_ST
R/W
5VSB
0
0: No SMI event.
1: A SMI event will set if GPIO06 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
5
GPIO05_SMI_ST
R/W
5VSB
0
0: No SMI event.
1: A SMI event will set if GPIO05 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
4
GPIO04_SMI_ST
R/W
5VSB
0
0: No SMI event.
1: A SMI event will set if GPIO04 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
3
GPIO03_SMI_ST
R/W
5VSB
0
0: No SMI event.
1: A SMI event will set if GPIO03 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
2
GPIO02_SMI_ST
R/W
5VSB
0
0: No SMI event.
1: A SMI event will set if GPIO02 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
1
GPIO01_SMI_ST
R/W
5VSB
0
0: No SMI event.
1: A SMI event will set if GPIO01 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
0
0: No SMI event.
1: A SMI event will set if GPIO00 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
0
GPIO00_SMI_ST
R/W
5VSB
147
Jan, 2012
V0. 12P
F81866A
7.7.5.GPIO1x Configuration Registers
Register
0x[HEX]
Default Value
Register Name
MSB
LSB
E0
GPIO1 Output Enable Register
0
0
0
0
0
0
0
0
E1
GPIO1 Output Data Register
1
1
1
1
1
1
1
1
E2
GPIO1 Pin Status Register
-
-
-
-
-
-
-
-
E3
GPIO1 Drive Enable Register
0
0
0
0
0
0
0
0
E8
GPIO1 SMI Enable Register
0
0
0
0
0
0
0
0
E9
GPIO1 SMI Status Register
0
0
0
0
0
0
0
0
7.7.5.1GPIO1 Output Enable Register ⎯ Index E0h
Bit
Name
R/W
Reset Default
Description
7
GPIO17_OE
R/W
5VSB
0
0: GPIO17 is in input mode.
1: GPIO17 is in output mode.
6
GPIO16_OE
R/W
5VSB
0
0: GPIO16 is in input mode.
1: GPIO16 is in output mode.
5
GPIO15_OE
R/W
5VSB
0
0: GPIO15 is in input mode.
1: GPIO15 is in output mode.
4
GPIO14_OE
R/W
5VSB
0
0: GPIO14 is in input mode.
1: GPIO14 is in output mode.
3
GPIO13_OE
R/W
5VSB
0
0: GPIO13 is in input mode.
1: GPIO13 is in output mode.
2
GPIO12_OE
R/W
5VSB
0
0: GPIO12 is in input mode.
1: GPIO12 is in output mode.
1
GPIO11_OE
R/W
5VSB
0
0: GPIO11 is in input mode.
1: GPIO11 is in output mode.
0
GPIO10_OE
R/W
5VSB
0
0: GPIO10 is in input mode.
1: GPIO10 is in output mode.
7.7.5.2GPIO1 Output Data Register ⎯ Index E1h (This byte could be also written by base address + 7)
Bit
Name
R/W
Reset Default
Description
7
GPIO17_VAL
R/W
5VSB
1
0: GPIO17 outputs 0 when in output mode.
1: GPIO17 outputs1 when in output mode.
6
GPIO16_VAL
R/W
5VSB
1
0: GPIO16 outputs 0 when in output mode.
1: GPIO16 outputs1 when in output mode.
5
GPIO15_VAL
R/W
5VSB
1
0: GPIO15 outputs 0 when in output mode.
1: GPIO15 outputs 1 when in output mode.
4
GPIO14_VAL
R/W
5VSB
1
0: GPIO14 outputs 0 when in output mode.
1: GPIO14 outputs 1 when in output mode.
3
GPIO13_VAL
R/W
5VSB
1
0: GPIO13 outputs 0 when in output mode.
1: GPIO13 outputs 1 when in output mode.
148
Jan, 2012
V0. 12P
F81866A
2
GPIO12_VAL
R/W
5VSB
1
0: GPIO12 outputs 0 when in output mode.
1: GPIO12 outputs 1 when in output mode.
1
GPIO11_VAL
R/W
5VSB
1
0: GPIO11 outputs 0 when in output mode.
1: GPIO11 outputs 1 when in output mode.
0
GPIO10_VAL
R/W
5VSB
1
0: GPIO10 outputs 0 when in output mode.
1: GPIO10 outputs 1 when in output mode.
7.7.5.3GPIO1 Pin Status Register ⎯ Index E2h (This byte could be also read by base address + 7)
Bit
Name
R/W
Reset Default
Description
7
GPIO17_IN
R
-
-
The pin status of PECI/GPIO17.
6
GPIO16_IN
R
-
-
The pin status of BEEP/GPIO16/SDA.
5
GPIO15_IN
R
-
-
The pin status of WDTRST#/GPIO15.
4
GPIO14_IN
R
-
-
The pin status of GPIO14/AT_ATX_TRAP.
3
GPIO13_IN
R
-
-
The pin status of SDA/GPIO13/IRRX.
2
GPIO12_IN
R
-
-
The pin status of SCL/GPIO12/IRTX
1
GPIO11_IN
R
-
-
The pin status of GPIO11/LED_VCC.
0
GPIO10_IN
R
-
-
The pin status of GPIO10/LED_VSB.
7.7.5.4GPIO1 Drive Enable Register ⎯ Index E3h
Bit
Name
R/W
Reset Default
Description
7
GPIO17_DRV_EN
R/W
5VSB
0
0: GPIO17 is open drain in output mode.
1: GPIO17 is push pull in output mode.
6
GPIO16_DRV_EN
R/W
5VSB
0
0: GPIO16 is open drain in output mode.
1: GPIO16 is push pull in output mode.
5
GPIO15_DRV_EN
R/W
5VSB
0
0: GPIO15 is open drain in output mode.
1: GPIO15 is push pull in output mode.
4
GPIO14_DRV_EN
R/W
5VSB
0
0: GPIO14 is open drain in output mode.
1: GPIO14 is push pull in output mode.
3
GPIO13_DRV_EN
R/W
5VSB
0
0: GPIO13 is open drain in output mode.
1: GPIO13 is push pull in output mode.
2
GPIO12_DRV_EN
R/W
5VSB
0
0: GPIO12 is open drain in output mode.
1: GPIO12 is push pull in output mode.
1
GPIO11_DRV_EN
R/W
VBAT
0
0: GPIO11 is open drain in output mode.
1: GPIO11 is push pull in output mode.
This bit is powered by VBAT.
0
GPIO10_DRV_EN
R/W
VBAT
0
0: GPIO10 is open drain in output mode.
1: GPIO10 is push pull in output mode.
This bit is powered by VBAT.
7.7.5.5GPIO1 SMI Enable Register ⎯ Index E8h
Bit
Name
R/W
Reset Default
7
GPIO17_SMI_EN
R/W
5VSB
0
Description
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO17_SMI_ST is set.
149
Jan, 2012
V0. 12P
F81866A
6
GPIO16_SMI_EN
R/W
5VSB
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO16_SMI_ST is set.
5
GPIO15_SMI_EN
R/W
5VSB
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO15_SMI_ST is set.
4
GPIO14_SMI_EN
R/W
5VSB
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO14_SMI_ST is set.
3
GPIO13_SMI_EN
R/W
5VSB
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO13_SMI_ST is set.
2
GPIO12_SMI_EN
R/W
5VSB
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO12_SMI_ST is set.
1
GPIO11_SMI_EN
R/W
5VSB
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO11_SMI_ST is set.
0
GPIO10_SMI_EN
R/W
5VSB
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO10_SMI_ST is set.
7.7.5.6GPIO1 SMI Status Register ⎯ Index E9h
Bit
Name
R/W
Reset Default
Description
7
GPIO17_SMI_ST
R/W
5VSB
0
0: No SMI event.
1: A SMI event will set if GPIO17 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
6
GPIO16_SMI_ST
R/W
5VSB
0
0: No SMI event.
1: A SMI event will set if GPIO16 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
5
GPIO15_SMI_ST
R/W
5VSB
0
0: No SMI event.
1: A SMI event will set if GPIO15 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
4
GPIO14_SMI_ST
R/W
5VSB
0
0: No SMI event.
1: A SMI event will set if GPIO14 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
3
GPIO13_SMI_ST
R/W
5VSB
0
0: No SMI event.
1: A SMI event will set if GPIO13 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
2
GPIO12_SMI_ST
R/W
5VSB
0
0: No SMI event.
1: A SMI event will set if GPIO12 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
0
0: No SMI event.
1: A SMI event will set if GPIO11 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
0
0: No SMI event.
1: A SMI event will set if GPIO10 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
1
0
GPIO11_SMI_ST
GPIO10_SMI_ST
R/W
R/W
5VSB
5VSB
150
Jan, 2012
V0. 12P
F81866A
7.7.6.GPIO2x Configuration Registers
Register
0x[HEX]
Default Value
Register Name
MSB
LSB
D0
GPIO2 Output Enable Register
0
0
0
0
0
0
0
0
D1
GPIO2 Output Data Register
1
1
1
1
1
1
1
1
D2
GPIO2 Pin Status Register
-
-
-
-
-
-
-
-
D3
GPIO2 Drive Enable Register
0
0
0
0
0
0
0
0
7.7.6.1GPIO2 Output Enable Register ⎯ Index D0h
Bit
Name
R/W
Reset Default
Description
7
GPIO27_OE
R/W
5VSB
0
0: GPIO27 is in input mode.
1: GPIO27 is in output mode.
6
GPIO26_OE
R/W
5VSB
0
0: GPIO26 is in input mode.
1: GPIO26 is in output mode.
5
GPIO25_OE
R/W
5VSB
0
0: GPIO25 is in input mode.
1: GPIO25 is in output mode.
4
GPIO24_OE
R/W
5VSB
0
0: GPIO24 is in input mode.
1: GPIO24 is in output mode.
3
GPIO23_OE
R/W
5VSB
0
0: GPIO23 is in input mode.
1: GPIO23 is in output mode.
2
GPIO22_OE
R/W
5VSB
0
0: GPIO22 is in input mode.
1: GPIO22 is in output mode.
1
GPIO21_OE
R/W
5VSB
0
0: GPIO21 is in input mode.
1: GPIO21 is in output mode.
0
GPIO20_OE
R/W
5VSB
0
0: GPIO20 is in input mode.
1: GPIO20 is in output mode.
7.7.6.2GPIO2 Output Data Register ⎯ Index D1h (This byte could be also written by base address + 8 if
GPIO_DEC_RANGE is set to “1”)
Bit
Name
R/W
Reset Default
Description
7
GPIO27_VAL
R/W
5VSB
1
0: GPIO27 outputs 0 when in output mode.
1: GPIO27 outputs1 when in output mode.
6
GPIO26_VAL
R/W
5VSB
1
0: GPIO26 outputs 0 when in output mode.
1: GPIO26 outputs1 when in output mode.
5
GPIO25_VAL
R/W
5VSB
1
0: GPIO25 outputs 0 when in output mode.
1: GPIO25 outputs 1 when in output mode.
4
GPIO24_VAL
R/W
5VSB
1
0: GPIO24 outputs 0 when in output mode.
1: GPIO24 outputs 1 when in output mode.
3
GPIO23_VAL
R/W
5VSB
1
0: GPIO23 outputs 0 when in output mode.
1: GPIO23 outputs 1 when in output mode.
2
GPIO22_VAL
R/W
5VSB
1
0: GPIO22 outputs 0 when in output mode.
1: GPIO22 outputs 1 when in output mode.
1
GPIO21_VAL
R/W
5VSB
1
0: GPIO21 outputs 0 when in output mode.
1: GPIO21 outputs 1 when in output mode.
151
Jan, 2012
V0. 12P
F81866A
0
GPIO20_VAL
R/W
5VSB
1
0: GPIO20 outputs 0 when in output mode.
1: GPIO20 outputs 1 when in output mode.
7.7.6.3GPIO2 Pin Status Register ⎯ Index D2h (This byte could be also read by base address + 8 if GPIO_DEC_RANGE
is set to “1”)
Bit
Name
R/W
Reset Default
Description
7
GPIO27_IN
R
-
-
The pin status of RSMRST#/GPIO27.
6
GPIO26_IN
R
-
-
The pin status of PWOK/GPIO26.
5
GPIO25_IN
R
-
-
The pin status of PS_ON#/GPIO25.
4
GPIO24_IN
R
-
-
The pin status of S3#/GPIO24.
3
GPIO23_IN
R
-
-
The pin status of PWSOUT#/GPIO23.
2
GPIO22_IN
R
-
-
The pin status of PWSIN#/GPIO22.
1
GPIO21_IN
R
-
-
The pin status of ATXPG_IN#/GPIO21.
0
GPIO20_IN
R
-
-
The pin status of ALERT#/GPIO20/SCL.
7.7.6.4GPIO2 Drive Enable Register ⎯ Index D3h
Bit
Name
R/W
Reset Default
Description
7
GPIO27_DRV_EN
R/W
5VSB
0
0: GPIO27 is open drain in output mode.
1: GPIO27 is push pull in output mode.
6
GPIO26_DRV_EN
R/W
5VSB
0
0: GPIO26 is open drain in output mode.
1: GPIO26 is push pull in output mode.
5
GPIO25_DRV_EN
R/W
5VSB
0
0: GPIO25 is open drain in output mode.
1: GPIO25 is push pull in output mode.
4
GPIO24_DRV_EN
R/W
5VSB
0
0: GPIO24 is open drain in output mode.
1: GPIO24 is push pull in output mode.
3
GPIO23_DRV_EN
R/W
5VSB
0
0: GPIO23 is open drain in output mode.
1: GPIO23 is push pull in output mode.
2
GPIO22_DRV_EN
R/W
5VSB
0
0: GPIO22 is open drain in output mode.
1: GPIO22 is push pull in output mode.
1
GPIO21_DRV_EN
R/W
5VSB
0
0: GPIO21 is open drain in output mode.
1: GPIO21 is push pull in output mode.
0
GPIO20_DRV_EN
R/W
5VSB
0
0: GPIO20 is open drain in output mode.
1: GPIO20 is push pull in output mode.
7.7.7.GPIO3x Configuration Registers
Register
0x[HEX]
Default Value
Register Name
MSB
LSB
C0
GPIO3 Output Enable Register
0
0
0
0
0
0
0
0
C1
GPIO3 Output Data Register
1
1
1
1
1
1
1
1
C2
GPIO3 Pin Status Register
-
-
-
-
-
-
-
-
C3
GPIO3 Drive Enable Register
0
0
0
0
0
0
0
0
152
Jan, 2012
V0. 12P
F81866A
7.7.7.1 GPIO3 Output Enable Register ⎯ Index C0h
Bit
Name
R/W
Reset Default
Description
7
GPIO37_OE
R/W
LRESET#
0
0: GPIO37 is input.
1: GPIO37 is output.
6
GPIO36_OE
R/W
LRESET#
0
0: GPIO36 is input.
1: GPIO36 is output.
5
GPIO35_OE
R/W
LRESET#
0
0: GPIO35 is input.
1: GPIO35 is output.
4
GPIO34_OE
R/W
LRESET#
0
0: GPIO34 is input.
1: GPIO34 is output.
3
GPIO33_OE
R/W
LRESET#
0
0: GPIO33 is input.
1: GPIO33 is output.
2
GPIO32_OE
R/W
LRESET#
0
0: GPIO32 is input.
1: GPIO32 is output.
1
GPIO31_OE
R/W
LRESET#
0
0: GPIO31 is input.
1: GPIO31 is output.
0
GPIO30_OE
R/W
LRESET#
0
0: GPIO30 is input.
1: GPIO30 is output.
7.7.7.2 GPIO3 Output Data Register ⎯ Index C1h (This byte could be also written by base address + 9 if
GPIO_DEC_RANGE is set to “1”)
Bit
Name
R/W
Reset Default
Description
7
GPIO37_VAL
R/W
LRESET#
1
0: GPIO37 outputs 0 when in output mode.
1: GPIO37 outputs 1 when in output mode.
6
GPIO36_VAL
R/W
LRESET#
1
0: GPIO36 outputs 0 when in output mode.
1: GPIO36 outputs 1 when in output mode.
5
GPIO35_VAL
R/W
LRESET#
1
0: GPIO35 outputs 0 when in output mode.
1: GPIO35 outputs 1 when in output mode.
4
GPIO34_VAL
R/W
LRESET#
1
0: GPIO34 outputs 0 when in output mode.
1: GPIO34 outputs 1 when in output mode.
3
GPIO33_VAL
R/W
LRESET#
1
0: GPIO33 outputs 0 when in output mode.
1: GPIO33 outputs 1 when in output mode.
2
GPIO32_VAL
R/W
LRESET#
1
0: GPIO32 outputs 0 when in output mode.
1: GPIO32 outputs 1 when in output mode.
1
GPIO31_VAL
R/W
LRESET#
1
0: GPIO31 outputs 0 when in output mode.
1: GPIO31 outputs 1 when in output mode.
0
GPIO30_VAL
R/W
LRESET#
1
0: GPIO30 outputs 0 when in output mode.
1: GPIO30 outputs 1 when in output mode.
7.7.7.3 GPIO3 Pin Status Register ⎯ Index C2h (This byte could be also read by base address + 9 if
GPIO_DEC_RANGE is set to “1”)
Bit
Name
R/W
7
GPIO37_IN
R
Reset Default
-
-
The pin status of SIN3/GPIO37.
Description
6
GPIO36_IN
R
-
-
The pin status of SOUT3/GPIO36.
153
Jan, 2012
V0. 12P
F81866A
5
GPIO35_IN
R
-
-
The pin status of DSR3#/GPIO35.
4
GPIO34_IN
R
-
-
The pin status of RTS3#/GPIO34.
3
GPIO33_IN
R
-
-
The pin status of DTR3#/GPIO33.
2
GPIO32_IN
R
-
-
The pin status of CTS3#/GPIO32.
1
GPIO31_IN
R
-
-
The pin status of RI3#/GPIO31.
0
GPIO30_IN
R
-
-
The pin status of DCD3#/GPIO30.
7.7.7.4 GPIO3 Drive Enable Register ⎯ Index C3h
Bit
Name
R/W
7
GPIO37_DRV_EN
R/W
6
GPIO36_DRV_EN
R/W
Reset Default
LRESET#
LRESET#
Description
0
GPIO37 Drive Enable.
0: GPIO37 is open drain.
1: GPIO37 is push pull.
0
GPIO36 Drive Enable.
0: GPIO36 is open drain.
1: GPIO36 is push pull.
5
GPIO35_DRV_EN
R/w
LRESET#
0
GPIO35 Drive Enable.
0: GPIO35 is open drain.
1: GPIO35 is push pull.
4
GPIO34_DRV_EN
R/W
LRESET#
0
GPIO34 Drive Enable.
0: GPIO34 is open drain.
1: GPIO34 is push pull.
3
GPIO33_DRV_EN
R/W
LRESET#
0
GPIO33 Drive Enable.
0: GPIO33 is open drain.
1: GPIO33 is push pull.
2
GPIO32_DRV_EN
R/W
LRESET#
0
GPIO32 Drive Enable.
0: GPIO32 is open drain.
1: GPIO32 is push pull.
1
GPIO31_DRV_EN
R/W
LRESET#
0
GPIO31 Drive Enable.
0: GPIO31 is open drain.
1: GPIO31 is push pull.
0
GPIO30_DRV_EN
R/W
LRESET#
0
GPIO30 Drive Enable.
0: GPIO30 is open drain.
1: GPIO30 is push pull.
7.7.8.GPIO4x Configuration Registers
Register
0x[HEX]
Default Value
Register Name
MSB
LSB
B0
GPIO4 Output Enable Register
0
0
0
0
0
0
0
0
B1
GPIO4 Output Data Register
1
1
1
1
1
1
1
1
B2
GPIO4 Pin Status Register
-
-
-
-
-
-
-
-
B3
GPIO4 Driver Enable Register
0
0
0
0
0
0
0
0
154
Jan, 2012
V0. 12P
F81866A
7.7.8.1GPIO4 Output Enable Register ⎯ Index B0h
Bit
Name
R/W
Reset Default
Description
7
GPIO47_OE
R/W
LRESET#
0
0: GPIO47 is input.
1: GPIO47 is output.
6
GPIO46_OE
R/W
LRESET#
0
0: GPIO46 is input.
1: GPIO46 is output.
5
GPIO45_OE
R/W
LRESET#
0
0: GPIO45 is input.
1: GPIO45 is output.
4
GPIO44_OE
R/W
LRESET#
0
0: GPIO44 is input.
1: GPIO44 is output.
3
GPIO43_OE
R/W
LRESET#
0
0: GPIO43 is input.
1: GPIO43 is output.
2
GPIO42_OE
R/W
LRESET#
0
0: GPIO42 is input.
1: GPIO42 is output.
1
GPIO41_OE
R/W
LRESET#
0
0: GPIO41 is input.
1: GPIO41 is output.
0
GPIO40_OE
R/W
LRESET#
0
0: GPIO40 is input.
1: GPIO40 is output.
7.7.8.2GPIO4 Output Data Register ⎯ Index B1h (This byte could be also written by base address + 10 if
GPIO_DEC_RANGE is set to “1”)
Bit
Name
R/W
Reset Default
Description
7
GPIO47_DATA
R/W
LRESET#
1
0: GPIO47 outputs 0 when in output mode.
1: GPIO47 outputs 1 when in output mode.
6
GPIO46_DATA
R/W
LRESET#
1
0: GPIO46 outputs 0 when in output mode.
1: GPIO46 outputs 1 when in output mode.
5
GPIO45_DATA
R/W
LRESET#
1
0: GPIO45 outputs 0 when in output mode.
1: GPIO45 outputs 1 when in output mode.
4
GPIO44_DATA
R/W
LRESET#
1
0: GPIO44 outputs 0 when in output mode.
1: GPIO44 outputs 1 when in output mode.
3
GPIO43_DATA
R/W
LRESET#
1
0: GPIO43 outputs 0 when in output mode.
1: GPIO43 outputs 1 when in output mode.
2
GPIO42_DATA
R/W
LRESET#
1
0: GPIO42 outputs 0 when in output mode.
1: GPIO42 outputs 1 when in output mode.
1
GPIO41_DATA
R/W
LRESET#
1
0: GPIO41 outputs 0 when in output mode.
1: GPIO41 outputs 1 when in output mode.
0
GPIO40_DATA
R/W
LRESET#
1
0: GPIO40 outputs 0 when in output mode.
1: GPIO40 outputs 1 when in output mode.
7.7.8.3GPIO4 Pin Status Register ⎯ Index B2h (This byte could be also read by base address + 10 if
GPIO_DEC_RANGE is set to “1”)
Bit
Name
R/W
Reset Default
Description
7
GPIO47_ST
R
-
-
The pin status of SIN4/GPIO47.
6
GPIO46_ST
R
-
-
The pin status of SOUT4/GPIO46.
155
Jan, 2012
V0. 12P
F81866A
5
GPIO45_ST
R
-
-
The pin status of DSR4#/GPIO45.
4
GPIO44_ST
R
-
-
The pin status of RTS4#/GPIO44.
3
GPIO43_ST
R
-
-
The pin status of DTR4#/GPIO43.
2
GPIO42_ST
R
-
-
The pin status of CTS4#/GPIO42.
1
GPIO41_ST
R
-
-
The pin status of RI4#/GPIO41.
0
GPIO40_ST
R
-
-
The pin status of DCD4#/GPIO40.
7.7.8.4GPIO4 Drive Enable Register ⎯ Index B3h
Bit
Name
R/W
Reset Default
Description
7
GPIO47_DRV_EN
R/W
LRESET#
0
GPIO47 Drive Enable.
0: GPIO47 is open drain.
1: GPIO47 is push pull.
6
GPIO46_DRV_EN
R/W
LRESET#
0
GPIO46 Drive Enable.
0: GPIO46 is open drain.
1: GPIO46 is push pull.
5
GPIO45_DRV_EN
R/w
LRESET#
0
GPIO45 Drive Enable.
0: GPIO45 is open drain.
1: GPIO45 is push pull.
4
GPIO44_DRV_EN
R/W
LRESET#
0
GPIO44 Drive Enable.
0: GPIO44 is open drain.
1: GPIO44 is push pull.
3
GPIO43_DRV_EN
R/W
LRESET#
0
GPIO43 Drive Enable.
0: GPIO43 is open drain.
1: GPIO43 is push pull.
0
GPIO42 Drive Enable.
0: GPIO42 is open drain.
1: GPIO42 is push pull.
2
GPIO42_DRV_EN
R/W
LRESET#
1
GPIO41_DRV_EN
R/W
LRESET#
0
GPIO41 Drive Enable.
0: GPIO41 is open drain.
1: GPIO41 is push pull.
0
GPIO40_DRV_EN
R/W
LRESET#
0
GPIO40 Drive Enable.
0: GPIO40 is open drain.
1: GPIO40 is push pull.
7.7.9.GPIO5x Configuration Registers
Register
0x[HEX]
Default Value
Register Name
MSB
LSB
A0
GPIO5 Output Enable Register
0
0
0
0
0
0
0
0
A1
GPIO5 Output Data Register
1
1
1
1
1
1
1
1
A2
GPIO5 Pin Status Register
-
-
-
-
-
-
-
-
A3
GPIO5 Drive Enable Register
0
0
0
0
0
0
0
0
A8
GPIO5 SMI Enable Register
0
0
0
0
0
0
0
0
A9
GPIO5 SMI Status Register
0
0
0
0
0
0
0
0
156
Jan, 2012
V0. 12P
F81866A
7.7.9.1GPIO5 Output Enable Register ⎯ Index A0h
Bit
Name
R/W
Reset Default
Description
7
GPIO57_OE
R/W
LRESET#
0
0: GPIO57 is in input mode.
1: GPIO57 is in output mode.
6
GPIO56_OE
R/W
LRESET#
0
0: GPIO56 is in input mode.
1: GPIO56 is in output mode.
5
GPIO55_OE
R/W
LRESET#
0
0: GPIO55 is in input mode.
1: GPIO55 is in output mode.
4
GPIO54_OE
R/W
LRESET#
0
0: GPIO54 is in input mode.
1: GPIO54 is in output mode.
3
GPIO53_OE
R/W
LRESET#
0
0: GPIO53 is in input mode.
1: GPIO53 is in output mode.
2
GPIO52_OE
R/W
LRESET#
0
0: GPIO52 is in input mode.
1: GPIO52 is in output mode.
1
GPIO51_OE
R/W
LRESET#
0
0: GPIO51 is in input mode.
1: GPIO51 is in output mode.
0
GPIO50_OE
R/W
LRESET#
0
0: GPIO50 is in input mode.
1: GPIO50 is in output mode.
7.7.9.2GPIO5 Output Data Register ⎯ Index A1h (This byte could be also written by base address + 5 )
Bit
Name
R/W
Reset Default
Description
7
GPIO57_DATA
R/W
LRESET#
1
0: GPIO57 outputs 0 when in output mode.
1: GPIO57 outputs 1 when in output mode.
6
GPIO56_DATA
R/W
LRESET#
1
0: GPIO56 outputs 0 when in output mode.
1: GPIO56 outputs 1 when in output mode.
5
GPIO55_DATA
R/W
LRESET#
1
0: GPIO55 outputs 0 when in output mode.
1: GPIO55 outputs 1 when in output mode.
4
GPIO54_DATA
R/W
LRESET#
1
0: GPIO54 outputs 0 when in output mode.
1: GPIO54 outputs 1 when in output mode.
3
GPIO53_DATA
R/W
LRESET#
1
0: GPIO53 outputs 0 when in output mode.
1: GPIO53 outputs 1 when in output mode.
2
GPIO52_DATA
R/W
LRESET#
1
0: GPIO52 outputs 0 when in output mode.
1: GPIO52 outputs 1 when in output mode.
1
GPIO51_DATA
R/W
LRESET#
1
0: GPIO51 outputs 0 when in output mode.
1: GPIO51 outputs 1 when in output mode.
0
GPIO50_DATA
R/W
LRESET#
1
0: GPIO50 outputs 0 when in output mode.
1: GPIO50 outputs 1 when in output mode.
7.7.9.3GPIO5 Pin Status Register ⎯ Index A2h (This byte could be also read by base address + 5 )
Bit
Name
R/W
7
GPIO57_ST
R
Reset Default
-
-
Description
The pin status of GPIO57/WGATE#/DSR6#.
157
Jan, 2012
V0. 12P
F81866A
6
GPIO56_ST
R
-
-
The pin status of GPIO56/HDSEL#/DTR6#.
5
GPIO55_ST
R
-
-
The pin status of GPIO55/STEP#/CTS6#.
4
GPIO54_ST
R
-
-
The pin status of GPIO54/DIR#/RI6#.
3
GPIO53_ST
R
-
-
The pin status of GPIO53/WDATA#/DCD6#.
2
GPIO52_ST
R
-
-
The pin status of GPIO52/DRVA#/SOUT6.
1
GPIO51_ST
R
-
-
The pin status of GPIO51/MOA#/SIN6.
0
GPIO50_ST
R
-
-
The pin status of GPIO50/DENSEL#/RTS6#.
7.7.9.4GPIO5 Drive Enable Register ⎯ Index A3h
Bit
Name
R/W
Reset Default
Description
7
GPIO57_DRV_EN
R/W
LRESET#
0
GPIO57 Drive Enable.
0: GPIO57 is open drain.
1: GPIO57 is push pull.
6
GPIO56_DRV_EN
R/W
LRESET#
0
GPIO56 Drive Enable.
0: GPIO56 is open drain.
1: GPIO56 is push pull.
5
GPIO55_DRV_EN
R/w
LRESET#
0
GPIO55 Drive Enable.
0: GPIO55 is open drain.
1: GPIO55 is push pull.
4
GPIO54_DRV_EN
R/W
LRESET#
0
GPIO54 Drive Enable.
0: GPIO54 is open drain.
1: GPIO54 is push pull.
3
GPIO53_DRV_EN
R/W
LRESET#
0
GPIO53 Drive Enable.
0: GPIO53 is open drain.
1: GPIO53 is push pull.
2
GPIO52_DRV_EN
R/W
LRESET#
0
GPIO52 Drive Enable.
0: GPIO52 is open drain.
1: GPIO52 is push pull.
1
GPIO51_DRV_EN
R/W
LRESET#
0
GPIO51 Drive Enable.
0: GPIO51 is open drain.
1: GPIO51 is push pull.
0
GPIO50_DRV_EN
R/W
LRESET#
0
GPIO50 Drive Enable.
0: GPIO50 is open drain.
1: GPIO50 is push pull.
7.7.9.5GPIO5 SMI Enable Register ⎯ Index A8h
Bit
Name
R/W
Reset Default
Description
7
GPIO57_SMI_EN
R/W
LRESET#
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO57_SMI_ST is set.
6
GPIO56_SMI_EN
R/W
LRESET#
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO56_SMI_ST is set.
5
GPIO55_SMI_EN
R/W
LRESET#
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO55_SMI_ST is set.
158
Jan, 2012
V0. 12P
F81866A
4
GPIO54_SMI_EN
R/W
LRESET#
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO54_SMI_ST is set.
3
GPIO53_SMI_EN
R/W
LRESET#
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO53_SMI_ST is set.
2
GPIO52_SMI_EN
R/W
LRESET#
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO52_SMI_ST is set.
1
GPIO51_SMI_EN
R/W
LRESET#
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO51_SMI_ST is set.
0
GPIO50_SMI_EN
R/W
LRESET#
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO50_SMI_ST is set.
7.7.9.6GPIO5 SMI Status Register ⎯ Index A9h
Bit
Name
R/W
Reset Default
Description
7
GPIO57_SMI_ST
R/W
LRESET#
0
0: No SMI event.
1: A SMI event will set if GPIO57 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
6
GPIO56_SMI_ST
R/W
LRESET#
0
0: No SMI event.
1: A SMI event will set if GPIO56 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
5
GPIO55_SMI_ST
R/W
LRESET#
0
0: No SMI event.
1: A SMI event will set if GPIO55 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
4
GPIO54_SMI_ST
R/W
LRESET#
0
0: No SMI event.
1: A SMI event will set if GPIO54 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
3
GPIO53_SMI_ST
R/W
LRESET#
0
0: No SMI event.
1: A SMI event will set if GPIO53 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
2
GPIO52_SMI_ST
R/W
LRESET#
0
0: No SMI event.
1: A SMI event will set if GPIO52 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
1
GPIO51_SMI_ST
R/W
LRESET#
0
0: No SMI event.
1: A SMI event will set if GPIO51 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
0
GPIO50_SMI_ST
R/W
LRESET#
0
0: No SMI event.
1: A SMI event will set if GPIO50 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
7.7.10.GPIO6x Configuration Registers
Register
0x[HEX]
Default Value
Register Name
MSB
LSB
90
GPIO6 Output Enable Register
0
0
0
0
0
0
0
0
91
GPIO6 Output Data Register
1
1
1
1
1
1
1
1
92
GPIO6 Pin Status Register
-
-
-
-
-
-
-
-
159
Jan, 2012
V0. 12P
F81866A
93
GPIO6 Drive Enable Register
0
0
0
0
0
0
0
0
7.7.10.1GPIO6 Output Enable Register ⎯ Index 90h
Bit
Name
R/W
Reset Default
Description
7
GPIO67_OE
R/W
LRESET#
0
0: GPIO67 is in input mode.
1: GPIO67 is in output mode.
6
GPIO66_OE
R/W
LRESET#
0
0: GPIO66 is in input mode.
1: GPIO65 is in output mode.
5
GPIO65_OE
R/W
LRESET#
0
0: GPIO65 is in input mode.
1: GPIO65 is in output mode.
4
GPIO64_OE
R/W
LRESET#
0
0: GPIO64 is in input mode.
1: GPIO64 is in output mode.
3
GPIO63_OE
R/W
LRESET#
0
0: GPIO63 is in input mode.
1: GPIO63 is in output mode.
2
GPIO62_OE
R/W
LRESET#
0
0: GPIO62 is in input mode.
1: GPIO62 is in output mode.
1
GPIO61_OE
R/W
LRESET#
0
0: GPIO61 is in input mode.
1: GPIO61 is in output mode.
0
GPIO60_OE
R/W
LRESET#
0
0: GPIO60 is in input mode.
1: GPIO60 is in output mode.
7.7.10.2GPIO6 Output Data Register ⎯ Index 91h (This byte could be also written by base address + 4)
Bit
Name
R/W
Reset Default
Description
7
GPIO67_VAL
R/W
LRESET#
1
0: GPIO67 outputs 0 when in output mode.
1: GPIO67 outputs 1 when in output mode.
6
GPIO66_VAL
R/W
LRESET#
1
0: GPIO66 outputs 0 when in output mode.
1: GPIO66 outputs 1 when in output mode.
5
GPIO65_VAL
R/W
LRESET#
1
0: GPIO65 outputs 0 when in output mode.
1: GPIO65 outputs 1 when in output mode.
4
GPIO64_VAL
R/W
LRESET#
1
0: GPIO64 outputs 0 when in output mode.
1: GPIO64 outputs 1 when in output mode.
3
GPIO63_VAL
R/W
LRESET#
1
0: GPIO63 outputs 0 when in output mode.
1: GPIO63 outputs 1 when in output mode.
2
GPIO62_VAL
R/W
LRESET#
1
0: GPIO62 outputs 0 when in output mode.
1: GPIO62 outputs 1 when in output mode.
1
GPIO61_VAL
R/W
LRESET#
1
0: GPIO61 outputs 0 when in output mode.
1: GPIO61 outputs 1 when in output mode.
0
GPIO60_VAL
R/W
LRESET#
1
0: GPIO60 outputs 0 when in output mode.
1: GPIO60 outputs 1 when in output mode.
160
Jan, 2012
V0. 12P
F81866A
7.7.10.3GPIO6 Pin Status Register ⎯ Index 92h (This byte could be also read by base address + 4)
Bit
Name
R/W
Reset Default
Description
7
GPIO67_IN
R
-
-
The pin status of S5#/GPIO67.
6
GPIO66_IN
R
-
-
The pin status of DPWROK/GPIO66.
5
GPIO65_IN
R
-
-
The pin status of PME#/GPIO65.
4
GPIO64_IN
R
-
-
The pin status of GPIO64/DSKCHG#/DSR5#.
3
GPIO63_IN
R
-
-
The pin status of GPIO63/WPT#/DTR5#.
2
GPIO62_IN
R
-
-
The pin status of GPIO62/INDEX#/CTS5#.
1
GPIO61_IN
R
-
-
The pin status of GPIO61/TRK0#/RI5#.
0
GPIO60_IN
R
-
-
The pin status of GPIO60/RDATA#/DCD5#.
7.7.10.4GPIO6 Drive Enable Register ⎯ Index 93h
Bit
Name
R/W
Reset Default
Description
7
GPIO67_DRV_EN
R/W
LRESET#
0
0: GPIO67 is open drain in output mode.
1: Reserved.
6
GPIO66_DRV_EN
R/W
LRESET#
0
0: GPIO66 is open drain in output mode.
1: GPIO66 is push pull in output mode.
5
GPIO65_DRV_EN
R/W
LRESET#
0
0: GPIO65 is open drain in output mode.
1: GPIO65 is push pull in output mode.
4
GPIO64_DRV_EN
R/W
LRESET#
0
0: GPIO64 is open drain in output mode.
1: GPIO64 is push pull in output mode.
3
GPIO63_DRV_EN
R/W
LRESET#
0
0: GPIO63 is open drain in output mode.
1: GPIO63 is push pull in output mode.
2
GPIO62_DRV_EN
R/W
LRESET#
0
0: GPIO62 is open drain in output mode.
1: GPIO62 is push pull in output mode.
1
GPIO61_DRV_EN
R/W
LRESET#
0
0: GPIO61 is open drain in output mode.
1: GPIO61 is push pull in output mode.
0
GPIO60_DRV_EN
R/W
LRESET#
0
0: GPIO60 is open drain in output mode.
1: GPIO60 is push pull in output mode.
7.7.11.GPIO7x Configuration Registers
Register
0x[HEX]
Default Value
Register Name
MSB
LSB
80
GPIO7 Output Enable Register
0
0
0
0
0
0
0
0
81
GPIO7 Output Data Register
1
1
1
1
1
1
1
1
82
GPIO7 Pin Status Register
-
-
-
-
-
-
-
-
83
GPIO7 Drive Enable Register
0
0
0
0
0
0
0
0
161
Jan, 2012
V0. 12P
F81866A
7.7.11.1GPIO7 Output Enable Register ⎯ Index 80h
Bit
Name
R/W
Reset Default
Description
7
GPIO77_OE
R/W
LRESET#
0
0: GPIO77 is in input mode.
1: GPIO77 is in output mode.
6
GPIO76_OE
R/W
LRESET#
0
0: GPIO76 is in input mode.
1: GPIO75 is in output mode.
5
GPIO75_OE
R/W
LRESET#
0
0: GPIO75 is in input mode.
1: GPIO75 is in output mode.
4
GPIO74_OE
R/W
LRESET#
0
0: GPIO74 is in input mode.
1: GPIO74 is in output mode.
3
GPIO73_OE
R/W
LRESET#
0
0: GPIO73 is in input mode.
1: GPIO73 is in output mode.
2
GPIO72_OE
R/W
LRESET#
0
0: GPIO72 is in input mode.
1: GPIO72 is in output mode.
1
GPIO71_OE
R/W
LRESET#
0
0: GPIO71 is in input mode.
1: GPIO71 is in output mode.
0
GPIO70_OE
R/W
LRESET#
0
0: GPIO70 is in input mode.
1: GPIO70 is in output mode.
7.7.11.2GPIO7 Output Data Register ⎯ Index 81h (This byte could be also written by base address + 3)
Bit
Name
R/W
Reset Default
Description
7
GPIO77_VAL
R/W
LRESET#
1
0: GPIO77 outputs 0 when in output mode.
1: GPIO77 outputs 1 when in output mode.
6
GPIO76_VAL
R/W
LRESET#
1
0: GPIO76 outputs 0 when in output mode.
1: GPIO76 outputs 1 when in output mode.
5
GPIO75_VAL
R/W
LRESET#
1
0: GPIO75 outputs 0 when in output mode.
1: GPIO75 outputs 1 when in output mode.
4
GPIO74_VAL
R/W
LRESET#
1
0: GPIO74 outputs 0 when in output mode.
1: GPIO74 outputs 1 when in output mode.
3
GPIO73_VAL
R/W
LRESET#
1
0: GPIO73 outputs 0 when in output mode.
1: GPIO73 outputs 1 when in output mode.
2
GPIO72_VAL
R/W
LRESET#
1
0: GPIO72 outputs 0 when in output mode.
1: GPIO72 outputs 1 when in output mode.
1
GPIO71_VAL
R/W
LRESET#
1
0: GPIO71 outputs 0 when in output mode.
1: GPIO71 outputs 1 when in output mode.
0
GPIO70_VAL
R/W
LRESET#
1
0: GPIO70 outputs 0 when in output mode.
1: GPIO70 outputs 1 when in output mode.
7.7.11.3GPIO7 Pin Status Register ⎯ Index 82h (This byte could be also read by base address + 3)
Bit
Name
R/W
Reset Default
Description
7
GPIO77_IN
R
-
-
The pin status of GPIO77/STB#.
6
GPIO76_IN
R
-
-
The pin status of GPIO76/AFD#.
5
GPIO75_IN
R
-
-
The pin status of GPIO75/ERR#.
162
Jan, 2012
V0. 12P
F81866A
4
GPIO74_IN
R
-
-
The pin status of GPIO74/INIT#.
3
GPIO73_IN
R
-
-
The pin status of GPIO73/SLIN#.
2
GPIO72_IN
R
-
-
The pin status of GPIO72/ACK#.
1
GPIO71_IN
R
-
-
The pin status of GPIO71/BUSY.
0
GPIO70_IN
R
-
-
The pin status of GPIO70/PE/FANCTL3/PWM_DAC3.
7.7.11.4GPIO7 Drive Enable Register ⎯ Index 83h
Bit
Name
R/W
Reset Default
Description
7
GPIO77_DRV_EN
R/W
LRESET#
0
0: GPIO77 is open drain in output mode.
1: GPIO77 is push pull in output mode.
6
GPIO76_DRV_EN
R/W
LRESET#
0
0: GPIO76 is open drain in output mode.
1: GPIO76 is push pull in output mode.
5
GPIO75_DRV_EN
R/W
LRESET#
0
0: GPIO75 is open drain in output mode.
1: GPIO75 is push pull in output mode.
4
GPIO74_DRV_EN
R/W
LRESET#
0
0: GPIO74 is open drain in output mode.
1: GPIO74 is push pull in output mode.
3
GPIO73_DRV_EN
R/W
LRESET#
0
0: GPIO73 is open drain in output mode.
1: GPIO73 is push pull in output mode.
2
GPIO72_DRV_EN
R/W
LRESET#
0
0: GPIO72 is open drain in output mode.
1: GPIO72 is push pull in output mode.
1
GPIO71_DRV_EN
R/W
LRESET#
0
0: GPIO71 is open drain in output mode.
1: GPIO71 is push pull in output mode.
0
GPIO70_DRV_EN
R/W
LRESET#
0
0: GPIO70 is open drain in output mode.
1: GPIO70 is push pull in output mode.
7.7.12.GPIO8x Configuration Registers
Register
0x[HEX]
Default Value
Register Name
MSB
LSB
88
GPIO8 Output Enable Register
0
0
0
0
0
0
0
0
89
GPIO8 Output Data Register
1
1
1
1
1
1
1
1
8A
GPIO8 Pin Status Register
-
-
-
-
-
-
-
-
8B
GPIO8 Drive Enable Register
0
0
0
0
0
0
0
0
8E
GPIO8 SMI Enable Register
0
0
0
0
0
0
0
0
8F
GPIO8 SMI Status Register
0
0
0
0
0
0
0
0
7.7.12.1GPIO8 Output Enable Register ⎯ Index 88h
Bit
Name
R/W
Reset Default
Description
7
GPIO87_OE
R/W
LRESET#
0
0: GPIO87 is in input mode.
1: GPIO87 is in output mode.
6
GPIO86_OE
R/W
LRESET#
0
0: GPIO86 is in input mode.
1: GPIO85 is in output mode.
163
Jan, 2012
V0. 12P
F81866A
5
GPIO85_OE
R/W
LRESET#
0
0: GPIO85 is in input mode.
1: GPIO85 is in output mode.
4
GPIO84_OE
R/W
LRESET#
0
0: GPIO84 is in input mode.
1: GPIO84 is in output mode.
3
GPIO83_OE
R/W
LRESET#
0
0: GPIO83 is in input mode.
1: GPIO83 is in output mode.
2
GPIO82_OE
R/W
LRESET#
0
0: GPIO82 is in input mode.
1: GPIO82 is in output mode.
1
GPIO81_OE
R/W
LRESET#
0
0: GPIO81 is in input mode.
1: GPIO81 is in output mode.
0
GPIO80_OE
R/W
LRESET#
0
0: GPIO80 is in input mode.
1: GPIO80 is in output mode.
7.7.12.2GPIO8 Output Data Register ⎯ Index 89h (This byte could be also written by base address + 2)
Bit
Name
R/W
Reset Default
Description
7
GPIO87_VAL
R/W
LRESET#
1
0: GPIO87 outputs 0 when in output mode.
1: GPIO87 outputs 1 when in output mode.
6
GPIO86_VAL
R/W
LRESET#
1
0: GPIO86 outputs 0 when in output mode.
1: GPIO86 outputs 1 when in output mode.
5
GPIO85_VAL
R/W
LRESET#
1
0: GPIO85 outputs 0 when in output mode.
1: GPIO85 outputs 1 when in output mode.
4
GPIO84_VAL
R/W
LRESET#
1
0: GPIO84 outputs 0 when in output mode.
1: GPIO84 outputs 1 when in output mode.
3
GPIO83_VAL
R/W
LRESET#
1
0: GPIO83 outputs 0 when in output mode.
1: GPIO83 outputs 1 when in output mode.
2
GPIO82_VAL
R/W
LRESET#
1
0: GPIO82 outputs 0 when in output mode.
1: GPIO82 outputs 1 when in output mode.
1
GPIO81_VAL
R/W
LRESET#
1
0: GPIO81 outputs 0 when in output mode.
1: GPIO81 outputs 1 when in output mode.
0
GPIO80_VAL
R/W
LRESET#
1
0: GPIO80 outputs 0 when in output mode.
1: GPIO80 outputs 1 when in output mode.
7.7.12.3GPIO8 Pin Status Register ⎯ Index 8Ah (This byte could be also read by base address + 2)
Bit
Name
R/W
Reset Default
Description
7
GPIO87_IN
R
-
-
The pin status of GPIO87/PD7.
6
GPIO86_IN
R
-
-
The pin status of GPIO86/PD6.
5
GPIO85_IN
R
-
-
The pin status of GPIO85/PD5.
4
GPIO84_IN
R
-
-
The pin status of GPIO84/PD4.
3
GPIO83_IN
R
-
-
The pin status of GPIO83/PD3.
2
GPIO82_IN
R
-
-
The pin status of GPIO82/PD2.
1
GPIO81_IN
R
-
-
The pin status of GPIO81/PD1.
0
GPIO80_IN
R
-
-
The pin status of GPIO80/PD0.
164
Jan, 2012
V0. 12P
F81866A
7.7.12.4GPIO8 Drive Enable Register ⎯ Index 8Bh
Bit
Name
R/W
Reset Default
Description
7
GPIO87_DRV_EN
R/W
LRESET#
0
0: GPIO87 is open drain in output mode.
1: GPIO87 is push pull in output mode.
6
GPIO86_DRV_EN
R/W
LRESET#
0
0: GPIO86 is open drain in output mode.
1: GPIO86 is push pull in output mode.
5
GPIO85_DRV_EN
R/W
LRESET#
0
0: GPIO85 is open drain in output mode.
1: GPIO85 is push pull in output mode.
4
GPIO84_DRV_EN
R/W
LRESET#
0
0: GPIO84 is open drain in output mode.
1: GPIO84 is push pull in output mode.
3
GPIO83_DRV_EN
R/W
LRESET#
0
0: GPIO83 is open drain in output mode.
1: GPIO83 is push pull in output mode.
2
GPIO82_DRV_EN
R/W
LRESET#
0
0: GPIO82 is open drain in output mode.
1: GPIO82 is push pull in output mode.
1
GPIO81_DRV_EN
R/W
LRESET#
0
0: GPIO81 is open drain in output mode.
1: GPIO81 is push pull in output mode.
0
GPIO80_DRV_EN
R/W
LRESET#
0
0: GPIO80 is open drain in output mode.
1: GPIO80 is push pull in output mode.
7.7.12.5GPIO8 SMI Enable Register ⎯ Index 8Eh
Bit
Name
R/W
Reset Default
Description
7
GPIO87_SMI_EN
R/W
LRESET#
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO87_SMI_ST is set.
6
GPIO86_SMI_EN
R/W
LRESET#
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO86_SMI_ST is set.
5
GPIO85_SMI_EN
R/W
LRESET#
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO85_SMI_ST is set.
4
GPIO84_SMI_EN
R/W
LRESET#
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO84_SMI_ST is set.
3
GPIO83_SMI_EN
R/W
LRESET#
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO83_SMI_ST is set.
2
GPIO82_SMI_EN
R/W
LRESET#
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO82_SMI_ST is set.
1
GPIO81_SMI_EN
R/W
LRESET#
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO81_SMI_ST is set.
0
GPIO80_SMI_EN
R/W
LRESET#
0
0: Disable SMI event.
1: Enable SMI event via PME# or SIRQ if GPIO80_SMI_ST is set.
7.7.12.6GPIO8 SMI Status Register ⎯ Index 8Fh
Bit
Name
R/W
7
GPIO87_SMI_ST
R/W
Reset Default
LRESET#
0
Description
0: No SMI event.
1: A SMI event will set if GPIO87 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
165
Jan, 2012
V0. 12P
F81866A
6
GPIO86_SMI_ST
R/W
LRESET#
0
0: No SMI event.
1: A SMI event will set if GPIO86 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
5
GPIO85_SMI_ST
R/W
LRESET#
0
0: No SMI event.
1: A SMI event will set if GPIO85 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
4
GPIO84_SMI_ST
R/W
LRESET#
0
0: No SMI event.
1: A SMI event will set if GPIO84 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
3
GPIO83_SMI_ST
R/W
LRESET#
0
0: No SMI event.
1: A SMI event will set if GPIO83 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
2
GPIO82_SMI_ST
R/W
LRESET#
0
0: No SMI event.
1: A SMI event will set if GPIO82 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
1
GPIO81_SMI_ST
R/W
LRESET#
0
0: No SMI event.
1: A SMI event will set if GPIO81 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
0
0: No SMI event.
1: A SMI event will set if GPIO80 input is changed.
This bit is available in input mode. Write “1” to this bit will clear the status.
0
GPIO80_SMI_ST
R/W
LRESET#
Remark:
GPIO also provides index/data port to access the whole GPIO registers. The index port is base address + 0 and
data port is base address + 1. The index for each register is the same as the one for configuration register. For
example, to write GPIO0 output enable register 0xAA, below is the procedure:
1. Write index port 0xF0.
2. Write data port 0xAA.
7.8
WDT Device Configuration Registers (LDN CR07)
“-“ Reserved or Tri-State
Register 0x[HEX]
Default Value
Register Name
MSB
LSB
30
WDT Device Enable Register
-
-
-
-
-
-
-
0
60
Base Address High Register
0
0
0
0
0
0
0
0
61
Base Address Low Register
0
0
0
0
0
0
0
0
F5
WDT Control Register
0
0
0
0
0
0
0
0
F6
WDT Timer Register
0
0
0
0
0
0
0
0
FA
WDT PME Enable Register
0
0
0
-
-
-
0
1
7.8.1WDT Device Base Address Enable Register ⎯ Index 30h
Bit
Name
R/W
Reset Default
Description
7-1
Reserved
-
-
0
Reserved
0
WDT_EN
R/W
5VSB
0
0: disable WDT base address.
1: enable WDT base address.
166
Jan, 2012
V0. 12P
F81866A
7.8.2Base Address High Register ⎯ Index 60h
Bit
Name
R/W
Reset Default
7-0
BASE_ADDR_HI
R/W
5VSB
00h
Description
The MSB of WDT base address.
7.8.3Base Address Low Register ⎯ Index 61h
Bit
Name
R/W
Reset Default
7-0
BASE_ADDR_LO
R/W
5VSB
00h
Description
The LSB of WDT base address.
7.8.4Watchdog Control Configuration Register 1 ⎯ Index F5h
Bit
Name
R/W
Reset Default
Description
Reserved
7
Reserved
R
-
0
6
WDTMOUT_STS
R/W
5VSB
0
5
WD_EN
R/W
5VSB
0
If watchdog timeout event occurred, this bit will be set to 1. Write a 1 to this
bit will clear it to 0.
If this bit is set to 1, the counting of watchdog time is enabled.
4
WD_PULSE
R/W
5VSB
0
Select output mode (0: level, 1: pulse) of RSTOUT# by setting this bit.
3
WD_UNIT
R/W
5VSB
0
Select time unit (0: 1sec, 1: 60 sec) of watchdog timer by setting this bit.
2
WD_HACTIVE
R/W
5VSB
0
1-0
WD_PSWIDTH
R/W
5VSB
0
Select output polarity of RSTOUT# (1: high active, 0: low active) by setting
this bit.
Select output pulse width of RSTOUT#
0: 1 ms
1: 25 ms
2: 125 ms
3: 5 sec
7.8.5Watchdog Timer Configuration Register 2 ⎯ Index F6h
Bit
Name
R/W
Reset Default
7-0
WD_TIME
R/W
5VSB
0
Description
Time of watchdog timer (0~255)
7.8.6Watchdog PME Enable Configuration Register 2 ⎯ Index FAh
Bit
Name
R/W
Reset Default
7
WDT_PME
R
5VSB
0
6
WDT_PME_EN
R/W
5VSB
0
5
Reserved
R
-
0
4
WDT_CLK_SEL
R/W
5VSB
1
3-1
Reserved
R
-
0
0
WDOUT_EN
R/W
5VSB
0
Description
0: No WDT PME occurred.
1: WDT PME occurred.
The WDT PME is occurred one unit before WDT timeout.
0: Disable Watchdog PME.
1: enable Watchdog PME.
Reserved
WDT Clock Source Select
0: Internal 1KHz clock.
1: 1KHZ clock driven by CLKIN.
Reserved
0: disable Watchdog time out output via WDTRST#.
1: enable Watchdog time out output via WDTRST#.
167
Jan, 2012
V0. 12P
F81866A
7.9
PME, ACPI and ERP Device Configuration Registers (LDN CR0A)
“-“ Reserved or Tri-State
Register 0x[HEX]
Default Value
Register Name
MSB
LSB
30
PME Device Enable Register
-
-
-
-
-
-
-
0
F0
PME Event Enable 1 Register
0
0
0
0
0
0
0
0
F1
PME Event Status 1 Register
-
-
-
-
-
-
-
-
F2
PME Event Enable 2 Register
0
0
0
0
0
0
0
0
F3
PME Event Status 2 Register
-
-
-
-
-
-
-
-
F4
ACPI Control Register 1
-
-
0
0
0
1
1
1
F5
ACPI Control Register 2
-
0
0
1
1
1
-
-
F6
ACPI Control Register 3
0
-
-
0
0
-
-
-
F8
LED Control Register 1
-
0
0
0
0
0
0
0
F9
LED Control Register 2
-
0
0
0
-
0
0
0
FA
LED Control Register 3
-
-
-
-
0
1
1
1
FC
DSW Delay Register
-
-
-
-
-
-
0
0
FE
RI De-bounce Select Register
0
0-
-
-
-
-
0
0
E0
ERP Enable Register
-
-
0
0
1
1
0
0
E1
ERP Control Register 1
1
0
0
0
0
0
0
-
E2
ERP Control Register 2
-
0
0
0
0
0
0
0
E3
ERP PWSIN De-bounce Register
0
0
0
1
0
0
1
1
E4
ERP RSMRST De-bounce Register
0
0
0
0
1
0
0
1
E5
ERP PWSOUT Pulse Register
1
1
0
0
0
1
1
1
E6
ERP PSON De-bounce Register
0
0
0
1
0
0
1
1
E7
ERP Deep S5 Delay Register
0
1
1
0
0
0
1
1
E8
ERP Wakeup Enable Register
0
-
0
1
0
0
0
0
E9
ERP Deep S3 Delay Register
0
0
0
0
1
1
1
1
EC
ERP Mode Select Register
0
0
0
1
0
1
-
-
ED
ERP WDT Control Register
-
-
-
-
-
-
0
0
EE
ERP WDT Time Register
0
0
0
0
0
0
0
0
7.9.1PME Device Enable Register ⎯ Index 30h
Bit
Name
R/W
Reset Default
Description
7-1
Reserved
-
-
-
Reserved
0
PME_EN
R/W
5VSB
0
PME global enable register.
0: disable PME.
1: enable PME.
168
Jan, 2012
V0. 12P
F81866A
7.9.2PME Event Enable 1 Register ⎯ Index F0h
Bit
Name
R/W
7
Reserved
-
Reset Default
-
Description
-
Reserved
6
WDT_PME_EN
R/W
5VSB
0
WDT PME event enable.
0: disable WDT PME event.
1: enable WDT PME event.
5
GP_PME_EN
R/W
5VSB
0
GPIO PME event enable.
0: disable GPIO PME event.
1: enable GPIO PME event.
4
MO_PME_EN
R/W
5VSB
0
Mouse PME event enable.
0: disable mouse PME event.
1: enable mouse PME event.
3
KB_PME_EN
R/W
5VSB
0
Keyboard PME event enable.
0: disable keyboard PME event.
1: enable keyboard PME event.
2
HM_PME_EN
R/W
5VSB
0
Hardware monitor PME event enable.
0: disable hardware monitor PME event.
1: enable hardware monitor PME event.
1
PRT_PME_EN
R/W
5VSB
0
Parallel port PME event enable.
0: disable parallel port PME event.
1: enable parallel port PME event.
0
FDC PME event enable.
0: disable FDC PME event.
1: enable FDC PME event.
0
FDC_PME_EN
R/W
5VSB
7.9.3PME Event Status 1 Register ⎯ Index F1h
Bit
7
6
5
4
3
Name
ERP_PME_ST
WDT_PME_ST
GP_PME_ST
MO_PME_ST
KB_PME_ST
R/W
Reset Default
R/WC 5VSB
R/WC 5VSB
R/WC 5VSB
R/WC 5VSB
R/WC 5VSB
Description
-
ERP PME event status.
0: ERP has no PME event.
1: ERP has a PME event to assert. Write 1 to clear to be ready for next PME
event.
-
WDT PME event status.
0: WDT has no PME event.
1: WDT has a PME event to assert. Write 1 to clear to be ready for next PME
event.
-
GPIO PME event status.
0: GPIO has no PME event.
1: GPIO has a PME event to assert. Write 1 to clear to be ready for next
PME event.
-
Mouse PME event status.
0: Mouse has no PME event.
1: Mouse has a PME event to assert. Write 1 to clear to be ready for next
PME event.
-
Keyboard PME event status.
0: Keyboard has no PME event.
1: Keyboard has a PME event to assert. Write 1 to clear to be ready for next
PME event.
169
Jan, 2012
V0. 12P
F81866A
2
1
0
HM_PME_ST
PRT_PME_ST
FDC_PME_ST
R/WC 5VSB
R/WC 5VSB
R/WC 5VSB
-
Hardware monitors PME event status.
0: Hardware monitor has no PME event.
1: Hardware monitor has a PME event to assert. Write 1 to clear to be ready
for next PME event.
-
Parallel port PME event status.
0: Parallel port has no PME event.
1: Parallel port has a PME event to assert. Write 1 to clear to be ready for
next PME event.
-
FDC PME event status.
0: FDC has no PME event.
1: FDC has a PME event to assert. Write 1 to clear to be ready for next PME
event.
7.9.4PME Event Enable 2 Register ⎯ Index F2h
Bit
Name
R/W
Reset Default
Description
RI2# PME event enable.
7
RI2_PME_EN
R/W
5VSB
0
0: disable RI2# PME event.
1: enable RI2# PME event.
RI1# PME event enable.
6
RI1_PME_EN
R/W
5VSB
0
0: disable RI1# PME event.
1: enable RI1# PME event.
UART 6 PME event enable.
5
UART6_PME_EN
R/W
5VSB
0
0: disable UART 6 PME event.
1: enable UART 6 PME event.
UART 5 PME event enable.
4
UART5_PME_EN
R/W
5VSB
0
0: disable UART 5 PME event.
1: enable UART 5 PME event.
UART 4 PME event enable.
3
UART4_PME_EN
R/W
5VSB
0
0: disable UART 4 PME event.
1: enable UART 4 PME event.
UART 3 PME event enable.
2
UART3_PME_EN
R/W
5VSB
0
0: disable UART 3 PME event.
1: enable UART 3 PME event.
UART 2 PME event enable.
1
UART2_PME_EN
R/W
5VSB
0
0: disable UART 2 PME event.
1: enable UART 2 PME event.
170
Jan, 2012
V0. 12P
F81866A
UART 1 PME event enable.
0
UART1_PME_EN
R/W
5VSB
0
0: disable UART 1 PME event.
1: enable UART 1 PME event.
7.9.5PME Event Status 2 Register ⎯ Index F3h
Bit
Name
R/W
Reset Default
Description
RI2# PME event status.
7
RI2_PME_ST
R/WC 5VSB
-
0: RI2# has no PME event.
1: RI2# has a PME event to assert. Write 1 to clear to be ready for next PME
event.
RI1# PME event status.
6
RI1_PME_ST
R/WC 5VSB
-
0: RI1# has no PME event.
1: RI1# has a PME event to assert. Write 1 to clear to be ready for next PME
event.
UART 6 PME event status.
5
UART6_PME_ST
R/WC 5VSB
-
0: UART 6 has no PME event.
1: UART 6 has a PME event to assert. Write 1 to clear to be ready for next
PME event.
UART 5 PME event status.
4
UART5_PME_ST
R/WC 5VSB
-
0: UART 5 has no PME event.
1: UART 5 has a PME event to assert. Write 1 to clear to be ready for next
PME event.
UART 4 PME event status.
3
UART4_PME_ST
R/WC 5VSB
-
0: UART 4 has no PME event.
1: UART 4 has a PME event to assert. Write 1 to clear to be ready for next
PME event.
UART 3 PME event status.
2
UART3_PME_ST
R/WC 5VSB
-
0: UART 3 has no PME event.
1: UART 3 has a PME event to assert. Write 1 to clear to be ready for next
PME event.
UART 2 PME event status.
1
UART2_PME_ST
R/WC 5VSB
-
0: UART 2 has no PME event.
1: UART 2 has a PME event to assert. Write 1 to clear to be ready for next
PME event.
171
Jan, 2012
V0. 12P
F81866A
UART 1 PME event status.
0
UART1_PME_ST
R/WC 5VSB
0: UART 1 has no PME event.
-
1: UART 1 has a PME event to assert. Write 1 to clear to be ready for next
PME event.
7.9.6ACPI Control Register 1 ⎯ Index F4h
Bit
Name
R/W
Reset Default
7-6
Reserved
-
-
-
Reserved.
5
EN_GPWAKEUP
R/W
VBAT
0
Set one to enable GPIO SMI event asserted via PWSOUT#.
4
EN_KBWAKEUP
R/W
VBAT
0
Set one to enable keyboard wakeup event asserted via PWSOUT#.
3
EN_MOWAKEUP
R/W
VBAT
0
Set one to enable mouse wakeup event asserted via PWSOUT#.
2-1
PWRCTRL
R/W
VBAT
11
0
VSB_PWR_LOSS
R/W
5VSB
1
Description
The ACPI Control the PSON_N to always on or always off or keep last state
00 : keep last state
10 : Always on
01 : Bypass mode.
11: Always off
When 5VSB power lose, it will set to 1, and write 1 to clear it
7.9.7ACPI Control Register 2 ⎯ Index F5h
Bit
Name
R/W
7
Reserved
-
6-5
PWOK_DELAY
R/W
Reset Default
-
5VSB
Description
-
Reserved.
0
The additional PWOK delay.
00: no delay (default)
01: 100ms.
10: 200ms
11: 400ms.
The PWOK delay timing from VDD3VOK by followed setting
00 : 100ms
01 : 200ms
10 : 300ms
11 : 400ms (default)
4-3
VDD_DELAY
R/W
5VSB
11
2
VINDB_EN
R/W
5VSB
1
Enable the ATXPG de-bounce. (10us)
1-0
Reserved
-
-
-
Reserved.
7.9.8ACPI Control Register 3 ⎯ Index F6h
Bit
Name
R/W
Reset Default
Description
7
S3_SEL
R/W
5VSB
0
Select the KBC S3 condition source.
0: Enter S3 state when internal VDD3VOK signal de-asserted.
1: Enter S3 state when S3# is low or the TS3 register is set to 1.
6-5
Reserved
-
5VSB
-
Reserved.
4
PSON_DEL_EN
R/W
5VSB
0
0: PSON# is the inverted of S3# signal.
1: PSON# will sink low only if the time after the last turn-off elapse at least 4
seconds.
3
WDT_PWOK_EN
R/W
5VSB
0
Set “1” to this bit will enable WDT timeout event asset from PWOK pin.
2-0
Reserved
-
-
Reserved.
172
Jan, 2012
V0. 12P
F81866A
7.9.9LED Control Register 1 ⎯ Index F8h
Bit
Name
R/W
Reset Default
7
LED_VCC_INV_DIS
R/W
VBAT
0
0: LED_VCC clock output is inverted.
1: LED_VCC clock output is not inverted.
6
LED_VCC_DS3
R/W
VBAT
0
0: Disable LED_VCC deep S3 mode.
1: Enable LED_VCC deep S3 mode. Output 75% duty 0.25HZ clock.
5-4 LED_VCC_S5_MODE R/W
VBAT
00
Description
The three bits {LED_VCC_S5_MODE_ADD, LED_VCC_S5_MODE [1:0]}
select the LED_VCC mode in S5 state.
000: Sink low.
001: Tri-state or drive high control by GPIO11_DRV_EN.
010: 0.5Hz clock with 50% duty.
011: 1Hz clock with 50% duty.
100: 0.125Hz clock with 50% duty.
101: 0.25Hz clock with 50% duty.
110: 0.125Hz clock with 25% duty.*
111: 0.25Hz clock with 25% duty.*
*When LED_VCC_INV_DIS is set to “1” the duty is 25%, otherwise, the duty
is 75%.
3-2 LED_VCC_S3_MODE R/W
1-0 LED_VCC_S0_MODE R/W
VBAT
00
VBAT
00
The three bits {LED_VCC_S3_MODE_ADD, LED_VCC_S3_MODE [1:0]}
select the LED_VCC mode in S3 state.
000: Sink low.
001: Tri-state or drive high control by GPIO11_DRV_EN.
010: 0.5Hz clock with 50% duty.
011: 1Hz clock with 50% duty.
100: 0.125Hz clock with 50% duty.
101: 0.25Hz clock with 50% duty.
110: 0.125Hz clock with 25% duty.*
111: 0.25Hz clock with 25% duty.*
*When LED_VCC_INV_DIS is set to “1” the duty is 25%, otherwise, the duty
is 75%.
The three bits {LED_VCC_S0_MODE_ADD, LED_VCC_S0_MODE [1:0]}
select the LED_VCC mode in S0 state.
000: Sink low.
001: Tri-state or drive high control by GPIO11_DRV_EN.
010: 0.5Hz clock with 50% duty.
011: 1Hz clock with 50% duty.
100: 0.125Hz clock with 50% duty.
101: 0.25Hz clock with 50% duty.
110: 0.125Hz clock with 25% duty.*
111: 0.25Hz clock with 25% duty.*
*When LED_VCC_INV_DIS is set to “1” the duty is 25%, otherwise, the duty
is 75%.
7.9.10LED Control Register 2 ⎯ Index F9h
Bit
Name
R/W
7
Reserved
-
Reset Default
-
-
Description
Reserved
173
Jan, 2012
V0. 12P
F81866A
6
LED_VSB_S5_MODE_ADD R/W
VBAT
0
Refer to LED_VSB_S5_MODE.
5
LED_VSB_S3_MODE_ADD R/W
VBAT
0
Refer to LED_VSB_S3_MODE.
4
LED_VSB_S0_MODE_ADD R/W
VBAT
0
Refer to LED_VSB_S0_MODE.
-
-
Reserved
3
Reserved
-
2
LED_VCC_S5_MODE_ADD R/W
VBAT
0
Refer to LED_VCC_S5_MODE.
1
LED_VCC_S3_MODE_ADD R/W
VBAT
0
Refer to LED_VCC_S3_MODE.
0
LED_VCC_S0_MODE_ADD R/W
VBAT
0
Refer to LED_VCC_S0_MODE.
7.9.11LED Control Register 3 ⎯ Index FAh
Bit
Name
R/W
7
Reserved
-
-
-
Reserved
6
LED_VSB_DS3
R/W
VBAT
0
0: Disable LED_VSB deep S3 mode.
1: Enable LED_VSB deep S3 mode. Output 0.25HZ clock with 25% duty.
00
The three bits {LED_VSB_S5_MODE_ADD, LED_VSB_S5_MODE [1:0]}
select the LED_VSB mode in S5 state.
000: Sink low.
001: Tri-state or drive high control by GPIO10_DRV_EN.
010: 0.5Hz clock with 50% duty.
011: 1Hz clock with 50% duty.
100: 0.125Hz clock with 50% duty.
101: 0.25Hz clock with 50% duty.
110: 0.125Hz clock with 25% duty.*
111: 0.25Hz clock with 25% duty.*
00
The three bits {LED_VSB_S3_MODE_ADD, LED_VSB_S3_MODE [1:0]}
select the LED_VSB mode in S3 state.
000: Sink low.
001: Tri-state or drive high control by GPIO10_DRV_EN.
010: 0.5Hz clock with 50% duty.
011: 1Hz clock with 50% duty.
100: 0.125Hz clock with 50% duty.
101: 0.25Hz clock with 50% duty.
110: 0.125Hz clock with 25% duty.*
111: 0.25Hz clock with 25% duty.*
00
The three bits {LED_VSB_S0_MODE_ADD, LED_VSB_S0_MODE [1:0]}
select the LED_VSB mode in S0 state.
000: Sink low.
001: Tri-state or drive high control by GPIO10_DRV_EN.
010: 0.5Hz clock with 50% duty.
011: 1Hz clock with 50% duty.
100: 0.125Hz clock with 50% duty.
101: 0.25Hz clock with 50% duty.
110: 0.125Hz clock with 25% duty.*
111: 0.25Hz clock with 25% duty.*
5-4 LED_VSB_S5_MODE R/W
3-2 LED_VSB_S3_MODE R/W
1-0 LED_VSB_S0_MODE R/W
Reset Default
VBAT
VBAT
VBAT
Description
174
Jan, 2012
V0. 12P
F81866A
7.9.12DSW Delay Register ⎯ Index FCh
Bit
Name
R/W
Reset
Default
Description
7-4
Reserved
-
-
-
Reserved
3-0
DSW_DELAY
R/W
5VSB
7
This is the delay time between SUS_WARN# and SUS_ACK#. The
unit is 0.5 sec. Default time is 3.5s ~ 4s. The default could be trimmed
to 0s ~ 0.5s.
7.9.13RI De-bounce Select Register ⎯ Index FEh
Bit
Name
R/W
Reset
Default
7-2
Reserved
-
-
-
Reserved
0
Select RI# de-bounce time.
00: reserved.
01: 200us.
10: 2ms.
11: 20ms.
1-0
RI_DB_SEL
R/W
5VSB
Description
7.9.14ERP Enable Register ⎯ Index E0h
Bit
Name
R/W
Reset Default
7
ERP_EN
R/W
VBAT
0
0 : disable ERP function
1: enable ERP function
6
S3_BACK
R/W
VBAT
0
This bit will set “1” when system is back from S3 state.
5-2
Reserved
-
-
-
Reserved
0
RING1 PME event enable.
0: disable RING1 PME event.
1: enable RING1 PME event, when RING1 falling edge detect
0
RING1 PWSOUT event enable.
0: disable RING1 PWSOUT event.
1: enable RING1 PWSOUT event, when RING1 falling edge detect
1
0
RING_PME_EN
RING_PWSOUT_EN
R/W
R/W
VBAT
VBAT
Description
7.9.15ERP Control Register 1 ⎯ Index E1h
Bit
Name
R/W
7-6
Reserved
-
-
-
Reserved
5
S3_ ERP_CTRL1#_DIS
R/W
VBAT
0
If clear to “0” ERP_CTRL1# will output Low when S3 state. Else If set
to “1” ERP_CTRL1# will output High when S3 state.
4
S3 _ ERP_CTRL0#_DIS
R/W
VBAT
0
If clear to “0” ERP_CTRL0# will output Low when S3 state. Else If set
to “1” ERP_CTRL0# will output High when S3 state.
3
S5 _ ERP_CTRL1#_DIS
R/W
VBAT
1
If clear to “0” ERP_CTRL1# will output Low when S5 state. Else If set
to “1” ERP_CTRL1# will output High when S5 state.
2
S5 _ ERP_CTRL0#_DIS
R/W
VBAT
1
If clear to “0” ERP_CTRL0# will output Low when S5 state. Else If set
to “1” ERP_CTRL0# will output High when S5 state.
1
AC_ ERP_CTRL1#_DIS
R/W
VBAT
0
If clear to “0” ERP_CTRL1# will output Low when after AC lost. Else If
set to “1” ERP_CTRL1# will output High when after AC lost.
0
AC_ ERP_CTRL0#_DIS
R/W
VBAT
0
If clear to “0” ERP_CTRL0# will output Low when after AC lost. Else If
set to “1” ERP_CTRL0# will output High when after AC lost.
Reset Default
Description
175
Jan, 2012
V0. 12P
F81866A
7.9.16ERP Control Register 2 ⎯ Index E2h
Bit
Name
R/W
Reset Default
Description
7
AC_LOST
R
5VSB
1
This bit is AC lost status and writes 1 to this bit will clear it.
6
Reserved
R/W
VBAT
0
Reserved
5
VSB_CTRL_EN[1]
R/W
VBAT
1’b0
0: Disable ERP_CTRL1# assert RSMRST low
1: Enable ERP_CTRL1# assert RSMRST low
4
VSB_CTRL_EN[0]
R/W
VBAT
1’b0
0: Disable ERP_CTRL0# assert RSMRST low
1: Enable ERP_CTRL0# assert RSMRST low
3-2
Reserved
R/W
VBAT
0
Reserved
1
RSMRST_DET_5V_N
R/W
VBAT
0
Device detects 5VSB power ok (4.4V) and VSB3V_IN become high,
and after ~50ms de-bounce time RSMRST will become high. But when
user set this bit to 1. RSMRST will not check 5VSB power ok.
0
Reserved
R
-
-
Reserved
7.9.17ERP PWSIN De-bounce Register ⎯ Index E3h
Bit
Name
R/W
Reset Default
7-0
PWSIN_DEB_TIME
R/W
VBAT
13h
Description
PWSIN# pin input de-bounce time. The unit is 1ms, default is 20ms.
7.9.18ERP RSMRST De-bounce Register ⎯ Index E4h
Bit
Name
R/W
Reset Default
7-0
RSMRST_DEB_TIME
R/W
VBAT
9h
Description
RSMRST internal de-bounce time. The unit is 1ms and default is
10ms.
7.9.19ERP PWSOUT Pulse Width Register ⎯ Index E5h
Bit
Name
R/W
Reset Default
7-0
PWSOUT_PW
R/W
VBAT
C7h
Description
PWSOUT output pulse width. The unit is 1ms and default is 200ms.
7.9.20ERP PWSIN De-bounce Register ⎯ Index E6h
Bit
Name
R/W
Reset Default
7-0
PSON_DEB_TIME
R/W
VBAT
13h
Description
PSON# pin input de-bounce time. The unit is 1ms, default is 10ms.
7.9.21ERP Deep S5 Delay Register ⎯ Index E7h
Bit
Name
R/W
Reset Default
7-0
DS5_DELAY_TIME
R/W
VBAT
63h
Description
The delay time from S5 state to deep S5 state. The unit is 64ms and
default is 6.4 sec.
7.9.22ERP Wakeup Enable Register ⎯ Index E8h
Bit
Name
R/W
Reset Default
7
RI2_WAKEUP_EN
R/W
VBAT
0
Set this bit to enable RI2# event to wakeup system.
6
Reserved
-
-
-
Reserved
Description
176
Jan, 2012
V0. 12P
F81866A
5
RI1_WAKEUP_EN
R/W
VBAT
0
Set this bit to enable RI1# event to wakeup system.
4
Reserved
R/W
VBAT
0
Reserved
3
GP_WAKEUP_EN
R/W
VBAT
0
Set this bit to enable GPIO event to wakeup system.
2
TMOUT_WAKEUP_EN
R/W
VBAT
0
Set this bit to enable Timeout event to wakeup system.
1
MO_WAKEUP_EN
R/W
VBAT
0
Set this bit to enable Mouse event to wakeup system.
0
KB_WAKEUP_EN
R/W
VBAT
0
Set this bit to enable Keyboard event to wakeup system.
7.9.23ERP Deep S3 Delay Register ⎯ Index E9h
Bit
Name
R/W
Reset Default
7-0
DS3_DELAY_TIME
R/W
VBAT
Fh
Description
The delay time from S3 state to deep S3 state. The unit is 64ms and
default is 1.024 sec.
7.9.24ERP Mode Select Register ⎯ Index ECh
Bit
Name
R/W
Reset Default
Description
7-6
ERP_MODE
R/W
VBAT
0
00: Fintek G3’ mode.
01: Intel DSW + Fintek G3` mode.
10: Reserved.
11: Intel DSW mode.
5
DPWROK_CTRL_EN
R/W
VBAT
0
Set “1” to enable DPWROK reset by ERP_CTRL1#.
4
SOFT_START_EN
R/W
VBAT
1
0: disable ERP soft start.
1: enable ERP soft start.
The soft start rate.
00: 5ms.
01: 10ms.
10: 27ms.
11: 54ms.
3-2
SOFT_START_RATE
R/W
VBAT
1h
1-0
Reserved
-
-
-
Reserved
7.9.25ERP WDT Control Register ⎯ Index EDh
Bit
Name
R/W
Reset Default
7-6
ERP_WD_TIME[11:10]
R/W
VBAT
-
7-5
Reserved
R
-
-
Reserved
4
ERP_WDTMOUT_STATUS
R
VBAT
-
Watchdog timeout status.
3-2
ERP_WD_TIME[9:8]
R/W
VBAT
-
Reserved
Description
Time of ERP watchdog timer.
Write index EEh will load watchdog time.
1
WD_UNIT
R/W
VBAT
0
ERP WDT unit. It is the time unit of ERP_WD_TIME.
0: 1sec.
1: 60 sec.
0
WD_EN
R/W
VBAT
0
Set “1” to enable ERP WDT. Auto clear if timeout occurred.
177
Jan, 2012
V0. 12P
F81866A
7.9.26ERP WDT Time Register ⎯ Index EEh
Bit
Name
R/W
Reset Default
7-0
ERP_WD_TIME
R/W
VBAT
0
Description
Time of ERP watchdog timer.
7.10 UART1 Device Configuration Registers (LDN CR10)
“-“ Reserved or Tri-State
Register 0x[HEX]
Default Value
Register Name
MSB
LSB
30
Device Enable Register
-
-
-
-
-
-
-
1
60
Base Address High Register
0
0
0
0
0
0
1
1
61
Base Address Low Register
1
1
1
1
1
0
0
0
70
IRQ Channel Select Register
-
-
-
-
0
1
0
0
F0
IRQ Share Register
0
0
0
0
-
-
0
0
F2
Clock Select Register
-
-
-
-
-
-
0
0
F4
9bit-mode Slave Address Register
0
0
0
0
0
0
0
0
F5
9bit-mode Slave Address Mask Register
0
0
0
0
0
0
0
0
F6
FIFO Mode Register
0
0
0
0
0
-
0
0
7.10.1UART 1 Device Enable Register ⎯ Index 30h
Bit
Name
R/W
Reset Default
Description
7-1
Reserved
-
-
-
Reserved
0
UART 1_EN
R/W
LRESET#
1
0: disable UART 1 I/O Port.
1: enable UART 1 I/O Port.
7.10.2Base Address High Register ⎯ Index 60h
Bit
Name
R/W
7-0
BASE_ADDR_HI
R/W
Reset Default
LRESET#
03h
Description
The MSB of UART 1 base address.
7.10.3Base Address Low Register ⎯ Index 61h
Bit
Name
R/W
7-0
BASE_ADDR_LO
R/W
Reset Default
LRESET#
F8h
Description
The LSB of UART 1 base address.
7.10.4IRQ Channel Select Register ⎯ Index 70h
Bit
Name
R/W
Reset Default
7-4
Reserved
-
-
-
3-0
SELUR1IRQ
R/W
LRESET#
4h
Description
Reserved.
Select the IRQ channel for UART 1.
178
Jan, 2012
V0. 12P
F81866A
7.10.5IRQ Share Register ⎯ Index F0h
Bit
Name
R/W
7
9BIT_MODE
R/W
Reset Default
LRESET#
Description
0
0: normal UART function
1: enable 9-bit mode (multi-drop mode).
In the 9-bit mode, the parity bit becomes the address/data bit.
6
AUTO_ADDR
R/W
LRESET#
0
This bit works only in 9-bit mode.
0: the SM2 bit will be cleared by host, so that data could be received.
1: the SM2 bit will be cleared by hardware according to the sent address and
the given address (or broadcast address derived by SADDR and SADEN)
5
RS485_INV
R/W
LREST#
0
Invert RTS# if RS485_EN is set.
4
RS485_EN
R/W
LRESET#
0
0: RS232 driver.
1: RS485 driver. RTS# is driven high automatically when transmitting
data, otherwise is kept low.
3-2
Reserved
-
-
-
Reserved.
IRQ_MODE1 and IRQ_MODE0 will select the UART1 interrupt mode if IRQ
sharing is enabled.
00 : Sharing IRQ active low Level mode.
1
IRQ_MODE0
R/W
LRESET#
0
01 : Sharing IRQ active high edge mode.
10 : Sharing IRQ active high Level mode.
11 : Reserved.
This bit is effective at IRQ is sharing with the other device (IRQ_SHARE, bit 1).
0
IRQ_SHARE
R/W
LRESET#
0
0 : IRQ is not sharing with the other device.
1 : IRQ is sharing with the other device.
7.10.6Clock Register ⎯ Index F2h
Bit
Name
R/W
7-2
Reserved
-
1-0
UART1_CLK_SEL
R/W
Reset Default
-
LRESET#
Description
-
Reserved.
0
Select the clock source for UART1.
00: 1.8432MHz.
01: 18.432MHz.
10: 24MHz.
11: 14.769MHz.
7.10.79bit-mode Slave Address Register ⎯ Index F4h
Bit
7-0
Name
SADDR
R/W
R/W
Reset Default
LRESET#
00h
Description
This byte accompanying with SADEN will determine the given address and
broadcast address in 9-bit mode. The UART will response to both given and
broadcast address.
Following description determines the given address and broadcast address:
1. given address: If bit n of SADEN is “0”, then the corresponding bit of
SADDR is don’t care.
2. broadcast address: If bit n of ORed SADDR and SADEN is “0”, don’t care
that bit. The remaining bit which is “1” is compared to the received
address.
Ex.
SADDR
0101_1100b
SADEN
1111_1001b
Given Address
0101_1xx0b
Broadcast Address
1111_11x1b
179
Jan, 2012
V0. 12P
F81866A
7.10.89bit-mode Slave Address Mask Register ⎯ Index F5h
Bit
7-0
Name
SADEN
R/W
R/W
Reset Default
LRESET#
00h
Description
This byte accompanying with SADDR will determine the given address and
broadcast address in 9-bit mode. The UART will response to both given and
broadcast address.
Following description determines the given address and broadcast address:
3. given address: If bit n of SADEN is “0”, then the corresponding bit of
SADDR is don’t care.
4. broadcast address: If bit n of ORed SADDR and SADEN is “0”, don’t care
that bit. The remaining bit which is “1” is compared to the received
address.
Ex.
SADDR
0101_1100b
SADEN
1111_1001b
Given Address
0101_1xx0b
Broadcast Address
1111_11x1b
7.10.9FIFO Select Register ⎯ Index F6h
Bit
Name
R/W
Reset Default
7
TX_DEL_1BIT
R/W
LREST#
0
6
TX_INT_MODE
R/W
LRESET#
0
5-4
RXFTHR_MODE
R/W
LRESET#
0
Description
0: TX will start transmit immediately after writing THR.
1: TX will delay 1 bit time to transmit after writing THR.
0: TX will assert interrupt when THR is empty.
1: TX will assert interrupt when THR and shift register is empty.
The RX FIFO threshold select.
00: FIFO threshold is set by RXFTHR.
01: FIFO threshold will be 2X of RXFTHR.
10: FIFO threshold will be 4X of RXFTHR.
11: FIFO threshold will be 8X of RXFTHR.
IRQ_MODE1 and IRQ_MODE0 will select the UART1 interrupt mode if IRQ
sharing is enabled.
00 : Sharing IRQ active low Level mode.
3
IRQ_MODE1
R/W
LREST#
0
01 : Sharing IRQ active high edge mode.
10 : Sharing IRQ active high Level mode.
11 : Reserved.
This bit is effective at IRQ is sharing with the other device (IRQ_SHARE, bit 1).
2
Reserved
1-0
FIFO_MODE
-
R/W
-
LRESET#
-
00h
Reserved.
Select the FIFO depth.
00: 16-byte FIFO.
01: 32-byte FIFO.
10: 64-byte FIFO.
11: 128-byte FIFO.
7.11 UART2 Device Configuration Registers (LDN CR11)
“-“ Reserved or Tri-State
Register 0x[HEX]
Default Value
Register Name
MSB
LSB
30
Device Enable Register
-
-
-
-
-
-
-
1
60
Base Address High Register
0
0
0
0
0
0
1
0
180
Jan, 2012
V0. 12P
F81866A
61
Base Address Low Register
1
1
1
1
1
0
0
0
F0
IRQ Share Register
-
-
-
-
0
0
1
1
F2
Clock Select Register
0
0
0
0
-
-
0
0
F4
9bit-mode Slave Address Register
-
-
-
-
-
-
0
0
F5
9bit-mode Slave Address Mask Register
0
0
0
0
0
0
0
0
F0
IRQ Share Register
0
0
0
0
0
0
0
0
F6
FIFO Mode Register
0
0
0
0
0
-
0
0
7.11.1UART 2 Device Enable Register ⎯ Index 30h
Bit
Name
R/W
Reset Default
Description
7-1
Reserved
-
-
-
Reserved
0
UART2_EN
R/W
LRESET#
1
0: disable UART 2 I/O Port.
1: enable UART 2 I/O Port.
7.11.2Base Address High Register ⎯ Index 60h
Bit
Name
R/W
7-0
BASE_ADDR_HI
R/W
Reset Default
LRESET#
02h
Description
The MSB of UART 2 base address.
7.11.3Base Address Low Register ⎯ Index 61h
Bit
Name
R/W
7-1
BASE_ADDR_LO
R/W
Reset Default
LRESET#
F8h
Description
The LSB of UART 2 base address.
7.11.4IRQ Channel Select Register ⎯ Index 70h
Bit
Name
R/W
Reset Default
7-4
Reserved
-
-
-
3-0
SELUR12RQ
R/W
LRESET#
3h
Description
Reserved.
Select the IRQ channel for UART 2.
7.11.5IRQ Share Register ⎯ Index F0h
Bit
7
Name
9BIT_MODE
R/W
R/W
Reset Default
LRESET#
Description
0
0: normal UART function
1: enable 9-bit mode (multi-drop mode).
In the 9-bit mode, the parity bit becomes the address/data bit.
6
AUTO_ADDR
R/W
LRESET#
0
This bit works only in 9-bit mode.
0: the SM2 bit will be cleared by host, so that data could be received.
1: the SM2 bit will be cleared by hardware according to the sent address and
the given address (or broadcast address derived by SADDR and SADEN)
5
RS485_INV
R/W
LRESET#
0
Invert RTS# if RS485_EN is set.
4
RS485_EN
R/W
LRESET#
0
0: RS232 driver.
1: RS485 driver. RTS# is driven high automatically when transmitting
data, otherwise is kept low.
3-2
Reserved
-
-
-
Reserved.
181
Jan, 2012
V0. 12P
F81866A
IRQ_MODE1 and IRQ_MODE0 will select the UART2 interrupt mode if IRQ
sharing is enabled.
00 : Sharing IRQ active low Level mode.
1
IRQ_MODE0
R/W
LRESET#
0
01 : Sharing IRQ active high edge mode.
10 : Sharing IRQ active high Level mode.
11 : Reserved.
This bit is effective at IRQ is sharing with the other device (IRQ_SHARE, bit 1).
0
IRQ_SHARE
R/W
LRESET#
0
0 : IRQ is not sharing with the other device.
1 : IRQ is sharing with the other device.
7.11.6Clock Register ⎯ Index F2h
Bit
Name
R/W
7-2
Reserved
-
1-0
UART2_CLK_SEL
R/W
Reset Default
-
LRESET#
-
00b
Description
Reserved.
Select the clock source for UART2.
00: 1.8432MHz.
01: 18.432MHz.
10: 24MHz.
11: 14.769MHz.
7.11.79bit-mode Slave Address Register ⎯ Index F4h
Bit
7-0
Name
SADDR
R/W
R/W
Reset Default
LRESET#
00h
Description
This byte accompanying with SADEN will determine the given address and
broadcast address in 9-bit mode. The UART will response to both given and
broadcast address.
Following description determines the given address and broadcast address:
5. given address: If bit n of SADEN is “0”, then the corresponding bit of
SADDR is don’t care.
6. broadcast address: If bit n of ORed SADDR and SADEN is “0”, don’t care
that bit. The remaining bit which is “1” is compared to the received
address.
Ex.
SADDR
0101_1100b
SADEN
1111_1001b
Given Address
0101_1xx0b
Broadcast Address
1111_11x1b
182
Jan, 2012
V0. 12P
F81866A
7.11.89bit-mode Slave Address Mask Register ⎯ Index F5h
Bit
7:0
Name
SADEN
R/W
R/W
Reset Default
LRESET#
00h
Description
This byte accompanying with SADDR will determine the given address and
broadcast address in 9-bit mode. The UART will response to both given and
broadcast address.
Following description determines the given address and broadcast address:
7. given address: If bit n of SADEN is “0”, then the corresponding bit of
SADDR is don’t care.
8. broadcast address: If bit n of ORed SADDR and SADEN is “0”, don’t care
that bit. The remaining bit which is “1” is compared to the received
address.
Ex.
SADDR
0101_1100b
SADEN
1111_1001b
Given Address
0101_1xx0b
Broadcast Address
1111_11x1b
7.11.9FIFO Select Register ⎯ Index F6h
Bit
Name
R/W
Reset Default
7
TX_DEL_1BIT
R/W
LRESET#
0
6
TX_INT_MODE
R/W
LRESET#
0
5-4
RXFTHR_MODE
R/W
LRESET#
0
Description
0: TX will start transmit immediately after writing THR.
1: TX will delay 1 bit time to transmit after writing THR.
0: TX will assert interrupt when THR is empty.
1: TX will assert interrupt when THR and shift register is empty.
The RX FIFO threshold select.
00: FIFO threshold is set by RXFTHR.
01: FIFO threshold will be 2X of RXFTHR.
10: FIFO threshold will be 4X of RXFTHR.
11: FIFO threshold will be 8X of RXFTHR.
IRQ_MODE1 and IRQ_MODE0 will select the UART2 interrupt mode if IRQ
sharing is enabled.
00 : Sharing IRQ active low Level mode.
3
IRQ_MODE1
R/W
LRESET#
0
01 : Sharing IRQ active high edge mode.
10 : Sharing IRQ active high Level mode.
11 : Reserved.
This bit is effective at IRQ is sharing with the other device (IRQ_SHARE, bit 1).
2
Reserved
1-0
FIFO_MODE
-
R/W
LRESET#
LREST#
-
00h
Reserved.
Select the FIFO depth.
00: 16-byte FIFO.
01: 32-byte FIFO.
10: 64-byte FIFO.
11: 128-byte FIFO.
7.12 UART3 Device Configuration Registers (LDN CR12)
“-“ Reserved or Tri-State
Register 0x[HEX]
Default Value
Register Name
MSB
LSB
30
Device Enable Register
-
-
-
-
-
-
-
1
60
Base Address High Register
0
0
0
0
0
0
1
1
61
Base Address Low Register
1
1
1
0
1
0
0
0
183
Jan, 2012
V0. 12P
F81866A
F0
IRQ Share Register
-
-
-
-
0
0
1
1
F2
Clock Select Register
0
0
0
0
-
-
0
0
F4
9bit-mode Slave Address Register
-
-
-
-
-
-
0
0
F5
9bit-mode Slave Address Mask Register
0
0
0
0
0
0
0
0
F0
IRQ Share Register
0
0
0
0
0
0
0
0
F6
FIFO Mode Register
0
0
0
0
0
-
0
0
7.12.1UART 3 Device Enable Register ⎯ Index 30h
Bit
Name
R/W
7-1
Reserved
-
Reset Default
-
-
Reserved
Description
0
UART3_EN
R/W
LRESET#
1
0: disable UART 3 I/O Port.
1: enable UART 3 I/O Port.
7.12.2Base Address High Register ⎯ Index 60h
Bit
Name
R/W
7-0
BASE_ADDR_HI
R/W
Reset Default
LRESET#
03h
Description
The MSB of UART 3 base address.
Base Address Low Register ⎯ Index 61h
Bit
Name
R/W
7-0
BASE_ADDR_LO
R/W
Reset Default
LRESET#
E8h
Description
The LSB of UART 3 base address.
7.12.3IRQ Channel Select Register ⎯ Index 70h
Bit
Name
R/W
Reset Default
7-4
Reserved
-
-
-
3-0
SELUART3IRQ
R/W
LRESET#
3h
Description
Reserved.
Select the IRQ channel for UART 3.
7.12.4IRQ Share Register ⎯ Index F0h
Bit
Name
R/W
7
9BIT_MODE
R/W
Reset Default
LRESET#
Description
0
0: normal UART function
1: enable 9-bit mode (multi-drop mode).
In the 9-bit mode, the parity bit becomes the address/data bit.
6
AUTO_ADDR
R/W
LRESET#
0
This bit works only in 9-bit mode.
0: the SM2 bit will be cleared by host, so that data could be received.
1: the SM2 bit will be cleared by hardware according to the sent address and
the given address (or broadcast address derived by SADDR and SADEN)
5
RS485_INV
R/W
LRESET#
0
Invert RTS# if RS485_EN is set.
4
RS485_EN
R/W
LRESET#
0
0: RS232 driver.
1: RS485 driver. RTS# is driven high automatically when transmitting
data, otherwise is kept low.
3-2
Reserved
-
-
-
Reserved.
184
Jan, 2012
V0. 12P
F81866A
IRQ_MODE1 and IRQ_MODE0 will select the UART3 interrupt mode if IRQ
sharing is enabled.
00 : Sharing IRQ active low Level mode.
1
IRQ_MODE0
R/W
LRESET#
0
01 : Sharing IRQ active high edge mode.
10 : Sharing IRQ active high Level mode.
11 : Reserved.
This bit is effective at IRQ is sharing with the other device (IRQ_SHARE, bit 1).
0
IRQ_SHARE
R/W
LRESET#
0
0 : IRQ is not sharing with other device.
1 : IRQ is sharing with other device.
7.12.5Clock Register ⎯ Index F2h
Bit
Name
R/W
7-2
Reserved
-
1-0
UART3_CLK_SEL
R/W
Reset Default
-
LRESET#
-
00b
Description
Reserved.
Select the clock source for UART3.
00: 1.8432MHz.
01: 18.432MHz.
10: 24MHz.
11: 14.769MHz.
7.12.69bit-mode Slave Address Register ⎯ Index F4h
Bit
7-0
Name
SADDR
R/W
R/W
Reset Default
LRESET#
00h
Description
This byte accompanying with SADEN will determine the given address and
broadcast address in 9-bit mode. The UART will response to both given and
broadcast address.
Following description determines the given address and broadcast address:
9. given address: If bit n of SADEN is “0”, then the corresponding bit of
SADDR is don’t care.
10. broadcast address: If bit n of ORed SADDR and SADEN is “0”, don’t care
that bit. The remaining bit which is “1” is compared to the received
address.
Ex.
SADDR
0101_1100b
SADEN
1111_1001b
Given Address
0101_1xx0b
Broadcast Address
1111_11x1b
185
Jan, 2012
V0. 12P
F81866A
7.12.79bit-mode Slave Address Mask Register ⎯ Index F5h
Bit
Name
7:0
R/W
SADEN
R/W
Reset Default
LRESET#
00h
Description
This byte accompanying with SADDR will determine the given address and
broadcast address in 9-bit mode. The UART will response to both given and
broadcast address.
Following description determines the given address and broadcast address:
11. given address: If bit n of SADEN is “0”, then the corresponding bit of
SADDR is don’t care.
12. broadcast address: If bit n of ORed SADDR and SADEN is “0”, don’t care
that bit. The remaining bit which is “1” is compared to the received
address.
Ex.
SADDR
0101_1100b
SADEN
1111_1001b
Given Address
0101_1xx0b
Broadcast Address
1111_11x1b
7.12.8FIFO Select Register ⎯ Index F6h
Bit
Name
R/W
Reset Default
7
TX_DEL_1BIT
R/W
LRESET#
0
6
TX_INT_MODE
R/W
LRESET#
0
5-4
RXFTHR_MODE
R/W
LRESET#
0
Description
0: TX will start transmit immediately after writing THR.
1: TX will delay 1 bit time to transmit after writing THR.
0: TX will assert interrupt when THR is empty.
1: TX will assert interrupt when THR and shift register is empty.
The RX FIFO threshold select.
00: FIFO threshold is set by RXFTHR.
01: FIFO threshold will be 2X of RXFTHR.
10: FIFO threshold will be 4X of RXFTHR.
11: FIFO threshold will be 8X of RXFTHR.
IRQ_MODE1 and IRQ_MODE0 will select the UART3 interrupt mode if IRQ
sharing is enabled.
00 : Sharing IRQ active low Level mode.
3
IRQ_MODE1
R/W
LRESET#
0
01 : Sharing IRQ active high edge mode.
10 : Sharing IRQ active high Level mode.
11 : Reserved.
This bit is effective at IRQ is sharing with the other device (IRQ_SHARE, bit 1).
2
1-0
Reserved
FIFO_MODE
-
R/W
-
LRESET#
-
00h
Reserved.
Select the FIFO depth.
00: 16-byte FIFO.
01: 32-byte FIFO.
10: 64-byte FIFO.
11: 128-byte FIFO.
7.13 UART4 Device Configuration Registers (LDN CR13)
“-“ Reserved or Tri-State
Register
0x[HEX]
Default Value
Register Name
MSB
LSB
30
Device Enable Register
-
-
-
-
-
-
-
1
60
Base Address High Register
0
0
0
0
0
0
1
0
61
Base Address Low Register
1
1
1
0
1
0
0
0
186
Jan, 2012
V0. 12P
F81866A
70
IRQ Channel Select Register
-
-
-
-
0
0
1
1
F0
IRQ Share Register
0
0
0
0
-
-
0
0
F2
Clock Select Register
-
-
-
-
-
-
0
0
F4
9bit-mode Slave Address Register
0
0
0
0
0
0
0
0
F5
9bit-mode Slave Address Mask Register
0
0
0
0
0
0
0
0
F6
FIFO Mode Register
0
0
0
0
0
-
0
0
7.13.1UART 4 Device Enable Register ⎯ Index 30h
Bit
Name
R/W
7-1
Reserved
-
Reset Default
-
-
Reserved
Description
0
UART4_EN
R/W
LRESET#
1
0: disable UART 4 I/O Port.
1: enable UART 4 I/O Port.
7.13.2Base Address High Register ⎯ Index 60h
Bit
Name
R/W
7-0
BASE_ADDR_HI
R/W
Reset Default
LRESET#
03h
Description
The MSB of UART 4 base address.
7.13.3Base Address Low Register ⎯ Index 61h
Bit
Name
R/W
7-0
BASE_ADDR_LO
R/W
Reset Default
LRESET#
E8h
Description
The LSB of UART 4 base address.
7.13.4IRQ Channel Select Register ⎯ Index 70h
Bit
Name
R/W
Reset Default
7-4
Reserved
-
-
-
3-0
SELUART4IRQ
R/W
LRESET#
3h
Description
Reserved.
Select the IRQ channel for UART 4.
7.13.5IRQ Share Register ⎯ Index F0h
Bit
Name
R/W
7
9BIT_MODE
R/W
Reset Default
LRESET#
Description
0
0: normal UART function
1: enable 9-bit mode (multi-drop mode).
In the 9-bit mode, the parity bit becomes the address/data bit.
6
AUTO_ADDR
R/W
LRESET#
0
This bit works only in 9-bit mode.
0: the SM2 bit will be cleared by host, so that data could be received.
1: the SM2 bit will be cleared by hardware according to the sent address and
the given address (or broadcast address derived by SADDR and SADEN)
5
RS485_INV
R/W
LRESET#
0
Invert RTS# if RS485_EN is set.
4
RS485_EN
R/W
LRESET#
0
0: RS232 driver.
1: RS485 driver. RTS# is driven high automatically when transmitting
data, otherwise is kept low.
3-2
Reserved
-
LRESET#
-
Reserved.
187
Jan, 2012
V0. 12P
F81866A
IRQ_MODE1 and IRQ_MODE0 will select the UART4 interrupt mode if IRQ
sharing is enabled.
00 : Sharing IRQ active low Level mode.
1
IRQ_MODE0
R/W
LRESET#
0
01 : Sharing IRQ active high edge mode.
10 : Sharing IRQ active high Level mode.
11 : Reserved.
This bit is effective at IRQ is sharing with the other device (IRQ_SHARE, bit 1).
0
IRQ_SHARE
R/W
LRESET#
0
0 : IRQ is not sharing with other device.
1 : IRQ is sharing with other device.
7.13.6Clock Register ⎯ Index F2h
Bit
Name
R/W
7-2
Reserved
-
1-0
UART4_CLK_SEL
R/W
Reset Default
-
LRESET#
-
00b
Description
Reserved.
Select the clock source for UART4.
00: 1.8432MHz.
01: 18.432MHz.
10: 24MHz.
11: 14.769MHz.
7.13.79bit-mode Slave Address Register ⎯ Index F4h
Bit
7-0
Name
SADDR
R/W
R/W
Reset Default
LRESET#
00h
Description
This byte accompanying with SADEN will determine the given address and
broadcast address in 9-bit mode. The UART will response to both given and
broadcast address.
Following description determines the given address and broadcast address:
13. given address: If bit n of SADEN is “0”, then the corresponding bit of
SADDR is don’t care.
14. broadcast address: If bit n of ORed SADDR and SADEN is “0”, don’t care
that bit. The remaining bit which is “1” is compared to the received
address.
Ex.
SADDR
0101_1100b
SADEN
1111_1001b
Given Address
0101_1xx0b
Broadcast Address
1111_11x1b
188
Jan, 2012
V0. 12P
F81866A
7.13.89bit-mode Slave Address Mask Register ⎯ Index F5h
Bit
Name
7:0
R/W
SADEN
R/W
Reset
LRESET#
Default
Description
00h
This byte accompanying with SADDR will determine the given address and
broadcast address in 9-bit mode. The UART will response to both given and
broadcast address.
Following description determines the given address and broadcast address:
15. given address: If bit n of SADEN is “0”, then the corresponding bit of
SADDR is don’t care.
16. broadcast address: If bit n of ORed SADDR and SADEN is “0”, don’t care
that bit. The remaining bit which is “1” is compared to the received
address.
Ex.
SADDR
0101_1100b
SADEN
1111_1001b
Given Address
0101_1xx0b
Broadcast Address
1111_11x1b
7.13.9FIFO Select Register ⎯ Index F6h
Bit
Name
R/W
Reset Default
7
TX_DEL_1BIT
R/W
LRESET#
0
6
TX_INT_MODE
R/W
LRESET#
0
5-4
RXFTHR_MODE
R/W
LRESET#
0
Description
0: TX will start transmit immediately after writing THR.
1: TX will delay 1 bit time to transmit after writing THR.
0: TX will assert interrupt when THR is empty.
1: TX will assert interrupt when THR and shift register is empty.
The RX FIFO threshold select.
00: FIFO threshold is set by RXFTHR.
01: FIFO threshold will be 2X of RXFTHR.
10: FIFO threshold will be 4X of RXFTHR.
11: FIFO threshold will be 8X of RXFTHR.
IRQ_MODE1 and IRQ_MODE0 will select the UART4 interrupt mode if IRQ
sharing is enabled.
00 : Sharing IRQ active low Level mode.
3
IRQ_MODE1
R/W
0
LRESET#
01 : Sharing IRQ active high edge mode.
10 : Sharing IRQ active high Level mode.
11 : Reserved.
This bit is effective at IRQ is sharing with the other device (IRQ_SHARE, bit 1).
2
1-0
Reserved
-
FIFO_MODE
R/W
-
-
LRESET#
00h
Reserved.
Select the FIFO depth.
00: 16-byte FIFO.
01: 32-byte FIFO.
10: 64-byte FIFO.
11: 128-byte FIFO.
7.14 UART5 Device Configuration Registers (LDN CR14)
“-“ Reserved or Tri-State
Register 0x[HEX]
Default Value
Register Name
MSB
LSB
30
Device Enable Register
-
-
-
-
-
-
-
0
60
Base Address High Register
0
0
0
0
0
0
0
0
61
Base Address Low Register
0
0
0
0
0
0
0
0
189
Jan, 2012
V0. 12P
F81866A
70
IRQ Channel Select Register
-
-
-
-
0
0
1
1
F0
IRQ Share Register
0
0
0
0
-
-
0
0
F2
Clock Select Register
0
0
0
0
-
-
0
0
F4
9bit-mode Slave Address Register
-
-
-
-
-
-
0
0
F5
9bit-mode Slave Address Mask Register
0
0
0
0
0
0
0
0
F0
IRQ Share Register
0
0
0
0
0
0
0
0
F6
FIFO Mode Register
0
0
0
0
0
-
0
0
7.14.1UART 5 Device Enable Register ⎯ Index 30h
Bit
Name
R/W
Reset Default
Description
7-1
Reserved
-
-
-
Reserved
0
UART5_EN
R/W
LRESET#
0
0: disable UART 5 I/O Port.
1: enable UART 5 I/O Port.
7.14.2Base Address High Register ⎯ Index 60h
Bit
Name
R/W
7-0
BASE_ADDR_HI
R/W
Reset Default
LRESET#
00h
Description
The MSB of UART 5 base address.
7.14.3Base Address Low Register ⎯ Index 61h
Bit
Name
R/W
7-0
BASE_ADDR_LO
R/W
Reset Default
LRESET#
00h
Description
The LSB of UART 5 base address.
7.14.4IRQ Channel Select Register ⎯ Index 70h
Bit
Name
R/W
Reset Default
7-4
Reserved
-
-
-
3-0
SELUART5IRQ
R/W
LRESET#
3h
Description
Reserved.
Select the IRQ channel for UART 5.
7.14.5IRQ Share Register ⎯ Index F0h
Bit
Name
R/W
7
9BIT_MODE
R/W
Reset Default
LRESET#
Description
0
0: normal UART function
1: enable 9-bit mode (multi-drop mode).
In the 9-bit mode, the parity bit becomes the address/data bit.
6
AUTO_ADDR
R/W
LRESET#
0
This bit works only in 9-bit mode.
0: the SM2 bit will be cleared by host, so that data could be received.
1: the SM2 bit will be cleared by hardware according to the sent address and
the given address (or broadcast address derived by SADDR and SADEN)
5
RS485_INV
R/W
LRESET#
0
Invert RTS# if RS485_EN is set.
4
RS485_EN
R/W
LRESET#
0
0: RS232 driver.
1: RS485 driver. RTS# is driven high automatically when transmitting
data, otherwise is kept low.
3-2
Reserved
-
LRESET#
-
Reserved.
190
Jan, 2012
V0. 12P
F81866A
IRQ_MODE1 and IRQ_MODE0 will select the UART5 interrupt mode if IRQ
sharing is enabled.
00 : Sharing IRQ active low Level mode.
1
IRQ_MODE0
R/W
LRESET#
0
01 : Sharing IRQ active high edge mode.
10 : Sharing IRQ active high Level mode.
11 : Reserved.
This bit is effective at IRQ is sharing with the other device (IRQ_SHARE, bit 1).
0
IRQ_SHARE
R/W
LRESET#
0
0 : IRQ is not sharing with other device.
1 : IRQ is sharing with other device.
7.14.6Clock Register ⎯ Index F2h
Bit
Name
R/W
7-2
Reserved
-
1-0
UART5_CLK_SEL
R/W
Reset Default
-
LRESET#
-
00b
Description
Reserved.
Select the clock source for UART5.
00: 1.8432MHz.
01: 18.432MHz.
10: 24MHz.
11: 14.769MHz.
7.14.79bit-mode Slave Address Register ⎯ Index F4h
Bit
7-0
Name
SADDR
R/W
R/W
Reset Default
LRESET#
00h
Description
This byte accompanying with SADEN will determine the given address and
broadcast address in 9-bit mode. The UART will response to both given and
broadcast address.
Following description determines the given address and broadcast address:
17. given address: If bit n of SADEN is “0”, then the corresponding bit of
SADDR is don’t care.
18. broadcast address: If bit n of ORed SADDR and SADEN is “0”, don’t care
that bit. The remaining bit which is “1” is compared to the received
address.
Ex.
SADDR
0101_1100b
SADEN
1111_1001b
Given Address
0101_1xx0b
Broadcast Address
1111_11x1b
191
Jan, 2012
V0. 12P
F81866A
7.14.89bit-mode Slave Address Mask Register ⎯ Index F5h
Bit
7:0
Name
SADEN
R/W
R/W
Reset Default
LRESET#
00h
Description
This byte accompanying with SADDR will determine the given address and
broadcast address in 9-bit mode. The UART will response to both given and
broadcast address.
Following description determines the given address and broadcast address:
19. given address: If bit n of SADEN is “0”, then the corresponding bit of
SADDR is don’t care.
20. broadcast address: If bit n of ORed SADDR and SADEN is “0”, don’t care
that bit. The remaining bit which is “1” is compared to the received
address.
Ex.
SADDR
0101_1100b
SADEN
1111_1001b
Given Address
0101_1xx0b
Broadcast Address
1111_11x1b
7.14.9FIFO Select Register ⎯ Index F6h
Bit
Name
R/W
Reset Default
7
TX_DEL_1BIT
R/W
LRESET#
0
6
TX_INT_MODE
R/W
LRESET#
0
5-4
RXFTHR_MODE
R/W
LRESET#
0
Description
0: TX will start transmit immediately after writing THR.
1: TX will delay 1 bit time to transmit after writing THR.
0: TX will assert interrupt when THR is empty.
1: TX will assert interrupt when THR and shift register is empty.
The RX FIFO threshold select.
00: FIFO threshold is set by RXFTHR.
01: FIFO threshold will be 2X of RXFTHR.
10: FIFO threshold will be 4X of RXFTHR.
11: FIFO threshold will be 8X of RXFTHR.
IRQ_MODE1 and IRQ_MODE0 will select the UART5 interrupt mode if IRQ
sharing is enabled.
00 : Sharing IRQ active low Level mode.
3
IRQ_MODE1
R/W
LRESET#
0
01 : Sharing IRQ active high edge mode.
10 : Sharing IRQ active high Level mode.
11 : Reserved.
This bit is effective at IRQ is sharing with the other device (IRQ_SHARE, bit 1).
2
Reserved
1-0
FIFO_MODE
-
R/W
-
LRESET#
-
00h
Reserved.
Select the FIFO depth.
00: 16-byte FIFO.
01: 32-byte FIFO.
10: 64-byte FIFO.
11: 128-byte FIFO.
7.15 UART6 Device Configuration Registers (LDN CR15)
“-“ Reserved or Tri-State
Register 0x[HEX]
Default Value
Register Name
MSB
LSB
30
Device Enable Register
-
-
-
-
-
-
-
0
60
Base Address High Register
0
0
0
0
0
0
0
0
61
Base Address Low Register
0
0
0
0
0
0
0
0
192
Jan, 2012
V0. 12P
F81866A
70
IRQ Channel Select Register
-
-
-
-
0
0
1
1
F0
IRQ Share Register
0
0
0
0
0
0
0
0
F1
IR Mode Register
-
-
-
0
0
1
0
0
F2
Clock Select Register
-
-
-
0
0
0
0
0
F4
9bit-mode Slave Address Register
-
-
-
-
-
-
0
0
F5
9bit-mode Slave Address Mask Register
0
0
0
0
0
0
0
0
F0
IRQ Share Register
0
0
0
0
0
0
0
0
F6
FIFO Mode Register
0
0
0
0
0
-
0
0
7.15.1UART 6 Device Enable Register ⎯ Index 30h
Bit
Name
R/W
Reset Default
7-1
Reserved
-
-
-
0
UART6_EN
R/W
LRESET#
0
Description
Reserved
0: disable UART 6 I/O Port.
1: enable UART 6 I/O Port.
7.15.2Base Address High Register ⎯ Index 60h
Bit
Name
R/W
7-0
BASE_ADDR_HI
R/W
Reset Default
LRESET#
00h
Description
The MSB of UART 6 base address.
7.15.3Base Address Low Register ⎯ Index 61h
Bit
Name
R/W
7-0
BASE_ADDR_LO
R/W
Reset Default
LRESET#
00h
Description
The LSB of UART 6 base address.
7.15.4IRQ Channel Select Register ⎯ Index 70h
Bit
Name
R/W
Reset Default
7-4
Reserved
-
-
-
3-0
SELUART6IRQ
R/W
LRESET#
3h
Description
Reserved.
Select the IRQ channel for UART 6.
7.15.5IRQ Share Register ⎯ Index F0h
Bit
Name
R/W
7
9BIT_MODE
R/W
Reset Default
LRESET#
Description
0
0: normal UART function
1: enable 9-bit mode (multi-drop mode).
In the 9-bit mode, the parity bit becomes the address/data bit.
6
AUTO_ADDR
R/W
LRESET#
0
This bit works only in 9-bit mode.
0: the SM2 bit will be cleared by host, so that data could be received.
1: the SM2 bit will be cleared by hardware according to the sent address and
the given address (or broadcast address derived by SADDR and SADEN)
5
RS485_INV
R/W
LRESET#
0
Invert RTS# if RS485_EN is set.
4
RS485_EN
R/W
LRESET#
0
0: RS232 driver.
1: RS485 driver. RTS# is driven high automatically when transmitting
data, otherwise is kept low.
3
RXW4C_IR
R/W
LRESET#
0
0 : No reception delay when SIR is changed from TX to RX.
1 : Reception delay 4 character-time when SIR is changed from TX to RX.
193
Jan, 2012
V0. 12P
F81866A
2
TXW4C_IR
R/W
LRESET#
0
0 : No transmission delay when SIR is changed from RX to TX.
1 : Transmission delay 4 character-time when SIR is changed from RX to TX.
IRQ_MODE1 and IRQ_MODE0 will select the UART5 interrupt mode if IRQ
sharing is enabled.
00 : Sharing IRQ active low Level mode.
1
IRQ_MODE0
R/W
LRESET#
0
01 : Sharing IRQ active high edge mode.
10 : Sharing IRQ active high Level mode.
11 : Reserved.
This bit is effective at IRQ is sharing with the other device (IRQ_SHARE, bit 1).
0
IRQ_SHARE
R/W
LRESET#
0
0 : IRQ is not sharing with other device.
1 : IRQ is sharing with other device.
7.15.6IR Mode Select Register ⎯ Index F1h
Bit
Name
R/W
Reset Default
7-5
Reserved
-
4-3
IRMODE1
IRMODE0
R/W
LRESET#
00b
2
HDUPLX
R/W
LRESET#
1
0 : Full Duplex function for IR self test.
1 : Half Duplex function.
Return 1 when read.
1
TXINV_IR
R/W
LRESET#
0
0 : IRTX is not inversed.
1 : Inverse the IRTX.
0
RXINV_IR
R/W
LRESET#
0
0 : IRRX is not inversed.
1 : Inverse the IRRX.
-
-
Description
Reserved. Return 010b when read.
0X: Disable IR1 function.
10 : Enable IR1 function, active pulse is 1.6uS.
11 : Enable IR1 function, active pulse is 3/16 bit time.
7.15.7Clock Register ⎯ Index F2h
Bit
Name
R/W
7-2
Reserved
-
1-0
UART6_CLK_SEL
R/W
Reset Default
-
LRESET#
-
00b
Description
Reserved.
Select the clock source for UART6.
00: 1.8432MHz.
01: 18.432MHz.
10: 24MHz.
11: 14.769MHz.
194
Jan, 2012
V0. 12P
F81866A
7.15.89bit-mode Slave Address Register ⎯ Index F4h
Bit
7-0
Name
SADDR
R/W
R/W
Reset Default
LRESET#
00h
Description
This byte accompanying with SADEN will determine the given address and
broadcast address in 9-bit mode. The UART will response to both given and
broadcast address.
Following description determines the given address and broadcast address:
21. given address: If bit n of SADEN is “0”, then the corresponding bit of
SADDR is don’t care.
22. broadcast address: If bit n of ORed SADDR and SADEN is “0”, don’t care
that bit. The remaining bit which is “1” is compared to the received
address.
Ex.
SADDR
0101_1100b
SADEN
1111_1001b
Given Address
0101_1xx0b
Broadcast Address
1111_11x1b
7.15.99bit-mode Slave Address Mask Register ⎯ Index F5h
Bit
7:0
Name
SADEN
R/W
R/W
Reset Default
LRESET#
00h
Description
This byte accompanying with SADDR will determine the given address and
broadcast address in 9-bit mode. The UART will response to both given and
broadcast address.
Following description determines the given address and broadcast address:
23. given address: If bit n of SADEN is “0”, then the corresponding bit of
SADDR is don’t care.
24. broadcast address: If bit n of ORed SADDR and SADEN is “0”, don’t care
that bit. The remaining bit which is “1” is compared to the received
address.
Ex.
SADDR
0101_1100b
SADEN
1111_1001b
Given Address
0101_1xx0b
Broadcast Address
1111_11x1b
7.15.10FIFO Select Register ⎯ Index F6h
Bit
Name
R/W
Reset Default
7
TX_DEL_1BIT
R/W
LRESET#
0
6
TX_INT_MODE
R/W
LRESET#
0
5-4
RXFTHR_MODE
R/W
LRESET#
0
Description
0: TX will start transmit immediately after writing THR.
1: TX will delay 1 bit time to transmit after writing THR.
0: TX will assert interrupt when THR is empty.
1: TX will assert interrupt when THR and shift register is empty.
The RX FIFO threshold select.
00: FIFO threshold is set by RXFTHR.
01: FIFO threshold will be 2X of RXFTHR.
10: FIFO threshold will be 4X of RXFTHR.
11: FIFO threshold will be 8X of RXFTHR.
195
Jan, 2012
V0. 12P
F81866A
IRQ_MODE1 and IRQ_MODE0 will select the UART5 interrupt mode if IRQ
sharing is enabled.
00 : Sharing IRQ active low Level mode.
3
IRQ_MODE1
R/W
LRESET#
0
01 : Sharing IRQ active high edge mode.
10 : Sharing IRQ active high Level mode.
11 : Reserved.
This bit is effective at IRQ is sharing with the other device (IRQ_SHARE, bit 1).
2
1-0
Reserved
FIFO_MODE
-
R/W
-
LRESET#
-
00h
Reserved.
Select the FIFO depth.
00: 16-byte FIFO.
01: 32-byte FIFO.
10: 64-byte FIFO.
11: 128-byte FIFO.
196
Jan, 2012
V0. 12P
F81866A
8. Electrical Characteristics
8.1
Absolute Maximum Ratings
PARAMETER
Power Supply Voltage
Input Voltage
RATING
-0.5 to 5.5
-0.5 to VDD+0.5
-40 to +85 (F81866A-I)
0 to +70 (F81866A)
-55 to 150
Operating Temperature
Storage Temperature
UNIT
V
V
°C
°C
Note: Exposure to conditions beyond those listed under Absolute Maximum Ratings may adversely affect
the life and reliability of the device
8.2
DC Characteristics
(TA = 70° C, 3VCC = 3.3V ± 10%, GND = 0V )
Parameter
3VCC Voltage Range
5VSB Voltage Range
3VSB Voltage Range
VBAT Voltage Range
3VCC Average Operating Current
5VSB Average Operating Current
5VSB Standby Current
3VSB Average Operating Current
3VSB Standby Current
VBAT Standby Current
3VCC Power on Reset Threshold
5VSB Power on Reset Threshold
3VSB Power on Reset Threshold
Temperature Error, Remote Diode
Conditions
MIN
3.0
4.5
3.0
2.4
60 oC < TD < 100 oC, 3VSB = 3.0V to 3.6V
0 oC <TD < 60oC 100 oC <TD < 127oC
Temperature Resolution
Diode source current
High Level
Low Level
PARAMETER
SYM.
MIN.
TYP.
MAX.
UNIT
INst-TTL level input pin with schmitt trigger.
Input Low Voltage
VIL
0.8
V
Input High Voltage
VIH
2.0
V
Input High Leakage
ILIH
+1
μA
Input Low Leakage
ILIL
-1
μA
INst, lv-Low volgate, TTL level input pin with schmitt trigger.
Input Low Voltage
VIL
0.4
V
Input High Voltage
VIH
1.0
V
Input High Leakage
ILIH
+1
μA
Input Low Leakage
ILIL
-1
μA
INt,5V-TTL level input pin, 5V tolerance.
Input Low Voltage
VIL
0.8
V
197
TYP
3.3
5.0
3.3
3.0
20
10
3
3
1
1
2.8
4.3
2.8
±1
±2
1
95
10
MAX
3.6
5.5
3.6
3.6
±3
±5
Unit
V
V
V
V
mA
mA
mA
mA
mA
uA
V
V
V
o
C
o
C
uA
uA
CONDITIONS
VIN = VDD
VIN = 0V
VIN = VDD
VIN = 0V
Jan, 2012
V0. 12P
F81866A
Input High Voltage
VIH
2.0
V
Input High Leakage
ILIH
+1
μA
VIN = VDD
Input Low Leakage
ILIL
-1
μA
VIN = 0V
INst,5V-TTL level input pin with schmitt trigger, 5V tolerance.
Input Low Voltage
VIL
0.8
V
Input High Voltage
VIH
2.0
V
Input High Leakage
ILIH
+1
μA
VIN = VDD
Input Low Leakage
ILIL
-1
μA
VIN = 0V
INt, u47, 5V-TTL level input pin, pull up 47k Ω , 5V tolerance.
Input Low Voltage
VIL
0.8
V
Input High Voltage
VIH
2.0
V
Input High Leakage
ILIH
+1
μA
VIN = VDD
O8-Output pin with 8 mA sink/source capability.
Output High Current
IOL
-8
mA
VOH = 2.4V
Output Low Current
IOL
+8
mA
VOL = 0.4V
O12 -Output pin with 12 mA sink/source capability.
Output High Current
IOL
-12
mA
VOH = 2.4V
Output Low Current
IOL
+12
mA
VOL = 0.4V
O14 -Output pin with 14 mA sink/source capability.
Output High Current
IOL
-14
mA
VOH = 2.4V
Output Low Current
IOL
+14
mA
VOL = 0.4V
O16 -Output pin with 16 mA sink/source capability.
Output High Current
IOL
-16
mA
VOH = 2.4V
Output Low Current
IOL
+16
mA
VOL = 0.4V
OD14,5v-Open drain output pin with 14 mA sink capability, 5V tolerance.
Output Low Current
IOL
+14
mA
VOL = 0.4V
OD16,u10-Open drain output pin with 16 mA sink capability, internal 10K Ω pull-up
Output Low Current
IOL
+16
mA
VOL = 0.4V
OD12,5V-Open drain output pin with 12 mA sink capability 5V tolerance.
Output Low Current
IOL
+12
mA
VOL = 0.4V
OD24t,5v-Open drain output pin with 24 mA sink capability, 5V tolerance.
Output Low Current
IOL
+24
mA
VOL = 0.4V
OOD12, 5v- Open drain or push pull by the register, with 12 mA sink/source capability, 5V tolerance.
Output High Current
IOL
-12
mA
VOH = 0.4V
Output Low Current
IOL
+12
mA
VOL = 0.4V
I/O12st,5v-TTL level bi-directional pin with schmitt trigger, with 12 mA sink/source capability, 5V tolerance.
Input Low Voltage
VIL
0.8
V
Input High Voltage
VIH
2.0
V
Output High Current
IOL
-12
mA
VOH = 2.4V
Output Low Current
IOL
+12
mA
VOL = 0.4V
Input High Leakage
ILIH
+1
μA
VIN = VDD
Input Low Leakage
ILIL
-1
μA
VIN = 0V
I/O8st, 5v-TTL level bi-directional pin with schmitt trigger, with 8 mA sink/source capability, 5V tolerance.
Input Low Voltage
VIL
0.8
V
Input High Voltage
VIH
2.0
V
Output High Current
IOL
-8
mA
VOH = 2.4V
Output Low Current
IOL
+8
mA
VOL = 0.4V
Input High Leakage
ILIH
+1
μA
VIN = VDD
Input Low Leakage
ILIL
-1
μA
VIN = 0V
I/OOD12st, 5v-TTL level bi-directional pin with schmitt trigger, output with 12 mA sink/source capability or
open drain with 12mA sink capability, 5V tolerance.
Input Low Voltage
VIL
0.8
V
Input High Voltage
VIH
2.0
V
198
Jan, 2012
V0. 12P
F81866A
Output High Current
IOL
-12
mA
VOH = 2.4V
Output Low Current
IOL
+12
mA
VOL = 0.4V
Input High Leakage
ILIH
+1
μA
VIN = VDD
Input Low Leakage
ILIL
-1
μA
VIN = 0V
I/OOD14st, 5v-TTL level bi-directional pin with schmitt trigger, output with 14 mA sink/source capability or
open drain with 14mA sink capability, 5V tolerance.
Input Low Voltage
VIL
0.8
V
Input High Voltage
VIH
2.0
V
Output High Current
IOL
-14
mA
VOH = 2.4V
Output Low Current
IOL
+14
mA
VOL = 0.4V
Input High Leakage
ILIH
+1
μA
VIN = VDD
Input Low Leakage
ILIL
-1
μA
VIN = 0V
I/OOD8st, 5v -TTL level bi-directional pin with schmitt trigger, output with 8 mA sink/source capability or open
drain with 8mA sink capability, 5V tolerance.
Input Low Voltage
VIL
0.8
V
Input High Voltage
VIH
2.0
V
Output High Current
IOL
-8
mA
VOH = 2.4V
Output Low Current
IOL
+8
mA
VOL = 0.4V
Input High Leakage
ILIH
+1
μA
VIN = VDD
Input Low Leakage
ILIL
-1
μA
VIN = 0V
I/OD16st,5v-TTL level bi-directional pin with schmitt trigger, open drain output with16 mA sink capability, 5V
tolerance.
Input Low Voltage
VIL
0.8
V
Input High Voltage
VIH
2.0
V
Output Low Current
IOL
+16
mA
VOL = 0.4V
Input High Leakage
ILIH
+1
μA
VIN = VDD
Input Low Leakage
ILIL
-1
μA
VIN = 0V
I/OD12st, 5v- TTL level bi-directional pin with schmitt trigger, open drain output with 12mA source-sink
capability, 5V tolerance.
Input Low Threshold Voltage
Vt0.8
V
Input High Threshold Voltage
Vt+
2.0
V
Output Low Current
IOL
+12
mA
VOL = 0.4V
Input High Leakage
ILIH
+1
μA
VIN = VDD
Input Low Leakage
ILIL
-1
μA
VIN = 0V
I/O16st- TTL level bi-directional pin and schmitt trigger, 16 mA sink capability.
Input Low Threshold Voltage
Vt0.8
V
Input High Threshold Voltage
Vt+
2.0
V
Output High Current
IOH
-16
mA
VOH = 2.4V
Output Low Current
IOL
+16
mA
VOL = 0.4V
Input High Leakage
ILIH
+1
μA
VIN = VDD
Input Low Leakage
ILIL
-1
μA
VIN = 0V
199
Jan, 2012
V0. 12P
F81866A
9. Ordering Information
Part Number
Package Type
Production Flow
F81866AD-I
128-LQFP Green Package
Industrial, -40°C to +85°C
F81866AD
128-LQFP Green Package
Commercial, 0°C to +70°C
10.Top Marking Specification
The version identification is shown as the bold red characters. Please refer to below for detail:
Fintek
Fintek
F81866AD
XXXXXXX
XXXXXX.XX
F81866AD-I
XXXXXXX
XXXXXX.XX
1st Line: Fintek Logo
2nd Line: F81866AD/F81866AD-I Æ Where D means the package type (128-LQFP) & -I means the industrial spec.
3rd Line: Assembly Plant Code (X) + Assembled Year Code (X) + Week Code (XX) + Fintek Internal Code (XX) +
IC Version (X) where A means version A, B means version B, …
4th Line: Wafer Fab Code (XXXX…XX)
: Pin 1 Identifier
200
Jan, 2012
V0. 12P
F81866A
11.Package Dimensions
128 LQFP (14*14)
Unit: mm
Feature Integration Technology Inc.
Headquarters
Taipei Office
3F-7, No 36, Tai Yuan St.,
Bldg. K4, 7F, No.700, Chung Cheng Rd.,
Chupei City, Hsinchu, Taiwan 302, R.O.C.
Chungho City, Taipei, Taiwan 235, R.O.C.
TEL : 886-3-5600168
TEL : 866-2-8227-8027
FAX : 886-3-5600166
FAX : 866-2-8227-8037
www: http://www.fintek.com.tw
Please note that all datasheet and specifications are subject to change without notice. All
the trade marks of products and companies mentioned in this datasheet belong to their
respective owner
201
Jan, 2012
V0. 12P
F81866A
12.Application Circuit
ATXPG_IN
R1
0
R106 10
DD2+
D1+
VREF
VIN4
VIN3
VIN2
VIN1
VCC5V
ATXPG_IN
C81
R2
R3
R4
R5
R6
Decouple ATX
power supply
0.1U
noise.
C56
DENSEL#
MOA#
DRVA#
WDATA#
DIR#
STEP#
HDSEL#
WGATE#
KCLK
KDATA
MCLK
3VA
MDATA
R7
0_X
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
D1
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
DENSEL#
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
INDEX#
MOA#
DRVA#
DIR#
STEP#
WDATA#
WGATE#
TRK0#
WPT#
RDATA#
HDSEL#
DSKCHG#
HEADER 17X2
DIODE
FLOPPY
SOUT1
RTS1#
DTR1#
GPIO14
DTR2#
VSB3V VCC3V
R8
4.7K
R10
560
R9
4.7K
R11
560
R12
560
R13
560
R14
560
RSMRST#
PWROK
RSMRST# AND PWROK PULL UP
POWER TRIP R
1
RTS5#
SIN5
SOUT5
SLP_SUS#
SUS_ACK#
SUS_WARN#
ERP_CTRL1#
ERP_CTRL0#
SIN4
SOUT4
DSR4#
RTS4#
DTR4#
CTS4#
RI4#
DCD4#
SIN3
SOUT3
DSR3#
RTS3#
DTR3#
CTS3#
RI3#
DCD3#
GA20
KBRST#
CLKIN
C1
R10
R11
R12
R13
R14
0.1U
OFF:
OFF:
OFF:
OFF:
OFF:
ALARM mode
ATX MODE
FAN 40%
CONFIG 4E
0x5C
ON:
ON:
ON:
ON:
ON:
FORCE mode
AT MODE
FAN 100%
CONFIG 2E
0x5A
DSKCHG#
WPT#
INDEX#
TRK0#
RDATA#
DSKCHG#/DSR5#
WPT#/DTR5#
INDEX#/CTS5#
TRK0#/RI5#
RDATA#/DCD5#
VCC3V
VSB3V
VSB5V
VBAT
1
1
1
1
0.1U
C3
0.1U
C4
0.1U
C5
0.1U
C6
0.1U
2
C2
2
DIODEVSB3V
VCC3V
2
D3
DIODEVBAT
2
VBAT D2
1
PCICLK
VCC3V
LAD3
LAD2
LAD1
LAD0
LFRAME#
SERIRQ
LDRQ#
LRESET#
2
F81866
DCD2#
RI2#
CTS2#
DTR2#
RTS2#
DSR2#
SOUT2
SIN2
DENSEL#/RTS6#
MOA#/SIN6
DRVA#/SOUT6
WDATA#/DCD6#
DIR#/RI6#
STEP#/CTS6#
HDSEL#/DTR6#
WGATE#/DSR6#
F81866AD
KCLK
KDATA
MCLK/SDA
MDATA/SCL
I_VSB3V
GPIO07/RTS5#
GPIO06/SIN5
GPIO05/SOUT5
SLP_SUS#/GPIO04
SUS_ACK#/GPIO03
SUS_WARN#/GPIO02
ERP_CTRL1#/GPIO01
ERP_CTRL0#/GPIO00
SIN4/GPIO47
SOUT4/GPIO46
DSR4#/GPIO45
RTS4#/GPIO44
DTR4#/GPIO43
CTS4#/GPIO42
RI4#/GPIO41
DCD4#/GPIO40
SIN3/GPIO37
SOUT3/GPIO36
DSR3#/GPIO35
RTS3#/GPIO34
DTR3#/GPIO33
CTS3#/GPIO32
RI3#/GPIO31
DCD3#/GPIO30
GA20
KBRST#
CLKIN
2
SOUT1
3VSB
FANIN1
FANCTL1/PWM_DC1
FANIN2
FANCTL2/PWM_DC2
FANIN3/SLCT
GPIO70/PE/FANCTL3/PWM_DC3
GPIO71/BUSY
GPIO72/ACK#
GPIO73/SLIN#
GPIO74/INIT#
GPIO75/ERR#
GPIO76/AFD#
GPIO77/STB#
GPIO80/PD0
GPIO81/PD1
GPIO82/PD2
GPIO83/PD3
GPIO84/PD4
GPIO85/PD5
GPIO86/PD6
GPIO87/PD7
3VCC
DCD1#
RI1#
CTS1#
DTR1#/FAN_40_100
RTS1#/Conf ig4E_2E
DSR1#
SOUT1/I2C_ADDR
SIN1
GND
DCD2#
RI2#
CTS2#
DTR2#/OVP_Mode
RTS2#
DSR2#
SOUT2
SIN2
GPIO50/DENSEL#/RTS6#
GPIO51/MOA#/SIN6
GPIO52/DRVA#/SOUT6
GPIO53/WDATA#/DCD6#
GPIO54/DIR#/RI6#
GPIO55/STEP#/CTS6#
GPIO56/HDSEL#/DTR6#
GPIO57/WGATE#/DSR6#
GPIO60/RDATA#/DCD5#
GPIO61/TRK0#/RI5#
GPIO62/INDEX#/CTS5#
GPIO63/WPT#/DTR5#
GPIO64/DSKCHG#/DSR5#
GND
LRESET#
LDRQ#
SERIRQ
LFRAME#
LAD0
LAD1
LAD2
LAD3
3VCC
PCICLK
DTR1#
RTS1#
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
J1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
VSB3V
FANIN1
FANCTL1
FANIN2
FANCTL2
SLCT
PE
BUSY
ACK#
SLIN#
INIT#
ERR#
AFD#
STB#
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
VCC3V
DCD1#
RI1#
CTS1#
DTR1#
RTS1#
DSR1#
SOUT1
SIN1
VIN1(VCORE)
VIN2
VIN3
VIN4
VREF
D1+(CPU)
D2+
DAGND
S5#/GPIO67
DPWROK/GPIO66
COPEN#
VBAT
RSMRST#/GPIO27
PWOK/GPIO26
PS_ON#/GPIO25
S3#/GPIO24
PWSOUT#/GPIO23
PWSIN#/GPIO22
ATXPG_IN/GPIO21
ALERT#/GPIO20/SCL
OVT#
PME#/GPIO65
5VSB(V5A)
PECI/GPIO17
BEEP/GPIO16/SDA
WDTRST#/GPIO15
GPIO14/ATX_AT_TRAP
SDA/GPIO13/TRRX
SCL/GPIO12/IRTX
GPIO11/LED_VCC
GPIO/LED_VSB
U1
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
2
0.1U
WPT#
INDEX#
TRK0#
RDATA#
DSKCHG#
1K
1K
1K
1K
1K
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
1
GPIO14
S3#
PWSOUT#
PWSIN#
ATXPG_IN
ALERT#
OVT#
PME#
5VA
PECI
BEEP
WDTRST#
GPIO14
IRRX
IRTX
LED_VCC
LED_VSB
1
PWROK
RSMRST#
2
PS_ON#
PWROK
RSMRST#
VBAT
COPEN#
DPWROK
S5#
(PLACE THE CAPCITOR CLOSE TO IC)
Title
Feature Integration Technology Inc.
Size
Document Number
CustomF81866AD
Date:
202
Tuesday , Nov ember 08, 2011
Rev
<Rev Code>
Sheet
1
of
8
Jan, 2012
V0. 12P
F81866A
U2
11
12
13
14
15
16
17
18
19
RI1#
DTR1#
CTS1#
SOUT1
RTS1#
SIN1
DSR1#
DCD1#
20
VCC5V
U3
GND
-12V
RY 5
DA3
RY 4
DA2
DA1
RY 3
RY 2
RY 1
RA5
DY 3
RA4
DY 2
DY 1
RA3
RA2
RA1
+5V
+12V
GD75323
10
9
8
7
6
5
4
3
2
-12V
5
9
4
8
3
7
2
6
1
RIN1
1
11
P1
UART DB9
+12V
12
13
14
15
16
17
18
19
RI4#
DTR4#
CTS4#
SOUT4
RTS4#
SIN4
DSR4#
DCD4#
20
VCC5V
GND
-12V
RY 5
DA3
RY 4
DA2
DA1
RY 3
RY 2
RY 1
RA5
DY 3
RA4
DY 2
DY 1
RA3
RA2
RA1
+5V
GD75323
(20-SSOP)
U4
12
13
14
15
16
17
18
19
RI2#
DTR2#
CTS2#
SOUT2
RTS2#
SIN2
DSR2#
DCD2#
20
VCC5V
-12V
RY 5
DA3
RY 4
DA2
DA1
RY 3
RY 2
RY 1
RA5
DY 3
RA4
DY 2
DY 1
RA3
RA2
RA1
+5V
+12V
10
-12V
5
9
4
8
3
7
2
6
1
9
8
7
6
5
4
3
2
1
11
P3
UART DB9
+12V
12
13
14
15
16
17
18
19
TRK0#/RI5#
WPT#/DTR5#
INDEX#/CTS5#
SOUT5
RTS5#
SIN5
DSKCHG#/DSR5#
RDATA#/DCD5#
20
VCC5V
-12V
RY 5
DA3
RY 4
DA2
DA1
RY 3
RY 2
RY 1
RA5
DY 3
RA4
DY 2
DY 1
RA3
RA2
RA1
+5V
GD75323
(20-SSOP)
20
VCC5V
UART DB9
+12V
+12V
10
-12V
5
9
4
8
3
7
2
6
1
9
8
7
6
5
4
3
2
1
P4
UART DB9
+12V
(20-SSOP)
COM5
U6
12
13
14
15
16
17
18
19
1
P2
(20-SSOP)
GND
COM2
RI3#
DTR3#
CTS3#
SOUT3
RTS3#
SIN3
DSR3#
DCD3#
5
9
4
8
3
7
2
6
1
U5
GND
GD75323
11
-12V
9
8
7
6
5
4
3
2
COM4
COM1
11
+12V
10
U7
GND
-12V
RY 5
DA3
RY 4
DA2
DA1
RY 3
RY 2
RY 1
RA5
DY 3
RA4
DY 2
DY 1
RA3
RA2
RA1
+5V
+12V
GD75323
10
-12V
5
9
4
8
3
7
2
6
1
9
8
7
6
5
4
3
2
1
11
P5
UART DB9
+12V
12
13
14
15
16
17
18
19
DIR#/RI6#
HDSEL#/DTR6#
STEP#/CTS6#
DRVA#/SOUT6
DENSEL#/RTS6#
MOA#/SIN6
WGATE#/DSR6#
WDATA#/DCD6#
20
VCC5V
GND
-12V
RY 5
DA3
RY 4
DA2
DA1
RY 3
RY 2
RY 1
RA5
DY 3
RA4
DY 2
DY 1
RA3
RA2
RA1
+5V
GD75323
(20-SSOP)
COM3
+12V
10
-12V
5
9
4
8
3
7
2
6
1
9
8
7
6
5
4
3
2
1
P6
UART DB9
+12V
(20-SSOP)
COM6
VSB3V
R15
8.2K
D4
CHIPSET_RI1#
Q1
NPN
R16
RIN1
4.7K
1N4148
C7
1000P
R17
2.2K
Title
Wake up on ring for serial port circuit.
Size
B
Date:
203
Feature Integration Technology Inc.
Document Number
F81866A
Friday , October 07, 2011
Rev
<Rev Code>
Sheet
2
of
8
Jan, 2012
V0. 12P
F81866A
+VCC
+VCC
VCC5V
D5
1N4148
10K
R19
R20
4.7K
3
4 HEADER
100
4
3
2
1
C8
+
R22
27K
FANIN1
U8A
D6
1N4148
R21
4.7K
LM358
JP2
R26 10K
C9
0.1U
C11
47u
R25 27K
3
2
1
C10
0.1u
FANIN1
R27
10K
CON3
R28
3.6K
PWM FAN1 SPEED CONTROL
NDS0605/SOT
1
-
R24
10K
JP1
47U
(FOUR PIN FAN CONTROL)
2
FANCTL1
+
4
R23
FANCTL1
8
R18
4.7K
DC FAN CONTROL WITH OP 1
+VCC
+VCC
4.7K
R31
4.7K
2
R30
4.7K
R34
D
330
G
S
FANCTL2
1N4148
3
R32
4.7K
Q3
C12 PNP JP3
Q5
+
3
MOSFET N
2
2N7002 47U
1
D7
R33
4.7K
5
6
FANCTL2
R36
27K
FANIN2
+
R37
10K
NDS0605/SOT
Q4
D8
1N4148
7
R35
4.7K
LM358
JP4
R39 10K
C14
0.1U
HEADER 3
U8B
4
VCC3V
8
1
R29
C13
47u
R38 27K
3
2
1
C15
0.1u
CON3
R41
3.6K
FANIN2
R40
10K
PWM FAN2 SPEED CONTROL
DC FAN CONTROL WITH OP 2
+VCC
R42
4.7K
4.7K
3
1
R43
8
+VCC
VCC3V
D
330
G
S
PE
R50
1N4148
3
R46
4.7K
2
PE
4.7K
2
Q7
C17 PNP JP6
Q8
+
3
MOSFET N
2
2N7002 47U
1
HEADER 3
D10
R47
4.7K
R51
U9A
SLCT
R53
10K
R54
3.6K
C19
0.1U
D9
1N4148
R45
4.7K
LM358
JP5
R49 10K
27K
NDS0605/SOT
Q6
1
4
R44
+
C16
47u
3
2
1
R48 27K
C18
0.1u
CON3
SLCT
R52
10K
DC FAN CONTROL WITH OP 3
PWM FAN3 SPEED CONTROL
Title
FAN CONTROL FOR PWM OR DC
Size
B
Date:
204
Feature Integration Technology Inc.
Document Number
F81866A
Friday , October 07, 2011
Rev
<Rev Code>
Sheet
3
of
8
Jan, 2012
V0. 12P
F81866A
R55
VBAT
1K
VIN1
C21
100p
VCORE
D1+
D1+
D+
R56
C20
3300P
DR57
+5VSB
20K
VIN2
C23
100p
R58
from CPU
D-
2M
D2+
4.7K
D2+
C24
C22
1000P
Q9
PNP
3906
3300P
for
SYSTEM
CASE OPEN CIRCUIT
D+5V
R61
R60
4.7K
R63
2K
20K
+12V
DIODE SENSING CIRCUIT
VIN3
C25
100p
VIN4
C26
100p
VOLTAGE SENSING.
The best voltage input level is about 1V.
VREF
R62
10K 1%
10K 1%
THERMISTOR
D1+
VREF
RT1
T
20K
R64
10K 1%
RT2
VSB5V
10K 1%
THERMISTOR
D2+
(for system)
T
R59
SW1
1
2
COPEN#
VSB3V
(for system)
R65
330
R66
4.7K
THERMISTOR SENSING CIRCUIT
P_LED
Q10
NPN
LED_VCC
D11
LED
Temperature Sensing
VSB5V
VSB3V
R67
330
R68
4.7K
SUS_LED
Q11
NPN
LED_VSB
VCC3V
D12
LED
R69
4.7K
LED
OVT#
OVT# PULL-UP
Title
Size
B
Date:
205
Feature Integration Technology Inc.
Document Number
F81866A
Rev
<Rev Code>
Friday , October 07, 2011
Sheet
Jan, 2012
V0. 12P
4
of
8
F81866A
RN1
RN2
RN3
D13
1
VCC5V
VCC3V
1N5819
FOR LEKAGE TO POWER
2
4
6
8
2
4
6
8
2
4
6
8
2
4
6
8
2
RN4
R70
4.7K
1
3
5
7
1
3
5
7
1
3
5
7
1
3
5
7
2.7K-8P4R 2.7K-8P4R 2.7K-8P4R 2.7K-8P4R
R75
2.7K
R71
4.7K
R72
4.7K
R73
4.7K
R74
4.7K
RN5
1
3
5
7
STB#
AFD#
INIT#
SLIN#
SLCT
2
4
6
8
1
14
2
15
3
16
4
17
5
18
6
19
7
20
8
21
9
22
10
23
11
24
12
25
13
33-8P4R
RN6
1
3
5
7
PD0
PD1
PD2
PD3
2
4
6
8
33-8P4R
RN7
1
3
5
7
PD4
PD5
PD6
PD7
2
4
6
8
33-8P4R
ERR#
ACK#
BUSY
PE
SLCT
ERR#
ACK#
BUSY
PE
SLCT
PE
J2
BUSY
ACK#
ERR#
If you do not use the prarllel port ,
please pull-up these pin to VCC3V.
DB25
(FEMALE)
C27
C32
180pC36
C28
C29
C30
180p
180p
180p
180p
C37
C38
C39
180p
180p
180p
180p
C31
C40
C34
180p
180p
C41
180p
180p
C35
C42
C33
180p
C43 180p
180p
180p
PARALLEL PORT INTERFACE
VSB5V
If you do not use the KBC,
please pull-up these pin to VSB5V.
J3
1
2
3
F1
CON3
VCC5V
R76
4.7K
R77
4.7K
M-DIN_6-R
FUSE
6
4
2
F2
JS1
5
3
1
R78
4.7K
R79
4.7K
L1
MDATA
6
4
2
JS2
5
3
1
L2
KDATA
FB
FB
L3
MCLK
M-DIN_6-R
FUSE
L4
KCLK
FB
FB
C44
C45
C46
C47
C48
C49
100P
100P
0.1U
100P
100P
0.1U
Title
PS2 MOUSE INTERFACE
PS2 KEYBOARD INTERFACE
Size
B
Date:
206
Feature Integration Technology Inc.
Document Number
F81866A
Friday , October 07, 2011
Rev
<Rev Code>
Sheet
5
of
8
Jan, 2012
V0. 12P
F81866A
VDDIO
R80
300
R81
300
PECI
SCL
SIC
SDA
SID
PECI_CLIENT
R82
100K
(avoid pre-bios floating)
AMDTSI
PECI
VCC3V
R83
300
R84
300
SCL
SDA
SMLINK[1]
INTEL IBEX
Title
Size
A
Date:
207
Client
Feature Integration Technology Inc.
Document Number
F81866A
Friday , October 07, 2011
Rev
<Rev Code>
Sheet
6
of
8
Jan, 2012
V0. 12P
F81866A
5VA
5VA
R86
MOSFET P
ERP_CTRL0#
10K
1K
10K
R90
R88
5VSB
Q12
R87
C50
10u
10K
C51
1u
PWSIN#
PSON#
SLP_SUS#
R
R85
SUS_ACK#
R89
DPWROK
R
R91
SUS_WARN#
R
R92
C52
10u
SLP_SUS#
SUS_ACK#
DPWROK
SUS_WARN#
DSW
VSB3V
5VA
10K
1K
10K
R97
R95
10K
R94
R93
5VUSB
MOSFET P
R96
C53
10u
Q13
ERP_CTRL1#
R98
PWSOUT#
PME#
C54
1u
SUS_WARN#(CHIPSET)
R99
3K
0
5V_DUAL
R100
10K
C55
10u
Select SUS_WARN#
ERP Control VSB
0
SUS_WARN#
ERP ACPI PULL UP
V3A
to Chipset or 5V_DUAL
V3A
R102 10K
R101 10K
SUS_ACK#
DPWROK
DSW PULL UP
3VA
5VSB
R103
10K
R104
10K
5VDUAL_CTL
SUS_WARN#
R105
1K
Q14
2N3904
Q15
2N3904
5VDUAL CONTROL
Title
Size
B
Date:
208
Feature Integration Technology Inc.
Document Number
F81866A
Friday , October 07, 2011
Rev
<Rev Code>
Sheet
7
of
8
Jan, 2012
V0. 12P
F81866A
5VCC
ATX POWER SUPPLY
5VSB_ATX
ATX_PG PS_ON#
5VA
DSW + Fintek G3’ Mode
DSW_CTL
3VLDO
EN
LDO3V
G3'_CTL
D14
VBAT
RI
WAKE EVENT
KB/MS
SUS_WARN#
SUS_ACK#
SLP_SUS#
SLP_SUS#
(G3')ERP_CTRL1#
ERP BLOCK
DPWROK
5VDUAL
PS_ON#
RSMRST#
S3#
S5#
PWROK
PME#
RSMRST#
SLP_S3#
SLP_S4#
PWROK
PME#
ACPI BLOCK
G3'_CTL
(DSW)ERP_CTRL0#
SUS_WARN#
VCC_GATE
ATXPG_IN
ACPI BLOCK
DSW_CTL
3VSB
SUS_ACK#
DPWROK
WAEK UP EVENT
3VA
SUS_WARN#
DSW BLOCK
PS_IN#
5VSB 3VSB
DSW BLOCK
SW2
I_3VSB
5VSB
PS_OUT#
F81866
PWRBTN#
GPIO27
RTC
WAKE
WAEK UP EVENT
CPT PCH
Title
Feature Integration Technology Inc.
Size
B
Date:
209
Document Number
F81866A
Friday , October 07, 2011
Rev
<Rev Code>
Sheet
8
of
8
Jan, 2012
V0. 12P
F81866A
Fintek G3’ (ERP) Mode
210
Jan, 2012
V0. 12P