EMC EM83053BH

EM83053A/BH
KEYBOARD ENCODER
GENERAL DESCRIPTION
The EM83053A/BH microcontroller is dedicated to a keyboard encoder ,specially designed for IBM PC AT and
all compatible machines. The EM83053A/BH 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 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
EM83053BH
36
35
34
33
32
31
30
29
28
27
16
17
18
19
20
21
22
23
24
25
26
P91
P92
P93
P94
P95
P50
P51
P52
P53
P54
P55
P56
P57
P80
P81
P82
P83
P84
P85
P86
P87
NUM
SCROLL
P67
P66
P65
P64
P63
P62
P61
P60
39
38
37
5
4
3
2
1
P90
CLK
DATA
OSCO
GND
R_OSCI
VDD
VDD
CAPS
EM83053AH
36
35
34
33
32
31
30
29
28
27
16
17
18
19
20
21
22
23
24
25
26
6
7
8
9
10
11
12
13
14
15
P55
P56
P57
P80
P81
P82
P83
P84
P85
P86
P87
P91
P92
P93
XT
P95
P50
P51
P52
P53
P54
40
39
38
37
5
4
3
2
1
P90
CLK
DATA
OSCO
GND
PIN ASSIGNMENTS
* This specification are subject to be changed without notice.
NUM
SCROLL
P67
P66
P65
P64
P63
P62
P61
P60
6.9.2000
1
EM83053A/BH
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.
6.9.2000
2
EM83053A/BH
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.
6.9.2000
3
EM83053A/BH
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.
6.9.2000
4
EM83053A/BH
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.
6.9.2000
5
EM83053A/BH
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.
6.9.2000
6
EM83053A/BH
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
6.9.2000
7
EM83053A/BH
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
6.9.2000
8
EM83053A/BH
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
6.9.2000
9
EM83053A/BH
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
6.9.2000
10
EM83053A/BH
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
6.9.2000
11
EM83053A/BH
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
6.9.2000
12
EM83053A/BH
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
6.9.2000
13
EM83053A/BH
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
6.9.2000
14
EM83053A/BH
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:
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
* This specification are subject to be changed without notice.
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
E
Eur Key
6.9.2000
15
EM83053A/BH
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
K147
INS
HOME
PAGE
UP
NUM
(/)
(*)
DEL
END
PAGE
DOWN
(7)
(8)
(9)
(4)
(5)
(6)
(1)
(2)
(3)
(-)
(+)
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.
6.9.2000
16
EM83053A/BH
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
6.9.2000
17
EM83053A/BH
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.
6.9.2000
18
EM83053A/BH
KEYBOARD ENCODER
APPLICATION CIRCUIT
VCC
SCROLL
LED
CAPS
LED
10
NUM
LED
51K
DATA
C2
R3
VCC
LED
R
C3
C4
C5
6
7
8
9
10
11
12
13
14
15
NUM
SCROLL
P67
P66
P65
P64
P63
P62
P61
P60
36
35
34
33
32
31
30
29
28
27
EM83053AH
R7
R6
R5
R4
R3
R2
R1
R0
16
17
18
19
20
21
22
23
24
25
26
C6
C7
P91
P92
P93
P94
P95
P50
P51
P52
P53
P54
40
39
38
37
5
4
3
2
1
P90
CLK
DATA
OSCO
GND
C1
R_OSCI
VDD
VDD
CAPS
CLK
Special Func.
P55
P56
P57
P80
P81
P82
P83
P84
P85
P86
P87
Internal-Multi Func.
Turbo func.
C17
C16
C14
C13
C0
C12
C9
C11
C8
C15
C10
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
R3
VCC
R
6
7
8
9
10
11
12
13
14
15
36
35
34
33
32
31
30
29
28
27
EM83053BH
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
C2
39
38
37
5
4
3
2
1
P90
CLK
DATA
OSCO
GND
C1
R_OSCI
VDD
CAPS
CLK
Special Func.
P55
P56
P57
P80
P81
P82
P83
P84
P85
P86
P87
Internal-Multi Func.
Turbo func.
C17
C16
C14
C13
C0
C12
C9
C11
C15
* This specification are subject to be changed without notice.
C8
C10
6.9.2000
19
EM83053A/BH
KEYBOARD ENCODER
R0
C0
PAUSE
C1
C2
R1
POWER
TAB
017
W
016
CAP
018
C3
020
U
C5
C6
C7
T
C8
C9
Y
C10
F7
BACK
8
(K) 096
5
(K)
C13
9
(K)
+
(K)
6
(K)
101
106
wake up
Mail
N-CHG
046
R7
CTRL-L
F5
037
036
038
F6
117
ROMA
051
K56
053
’(")
041
040
\(|)
K42
APP
M/Mode
ENTER
/(?)
SPACE
061
NUM
092
097
0
(K) 099
/
(K) 095
→
(K) 098
¥
(K) 104
*
-
K107
SHIFT-L
(K) 103
ENTER
(K) 108
↑
083
043
Play/Pause
120
←
Volume+
NextTrack
WWWBack
WWWRefresh
009
010
0(’)’)
011
121
POWER
SLEEP
075
085
HOME
079
8(*)
076
PAGE UP
105
008
124
INS
089
005
7(&)
F10
DEL
084
(K) 100
080
PrevTrack
PAGE
DOWN
086
END
081
Media
057
WWWstop
WWWForward
WIN-L
Stop
WWWFavorite
↓
004
4($)
PRINT
F9
123
090
SHIFT-R
Volume-
012
062
029
102
119
_(-)
F12
003
9(’)’)
F8
ALT-R
1
(K) 093
3
013
055
015
2
+‘(=)
APP
042
ALT-L
060
007
056
054
039
006
6(^)
052
.(>)
113
050
N
002
3(#)
F2
5(%)
049
116
1(!)
2(@)
112
133
B
,(<)
001
F1
132
048
M
‘(~)
131
CHG
047
035
H
K150
(KC-L)
R6
058
F11
122
044
C17
G
V
Fn
C12
C16
F4
115
C
033
;(:)
027
4
(K)
C15
032
L
118
(K) 091
C14
X
K
028
014
C11
WAKE UP
034
022
026
SCROLL
7
CTRL-R
K45
045
J
[({)
125
K14
SLEEP
ESC
110
F
021
025
P
R5
031
D
](})
024
O
R4
Z
S
114
023
I
A
030
F3
019
R
C4
R3
064
126
Q
E
R2
WIN-R
MyCpmputer
* This specification are subject to be changed without notice.
Calculator
Mute
WWWSearch
K151
Web/Home
(KC-R)
6.9.2000
20
EM83053A/BH
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
VDD
VDD
5
OSCI
P90
GND
4
OSCO
CLK
DATA
PAD DIAGRAM
3
2
1
40
39
38
CAPS
37
36
NOM
35
SCROLL
P91
6
P92
7
34
P67
P93
8
33
P66
P94
9
32
10
P65
P95
P50
11
31
P64
P51
12
30
P63
P52
13
P53
14
29
P62
28
P61
27
P60
(0,0)
20
21
P55
P56
P57
P80
P81
P82
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.
22
23
24
25 26
X
-171.6
-384.7
-580.9
-742.5
-742.5
-723.7
-723.7
-723.7
-723.7
-723.7
-715.1
-715.1
-715.1
-715.1
-707.8
-587.8
-464.1
-344.1
-220.0
-100.0
24.0
144.0
267.8
387.8
511.5
P87
19
P86
18
P85
17
P84
16
P83
15
P54
EM83053AH
Y
824.6
849.2
849.2
817.2
621.0
467.2
347.2
223.0
103.0
-21.2
-143.1
-263.1
-386.8
-506.8
-825.1
-825.1
-825.1
-825.1
-833.7
-833.7
-825.1
-825.1
-825.1
-825.1
-825.1
6.9.2000
21
EM83053A/BH
KEYBOARD ENCODER
Pad No.
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Symbol
P87
P60
P61
P62
P63
P64
P65
P66
P67
P72
P71
P70
VDD
VDD
OSCI
X
633.4
754.8
741.7
741.7
741.7
741.7
741.7
741.7
741.7
741.7
741.7
706.8
504.5
384.5
264.5
Y
-825.1
-825.1
-636.9
-470.1
-301.3
-134.6
34.2
201.0
369.8
536.5
705.3
854.2
824.6
824.6
832.2
Chip Size : 1790 x 2010 µm
* This specification are subject to be changed without notice.
6.9.2000
22
EM83053A/BH
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
10
P50
11
P51
12
P52
13
P53
14
P54
15
OSCI
VDD
OSCO
GND
DATAIO
(0,0)
EM83053BH
35
P72
34
P67
33
P66
32
P65
31
P64
30
P63
29
P62
28
P61
27
P60
16
17
18
19
20
21
22
23
24
25
26
P87
P95
P71
P86
9
36
P85
P94
P70
P84
8
37
P83
P93
38
P82
7
39
P81
P92
1
P80
6
2
P57
P91
3
P56
5
4
P55
P90
CLKIO
PAD DIAGRAM
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
6.9.2000
23
EM83053A/BH
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.
6.9.2000
24