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

HT82K629A 查看數據表(PDF) - Holtek Semiconductor

零件编号
产品描述 (功能)
生产厂家
HT82K629A
Holtek
Holtek Semiconductor Holtek
HT82K629A Datasheet PDF : 23 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
HT82K629A
Commands to the Host
The following table shows the commands that the
HT82K629A may send to the host and their hexadeci-
mal values.
Command
Hex Value
Key Detection Error/Overrun 00 (Code Set 2)
Keyboard ID
83AB
Bat Completion Code
AA
Bat Failure Core
FC
Echo
EE
Acknowledge
FA
Resend
FE
Key Detection Error/Overrun FF (Code Set 1)
00H or FFH - Key Detection Error
The HT82K629A sends a key detection error character if
conditions in the keyboard make it impossible to identify
a switch closure. If the HT82K629A is using scan code
set 1, the code is FFH. For sets 2, the code is 00H.
00H or FFH - Overrun
An overrun character is placed in the HT82K629A buffer
and replaces the last code when the buffer capacity has
been exceeded. The code is sent to the host when it
reaches the top of the buffer queue. If the HT82K629A is
using scan code set 1, the code is FFH. For sets 2, the
code is 00H.
83AbH - Keyboard ID
The keyboard ID consists of 2 bytes, Hex 83AbH. The
HT82K629A responds to the Read ID with ACK, discon-
tinues scanning and sends 2 ID bytes. The low byte is
sent first followed by the high byte. Following the output
of Keyboard ID, the HT82K629A begins scanning.
EEH - Echo
The HT82K629A sends this code in response to an
Echo command.
AAH - BAT Completion Code
Following a satisfactory completion of the BAT, the
HT82K629A sends AAH. Any other code indicates key-
board failure.
FCH - BAT Failure Code
If a BAT failure occurs, the HT82K629A sends this code,
discontinues scanning and waits for a host response or
reset.
FEH - Resend
The HT82K629A issues a Resend command following
receipt of an invalid input or any input with incorrect par-
ity. If the host sends nothing to the HT82K629A, no re-
sponse is required.
Data Communications
· Data output
¨ If CLK=0, no transmission (keyboard is inhibited).
¨ If CLK=1, DATA=0, no transmission (system re-
quest to send).
¨ If CLK=1, DATA=1, transmission permitted.
¨ Data will be valid before the trailing edge and be-
yond the leading edge of the clock.
¨ The KB checks the clock line for an active level ev-
ery 60ms.
¨ If line contention occurs (system brings the clock
low before the tenth clock), set clock=data=high.
· Data input
¨ The system overrides the clock line for at least
60ms.
¨ The keyboard checks the clock line state at inter-
vals of 10ms.
¨ If a system request-to-send is detected, the key-
board counts 11 data bits.
¨ Data will be valid before the rising edge and beyond
the falling edge.
¨ After the 10th bit, the keyboard checks for an active
level on the ²data² line. If the line is active it is forced
to be inactive, and counts one more bits.
Note:
This action signals the system that the
keyboard has received its data. Upon
reception of this signal, the system returns
to the ready state, in which it can accept
keyboard outputs or goes to the inhibit
state until it is ready.
If the keyboard ²data² line is found to be at an inactive
level following the 10th bit, a frame error has occurred,
and the keyboard continues to count until the ²data²
line becomes active. The keyboard then makes the
²data² line inactive and sends a Resend.
Data Stream
Mode 1,2,3
B1
Start bit (always 0)
B2
Data bit 0
B3
Data bit 1
B4
Data bit 2
B5
Data bit 3
B6
Data bit 4
B7
Data bit 5
B8
Data bit 6
B9
Data bit 7
B10
Parity bit (odd par)
B11
Stop bit (always 1)
Note:
The parity bit is either 1 or 0, and the 8 data bits,
plus the parity bit, always have an odd number
of 1ms.
Rev. 1.30
6
April 16, 2004

Share Link: 

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