EMC EM83055H

EM83055H
KEYBOARD ENCODER
GENERAL DESCRIPTION
The EM83055H microcontroller is dedicated to a keyboard encoder ,specially designed for IBM PC AT and
all compatible machines. The EM83055H controll all scan codes, three LEDs status, scan timing and communications
between the keyboard and PC. It is easy to implement a high performance, low cost keyboard with the minimal
external components.
FEATURES
•
•
•
•
•
•
•
•
•
•
•
•
Low cost - eliminate need external components.
Phantom key detects.
RC oscillator ( 1.8432MHz ).
Support scan code set 1 ,2 and 3.
Support PC AT and PS/2 keyboard .
Low power CMOS device technology.
Internal pull-up resistor.
Tri-state outputs for easy board application.
Built-in 4K ROM.
Support WINDOWSTM 95, 98, 2000, ME keys.
104/107 keys with multi-media or other special application keyboard encoder.
WINDOWS is registered trademarks of Microsoft corperation.
APPLICATION
•
•
•
•
•
•
IBM PC AT or compatible machine keyboard.
IBM PS/2 model 30,50,60,80 or compatible machine keyboard.
Japanese keyboard.
Korean keyboard.
Brazilian keyboard.
European keyboard.
6
7
8
9
10
11
12
13
14
15
R_OSCI
VDD
CAPS
EM83055H
36
35
34
33
32
31
30
29
28
27
NUM
SCROLL
P67
P66
P65
P64
P63
P62
P61
P60
P55
P56
P57
P80
P81
P82
P83
P84
P85
P86
P87
16
17
18
19
20
21
22
23
24
25
26
P91
P92
P93
P94
P95
P50
P51
P52
P53
P54
39
38
37
5
4
3
2
1
P90
CLK
DATA
OSCO
GND
PIN ASSIGNMENTS
* This specification are subject to be changed without notice.
9.25.2001
1
EM83055H
KEYBOARD ENCODER
PIN DESCRIPTIONS
Symbol
P50
P51
P52
P53
P54
P55
P56
P57
P80
P81
P82
P83
P84
P85
P86
P87
P90
P91
VSS
SCROLL
NUM
CAPS
P60
P61
P62
P63
P64
P65
P66
P67
CLK
DATA
VDD
OSCO
R_OSCI
I/O
Function
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
I
O
O
O
I
I
I
I
I
I
I
I
I/O
I/O
I
O
I
Column 3 Low output scan line, 3-state
Column 4 Low output scan line, 3-state
Column 5 Low output scan line, 3-state
Column 6 Low output scan line, 3-state
Column 7 Low output scan line, 3-state
Column 14 Low output scan line, 3-state
Column 13 Low output scan line, 3-state
Column 12 Low output scan line, 3-state
Column 11 Low output scan line, 3-state
Column 15 Low output scan line, 3-state
Column 10 Low output scan line, 3-state
Column 8 Low output scan line, 3-state
Column 9 Low output scan line, 3-state
Column 0 Low output scan line, 3-state
Column 16 Low output scan line, 3-state
Column 17 Low output scan line, 3-state
Column 1 Low output scan line, 3-state
Column 2 Low output scan line, 3-state
Ground
Scroll Lock Indicator
NUM Lock Indicator
Caps Lock Indicator
Row 0 Input scan line, internal pull high ( 17KΩ )
Row 1 Input scan line, internal pull high ( 17KΩ )
Row 2 Input scan line, internal pull high ( 17KΩ )
Row 3 Input scan line, internal pull high ( 17KΩ )
Row 4 Input scan line, internal pull high ( 17KΩ )
Row 5 Input scan line, internal pull high ( 17KΩ )
Row 6 Input scan line, internal pull high ( 17KΩ )
Row 7 Input scan line, internal pull high ( 17KΩ )
CLOCK line for IBM communication , internal pull high ( 2.2KΩ )
DATA line for IBM communication , internal pull high ( 2.2KΩ )
+5V Power Supply
CLOCK output
Connect 51K OHM resistor for 1.8432 MHz oscillation
* This specification are subject to be changed without notice.
9.25.2001
2
EM83055H
KEYBOARD ENCODER
FUNCTION DESCRIPTIONS
Keyboard buffer
The keyboard will buffer 16 bytes in a first-in-first-out order when the system is able to receive scan codes
from the keyboard. The response codes and repeated codes will not be buffered. If keystrokes generate a
multiple-byte sequence, the entire sequence must fit into the buffer or the keystroke is discarded and a bufferoverrun condition occurs.
Power-on Reset and self test
The duration of the keyboard Power-on-Reset(POR) should be within 150 milliseconds and 2 seconds after
the power is applied to the keyboard.
After executing POR , the keyboard executes a self test. The LEDs are turned on at the beginning and off at
the end of the self test. The self test takes a minimum 300 milliseconds and a maximum 500 milliseconds.
If the self test is successful, a completion code AA hex is sent to the system and the keyboard starts scanning.
If the self test fails, and error code is sent, the keyboard is disabled and waits for a command from the system.
The completion codes are sent between 450 milliseconds and 2.5 seconds after POR, and between 300 and
500 milliseconds after a RESET command is acknowledged.
Keyboard data output
When the keyboard is ready to send data to the system, it first checks clock and data lines. If either one is in
the low state, data is stored in the keyboard buffer. If both are in the high state, keyboard starts clocking data
out. Data will be valid before the trailing edge and after the leading edge of the clock pulse. During the
transmission the keyboard checks the clock line at least every 60 microseconds . If the system lowers the clock
lines before the leading edge of the 10th clock, the keyboard should stop sending, then buffer the data and
return clock and data lines to high state.
Keyboard data input
When the system is ready to send data to the keyboard, it first checks clock line to see if keyboard is sending
data. If keyboard is not sending data or it is sending data but has not reached the 10th clock, the system can
inhibit the interface by forcing the clock line low for more than 60 microseconds and prepares to send data.
The keyboard checks clock line status at least every 5 milliseconds. If a system Request to Send(RTS) is
detected, the keyboard clocks 11 bits in. After the 10th bit, the keyboard checks for a high state in data line
then pulls it low and clocks one more bit to signal the system that data has been received. If data is low after
the 10th bit, it indicates a frame error. The keyboard should continue to count until data line goes high, then
pulls it low and issues a RESEND to the system.
Command from the system
The system can send commands to the keyboard at any time. The keyboard needs to respond within 20
milliseconds, unless the system prevents keyboard output, when doing self test or executing a RESET.
The following are the keyboard input commands and the actions that keyboard needs to take.
Set /Reset Status indicators ( Hex ED )
- Responds ACK.
- Receives option byte.
* This specification are subject to be changed without notice.
9.25.2001
3
EM83055H
KEYBOARD ENCODER
- Responds ACK.
- Updates status indicators.
- Returns to previous scanning state.
Echo ( Hex EEH )
- Responds with EE hex.
- Returns to previous scanning state.
Invalid commands ( Hex EF and F1 )
- Returns a RESEND command.
- Returns to previous scanning state.
Select Alternate Scan Codes ( Hex F0 )
- Responds ACK.
- Clears output buffer.
- Sets the default typematic rate/delay.
- Clears last typematic key.
- Receives option byte.
- Responds ACK.
- Option byte =
01 : selects scan code set 1
02 : selects scan code set 2
03 : selects scan code set 3
- Returns to previous scanning rate.
Read ID (F2)
- Responds with ACK.
- Discontinues scanning.
- Sends two ID bytes. The second byte will be sent within 500 uS after first byte.
- Resumes scanning.
Set Typematic Rate/Delay ( Hex F3 )
- Responds ACK.
- Receives rate/delay value byte
- Responds ACK.
- Set rate/delay (* Note 1)
- Returns to previous scanning state.
* Note 1
1. Repeat period = ( 8+A ) x ( 2B) x 0.00417 seconds
A : binary value of bits 2, 1, and 0.
B : binary value of bits 4 and 3.
2. Delay = ( C +1 ) x 250 milliseconds
C : binary value of bits 6 and 5. Bit 7 is always 0.
* This specification are subject to be changed without notice.
9.25.2001
4
EM83055H
KEYBOARD ENCODER
bit 4~ bit 0
00000
00001
00010
00011
00100
00101
00110
00111
01000
01001
01010
01011
01100
01101
01110
01111
typematic rate ± 20%
30.0
26.7
24.0
21.8
20.0
18.5
17.1
16.0
15.0
13.3
12.0
10.9
10.0
9.2
8.6
8.0
bit 4~ bit 0
10000
10001
10010
10011
10100
10101
10110
10111
11000
11001
11010
11011
11100
11101
11110
11111
typematic rate ± 20%
7.5
6.7
6.0
5.5
5.0
4.6
4.3
4.0
3.7
3.3
3.0
2.7
2.5
2.3
2.1
2.0
3. Default rate = 10.9 chars/sec + 20%
Default delay = 500 mS ± 20%
Enable ( Hex F4 )
- Responds with ACK.
- Clears output buffer.
- Clears last typematic key.
- Start scanning.
Default Disable (Hex F5)
- Responds with ACK.
- Resets all conditions to power-on state.
- Clears output buffer.
- Sets the default key type ( scan code set 3 only ).
- Set the default typematic rate/delay.
- Clears last typematic key.
- Stops scanning,
Set Default (Hex F6 )
- Responds with ACK.
- Resets all conditions to power-on state.
- Clears output buffer.
- Sets the default key type ( scan code set 3 only ).
- Set the default typematic rate/delay.
- Clears last typematic key.
- Continues scanning,
Set All Keys ( Hex F7,F8,F9,FA )
* This specification are subject to be changed without notice.
9.25.2001
5
EM83055H
KEYBOARD ENCODER
- Responds ACK.
- Clears output buffer.
- Sets all key type (affect only scan code set 3 operation).
F7 : Typematic
F8 : Make/Break
F9 : Make
FA : Typematic/Make/Break
- Returns to previous scanning rate.
Set Key Type ( Hex FB,FC,FD )
- Responds ACK.
- Clears output buffer.
- Receives key ID byte
- Responds ACK.
- Sets key ID type (affect only scan code set 3 operation).
FB : Typematic
FC : Make/Break
FD : Make
- Returns to previous scanning rate.
Resend ( Hex FE )
- Sends the previous output again. If the previous byte is RESEND, the last byte before RESEND shall be sent.
Reset ( Hex FF )
- Responds ACK.
- Checks clock and data lines - Reset in the high state for at least 500 microseconds or receives another command.
- Default to scan code set 2.
Command to the system
The following are the keyboard output commands.
Acknowledge ( Hex FA )
The keyboard sends an acknowledge in response to any valid command from the system except for RESEND
and ECHO.
BAT Completion Code ( Hex AA )
This command is issued after successful completion of keyboard self test.
Echo ( Hex EE )
The keyboard sends this code in response to an ECHO command.
* This specification are subject to be changed without notice.
9.25.2001
6
EM83055H
KEYBOARD ENCODER
Keyboards ID ( Hex 83AB )
The 2 byte ID is issued to respond to READ ID command. The low byte is sent first, followed by the high byte.
Keyboard buffer Overrun ( Hex 00 or FF )
If keyboard buffer overflows, the overrun code will replace the last byte in the buffer. If the keyboard is using
scan code set 1 , the code is hex FF. For sets 2 and 3, the code is hex 00.
Resend ( Hex FE )
When the keyboard receives an invalid input or any input with incorrect parity, the RESEND command is sent.
Keyboard Scan Code Table
The keyboard contains 3 scan code sets. The system defaults to scan code set 2, but can be switched to set 1 or
set 3 . The following tables show the key numbers and three scan code sets in hexadecimal values. All the keys
are typematics except for the pause key. When a key is pressed down, the make scan code is sent to the
system. When the key is released, its break code is sent. If two or more keys are held down, only the last key
pressed repeats at the typematic rate. Typematic operation stops when the last pressed key is released, even if
other keys are being released or some other keys are still held down.
The following table shows three scan code sets used in the keyboard.
scan code set 1
Key
`(~)
1
2
3
4
5
6
7
8
9
0
-(-)
=(+)
BACK SPACE
TAB
Q
W
E
R
T
Y
Make code
29
02
03
04
05
06
07
08
09
0A
0B
0C
0D
0E
0F
10
11
12
13
14
15
Break code
A9
82
83
84
85
86
87
88
89
8A
8B
8C
8D
8E
8F
90
91
92
93
94
95
* This specification are subject to be changed without notice.
Key
X
C
V
B
N
M
,(<)
.(>)
/(?)
SHIFT_R
CTRL_L
ALT_L
SPACE
ALT_R
CTRL_R
NUM
(7)
(4)
(1)
(8)
(5)
Make code
2D
2E
2F
30
31
32
33
34
35
36
1D
38
39
E0 38
E0 1D
45
47
4B
4F
48
4C
Break code
AD
AE
AF
B0
B1
B2
B3
B4
B5
B6
9D
B8
B9
E0 B8
E0 9D
C5
C7
CB
CF
C8
CC
9.25.2001
7
EM83055H
KEYBOARD ENCODER
Key
U
I
O
P
[({)
](})
\( )@1
CAPS
A
S
D
F
G
H
J
K
L
;(:)
'(")
K42 @2
ENTER
SHIFT_L
K45 @2
Z
Key
Make code
16
17
18
19
1A
1B
2B
3A
1E
1F
20
21
22
23
24
25
26
27
28
2B
1C
2A
56
2C
Break code
96
97
98
99
9A
9B
AB
BA
9E
9F
A0
A1
A2
A3
A4
A5
A6
A7
A8
AB
9C
AA
D6
AC
INS
Base Case,or Shift + Nun Lock
Make/Break
E0 52 / E0 D2
DEL
E0 53 / E0 D3
LEFT
E0 4B / E0 CB
HOME
E0 47 / E0 C7
END
E0 4F / E0 CF
UP
E0 48 / E0 C8
DOWN
E0 50 / E0 D0
PAGE UP
E0 49 / E0 C9
PAGE
DOWN
RIGHT
E0 51 / E0 D1
E0 4D / ED CD
* This specification are subject to be changed without notice.
Key
(2)
(θ)
(*)
(9)
(6)
(3)
(DEL)
(-)
(+)
(ENTER)
ESC
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
SCROLL
Shift Case @3
Make/Break
E0 AA E0 52
/ E0 D2 E0 2A
E0 AA E0 53
/ E0 D3 E0 2A
E0 AA E0 4B
/ E0 CB E0 2A
E0 AA E0 47
/ E0 C7 E0 2A
E0 AA E0 4F
/ E0 CF E0 2A
E0 AA E0 48
/ E0 C8 E0 2A
E0 AA E0 50
/ E0 D0 E0 2A
E0 AA E0 49
/ E0 C9 E0 2A
E0 AA E0 51
/ E0 D1 E0 2A
E0 AA E0 4D
/ E0 CD E0 2A
Make code
50
52
37
49
4D
51
53
4A
4E
E0 1C
01
3B
3C
3D
3E
3F
40
41
42
43
44
57
58
46
Break code
D0
D2
B7
C9
CD
D1
D3
CA
CE
E0 9C
81
BB
BC
BD
BE
BF
C0
C1
C2
C3
C4
D7
D8
C6
Num Lock
Make/Break
E0 2A E0 52
/ E0 D2 E0 AA
E0 2A E0 53
/ E0 D3 E0 AA
E0 2A E0 4B
/ E0 CB E0 AA
E0 2A E0 47
/ E0 C7 E0 AA
E0 2A E0 4F
/ E0 CF E0 AA
E0 2A E0 48
/ E0 C8 E0 AA
E0 2A E0 50
/ E0 D0 E0 AA
E0 2A E0 49
/ E0 C9 E0 AA
E0 2A E0 51
/ E0 D1 E0 AA
E0 2A E0 4D
/ E0 CD E0 AA
9.25.2001
8
EM83055H
KEYBOARD ENCODER
Key
(/)
Scan Code Make/Break
E0 35 / E0 B5
Key
Scan Code
Make/Break
E0 2A E0 37
/ E0 B7 E0 AA
PRINT
Key
PAUSE @4
Shift Case Make/Break @3
E0 AA E0 35 / E0 B5 E0 2A
Ctrl Case, Shift Case
Make/ Break
E0 37 / E0 B7
Make Code
E1 1D 45 E1 9D C5
Alt Case
Make/Break
54 / D4
Ctrl Key Pressed
E0 46 E0 C6
Note .
@1 : 101-key keyboard only.
@2 : 102-key keyboard only.
@3 : If the left Shift key is held down, the AA/2A shift make and break is sent with the other scan codes.
If the right Shift key is held down, B6/36 is sent. If both Shift keys are down, both sets of codes are
sent with the other scan code.
@4 : This key is not typematic. All associated scan codes occur on the make of the key.
scan code set 2
Key
`(~)
1
2
3
4
5
6
7
8
9
0
-(-)
=(+)
BACK SPACE
TAB
Q
W
E
R
T
Y
U
I
O
P
[({)
](})
\( )@5
Make code
0E
16
1E
26
25
2E
36
3D
3E
46
45
4E
55
66
0D
15
1D
24
2D
2C
35
3C
43
44
4D
54
5B
5D
Break code
F0 0E
F0 16
F0 1E
F0 26
F0 25
F0 2E
F0 36
F0 3D
F0 3E
F0 46
F0 45
F0 4E
F0 55
F0 66
F0 0D
F0 15
F0 1D
F0 24
F0 2D
F0 2C
F0 35
F0 3C
F0 43
F0 44
F0 4D
F0 54
F0 5B
F0 5D
* This specification are subject to be changed without notice.
Key
X
C
V
B
N
M
,(<)
.(>)
/(?)
SHIFT_R
CTRL_L
ALT_L
SPACE
ALT_R
CTRL_R
NUM
(7)
(4)
(1)
(8)
(5)
(2)
(0)
(*)
(9)
(6)
(3)
(DEL)
Make code
22
21
2A
32
31
3A
41
49
4A
59
14
11
29
E0 11
E0 14
77
6C
6B
69
75
73
72
70
7C
7D
74
7A
71
Break code
F0 22
F0 21
F0 2A
F0 32
F0 31
F0 3A
F0 41
F0 49
F0 4A
F0 59
F0 14
F0 11
F0 29
E0 F0 11
E0 F0 14
F0 77
F0 6C
F0 6B
F0 69
F0 75
F0 73
F0 72
F0 70
F0 7C
F0 7D
F0 74
F0 7A
F0 71
9.25.2001
9
EM83055H
KEYBOARD ENCODER
Key
CAPS
A
S
D
F
G
H
J
K
L
;(:)
'(")
K42 @6
ENTER
SHIFFT_L
K45 @6
Z
Key
Make code
58
1C
1B
23
2B
34
33
3B
42
4B
4C
52
5D
5A
12
61
1A
Break code
F0 58
F0 1C
F0 1B
F0 23
F0 2B
F0 34
F0 33
F0 3B
F0 42
F0 4B
F0 4C
F0 52
F0 5D
F0 5A
F0 12
F0 61
F0 1A
INS
Base Case,or
Shift + Nun Lock
Make/Break
E0 70 / E0 F0 70
DEL
E0 71 / E0 F0 71
LEFT
E0 6B / E0 F0 6B
HOME
E0 6C / E0 F0 6C
END
E0 69 / E0 F0 69
UP
E0 75 / E0 F0 75
DOWN
E0 72 / E0 F0 72
PAGE UP
E0 7D / E0 F0 7D
PAGE DOWN
E0 7A / E0 F0 7A
RIGHT
E0 74 / E0 F0 74
Key
(/)
Key
PRINT
Key
(-)
(+)
(ENTER)
ESC
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
SCROLL
* This specification are subject to be changed without notice.
Break code
F0 7B
F0 79
E0 F0 5A
F0 76
F0 05
F0 06
F0 04
F0 0C
F0 03
F0 0B
F0 83
F0 0A
F0 01
F0 09
F0 78
F0 07
F0 7E
Shift Case @7
Make/Break
Num Lock
Make/Break
E0 F0 12 E0 70
/ E0 F0 70 E0 12
E0 F0 12 E0 71
/ E0 F0 71 E0 12
E0 F0 12 E0 6B
/ E0 F0 6B E0 12
E0 F0 12 E0 6C
/ E0 F0 6C E0 12
E0 F0 12 E0 69
/ E0 F0 69 E0 12
E0 F0 12 E0 75
/ E0 F0 75 E0 12
E0 F0 12 E0 72
/ E0 F0 72 E0 12
E0 F0 12 E0 7D
/ E0 F0 7D E0 12
E0 F0 12 E0 7A
/ E0 F0 7A E0 12
E0 F0 12 E0 74
/ E0 F0 74 E0 12
E0 12 E0 70
/ E0 F0 70 E0 F0 12
E0 12 E0 71
/ E0 F0 71 E0 F0 12
E0 12 E0 6B
/ E0 F0 6B E0 F0 12
E0 12 E0 6C
/ E0 F0 6C E0 F0 12
E0 12 E0 69
/ E0 F0 69 E0 F0 12
E0 12 E0 75
/ E0 F0 75 E0 F0 12
E0 12 E0 72
/ E0 F0 72 E0 F0 12
E0 12 E0 7D
/ E0 F0 7D E0 F0 12
E0 12 E0 7A
/ E0 F0 7A E0 F0 12
E0 12 E0 74
/ E0 F0 74 E0 F0 12
Scan Code Make/Break
E0 4A / E0 F0 4A
Scan Code
Make/Break
E0 12 E0 7C
/ E0 F0 7C E0 F0 12
Make code
7B
79
E0 5A
76
05
06
04
0C
03
0B
83
0A
01
09
78
07
7E
Shift Case Make/Break @7
E0 F0 12 E0 4A / E0 F0 4A E0 12
Ctrl Case, Shift Case
Make/ Break
E0 7C / E0 F0 7C
Alt Case
Make/Break
84 / F0 84
9.25.2001
10
EM83055H
KEYBOARD ENCODER
Key
PAUSE @8
Make Code
E1 14 77 E1 F0 14 F0 77
Ctrl Key Pressed
E0 7E E0 F0 7E
Note .
@5 : 101-key keyboard only.
@6 : 102-key keyboard only.
@7 : If the left Shift key is held down, the F0 12/12 shift make and break is sent with the other scan codes.
If the right Shift key is held down, F0 59/59 is sent. If both Shift keys are down, both sets of codes
are sent with the other scan code.
@8 : This key is not typematic. All associated scan codes occur on the make of the key.
scan code set 3
Key
`(~)
1
2
3
4
5
6
7
8
9
0
-(_)
=(+)
BACK SPACE
TAB
Q
W
E
R
T
Y
U
I
O
P
[({)
](})
\( ) @9
CAPS
A
S
D
F
G
H
Make Code
0E
16
1E
26
25
2E
36
3D
3E
46
45
4E
55
66
0D
15
1D
24
2D
2C
35
3C
43
44
4D
54
5B
5C
14
1C
1B
23
2B
34
33
* This specification are subject to be changed without notice.
Break Code
F0 0E
F0 16
F0 1E
F0 26
F0 25
F0 2E
F0 36
F0 3D
F0 3E
F0 46
F0 45
F0 4E
F0 55
F0 66
F0 0D
F0 15
F0 1D
F0 24
F0 2D
F0 2C
F0 35
F0 3C
F0 43
F0 44
F0 4D
F0 54
F0 5B
F0 5C
F0 14
F0 1C
F0 1B
F0 23
F0 2B
F0 34
F0 33
Default Key State
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Make/Break
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
9.25.2001
11
EM83055H
KEYBOARD ENCODER
Key
J
K
L
;(:)
'(")
K42 @10
ENTER
SHIFT_L
K45 @10
Z
X
C
V
B
N
M
,(<)
.(>)
/(?)
SHIFT_R
CTRL_L
ALT_L
SPACE
ALT_R
CTRL_R
INS
DEL
LEFT
HOME
END
UP
DOWN
PAGE UP
PAGE DOWN
RIGHT
NUM
(7)
(4)
(1)
(/)
(8)
(5)
(2)
(0)
(*)
(9)
(6)
(3)
Make Code
3B
42
4B
4C
52
53
5A
12
13
1A
22
21
2A
32
31
3A
41
49
4A
59
11
19
29
39
58
67
64
61
6E
65
63
60
6F
6D
6A
76
6C
6B
69
77
75
73
72
70
7E
7D
74
7A
* This specification are subject to be changed without notice.
Break Code
F0 3B
F0 42
F0 4B
F0 4C
F0 52
F0 53
F0 5A
F0 12
F0 13
F0 1A
F0 22
F0 21
F0 2A
F0 32
F0 31
F0 3A
F0 41
F0 49
F0 4A
F0 59
F0 11
F0 19
F0 29
F0 39
F0 58
F0 67
F0 64
F0 61
F0 6E
F0 65
F0 63
F0 60
F0 6F
F0 6D
F0 6A
F0 76
F0 6C
F0 6B
F0 69
F0 77
F0 75
F0 73
F0 72
F0 70
F0 7E
F0 7D
F0 74
F0 7A
Default Key State
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Make/Break
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Typematic
Make/Break
Make/Break
Make/Break
Typematic
Make only
Make only
Make only
Typematic
Typematic
Make only
Make only
Typematic
Typematic
Make only
Make only
Typematic
Make only
Make only
Make only
Make only
Make only
Make only
Make only
Make only
Make only
Make only
Make only
Make only
Make only
9.25.2001
12
EM83055H
KEYBOARD ENCODER
Key
(DEL)
(-)
(+)
(ENTER)
ESC
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
PRINT
SCROLL
PAUSE
Make Code
71
84
7C
79
08
07
0F
17
1F
27
2F
37
3F
47
4F
56
5E
57
5F
62
Break Code
F0 71
F0 84
F0 7C
F0 79
F0 08
F0 07
F0 0F
F0 17
F0 1F
F0 27
F0 2F
F0 37
F0 3F
F0 47
F0 4F
F0 56
F0 5E
F0 57
F0 5F
F0 62
Default Key State
Make only
Make only
Typematic
Make only
Make only
Make only
Make only
Make only
Make only
Make only
Make only
Make only
Make only
Make only
Make only
Make only
Make only
Make only
Make only
Make only
Note .
@9 : 101-key keyboard only
@10 : 102-key keyboard only
New key codes for scan set 1:
New key
LWIN
RWIN
APP
N-CHG (131)
CHG (132)
ROMA (133)
K14
K56
K107
KL
KR
POWER
SLEEP
WAKE UP
* This specification are subject to be changed without notice.
Make
5B
5C
5D
7B
79
70
7D
73
7E
F1
F0
E0
5E
E0
5F
E0
63
E0
E0
E0
Break
DB
DC
DD
FB
F9
F0
FD
F3
FE
X
X
E0
DE
E0
DF
E0
E3
E0
E0
E0
9.25.2001
13
EM83055H
KEYBOARD ENCODER
New key codes for scan set 2:
New key
LWIN
RWIN
APP
N-CHG (131)
CHG (132)
ROMA (133)
K14
K56
K107
KL
KR
POWER
SLEEP
WAKE UP
Make
1F
27
2F
67
64
13
6A
51
6D
F1
F2
E0
37
E0
3F
E0
5E
Break
F0
F0
F0
F0
67
F0
64
F0
13
F0
6A
F0
51
F0
6D
X
X
E0
F0
E0
F0
E0
F0
E0
E0
E0
E0
E0
E0
1F
27
2F
37
3F
5E
New key codes for scan set 3:
New key
LWIN
RWIN
APP
N-CHG (131)
CHG (132)
ROMA (133)
K14
K56
K107
KL
KR
POWER
SLEEP
WAKE UP
Make
8B
8C
8D
85
86
87
5D
51
7B
F1
F2
X
X
X
Break
F0
F0
F0
F0
F0
F0
F0
F0
F0
8B
8C
8D
85
86
87
5D
51
7B
MAKE/BREAK
MAKE/BREAK
MAKE/BREAK
MAKE
MAKE
MAKE
TYPEMATIC
TYPEMATIC
TYPEMATIC
X
X
X
X
X
Windows 2000 Multi-Media key Code.
K130 : WWW Back
K131 : WWWForward
K132 : WWWstop
K133 : WWWRefresh
K134 : WWWSearch
K135 : WWWFavorites
K136 : WWWWeb/Home
K137 : Mail
K138 : Mute
K139 : VolumeK140 : Volume+
K141 : Play/Pause
K142 : Stop
K143 : PreTrack
K144 : Nexttrack
K145 : Media Select
K146 : MyComputer
K147 : Calculator
SET1
MAKE
E06A
E069
E068
E067
E065
E066
E032
E06C
E020
E02E
E030
E022
E024
E010
E019
E06D
E06B
E021
* This specification are subject to be changed without notice.
BREAK
E0EA
E0E9
E0E8
E0E7
E0E5
E0E6
E0B2
E0EC
E0A0
E0AE
E0B0
E0A2
E0A4
E090
E099
E0ED
E0EB
E0A1
SET2
MAKE
E038
E030
E028
E020
E010
E018
E03A
E048
E023
E021
E032
E034
E03B
E015
E04D
E050
E040
E02B
BREAK
E0F038
E0F030
E0F028
E0F020
E0F010
E0F018
E0F03A
E0F048
E0F023
E0F021
E0F032
E0F034
E0F03B
E0F015
E0F04D
E0F050
E0F040
E0F02B
9.25.2001
14
EM83055H
KEYBOARD ENCODER
Turbo Function:
Fn+
F1
F2
F3
F4
F5
2.1hz
4.2hz
7.2hz
16.3hz
21hz
F6
F7
F11
30hz
46hz
keyLoak
Internal-Multikey Function 1:
Fn+
(M/Mode)
Multi-Media Function
Pad_2
VolumePad_3
Play/Pause
Pad_4
PreTrack
Pad_5
Media
Pad_6
NextTrack
Pad_7
Mute
Pad_8
Volume+
Pad_9
Stop
Internal Function
Pad_Enter Web/Home
Pad_+
Mail
Pad_Favorites
Pad_.
Search
Right Arrow Forward
left Arrow
Back
Down Arrow
Stop
Up Arrow
Refresh
O.S. Function
Pad_0
MyComputer
Pad_1
Calculator
Internal Function
F1
Web/Home
F8
Mail
F2
Favorites
F3
Search
F6
Forward
F7
Back
F5
Stop
F4
Refresh
O.S. Function
F10
MyComputer
F11
Calculator
E
Eur Key
Internal-Multikey Function 2:
Fn+
(M/Mode)
Multi-Media Function
Pad_Enter
VolumeDown
Play/Pause
Left
PreTrack
F9
Media
Right
NextTrack
F12
Mute
Pad_+
Volume+
Up
Stop
* This specification are subject to be changed without notice.
E
Eur Key
9.25.2001
15
EM83055H
KEYBOARD ENCODER
K130
K131
K132
F1
ESC
(~)
‘
1
TAB
K133
F2
2
Q
K134
F3
3
W
K135
F4
4
E
5
R
K136
K137
K138
F5
F6
F7
F8
6
7
8
9
T
Y
U
I
K139
K140
F9
O
F10
(_)
-
10
P
K141
F11
F12
(+)
=
[({)
K142
SPACE
\( )
](})
K143
K144
K145
PRINT
SCROLL
PAUSE
K146
INS
HOME
PAGE
UP
NUM
(/)
(*)
END
PAGE
DOWN
(7)
(8)
(9)
(4)
(5)
(6)
(1)
(2)
(3)
DEL
K147
(-)
(+)
CAPS
A
SHIFT_L
S
D
Z
F
X
G
C
H
V
J
B
K
N
L
M
,(<)
;(:)
’(")
.(>)
ENTER
/(?)
UP
SHIFT_R
(ENTER)
CTRL_L
ALT_L
SPACE
ALT_R
CTRL_R
LEFT
DOWN
RIGHT
POWER
SLEEP
WAKE UP
PRINT
SCROLL
PAUSE
INS
HOME
PAGE
UP
DEL
END
PAGE
DOWN
(0)
(*)
Fig 1. The Windows 2000 keyboard layout
F1
ESC
(~)
‘
1
TAB
F2
2
Q
F3
3
W
F4
4
E
5
R
F5
F6
F7
F8
6
7
8
9
T
Y
U
I
F9
(_)
-
10
O
F10
F12
(+)
=
[({)
P
F11
SPACE
\( )
](})
NUM
(/)
(*)
(7)
(8)
(9)
(4)
(5)
(6)
(1)
(2)
(3)
(-)
(+)
CAPS
S
A
SHIFT_L
D
Z
F
G
C
X
H
V
J
B
K
N
M
L
,(<)
’(")
;(:)
.(>)
/(?)
ENTER
APP
SHIFT_R
UP
(ENTER)
LWIN
CTRL_L
ALT_L
RWIN
ALT_R
SPACE
CTRL_R
LEFT
DOWN
RIGHT
PRINT
SCROLL
PAUSE
INS
HOME
PAGE
UP
NUM
(/)
(*)
END
PAGE
DOWN
(7)
(8)
(9)
(4)
(5)
(6)
(1)
(2)
(3)
(0)
(*)
Fig 2. The 107-key keyboard layout
F1
ESC
(~)
‘
1
TAB
F2
2
Q
F3
3
W
F4
4
E
5
R
T
F5
F6
F7
F8
6
7
8
9
Y
U
I
F9
(_)
-
10
O
F10
P
F11
F12
(+)
=
[({)
SPACE
\( )
](})
DEL
(-)
(+)
CAPS
A
SHIFT_L
S
Z
D
X
F
C
G
V
H
J
B
N
K
M
L
,(<)
;(:)
.(>)
’(")
/(?)
ENTER
SHIFT_R
APP
UP
(ENTER)
CTRL_L
LWIN
ALT_L
SPACE
ALT_R
RWIN
CTRL_R
LEFT
DOWN
RIGHT
(0)
(*)
Fig 3. The 104-key keyboard layout
* This specification are subject to be changed without notice.
9.25.2001
16
EM83055H
KEYBOARD ENCODER
ABSOLUTE MAXIMUM RATINGS
Parameter
Sym.
Ratings
Supply Voltage
Input Voltage
Output Voltage
Temperature under bias
Storage temperature
VCC
VIN
VOUT
TB
TS
-0.5V to +7V
-0.3V to +6V
-0.3V to +6V
0°C to 70°C
-65°C to 150°C
DC ELECTRICAL CHARACTERISTICS
Parameter
Sym.
Operating voltage
VCC
Operating supply current
Input leakage
Input high voltage
Input low voltage
Output low voltage
Output low voltage for LEDS
Internal Pull-high resistance ( port 6,9 )
Internal Pull-high resistance for
DATA, CLK
Output low voltage for DATA CLK
ICCI
IIN
VIH
VIL
VOL1
VOL2
RPH1
RPH2
Min. Typ.
4.5
5
Max.
Unit
5.5
V
3
±1
Fosc=1.8432MHz
VIN=VCC ,VSS
0.8
0.4
3.2
23
3
mA
µA
V
V
V
V
KΩ
KΩ
0.4
V
IOL3 = 5 mA
2.0
12
1.5
VOL3
2.2
Condition
IOL1 = 3.0 mA
IOL2 = 10 mA
VPH1 = 0V
VPH2 = 0V
AC ELECTRICAL CHARACTERISTICS
Parameter
Time from DATA transition to falling edge of CLK
Time from rising edge of CLK to DATA transition
Duration of CLK inactive
Duration of CLK active
Time to auxiliary device inhibit after clock 11 to ensure
the auxiliary device does not start another transmission
Time from inactive to active CLK transition, used to time
when auxiliary device samples DATA
System clock
* This specification are subject to be changed without notice.
Sym.
Min.
T1
T2
T3
T4
T5
5
5
30
30
T6
5
FCLK
Typ.
40
40
1.843
Max.
Unit
25
T4 - 5
50
50
50
µS
µS
µS
µS
µS
25
µS
MHz
9.25.2001
17
EM83055H
KEYBOARD ENCODER
TIMING DIAGRAMS
1ST
CLK
CLK
2nd
CLK
T3
10th
CLK
11th
CLK
T5
T4
T1
T2
Start Bit
DATA
Parity Bit
Bit 0
Stop Bit
Fig 3. Keyboard output data timings
I/O
Inhibit
1ST
CLK
2nd
CLK
9th
CLK
10th
CLK
11th
CLK
CLK
T3
T4
T6
DATA
Start Bit
Bit 0
Parity Bit
Stop Bit
Fig 4. Keyboard input data timings
* This specification are subject to be changed without notice.
9.25.2001
18
EM83055H
KEYBOARD ENCODER
APPLICATION CIRCUIT
VCC
SCROLL
LED
CAPS
LED
NUM
LED
51K
DATA
P91
P92
P93
P94
LED P95
P50
C3
P51
C4
P52
C5
P53
C6
P54
C7
C2
R3
VCC
R
6
7
8
9
10
11
12
13
14
15
36
35
34
33
32
31
30
29
28
27
EM83055H
NUM
SCROLL
P67
P66
P65
P64
P63
P62
P61
P60
R7
R6
R5
R4
R3
R2
R1
R0
16
17
18
19
20
21
22
23
24
25
26
InternalMulti Func. 2
39
38
37
5
4
3
2
1
P90
CLK
DATA
OSCO
GND
C1
R_OSCI
VDD
CAPS
CLK
P55
P56
P57
P80
P81
P82
P83
P84
P85
P86
P87
InternalMulti Func. 1
Turbo func.
C17
C16
C14
C13
C0
C12
C9
C11
C15
* This specification are subject to be changed without notice.
C8
C10
9.25.2001
19
EM83055H
KEYBOARD ENCODER
R0
C0
PAUSE
C1
C2
C4
C5
POWER
TAB
A
017
W
016
CAP
S
018
030
F3
019
R
T
020
U
Y
024
O
C7
114
C8
C9
C10
C12
C13
C14
C15
C17
WAKE UP
X
F4
115
C
G
V
034
035
036
F7
F6
117
038
L
118
039
BACK
ROMA
B
’(")
041
040
N
\(|)
M/Mode
ENTER
/(?)
SPACE
061
NUM
8
(K) 096
5
(K)
(K) 098
0
(K) 099
/
(K) 095
→
097
9
(K)
+
(K)
6
(K)
¥
(K) 104
*
(K) 100
-
102
(K) 103
SHIFT-L
Mail
↑
083
Volume-
WWWstop
WWWForward
(KC-L)
Play/Pause
WIN-R
MyCpmputer
* This specification are subject to be changed without notice.
012
←
WWWBack
WWWRefresh
Calculator
7(&)
008
8(*)
009
010
0(’)’)
011
F10
120
121
POWER
076
SLEEP
075
085
HOME
079
005
124
PAGE UP
105
004
4($)
PRINT
INS
089
NextTrack
Stop
WWWFavorite
119
DEL
084
Volume+
WIN-L
K150
↓
090
003
9(’)’)
F9
123
043
SHIFT-R
057
013
F8
_(-)
F12
092
ENTER
(K) 108
+‘(=)
062
(K) 091
K107
007
ALT-R
1
(K) 093
3
006
055
4
(K)
2
113
APP
002
3(#)
F2
056
APP
042
ALT-L
060
112
6(^)
K56
116
1(!)
2(@)
F1
051
053
K42
001
050
052
,(<)
‘(~)
5(%)
049
F11
122
wake up
F5
133
048
029
106
CTRL-L
132
054
;(:)
027
CHG
047
015
101
R7
131
046
.(>)
Fn
7
R6
058
N-CHG
M
H
037
028
026
SCROLL
K45
045
K
044
C16
CTRL-R
032
J
022
014
C11
SLEEP
031
F
[({)
125
K14
R5
Z
033
021
025
P
R4
ESC
110
D
](})
I
R3
064
023
C6
R2
126
Q
E
C3
R1
080
PrevTrack
Mute
PAGE
DOWN
086
END
081
Media
WWWSearch
K151
Web/Home
(KC-R)
9.25.2001
20
EM83055H
KEYBOARD ENCODER
Pad No.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
P90
5
P91
6
P92
7
P93
8
2
VDD
OSCO
3
OSCI
DATAIO
4
GND
CLKIO
PAD DIAGRAM
1
39
38
37
P70
36
P71
35
P72
34
P67
P94
9
33
P66
P95
10
32
P65
P50
11
31
P64
P51
12
30
P63
P52
13
29
P62
P53
14
28
P61
P54
15
27
P60
(0,0)
16
17
18
19
20
21
22
23
24
25
26
P55
P56
P57
P80
P81
P82
P83
P84
P85
P86
P87
EM83055H
Symbol
GND
OSCO
DATA
CLK
P90
P91
P92
P93
P94
P95
P50
P51
P52
P53
P54
P55
P56
P57
P80
P81
P82
P83
P84
P85
P86
* This specification are subject to be changed without notice.
X
197.9
-220.2
-353.1
-476.3
-659.8
-659.8
-659.8
-659.8
-659.8
-659.8
-659.8
-659.8
-659.8
-659.8
-659.8
-521.0
-401.3
-281.6
-161.9
-42.3
77.3
197.0
316.7
436.4
556.1
Y
720.4
715.2
728.1
728.1
623.2
503.5
383.9
264.3
144.6
25.0
-94.7
-214.4
-334.1
-453.8
-577.9
-749.9
-749.9
-749.9
-749.9
-749.9
-749.9
-749.9
-749.9
-749.9
-749.9
9.25.2001
21
EM83055H
KEYBOARD ENCODER
Pad No.
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Symbol
P87
P60
P61
P62
P63
P64
P65
P66
P67
P72
P71
P70
VDD
OSCI
X
675.8
660.0
660.0
660.0
660.0
660.0
660.0
660.0
660.0
656.9
656.9
656.9
458.0
316.3
Y
-749.9
-549.9
-430.3
-311.8
-192.2
-72.5
47.2
166.8
290.8
410.4
528.9
648.5
726.7
715.2
Chip Size : 1650 x 1830 µm
* This specification are subject to be changed without notice.
9.25.2001
22