ITE EC 架构介绍

上传人:小*** 文档编号:242970901 上传时间:2024-09-13 格式:PPT 页数:74 大小:2.21MB
返回 下载 相关 举报
ITE EC 架构介绍_第1页
第1页 / 共74页
ITE EC 架构介绍_第2页
第2页 / 共74页
ITE EC 架构介绍_第3页
第3页 / 共74页
点击查看更多>>
资源描述
*,按一下以編輯母片標題樣式,按一下以編輯母片,第二層,第三層,第四層,第五層,*,Speaker: WY,ITE,8512,Whats 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 Structure,PS/2 KB/MS,MATRIX,FAN,Control,Charger,Flash ROM,Power,Sequence.,NB,SB,EC,LPC,Keyboard Controller Overview,1,8,Scan Out (Column),Scan Matrix,Keyboard,3,PS/2 Devices,Host System,LPC/Firmware Hub,SMBus,ITE,KBC,PS/2,Scan,I2C,HIF,3,SMBus,Devices,8 Scan In (Row),EC Feature,ITE,EC,PS/2 KB/MS,MATRIX,ACPI,Power management,SMBus,KBS,Monitor,UART / CIR,PWM,ADC/DAC,Share BIOS,EC Position,Share BIOS Architecture,64K16M Byte,BIOS ROM Zone,KBC ROM Zone,0,64K,Max :,16,M,64K Byte,Max :16M-64K Byte,Full space 16M,Byte,KBC ROM Zone,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 Interface (0x60, 0x64),HIF1 8042 Command Interface,Secondary 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 KBC Commands, 0x64 port,Standard KBD Commands,- 0x60 port,Standard AUX Commands, 0x64 port,D4,command,Command Handler,Bit,Description,7,Parity Error,6,Timeout Error,5,Auxiliary Output Buffer Full,4,Inhibit Switch,3,Command/Data,2,System Flag,1,Input Buffer Full ( IBF ),0,Output Buffer Full (OBF),Keyboard Controller Status Register 64h,Features Standard KBC Commands,Standard 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:,Bit7 - Reserved,Bit6 - Keyboard Translate,Bit5 - Disable Auxiliary Device,Bit4 - Disable Keyboard,Bit3 - Reserved,Bit2 - System Flag,Bit1 - Enable Auxiliary Interrupt,Bit0 - 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 Command (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 Commands,Standard 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 Commands,Standard 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 LEDs,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,Firmware,A,rchitecture,Firmware ROM Image,KBC.ROM,-64K,Crisis,Recovery,Configuration,Tables,Scan,Tables,Main,Core,0x0000,OEM function,0x,FFFF,0x,1,000,Power Up,Initialization,Idle,Interrupt,Runtime Service,EC Flowchart,Top-Level Flow Diagram,Power Up,Initialization,Idle,Firmware - Initialization,Crisis,?,Crisis,Initialization,Crisis,Recovery,Power Up,Idle,Normal,Initialization,Yes,No,Initialization,Idle,Firmware - Idle,Standby,Standby,Setup,Disable Interrupts,Enable,Interrupts,Yes,No,Idle,(,SLEEP,),Idle,Runtime Service,Interrupt,Firmware Runtime Service,Interrupt,Check Service,Do Service,No,Yes,More Service,Idle,How To Enter Power Down Mode,1. Check condition for enter power-down mode,2. Disable module (reduce leak current),3,. Change all,gpio,pin function ( if need ) (reduce leak current),4. Set wake-up pin function,5. Set wake-up source,6. Set interrupt source,7. Enter power-down,mode,Deep,sleep,IRQ,event,8. Set,gpio,pin to original,funtion,9 .Enable module,10.,Restore all,gpio,pin function ( if need ),11. Return to,main_loop,Upper Loop,KBC-centric:1 byte output buffer, wait forever for the System to read,kbd,/mouse.,Poll all other interrupts expect ps/2(KBC/EC Host commands, External pin,Smbus, etc),PS2 device inactive,Lower Loop,Wait for interrupt (sleep, Idle, wait),Ps2 devices active.,1ms Timer-periodic switch to Upper Loop,Each Interrupt switch to Upper Loop,Interrupts Sources,Internal:,1.Timer interrupt (for 1ms timer.),External:,1.IRQ,pin(WUxx,),2.SMBus,interrupt(for,receive data),3.Peripheral,interrupt(for,PS2 device data in),4.Data buffer interrupt (for IBF,IBF1 and IBF2),5.Keyboard,interrupt(for,internal,keypressed,),ITE8512 Memory Introduction,ITE8512 Memory Mapping,There are different commands for these memory area.,Ram,Internal,ROM,RAM,FFFF,0000,FFF,000,External,External,00FF,Code Structure,Build Environment,Source Code Directories,Source Code Overview,Code Structure Build Environment,Windows XP DOS Command prompt,Tools,Keil,C51 Tools,Assembler - ax51.exe (v2.13),Compiler c51.exe (v7.20),Linker - lx51.exe (v3.64),Misc. Tools,h2b.exe,replace.exe,Code Structure Directories,CORE,CORE_ACPI.C,CORE_HOSTIF.C,CORE_INIT.C,CORE_DATA.C,CORE_FLASH.C,CORE_IRQ.C,CORE_MAIN.C,CORE_PS2.C,CORE_SCAN.C,CORE_PORT6064.C,CORE_TIMERS.C,CORE_CIR.C,CORE_CHIPREGS.C,OEM Default OEM Project,OEM_BATTERY.C,OEM_LED.C,OEM_FAN.C,OEM_SCANTABS.C,OEM_GPIO.C,OEM_MAIN.C,TOOLS,Nmaker15.exe hex2bin.exe,Code Structure Build,Set Environment,KeilC51,Customize Build EC code,Iteec.mak,iteec.bin,Iteec_bb.mak,iteec_bb.bin,bb_iteec.bin,=,iteec_bb.bin,+,iteec.bin,Set Build EC Firmware,MAKEAll.bat,Source Code CORE,Reset Entry Point,Startup.a51,Crisis Recovery,CORE,Core_bblock.c,Hardware Dependant,Chip Registers,Interrupt Handlers,Hardware Control Routines,Variable Data Types,CORE TYPES.H,Source Code ,Core_IRQ.C,On-CHIP peripherals,System interrupt table,Interrupt Handler,Timers (1mS & 150,S,),Host Interfaces,PS/2 Ports,I2C,Etc.,Source Code ,Core_BBlock.C,CORE,Crisis Command Handler,Standard KBC/KBD/AUX Commands Crisis Mode,Flash Commands,GPIO setting,CORE,Initialization,Registers,Timers (1mS Timer & 150,S Timer),Host Interface,Devices,Hook to OEM,Source Code ,Core_ini.C,Source Code ,Core_MAIN.C,CORE,Normal Code Entry,Main Routine,Idle Loop,Service Routines,Service Flags,(Source Code ,Core_MAIN.C,),16 Service Routines:,service_unlock,- Unlock device transmission,service_pci, Primary Host Interface (0x60, 0x64),service_aux_port,- Send byte from auxiliary port to Host,service_1mS 1 millisecond service,service_scan, Scan Matrix,service_send,- Send byte from scanner keyboard,service_pci2 - Secondary Host Interface (0x62, 0x66),service_pci3 - Third Host Interface,service_core_7 Reserved,service_ext_irq,- External IRQ,service_core_10, service_core_11 Reserved,service_chk_aux,- Check External mouse existence,service_OEM_0, service_OEM_1, service_OEM_2 - Reserved,Source Code Core_port6064.C,CORE,Standard 8042 Commands,IBM AT & PS/2 8042-Compitable,Standard KBC Commands,Standard KBD Commands,Standard AUX Commands,Source Code Core_ps2.C,CORE,PS/2 Devices,Lock/unlock PS/2 device,Suspend/Resume PS/2 device,Send/Get data to/From PS/2 device,Source Code ,Core_scan.C,CORE,Scan Matrix Keyboard,8x16 Matrix (Row: 8, Column: 16),Ghost Key,Key Press / Release,Debounce,Keyboard Drawing,Standard Matrix,(Source Code PURSCN.C),Scan Matrix Keyboard,R - ROW (Scan In),0,2,4,1,3,5,6,7,C Column (Scan Out),15,14,13,10,11,12,9,8,7,4,5,6,2,3,1,0,(Source Code PURSCN.SRC),Ghost Key 2 (or more) keys pressed on the same ROW,R - ROW (Scan In),0,2,4,1,3,5,6,7,C Column (Scan Out),15,14,13,10,11,12,9,8,7,4,5,6,2,3,1,0,(Source Code PURSCN.C),Key Press / Release,Debounce,Make?,1015 ms,Break?,Re-check,Re-check,1015 ms,Source Code ,Core_XLT.C,CORE,Scan Code Translation,R/C Input,Translate to Scan Code,Store into internal key buffer,Hotkey,Source Code ,Core_ACPI.C,CORE,ACPI Command Handler,SCI Generation,SMBus,Protocol Handler,ACPI EC Space Access,Source Code ,Core_SMBus,Core_SMB.C,CORE,SMBus,Protocol,Read/Write,Smbus,byte,Read/Write,Smbus,Word,Read/Write,Smbus,Block,Source Code ,Core_DAT.C,CORE,Internal Variables,BIT,DATA,External Variables,IDATA,XDATA,CHIP TYPE.H,BUILD A PROJECT WITH EC CODE,Define,GPIOs,Setting/variables,Build Matrix table,Set power,sequence,Build OEM,Function,Files Modify,Files Modify,Files Modify,Files Modify,1. CORE_INIT.C,2. OEM_GPIO.C,1. OEM_SCANTABS.C,OEMMAIN.C,OEMGPIO.C,OEMGPIO.H,OEM_FAN.C,OEM_BATTERY.C,OEm_FAN.C,OEM_LED.C,:,ITE chip solution,PS/2,SMBus,SMBus-0 Battery#1, Thermal IC#1,SMBus-1 Battery#2, Thermal IC#2,SMBus-2 System Clock Generator,FAN Control,LCD Brightness Control,Adapter & Battery,Adapter Status,Battery Detection,Charger Control,Charge On/Off,Charging Current Setting,Software Battery,GasGauge,Reference Software,GasGauge,Document,(O2/Texas Instruments),EC Beep PWM,(Battery Status Warning),On Board Programming,ITE KBS Download Board,ITE KBS download tool,ITE KBS D2EC access RAM,System utility,EC Register/Ram access,Dos/XP/Vista,Utility- Rom Flash,Flash utility for dos mode,Iteflash.exe,Flash utility for Windows XP/ Vista,Winflash,v1.0,Summary,PS2 and keyboard traffic communication,EC,要使系统,節能,,更加省电,增加电池的续航能力,,控制,良好的散热性能,减少,風扇,系统的噪音,,,根据温度,控制,CPU,风扇的停转。,系統電源管理,-s3/s4/s5,電力調節,充电指示灯、,WIFI,指示灯、,Fn,快速鍵,功能,背光亮度,聲音控制等。,Q & A,Q & A,Thank you!,
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 图纸专区 > 小学资料


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!