ACPITrollerTM 342 UR8HC342 Robust 8042 Keyboard / ACPI-Embedded Controller HID & SYSTEM MANAGEMENT PRODUCTS, SYSTEM MGMT IC FAMILY DESCRIPTION FEATURES The ACPITroller 342 UR8HC342 is a single IC that functions both as an 8042-type Human Input Device Controller (HIDC) and an ACPIcompliant 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 ACPI-compliant Embedded Controller (EC) and SMBus host. TM • 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 an Internal Virtual SMBus Device (IVSD), GPIO, and 10-bit A/D • Three-volt and five-volt operation • Customized versions available • Supports active PS/2 muliplexing APPLICATIONS • Handhelds / Notebooks • Industrial / Vertical systems • ACPI-compatible systems • Single Board Computers PIN ASSIGNMENTS 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. 80 GIO11/PWM2/GPE1 GIO10/PWM1/GPE0 DQ7 DQ6 DQ5 DQ4 DQ3 DQ2 DQ1 DQ0 VCC VREF AVSS ROW7 ROW6 ROW5 ROW4 SMBEN GIO22/AN2 GIO21/AN1 The IC achieves unparalleled minimum power consumption (typically less than 1µA) due to Semtech's patented Zero-Power™ technologies for both PS/2 ports and the SMBus port - an industry first. The ACPITroller™ 342 can power down even when devices are connected and active. Based on Semtech's patented Zero-Power™ technology, the UR8HC342 always operates in the "STOP" mode, independently of the configuration and without any data or event losses. • 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 61 1 60 IVSD20/AN0 SCL0 SDA0 PS21CLK PS20CLK IMCLK PS21DAT PS20DAT IMDAT GIO13/DA2/PWM2 GIO12/DA1/PWM1 GIO37/GPE7/DOCK GIO36/GPE6/LID IOW IOR 8042S A2 ACPIS SCI KBINIT GIO32/GPE2/PWBUTTON GIO33/GPE3/PWBOVERRIDE GIO34/GPE4 GIO35/GPE5 SMBINT KEYWKUP COL0 COL1 COL2 COL3 COL4 COL5 COL6 COL7 COL8 COL9 COL10 COL11 COL12 COL13 UR8HC342-FQ 20 21 A20GATE IRQ12 IRQ1 CNVSS RESET SYSSUS SWI XIN XOUT VSS GIO03/KATAKANALED GIO02/CAP_LOCK GIO01/NUM_LOCK IGIO00/SCROLL_LOCK ROW3 ROW2 ROW1 ROW0 COL15 COL14 41 40 ACPITroller is a trademark of Semtech Corp. All other trademarks belong to their respective companies. Copyright Semtech 2000-2001 DOC8-342-DS-104 1 www.semtech.com 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 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 GIO0 KBINIT A20Gate D0-D7 GPIO Keyboard Controller KBC 8 KBC Data Register ACPIS 8042S 8042 Registers A/D GIO2 D/A, PWM 2 GIO1 PWBOVERRIDE KBC Control/StatusB IOW, IOR, A2 PWBUTTON GPE Embedded Controller SCI EC Data Register ACPI EC Control/Status 4 GPEx 2 SMBus GIO3 EC Registers SWI Brightness/ Contrast SMBus Host SMBINT SMBEN Copyright Semtech 2000-2001 DOC8-342-DS-104 2 www.semtech.com PIN DEFINITIONS Pin Numbers Mnemonic Power Supply AVSS CNVSS VCC VREF VSS Oscillator pins XIN XOUT Reset _RESET System bus interface pins 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, and general purpose I/O signals SCI 19 System control interrupt output _SMBINT 56 SMBus interrupt _SWI 27 System wake-up event interrupt output _SYSSUS 26 System suspend input GIO00/SCROLL_LOCK 34 This pin can be programmed to act as a keyboard LED or as a GPIO pin. GIO01/NUM_LOCK 33 This pin can be programmed to act as a keyboard LED or as a GPIO pin. GIO02/CAP_LOCK 32 This pin can be programmed to act as a keyboard LED or as a GPIO pin. GIO03/KATAKANALED 31 This pin can be programmed to act as a keyboard LED or as a GPIO pin. GIO10/PWM1/GPE0 62 GIO1 bit 0 or PWM output or ACPI GPE GIO11/PWM2/GPE1 61 GIO1 bit 1 or PWM output or ACPI GPE GIO12/DA1/PWM1 11 This pin can be configured as GPIO, as D/A output, or as PWM output. Copyright Semtech 2000-2001 DOC8-342-DS-104 3 www.semtech.com PIN DEFINITIONS (CON’T) Pin Numbers Mnemonic LQFP Name and Function ACPI, SMBus, and general purpose I/O signals (con’t) GIO13/DA2/PWM2 10 This pin can be configured as GPIO, as D/A output, or as PWM output. GIO20/AN0 1 This pin can be configured as a 10-bit A/D input or logic I/O. GIO21/AN1 80 This pin can be configured as a 10-bit A/D input or logic I/O. GIO22/AN2 79 This pin can be configured as a 10-bit A/D input or logic I/O. GIO36/GPE6/LID 13 GIO3 bit 0 or ACPI general purpose event (GPE); capable of detecting both negative and positive signal transitions; typically serves the LID ACPI function GIO37/GPE7/DOCK 12 GIO3 bit 1 or ACPI GPE; capable of detecting both negative and positive signal transitions; typically serves the DOCK ACPI function GIO32/GPE2/_PWBUTTON 60 GIO3 bit 2 or ACPI GPE; typically an ACPI ""Power Button"" input GIO33/GPE3/ 59 GIO3 bit 3 or ACPI GPE; typically an ACPI /_PWBOVERRIDE ""Power Button Override"" input GIO34/GPE4 58 GIO3 bit 4 or ACPI GPE 4 GIO35/GPE5 57 GIO3 bit 5 or ACPI GPE 5 SCL0 2 This pin acts as the clock line for the SMBus SDA0 3 This pin acts as the data line for the SMBus SMBEN 78 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. Scanned Matrix Pins COL0-COL15 54-39 Column matrix outputs KEYWKUP 55 Key wake-up output ROW0-ROW7 38-74 Row matrix inputs PS/2 Ports IMCLK 6 PS/2 clock line for internal mouse IMDAT 9 PS/2 data line for internal mouse PS20CLK 5 Clock line for external PS/2 port 0; both external PS/2 ports support hot-plug ins and auto-select for keyboard or mouse PS20DAT 8 Data line for external PS/2 port 0 PS21CLK 4 Clock line for external PS/2 port 1 PS21DAT 7 Data line for external PS/2 port 1 Note 1: An underscore in front of the pin mnemonic denotes an active low signal. Copyright Semtech 2000-2001 DOC8-342-DS-104 4 www.semtech.com FEATURES The following pages contain brief descriptions of the features provided by Semtech’s UR8HC342. For more detailed information, please refer to the UR8HC342 ACPITrollerTM 342 Technical Reference Manual, document number DOC8-342-TR-XXX. EC INTERFACE 8042 HUMAN INPUT DEVICE CONTROLLER INTERFACE (HIDC) Semtech’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. The HIDC portion of Semtech’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. SMBUS HOST CONTROLLER INTERFACE The SMBus host manages one Zero-PowerTM SMBus port for an SMBus device, such as a smart battery. Semtech’s SMBus controller interfaces the system via ISA and complies with version 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 UR8HC342’s SMBus Host Controller handles certain SMBus functions related to alerts and error conditions. Copyright Semtech 2000-2001 DOC8-342-DS-104 5 www.semtech.com INTERRUPT & GPE INTERNAL VIRTUAL SMBUS DEVICES 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. 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. SWI interrupts have the ability to wake-up the system if it is in suspend. SCI interrupts cannot do this. ALPHAMOUSETM POINTING DEVICES MANAGER POWER MANAGEMENT The ACPITrollerTM 342 typically consumes less than 1 µA. For further power savings, the three PS/2 ports use Semtech's patented Zero-PowerTM PS/2 technology and the one SMBus port uses Semtech's patented Zero-PowerTM SMBus technology. The IC can power down even when devices are connected and active, and wake up when needed without data loss. 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. The AlphaMouseTM 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 ACPITrollerTM 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 AlphaMouseTM pointing devices manager receives its pointing device input through one or more of the ACPITrollerTM 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 AlphaMouseTM pointing devices manager for proper initialization and further data and command handling. The AlphaMouseTM 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 AlphaKeyTM keyboard codes • Merges internal and external mouse data • Operates safely with PS/2 mouse protocol Copyright Semtech 2000-2001 DOC8-342-DS-104 6 www.semtech.com ALPHAKEYTM FEATURES • Supports IBM standard 101/102 keyboard including Windows®, On-Now Power keys and Japanese keyboard keys • Programmable scan matrix • 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. Semtech’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 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. Semtech’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-plugins and merges internal and external data as if they were coming from one source. • 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 Copyright Semtech 2000-2001 DOC8-342-DS-104 7 www.semtech.com Copyright 1999-2000, Semtech Corp. All rights reserved. SUGGESTED INTERFACING FOR THE ACPITROLLERTM 342 UR8HC342-FQ Copyright Semtech 2000-2001 DOC8-342-DS-104 8 www.semtech.com 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 21 L1 40 A2 F A1 c e L Detail F b A A1 A2 b c D E e HD HE L L1 y y b2 I2 MD ME Copyright Semtech 2000-2001 DOC8-342-DS-104 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 www.semtech.com NOTES FOR ELECTRICALS UR8HC342 ELECTRICAL CHARACTERISTICS, (CON’T) 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 Copyright Semtech 2000-2001 DOC8-342-DS-104 10 www.semtech.com Unit V V V V V µA µA V V mA µA µA Unit V V Bits LSb V µA µA Bits % KOhms mA This Page Left Intentionally Blank Copyright Semtech 2000-2001 DOC8-342-DS-104 11 www.semtech.com For sales information and product literature, contact: HID & System Mgmt Division Semtech Corporation 568 Broadway New York, NY 10012 [email protected] http://www.semtech.com 212 226 2042 Telephone 212 226 3215 Telefax Semtech Western Regional Sales 805-498-2111 Telephone 805-498-3804 Telefax Semtech Central Regional Sales 972-437-0380 Telephone 972-437-0381 Telefax Semtech Eastern Regional Sales 203-964-1766 Telephone 203-964-1755 Telefax Semtech Asia-Pacific Sales Office +886-2-2748-3380 Telephone +886-2-2748-3390 Telefax Semtech Japan Sales Office +81-45-948-5925 Telephone +81-45-948-5930 Telefax Semtech Korea Sales Sales +82-2-527-4377 Telephone +82-2-527-4376 Telefax Northern European Sales Office +44 (0)2380-769008 Telephone +44 (0)2380-768612 Telefax Southern European Sales Office +33 (0)1 69-28-22-00 Telephone +33 (0)1 69-28-12-98 Telefax Central European Sales Office +49 (0)8161 140 123 Telephone +49 (0)8161 140 124 Telefax Copyright 2000-2001 Semtech Corporation. All rights reserved. ACPITroller and Zero-Power are trademarks of Semtech Corporation. Semtech is a registered trademark of 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. Copyright Semtech 2000-2001 DOC8-342-DS-104 12 www.semtech.com