K25C81-FB Semtech, K25C81-FB Datasheet - Page 5

no-image

K25C81-FB

Manufacturer Part Number
K25C81-FB
Description
Versatile PC/XC/AT/PS/2 Compatible Keyboard Encoder
Manufacturer
Semtech
Datasheet
The external keyboard
communication port of the
FlexiCoder
standard 8042, available to an
83/101/102 external keyboard or
other compatible device.
Communication with an external
keyboard is accomplished via EKC
and EKD, Clock and Data lines
respectively. A third pin, EKC1
which connects to the Clock Line,
interrupts the controller whenever
an external keyboard initiates a
communication.
When power is first applied, the
controller proceeds with the
standard reset sequence with the
external keyboard. Data and
commands coming from the
external keyboard are buffered in
the controller’s FIFO, along with
data from the scanned matrix, and
then presented to the system as if
originating from a single source.
Commands and data from the
system, after being acknowledged,
are then transmitted to the external
keyboard.
Copyright Semtech, 1997-2001
DOC5-C81-DS-105
EXT. KBD COMMUNICATION
TM
fully emulates a
The FlexiCoder
standard functions of
communication with a BIOS-
compatible PC/XT or AT/PS/2 host
system. Two lines, KC and KD,
provide bi-directional clock and
data signals according to the
protocol (PC or AT) selected. In
addition, the K25C81 supports
commands from and to the system,
as described in the IBM Technical
Reference Manuals. The following
table shows the commands that the
system may send and their value in
hex.
Command
Set/Reset Status
Indicators
Echo
Invalid Command
Select Alternate
Scan Codes
Invalid Command
Read ID
Set Typematic
Rate/Delay
Enable
Default Disable
Set Default
Set All Keys
Set Key Type
Resend
Reset
Table 2: Keyboard Commands from the
MODE CONTROL
5
Typematic
Make/Break
Make
Typematic/Make/Break
Typematic
Make/Break
Make
System (AT/PS/2 protocol)
TM
implements all the
Hex Value
ED
EE
EF
F0
F1
F2
F3
F4
F5
F6
F7
F8
F9
FA
FB
FC
FD
FE
FF
These commands are supported in
the AT/PS/2 protocol and can be
sent to the keyboard at any time.
Mode 1 accepts only the ‘reset’
command. Commands shown in
italics do not affect the operation of
the K25C81. Nevertheless, they
are acknowledged and relayed to
the external keyboard, if an
external standard keyboard is
present.
The following table shows the
commands that the keyboard may
send to the system.
Command
Key Detection
Error/Overrun
Keyboard ID
BAT Completion Code
BAT Failure Code
Echo
Acknowledge (Ack)
Resend
Key Detection
Error/Overrun
*Scan Code Set 2
Table 3: Keyboard Commands to the
When an external keyboard is
connected, commands from the
system will also be directed to the
external keyboard. Presence or
absence of an external keyboard
will not affect the normal operation
of the FlexiCoder
www.semtech.com
System (AT/PS/2 protocol)
TM
.
00*
83AB
AA
FC
EE
FA
FE
FF*
Hex Value

Related parts for K25C81-FB