
Information in this document is provided in connection with Intel products. Intel assumes no liability whatsoever, including infringement of
any patent or copyright, for sale and use of Intel products except as provided in Intel’s Terms and Conditions of Sale for such products.
Intel retains the right to make changes to these specifications at any time, without notice. Microcontroller products may have minor variations to this specification known as errata.
COPYRIGHT © INTEL CORPORATION, 1996 March 1996 Order Number: 272800-001
83C51KB
HIGH PERFORMANCE
KEYBOARD MICROCON TRO LLER
The 83C51KB is a highly integrated keyboard microcontroller for the standard and advanced desktop
keyboard industry. The integration of external components into the microcont roller reduces overall keyboard
control system manufactur ing cost in terms of the number of components used, the amount of PCB space
required, reduced inventory, and a reduction in required assembly activities. In addition, the integration
reduces the number and amount of software routines needed for signal debounce and input status poll
operation. There is a resultant reduction in CPU overhead as well as on-chip memory requirements. The
83C51KB product line is manufactured w ith Intel state of the art complimentary high-p erformance metallic
oxide semiconductor (CHMOS) design rules.
■ Direct Drive LED Outputs
—Four Pins (P3.7:4)
—13 mA Typical Current Sink
Capability
■ 20 pF Cap On-chip for RC Resonator
—Frequency Selectable (4-6 MHz)
■ 8 Dedicated Key Scan Input (KSI) Pins
—Schmitt-trigger Inputs
—External Interrupt
—Level Detect Interrupt Mode for
Automatic Power-down Exit
■ 16 Dedicated Key Scan Output (KSO)
Pins with Quasi-bidirectional Port
Drivers
—No External Resistor Required
—Located on P0.7:0 and P2.7:0
■ 4-Kbyte On-chip ROM Memory
■ 128-byte On-chip RAM Memory
■ Clock/Data Drivers to Motherboard
—Strong Pullup Drivers for Keyboard
Cable Communication
—8X42 Compatible Interface
—Selectable external interrup t for
Clock
■ ONCE mode (On-chip Emulation)
■ Power-on Reset Mode
—Automatic Operation
■ 5 Volt D.C. Operation
■ Reduces Manufacturing Cost by
Reducing Overall Component Count
■ Configurable Timer (16 bit or 2 by 8 Bit)
■ Uses Industry Standard Design Tools
■ Control Oriented Instruction Set
■ Industry Standard Architecture

2
83C51KB HIGH PERFORMANCE KEYBO ARD M ICRO CO NT RO L LE R
Figure 1. 83C51KB Block Diagram
Port 0
Drivers
KSO 0–7
P0.0 – P0.7
Port 0
Latch
Port 0
Drivers
KSO 8–15
P2.0 – P2.7
Port 2
Latch
ROM
Program
Address
Register
Buffer
RAM
Address Register
RAM
ACC
TMP2
Stack
Pointer
PC
Incrementer
Program
Counter
DPTR
TMP1
A3350-01
CLK, Data, LED 0–3
P3.0 – P3.7
ALU
PSW
Timing
and
Control
Instruction
Register
Power On
Reset Ctrl.
B
Register
SFRs
Timer
Port 3
Latch
Port 3
Drivers
KSI 0–7
P1.0 – P1.7
Port 1
Latch
Port 1
Drivers
RC
Osc.
RST
PSEN#
ALE
EA#
V
CC
V
SS
V
CC

3
83C51KB HIGH PERFORMANCE KEYBOARD MICROCONTROLLER
1.0 TEMPERATURE RANGE
With the commercial (standard) temperature
marking, this product line operates over the temperature range 0°C to +70°C.
2.0 PROCESS INFORMATION
This device is manufactured on a complimentary
high-performance metal-oxide semiconductor
(CHMOS) process. Additional process and reliability
information is available in Intel’s
Components
Quality and Reliability Handbook
(order number
210997).
All thermal impedance data is approximate for static
air conditions at 1 watt of power dissipat ion. Values
change depending on operating conditions and
application requirements. The Intel
Packaging
Handbook
(order number 240800) describes Intel’s
thermal impedance test methodology.
Table 1. Thermal Characteristics
Package Type θ
JA
θ
JC
40-lead PDIP 70°C/W 25°C/W
3.0 83C51KB PACKAGE INFORMATION
The 83C51KB Family Nomenclature
Program-memory Options
XXXXX XXXX8XXX
Packaging Options
Temperature and Burn-in Options
A2815-01
Process Information
Product Family
Device Speed

4
83C51KB HIGH PERFORMANCE KEYBO ARD M ICRO CO NT RO LLE R
Figure 2. 83C51KB 40-pin DIP Diagram
Table 2. 83C51KB Nomenclature Definitions
Parameter Options Description
Temperature and Burn-in
Options
no mark Commercial operating temperature range (0°C to 70°C) with
Intel standard burn-in.
Packaging Options P Plastic Dual-in-line Package (PDIP)
Program Memory Options 3 F act ory progra mm ed ROM
Process Information C CHMOS
Product Family 51 MCS 51 Compatible Product Family
Device Memory Options KB 128 bytes RAM
4 Kbytes ROM
Device Speed no mark 4-6 MHz
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
P83C51KB
View of
component
as mounted
on PC board
A4248-01
P1.0/KSI0
P1.1/KSI1
P1.2/KSI2
P1.3/KSI3
P1.4/KSI4
P1.5/KSI5
P1.6/KSI6
P1.7/KSI7
RST
P3.0/DATA
P3.1
P3.2/CLK0/INT0#
P3.3/CLK1/INT1#
P3.4/LED0/T0
P3.5/LED1
P3.6/LED2/WR#
P3.7/LED3/RD#
NC
RCIN
V
SS
VCC
P0.0/KSO0/AD0
P0.1/KSO1/AD1
P0.2/KSO2/AD2
P0.3/KSO3/AD3
P0.4/KSO4/AD4
P0.5/KSO5/AD5
P0.6/KSO6/AD6
P0.7/KSO7/AD7
EA#
ALE
PSEN#
P2.7/KSO15/A15
P2.6/KSO14/A14
P2.5/KSO13/A13
P2.4/KSO12/A12
P2.3/KSO11/A11
P2.2/KSO10/A10
P2.1/KSO9/A9
P2.0/KSO8/A8

5
83C51KB HIGH PERFORMANCE KEYBOARD MICROCONTROLLER
4.0 83C51KB MEMORY
Table 3. 83C51KB Memory Map
Code
Memory
Description Notes
FFFFH
0000H
External code memory
4
0FFFH
0000H
4-Kbyte on-chip code memory array.
Data
Memory
Description
FFFFH
0000H
External data memory
2, 3
00FFH
0080H
Special function registers
1
007FH
0020H
On-chip RAM
5
001FH
0000H
4 banks of general purpose registers, R0-R7
NOTE:
1. The special function registers (SFRs) are accessible by direct addressing only.
2. Data in this area is accessible by indirect addressing only.
3. RD#/WR# active for these external data addresses.
4. PSEN# active for the external code addresses.
5. Addresses 20H through 2FH are bit addressable.

6
83C51KB HIGH PERFORMANCE KEYBO ARD M ICRO CO NT RO L LE R
5.0 SIGNAL DESCRIPTION
Table 4. 40-pin DIP Signals Arranged by Name
Keyboard Keyboard
Name Pin Name Pin
P0.7/KSO7/AD7 32 P 1.0/KSI0 1
P0.6/KSO6/AD6 33 P1.1/KSI1 2
P0.5/KSO5/AD5 34 P1.2/KSI2 3
P0.4/KSO4/AD4 35 P1.3/KSI3 4
P0.3/KSO3/AD3 36 P1.4/KSI4 5
P0.2/KSO2/AD2 37 P1.5/KSI5 6
P0.1/KSO1/AD1 38 P1.6/KSI6 7
P0.0/KSO0/AD0 39 P1.7/KSI7 8
P2.7/KSO15/A15 28 P3.0/DATA 10
P2.6/KSO14/A14 27 P3.1 11
P2.5/KSO13/A13 26 P3.2/CLK0/INT0# 12
P2.4/KSO12/A12 25 P3.3/CLK1/INT1# 13
P2.3/KSO11/A11 24 P3.4/LED0/T0 14
P2.2KSO10/A10 23 P3.5/LED1 15
P2.1/KSO9/A9 22 P3.6/LED2/WR# 16
P2.0/KSO8/A8 21 P3.7/LED3/RD# 17
Chip Control
Name Pin
RCIN 19
RST 9 Power & Ground
ALE 30 Name Pin
PSEN# 29 V
CC
40
EA# 31
V
SS
20