UR5HCGNK-UP60-FB [SEMTECH]
Microprocessor Circuit, CMOS, PQFP44, 0.80 MM PITCH, QFP-44;型号: | UR5HCGNK-UP60-FB |
厂家: | SEMTECH CORPORATION |
描述: | Microprocessor Circuit, CMOS, PQFP44, 0.80 MM PITCH, QFP-44 外围集成电路 |
文件: | 总14页 (文件大小:131K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
KeyCoder™ USB UR5HCGNK-UP60
Bootable USB Keyboard Controller
With External PS/2
TM
HID & SYSTEM MANAGEMENT PRODUCTS, KEYCODER FAMILY
DESCRIPTION
FEATURES
The KeyCoder™ USB UR5HCGNK-
UP60 is a single-chip, bootable
USB keyboard encoder with a
built-in PS/2 port available for an
external PS/2 mouse or keyboard.
The KeyCoder™ USB achieves in
one easy-to-implement IC what
would otherwise require
• PS/2 port supports hot plug of
PS/2 legacy devices
• Provides direct drive for three
LEDs (caps lock, numeric lock,
scroll lock)
• Inexpensive, single-chip solution
• Supports boot mode of the USB
1.1 specification
• Single USB endpoint, compatible
with the USB 1.1 specification
• Scans and encodes an 8 x 18
keyboard matrix
• PS/2 port supports MouseWheel
functionality
• External PS/2 interface to USB
cumbersome and expensive chip-
sets.
APPLICATIONS
The KeyCoder™ USB offers a hot-
pluggable PS/2 port that can
accept an external keyboard or
pointing device. The user can
easily connect legacy PS/2
• System legacy support
• Industrial or custom keyboards
• Desktop computers
• Point-of-sale (POS) terminals
• Portable devices
• Hand-held PCs (H/PCs) and
Pro H/PCs
keyboards or pointing devices to
the current USB host system with
no performance penalty. The
KeyCoder™ USB auto-switches
between an external keyboard or
pointing device and transparently
enables Mousewheel functionality
in pointing devices that support it.
PIN ASSIGNMENTS
1
CAPSLED
NUMLED
ROW0
ROW1
ROW2
ROW3
ROW4
ROW5
ROW6
ROW7
VDD
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
SCRLLED
COL17
D+
2
3
4
D-
5
3.3V
6
N/C
The KeyCoder™ USB manages the
bi-directional translation from the
PS/2 device to the system’s USB
support. Both internal keyboard
and external PS/2 device reports
are streamed and appear to the
system as if coming from a single
source.
33
32
31
30
29
28
27
26
25
24
23
7
ROW4
ROW5
ROW6
ROW7
VDD
VSS1
XOUT
XIN
N/C
N/C
N/C
1
2
3
4
5
6
7
8
COL00
COL01
COL02
COL03
COL04
COL05
COL06
COL07
COL08
COL09
COL10
COL11
COL12
COL13
COL14
8
9
COL00
COL01
COL02
COL03
COL04
COL05
COL06
COL07
10
11
12
13
14
15
16
17
18
19
20
21
UR5HCGNK-UP60-FB
QFP
VSS
VSS
PS2CLK
PS2DAT
9
10
11
XOUT
XIN
VSS1
PS2CLK
PS2DAT
_RESET
PS2EN
COL16
COL15
Customized versions of the
KeyCoder™ USB are also available
independently of production
volumes, in order to facilitate the
quick adoption of USB in platforms
and input devices beyond the
traditional desktop.
Semtech is a registered trademark of Semtech
Corporation. KeyCoder is a trademark of Semtech
Corporation. All other trademarks belong to their
respective companies.
Copyright ©1999-2001 Semtech Corporation
DOC5-GNK-UP60-DS-100
www.semtech.com
1
ORDERING CODE
Package Options
42-pin SDIP
44-pin QFP
Pitch
1.778 mm
0.8 mm
TA=-20° C to +85° C
UR5HCGNK-UP60-SP
UR5HCGNK-UP60-FB
Other Materials
Type
Order number
KeyCoder™ USB Eval. Kit
Evaluation Kit
EVK5-GNK-UP60-XXX
BLOCK DIAGRAM FOR THE KEYCODER™ USB
LED drive lines
3
Power Management
Section
LED interface
Power-on Reset
16-bit Timer
RESET
Columns
18
Keyboard
matrix
Rows
8
Keyboard Interface
USB Interface
3.3V
D+
D-
Oscillator circuit
XIN
XOUT
Copyright ©1999-2001 Semtech Corporation
DOC5-GNK-UP60-DS-100
www.semtech.com
2
FUNCTIONAL DESCRIPTION
PIN DEFINITIONS
The KeyCoder™ USB consists
functionally of six major sections
(see the Functional Diagram on
Page 2). These are the Keyboard
Interface, the Power Management
Section, the 16-bit Timer, the
Oscillator Circuit, Power-on Reset,
and the USB Interface.
Mnemonic
Power:
VDD
VSS
VSS1
Reset:
_RESET
Oscillators:
XIN
XOUT
USB:
D-
SDIP
QFP
Type
Name and Function
11
12
15
5
9
6
P
P
P
Power supply
Ground
Ground
18
12
I
Reset
14
13
8
7
I
O
Oscillator input
Oscillator output
OSCILLATOR
39
40
38
35
36
34
I/O
I/O
O
USB D- line
USB D+line
USB reference voltage output: output
pin for pulling up a D- line with a 1.5K Ohm
external resistor
D+
3.3V
The KeyCoder™ USB has a built-in
oscillator circuit capable of
operations with an external 6.00
MHz clock source, a ceramic
resonator (preferably with built-in
load capacitors), or a crystal with
external load capacitors.
Keyboard:
COL00-COL16
COL17
ROW0-ROW3
ROW4-ROW7
LEDs:
36-20
41
3-6
30-14
37
41-44
1-4
O
O
I
Column lines for scan matrix
Column lines for scan matrix
Row lines for scan matrix
Row lines for scan matrix
7-10
I
CAPSLED
NUMLED
SCRLLED
PS/2:
PS2DAT
PS2CLK
1
2
42
39
40
38
O
O
O
Caps lock LED: direct drive port
Num lock LED: direct drive port
Scroll lock LED: direct drive port
POWER MANAGEMENT
According to the USB specification,
if there is no activity of the USB port
for 3 ms, the system is considered
to be in a suspended state. The
KeyCoder™ USB, on detecting that
the system is in suspend, will check
the state of the touch screen and
the right button. If there is no touch
pressure detected or no button
pressed, the KeyCoder™ USB
17
16
19
37
11
10
13
31-33
I/O
I/O
I
External PS/2 port data line
External PS/2 port clock line
External PS/2 port enable
Not connected
PS2EN
N/C
Note: An underscore before a pin mnemonic denotes an active low signal.
Pin Types Legend: I=Input; O=Output; I/O=Input or Output; P=Power; Al= Analog Input
enters the suspended state. In the
suspended state, the IC fully
complies with the USB specification
for power consumption, dissipating
current only in the USB-mandated
pull-up for device identification.
Another technique the The
KeyCoder™ USB uses to conserve
power is called remote wake-up. If
the system relies on the device to
perform wake-up, the IC will send a
resume message to the system
when there is activity on the touch
screen or button.
If the system does not allow remote
wake-up, the KeyCoder™ USB
does not send resume messages to
the system when it is awakened by
activity on the touch screen or
button.
Copyright ©1999-2001 Semtech Corporation
DOC5-GNK-UP60-DS-100
www.semtech.com
3
USB FUNCTIONALITY
USB DESCRIPTORS
The KeyCoder™ USB is a low-
speed USB device that includes
two interfaces: internal keyboard
and external PS/2.
Offset Name
Size
Value Description
Device Descriptor
0
bLength
1
1
2
1
1
1
1
2
2
2
1
1
1
0x12
0x01
Descriptor length in bytes: 0x12 = 18
Descriptor type: device
1
2
4
5
6
7
8
bDescriptonType
bcdUSB
bDeviceClass
bDeviceSubClass
bDeviceProtocol
bMaxPacketSize0
idVendor
0x10 01 USB HID spec release number: 01.10
The PS/2 interface supports legacy
Human Input Devices (HID-class
specification). The KeyCoder™
USB uses one interrupt endpoint,
which is shared by the keyboard
and the external PS/2 device.
0x00
0x00
0x00
0x08
Class code
Sub class code
Protocol code
Maximum EP0 packet size
0x7A 04 Semtech's vendor ID
0x05 07 KeyCoder™ USB Product ID
0x61 00 Device release number: 0.61
10
12
14
15
16
idProduct
bcdDevice
iManufacture
iProduct
iSerialNumber
0x04
0x0E
0x00
Index of manufacturer string descriptor
Index of product string descriptor
Index of serial number string
descriptor: none
Data from the different devices is
distinguished by different report
IDs, as decribed in the USB
Descriptors section. Data can
come from either the PS/2 port or
from the keyboard. The
KeyCoder™ USB manages the
merging of the data and sends the
merged data to the system
17
bNum
1
0x01
Number of possible configurations
Configuration Descriptor
0
1
2
4
bLength
1
1
2
1
0x09
0x02
Descriptor length in bytes: 9
Descriptor type: configuration
bDescriptorType
wTotalLength
bNumInterface
0x22 00 Total length of data returned
0x02
Number of interfaces supported by this
configuration
5
6
bConfigurationValue
iConfiguration
1
1
0x01
0x00
Current configuration value
Index of configuration string
descriptor: none
7
8
bmAttribute
MaxPower
1
1
0xA0
0x32
Configuration characteristics - bus
powered, with remote wakeup
Maximum power consumption of USB
device: 100 mA
Interface Descriptor 0
0
1
2
3
4
5
6
7
8
bLength
1
1
1
1
1
1
1
1
1
0x09
0x04
0x00
0x00
0x01
0x03
0x01
0x01
0x00
Descriptor length in bytes: 9
Descriptor type: interface
Interface number: 0
Alternate setting number: 0
Number of endpoints: 1
Class code: HID
Subclass code: boot interface
Protocol code: keyboard
Index of interface string descriptor:
none
bDescriptorType
bInterfaceNumber
bAlternateSetting
bNumEndpoints
bInterfaceClass
bInterfaceSubClass
bInterfaceProtocol
iInterface
HID Descriptor 0
0
1
2
4
5
6
7
bLength
bDescriptorType
bcdHID
bCountryCode
bNumDescriptor
bDescriptorType
wDescriptorLength
1
1
2
1
1
1
2
0x09
0x21
Descriptor length in bytes: 9
Descriptor type: HID
0x00 01 HID Spec release number 01.00
0x00
0x01
0x22
Hardware target country
Number of class descriptors
Report descriptor type
0x3F 00 Total length of report descriptor in
bytes: 63
Endpoint Descriptor 0
0
1
2
3
4
6
bLength
bDescriptorType
1
1
1
1
2
1
0x07
0x05
0x81
0x03
Descriptor length in bytes: 7
Descriptor type: endpoint
Endpoint address
Endpoint attributes
0x03 00 Packet size: 3
0x10
Polling rate
Copyright ©1999-2001 Semtech Corporation
DOC5-GNK-UP60-DS-100
www.semtech.com
4
USB DESCRIPTORS (CONT’D)
KEYBOARD & PS/2
Offset Name
Size
Value Description
Keyboard matrix scanning:
Interface Descriptor 1
The encoder scans and debounces
an 8 row by 18 column matrix
keyboard. The KeyCoder™ USB
provides internal pull-ups for the
Row Input pins. When active, the
encoder selects one of the column
lines (C0-C18) and then reads the
row data lines (R0-R7). A key
closure is detected as a zero in the
corresponding position of the
matrix.
0
1
2
3
4
5
6
7
8
bLength
1
1
1
1
1
1
1
1
1
0x09
0x04
0x00
0x00
0x01
0x03
0x01
0x02
0x00
Descriptor length in bytes: 9
Descriptor type: interface
Interface number: 0
Alternate setting number: 0
Number of endpoints: 1
Class code: HID
Subclass code: boot interface
Protocol code: mouse
Index of interface string descriptor:
none
bDescriptorType
bInterfaceNumber
bAlternateSetting
bNumEndpoints
bInterfaceClass
bInterfaceSubClass
bInterfaceProtocol
iInterface
HID Descriptor 1
0
1
2
4
5
6
7
bLength
bDescriptorType
bcdHID
bCountryCode
bNumDescriptor
bDescriptorType
wDescriptorLength
1
1
2
1
1
1
2
0x09
0x21
Descriptor length in bytes: 9
Descriptor type: HID
A complete scan cycle for the
entire keyboard takes
0x00 01 HID Spec release number 01.00
0x00
0x01
0x22
Hardware target country
Number of class descriptors
Report descriptor type
approximately 10 ms. Each key
found pressed is debounced for a
period of 20 ms. Once the key is
verified, the corresponding key
code(s) are loaded into the transmit
buffer of the USB communication
channel.
0x34 00 Total length of report descriptor in
bytes: 52
Endpoint Descriptor 1
0
1
2
3
4
6
bLength
bDescriptorType
1
1
1
1
2
1
0x07
0x05
0x82
0x03
Descriptor length in bytes: 7
Descriptor type: endpoint
Endpoint address
Endpoint attributes
0x08 00 Packet size: 8
0x10
External PS/2 port:
Polling rate
The external PS/2 port allows the
user to connect legacy PS/2
devices to the USB host system.
Standard 104 keyboards and PS/2
mice, with support for MouseWheel,
can be hot-plugged and
immediately begin communicating
with the host.
Copyright ©1999-2001 Semtech Corporation
DOC5-GNK-UP60-DS-100
www.semtech.com
5
USB DESCRIPTORS (CONT’D)
Offset Data
Description
Value
Report Descriptor 0
0
2
4
6
0x05 01
0x09 06
0xA1 01
0x05 07
0x19 E0
0x29 E7
0x15 00
0x25 01
0x75 01
0x95 08
0x81 02
0x75 08
0x95 01
0x81 01
0x95 06
0x75 01
0x05 08
0x19 01
0x29 06
0x91 02
0x95 01
0x75 01
0x91 03
0x95 06
0x75 08
0x15 00
0x25 65
0x05 07
0x19 00
0x29 65
0x81 00
0xC0
Usage Page
Usage
Collection
Generic Desktop
Keyboard
Application
Key codes
224
231
0
1
Usage page
Usage Minimum
Usage Maximum
Logical Minimum
Logical Maximum
Report Size
Report Count
Input
Report Size
Report Count
Input
Report Count
Report Size
Usage Page
Usage Minimum
Usage Maximum
Output
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46
48
50
52
54
56
58
60
62
1
8
Data, variable, absolute
8
1
Constant
6
1
Page # for LEDs
1
6
Data, variable, absolute
1
2
Constant
6
8
0
101
Key codes
0
101
Data, array
Report Count
Report Size
Output
Report Count
Report Size
Logical Minimum
Logical Maximum
Usage page
Usage Minimum
Usage Maximum
Input
End Collection
Copyright ©1999-2001 Semtech Corporation
DOC5-GNK-UP60-DS-100
www.semtech.com
6
USB DESCRIPTORS (CONT’D)
Offset Data
Mnemonic
Value
Report Descriptor 1
0
2
4
6
0x05 01
0x09 02
0xA1 01
0x09 01
0xA1 00
0x05 09
0x19 01
0x29 03
0x15 00
0x25 01
0x95 03
0x75 01
0x81 02
0x95 01
0x75 05
0x81 01
0x05 01
0x15 81
0x25 7F
0x75 08
0x95 03
0x09 30
0x09 31
0x09 38
0x81 06
0xC0
Usage page
Usage
Collection
Usage
Collection
Generic Desktop
Mouse
Application
Pointer
Physical
Buttons
1
3
0
1
3
1
Data, variable, absolute
1
5
Constant
Generic Desktop
-127
127
8
3
X
Y
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46
48
50
51
Usage page
Usage minimum
Usage maximum
Logical minimum
Logical maximum
Report count
Report size
Input
Report count
Report size
Input
Usage page
Logical minimum
Logical maximum
Report size
Report count
Usage
Usage
Usage
Input
End collection
End collection
Wheel
Data, variable, relative
0xC0
Copyright ©1999-2001 Semtech Corporation
DOC5-GNK-UP60-DS-100
www.semtech.com
7
KEY MAP FOR THE FUJITSU FKB7401 KEYBOARD
Key map for the Fujitsu FKB7401 keyboard
Rows (R0-R7)
0
1
2
3
4
5
6
7
0
1
`
F1
Tab
1
CapsLk
FN
F5
F2
F6
ESC
F3
F7
2
Q
W
2
F4
F8
3
Fn
4
LShift
RShift
5
V
F
H
C
T
4
B
J
3
5
7
E
6
R
Y
6
G
U
N
7
S
D
A
M
Space
8
LWin
X
9
K
Z
8
,
!
F9
10
11
12
13
14
15
16
17
RAlt
LAlt
LCtrl
RCtrl
RWin
O
LArr
L
;
9
]
/
=
0
[
P
-
NumLk Pause
F10
DnArr WinApp
.
F11
\
BkSp
Enter
RArr
UpArr
F12
Insert
Del
Copyright ©1999-2001 Semtech Corporation
DOC5-GNK-UP60-DS-100
www.semtech.com
8
KEYBOARD LAYOUT FOR THE FUJITSU FKB7401 KEYBOARD
Keyboard layout for the Fujitsu FKB7401
Num Lk
Scr Lk
Insert
Prt Sc
Delete
SysRq
Pause
Break
Esc
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
~
`
!
1
@
2
#
3
$
4
%
5
^
6
&
7
*
8
(
9
)
0
_
-
+
=
Backspace
Home
PgUp
PgDn
End
{
[
}
]
|
\
Tab
Q
W
E
R
T
Y
U
I
O
P
Caps
Lock
:
;
"
'
A
S
D
F
G
H
J
K
L
Enter
<
,
>
.
?
/
Shift
Fn
Z
X
C
V
B
N
M
Shift
Ctrl
Ctrl
Alt
Alt
Copyright ©1999-2001 Semtech Corporation
DOC5-GNK-UP60-DS-100
www.semtech.com
9
SUGGESTED INTERFACING FOR THE KEYCODER™ USB UR5HCGNK-UP60-FB
7
8
5
2
3
8
Xin
12
5
RESET
VDD
40
39
38
NUMLED
CAPSLED
SCRLLED
7
9
6
Xout
VSS
VSS1
35
36
D -
D +
31
33
32
N/C
N/C
N/C
34
3.3V
5
6
Copyright ©1999-2001 Semtech Corporation
DOC5-GNK-UP60-DS-100
www.semtech.com
10
MECHANICALS FOR THE SDIP PACKAGE
#42
#22
#21
0 ~ 15 ˚
#1
39.10 ± 0.2
(1.77)
0.50 ± 0.1
1.00 ± 0.1
1.778
Copyright ©1999-2001 Semtech Corporation
DOC5-GNK-UP60-DS-100
www.semtech.com
11
MECHANICALS FOR THE QFP PACKAGE
0~8
13.20 ± 0.30
10.00 ± 0.2
0.1 MAX
#44
#1
+ 0.10
- 0.05
0.0 MIN
2.05 ± 0.1
2.30 MAX
0.35
0.80
1.00
Copyright ©1999-2001 Semtech Corporation
DOC5-GNK-UP60-DS-100
www.semtech.com
12
ELECTRICAL SPECIFICATIONS
Absolute Maximum Ratings
Ratings
Supply Voltage
Symbol
Value
-0.3 to 7.0
Vss -0.3 to Vdd +0.3
20
Unit
V
V
Vdd
Vin
I
Input Voltage
Current Drain per Pin
(not including Vss or Vdd)
Operating Temperature
UR5HCGNK-UP60
mA
Ta
T low to T high
-20 to +85
-40 to +125
°C
°C
Storage Temperature Range
Tstg
DC Electrical Characteristics, Temperature range=T low to T high unless otherwise noted)
Characteristic
Symbol
Min
Typ
Max
Unit
Supply Voltage
3.0
5.0
5.5
V
Output Voltage (10 µA load)
Voh
Vol
Vih
Vil
Vdd–0.1
V
0.1
Vdd
0.2xVdd
+/- 10
Input High Voltage
Input Low Voltage
Input Current
0.8 x Vdd
Vss
V
V
µA
Iin
Supply Current
(Vdd=5.0 Vdc+/-10%, Vss=0)
Idd
3.0
TBD
mA
Control Timing (Vdd=5.0 Vdc +/-10%, Vss=0 Vdc, Temperature range=T low to T high unless otherwise noted)
Characteristic
Symbol
Min
Typ
Max
Unit
Frequency of Operation
Crystal Option
External Clock Option
fosc
fosc
6.0
6.0
MHz
MHz
Copyright ©1999-2001 Semtech Corporation
DOC5-GNK-UP60-DS-100
www.semtech.com
13
For sales information
and product literature,
contact:
HID & System Mgmt Division
Semtech Corporation
652 Mitchell Road
Newbury Park, CA 91320
hidinfo@semtech.com
http://www.semtech.com
805 498 2111 Telephone
805 498 3804 Telefax
Semtech Western Regional Sales
805-498-2111 Telephone
805-498-3804 Telefax
Semtech Central Regional Sales
972-437-0380 Telephone
972-437-0381 Telefax
Semtech Eastern Regional Sales
203-964-1766 Telephone
203-964-1755 Telefax
Semtech Asia-Pacific Sales Office
+886-2-2748-3380 Telephone
+886-2-2748-3390 Telefax
Semtech Japan Sales Office
+81-45-948-5925 Telephone
+81-45-948-5930 Telefax
Semtech Korea Sales Sales
+82-2-527-4377 Telephone
+82-2-527-4376 Telefax
Northern European Sales Office
+44 (0)2380-769008 Telephone
+44 (0)2380-768612 Telefax
Southern European Sales Office
+33 (0)1 69-28-22-00 Telephone
+33 (0)1 69-28-12-98 Telefax
Central European Sales Office
+49 (0)8161 140 123 Telephone
+49 (0)8161 140 124 Telefax
Copyright ©1999-2001 Semtech Corporation. All rights reserved.
Semtech is a registered trademark of Semtech Corporation.
KeyCoder is a trademark of Semtech Corporation. All other
trademarks belong to their respective companies.
INTELLECTUAL PROPERTY DISCLAIMER
This specification is provided "as is" with no warranties whatsoever
including any warranty of merchantability, fitness for any particular
purpose, or any warranty otherwise arising out of any proposal,
specification or sample. A license is hereby granted to reproduce
and distribute this specification for internal use only. No other
license, expressed or implied to any other intellectual property
rights is granted or intended hereby. Authors of this specification
disclaim any liability, including liability for infringement of proprietary
rights, relating to the implementation of information in this
specification. Authors of this specification also do not warrant or
represent that such implementation(s) will not infringe such rights.
Copyright ©1999-2001 Semtech Corporation
DOC5-GNK-UP60-DS-100
14
www.semtech.com
相关型号:
©2020 ICPDF网 联系我们和版权申明