• Runs Much Faster Than Traditional
Keyboard Controllers
• Host interface Compatible with Traditional
Keyboard Controller
GENERAL DESCRIPTION
The KBD42W11 keyboard controller is
programmed to support the IBM® compatible
personal computer keyboard serial interface. The
keyboard controller receives serial data from the
keyboard, checks the parity of the data,
translates the scan code, and presents the data
to the system as a byte of data in its output
buffer. The controller will interrupt the system
when data is placed in its output buffer. The byte
of data will be sent to the keyboard serially with
an odd parity bit automatically inserted. The
keyboard is required to acknowledge all data
transmissions. No transmission should be sent to
the keyboard until acknowledgment is received
for the previous byte sent.
The KBD42W11 keyboard controller and BIOS to
improve the performance of IBM PC machines
and their compatibles. A hardwire methodology
• 6 MHz – 12 MHz Operating Frequency
• Communicates with Keyboard Directly
• High-reliability CMOS Technology
• 40 Pin DIP and 44 Pin PLCC Package
is used in this keyboard controller instead of a
software implementation, as in the traditional
8042 keyboard BIOS. This enables the keyboard
controller to respond instantly to all commands
sent from the keyboard to the CPU BIOS.
The KBD42W11 enables popular programs such
as AutoCAD®, Microsoft® Windows™, NOVELL®,
and other programs to run much faster.
IBM is a registered trademark of International Business
Machines Corporation. AutoCAD is a registered trademark
of Autodesk, Inc. Microsoft is a registered trademark and
Windows is a trademark of Microsoft Corporation.
NOVELL is a registered trademark of Novell, Inc.
Standard Microsystems is a registered trademark and
SMSC is a trademark of Standard Microsystems
Corporation. Other product and company names are
trademarks or registered trademarks of their respective
holders.
2022-VSSGround Power Supply
2124OP20Bit 0 of Port 2 (RCB: System
Reset)
2225OP21Bit 1 of Port 2 (GA20: GATE A20)
2326I/OP22Bit 2 of Port 2
2427I/OP23Bit 3 of Port 2
2528-VDDOptional +5V Power Supply
2730I/OP10Bit 0 of Port 1
2831I/OP11Bit 1 of Port 1
2932I/OP12Bit 2 of Port 1
3033I/OP13Bit 3 of Port 1
3135IP14Bit 4 of Port 1 (RAM Jumper
Select)
3236IP15Bit 5 of Port 1 (JUMP)
3337IP16Bit 6 of Port 1 (Display Select)
3438IP17Bit 7 of Port 1 (K/B Inhibit Switch)
3539OP24Bit 4 of Port 2 (OBF O/P Interrupt)
3640OP25Bit 5 of Port 2 (I/P Buffer Empty)
3741OP26Bit 6 of Port 2 (K/B Clock O/P)
3842OP27Bit 7 of Port 2 (K/B Data O/P)
3943IT1K/B Data Input
4044-VDD+5V Power Supply
T1Address Setup Time from nWR0nS
T2Address Setup Time from nRD0nS
T3nWR Strobe Width20nS
T4nRD Strobe Width20nS
T5Address Hold Time from nWR0nS
T6Address Hold Time from nRD0nS
T7Data Setup Time50nS
T8Data Hold Time0nS
T9Gate Delay Time from nWR10nS
T10nRD to Drive Data Delay20nS
T11nRD to Floating Data Delay020nS
T12Data Valid After Clock Falling (SEND)4
T13K/B Clock Period20
T14K/B Clock Pulse Width10
T15Data Valid Before Clock Falling (RECEIVE)4
T16K/B ACK After Finish Receiving20
T17nRC Fast Reset Pulse Delay (8 MHz)23
T18nRC Pulse Width (8 MHz)6
T19Transmit Timeout2mS
T20Data Valid Hold Time0
T21XIN/XOUT Period ( 6-12 MHz )83167nS
µS
µS
µS
µS
µS
µS
µS
µS
6
Page 7
TIMING WAVEFORMS
FE COMMAND
Write Cycle Timing
A2, nCS
T1
T3
T5
nWR
D0 - D7
A20
OUTPUT PORT
FAST RESET PULS nRC
Read Cycle Timing
A2, nCS
AEN
nRD
ACTIVE
T7
DATA IN
T2
T4
T8
T9
T17
T18
T6
ACTIVE
T10
T11
DATA OUTD0 - D7
7
Page 8
Send Data to K/B
SERIAL DATA
CLOCK
( KCLK )
T12
T14
T13
T16
( KDAT )
START
D0D1D2D3D4D5D6D7P
Receive Data from K/B
CLOCK
( KCLK )
SERIAL DATA
( T1 )
START
T20
XIN/XOUT Clock
XIN CLK
T21
T19
T15
D0D1D2D3D4D5D6D7P
T14
T13
STOP
STOP
8
Page 9
ABSOLUTE MAXIMUM RATINGS
PARAMETERRATINGUNIT
Ambient Operating Temperature-0 to +85
Storage Temperature-65 to +150
Supply Voltage to Ground Potential-0.3 to +7.0V
Applied Input/Output Voltage-0.3 to +7.0V
Power Dissipation50mW
Note:Exposure to conditions beyond those listed under Absolute Maximum Ratings may adversely
The status register is an 8-bit read-only register at I/O address hex 64 that holds information about the
state of the keyboard controller and interface. It may be read at any time.
BITBIT DESCRIPTIONFUNCTION
0Output Buffer Full0: Output Buffer Empty
1: Output Buffer Full
1Input Buffer Full0: Input Buffer Empty
1: Input Buffer Full
2System FlagThis bit may be set to 0 or 1 by writing to the system flag bit in
the command byte of the keyboard controller. It is set to 0 after a
power-on reset
3Command/data0: Data Byte
1: Command Byte
4Inhibit Switch0: Keyboard is Inhibited
1: Keyboard is Not Inhibited
5Transmit Time Out0: No Transmit Time Out Error
1: Transmit Time Out Error
6Receive Time Out0: No Receive Time Out Error
1: Receive Time Out Error
7Parity Error0: Odd Parity (No Error)
1: Even Parity (Error)
OUTPUT BUFFER
The output buffer is an 8-bit read-only register at I/O address hex 60. The keyboard controller uses the
output buffer to send the scan code received from the keyboard and data bytes required by command to
the system. The output buffer should be read only when the output buffer full bit in the register is 1.
INPUT BUFFER
The input buffer is an 8-bit write-only register at I/O address hex 60 or 64. Writing to address hex 60
sets a flag that indicates a data write; writing to address hex 64 sets a flag that indicates a command
write. Data written to I/O address hex 60 are sent to the keyboard (unless the keyboard controller is
expecting a data byte) following the controller's input buffer only if the input buffer full bit in the status
register is set to 0.
I/O PORTS
The keyboard controller has two 8-bit I/O ports and two test inputs. One of the ports is assigned for
input and the other for output. The controller uses the test inputs to read the state of the keyboard's
clock line and data line.
10
Page 11
The following figures show bit definitions for the input, output, and test-input ports.
(A) Input Port Definitions
BITFUNCTION
0Undefined
1Undefined
2Undefined
3Undefined
4RAM on System Board
0: Disable 2nd 256 KB of System Board RAM
1: Enable 2nd 256 KB of System Board RAM
5Manufacturing Jumper Installed
0: Manufacturing Jumper
1: Jumper Not Installed
6Display Type Switch
0: Primary Display Attached to Color/graphics
0: Primary Display Attached to Monochrome
7Keyboard Inhibit Switch
0: Keyboard Inhibited
1: Keyboard Not Inhibited
(B) Output Port Definitions
BITFUNCTION
0System Reset
1Gate A20
2Undefined
3Undefined
4Output Buffer Full
5Input Buffer Empty
6Keyboard Clock (Output)
7Keyboard Data (Output)
(C) Test-Input Definitions
BITFUNCTION
0Keyboard Clock (Input)
1Keyboard Data (Input)
11
Page 12
COMMANDS (I/O ADDRESS HEX 64)
COMMANDFUNCTION
20Read Command Byte of Keyboard Controller
60Write Command Byte of Keyboard Controller
BIT BIT DEFINITIONS
7 Reserved
6 IBM PC Compatible Mode
5 IBM PC Mode
4 Disable Keyboard
3 Inhibit Override
2 System Flag
1 Reserved
0 Enable Output Buffer Full Interrupt
AASelf-test
BIT BIT DEFINITIONS
00 No Error Detected
01 K/B Clock Line is Stuck Low
02 K/B Clock Line is Stuck High
03 K/B Data Line is Stuck Low
04 K/B Data Line is Stuck High
ABInterface Test
ADDisable Keyboard Feature
AEEnable Keyboard Interface
C0Read Input Port
D0Read Output Port
D1Write Output Port
E0Read Test Inputs
F0-FFPulse Output Port
12
Page 13
APPLICATION CIRCUIT
Asynchronous
RESETB
D0 - D7
SA2
IORB
IOWB
2
X1
3
X2
4
RESET
1
T0
39
T1
9
A2
6
nCS
5
DD
V
8
nRD
10
nWR
12
D0
13
D1
14
D2
15
D3
16
D4
17
D5
18
D6
19
D7
7
V
P26/KCLK
P27/KDAT
SS
V
P10
P11
P12
P13
P14
P15
P16
P17
P20
P21
P22
P23
P24/OB
P25/nBF
DD
NC
25
27
28
29
30
31
32
33
34
21
22
23
24
35
36
37
38
11
KEYBOARD DATA
RCB
GATE A20
KEYBOARD CLOCK
1 2
U?A
74ALS04
RAM SELECT JUMPER
MANUFACTURING MODE JUMPER
DISPLAY TYPE SWITCH
KEYBOARD INHIBIT SWITCH
KEYBOARD INTERRUPT
V
DD
U?A
1 2
7407
U?B
3 4
7407
VCC
KEYBOARD CLOCK
KEYBOARD DATA
13
Page 14
Synchronous
PCLK
RESETB
IORB
IOWB
D0 - D7
SA2
2
X1
3
X2
4
RESET
1
T0
39
T1
9
A2
6
nCS
8
nRD
10
nWR
12
D0
13
D1
14
D2
15
D3
16
17
18
19
P26/KCLK
D4
P27/KDAT
D5
D6
D7
P10
P11
P12
P13
P14/RAM
P15/MOD
P16/DIS
P17/INH
P20/RCB
P21/A20
P22
P23
P24
P25
27
28
29
30
31
32
33
34
21
22
23
24
35
36
37
38
KEYBOARD CLOCK
KEYBOARD DATA
RCB
GATE A20
U?A
1 2
74ALS04
RAM SELECT JUMPER
MANFACTURING MODE JUMPER
DISPLAY TYPE SWITCH
KEYBOARD INHIBIT SWITCH
KEYBOARD INTERRUPT
V
DD
U?A
1 2
7407
U?B
3 4
7407
KEYBOARD CLOCK
DD
V
KEYBOARD DATA
14
Page 15
PACKAGE DIMENSIONS
40 Pin PDIP
40
1
E
S
2
A
A
L
44 Pin PLCC
61
7
17
L
Seating Plane
e
D
B
B
1
H
D
D
4440
G
D
Dimension in inch
Symbol
A
A
A
B
B
c
D
21
E
E
e
L
a
e
Nom.
Min.
0.010
1
0.155
0.150
2
0.016
0.018
0.0501.27
1
0.010
0.008
2.055 2.07052.20 52.58
0.6000.590
0.540
0.545
1
1
0.120
0.130
015
0.6500.63016.00 16.51
A
S
201
1
Base Plane
A
Seating Plane
e
1
39
E
E H
29
2818
2
A
A
b
b
1
1
A
y
E
e
A
a
E
G
c
Notes:
1. Dimensions D Max & S include mold flash or
tie bar burrs.
2. Dimension E1 does not include interlead flash.
c
3. Dimensions D & E1 include mold mismatch and
are determined at the mold parting line.
4. Dimension B1 does not include dambar
protrusion/intrusion.
5. Controlling dimension: Inches.
6. General appearance spec. should be based on
final visual inspection spec.
Dimension in inch
Symbol
A
A
A
b
b
c
D
E
e
G
G
H
H
L
y
Notes:
1. Dimensions D & E do not include interlead
flash.
2. Dimension b1 does not include dambar
protrusion/intrusion
3. Controlling dimension: Inches
4. General appearance spec. should be based
on final visual inspection spec.
Circuit diagrams utilizing SMSC products are included as a means of illustrating typical applications; consequently complete
information sufficient for construction purposes is not necessarily given. The information has been carefully checked and is believed
to be entirely reliable. However, no responsibility is assumed for inaccuracies. Furthermore, such information does not convey to the
purchaser of the semiconductor devices described any licenses under the patent rights of SMSC or others. SMSC reserves the right
to make changes at any time in order to improve design and supply the best product possible. SMSC products are not designed,
intended, authorized or warranted for use in any life support or other application where product failure could cause or contribute to
personal injury or severe property damage. Any and all such uses without prior written approval of an Officer of SMSC and further
testing and/or modification will be fully at the risk of the customer.
KBD42W11 Rev. 10/20/98
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.