ITE EC 架构介绍
时间:2025-04-12
时间:2025-04-12
ITE 8512Speaker: WY
What’s the EC ?Embedded Controller comes form ACPI structure Host is communicated EC by LPC interface. The I/O port are 60/64 and 62/66 EC integrated ps2 device, keyboard matrix, battery charger, fan control, power sequence, hot key function, backlight, CPU thermal sensor, system power consumption,etc.
System StructureNBLPC
SB
EC PS/2 KB/MS MATRIX FAN Control
ChargerFlash ROM Power Sequence….
Keyboard Controller OverviewHost SystemLPC/Firmware Hub
HIF Scan Matrix Keyboard PS/218 Scan Out (Column)
Scan
ITE KBCI2C
3 PS/2 Devices
8 Scan In (Row)
SMBus
3 SMBus Devices
EC FeatureITE ECPS/2 KB/MSMATRIX ACPI Power management SMBus UART / CIR ADC/DAC PWM Share BIOS KBS Monitor
EC PositionSouth Bridge
LPC BUS Power Management
IT8510E Or IT8512/IT8513
IT8510E -> ISA Bus IT8512/8513 -> SPI Bus
BIOS EEPROM
Share BIOS ArchitectureMax : 16M 64K~16M Byte BIOS ROM Zone
64K KBC ROM Zone 64K Byte KBC ROM Zone 0 Full space 16M Byte Max :16M-64K Byte
BIOS&EC Code Position
Features IBM AT & PS/2 8042-Compitable Host Interfaces
Support all standard Host Commands ACPI Embedded Controller Interface ACPI System Management Bus Interface PS/2 Devices Scan Matrix Keyboard OEM Customization
Features – Host Interface
Host Interfaces Primary Host Secondary
Interface (0x60, 0x64)
HIF1 – 8042 Command Interface
Host Interface (0x62, 0x66)
HIF2 – Logical HIF – ACPI Command Interface HIF3 – Logical HIF – SMI Access Third
Host Interface (0x68,0x6C)
IBM AT & PS/2 8042-Compatible Standard Standard Standard
KBC Commands – 0x64 port KBD Commands - 0x60 port AUX Commands – 0x64 port D4 command
Command HandlerCommand handler 60/64
Is system command?YES
NO
KBD Command
Is D4 command?NO
YES
Mouse Command
KBC Command
Bit 7 6 5 4 3
Keyboard Controller Status Register 64hDescription Parity Error Timeout Error Auxiliary Output Buffer Full Inhibit Switch Command/Data
21 0
System FlagInput Buffer Full ( IBF ) Output Buffer Full (OBF)
Features – Standard KBC CommandsStandard 64 command list Write / Read Keyboard Controller Command Byte (60h / 20h)
The KCCB resides in 8042 RAM location 20h, Address 20h defined in the IBM 8042 programming specification. IBM standard command set, use command 20h to read the KCCB and command 60h to write KCCB.
Default:» 0x65 – PS/2 Mouse Not Present » 0x47 – PS/2 Mouse Present
Controller Command Byte:
Bit[7] - Reserved Bit[6] - Keyboard Translate Bit[5] - Disable Auxiliary Device Bit[4] - Disable Keyboard Bit[3] - Reserved Bit[2] - System Flag Bit[1] - Enable Auxiliary Interrupt Bit[0] - Enable Keyboard Interrupt
Features – Standard KBC Commands
Output Buffer Write Commands: Write
Keyboard Output Buffer (D2h) Write Auxiliary Device Output Buffer (D3h)
Write to Auxiliary Device Co
mmand (D4h) Write
to PS2 Device
Pulse Output Port Commands: Pulse
Both Reset and Gate A20 (FCh) Pulse Gate A20 (FDh) Pulse System Reset (FEh)
Features – Standard KBD CommandsStandard KBD 60 command list
Set / Reset Status Indicators Command (EDh) Echo Command (EEh) Select Alternate Scan Codes Command (F0h) Read Id Command (F2h) Set Typematic Rate/Delay Command (F3h) Enable Command (F4h) Default Disable Command (F5h) Set Default Command (F6h) Set Keys Commands (F7h-FDh) Resend Command (FEh) Reset Command (FFh)
Features – Standard AUX CommandsStandard PS2 64_D4 command list Reset Scaling (E6h) Set Scaling to 2:1 (E7h) Set Resolution (E8h) Status Request (E9h) Set Stream Mode (EAh) Read Data (EBh) Read / Set Wrap Mode (ECh /EEh) Set Remote Mode (F0h) Read Device Type (F2h) Set Sampling Rate (F3h) Enable / Disable Auxiliary Device (F4h / F5h) Set Default (F6h) Reset Auxiliary Device (FFh)
Features – Commands
Extended Controller Commands Specific Functionalities
Access Legacy EC Space Sample A/D Channel Turn On/Off LED’s Access Configuration Table Etc.
Features – ACPI Interface Embedded Controller Interface(0x62/0x66) ACPI fully support Command Set 0x80-Read EC space 0x81-Write EC space 0x82-Burst Enable 0x83-Burst Disable 0x84-Query SCI event
Features – PS/2 Devices Three PS/2 Ports One internal ps2 mouse & two external ps2 device(one keyboard +one mouse) Port 1 & Port 2 – Keyboard & Pointing Devices Port 3 – Touchpad Devices (Internal) Active PS/2 Multiplexing
Hot-plug if Ext.aux device is also attached, send command to it but do not pass Ext. response to the system.
Features – Scan Matrix
All Standard Notebook PC Keys Easy Customization Download
OEM Scan Table in RAM Update Scan Table in ROM
Features – OEM Customization
OEM-Definable Hotkeys -Hotkey, Quick button OEM-Definable SMI / SCI Events -Battery event, System Beep, Thermel throttle event, etc…
…… 此处隐藏:2592字,全部文档内容请下载后查看。喜欢就下载吧 ……上一篇:ISO战略性发展工具
下一篇:用友NC供应链介绍