USAR ACPITrollerTM 342 UR8HC342 A Semtech Company USAR ACPITrollerTM 342 Robust 8042 Keyboard / ACPI-Embedded Controller The USAR ACPITrollerTM 342 UR8HC342 is a single IC that functions both as an 8042-type Human Input Device Controller (HIDC) and an ACPI-compliant Embedded Controller (EC). The UR8HC342 provides the typical functionality of an 8042-type HID Controller with embedded key and motion scanning. In addition, the UR8HC342 functions as an ACPIcompliant Embedded Controller (EC) and SMBus host. • Acts as an 8042 HID and ACPI Embedded Controller • Typically consumes less than 1µA • Two external PS/2 ports for external keyboard and mouse with autodetect and hot-plug support • Patented Zero-Power™ operation of all PS/2 ports and the SMBus port an industry first • Simultaneous operation of external and internal input devices • AlphaMouseTM Pointing Devices Manager provides Mousewheel support- a first for an EC • Acts as a keyboard controller and encoder for an 8 x 16 keyboard matrix; supports all three keyboard scan code sets • Handhelds / Notebooks • Industrial / Vertical systems • ACPI-compatible systems • Single Board Computers Pin Assignments GPE6/IVSD1:1/PBOVR GPE5/IVSD1:0/PB DQ7 DQ6 DQ5 DQ4 DQ3 DQ2 DQ1 DQ0 VCC VREF AVSS ROW7 ROW6 ROW5 ROW4 SMBEN 80 Using the UR8HC342, system designers can implement systems that take advantage of the SMBus, the Smart Battery System, and the ACPI specifications, all using a single IC. The UR8HC342 can be customized easily through an extensive library of hardware and firmware modules in order to accommodate specialized configurations at low production cost. 61 1 60 IVSD2:0/AN0 SMBC0 SMBD0 PS21CLK PS22CLK IMCLK PS21DAT PS22DAT IMDAT IVSD1:3 IVSD1:2 GPE1/DOCK GPE0/LID IOW IOR KCS A2 ECS SCI KBRST GPE2 SMBINT KEYWKUP COL0 COL1 COL2 COL3 COL4 COL5 COL6 COL7 COL8 COL9 COL10 COL11 COL12 COL13 UR8HC342-FQ 20 Copyright 2000 USAR Systems, Inc. All rights reserved. USAR – A Semtech Company Datasheet • AlphaKeyTM keyboard manager enables matrix programming • Support of up to 6 ACPI GPE interrupt inputs • 100% compatible with the ACPI specifications • SMBus compatible host complies with version 1.0 of the SBS/SMBus specifications • Firmware filters any dangerous SMBus commands • Offers Internal Virtual SMBus Devices (IVSDs) such as GPIO or 10-bit A/D • Three-volt and five-volt operation • Customized versions available Applications IVSD2:1/AN1 The IC achieves unparalleled minimum power consumption (typically less than 1µA) due to USAR's patented Zero-Power™ technologies for both PS/2 ports and the SMBus port - an industry first. The USAR ACPITroller™ 342 can power down even when devices are connected and active. Based on USAR's patented ZeroPower™ technology, the UR8HC342 always operates in the "STOP" mode, independently of the configuration and without any data or event losses. Features 41 21 DOC8-342-DS-101 A20GATE IRQ12 IRQ1 CNVSS RESET SYSSUS SWI XIN XOUT VSS SCRLK/IVSD0:3 NUMLK/IVSD0:2 CAPSLK/IVSD0:1 KATAKANA/IVSD0:0 ROW3 ROW2 ROW1 ROW0 COL15 COL14 Description Preliminary USAR System Management family product specifications 1 40 USAR –– A Semtech Company USAR ACPITrollerTM 342 UR8HC342 Preliminary USAR System Management family product specifications Descri Ordering Code Package options 80-pin, Plastic LQFP Other materials Technical Reference Manual Pitch in mm’s 0.5 Type Document TA = 0°C to +75°C UR8HC342-XX-FQ Part number DOC8-342-TR-XXX XX = Optional for customization XXX = Denotes revision number USAR ACPITrollerTM 342 Block Diagram 3 x PS/2 Ports IRQ1 8 x 16 Matrix IRQ12 GPIO 4 4 bit port expander 2 10 bit A/D Ivsd0 KBINIT A20Gate D0-D7 IVSD Keyboard Controller KBC 8 KBC Data Register Registers ACPIS 8042S 8042 A/D Ivsd2 D/A, PWM 2 Ivsd1 PWBOVERRIDE KBC Control/StatusB IOW, IOR, A2 PWBUTTON GPE Embedded Controller ACPI EC Data Register EC SCI Registers SWI EC Control/Status 4 GPEx 2 SMBus Ivsd3 SMBus Host SMBINT SMBEN USAR – A Semtech Company Datasheet Brightness/ Contrast DOC8-342-DS-101 2 USAR –– A Semtech Company USAR ACPITrollerTM 342 UR8HC342 Preliminary USAR System Management family product specifications Pin Definitions Pin Numbers Mnemonic Power Supply AVSS CNVSS VCC VREF VSS Oscillator pins XIN XOUT Reset _RESET System bus interface pins USAR – A Semtech Company Datasheet LQFP Name and Function 73 24 71 72 30 Analog Signal Ground Should be tied to ground Vcc 3-5 Volts Analog circuitry reference voltage Ground 28 29 Oscillator input (8 MHz operating freq) Oscillator output 25 Controller hardware reset pin _8042S 16 8042 keyboard controller port select signal input _ACPIS 18 _IOR _IOW _IRQ1 _IRQ12 _KBINIT A2 A20GATE DQ0-DQ7 15 14 23 22 20 17 21 70-63 ACPI embedded controller port select signal output X-bus/ISA address I/O signal input X-bus/ISA address I/O write signal input Keyboard interrupt output Mouse interrupt output Keyboard initialize output X-bus / ISA address 2 input A20 Gate output signal X-bus/ ISA parallel data I/O ports ACPI & SMBus Signals SCI _SMBINT _SWI 19 56 27 _SYSSUS IVSD00/SCROLL_LOCK 26 31 IVSD01/NUM_LOCK 32 IVSD02/CAP_LOCK 33 IVSD03/KATAKANALED 34 IVSD10/PWM1 IVSD11/PWM2 IVSD12/DA1/PWM1 62 61 11 DOC8-342-DS-101 System control interrupt output SMBus interrupt System wake-up event interrupt output System suspend input This pin can be programmed to act as a keyboard LED or as a GPIO pin of internal virtual SMBus device 0 (IVSDO)(4-bit port expander) This pin can be programmed to act as a keyboard LED or as a GPIO pin of internal virtual SMBus device 0 (IVSDO)(4-bit port expander) This pin can be programmed to act as a keyboard LED or as a GPIO pin of internal virtual SMBus device 0 (IVSDO)(4-bit port expander) This pin can be programmed to act as a keyboard LED or as a GPIO pin of internal virtual SMBus device 0 (IVSDO)(4-bit port expander) IVSD1 bit 0 or PWM output IVSD1 bit 1 or PWM output This pin can be configured as GPIO, as D/A output, or PWM output 3 USAR –– A Semtech Company USAR ACPITrollerTM 342 UR8HC342 Preliminary USAR System Management family product specifications Descri Pin Definitions Pin Numbers Mnemonic ACPI & SMBus Signals IVSD13/DA2/PWM2 LQFP (con’t) 10 IVSD20 1 IVSD20 1 IVSD13/DA2/PWM2 10 IVSD20 1 IVSD21/AN1 80 IVSD22/AN2 IVSD30/GPE0/LID 79 13 IVSD31/GPE1/DOCK 12 IVSD32/GPE2/_PWBUTTON 60 IVSD33/GPE3/ /_PWBOVERRIDE IVSD34/GPE4 IVSD35/GPE5 SCL0 SDA0 SMBEN 59 Scanned Matrix Pins COL0-COL15 KEYWKUP ROW0-ROW7 PS/2 Ports IMCLK IMDAT PS20CLK PS20DAT PS21CLK PS21DAT Name and Function This pin can be configured as GPIO, as D/A output, or PWM output This pin can be configured as a 10-bit A/D input or logic I/O This pin can be configured as a 10-bit A/D input or logic I/O This pin can be configured as GPIO, as D/A output, or PWM output This pin can be configured as a 10-bit A/D input or logic I/O This pin can be configured as a 10-bit A/D input or logic I/O. IVSD2 bit or A/D input IVSD3 bit 0 or ACPI general purpose event (GPE); capable of detecting both negative and positive signal transitions; typically serves the LID ACPI function IVSD3 bit 1 or ACPI GPE; capable of detecting both negative and positive signal transitions; typically serves the DOCK ACPI function IVSD3 bit 2 or ACPI GPE; typically an ACPI ""Power Button"" input. IVSD3 bit 3 or ACPI GPE; typically an ACPI ""Power Button Override"" input IVSD3 bit 4 or ACPI GPE 4 IVSD3 bit 5 or ACPI GPE 5 This pin acts as the clock line for the SMBus This pin acts as the data line for the SMBus This output pin allows the SMBus latch to notify the ACPITroller™ Basic when SMBus activity has been detected. It is used to wake the ACPITroller™ Basic from sleep mode, and to disable all PS/2 inputs while SMBus processing is taking place. 58 57 2 3 78 54-39 55 38-74 Column matrix outputs Key wake-up output Row matrix inputs 6 9 5 PS/2 clock line for internal mouse PS/2 data line for internal mouse Clock line for external PS/2 port 0; both external PS/2 ports support hot-plug ins and auto-select for keyboard or mouse Data line for external PS/2 port 0 Clock line for external PS/2 port 1 Data line for external PS/2 port 1 8 4 7 Note 1: An underscore in front of the pin mnemonic denotes an active low signal. USAR – A Semtech Company Datasheet DOC8-342-DS-101 4 USAR –– A Semtech Company USAR ACPITrollerTM 342 UR8HC342 Preliminary USAR System Management family product specifications Features The following pages contain brief descriptions of the features provided by USAR’s UR8HC342. For more detailed information, please refer to the USAR UR8HC342 ACPITrollerTM 342 Technical Reference Manual, document number DOC8-342-TR-XXX. ACPI Embedded Controller Interface USAR’s UR8HC342 ACPI embedded controller (EC) interfaces to the Host’s ISA bus via two I/O addresses. Three registers (Status, Command and Data) occupy the two I/O addresses. The operating system can communicate with the EC using the standard ACPI embedded controller command set. The host can either issue a command byte to the command register directly or send a data byte to the data port. SMBus Host Controller Interface The SMBus host manages one Zero-PowerTM SMBus port for an SMBus device, such as a smart battery. USAR’s SMBus controller interfaces the system via ISA and complies with the latest (v1.0) SBS and SMBus specifications. The SMBus Host Controller Interface allows the Host processor, under control of the operating system, to manage both real and virtual devices on the SMBus, including those belonging to the Smart Battery System. Such devices include contrast/backlight controllers and temperature sensors. The SMBus Host Controller interface allows the OS to directly address devices on the SMBus. It provides a method of communicating with SMBus devices through a block of registers that reside in the Embedded Controller space. In addition, the USAR UR8HC342’s SMBus Host Controller handles certain SMBus functions related to alerts and error conditions. 8042 Human Input Device Controller Interface (HIDC) The HIDC portion of USAR’s UR8HC342 interfaces the Host via two I/O addresses: 0x60 and 0x64. Three registers occupy the two I/O locations: Command, Status and Data. Any byte written by the Host system to the Command register is interpreted as a command. The UR8HC342 supports all the standard 8042 commands as well as many expanded commands. Expanded commands provide such functionality as the ability to create password protection and disable an auxiliary input device. USAR – A Semtech Company Datasheet DOC8-342-DS-101 5 USAR –– A Semtech Company USAR ACPITrollerTM 342 UR8HC342 Preliminary USAR System Management family product specifications Interrupts and General Purpose Events The UR8H359 provides up to 5 customizable ACPI General Purpose Events (GPE). The IC generates two types of interrupts: SCI and SWI. The type of interrupt generated depends on the type of event that caused it. When a standard SMBus command occurs, the EC generates an SCI interrupt. For any other General Purpose Events (GPE), an SWI interrupt occurs. GPE events can include lid and dock events or power button presses. Internal Virtual SMBus Devices Modeled on SMBus devices, Internal Virtual SMBus Devices (IVSDs) are general-purpose devices that can be used for system tasks. The Host can address these devices through the ACPI EC interface in the same way it would address any external device residing on a SMBus port. The IVSDs are implemented on shared pins of the UR8HC342. Specific pins can be used in other keyboard or embedded controller functions and the ISVDs need to be enabled through the configuration registers residing either in the EC or in the HID controller area. Once the devices are enabled, they can be accessed by the Host through standard interfaces defined in the relevant industry specification. IVSDs can include port expanders, flat panel digital controls, 10 bit A/D or GPIO port. AlphaMouseTM Pointing Devices Manager SWI interrupts have the ability to wake-up the system if it is in suspend. SCI interrupts cannot do this.D Power Management The USAR ACPITrollerTM 342 typically consumes less than 1 µA. For further power savings, the three PS/2 ports use USAR's patented Zero-PowerTM PS/2 technology and the one SMBus port uses USAR's patented ZeroPowerTM SMBus technology. The IC can power down even when devices are connected and active, and wake up when needed without data loss. The USAR AlphaMouse™ pointing devices manager can simultaneously support up to three mice (including those with MouseWheel) connected to both the external and internal PS/2 ports of the USAR ACPITroller™ 342. Different types of standard mice (two-button, three-button, MouseWheel) can be connected simultaneously, as the AlphaMouseTM pointing device manager multiplexes the input. The manager supports hot plugging and hot swapping of standard two-button and three-button mice without a special driver, and of MouseWheel-enabled mice with a standard MouseWheel-capable driver. The USAR AlphaMouse™ pointing devices manager receives its pointing device input through one or more of the USAR ACPITroller™ 342 PS/2 ports. The PS/2 Ports Driver will auto-detect the type of device connected to each PS/2 port. If the device reports itself as a pointing device, it will connect it to the USAR AlphaMouse™ pointing devices manager for proper initialization and further data and command handling. The USAR AlphaMouse™ pointing device manager communicates with the host system through the mouse port of the HID controller. AlphaMouseTM Features • Handles both internal and external mouse command communications • Hot-plug and hot swapping support for external mice • Transparent MouseWheel support for external mouse • Simulates MouseWheel support for internal mouse • Simulates MouseWheel operation, by merging normal mouse data with AlphaKey™ keyboard codes • Merges internal and external mouse data • Operates safely with PS/2 mouse protocol USAR – A Semtech Company Datasheet DOC8-342-DS-101 6 USAR –– A Semtech Company USAR ACPITrollerTM 342 UR8HC342 Preliminary USAR System Management family product specifications AlphaKeyTM Features • Supports IBM standard 101/102 keyboard including Windows®, On-Now Power keys and Japanese keyboard keys • Allows full OEM programmability, including programmable scan matrix • Offers support of OEM-defined firmware procedures that can be invoked by key presses • Unique Zero-PowerTM operation of the scanned matrix and the PS/2 embedded port • Provides “Protocol Safe” handling of external PS/2 devices • Allows hot-plug connection of external keyboard • External and internal keyboards operate simultaneously; data is merged • Auto-detects type of device in any external PS/2 port • Interoperability between 3-Volt and 5-Volt PS/2 devices without the need for external level-shifting circuitry • Supports all three Scan Code Sets • Offers N-Key rollover and ghost key detection • Enables single-hand data entry through “Sticky Key” mode of operation • Supports embedded numeric keypad AlphaKeyTM Keyboard Manager The AlphaKeyTM Keyboard Manager is the most advanced keyboard management module in the industry today and the first one to integrate the laptop keyboard matrix with system management tasks through ACPI and SMBus. USAR’s AlphaKeyTM provides OEMs with extreme flexibility both with PS/2 keyboard functionality as well as with designating which system management tasks users can control through the keyboard. The USAR AlphaKeyTM Keyboard Manager communicates with the HID Controller, the ACPI EC, the Virtual SMBus Device Manager and the external PS/2 ports of the UR8HC342. USAR’s AlphaKeyTM will simultaneously support both an external keyboard (including Windows® and Japanese layout keyboards) and an internal scanned key matrix. The internal scanned matrix layout can be programmed through an extended set of keyboard commands. AlphaKeyTM handles PS/2 keyboard commands, supports external keyboard hot-plug-ins and merges internal and external data as if they were coming from one source. In addition, OEMs can assign and download custom-defined keyboard macros or procedures that can be invoked through simple key presses to the AlphaKey’sTM internal RAM memory. • Standard PS/2 Key Codes • On-Now ACPI Keys • ACPI SCI Events • Key Combination Macros • Control of General I/O pins • Mouse and WheelMouse data emulation • Control of Virtual SMBus Devices for LCD control, etc. Figure 1: AlphaKeyTM features USAR – A Semtech Company Datasheet DOC8-342-DS-101 7 USAR –– A Semtech Company USAR ACPITrollerTM 342 UR8HC342 Preliminary USAR System Management family product specifications UR8HC342-FQ 80-pin LQFP Copyright 1999-2000, USAR Systems Inc. All rights reserved. Suggested Interfacing for the USAR ACPITrollerTM 342 UR8HC342-FQ USAR – A Semtech Company Datasheet DOC8-342-DS-101 8 USAR –– A Semtech Company USAR ACPITrollerTM 342 UR8HC342 Preliminary USAR System Management family product specifications Mechanical Information for FQ (80 Pin LQFP) Package e MD 61 b2 80 ME HD D 60 1 I2 E HE Recommended Mount Pad Symbol A 41 20 L1 40 F A1 c e A2 21 L Detail F b A A1 A2 b c D E e HD HE L L1 y y b2 I2 MD ME USAR – A Semtech Company Datasheet DOC8-342-DS-101 9 Dimension in Millimeters Min Nom Max – – 1.7 0.1 0.2 0 – – 1.4 0.13 0.18 0.28 0.105 0.125 0.175 11.9 12.0 12.1 11.9 12.0 12.1 – 0.5 – 13.8 14.0 14.2 13.8 14.0 14.2 0.3 0.5 0.7 1.0 – – – – 0.1 – 0˚ 10˚ – – 0.225 – – 1.0 – – 12.4 – – 12.4 USAR –– A Semtech Company USAR ACPITrollerTM 342 UR8HC342 Preliminary USAR System Management family product specifications Notes for Electricals UR8HC342 Electrical Characteristics, continued Note1: Recommended Operating Conditions, Digital Section (VSS = 0V, Ambient Temperature TA is in the range TLOW to THIGH) Parameter Symbol Min Typ Max Supply voltage VDD 2.7 3.0 5.5 Input logic high voltage All pins except 2-9 VIH 0.8VDD VDD Pins 2-9 (PS/2 ports xxxDAT, xxxCLK, GIO16/SW16, GIO17/SW17) VIH 0.8VDD 5.5 Input logic low voltage All pins except 28 VIL 0 0.2VDD Pin 28 (OSCI) VIL 0 0.16VDD Input current VI = VSS, VDD) IIL / IIL -5.0 0 5.0 Input Pull-up Current (pins 56-58 / IP6-IP8, VI = VSS) IPUP -120 -10 Output voltage IOH = -1.0 mA VOH VDD-1.0 IOL = 1.6 mA VOL 0.4 Current Consumption (see note 1 below) Full Speed Mode (Fosc=4MHz) IDD 3.5 7.0 Reduced Power Mode (Fosc=4MHz) IDD 750 Stop Mode (Interrupts active, Fosc=0) 1.0 (TA = 25ºC) IDD .1 10(TA = 85ºC ) Current Consumption values do not include any loading on the Output pins or Analog Reference Current for the built-in A/D or D/A modules. Note 2: Since the built-in A/D module consumes current only during short periods of time (when A/D conversion is actually requested), the Analog Reference Current for the built-in A/D module is not a significant contributor to the overall power consumption. Note 3: The Analog Reference Current for the built-in D/A module correlates linearly to the Output Voltage. For D/A output of 0V, the Analog Reference Current is null. For D/A outputs approaching Full Scale (AVREF), the maximum Analog Reference Current is indicated in this Table. This current is a significant contributor to the overall power consumption. Recommended operating conditions, analog section (VSS = 0V, Ambient Temperature TA is in the range TLOW to THIGH) Parameter Symbol Min Typ Max Analog Signal Ground AVSS 0 Analog Reference Voltage AVREF 2.7 VDD VDD A/D Resolution 10 A/D Absolute Accuracy ±4 A/D Analog Input Voltage Range VIA AVSS AVREF A/D Analog Input Current IIA 5.0 Analog Reference Current (see note 2) (A/D is active) IAVREF 200 D/A Resolution 8 D/A Absolute Accuracy 2.5 D/A Output Impedance RO 1 2.5 4.0 Analog Reference Current (see note 3) (D/A is active, Output = Full Scale) IAVREF 3.2 Note 1: please see left Note 2: please see left Note 3: please see left USAR – A Semtech Company Datasheet DOC8-342-DS-101 10 Unit V V V V V µA µA V V mA µA µA Unit V V Bits LSb V µA µA Bits % KOhms mA USAR –– A Semtech Company USAR ACPITrollerTM 342 UR8HC342 Preliminary USAR System Management family product specifications This Page Left Intentionally Blank USAR – A Semtech Company Datasheet DOC8-342-DS-101 11 A Semtech Company Description For sales information and product literature, contact: USAR – A Semtech Company 568 Broadway New York, NY 10012 [email protected] http://www.usar.com 212 226 2042 Telephone 212 226 3215 Telefax In Japan: Semtech Japan Tel: 81-45-948-5925 Fax: 81-45-948-5930 In Taiwan: Semtech Asia/Pacific Sales Tel: 011-886-2-2748-3380 Fax: 011-886-2-2748-3390 Koryo Electronics Co., Ltd. Telephone +886-2-2698-1143 E-mail [email protected] In Korea: Semtech Korea Tel: 011-82-2-527-4377 Fax: 011-82-2-527-4376 In Europe Semtech Limited Tel: +44-1592-630350 Fax: +44-1592-774781 Copyright 2000 USAR – A Semtech Company. All rights reserved. ACPITroller and Zero-Power are trademarks of USAR Systems, Inc. USAR and the USAR logo are registered trademarks of USAR – A Semtech Company. All other trademarks belong to their respective companies. INTELLECTUAL PROPERTY DISCLAIMER This specification is provided "as is" with no warranties whatsoever including any warranty of merchantability, fitness for any particular purpose, or any warranty otherwise arising out of any proposal, specification or sample. A license is hereby granted to reproduce and distribute this specification for internal use only. No other license, expressed or implied to any other intellectual property rights is granted or intended hereby. Authors of this specification disclaim any liability, including liability for infringement of proprietary rights, relating to the implementation of information in this specification. Authors of this specification also do not warrant or represent that such implementation(s) will not infringe such rights.