DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

HT82K28A 데이터 시트보기 (PDF) - Holtek Semiconductor

부품명
상세내역
제조사
HT82K28A
Holtek
Holtek Semiconductor Holtek
HT82K28A Datasheet PDF : 16 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
HT82K28A
Functional Description
The HT82K28A basic function is to detect key press and
release activity and to transmit the corresponding scan
code, as well as make and break codes to the system.
The device also accepts commands from the system
and responds to the system if necessary. All communi-
cation between the keyboard and the system is man-
aged through the CLOCK and DATA pins.
The keyboard begins to scan for pressed or released keys
and commands from the system after the BAT (Basic As-
surance Test) has been run.
Working modes
Three working modes are supported by the HT82K28A.
These are setup by the alternate scan code command
F0. The various modes are described as follows.
Mode 1
· Supports code set 1 for PS/2 model 30 keyboards.
· Enters mode1 after an F0 Command is issued fol-
lowed by a ²1².
· Contains an 11 bit data stream, including one start bit
(always zero) eight data bits, one parity bit (odd parity)
and one stop bit (always one).
· All keys are typematic/make/break as default.
· The working mode can be changed again in this
mode, by issuing an F0 command followed by an op-
tion. See the F0 command for more detail.
Mode 2
· Supports code set 2 for PC/AT, PS/2 model 50, 60
keyboards.
· Enters mode 2 after power on.
The working mode can be changed by an F0 com-
mand followed by an option byte 1, 2 or 3. See the F0
command for more details.
· Contains an 11 bit data stream, including one start bit
(always zero) eight data bits, one parity bit (odd parity)
and one stop bit (always one)
· All keys are typematic/make/break as default.
Mode 3
· Supports code set 3, for PS/2 model 80 keyboards.
· Enters mode 3 when an F0 command is issued fol-
lowed by a ²3².
· Contains an 11 bit data stream, including one start bit
(always zero) eight data bits, one parity bit (odd parity)
and one stop bit (always one).
Buffers
The buffers support the following functions:
· 16-byte FIFO buffer: stores 16 keystrokes scan codes.
· Additional keystrokes will be ignored.
· Response codes, i.e FA/FE... do not occupy buffer po-
sitions.
Basic assurance test - BAT
The following functions are offered by the Basic Assur-
ance Test:
· Turns on LED status indicators.
· Keyboard processor test.
· RAM test.
· Turns off LED status indicators, i.e. the LEDs.
· Reports the BAT result to the system.
Note:
During the BAT, activity on the ²clock² and
²data² line are ignored. The LED¢s are turned
on at the beginning and turned off at the end of
the BAT. The BAT takes a minimum of 450ms
after POR and a maximum of 2.5s. The re-
sponse to a satisfactory BAT completion is
²AA² and response to BAT failure is an ²FC²
error. The reset keyboard command ²FF² will
also cause the keyboard to execute the BAT.
Completion codes are sent between 300 and
500ms after a reset command is acknowl-
edged. After the BAT, the keyboard sets the
keys to typematic and make/break, and sets the
default typematic rate and delay.
Power-on
Two important activities take place when power is first
applied to the keyboard. The first is the presence of an
H/W signal POR (Power-On-Reset) that resets the key-
board processor. The second activity is the running of
the self test BAT (Basic Assurance Test) routine.
PO R
R eset
150m s~2s
300m s~500m s
4 5 0 m s ~ 2 .5 s e c
P o w e r o n s ta r t B A T s ta r te d B A T c o m p le te
PC-type/mode/code set
The following table describes the relationship between
different computer types, the working mode and the
code sets.
PS/2 30
mode 1
code set 1
PC-AT
mode 2
code set 2
PS/2 50
mode 2
code set 2
PS/2 60
mode 2
code set 2
PS/2 80
mode 3
code set 3
The mode can be changed between mode 2 & 3.
Rev. 1.30
3
June 27, 2002

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]