This is Preliminary document release. All specifications are subject to change without notice.
The material contained in this document supersedes all previous documentation issued for the related products
included herein. Please contact ITE Tech. Inc. for the latest document(s). All sales are subject to ITE’s Standard
Terms and Conditions, a copy of which is included in the back of this document.
ITE, IT8510E/TE/G is a trademark of ITE Tech. Inc.
All other trademarks are claimed by their respective owners.
All specifications are subject to change without notice.
Additional copies of this manual or other ITE literature may be obtained from:
ITE Tech. Inc. Phone: (02) 2912-6889
Marketing Department Fax: (02) 2910-2551, 2910-2552
8F, No. 233-1, Bao Chiao RD., Hsin Tien,
Taipei County 231, Taiwan, R.O.C.
If you have any marketing or sales questions, please contact:
P.Y. Chang, at ITE Taiwan: E-mail: p.y.chang@ite.com.tw, Tel: 886-2-29126889 X6052,
Fax: 886-2-29102551
To find out more about ITE, visit our World Wide Web at:
http://www.ite.com.tw
Or e-mail itesupport@ite.com.tw for more product information/services
y
Revision Histor
Revision History
Section Revision Page No.
6
In section 6.2.2.4, the value of Chip Version (CHIPVER) was changed. 48
6 In section 6.3.4.1 FBIU Configuration Register (FBCFG), OVRSHBM
and OVRBADDR fields were added.
6 In section 6.3.4.2 Flash Programming Configuration Register (FPCFG),
HSPD field was added.
7 In section 7.4.3.5 Keyboard Scan In Control Register (KSICTRLR),
OVRPPEN field was added.
7 In section 7.5.3.1 General Control Register (GCR), GFLE field was
added.
7 In section 7.11.4.5 Prescaler Clock Frequency Select Register
(PCFSR), its table was revised.
7
4, 11
12
In section 7.14.4.10, Chip Version (ECHIPVER) was added 247
TFBGA package information was added. 263
In section 12 Ordering Information, lead-free information was added. 267
76
77
174
176
222
www.ite.com.tw IT8510E/TE/G V0.7.2
s
Content
CONTENTS
1. Features ....................................................................................................................................................... 1
2. General Description ....................................................................................................................................... 3
3. System Block Diagram................................................................................................................................... 5
8. DC Characteristics ..................................................................................................................................... 251
Applied Voltage of VSTBY, VCC, AVCC, VBAT………….. 0.3V to +3.6V .................................................. 251
9. AC Characteristics ..................................................................................................................................... 253
10. Analog Device Characteristics................................................................................................................... 261
Figure 5-1. Power State Transitions.................................................................................................................. 23
Figure 5-3. LED connection............................................................................................................................... 37
Figure 6-2. Program Flow Chart for PNPCFG .................................................................................................. 68
Figure 6-3. Late Write and Early Write.............................................................................................................. 73
Figure 6-4. Fast Read and Normal Read .......................................................................................................... 73
Table 5-4. Pin Descriptions of SM Bus Interface .............................................................................................. 18
Table 5-5. Pin Descriptions of PS/2 Interface ................................................................................................... 18
Table 5-6. Pin Descriptions of PWM Interface .................................................................................................. 19
Table 5-7. Pin Descriptions of Wake Up Control Interface ............................................................................... 19
Table 5-8. Pin Descriptions of UART Interface ................................................................................................. 19
Table 5-9. Pin Descriptions of Parallel Port Interface ....................................................................................... 19
Table 5-10. Pin Descriptions of GPIO Interface ................................................................................................ 20
Table 5-11. Pin Descriptions of Hardware Strap............................................................................................... 21
Table 5-12. Pin Descriptions of NC................................................................................................................... 21
Table 5-13. Pin Descriptions of ADC Input Interface ........................................................................................ 21
Table 5-14. Pin Descriptions of DAC Output Interface ..................................................................................... 21
Table 5-15. Pin Descriptions of Clock ............................................................................................................... 22
Table 5-16. Pin Descriptions of Power/Ground Signals.................................................................................... 22
Table 5-17. Power States.................................................................................................................................. 23
Table 5-18. Quick Table of Power Plane for Pins ............................................................................................. 24
Table 5-19. Pin States of LPC Bus Interface .................................................................................................... 24
Table 5-20. Pin States of External Flash Interface............................................................................................ 25
Table 5-21. Pin States of Keyboard Matrix Scan Interface ............................................................................... 25
Table 5-22. Pin States of SM Bus Interface ...................................................................................................... 25
Table 5-23. Pin States of PS/2 Interface........................................................................................................... 25
Table 5-24. Pin States of PWM Interface.......................................................................................................... 26
Table 5-25. Pin States of Wake Up Control Interface ....................................................................................... 26
www.ite.com.tw IT8510E/TE/G V0.7.2
xii
s
Content
Table 5-26. Pin States of UART Interface......................................................................................................... 26
Table 5-27. Pin States of GPIO Interface.......................................................................................................... 26
Table 5-28. Pin States of ADC Input Interface.................................................................................................. 26
Table 5-29. Pin States of DAC Output Interface ............................................................................................... 27
Table 5-30. Pin States of Clock......................................................................................................................... 27
Table 6-25. Host View Register Map via Index-Data I/O Pair, RTC Bank 0 ................................................... 118
Table 6-26. Host View Register Map via Index-Data I/O Pair, RTC Bank 1 ................................................... 118
Table 7-1. 8032 Port Usage ........................................................................................................................... 127
Table 7-2. System Interrupt Table................................................................................................................... 129
Table 7-3. Timer 2 Modes of Operation .......................................................................................................... 136
www.ite.com.twIT8510E/TE/G V0.7.2
xiii
IT8510E
Table 7-4. Serial Port Signals.......................................................................................................................... 138
Table 7-5. Selecting the Baud Rate Generator(s)........................................................................................... 141
Table 8-1. Power Consumption....................................................................................................................... 252
Table 9-1. Reset AC Table.............................................................................................................................. 253
Table 9-2. Warm Reset AC Table ................................................................................................................... 253
Table 9-3. Wakeup from Doze Mode AC Table .............................................................................................. 254
Table 9-4. Wake Up from Sleep Mode AC Table............................................................................................ 254
− 3 16-bit multi-function timers inside 8032, which
is based on EC clock
− 1 watch dog timer inside 8032, which is based
on EC clock
− 1 external timer in ETWD module, which is
based on RTC clock
− 1 external WDT in ETWD module, which is
based on RTC clock
UART
− Full duplex UART
− Supports power-switch circuit
− Supports two alarms
GPIO
− Supports 71-bit GPIO
− Programmable pull up/pull down
− Schmitt trigger for input
KBC Interface
− 8042 style KBC interface
− Legacy IRQ1 and IRQ12
− Fast A20G and KB reset
ADC
− 14 ADC channels (10 external)
− 10-bit ADC resolution (accuracy ±4LSB)
− Digital filter for noise reduction
− Conversion time for 14 channels within 100 ms
DAC
− 4 DAC channels
− 8-bit DAC
PWM with SmartAuto Fan Control
− 8 PWM channels
− SmartAuto Fan control
− Base clock frequency is 32.768KHz
− 2 Tachometers for measuring fan speed
PS/2 Interface
− 4 PS/2 interface
− Hardware/Software mode selection
KB Matrix Scan
− Hardware keyboard scan
− 16x8 keyboard matrix scan
In-System Programming
− ISP via parallel port interface on existing KBS
connector
− Fast flash programming with software provided
by ITE
Power Consumption
− Standby with Sleep mode current: 50 µA
Package
− 176 pin LQFP
ACPI Power Management Channel
− 2 Power Management channels
− Compatible and enhanced mode
RTC
− Supports 2 lockable memory areas
www.ite.com.tw IT8510E/TE/G V0.7.2
1
ITPM-PN-200514
Specifications subject to Change without Notice By Jimmy Hou, 5/6/2005
This page is intentionally left blank.
www.ite.com.tw IT8510E/TE/G V0.7.2
2
General Description
2. General Description
The IT8510 is a highly integrated embedded controller with system functions suitable for mobile system
applications. The IT8510 directly interfaces to the LPC bus and provides ACPI embedded controller function,
keyboard controller (KBC) and matrix scan, external flash interface for system BIOS and EC code, PWM, ADC
and SmartAuto Fan control for hardware monitor, PS/2 interface for external keyboard/mouse devices, RTC
and system wake up functions for system power management. It also supports the external flash ( or EPROM)
to be shared by the host and EC side.
www.ite.com.tw IT8510E/TE/G V0.7.2
3
This page is intentionally left blank.
www.ite.com.tw IT8510E/TE/G V0.7.2
4
3. System Block Diagram
3.1 Block Diagram
LPC to I Bus / SERIRQ
Expansion Memory
M Bus
SMFI
Memory Bus
M Bus MUX
PNPCFG Regs
System Block Diagram
I Bus ArbiterRTC
Internal Bus(I Bus)
Print Port
PP
Internal SRAM
(Scratch)
GPIO
Smart-Fan
PWM
PS/2
signaling
EC (8032)
Digital Filter
ADC
EC2IINTC
EC Dedicated Bus (EC Bus)
DAC
EC
Wake-Up Ctrl
SM Bus
KBCSWUCPCM I/F
KB Scan
EC PMU
Clock Gen
ECPM
ETWD
• Host Domain:
LPC, PNPCFG, RTC logic device, host parts of SMFI/SWUC/KBC/PMC logical devices and host parts of
EC2I.
• EC Domain:
EC 8032, INTC, WUC KB Scan, GPIO, ECPM, SMB, PS/2, DAC, ADC, PWM, HWS, ETWD, PP, EC2I, EC
parts of SMFI/SWUC/KBC/PMC and EC parts of EC2I.
www.ite.com.tw IT8510E/TE/G V0.7.2
5
IT8510E
3.2 Host/EC Mapped Memory Space
EC
Code Memory Space
Common Bank
32k
32k
(byte)(byte)
FFFF_FFFFh
FFFF_0000h
FFFE_FFFFh
FFFE_0000h
FFFD_FFFFh
Variable, not necessary
on 32k boundary
1_0000_0000h - Flash_Size
FFFF_FFFFh - Flash_Size
SHMBA+User_Defined_Size-1
SHMBA
000F_FFFFh
000F_0000h
000E_FFFFh
000E_0000h
000D_FFFFh
0000_0000h
Host Memory Space
4G TopFlash Space Top
RANGE 1
RANGE 2
64k
64k
RANGE 3
EC Code:
RANGE 4
Max 160k
Flash_Size
Flash_Size - 1
Flash_Size - 01_0000h
Flash_Size - 01_0001h
Flash_Size - 02_0000h
Flash_Size - 02_0001h
Variable, not necessary
on 32k boundary
00_0000h
Out of Range
These five banks are arragned in order and totally 160K mappe d.
RANGE 1
RANGE 2
RANGE 3
RANGE 4
User_Defined_Size
( Max Flash_Size )
If User_Defined_Size < Flash_Size,
only top of the flash space is mapped,
and the bottom is truncated.
Each bank is always mapped but it is only valid if it is used by EC code.
If EC code size <= 64K, Bank 0 is valid to be selected.
If EC code size <= 96K, Bank 0-1 are valid to be selected.
If EC code size <= 128K, Bank 0-2 are valid to be selected.
If EC code size <= 160K, Bank 0-3 are valid to be selected.
If EC code size is not mutiple of 32K, the remainder can be
used by host memory.
Out of Range
RANGE 1
RANGE 2
64k
64k
Out of Range
Expansion Flash Space
RANGE 1
RANGE 2
RANGE 3
RANGE 4
The range 4 shows space used by EC code and five banks are
all used.
The interface line will be lower if EC code size is smaller than 160K.
(byte)
Bank 3 (32k)
Bank 2 (32k)
Bank 1 (32k)
Bank 0 (32k)
Common Bank (32k)
FFFFh
Bank 0 Bank 1Bank 3Bank 2
8000h
7FFFh
0000h
Bank 0, 1, 2 and 3 occupy the same code memory space.
Only one of these four banks can be selected at once time.
It is selected by ECBB or P1 register.
Figure 3-1. Host/Flash and EC/Flash Mapping (General)
www.ite.com.tw IT8510E/TE/G V0.7.2
6
System Block Diagram
EC
Code Memory Space
Bank 0
Common Bank
32k
32k
FFFF_FFFFh
FFFF_0000h
FFFE_FFFFh
FFFE_0000h
FFFD_FFFFh
FFF8_FFFFh
FFF8_0000h
FFF7_FFFFh
Host Memory Space
4G TopFlash Space Top
RANGE 1
RANGE 2
RANGE 3
RANGE 4
Out of Range
64k
64k
512k
64k
(byte)(byte)
07_FFFFh
07_0000h
06_FFFFh
06_0000h
05_FFFFh
01_0000hFFF9_0000h
00_FFFFh
00_0000h
Expansion Flash Space
RANGE 1
RANGE 2
RANGE 3
RANGE 4
(byte)
Bank 0 (32k)
Common Bank (32k)
Bank 1-3 are not valid to be selected and are not shown.
FFFFh
8000h
7FFFh
0000h
000F_FFFFh
000F_0000h
000E_FFFFh
000E_0000h
000D_FFFFh
0000_0000h
RANGE 1
RANGE 2
Out of Range
64k
64k
Figure 3-2. Host/Flash and EC/Flash Mapping (Flash Size = 512k, EC Code = 64k, No User-Defined, a
specific example)
The flash memory space is shared between the host side and EC side, and it is shown in Figure 3-1.
An example of 512k flash size, 64k EC code size and no user-defined is shown in Figure 3-2.
The host memory 4G byte top is always mapped into the top of flash space and the host processor fetches the
first instruction after reset at FFFF_FFF0h in the host memory, which is 16 bytes below the uppermost flash
space.
The bottom of EC code is always mapped into the bottom of flash space and EC R8032TT micro-controller
fetches the first instruction after reset at 00_0000h in the EC code memory, which is 1 byte in the lowermost
flash space.
The interface line of host memory and EC code is variable and not necessary on 32k boundary.
Note: The host side can map all flash range regardless of EC code space.
Note: All host mappings are controlled by LPCMEN and FWHEN bit in SHMC register.
Note: Flash Size is defined in FMSSR register, and it may be 128k, 256k, 512k, 1M, 2M and the maximum 4M bytes.
Note: User_Defined_Size is defined in SHMUSZ register.
Bank 3: 8000h ~ FFFFh 02_0000h ~ 02_7FFFh 32k Always
Bank 2: 8000h ~ FFFFh 01_8000h ~ 01_FFFFh 32k Always
Bank 1: 8000h ~ FFFFh 01_0000h ~ 01_7FFFh 32k Always
Bank 0: 8000h ~ FFFFh 00_8000h ~ 00_FFFFh 32k Always
Common Bank: 0000h ~ 7FFFh 00_0000h ~ 00_7FFFh 32k Always
Note: EC code can use the maximum 160k by banking.
Note: All EC code memory space is mapped to both EC and host side at the same time. The EC size is not necessary on
32k boundary.
Note: If BSO=1, ECBB is replaced with P1 register of 8032.
ECBB means ECBB field in FECBSR register.
BSO means BSO bit in FPCFG register.
Mapped
Size
(byte)
Mapping
Condition
Bank Selected
Condition
ECBB=11
ECBB=10
ECBB=01
ECBB=00
Always
Table 3-3. Flash Read/Write Protection Controlled by EC Side
Flash Address
Range (byte)
38_0000h ~ 3F_FFFFh ORP56 ~ 63 in SMECORPR9 ORP56 ~ 63 in SMECOWPR9
30_0000h ~ 37_FFFFh ORP48 ~ 55 in SMECORPR8 ORP48 ~ 55 in SMECOWPR8
28_0000h ~ 2F_FFFFh ORP40 ~ 47 in SMECORPR7 ORP40 ~ 47 in SMECOWPR7
20_0000h ~ 27_FFFFh ORP32 ~ 39 in SMECORPR6 ORP32 ~ 39 in SMECOWPR6
18_0000h ~ 1F_FFFFh ORP24 ~ 31 in SMECORPR5 ORP24 ~ 31 in SMECOWPR5
10_0000h ~ 17_FFFFh ORP16 ~ 23 in SMECORPR4 ORP16 ~ 23 in SMECOWPR4
08_0000h ~ 0F_FFFFh ORP8 ~ 15 in SMECORPR3 ORP8 ~ 15 in SMECOWPR3
02_0000h ~ 07_FFFFh ORP2 ~ 7 in SMECORPR2 ORP2 ~ 7 in SMECOWPR2
01_0000h ~ 01_FFFFh ORPLA8~15 in SMECORPR1 ORPLA8 ~ 15 in SMECOWPR1
00_0000h ~ 00_FFFFh ORPLA0 ~ 7 in SMECORPR0 ORPLA0 ~ 7 in SMECOWPR0
All ranges are write-control by
Read Control
Register Bits
Write Control
Register Bits
Note
Each bit controls
64K bytes
Each bit controls
8K bytes
HOSTWA, too.
Table 3-4. Flash Read/Write Protection Controlled by Host Side
Flash Address
Range (byte)
30_0000h ~ 3F_FFFFh HRP in SMHAPR4 HRW in SMHAPR4
20_0000h ~ 2F_FFFFh HRP in SMHAPR3 HRW in SMHAPR3
10_0000h ~ 1F_FFFFh HRP in SMHAPR2 HRW in SMHAPR2
00_0000h ~ 0F_FFFFh HRP in SMHAPR1 HRW in SMHAPR1
Read Control
Register Bits
Write Control
Register Bits
Note
Each index
controls
64K bytes
www.ite.com.tw IT8510E/TE/G V0.7.2
8
3.3 EC Mapped Memory Space
EC InternalEC ExternalEC
Data Memory SpaceData Memory SpaceCode Mem o ry Space
There is an internal Scratch SRAM which can be located at data space or code space but cannot be located at
both spaces at the same time. Where it is located depends on Scratch SRAM Map Control bit (SSMC) in
FBCFG register. It is called Scratch RAM when being located at data space (default after reset) and called
Scratch ROM when being located at code space.
The EC code space is 64k bytes and physically occupies the maximum 160 k bytes at the bottom of the flash
space. Refer to Figure 3-1 on page 6 for the details.
www.ite.com.tw IT8510E/TE/G V0.7.2
9
IT8510E
3.4 Register Abbreviation
The register abbreviations and access rules are listed as follows:
R READ ONLY. If a register is read only, writing to this register has no effect.
W WRITE ONLY. If a register is write only, reading to this register returns all zero.
R/W READ/WRITE. A register with this attribute can be read and written.
RC READ CLEAR. If a register is read clear, reading to this register clears the register to ‘0’.
R/WC READ/WRITE CLEAR. A register bit with this attribute can be read and written. However,
writing 1 clears the corresponding bit and writing 0 has no effect.
BFNAME@REGNAME This abbreviation may be shown in figures to represent one bit in a register or one
field in a register.
The used radix indicator suffixes in this specification are listed below
Decimal number: "d" suffix or no suffix
Binary number: "b" suffix
Hexadecimal number: "h" suffix
5.1 Pin Descriptions
Table 5-1. Pin Descriptions of LPC Bus Interface
Pin(s) No. Signal Attribute Description
LPC Bus Interface (3.3V CMOS I/F, 5V tolerant)
165 or 30 LPCRST#
18 LPCCLK
10, 13-15 LAD[3:0]
9 LFRAME#
24 LPCPD#
25 CLKRUN#
7 SERIRQ
22 ECSMI#
31 ECSCI#
5 GA20
6 KBRST#
19 WRST#
23 PWUREQ#
27 LPC80HL
28 LPC80LL
IK LPC Hardware Reset
LPC hardware reset will reset LPC interface and host side modules. The
source is determined by EC side register bit LPCRSTEN.
This pin can be omitted if external LPC reset is not required.
PI LPC Clock
33 MHz clock for LPC domain functions.
PIO LPC Address Data
PI LPCLFRAME# Signal
IO2 LPC LPCPD# Signal
IO6 LPC CLKRUN# Signal
PIO SERIRQ Signal
O8 EC SMI# Signal
This is SMI# signal driven by SWUC module.
O8 EC SCI# Signal
This is SCI# signal driven by PMC module.
IO2 Gate A20 Signal
This is GA20 signal driven by SWUC module.
IO2 KB Reset Signal
This is KBRST# signal driven by SWUC module.
IK Warm Reset
For EC domain function reset after power up.
O2 System Power On Request
This is PWUREQ# signal driven by SWUC module.
O4 LPC I/O Port 80, High-nibble LAD Latch
An active high signal to latch Port 80 high-nibble for the debug
purpose.
O4 LPC I/O Port 80, Low-nibble LAD Latch
An active high signal to latch Port 80 low-nibble for the debug
purpose.
Pin Description
www.ite.com.tw IT8510E/TE/G V0.7.2
17
IT8510E
Table 5-2. Pin Descriptions of External Flash Interface
Pin(s) No. Signal Attribute Description
Flash Interface (3.3V CMOS I/F, 5V tolerant)
120-121,
129-130,
134-135,
142-143,
133-131,
128-124
3-4,
103-104,
112-113
147-144,
141-138
150 FRD#
151 FWR#
173 FCS#
FA[15:0]
FA[21:16]
FD[7:0]
O4 Flash Address [15:0]
These are dedicated external Flash address pins. In addition to being the
Flash address output, FA[5:2] serve as hardware strap pins described
below.
FA[5] : SHBM, shared BIOS mode enable.
FA[4] : PPEN, enable in-system programming via parallel port interface
FA[3] : BADDR[1], used in PNPCFG base address.
FA[2] : BADDR[0], used in PNPCFG base address.
IOK4 Flash Address [21:16]/Alternate GPIO
These pins can be used as GPIO pins depending on the external Flash
size.
IOK4 Flash Data [7:0]
Flash data bus.
O4 Flash Read
Flash read control.
O4 Flash Write
Flash write control.
O4 Flash Chip Select
FCS# is the external Flash chip select.
Table 5-3. Pin Descriptions of Keyboard Matrix Scan Interface
Pin(s) No. Signal Attribute Description
KB Matrix Interface (3.3V CMOS I/F, 5V tolerant)
68-64,
61-56,
53-49
80-77,
74-71
KSO[15:0]
KSI[7:0]
O8 Keyboard Scan Output
Keyboard matrix scan output.
IK Keyboard Scan Input
Keyboard matrix scan input for switch based keyboard.
Table 5-4. Pin Descriptions of SM Bus Interface
Pin(s) No. Signal Attribute Description
SM Bus Interface (3.3V CMOS I/F, 5V tolerant)
169, 163 SMCLK[1:0]
170, 164 SMDAT[1:0]
IOK2 SM Bus CLK
2 SM bus interface provided.
SMCLK0-1 correspond to channel A and B, respectively.
IOK2 SM Bus Data
2 SM bus interface provided.
SMDAT0-1 correspond to channel A and B, respectively.
Table 5-5. Pin Descriptions of PS/2 Interface
Pin(s) No. Signal Attribute Description
PS/2 Interface (3.3V CMOS I/F, 5V tolerant)
118, 116,
114, 110,
119, 117
115, 111
PS2CLK[3:0]
PS2DAT[3:0]
IOK8 PS/2 CLK
4 sets of PS/2 interface, alternate function of GPIO.
PS2CLK0-3 correspond to channel 1-4, respectively.
IOK8 PS/2 Data
4 sets of PS/2 interface, alternate function of GPIO.
PS2DAT0-3 correspond to channel 1-4, respectively.
www.ite.com.tw IT8510E/TE/G V0.7.2
18
s
Table 5-6. Pin Descriptions of PWM Interface
Signal Pin(s) No. Attribute Description
PWM Interface (3.3V CMOS I/F, 5V tolerant)
43, 40-36,
33-32
63-62 TACH[1:0]
176,172 TMRI[1:0]
PWM[7:0]
IOK8 Pulse Width Modulation Output
Two of the eight PWM outputs can be selected as SmartAuto fan control if
enabled. Others are general-purpose PWM signals.
PWM0-7 correspond to channel 0-7, respectively.
IOK2 Tachometer Input
TACH[1:0] are tachometer inputs from external fans. They are used for
measuring the external fan speed.
IOK2 Counter Input
TMRI[1:0] are timer/counter input signals connected to timer2 and timer1 of
8032. Notice that the frequency must be slower than 8032 clock to be
sampled.
Table 5-7. Pin Descriptions of Wake Up Control Interface
Pin(s) No. Signal Attribute Description
Wake Up Control Interface (3.3V CMOS I/F, 5V tolerant)
25-24,
44, 30,
176, 172,
29, 26
2 PWRSW
29,26 RI[2:1]#
165 RING#
WUI[7:0]
IOK2-8 EC Wake Up Input
Supplied by VSTBY, used for EC wake up.
IOK2 Power Switch Input
Supplied by VSTBY, used to indicate the status of power switch.
IOK4 Ring Indicator Input
Supplied by VSTBY, used for system wake up.
IOK2 Telephone Line Ring Input
Supplied by VSTBY, used for system wake up.
Table 5-8. Pin Descriptions of UART Interface
Pin(s) No. Signal Attribute Description
UART Interface (3.3V CMOS I/F, 5V tolerant)
154 TXD
153 RXD
IOK2 UART TX Output
UART TX Output from 8032
IOK2 UART RX Input
UART RX Input from 8032
Table 5-9. Pin Descriptions of Parallel Port Interface
The 71 GPIO pins are divided into 9 groups. Each of them contains 8 GPIO
pins. Some GPIO pins have alternative function.
GPI5 may be used by power supply control and it is only reset by VSTBY
Power-Up Reset and Watchdog Reset.
General Purpose Interrupt directly input to INT28 of INTC.
www.ite.com.tw IT8510E/TE/G V0.7.2
20
s
Table 5-11. Pin Descriptions of Hardware Strap
Pin(s) No. Signal Attribute Description
Hardware Strap (3.3V CMOS I/F, 5V tolerant)
131 SHBM
128 PPEN
127,126 BADDR[1:0]
I Share Host BIOS Memory Configuration
Sampled at VSTBY power up reset.
No pull resistor: disable shared memory with host BIOS
External 10K ohm pull up resistor: enable shared memory with host BIOS
I Parallel Port Enable
Sampled at VSTBY power up reset.
No pull resistor:
Normal.
External 10K ohm pull up resistor:
KBS interface pins are switched to parallel port interface for in-system
programming.
I I/O Base Address Configuration
Sampled at VSTBY power up reset.
No pull resistor:
The register pair to access PNPCFG is 002Eh and 002Fh.
10K ohm external pull-up resistor on BADDR0:
The register pair to access PNPCFG is 004Eh and 004Fh.
10K ohm external pull-up resistor on BADDR1:
The register pair to access PNPCFG is determined by EC domain
registers SWCBALR and SWCBAHR.
Table 5-12. Pin Descriptions of NC
Pin(s) No. Signal Attribute Description
NC (3.3V CMOS I/F, 5V tolerant)
8, 11, 12,
85,
86, 91, 92,
97,
98,106-10
9
NC
- NC
Don’t connect it to any nets, or tie to digital ground.
For IT8510G, it’s recommend to reserve test pads on PCB for pin H1, R14,
T14, P15 and P16.
Table 5-13. Pin Descriptions of ADC Input Interface
Pin(s) No. Signal Attribute Description
ADC Interface (3.3V CMOS I/F)
84-81 ADC[3:0]
90-87 ADC[7:4]
93 ADC[8]
94 ADC[9]
AI ADC Input
Dedicated ADC input pins.
AIO2 ADC Input/Alternate GPIO
These 4 ADC inputs can be used as GPIO pins depending on the ADC
channels required.
AI ADC Input
AI ADC Input
Table 5-14. Pin Descriptions of DAC Output Interface
Pin(s) No. Signal Attribute Description
DAC Interface (3.3V CMOS I/F)
102-99 DAC[3:0]
O DAC Output
Pin Description
www.ite.com.tw IT8510E/TE/G V0.7.2
21
IT8510E
Table 5-15. Pin Descriptions of Clock
Pin(s) No. Signal Attribute Description
Clock Interface (3.3V CMOS I/F)
158 CK32K
OSCI 32.768K Hz Crystal X1
It is connected to internal crystal oscillator.
160 CK32KE
OSCIO 32.768K Hz Crystal X2
It is connected to internal crystal oscillator.
1 CK32KOUT
47 CLKOUT
O4 32.768K Hz Oscillator Output
32.768 KHz clock output.
O2 EC Clock Output
EC domain clock output.
Table 5-16. Pin Descriptions of Power/Ground Signals
Pin(s) No. Signal Attribute Description
Power Ground Signals
167, 159,
137, 122,
46, 35, 17
16 VCC
166, 157,
136, 123,
45, 34
161 VBAT
96 AVSS
95 AVCC
VSS
VSTBY
I Ground
Digital ground.
I System Power Supply of 3.3V
The power supply of LPC and related functions, which is main power of
system.
I Standby Power Supply of 3.3V
The power supply of EC domain functions, which is standby power of
system.
Note that the power of PLL is sourced by pin 157 only. (pin F8 for IT8510G)
I Battery Power Supply of 3.3V
The power supply for RTC, 32.768KHz oscillator and some system wake
up function. Internal VBS power is supplied by VSTBY when it is valid and
is supplied by VBAT when VSTBY is not supplied. If VBAT is not used, tie
this pin to ground.
I Analog Ground for Analog Component
I Analog VCC for Analog Component
Notes: I/O cell types are described below:
I: Input PAD.
AI: Analog Input PAD.
IK: Schmitt Trigger Input PAD.
IKD: Schmitt Trigger Input PAD (integrated one pull-down resistor).
PIU: PCI Bus Specified Input PAD (integrated one pull-up resistor).
OSCI: Oscillator Input PAD.
O2: 2 mA Output PAD.
O4: 4 mA Output PAD.
O6: 6 mA Output PAD.
O8: 8 mA Output PAD.
PIO: PCI Bus Specified Bidirectional PAD.
OSCIO: Oscillator Bidirectional PAD.
AIO2: 2 mA Bidirectional PAD with Analog Input PAD.
IOK2: 2 mA Bidirectional PAD with Schmitt Trigger Input PAD.
IOK4: 4 mA Bidirectional PAD with Schmitt Trigger Input PAD.
IOK6: 6 mA Bidirectional PAD with Schmitt Trigger Input PAD.
IOK8: 8 mA Bidirectional PAD with Schmitt Trigger Input PAD.
www.ite.com.tw IT8510E/TE/G V0.7.2
22
s
Pin Description
5.2 Chip Power Planes and Power States
Table 5-17. Power States
Power State VCC pin VSTBY/AVCC pin VBAT pin Internal VBS
Active
Active with Power Saving
Supplied Supplied Supplied or Not Switched from VSTBY
Supplied Supplied
Supplied or Not Switched from VSTBY
EC is in Idle, Doze or
Sleep Mode
Standby
Standby with Power Saving
Not Supplied Supplied Supplied or Not Switched from VSTBY
Not Supplied Supplied
Supplied or Not Switched from VSTBY
EC is in Idle, Doze or
Sleep Mode
Power Fail
Battery Fail
Not Supplied Not Supplied Supplied Switched from VBS
Not Supplied Not Supplied Not Supplied Not Supplied
Note:
(1) The AVCC should be derived from VSTBY.
(2) All other combinations of VCC / VSTBY / VBAT are invalid.
(3) In Power Saving mode, 8032 program counter is stopped and no instruction will be executed no
matter EC Clock is running or not.
(4) VBS is the battery-backed power. When VSTBY is valid, VBS is supplied by VSTBY. When VSTBY is
not valid, VBS is supplied by VBAT.
EC firmware sets PCON bit
Active with
Power Saving
Standby with
Power Saving
VSTBY OnVSTBY Off
Active
Reset or INT0#, INT1# asserted
VCC OnVCC Off
Standby (S3, S4, S5)
Reset or INT0#, INT1# asserted
VSTBY OnVSTBY Off
EC firmware sets PCON bit
Power Fail
VBAT OnVBAT Off
Battery Fail
VBAT Off
VSTBY Off
VCC Off
Figure 5-1. Power State Transitions
www.ite.com.tw IT8510E/TE/G V0.7.2
23
IT8510E
5.3 Pin Power Planes and States
Table 5-18. Quick Table of Power Plane for Pins
Power Plane Pins No.
VCC 7-18
VSTBY 1-6, 19-157, 162-176
VBS 158-161
In the following tables of this section, Standby means that the VCC is not valid but VSTBY is supplied (S3, S4 or
S5) and EC is in normal operation. Standby with Sleep means that 8032 and most of its functions are out of
work due to PLL power-down while VSTBY is still supplied. Power Fail means only battery-backed power is
supplied.
The abbreviations used in the following tables are described below:
H means EC drives high or driven high.
L means EC drives low or driven to low or output pin power off.
Z means EC tri-stated the I/O pin or output pin with enable.
RUN means that Output or I/O pins are in normal operation.
Driven means that the input pin is driven by connected chip or logic.
STOP means that the output pin keeps its logical level before the clock is stopped.
OFF means I/O pin power off.
Note that reset sources of ‘Reset Finish’ columns depend on Reset Types and Applied Module Table and it
means the reset is finished when its corresponding power plane is supplied.
Note that GPIO pins listed in different functional tables except GPIO table indicate their pin status of
corresponding alternative function.
Table 5-19. Pin States of LPC Bus Interface
Signal
(Alt Func of GPIO ?)
LPCRST# (Y) VSTBY Driven L L L
LPCCLK VCC Driven L L L
LAD[3:0] VCC RUN OFF OFF OFF
ADC7
ADC8 AVCC Driven RUN RUN L
ADC9 AVCC Driven Driven Driven L
Power
Plane
AVCC Driven Driven Driven L
Reset
Finish
Standby Standby with
Sleep
Power Fail
www.ite.com.tw IT8510E/TE/G V0.7.2
26
s
Pin Description
Table 5-29. Pin States of DAC Output Interface
Signal
(Alt Func of GPIO ?)
DAC[3:0] AVCC L RUN RUN OFF
Power
Plane
Reset
Finish
Standby Standby with
Sleep
Table 5-30. Pin States of Clock
Signal
(Alt Func of GPIO ?)
CK32K VBS Driven RUN RUN RUN
CK32KE VBS Driven RUN RUN RUN
CK32KOUT/GPC7 VSTBY Driven RUN RUN OFF
CLKOUT/GPC0 VSTBY Driven RUN STOP OFF
Power
Plane
Reset
Finish
Standby Standby with
Sleep
Power Fail
Power Fail
www.ite.com.tw IT8510E/TE/G V0.7.2
27
IT8510E
5.4 PWRFAIL# Interrupt to INTC
The firmware may use the PWRFAIL# to do some necessary response if VSTBY is being lost. Corresponded
INT0# has higher priority than INT1#.
www.ite.com.tw IT8510E/TE/G V0.7.2
28
s
Pin Description
5.5 Reset Sources and Types
Table 5-31. Reset Sources
Reset Sources Description
VBS Power-Up Reset
VSTBY Power-Up Reset
Activated after VBS is power up
Activated after VSTBY is power up and 10 MHz PLL is stable
It takes t
for PLL stabling, and the external flash must be ready before
PLLS
VSTBY Power-Up Reset finish
VCC Power-Up Reset
Warm Reset
LPC Hardware Reset
Super I/O Software Reset
Watch Dog Reset
Activated after VCC is power up
Activated if WRST# is asserted
Activated if LPCRST# is asserted
Activated if SIOSWRST of PNPCFG is writing 1
Activated if 8032 WDT or External WDT time-out
Super I/O Software Reset PNPCFG, Logical Devices and EC2I
Warm Reset, VSTBY Power-Up Reset
EC Domain
or Watch Dog Reset
The WRST# should be driven low for at least t
before going high (Refer to Table 9-2. Warm Reset AC
WRSTW
Table on page 253)
.
If the firmware wants to assert an EC Domain Reset, start an internal of external watchdog without clearing its
counter or write invalid data to EWDKEYR register (refer to EWDKEYEN and EWDKEYR registers).
If the firmware wants to determine the source of the last EC Domain Reset, use the Reset Scratch Register
(RSTSCR).
5.5.1 Relative Interrupts to INTC
• Interrupt to INTC
LPCRST# may come from pin LPCRST#/WUI4/GPD2 or RING#/PWRFAIL#/LPCRST#/GPB7, both pins have
another interrupt relative alternative function. LPCRST# can be treated as an orthogonal input and LPCRST#
event can be handled in the same interrupt routine of another alternative function.
www.ite.com.tw IT8510E/TE/G V0.7.2
29
IT8510E
5.6 Chip Power Mode and Clock Domain
Table 5-33. Clock Types
Types Description
RTC Clock
EC Clock
32.768 KHz generated by internal oscillator
10 MHz generated by internal PLL which feds RTC Clock and applied on EC
Domain. The EC Clock may be divided by CFSELR of ECPM module
Default EC Clock is divided into 5 MHz, and should be programmed to 10 MHz.
LPC Clock
33 MHz or slower from LPCCLK pin and applied on Host Domain
The 8032 can enter Idle/Doze/Sleep mode to reduce some power consumption. After entering the Idle mode,
timers and the Watch Dog timer of 8032 still work. After entering Doze/Sleep mode, clock of 8032 is stopped
and internal timers are stopped but external timer still works. After entering Doze mode, EC domain clock is
stopped and all internal timers are stopped. Also see Table 5-35 on page 33 for the details.
The way to wake up 8032 from the Idle mode is to enable internal or external interrupts, or hardware reset. The
way to wake up 8032 from Doze/Sleep mode is to enable external interrupts or hardware reset. Firmware may
set PLLCTRL bit before setting PD bit to enter the Sleep mode, since stopping PLL can reduce more power
consumption, but it takes more time to wake up from Sleep mode due to waiting for PLL being stable. The steps
to enter and exit Idle/Doze/Sleep are listed below:
(a) Set relative bits of IE register if they are cleared.
(b) Set channels of WUC which wants to wake up 8032 and disable unwanted channels.
(c) Set channels of INTC which wants to wake up 8032 and disable unwanted channels.
(d) Set PLLCTRL bit for Doze mode, or clear it for Doze mode.
(e) Set IDL bit in PCON to enter the Idle mode, or set PD bit in PCON to enter the Doze/Sleep mode.
(f) 8032 waits for an interrupt to wake up.
(g) After an interrupt is asserted, 8032 executes the corresponding interrupt routine and return the next
instruction after setting PCON. Notice that 8032 will not execute the interrupt routine if PDC bit in PDCON
is set before PCON is set and the interrupt is de-asserted.
The following figure describes the drivers and branches of the three clocks.
In this figure, clk_32khz represents RTC Clock; clk_src and its branches represent EC Clock; clk_ibus
represents LPC Clock.
www.ite.com.tw IT8510E/TE/G V0.7.2
30
s
Pin Description
CK32K
CK32KE
Test Pin
LPCCLK
clk_src
Internal Oscillator
Gating
Operation
Gating
ADCCG@CGCTRL1R
Gating
PS2CG@CGCTRL1R
Gating
PWMCG@CGCTRL1R
Gating
KBSCG@CGCTRL1R
Gating
SMBCG@CGCTRL1R
Gating
DACCG@CGCTRL1R
Gating
GPIOCG@CGCTRL1R
Gating
ETWDCG@CGCTRL1R
Gating
EC2ICG@CGCTRL2R
Gating
KBCCG@CGCTRL2R
Gating
SMFIG@CGCTRL2R
Gating
PMCCG@CGCTRL2R
Gating
SWUCCG@CGCTRL2R
clk_ibus
33 MHz
Internal PLL
POWEN@DACCTRL
clk_32khz
32.768 Hz
10 MHz
Gating
RTC
clk_10mhz
CDNUM@CFSELR
8032
ADC
Divider
SCLKDIV@ADCCTL
PS2
PWM
clk_10mhz
KB Scan
SMB
DAC
DAC Analog Circuit
GPIO
ETWD
EC2I
ETWD
KBC
SMFI
Divider
FTDIV@FMPSR
PMC
SWUC
LPC, PNPCFG, EC2I, SMFI,
SWUC, KBC, PMC
Divider
Divider
Divider
ADCEN@ADCCFG
Gating
PWMCG@CGCTRL1R
clk_32khz
clk_1mhz
clk_32hz
1 kHz
32 Hz
CFSEL@CFSELR
Gating
clk_pwm_10mhz
clk_pwm_78khz
clk_pwm_10mhz
clk_32hz
clk_pwm_78khz
clk_32khz
clk_pwm
ETPS@ETPSR
SMFI
clk_1khz
clk_32hz
clk_32khz
1
clk_src
0
0
1
PWMTM@ZTIER
0
1
PWMTM@ZTIER
0
1
PWMTM@ZTIER
External Timer
Counter
clk_10mhz
clk_32khz
ADC Operation
ADC Operation
ADC Analog Circuit
clk_pwm
clk_pwm_78khz
Divider
78.125KHz
Tachometer
SmartAuto Fan
PWM Prescaler
External Watchdog
0
1
EWDSRC@ETWCFG
Counter
CLKOUT/GPC0
CK32KOUT/GPC7
Figure 5-2. Clock Tree
www.ite.com.tw IT8510E/TE/G V0.7.2
31
IT8510E
Table 5-34. Power Saving by EC Clock Operation Mode
Mode Item Description
Normal
Enter VSTBY is supplied and hardware reset done
Exit Enter other modes
RTC Clock On
10 MHz PLL On
EC Domain Clock Driven by PLL or divided clock (refer to CFSELR of ECPM module)
8032 Clock The same as EC Domain Clock
Comment Power consumption can be reduced by selectively disabling modules
(refer to ECPM module)
Enter Set IDL bit in PCON of 8032
Exit Interrupt from INTC, interrupt from 8032 timer, watchdog reset or
hardware reset
Idle
RTC Clock On
10 MHz PLL On
EC Domain Clock Driven by PLL or divided clock (refer to CFSELR of ECPM module)
8032 Clock The same as EC Domain Clock
Comment Power consumption can be reduced by selectively disabling modules,
refer to ECPM module.
Doze
Enter Set PD bit in PCON of 8032
Exit Interrupt from INTC or hardware reset
RTC Clock On
10 MHz PLL On, clearing PLLCTRL of ECPM module is required
EC Domain Clock Driven by PLL or divided clock (refer to CFSELR of ECPM module)
8032 Clock Off
Comment Power consumption can be reduced by selectively disabling modules
(refer to ECPM module)
Sleep
Enter Set PD bit in PCON of 8032
Exit Interrupt from INTC or hardware reset
RTC Clock On
10 MHz PLL Off, setting PLLCTRL of ECPM module is required
EC Domain Clock Driven by PLL or divided clock (refer to CFSELR of ECPM module)
8032 Clock Off
Comment Power consumption can be reduced by selectively disabling modules
(refer to ECPM module)
Note:
The PD bit in PCON register may trigger the Doze or Sleep mode of EC Domain.
www.ite.com.tw IT8510E/TE/G V0.7.2
32
s
Pin Description
Table 5-35. Module Status in Each Power State/Clock Operation
Stopped module means this module is frozen because its clock is stopped.
Off module means this module is turned off due to power lost.
Off
Module
Note
List host
relative
modules
only
List host
relative
modules
only
List EC
modules
only
modules
only
modules
only
www.ite.com.tw IT8510E/TE/G V0.7.2
33
IT8510E
5.7 Pins with Pull, Schmitt-Trigger or Open-Drain Function
Table 5-36. Pins with Pull Function
Pin Pull Function Note
KSI[7:0] Programmable 75k pull-up resistor Default off
KSO[15:0] Programmable 75k pull-up resistor Default off
GPE4-E7
and their alternative functions
Programmable 75k pull-up resistor GPE0-E3 have no pull function
Default on/off refer to Table 7-13
on page 179 .
GPG0-G7
and their alternative functions
All other GPIO pins
and their alternative functions
FA[21:0], FD[7:0],
Programmable 75k pull-down resistor Default on/off refer to Table 7-13
on page 179 .
Programmable 75k pull-up resistor Default on/off refer to Table 7-13
on page 179 .
Operational 75k pull-down resistor Pull-down if power-saving
FCS#, FRD#, FWR#
FA[5:2] Operational 75k pull-down resistor Pull-down after VSTBY power on
until its pin state is sampled for
hardware strap function
Note: 75k ohm is typical value. Refer to section 8 DC Characteristics on page 251 for details
www.ite.com.tw IT8510E/TE/G V0.7.2
34
s
Pin Description
Table 5-37. Pins with Schmitt-Trigger Function
Pin Pull Function Note
All GPIO pins except GPE0-E3
Fixed Schmitt-Trigger Input
and their alternative functions
KSI[7:0] Fixed Schmitt-Trigger Input
WARMRST# Fixed Schmitt-Trigger Input
FD[7:0] Fixed Schmitt-Trigger Input
Table 5-38. Signals with Open-Drain Function
Signal Open-Drain Function Note
SERIRQ Open-drain bi-directional signal
CLKRUN# Open-drain output signal
KSO[15:0] Programmable open-drain output signal Default is push-pull
PS2CLK0, PS2DAT0
Open-drain bi-directional signal
SMCLK1, SMDAT1
SCI#, SMI#, PWUREQ# Open-drain output signal
All GPIO signals except GPE0-E3
Programmable open-drain output signal Default is push-pull
and their alternative functions
www.ite.com.tw IT8510E/TE/G V0.7.2
35
IT8510E
5.8 Power Consumption Consideration
• Each input pin should be driven or pulled
Input floating causes leakage current and should be prevented.
Pins can be pulled by an external pull resistor or internal pull for a pin with programmable pull.
GPE0-~GPE3 have analog inputs as their alternative function, and these four pins can prevent leakage current
by switching to the alternative function, too.
• Each output-drain output pin should be pulled
If an output-drain output pin is not used and is not pulled by an external pull resistor or internal pull for a pin with
programmable pull, make it drive low by the firmware.
• Each input pin which belongs to VSTBY power plane is connected or pulled up to VCC power plane
Such cases may cause leakage current when VCC is not supplied and a diode may be used to isolate leakage
current from VSTBY to VCC. For example, use diodes for KBRST# and GA20 if they are connected to VCC
logic of South-Bridge.
• Any pin which belongs to VSTBY power plane should not be pulled to VCC in most cases.
It may cause a leakage current path when VCC is shut down. Refer to the above consideration.
• Program GPIO ports as output mode as soon as possible
Any GPIO port used in output mode should be programmed as soon as possible since this pin may not be
driven (be floating) if its default value of pull is off.
• Disable unnecessary pull in power saving mode
Prevent from driving a pin low or let a pin be driven low but its pull high function is enabled in power saving
mode.
Prevent from driving a pin high or let a pin be driven high but its pull low function is enabled in power saving
mode.
• Handle the connector if no cable is plugged into it
The firmware or the hardware should prevent the wire connected to the connector from no driving if no cable is
plugged into the connector such as PS/2 mouse and so on.
• Disable unnecessary pull for a programmable pull pin
Pull control may be enabled for an input pin or an open-drain output pin and should be disabled for a push-pull
output pin.
Pull control should be disabled if an external pull resistor exists.
External pull resistor can control the pull current precisely since the register value of the internal pull has large
tolerance. Refer to section 8 DC Characteristics on page 251 for details
• Flash standby mode
Make flash enter standby mode to reduce power consumption if it is not used.
It's controlled by AFSTBY bit in FPCFG register.
It may be an EMI option.
• Prevent accessing Scratch RAM before entering power-saving mode
There is unnecessary power consumption after Scratch RAM is accessed in data space. Reading any other
registers of external data memory once to prevent this condition.
• Use Doze mode rather than Idle mode
Doze mode has less power consumption than Idle mode because 8032 clock is gated (stopped) in Doze mode.
Firmware design using Idle mode should be replaced with Doze mode by replacing internal timer and watchdog
by external timer and watchdog.
• Use Sleep mode rather than Doze mode
www.ite.com.tw IT8510E/TE/G V0.7.2
36
s
Pin Description
Sleep mode has less power consumption than Doze mode because PLL is power-down and EC clock is
stopped in Sleep mode, although most EC modules are not available.
Refer to Table 5-35 on page 33 for the details.
• Divide EC clock by module
After reset, EC clock is 5 MHz and the firmware sets to 10 MHz as normal operation. Divided EC clock makes
less power consumption and it’s controlled by CFSELR register.
• Gate clock by module in EC domain
All modules in EC domain are not clock gated in default but can be gated by module to get less power
consumption.
It’s controlled by CGCTRL1R and CGCTRL2R registers.
• Power-down ADC/DAC analog circuit if it is unnecessary
ADC/DAC analog circuits are power-down in default and should be activated only if necessary.
ADC analog circuit power-down is controlled by ADCEN bit in ADCCFG register.
DAC analog circuit power-down is controlled by POWDN bit in DACCTRL register.
• Connect LED cathode to output pin
It doesn’t reduce total power consumption although it reduces power consumption of IT8510.
The advantage is to reduce the temperature of IT8510 and prevent the output pad from driving large current.
T
V
S
B
Y
i
n
I
O
G
P
p
n
p
O
I
i
G
P
d
a
d
o
o
G
B
Figure 5-3. LED connection
www.ite.com.tw IT8510E/TE/G V0.7.2
37
This page is intentionally left blank.
www.ite.com.tw IT8510E/TE/G V0.7.2
38
s
Host Domain Function
6. Host Domain Functions
6.1 Low Pin Count Interface
6.1.1 Overview
The Low Pin Count (LPC) is an interface for modern ISA-free system. It is defined in Intel’s LPC Interface
Specification, Revision 1.1. There are seven host-controlled modules that can be accessed by the host via the
LPC interface. These host-controlled modules are “Logical Devices” defined in Plug and Play ISA Specification,
Version 1.0a.
6.1.2 Features
Complies with Intel’s LPC Interface Specification, Revision 1.1
Supports SERIRQ and complies with Serialized IRQ Support for PCI Systems, Revision 6.0
Supports LPCPD#, CLKRUN#
Supports Plug and Play ISA registers
I/O cycles are used to access PNPCFG and Logical Devices. Memory or FWH is used to access Flash content
through SMFI module Indirect memory cycles based on I/O cycles can also access Flash. Refer to SMFI
Module for details about indirect memory access.
The following table describes how LPC module responds the I/O, Memory and FWH cycles from Host side in
different conditions.
www.ite.com.tw IT8510E/TE/G V0.7.2
39
IT8510E
Table 6-1. LPC/FWH Response
Cycle Type/Condition Read Response Write Response
All Cycles before 10 MHz PLL Stable
I/O Cycle to PNPCFG or Logical Devices
I/O Cycle but Address Out Of Range
I/O Cycle to Locked PNPCFG/RTC by EC2I
Indirect Memory Address
NOTE 3
Memory Cycle, FWH Cycle or
Long-Wait Long-Wait
Ready Ready
Cycle Ignored Cycle Ignored
Returns 00h Cycle Ignored
Ready Ready
Long-Waits until Ready Long-Waits until Ready
NOTE 1
Indirect Memory Data
Memory Cycle, FWH Cycle or HERES=00*
Indirect Memory Data HERES=01
but Address Protected by SMFI HERES=10
HERES=11
Memory Cycle or Indirect Memory Data
After reset, IT8510 responses Long-Waits before Ready for FWH Write Cycle.
If LPC host (South-Bridge) fails to recognize Long-Wait SYNC during FWH Write Cycle, it is recommended to
use Indirect Memory.
Note 2:
FWH ID is defined in FWHID field in SHMC register.
Note 3:
Indirect Memory Cycles access the flash via LPC I/O Cycle. Indirect Memory Address is combined with
SMIMAR0, SMIMAR1, SMIMAR2 and SMIMAR3 registers. Indirect Memory Data is SMIMDR register.
6.1.4 Debug Port Function
LPC module implements two latch signals for Main-Board debug purpose. LPC I/O write cycles with address
equal to 80h will cause the LPC module to assert LPC80HL and LPC80LL signals which provide a simple
external logic to latch it in order to display on LED, even though I/O port 80h is not recognized by PNPCFG or
any Logical Device. LPC80HL goes high when it is time to latch the high-nibble of the data written to port 80h,
and LPC80LL means the low-nibble.
6.1.5 Serialized IRQ (SERIRQ)
IT8510 has programmable IRQ number for each logical device. Available IRQ numbers are 1, 2, 3, 4 5, 6, 7, 8,
9, 10, 11, 12, 14, and 15.
Different logical devices inside IT8510 can share the same IRQ number if they have the same IRQPS bit in
IRQTP register and are configured as the same triggered mode (all level-triggered or all edge triggered) in their
EC side registers.
But it is not allowed to share an IRQ number with a logical device outside IT8510. Note that edge-triggered
interrupts are not suitable for sharing in most cases.
www.ite.com.tw IT8510E/TE/G V0.7.2
40
s
Host Domain Function
6.1.6 Relative Interrupts to INTC/WUC
• Interrupt to WUC
If the LPC address of an I/O, LPC Memory or FWH Cycle on LPC bus is accepted, WU42 interrupt will be
asserted.
www.ite.com.tw IT8510E/TE/G V0.7.2
41
IT8510E
6.1.7 LPCPD# and CLKRUN#
• LPCPD#
LPCPD# is used as internal “power good” signal to indicate the status of VCC. It is recommend to be
implemented.
• CKRUN#
CLKRUN# is used to make sure that SERIRQ status is entirely translated to host side.
www.ite.com.tw IT8510E/TE/G V0.7.2
42
s
Host Domain Function
6.1.8 Check Items
If the IT8510 fails in LPC memory or I/O cycles at boot, check the following recommended items first.
• LPC/FWH memory cycles
Check whether corresponding GPIO ports of necessary FA21-17 are switched to their alternative function.
Check whether LPCRST# reset source from GPD2 or GPB7 is logic low if it is in alternative function.
Check whether LPCPD# signal from GPE6 is logic low if it is in alternative function.
Check whether hardware strap SHBM is enabled or set FWHEN/LPCMEN bit in SHMC register.
Check whether the firmware doesn’t change the read protection control.
• LPC I/O cycles
Check whether LPCRST# reset source from GPD2 or GPB7 is logic low if it is in alternative function.
Check whether LPCPD# signal from GPE6 is logic low if it is in alternative function.
Check whether hardware strap BADDR1-0 are in correct setting.
www.ite.com.tw IT8510E/TE/G V0.7.2
43
IT8510E
6.2 Plug and Play Configuration (PNPCFG)
The host interface registers of PNPCFG (Plug and Play Configuration) are listed below. The base address can
be configured via hardware strap BADDR1-0. Note that bit 0 of SWCBALR must be zero.
To access a register of PNPCFG, write target index to address port and access this PNPCFG register via data
port. If accessing the data port without writing index to address port, the latest value written to address port is
used as the index. Reading the address port register returns the last value written to it.
Table 6-2. Host View Register Map, PNPCFG
BADDR1-0
=00b
BADDR1-0
=01b
BADDR1-0
=10b
BADDR1-0
=11b
7 0 I/O Port Address
Address Port 2Eh 4Eh (SWCBAHR, SWCBALR) Reserved
Data Port 2Fh 4Fh (SWCBAHR, SWCBALR+1) Reserved
Note 1: SWCBALR should be on boundary = 2, which means bit 0 must be 0.
Note 2: Only use BADDR1-0=10b if the port pair is not 2Eh/2Fh or 4Eh/4Fh.
The host interface registers for Logic Device Control are listed below. The base address can be configured via
the following Plug and Play Configuration Registers. Note that if a logical device is activated but with base
address equal to 0000h, the host side cannot access this logical device since 0000h means I/O address range
is disabled.
Depend on PnP SW
Used Addr: (IOBAD0+00h,+02h,+06h,+07h,13h,15h)
Base address boundary = 32
KBC / Mouse Interface Unused
KBC / Keyboard Interface
Depend on PnP SW
Used Addr: (IOBAD0+00h), (IOBAD1+00h)
Base address boundary = none, none
Legacy Address = 60h,64h
Shared Memory/Flash Interface (SMFI)
Depend on PnP SW
Used Addr: (IOBAD0+0h, …+8h,+0Ch)
Base address boundary = 16
Real Time Clock (RTC)
Depend on PnP SW
Used Addr: (IOBAD0+0h,+1h), (IOBAD1+0h,+1h)
Base address boundary = 2, 2
Legacy Address = 70h-73h
Power Management I/F Channel 1 (PM1)
Depend on PnP SW
Used Addr: (IOBAD0+0h), (IOBAD1+0h)
Base address boundary = none, none
Legacy Address = 62h,66h
Power Management I/F Channel 2 (PM2)
Depend on PnP SW
Used Addr: (IOBAD0+0h), (IOBAD1+0h)
Base address boundary = none, none
Legacy Address = 68h,6Ch
Note: The boundary number means the address must be the multiple of this number.
The host interface registers for Standard Plug and Play Configuration of PNPCFG are listed below. These
registers are accessed via the Index-Data I/O ports defined in Table 6-3 on page 45. Note PNPCFG registers
are not allowed to be accessed if LKCFG bit in LSIOHA register of EC2I module is set. They are divided into two
parts, Super I/O Configuration Registers and Logical Device Registers.
www.ite.com.tw IT8510E/TE/G V0.7.2
45
IT8510E
Table 6-4. Host View Register Map via Index-Data I/O Pair, Standard Plug and Play Configuration
Registers
7 0 Index
Register Name
Logical Device Number (LDN) 07h
Chip ID Byte 1(CHIPID1) 20h
Chip ID Byte 2(CHIPID2) 21h
Chip Version (CHIPVER) 22h
Super I/O Control (SIOCTRL) 23h
Super I/O Reserved 24h
Configuration Super I/O IRQ Configuration (SIOIRQ) 25h
The IRQ numbers for Logic Device IRQ via LPC/SERIRQ are listed below. The IRQ numbers can be configured
via the above Plug and Play Configuration Registers.
Table 6-5. Interrupt Request (IRQ) Number Assignment, Logical Device IRQ via SERIRQ
KBC / Keyboard InterfaceDepend on PnP SW, Legacy IRQ Num=01
Shared Memory/Flash Interface (SMFI)Unused
Real Time Clock (RTC)Depend on PnP SW, Legacy IRQ Num=08
Power Management I/F Channel 1 (PM1)Depend on PnP SW, Legacy IRQ Num=01
Power Management I/F Channel 2 (PM2)Depend on PnP SW, Legacy IRQ Num=01
www.ite.com.tw IT8510E/TE/G V0.7.2
46
s
Host Domain Function
6.2.1 Logical Device Assignment
Table 6-6. Logical Device Number (LDN) Assignments
LDN Functional Block
04h System Wake-Up Control (SWUC)
05h KBC/Mouse Interface
06h KBC/Keyboard Interface
0Fh Shared Memory/Flash Interface (SMFI)
10h Real Time Clock (RTC)
11h Power Management I/F Channel 1 (PM1)
12h Power Management I/F Channel 2 (PM1)
The following figure indicates the PNPCFG registers is combined with Super I/O Configuration Registers and
Logical Device Configuration Registers. Logical Device Configuration Registers of a specified Logical Device is
accessable only when Logical Device Number Register is filled with corresponding Logical Device Number
listed in Table 6-6 on page 47 .
07h
20h
2Fh
30h
60h
Logical Device Number Register
Super I/O Configuration Registers
Logical Device Control Register
Select Logical Device
(04h,05h,06h,0Fh,10h,11h,12h)
Standard Logical Device
Configuration Registers
75h
F0h
FEh
Special (Vendor-Defined)
Logical Device
Configuration Registers
Figure 6-1. Host View Register Map via Index-Data Pair
www.ite.com.tw IT8510E/TE/G V0.7.2
47
IT8510E
6.2.2 Super I/O Configuration Registers
Registers with index from 07h to 2Eh contain Super I/O configuration settings.
6.2.2.1 Logical Device Number (LDN)
This register contains general Super I/O configurations.
Index: 07h
Bit R/W Default Description
7-0 R/W 04h
Logical Device Number (LDN)
This register selects the current logical device.
Valid values are 04h, 05h, 06h, 0Fh, 10h, 11h and 12h. All other values are
reserved.
6.2.2.2 Chip ID Byte 1 (CHIPID1)
Index: 20h
Bit R/W Default Description
7-0 R 85h
Chip ID Byte 1 (CHIPID1)
This register contains the Chip ID byte 1.
6.2.2.3 Chip ID Byte 2 (CHIPID2)
Index: 21h
Bit R/W Default Description
7-0 R 10h
Chip ID Byte 2 (CHIPID2)
This register contains the Chip ID byte 2.
6.2.2.4 Chip Version (CHIPVER)
This register contains revision ID of this chip
Index: 22h
Bit R/W Default Description
7-0 R 21h
Chip Version (CHIPVER)
6.2.2.5 Super I/O Control Register (SIOCTRL)
This register contains general Super I/O configurations.
0: No action.
1: Software Reset the logical devices.
0 R/W 1b
Super I/O Enable (SIOEN)
0: All Super I/O logical devices are disabled, except SWUC and
SMFI.
1: Each Super I/O logical device is enabled according to its Activate
register. (Index 30h)
6.2.2.6 Super I/O IRQ Configuration Register (SIOIRQ)
This register contains general Super I/O configurations.
Index: 25h
Bit R/W Default Description
7-5 - 0h
4 R/W 0b
Reserved
SMI# to IRQ2 Enable (SMI2IRQ2)
This bit enables using IRQ number 2 in the SERIRQ protocol as a SMI#
interrupt.
This bit is similar to LDACT bit in LDA register.
0: Disabled
1: Enabled
3-0 - 0h
Reserved
6.2.2.7 Super I/O General Purpose Register (SIOGP)
This register contains general Super I/O configurations.
Index: 26h
Bit R/W Default Description
7 R/W 0b
SIOGP Software Lock (SC6SLK)
0: Writing to bits 0-6 of SIOGP is allowed.
Other bits in this register can be cleared by Hardware and Software
reset (SIOSWRST).
1: Not allowed. Bits 6-0 of this register are read-only.
All bits in this register can be cleared by Hardware reset only.
6-5 R/W 00b
General-Purpose Scratch (GPSCR)
Reading returns the value that was previously written. Note that the EC
side can access whole PNPCFG registers via EC2I.
4 R/W 0b
RTC Disabled (RTCDE)
0: RTC is enabled according to its Activate register and SIOEN bit
in SIOCTRL register.
1: Disabled
3-0 - 0h
Reserved
www.ite.com.tw IT8510E/TE/G V0.7.2
49
IT8510E
6.2.2.8 Super I/O Power Mode Register (SIOPWR)
This register is a battery-backed register used by the EC side. See also 6.4.5.2.
Index: 2Dh
Bit R/W Default Description
7-2 - 0h
1 R/W 0b
Reserved
Power Supply Off (PWRSLY)
It indicates the EC side that the host requests to shut down the power in
legacy mode. Refer to SCRDPSO bit in SWCTL2 register on page 94
0: No action
1: It indicates power shut down if PWRSLY is Legacy mode.
Note: It always returns 0 when read.
0 R/W 0h
Power Button Mode (PWRBTN)
This bit controls the power button mode in the SWUC. Refer to SCRDPBM
bit in SWCTL2 register on page 94
0: Legacy
1: ACPI
6.2.3 Standard Logical Device ConfigurationRegisters
Registers with index from 30h to F9h contain Logical Device configuration settings. LDN of the wanted logical
device should be written to LDN register before accessing these registers.
This section lists a standard description of these registers. Some default values for each register and more
detailed information for each logical device should be referred in each section.
Reserved
Logical Device Activation Control (LDACT)
0: Disabled
The registers (Index 60h-FEh) are not accessible.
Refer to SIOEN bit in SIOCTRL
1: Enabled
6.2.3.2 I/O Port Base Address Bits [15:8] for Descriptor 0 (IOBAD0[15:8])
This register will be read-only if it is unused by a logical device.
The 16-bit base address must not be 0000h and might have the boundary limit for each logical device.
Index: 60h
Bit R/W Default Description
7-0 R/W Depend on
Logical
Device
I/O Port Base Address Bits [15:8] for Descriptor 0 (IOBA[15:8])
This register indicates selected I/O base address bits 15-8 for I/O
Descriptor 0.
6.2.3.3 I/O Port Base Address Bits [7:0] for Descriptor 0 (IOBAD0[7:0])
This register will be read-only if it is unused by a logical device.
The 16-bit base address must not be 0000h and might have the boundary limit for each logical device.
Index: 61h
Bit R/W Default Description
7-0 R/W Depend on
Logical
Device
I/O Port Base Address Bits [7:0] for Descriptor 0 (IOBA[7:0])
This register indicates selected I/O base address bits 7-0 for I/O Descriptor
0.
6.2.3.4 I/O Port Base Address Bits [15:8] for Descriptor 1 (IOBAD1[15:8])
This register will be read-only if it is unused by a logical device.
The 16-bit base address must not be 0000h and might have the boundary limit for each logical device.
Index: 62h
Bit R/W Default Description
7-0 R/W Depend on
Logical
Device
I/O Port Base Address Bits [15:8] for Descriptor 1 (IOBA[15:8])
This register indicates selected I/O base address bits 15-8 for I/O
Descriptor 1.
www.ite.com.tw IT8510E/TE/G V0.7.2
51
IT8510E
6.2.3.5 I/O Port Base Address Bits [7:0] for Descriptor 1 (IOBAD0[7:0])
This register will be read-only if it is unused by a logical device
The 16-bit base address must not be 0000h and might have the boundary limit for each logical device.
Index: 63h
Bit R/W Default Description
7-0 R/W Depend on
Logical
Device
I/O Port Base Address Bits [7:0] for Descriptor 0 (IOBA[7:0])
This register indicates selected I/O base address bits 7-0 for I/O Descriptor
1.
6.2.3.6 Interrupt Request Number and Wake-Up on IRQ Enable (IRQNUMX)
This register will be read-only if it is unused by a logical device.
Index: 70h
Bit R/W Default Description
7-5 - 0h
4 R/W 0
Reserved
Wake-Up IRQ Enable (WKIRQEN)
Allow this logical device to trigger a wake-up event to SWUC. This bit
should not be set in SWUC Logical Device since it is used to collect IRQ
sources for SWUC.
0: Disabled
1: Enabled
3-0 R/W Depend on
Logical
Device
IRQ Number (IRQNUM)
Select the IRQ number (level) asserted by this logical device via SERIRQ.
00d: This logical device doesn’t use IRQ.
01d-012d: IRQ1-12 are selected correspondingly.
14d-15d: IRQ14-15 are selected correspondingly.
Otherwise: Invalid IRQ routing configuration.
6.2.3.7 Interrupt Request Type Select (IRQTP)
This register will be read-only if it is unused by a logical device.
This bit indicates the polarity of the interrupt request.
0: IRQ request is buffered and applied on SERIRQ.
1: IRQ request is inverted before being applied on SERIRQ.
This bit should be configured before the logical device is activated.
0 R/W Depend on
Logical
Device
Interrupt Request Triggered Mode Select (IRQTMS)
This bit indicates that edge or level triggered mode is used by this logical
device and should be updated by EC firmware via EC2I since the triggered
mode is configured in EC side registers. This bit is just read as previously
written (scratch register bit) and doesn’t affect SERIRQ operation.
0: edge triggered mode
1: level triggered mode
www.ite.com.tw IT8510E/TE/G V0.7.2
52
s
Host Domain Function
6.2.3.8 DMA Channel Select 0 (DMAS0)
Index: 74h
Bit R/W Default Description
7-3 - 0h
2-0 R 4h
Reserved
DMA Channel Select 0
A value of 4 indicates that no DMA channel is active.
6.2.3.9 DMA Channel Select 0 (DMAS1)
Index: 75h
Bit R/W Default Description
7-3 - 0h
2-0 R 4h
Reserved
DMA Channel Select 1
A value of 4 indicates that no DMA channel is active.
6.2.4 System Wake-Up Control (SWUC) ConfigurationRegisters
This section lists default values for each register and more detailed information for this logical device. Some
register bits will be read-only if unused.
This section lists default values for each register and more detailed information for this logical device. Some
register bits will be read-only if unused.
This section lists default values for each register and more detailed information for this logical device. Some
register bits will be read-only if unused.
This section lists default values for each register and more detailed information for this logical device. Some
register bits will be read-only if unused.
These bits correspond to the 4-bit ID which is part of a FWH transaction.
3 R/W Strap
BIOS FWH Enable (FWHEN)
It enables this chip to respond to FWH access.
0: Disabled (default as SHBM = 0)
1: Enabled (default as SHBM = 1)
2 R/W 0b
User-Defined Memory Space Enable (USRMEM)
It enables this chip to respond to LPC or FWH transactions to the
user-defined memory space.
Note: User-defined memory is specified by SHMBAH and SHMBAL
registers.
1 R/W 0b
BIOS Extended Space Enable (BIOSEXTS)
This bit expands the BIOS address space to make this chip response the
Extended BIOS address range.
0 R/W Strap
BIOS LPC Enable (LPCMEN)
It enables this chip to respond to LPC Memory and Indirect Memory
accesses.
0: Disabled (default as SHBM = 0)
1: Enabled (default as SHBM = 1)
6.2.7.9 Shared Memory Base Address High Byte Register (SHMBAH)
This register indicates the base address of the user-defined memory block mapped to the shared memory.
Index: F5h
Bit R/W Default Description
7-0 R/W 00h
Shared Memory Base Address High Byte (SHMBA[15:8])
It contains the high 8 bits of the base address of the user-defined memory
block.
6.2.7.10 Shared Memory Base Address Low Byte Register (SHMBAL)
This register indicates the base address of the user-defined memory block mapped to the shared memory.
Index: F6h
Bit R/W Default Description
7-0 R/W 00h
Shared Memory Base Address Low Byte (SHMBA[7:0])
It contains the low 8 bits of the base address of the user-defined memory
block.
Normally the M-bus grant parks on 8032 side for code fetch and switches to LPC side if memory transactions on
LPC bus. To improve the host memory access performance, the M-bus grant parks on LPC side temporarily
during LPC Burst Window.
LPC Burst Window starts from the time when CLPCBT counts of “Continuous” LPC memory cycles are seen by
IT8510 and stops at the time when a “Non-continuous” LPC memory cycles are detected.
LPC memory cycles are “Continuous” if the Idle count between two LPC memory cycles is smaller than LPCIT
clocks.
Index: F8h
Bit R/W Default Description
7-6 - 5-4 R/W 01b
Reserved
Continuous LPC Burst Threshold (CLPCBT)
Define the threshold count to start LPC Burst Window.
Define the threshold count to be a “Continuous” LPC memory access.
0000b: Disable LPC Burst
Otherwise: LPCIT*4 + 3 clocks (7 ~ 59 clocks)
Default value is 35 clock
Note LPC Burst is controlled by DLPCB bit in FPCFG register, too.
6.2.8 Real Time Clock (RTC) ConfigurationRegisters
This section lists default values for each register and more detailed information for this logical device. Some
register bits will be read-only if unused.
6.2.9 Power Management I/F Channel 1 ConfigurationRegisters
This section lists default values for each register and more detailed information for this logical device. Some
register bits will be read-only if unused.
6.2.9.2 I/O Port Base Address Bits [15:8] for Descriptor 0 (IOBAD0[15:8])
It contains Data Register Base Address Register.
Index: 60h
Bit R/W Default Description
7-0 R/W 00h
Refer to section 6.2.3.2 on page 51.
Bits 7-3 (IOBAD0[15:11]) are forced to 00000b and can’t be written.
6.2.9.3 I/O Port Base Address Bits [7:0] for Descriptor 0 (IOBAD0[7:0])
It contains Data Register Base Address Register.
Index: 61h
Bit R/W Default Description
7-0 R/W 62h
Refer to section 6.2.3.3 on page 51.
www.ite.com.tw IT8510E/TE/G V0.7.2
63
IT8510E
6.2.9.4 I/O Port Base Address Bits [15:8] for Descriptor 1 (IOBAD1[15:8])
It contains Command/Status Register Base Address Register.
Index: 62h
Bit R/W Default Description
7-0 R/W 00h
Refer to section 6.2.3.4 on page 51.
Bits 7-3 (IOBAD1[15:11]) are forced to 00000b and can’t be written.
6.2.9.5 I/O Port Base Address Bits [7:0] for Descriptor 1 (IOBAD0[7:0])
It contains Command/Status Register Base Address Register.
Index: 63h
Bit R/W Default Description
7-0 R/W 66h
Refer to section 6.2.3.5 on page 52.
6.2.9.6 Interrupt Request Number and Wake-Up on IRQ Enable (IRQNUMX)
Index: 70h
Bit R/W Default Description
3-0 R/W 01h
Refer to section 6.2.3.6 on page 52.
6.2.9.7 Interrupt Request Type Select (IRQTP)
Index: 71h
Bit R/W Default Description
7-2 R/W 03h
Refer to section 6.2.3.7 on page 52.
6.2.10 Power Management I/F Channel 2 Configuration Registers
This section lists default values for each register and more detailed information for this logical device. Some
register bits will be read-only if unused.
6.2.10.2 I/O Port Base Address Bits [15:8] for Descriptor 0 (IOBAD0[15:8])
It contains Data Register Base Address Register.
Index: 60h
Bit R/W Default Description
7-0 R/W 00h
Refer to section 6.2.3.2 on page 51.
Bits 7-3 (IOBAD0[15:11]) are forced to 00000b and can’t be written.
6.2.10.3 I/O Port Base Address Bits [7:0] for Descriptor 0 (IOBAD0[7:0])
It contains Data Register Base Address Register.
Index: 61h
Bit R/W Default Description
7-0 R/W 68h
Refer to section 6.2.3.3 on page 51.
6.2.10.4 I/O Port Base Address Bits [15:8] for Descriptor 1 (IOBAD1[15:8])
It contains Command/Status Register Base Address Register.
Index: 62h
Bit R/W Default Description
7-0 R/W 00h
Refer to section 6.2.3.4 on page 51.
Bits 7-3 (IOBAD1[15:11]) are forced to 00000b and can’t be written.
6.2.10.5 I/O Port Base Address Bits [7:0] for Descriptor 1 (IOBAD0[7:0])
It contains Command/Status Register Base Address Register.
Index: 63h
Bit R/W Default Description
7-0 R/W 6Ch
Refer to section 6.2.3.5 on page 52.
6.2.10.6 Interrupt Request Number and Wake-Up on IRQ Enable (IRQNUMX)
Index: 70h
Bit R/W Default Description
7-0 R/W 01h
Refer to section 6.2.3.6 on page 52.
6.2.10.7 Interrupt Request Type Select (IRQTP)
Index: 71h
Bit R/W Default Description
7-0 R/W 03h
www.ite.com.tw IT8510E/TE/G V0.7.2
Refer to section 6.2.3.7 on page 52.
65
IT8510E
www.ite.com.tw IT8510E/TE/G V0.7.2
66
s
6.2.11 Programming Guide
To read or write the target register (TR)
at target address(TA) of PNPCFG
Host Side
Approach 1
Host Domain Function
Host Side
To read or write the target register (TR)
at target address(TA) of PNPCFG
Approach 2
To read or write the target register (TR)
Host Side
at target address(TA) of PNPCFG
Approach 3
Hw strap BADDR=00
Write TA to IO port
2Eh
by LPC IO cycle
Read or write TR
at IO port 2Fh
by LPC IO cycle
To read or write the target register (TR)
Host Side
at target Index (TI) of PNPCFG
TI = 00h~2Eh
(Assume BADDR=00)
Hw strap BADDR=01
Write TA to IO port
4Eh
by LPC IO cycle
Read or write TR
at IO port 4Fh
by LPC IO cycle
Hw strap BADDR=03
Write TA to IO port
(SWCBAHR,SWXBALR)
by LPC IO cycle
Read or write TR
at
(SWCBAHR,SWXBALR+1)
by LPC IO cycle
Host Side
To read or write the target register (TR)
at target Index(TI) of PNPCFG
TI=30h~FEh, belongs to target logical device (TLD)
(Assume BADDR=00)
Write 07h to IO port 2Eh
by LPC IO cycle
Write TLD to IO port 2Fh
by LPC IO cycle
Write TI to IO port 2Eh
by LPC IO cycle
Read or write TR
at IO port 2Fh
by LPC IO cycle
Write TI to IO port 2Eh
by LPC IO cycle
Read or write TR
at IO port 2Fh
by LPC IO cycle
www.ite.com.tw IT8510E/TE/G V0.7.2
67
IT8510E
To active the target logical device (TLD)
of PNPCFG
Write 07h to IO port 2Eh
by LPC IO cycle
Write TLD to IO port 2Fh
by LPC IO cycle
Write 61h to IO port 2Eh
Write a new value to IO port 2Fh
if the default value is not wanted
Write 63h to IO port 2Eh
Write a new value to IO port 2Fh
if the default value is not wanted
Write 71h to IO port 2Eh
Write a new value to IO port 2Fh
if the default value is not wanted
LDA
IOBAD0
IOBAD1
IRQNUMX
Write 60h to IO port 2Eh
Write a new value to IO port 2Fh
if the default value is not wanted
Write 62h to IO port 2Eh
Write a new value to IO port 2Fh
if the default value is not wanted
Write 70h to IO port 2Eh
Write a new value to IO port 2Fh
if the default value is not wanted
RTC and SMFI logical device have
more special registers to be filled
Write 30h to IO port 2Eh
Write 01h to IO port 2Fh
to active this logical device
Note: To enable an interrupt to host side through
SERIRQ, the firmware enables it in registers at
PNPCFG and relative registers in EC side.
Figure 6-2. Program Flow Chart for PNPCFG
See also section 7.12.5 on page 239 for accessing PNPCFG through EC2I.
IOBAD0
IOBAD1
IOBAD0
www.ite.com.tw IT8510E/TE/G V0.7.2
68
s
Host Domain Function
6.3 Shared Memory Flash Interface Bridge (SMFI)
6.3.1 Overview
The bridge provides the host to access the shared memory. It also provides EC code address space mapped
into host domain address space, and locking mechanism for read/write protection.
6.3.2 Features
Supports memory mapping between host domain and EC domain
Supports read/write/erase flash operations and locking mechanism
Supports two shared memory access paths: host and EC
Supports two flash contents protection: different access paths and different memory block
Supports timing control for memory device (flash)
6.3.3 Function Description
6.3.3.1 Flash Requirement
“Read Cycle Time” and “Write Cycle Time” of the flash/EPROM have to be faster than or equal to t
FRDD
(Refer
to Table 9-8. Flash Read Cycle AC Table).
6.3.3.2 Host to M Bus Translation
The SMFI provides an interface between the host bus and the M bus, the flash is mapped into the host memory
address space for host accesses, the flash is also mapped into the EC memory address space for EC
accesses.
An M bus transaction is generated by the host bus translations and has the following three types:
• 8-bit LPC Memory Read/Write
• 8-bit FWH Read/Write
• 8-bit Indirect Memory Read/Write
After the LPC address translation is done, the host memory transaction is forwarded to M-bus (flash interface) if
it is accessing an unprotected region. The host side can’t issue a write transaction until the firmware write 1 to
HOSTWA bit SMECCS register. See also Table 3-3 on page 8 and Table 3-4 on page 8.
Note: The flash bus doesn’t have the highest performance until writing 00h to MZCFG register and 08h to
SMZCFG register.
6.3.3.3 Memory Mapping
The host memory addresses are mapped into the following regions shown in the following table. Some regions
are always mapped and some are mapped only when the corresponding register is active. And these regions
may be mapped into the same range in the flash space. See also Table 3-1 on page 8.
www.ite.com.tw IT8510E/TE/G V0.7.2
69
IT8510E
Table 6-14. Mapped Host Memory Address
Memory Address Range
(byte)
FFC0_0000h-FFFF_FFFFh
386 Mode BIOS Range
Region Description
This is the memory space whose maximum value is up to
4M bytes.
If the flash size defined in FMSSR register is smaller than
4M bytes, the remaining space is treated as “Out of
Range”
000F_0000h-000F_FFFFh
Legacy BIOS Range
The total is 64K inside lower 1M legacy BIOS range.
000E_0000h-000E_FFFFh
Extended Legacy BIOS Range
The total is 64K inside lower 1M legacy BIOS range.
Following memory transactions are based on LPC, FWH or I/O Cycles which are valid only when corresponding
LPCMEN/FWHEN bit in SHMC register is enabled.
Legacy BIOS Range
Always handle.
Extended Legacy BIOS Range
Handle only when BIOSEXTS bit in SHMC register is active. Otherwise, transactions are ignored.
386 Mode BIOS Range
Always handle.
User-Defined Shared Memory Space
Handle only when USRMEM bit in SHMC register is active. Otherwise, transactions are ignored.
Indirect Memory Address
Indirect Memory Cycles are memory transactions based on LPC I/O Cycles.
This address specified in SMIMAR3-0 is used as follows:
Translated 32-bit host address = { SMIMAR3[7:0], SMIMAR2[7:0], SMIMAR1[7;0], SMIMAR0[7:0]}
6.3.3.4 Indirect Memory Read/Write Transaction
The following I/O mapped registers can be used to perform an M bus transaction using an LPC I/O transaction:
• Indirect Memory Address registers (SMIMAR 3-0)
Stand for host address bit 31 to 0.
• Indirect Memory Data register (SMIMDR)
Stand for read or write data bit 7 to 0.
When LPC I/O writes to IMD register, SMFI begins a flash read with SMIMAR3-0 as the addresses. IT8510
responses Long-Waits until the transaction on M-bus (flash interface) is completed.
When LPC I/O read cycle from SMIMDR register begins a flash write with using the SMIMAR3-0 as the address.
The data back from SMIMDR register is used to complete the LPC I/O read cycle.
The indirect memory read/write transactions use the same memory mapping and locking mechanism as the
LPC memory read/write transactions.
6.3.3.5 Locking Between Host and EC Domains
A hardware arbiter handles flash read/write translation between the host and EC side. Normally the grant is
parked on the EC side and switches to the host side when the memory transaction on LPC bus (see also section
6.2.7.12 and 6.3.3.9).
www.ite.com.tw IT8510E/TE/G V0.7.2
70
s
Host Domain Function
If the EC side is code fetching, any host access will be deferred or aborted depending on HERES bit in
SMECCS register.
If the host side is accessing, the EC side is pending to code fetch.
When the host wants to erase or program the flash, the signaling interface (Semaphore Write or KBC/PMC
extended command) notifies the firmware to write 1 to HOSTWA bit in SMECCS register and relative register
listed in Table 3-3 on page 8. EC 8032 should fail to code fetch due to flash busying for erasing/programming
and Scratch ROM should be applied (see also section 6.3.3.8). Once the host accessing to the flash is
completed, the host should indicate this to the EC, allowing EC to clear HOSTWA bit and resume normal
operation. The EC can clear HOSTWA bit at any time, and prevent the host from issuing any erase or program
operations.
6.3.3.6 Host Access Protection
The software can use a set of registers to control the host read/write protection functionality. The protection
block can be divided into two types: 8k size and 64k size; the block’s read/write protection flags may be set
individuality. A Lock Protect flag may prevent read/write protection flag from changing in the future.
Once locked, the lock bit and the read/write enable bits may be restored only after host domain hardware reset.
The EC can override the host settings and prevent host access to certain regions of the shared memory. The
override may be set individuality for read and write. In the first 128 Kbytes of address space, each EC-controlled
block is 8 Kbytes. For the rest of the memory space, the blocks are 64 Kbytes each.
See Table 3-4 on page 8 for the details.
After reset, all memory ranges are allowed host read but inhibited to write (erase/program).
6.3.3.7 Response to a Forbidden Access
A forbidden access is generated by a translated host address which is protected.
The EC responds to a forbidden access by generating an interrupt INT23 (if enabled by HERRIEN bit in
SMECCS register). HWERR and HRERR in the SMECCS register indicate the forbidden access to write or read
respectively .The response on the host bus is according to the HERES set in the SMECSS.
BIT(HERES):
00: Drive Long Wait for read; ignore write
01: Read back 00h; ignore write
10: Drive error SYNC for both read and write
11: Read back long sync; write back error sync
6.3.3.8 Scratch SRAM
This SRAM is scratch SRAM, which can be located at data space or code space (BUT not the same time).
Where it is located depends on Scratch SRAM Map Control (SSMC) in FBCFG register. It is called Scratch
RAM when being located at data space and called Scratch ROM when being located at code space.
Scratch ROM is mapped to the top of 2KB of EC code size, that is, 62K ~ 64K.
Code space of 0K ~ 62K is always mapped into the external flash space.
Code space of 62K ~ 64K may be mapped into the external flash space or Scratch ROM.
Refer to
Figure 3-3 on page 9 for the details.
Application:
When programming flash is processing, the flash will be busy and code fetch from flash by 8032 and will be
invalid and cause 8032 fail to execute instructions. It means the firmware must copy necessary instructions from
code space (by MOVC instruction) to Scratch SRAM, switch Scratch SRAM to Scratch ROM, and jump to
Scratch ROM before programming flash.
www.ite.com.tw IT8510E/TE/G V0.7.2
71
IT8510E
Flash Programming Steps:
(a) The host side communicates to EC side via KBC/PMC extended or semaphore registers
(b) EC side: Write 1 to HOSTWA bit in SMECCS register
(c) EC side: Write 0 to SMECOWPR0-9 (for example, 4-M bytes range)
(Write is allowed in host side, and read is allowed in default.)
(Refer to Table 3-3. Flash Read/Write Protection Controlled by EC Side on page 8)
(d) EC side: Copy necessary code to Scratch RAM
(e) EC side: Make the host processor enter SMM mode if necessary
(f) EC side: Switch to Scratch ROM by SSMC bit in FBCFG register
(g) EC side: Jump instruction to Scratch ROM
(h) Host side: Remove protection in the host side
(Refer to Table 3-4. Flash Read/Write Protection Controlled by Host Side on page 8)
(i) Host side: Set relative memory-write registers in South-Bridge
(j) Host side: Start flash programming
(k) End flash programming and reset EC domain if necessary.
(Refer to section 5.5 on page 29)
6.3.3.9 No-wait Mode
Normally the M-bus grant parks on the 8032 side for code fetch and switches to the LPC side if memory
transactions on LPC bus. No-wait mode and Wait mode defines how M-bus grants to LPC side. IT8510 drives
Long-Wait sync until flash data is ready.
No-wait mode: All is hardware implemented and flash access switch to LPC Memory/FWH access immediately
if requested regardless of firmware. The firmware must enter No-wait mode before entering Idle/Doze/Sleep
mode.
Table 6-15. M-bus Grant Behavior
M-bus Grant
Status
Interleave M-bus grant parks on EC side
and switches to host side (LPC)
back and forth if the host side
issues memory access.
LPC Burst Host side (LPC) owns the
M-bus for a while and EC side
cannot access at the same
Description Register Configuration Note
To prevent entering “LPC Burst”
status, assign the value of LPCIT
field in LPCMCTRL register as
0000b.
The value of LPCIT field in
LPCMCTRL register is greater
than 0000b.
time.
If host side (LPC) starts
memory access, this status will
be entered from “EC Occupy”
status with Idle/Doze mode or
Interleave status and it
automatically exists when host
side stops memory access.
Concurrent Host side owns the M-bus and
EC executes code-fetch from
Scratch ROM at the same time.
SSMC bit in FBCFG register is
1b. (Scratch ROM)
Scratch RAM is not
available when Scratch
ROM mode.
6.3.3.10 Flash Interface
• Late Write and Early Write
www.ite.com.tw IT8510E/TE/G V0.7.2
72
s
La te Write
Flash Clock
FA[21:0]
FRD#
FWR#
FCS#
FD[7:0]
*NOTE1*NOTE2
TidleT1T
insert 1T
WAITN
=7 to 0T2T
Host Domain Function
HOLDN
=3 to 0Tdone Tidle
TidleT1T
Early Write
Flash Clock
FA[21:0]
FRD#
FWR#
FCS#
FD[7:0]
insert 1T
• Fast Read and Normal Read
*NOTE1*NOTE2
TidleT1T
Normal Read
Flash Clock
FA[21:0]
FWR#
FRD#
FCS#
FD[7:0]
Fast Read
insert 1T
*NOTE3
TidleT1T
WAITN
=7 to 0T2T
Figure 6-3. Late Write and Early Write
WAITN
=7 to 0T2T
WAITN
=7 to 0T
HOLDN
=3 to 0Tdone Tidle
HOLDN
=3 to 0Tdone Tidle
HOLDN
=3 to 0Tdone Tidle
Flash Clock
FA[21:0]
FWR#
FRD#
FCS#
FD[7:0]
insert 1T
Figure 6-4. Fast Read and Normal Read
Note 1: Tidle cycle inserted when ICBBC = 1 in SMZCFG register.
Note 2: Tidle cycle inserted when ICABC = 1 in SMZCFG register.
Note 3: Fast Read cycles represent when FRE = 1 in SMZCFG register
Note 4:
www.ite.com.tw IT8510E/TE/G V0.7.2
73
IT8510E
Flash Clock Frequency = (EC Clock Frequency) / (FTDIV +1)
T
= WAITN value in MZCFG register
WAITN
T
= HOLDN value in MZCFG register
HOLDN
• Host Memory Read/Write Minimum Latency
The followings are the performance of host memory access, which is based on 10 MHz EC clock.
The firmware should detect the host side status by LPCRST# or others, and switch EC clock to the highest 10
MHz to get the best performance of host memory access.
LPC BusT1T2T3T11 T12T27 T28 T29 T30 Trou Trou T1
LPCCLK (33Mhz)
LFRAME#
LAD[3:0]
FDCF0FD
M BusTidle
Flash Clock (e.g. 10 Mhz)
FA[21:0]
Tf2cs = 23 ~24 T
FCS#
FRD#
FWR#
FD[7:0]
Note : 1. Tf2a denote lpc frame assert to lpc memory address ready, need 10 ~11 T ( LPC Clock)
2. Tf2cs denote lpc frame assert to flash chip select active, need 23 ~24 T ( LPC Clock)
3. To2r denote flash read data output to first LPC nibble read data output, need 1 ~2 T ( LPC Clock)
4. Clk_fls is programmed into clk_ec (FMPSR register set to 0 ) ;
t1t2Tidle
To2r
Hold time/Wait time is set to 0(FBCFG=02h;MZCFG=0h;SMZCFG=08H); in no-wai t mode;
Figure 6-5. Minimum Latency Timing of Flash Memory Read Cycle
www.ite.com.tw IT8510E/TE/G V0.7.2
74
s
Host Domain Function
LPC BusT1 T2T3T11 T12T19 T20 Trou Trou
LPCCLK (33Mhz)
LFRAME#
LAD[3:0]
FDCF0F
M BusTidle
Flash Clock (e.g. 10 Mhz)
FA[21:0]
FCS#
FRD#
FWR#
FD[7:0]
Note : 1. Tf2a denote lpc frame assert to lpc m emory address ready, need 10 ~11 T ( LPC Clock)
Tf2cs = 12 ~13 T
2. Tf2cs denote lpc frame assert to flash chip select active, need 12~13T ( LPC Clock)
3. To2r denote flash read data output to first LPC nibble read data output, need 1 ~2 T ( LPC Clock)
4. Clk_fls is programmed into clk_ec (FMPSR register set to 0 ) ;
old time/Wait time
H
set to 0 (FBCFG=02h; MZCFG=0h; SMZCFG=08H); in no-wait mode;
is
t1t2
To2r
Figure 6-6. Minimum Latency Timing of Flash Memory Read Cycle in LPC Burst
Note : 1. Tf2a denote lpc frame assert to lpc memory address ready, need 10 ~11 T ( LPC Clock)
2. Tf2cs denote lpc frame assert to flash chip select active, need 26 ~27 T ( LPC Clock)
3. Tf2wh denote lpc frame assert to flash write go high, need 33 ~34 T ( LPC Clock)
4. Clk_fls is programmed into clk_ec (FMPSR register set to 0 ) ;
t1t2t3Tidle
Hold time/Wait time is set to 0(FBCFG=02h;MZCFG=0h;SMZCFG=08H); in no-wai t mode;
Figure 6-7. Minimum Latency Timing of Flash Memory Write Cycle
www.ite.com.tw IT8510E/TE/G V0.7.2
75
IT8510E
6.3.4 EC Interface Registers
The registers of SMFI can be divided into two parts: Host Interface Registers and EC Interface Registers and
this section lists the EC interface. The EC interface can only be accessed by the internal 8032 processor. The
base address for SMFI is 1000h.
The FBIU (Flash Bus Interface Unit) directly interfaces with the flash device. The FBIU also defines the access
time to the flash base address from 00_0000h to 3F_FFFFh (4M bytes). EWR bit controls memory cycles on
M-bus (flash interface).
Address Offset: 00h
Bit R/W Default Description
7 - 0b
Scratch SRAM Map Control (SSMC)
0: Scratch RAM (data space).
1: Scratch ROM (code space).
6 - 0h
Override Hardware Strap SHBM (OVRSHBM)
Override hardware strap SHBM and always treat its result as 1.
5 - 0h
Override Hardware Strap BADDR1-0 (OVRBADDR)
Override hardware strap BADDR1-0 and always treat its result as 10b.
This register provides general control on banking and flash standby.
Address Offset: 01h
Bit R/W Default Description
7 R/W 1b
Banking Source Option (BSO)
0: Use 8032 P1[0] and P1[1] as code banking source.
1: Use ECBB[1:0] in FECBSR register as code banking source.
Using P1 as banking source has less instruction count since only
“MOV” is invoked rather than “MOVX”, although T2 and T2EX are
used in other bits in P2.
6 R/W 1b
Auto Flash Standby (AFSTBY)
1: Make the flash enter the standby mode by driving FCS# high when
EC is in the Idle/Doze/Sleep mode
0: Prevent the flash from entering the standby mode
5 R/W 1b
4 R/W 1b
Reserved
Disable LPC Burst (DLPCB)
0: LPC Burst mode is dependent on LPCMCTRL register in the host
side.
1: LPC Burst mode is disabled. (default)
3-1 R/W 1111b
0 R/W 1b
Reserved
Host Side Protection Disable(HSPD)
0: Host side protection disabled, all read and write protection bits are
ignored in SMHAPR1~4 register.
1: Host side protection enabled, all read and write protection bits can
protect their memory block in SMHAPR1~4 register
6.3.4.3 Memory Zone Configuration Register (MZCFG)
The MZCFG register controls the configuration of the memory cycles on M-bus (flash interface).
Note: The flash bus doesn’t have the highest performance until writing 00h to MZCFG register and 08h to
SMZCFG register.
Address Offset: 02h
Bit R/W Default Description
7 - 0b
6 R/W 1b
Reserved
Wait on Burst Read (WBR)
When set 1, one wait state (TBW) is added on a burst read cycle.
0: No TBW
1: TBW
5 R/W 0b
4-3 R/W 11b
Reserved
Hold Number (HOLDN)
Number of Thold clock cycles.
4-3 Number
000 : none
001 : One
010 : Two
011 : Three(default)
www.ite.com.tw IT8510E/TE/G V0.7.2
77
IT8510E
Bit R/W Default Description
2-0 R/W 111b
Wait Number (WAITN)
Number of TIW clock cycles
The following bits are invalid when the FRE bit in SMZCFG register is set to1.
2-0 Number
000 : none
001 : One
010 : Two
011 : Three
100 : Four
101 : Five
110 : Six
111 : Seven(default)
6.3.4.4 Static Memory Zone Configuration Register (SMZCFG)
The SMZCFG register also controls the configuration of the memory cycles on M-bus (flash interface).
Note: The flash bus doesn’t have the highest performance until writing 00h to MZCFG register and 08h to
SMZCFG register.
Address Offset: 03h
Bit R/W Default Description
7-4 - 0h
3 R/W 0b
Reserved
Fast Read Enable (FRE)
0: Normal read cycle takes at least two clock cycles
1: Normal read cycle takes one clock cycles
2 R/W 1b
Idle Clock Before Bus Cycle (ICBBC)
Inserts an idle clock before the current cycle when the next cycle is in a
different zone.
0: No idle cycle inserted
1: idle cycle inserted
1 R/W 1b
Idle Clock After Bus Cycle (ICABC)
Insert an idle clock followed the current cycle when the next cycle is in a
different zone.
The register is used to select EC banking area Bank 0~3 when BSO =1 in FPCFG register.
Address Offset: 05h
Bit R/W Default Description
7-2 - 0h
1-0 R/W 00b
Reserved
EC Banking Block (ECBB)
When ECBB is set to 00, EC code uses conventional code area (maximum
64k) as code memory.
Common Bank 32k-byte flash mapping range is from 00_0000h to 00_7FFFh.
Bank 0 32k-byte flash mapping range is from 00_8000h to 00_FFFFh.
Bank 1 32k-byte flash mapping range is from 01_0000h to 01_7FFFh.
Bank 2 32k-byte flash mapping range is from 01_8000h to 01_FFFFh.
Bank 3 32k-byte flash mapping range is from 02_0000h to 02_7FFFh.
See also Figure 3-1 on page 6.
Bits 1-0:
00: Select Common Bank + Bank 0
01: Select Common Bank + Bank 1
10: Select Common Bank + Bank 2
11: Select Common Bank + Bank 3
If A15 of 8032 code memory equals to 0, select Common Bank, otherwise
select Bank 0, 1, 2 or 3.
6.3.4.6 Flash Memory Size Select Register (FMSSR)
The register provides the selection for the external flash memory size and the minimum size of the flash is
defined as 128K byte.
Address Offset: 07h
Bit R/W Default Description
7-6 - 0h
5-0 R/W 111111b
Reserved
Flash Memory Size Select (FMSS)
These bits select the external flash memory size and the maximum memory
size is 4M bytes.
This register selects the prescaler divider ratio. The value of the register is used to divide the EC clock.
Address Offset: 10h
Bit R/W Default Description
7-4 - 0h
3-0 R/W 0h
Reserved
Prescaler Divider Value (FTDIV)
This register value divides the EC clock into flash clock Frequency.
Flash Clock Frequency = (EC Clock Frequency) / (FTDIV +1)
Normally the EC clock frequency is 10 MHz and may be divided by CFSELR
register.
The valid FTDIV range is 0 to 15.
6.3.4.8 Shared Memory EC Control and Status Register (SMECCS)
The following set of registers is accessible only by the EC. The registers are applied to VSTBY.
This register provides the flash control and status of a restricted access.
Address Offset: 20h
Bit R/W Default Description
7 R/W 0b
Host Semaphore Interrupt Enable (HSEMIE)
It enables interrupt to 8032 via INT22 of INTC.
0: Disable the host semaphore (write) interrupt to the EC.
1: The interrupt is set (level high) if HSEMW bit is set.
6 R/WC 0b
Host Semaphore Write (HSEMW)
0: Host has not written to HSEM3-0 field in SMHSR register.
1: Host has written to HSEM3-0 field in SMHSR register. Writing 1 to
this bit to clear itself and clear internal detect logic. Writing 0 has no
effect.
5 R/W 0b
Host Write Allow (HOSTWA)
0: The SMFI does not generate write transactions on the M bus.
1: The SMFI can generate write transactions on the M bus.
4-3 R/W 00b
Host Error Response (HERES)
These bits control response types on read/write translation from/to a
protected address.
1-0 Number
00 : Drive Long Wait for read; ignore write
01 : Read back 00h; ignore write
10 : Drive error SYNC for both read and write
11 : Read back long sync; write back error sync
2 R/W 0b
Host Error Interrupt Enable (HERRIEN)
It enables interrupt to 8032 via INT23 of INTC.
0: Disable
1: The interrupt is set (level high) if HRERR or HWERR bit is set.
1 R/WC 0b
Host Write Error (HWERR)
0: No error is detected during a host-initiated write.
1: It represents the host write to a write-protected address. Writing 1 to
this bit clears it to 0. Writing 0 has no effect.
0 R/WC 0b
Host Read Error (HRERR)
0: No error is detected during a host-initiated read.
1: It represents the host reads to a read-protected address. Writing 1 to
This register provides eight semaphore bits between the EC and the host. Bits 3-0 may be set by the host and
Bits 7-4 may be set by the EC. The register is reset on host domain hardware reset.
This is the register the same as the one in section 6.3.5.7 but they are in different views.
Address Offset: 22h
Bit R/W Default Description
7-4 R/W 0h
EC Semaphore (CSEM3-0)
These four bits may be written by the EC and read by both the host and the
EC
3-0 R 0h
Host Semaphore (HSEM3-0)
These four bits may be written by the host and read by both the host and the
EC.
SMECORPR 0-9 are 8-bit registers that permit EC to override on the host read protection bits. To allow the host
to read a memory location, both the Host Read Protection bit controlled through the SMHAPR (1-2) and the
associated bit in SMECORPR 0-9 should be cleared. Each bit in this register is related with a memory block.
Bits in these registers may be Read Only or RW accroding to their position and the size of the EC and host boot
blocks.
Address Offset: 23h
Bit R/W Default Description
7-0 R/W 00h
Override Read Protect Low Address (ORPLA7-0)
Address Offset: 24h
Bit R/W Default Description
7-0 R/W 00h
Override Read Protect Low Address (ORPLA15-8)
Address Offset: 25h
Bit R/W Default Description
7-2 R/W 00h
1-0 - 0h
Override Read Protect (ORP7-2)
Reserved
Address Offset: 26h
Bit R/W Default Description
7-0 R/W 00h
Override Read Protect (ORP15-8)
Address Offset: 27h
Bit R/W Default Description
7-0 R/W 00h
Override Read Protect (ORP23-16)
Address Offset: 28h
Bit R/W Default Description
7-0 R/W 00h
Override Read Protect (ORP31-24)
www.ite.com.tw IT8510E/TE/G V0.7.2
81
IT8510E
Address Offset: 11h
Bit R/W Default Description
7-0 R/W 00h
Override Read Protect (ORP39-32)
Address Offset: 12h
Bit R/W Default Description
7-0 R/W 00h
Override Read Protect (ORP47-40)
Address Offset: 13h
Bit R/W Default Description
7-0 R/W 00h
Override Read Protect (ORP55-48)
Address Offset: 14h
Bit R/W Default Description
7-0 R/W
00h
Override Read Protect (ORP63-56)
ORPLA15-0 (Override Read Protect Low Addresses 15 through 0).
ORP63-2 (Override Read Protect 63 through 2).
Each bit affects the host’s read capacity from one block. The block size is 8
Kbytes on the first low address (ORPLAi). For the other blocks, it is 64 Kbytes.
The block address is intended as follows:
Low Address Blocks, ORPLAi: from i*8K to (i+1)*8K-1
Other Blocks, ORPj: from j*64K to (j+1)*64K
Refer to Table 3-3 on page 8 for the details.
0: no override the host read
1: Host Read for this block is disabled regardless of the setting of
others.
The default values make all the flash ranges readable.
SMECOWPR0-9 are 8-bit registers that permit EC to override on the host write protection bits. For the host to
be able to write a memory location, both the Host Write Protection bit (controlled through the SMHAPR (1-2)
and the related bit in SMECOWPR0-9 should be cleared. Each bit in this register is related with a memory block.
Bits attribute in these registers may be Read Only or RW according to their positions, and all blocks and sizes.
Address Offset: 29h
Bit R/W Default Description
7-0 R/W 11111111b
Override Write Protect Low Address (OWPLA7-0)
Address Offset: 2Ah
Bit R/W Default Description
7-0 R/W 11111111b
Override Write Protect Low Address (OWPLA15-8)
Address Offset: 2Bh
Bit R/W Default Description
7-2 R/W 111111b
1-0 - 0h
Override Write Protect (OWP7-2)
Reserved
Address Offset: 2Ch
Bit R/W Default Description
7-0 R/W 11111111b
Override Write Protect (OWP15-8)
www.ite.com.tw IT8510E/TE/G V0.7.2
82
s
Host Domain Function
Address Offset: 2Dh
Bit R/W Default Description
7-0 R/W 11111111b
Override Write Protect (OWP23-16)
Address Offset: 2Eh
Bit R/W Default Description
7-0 R/W 11111111b
Override Write Protect (OWP31-24)
Address Offset: 15h
Bit R/W Default Description
7-0 R/W 11111111b
Override Write Protect (OWP39-32)
Address Offset: 16h
Bit R/W Default Description
7-0 R/W 11111111b
Override Write Protect (OWP47-40)
Address Offset: 17h
Bit R/W Default Description
7-0 R/W 11111111b
Override Write Protect (OWP55-48)
Address Offset: 18h
Bit R/W Default Description
7-0 R/W
FFh
Override Write Protect (OWP63-56)
OWPLA15-0 (Override Write Protect Low Addresses 15 through 0).
OWP63-2 (Override Write Protect 63 through 2).
Each bit affects the host’s write capacity from one block. The block size is 8
Kbytes on the first low address ( OWPLAi). The other blocks are 64 Kbytes.
The block address is intended as follows:
Low Address Blocks, OWPLAi: from i*8K to (i+1)*8K-1
Other Blocks, OWPj: from j*64K to (j+1)*64K
Refer to Table 3-3 on page 8 for the details.
0: No override the host Write Protect
1: Host Write for this block is disabled regardless of the setting of
others
The default values make all the flash ranges readonly.
6.3.5 Host Interface Registers
The registers of SMFI can be divided into two parts: Host Interface Registers and EC Interface Registers and
this section lists the host interface. The host interface registers can only be accessed by the host processor.
The SMFI resides at LPC I/O space and the base address can be configured through LPC PNPCFG registers.
The SMFI logical device number is 0Fh (LDN=0Fh).
These registers are listed below