| |
Datasheet Home \ Datasheet Details
Download
PDF Abstract Text:
HT82K628A
Windows 2000 Keyboard Encoder
HT82K628A
Windows 2000 Keyboard Encoder
Features
· Design for Windows 95 / 98 / 2000 / NT · Supports Windows keys · Supports PC / AT and PS / 2 code set 1, 2, 3 · Supports Japanese , Korean , Brazilian and · 101 / 102 / 104 / 105 / 107 / 109 keys or other special ap-
plication keyboard encoder
· 8 external hot keys · Supports Mini-keyboard and Internet / Multimedia
European
· RC oscillator · Phantom key detection · Low power consumption
keyboard
· WINDOWS is a registered trademark of Microsoft
corporation
· 40-pin DIP package
General Description
The HT82K628A is a keyboard encoder designed for IBM PC / AT, IBM PS / 2 and all compatible machines. The HT82K628A accepts keyboard inputs and provides a 16-character first-in-first-out buffer in which data is stored. An inexpensive RC oscillator can be used for the system clock. Simple implementation of this device is an advantage for high performance and low cost keyboard applications.
Pin Assignment
Rev. 1.30
October 3, 2002
HT82K628A
Pin Description
Absolute Maximum Ratings
Supply Voltage .............VSS-0.3V to VSS+5.5V Input Voltage ...............VSS-0.3V to VDD+0.3V Storage Temperature ..............-50°C to 125°C Operating Temperature .............-25°C to 70°C
Electrical Characteristics
Rev. 1.30
October 3, 2002
HT82K628A
Functional Description
The commands may be sent to the HT82K628A at any time and the HT82K628A will respond within 25ms except when performing the internal diagnostics or executing a Reset command. EDH - Set / Reset status indicators Three status indicators on the keyboard-Num Lock, Caps Lock, and Scroll Lock-are accessible by the host. The HT82K628A activates or deactivates these indicators when it receives a valid command-code sequence from the system. The command sequence begins with the command byte (hex ED). The HT82K628A responds to the command byte with ACK, discontinues scanning, assignments for this option byte are as follow: Bit 0 1 2 3~7 Indicator Scroll Lock Indicator Num Lock Indicator Caps Lock Indicator Reserved (Must be 0)
If a bit for an indicator is set to 1, the indicator is turned on. If a bit is set to 0, the indicator is turned off.
Rev. 1.30
October 3, 2002
HT82K628A
The HT82K628A will respond with ACK, clears its output buffer, sets all keys to the type indicated by this command, and continues scanning (if it was previously enabled). Although these commands can be sent using any code set, they affect only scan code set 3 operation. FBH, FCH, FDH - Set key type These commands instruct the HT82K628A to set individual keys to the type listed below: Hex Value FB FC FD Command Set Key Type-Typematic Set Key Type-Make / Break Set Key Type-Make
The HT82K628A will respond with ACK, clears its output buffer and prepares to receive key identification. Key identification is accomplished by the host identifying each key by its scan code value as defined in scan code set 3. Only scan code set 3 values are valid for key identification. The type of each identified key is set to the value indicated by the command. Although these commands can be sent using any code set, they affect only scan code set 3 operation.
Rev. 1.30
October 3, 2002
HT82K628A
FEH - Resend The host sends this command when it detects an error in any transmission from the HT82K628A. It is sent only after a data transmission and before the host allows the next data output. When a Resend is received, the HT82K628A sends the previous output again (unless the previous output was Resend, in which case the HT82K628A sends the last byte before the Resend command). Commands to the host The following table shows the commands that the HT82K628A may send to the host, and their hexadecimal values. Command Hex Value AAH - BAT completion code Following satisfactory completion of the BAT, the HT82K628A sends AAH. Any other code indicates keyboard failure. FCH - BAT failure code If a BAT failure occurs, the HT82K628A sends this code, discontinues scanning and waits for a host response or reset. FEH - Resend The HT82K628A issues a Resend command following receipt of an invalid input or any input with incorrect parity. If the host sends nothing to the HT82K628A, no response is required. Data communications
· Data output
Key Detection Error / Overrun 00 (Code Set 2 and 3) Keyboard ID Bat Completion Code Bat Failure Core Echo Acknowledge Resend Key Detection Error / Overrun 83AB AA FC EE FA FE FF (Code Set 1)
00H or FFH - Key detection error The HT82K628A sends a key detection error character if conditions in the keyboard make it impossible to identify a switch closure. If the HT82K628A is using scan code set 1, the code is FFH. For sets 2 and 3, the code is 00H. 00H or FFH - Overrun An overrun character is placed in the HT82K628A buffer and replaces the last code when the buffer capacity has been exceeded. The code is sent to the host when it reaches the top of the buffer queue. If the HT82K628A is using scan code set 1, the code is FFH. For sets 2 and 3, the code is 00H. 83AbH - Keyboard ID The keyboard ID consists of 2 bytes, Hex 83AbH. The HT82K628A responds to the Read ID with ACK, discontinues scanning and sends 2 ID bytes. The low byte is sent first followed by the high byte. Following the output of Keyboard ID, the HT82K628A begins scanning. EEH - Echo The HT82K628A sends this code in response to an Echo command.
· Data input
Rev. 1.30
October 3, 2002
HT82K628A
Data stream Mode 1, 2, 3 B1: B2: b3: b4: b5: B6 b7: b8: b9: b10: b11: Note: start bit always 0 data bit 0 data bit 1 data bit 2 data bit 3 data bit 4 data bit 5 data bit 6 data bit 7 parity bit (odd par) stop bit always 1
The parity bit is either 1 or 0, and the 8 data bits, plus the parity bit, always have an odd number of 1ms.
Rev. 1.30
October 3, 2002
HT82K628A
When both shift keys are held down: key number 75 Key Number and Symbol 95 /
Both Shift E0 AA E0 B6 E0 52 / E0 D2 E0 2A E0 36 Base E0 35 / E0 B5 Left-Shift Right-Shift
E0 AA E0 35 / E0 B5 E0 2A E0 B6 E0 35 / E0 B5 E0 36 Both Shift E0 AA E0 B6 E0 35 / E0 B5 E0 2A E0 36
When both shift keys are held down: key number 95
Rev. 1.30
October 3, 2002
HT82K628A
Key Number and Symbol 124 Print Screen Base E0 2A E0 37 / E0 B7 E0 AA Base E1 1D 45 E1 9D C5 Shift / Ctrl E0 37 / E0 B7 Alt 54 / D4 Ctrl E0 46 E0 C6
Key Number and Symbol 126 Pause
This key is not typematic, all associated scan codes occur on the make code. Key Number and Function ACPI ACPI ACPI Power Sleep Wake-up Key Number and Function 56 131 132 133 150 151 Brazil BA0 Japanese J131 Japanese J132 Japanese J133 Korea KC-L Korea KC-R Multimedia Key Function E-Mail WWW Home WWW Favorites WWW Search WWW Refresh WWW Stop WWW Forward WWW Back Media Play / Pause Stop Prev Track Next Track Volume+ VolumeMute My Computer Calculator Screen save Rec Rew Minimize Eject Make / Break code E0 5E / E0 DE E0 5F / E0 DF E0 63 / E0 E3 Make / Break code 73 / F3 7B / FB 79 / F9 70 / F0 F1 / F0 / Default Make / Break Make / Break Make / Break Default Typematic Make Make Make Make Make Make / Break code E0 6C / E0 EC E0 32 / E0 B2 E0 66 / E0 E6 E065 / E0 E5 E0 67 / E0 E7 E0 68 / E0 E8 E0 69 / E0 E9 E0 6A / E0 EA E0 6D / E0 ED E0 22 / E0 A2 E0 24 / E0 A4 E0 10 / E0 90 E0 19 / E0 99 E0 30 / E0 B0 E0 2E / E0 AE E0 20 / E0 A0 E0 6B / E0 EB E0 21 / E0 A1 E0 26 / E0 A6 E0 1E / E0 9E E0 17 / E0 97 E0 2D / E0 AD E0 11 / E0 91
Rev. 1.30
October 3, 2002
HT82K628A
Rev. 1.30
October 3, 2002
HT82K628A
Left-Shift
Right-Shift
E0 4A / E0 F0 4A E0 F0 12 E0 4A / E0 F0 4A E0 12 E0 F0 59 E0 4A / E0 F0 4A E0 59 Both Shift E0 F0 12 E0 F0 59 E0 4A / E0 F0 4A E0 12 E0 59
When both shift keys are held down: key number 95 Key Number and Symbol 124 Print Screen
Base E0 12 E0 7C / E0 F0 7C E0 F0 12 Base E1 14 77 E1 F0 14 F0 77
Shift / Ctrl E0 7C / E0 F0 7C
Alt 84 / F0 84 Ctrl E0 7E E0 F0 7E
Key Number and Symbol 126 Pause
This key is not typematic, all associated scan codes occur on the make code.
Rev. 1.30
October 3, 2002
HT82K628A
Key Number and Function ACPI ACPI ACPI Key Number and Function 56 131 132 133 150 151 Brazil BA0 Japanese J131 Japanese J132 Japanese J133 Korea KC-L Korea KC-R Power Sleep Wake-up Make / Break code E0 37 / E0 F0 37 E0 3F / E0 F0 3F E0 5E / E0 F0 5E Default Make / Break Make / Break Make / Break
Default Typematic Make Make Make Make Make
Multimedia Key Function E-Mail WWW Home WWW Favorites WWW Search WWW Refresh WWW Stop WWW Forward WWW Back Media Play / Pause Stop Prev Track Next Track Volume+ VolumeMute My Computer Calculator Screen save Rec Rew Minimize Eject
Rev. 1.30
October 3, 2002
HT82K628A
101-Key Keyboard Only 102-Key Keyboard Only
Rev. 1.30
October 3, 2002
HT82K628A
Key Number and Function 56 131 132 133 150 151 Brazil BA0 Japanese J131 Japanese J132 Japanese J133 Korea KC-L Korea KC-R Make / Break code 51 / F0 51 67 / F0 67 64 / F0 64 13 / F0 13 F1 / F2 / Default Typematic Make Make Make Make Make
Timing Diagrams
Data output
Keyboard data input
Rev. 1.30
October 3, 2002
HT82K628A
Mini keyboard operation manual
· Macro key
Rev. 1.30
October 3, 2002
HT82K628A
· Fn key usage
Rev. 1.30
October 3, 2002
HT82K628A
SLEEP PgDn 86 END
R15 R16 R17 R18 R19
Rev. 1.30
October 3, 2002
HT82K628A
Application Circuits
Note: Fn Select ® GND: Enable the Mini Keyboard Macro Key Select ® GND: Disable the Macro Key
Rev. 1.30
October 3, 2002
HT82K628A
Package Information
40-pin DIP (600mil) outline dimensions
Rev. 1.30
October 3, 2002
HT82K628A
Rev. 1.30
October 3, 2002
|