SPICoder
TM
06 UR5HCSPI-06
Zero-Power
TM
Keyboard Encoder &
Power Management IC for H/PCs
HID & SYSTEM MANAGEMENT PRODUCTS, H/PC IC FAMILY
DESCRIPTION
The UR5HCSPI-06 keyboard
encoder and power management
IC is designed specifically for
handheld PCs (H/PCs). The off-the-
shelf UR5HCSPI-06 will readily work
with CPUs designed for Windows
CE
®
, saving OEMs significant
development time and money as
well as minimizing time-to-market
for the new generations of handheld
products.
Three main design features of the
UR5HCSPI-06 make it the ideal
companion for the new generation
of Windows CE
®
-compatible,
single-chip computers: low-power
consumption; real estate-saving
size; and special keyboard modes.
“Quasi” Zero-Power consumption
(less than 2µA @ 3V), a must for
H/PCs, provides the host system
with both power management and
I/O flexibility, with almost no battery
drainage.
TM
FEATURES
• SPI-compatible keyboard encoder
and power management IC with
other interfaces available
• Compatible with Windows CE
®
keyboard specification
• Zero-Power
TM
— typically
consuming less than 2µA,
between 3-5V
• Offers overall system power
management capabilities
• Compatible with “system-on
silicon” CPUs for H/PCs
APPLICATIONS
• StrongARM
TM
Handheld PCs
• Windows CE
®
Platforms
• Web Phones
PIN ASSIGNMENTS
• Personal Digital Assistants (PDAs)
• Wearable Computers
• Internet Appliance
• Special keyboard and power
management modes for H/PCs,
including programmable “wake-
up” keys
• Scans, debounces, and encodes
an 8 x 14 matrix and controls
discrete switches and LED
indicators
• Available in a small 44-pin QFP
package
• Custom versions available
_ATN
_SS
SCK
MOSI
MISO
WUKO
SW0
C8
C9
C10
C11/_LID
6
23
22
Finally, special keyboard modes
and built-in power management
features allow the SPICoder
TM
06 to
operate in harmony with the power
management modes of Windows
CE
®
, resulting in more user flexibility
and longer battery life.
The UR5HCSPI-06 also offers
programmable features for wake-up
keys and general purpose I/O pins.
PWR_OK
NC0
OSCO
OSCI
Vcc
NC
NC
_RESET
_WKU
Vx
C7
33
34
QFP
NC
C12
C13
GIO0
_IOTEST
Vss
NC
R7
R6
R5
R4
C5
C4
C3
C2
C1
C0
R0
R1
R2
R3
R4
7
C6
C7
Vx
NC
_WKU
_RESET
Vcc
OSCI
OSCO
NC0
NC
1
40
39
12
PLCC
34
44
1
12
11
17
18
23
29
28
_PWR_OK
_ATN
_SS
SCK
MOSI
MISO
XSW
SW0
C8
C9
C10/WUKO
C6
C5
C4
C3
C2
C1
C0
R0
R1
R2
R3
SPICoder is a trademark of Semtech Corp. All
other trademarks belong to their respective
companies.
Copyright Semtech 1997-2001
DOC5-SPI-06-DS-103
1
www.semtech.com
NC
R5
R6
R7
Vss
NC
_IOTEST
GIO0
C13
C12
C11/_LID
ORDERING CODE
Package Options
44-pin, Plastic PLCC
44-pin, Plastic QFP
Pitch in mm’s
1.27 mm
0.8 mm
TA=-20° C to +85° C
UR5HCSPI-06-XX-FN
UR5HCSPI-06-XX-FB
Note 1:
XX=Optional Customization, XXX= Denotes Revision number
BLOCK DIAGRAM
MISO
MOSI
SCK
SS
ATN
SPI
Communication
Channel
Keyboard
Scanner
&
R0-R8
Keyboard
State
Control
Programmable
I/O
Keyboard
Matrix
GIO0
C0-C13
PWR_OK
WKUP
IOTEST
WKU
Power
Management
Unit
System
Monitor
Input
Signals
LID
WUKO
XSW
SWO
LID Latch Monitor
Wake-Up Keys Only Signal
Switch External to Case
Switch
UR5HCSPI-06
Copyright Semtech 1997-2001
DOC5-SPI-06-DS-103
2
www.semtech.com
FUNCTIONAL DESCRIPTION
The UR5HCSPI-06 consists
functionally of five major sections
(see the Functional Diagram on
page 2). These are the Keyboard
Scanner and State control, the
Programmable I/O, the SPI
Communication Channel, the
System Monitor and the Power
Management unit. All sections
communicate with each other and
operate concurrently.
PIN DEFINITIONS
Mnemonic
VCC
VSS
VX
OSCI
OSCO
_RESET
MISO
MOSI
SCK
_SS
_IOTEST
_WKU
R0-R4
R5-R7
C0-C5
C6-C7
C8-C9
PLCC
44
22
4
43
42
1
34
35
36
37
24
2
13-17
19-21
12-7
6-5
31-30
QFP
38
17
43
37
36
41
29
30
31
32
18
42
8-12
13-15
7-2
1,44
26-25
Type
I
I
I
I
O
I
O
I
I
I
O
I
I
I
O
O
O
Multi-function pins
C10
C11/_LID
C12
C13
GIO0
WUKO
SWO
_ATN
_PWR_OK
NC
NC0
29
28
27
26
25
33
32
38
39
3,18
23,40
41
24
23
21
20
19
28
27
33
34
39-40
16,22
35
I/O C10 & “Wake-Up Keys Only” imput
I/O C11 & Lid latch detect input
Miscellaneous functions
I/O C12
I/O C13
I/O Programmable I/O
I
External discrete switch
I
Discrete switch
Power Management Pins
O CPU Attention Output
I
Power OK Input
No Connects:
these pins are unused
NC0 should be tied to VSS or GND
Name and Function
Power Supply:
3-5V
Ground
Tie to VCC
Oscillator input
Oscillator output
Reset:
apply 0V to provide orderly
start-up
SPI Interface Signals
Slave Select: If not used tie to VSS
Wake-Up Control Signals
Row Data Inputs
Port provides internal pull-up resistors
Column Select Outputs:
Note 1:
An underscore before a pin mnemonic denotes an active low signal.
Copyright Semtech 1997-2001
DOC5-SPI-06-DS-103
3
www.semtech.com
PIN DESCRIPTIONS
VCC and VSS
VCC and VSS are the power
supply and ground pins. The
UR5HCSPI-06 will operate from a
3-5 Volt power supply. To prevent
noise problems, provide bypass
capacitors and place them as
close as possible to the IC with the
power supply. VX, where available,
should be tied to Vcc.
OSCI and OSCO
OSCI and OSCO provide the input
and output connections for the on-
chip oscillator. The oscillator can
be driven by any of the following
circuits:
- Crystal
- Ceramic Resonator
- External Clock Signal
The frequency of the on-chip
oscillator is 2 MHz.
_RESET
A logic zero on the _RESET pin will
force the UR5HCSPI-06 into a
known start-up state. The reset
signal can be supplied by any of
the following circuits:
- RC
- Voltage monitor
- Master system reset
MOSI, MISO, SCK, _SS, _ATN
These five signals implement the
SPI interface. The device acts as a
slave on the SPI bus. The _SS
(Slave Select) pin should be tied to
ground if not used by the SPI
master. The _ATN pin is asserted
low each time the UR5HCSPI-06
has a packet ready for delivery.
For a more detailed description,
refer to the SPI Communication
Channel section on page 9.
_IOTEST and _WKU
“Input Output Test” and “Wake Up”
pins control the stop mode exit of
the device. The designer can
connect any number of active low
signals to these two pins through a
17K resistor, in order to force the
device to exit the stop mode. A
sample circuit is shown on page 15
of this document.
All the signals are “wire-anded.”
When any one of these signals is
not active, it should be floating
(i.e., these signals should be
driven from “open-collector” or
“open-drain” outputs). Other
configurations are possible;
contact Semtech.
R0-R 7
The R0-R7 pins are connected to
the rows of the scanned matrix.
Each pin provides an internal pull-
up resistor, eliminating the need for
external components.
C0-C9
C0 to C9 are bi-directional pins
connected to the columns of the
scanned matrix. When a column is
selected, the pin outputs an active
low signal. When the column is
de-selected, the pin turns into
high-impedance.
C10/WUKO
The C10/WUKO pin acts
alternatively as column scan output
and as an input. As an input, the
pin detects the “Wake-Up Keys
Only” signal, typically provided by
the host CPU to indicate that the
user has turned the unit off. When
the device detects an active high
state on this pin, it feeds this
information into the “Keyboard
State Control” unit, in order to
disable the keyboard and enable
the programmed wake-up keys.
C11/_LID
The C11/_LID pin acts in a similar
manner to the C10/WUKO. This pin
is typically connected to the LID
latch through a 150K resistor, in
order to detect physical closing of
the device cover. When the pin
detects an active low state in this
input, it feeds this information into
the “Keyboard State Control” unit,
in order to disable keys inside the
case and enable only switches
located physically on the outer
body of the H/PC unit.
Copyright Semtech 1997-2000
DOC5-SPI-06-DS-103
4
www.semtech.com
PIN DESCRIPTIONS, (CON’T)
C12, C13 and GIO0
The SPICoder
TM
06 offers pins C12,
C13 and GIO0. C12 and C13 are
used as additional column pins in
order to accommodate larger-size
keyboards, such as the Fujitsu
FKB1406 palmtop keyboard. GIO0
is a programmable input/output
switch; it can also be used as a
wake-up signal. The programming
of the GIO0 is explained on page 8
of this document.
XSW
The XSW pin is dedicated to an
external switch. This pin is handled
differently than the rest of the switch
matrix and is intended to be
connected to a switch physically
located on the outside of the unit.
SW0
The SW0 pin is a dedicated input
pin for a switch.
PWR_OK
WINDOWS CE
®
KEYBOARD
The following illustration shows a typical implementation of a Windows CE®
keyboard.
Windows CE® does not support the following keyboard keys typically found
on desktop and laptop keyboards:
power
esc
~
`
1!
2@
3#
4$
5%
6^
7&
8*
9(
0)
_
-
=+
; :
' "
/ ?
\ |
Q
A
W
S
Z
E
D
X
alt
R
F
C
T
G
V
Y
H
B
U
J
N
I
K
M
O
L
, <
[{
P
tab
shift
ctrl
enter
shift
. >
]}
INSERT
SCROLL LOCK
PAUSE
NUM LOCK
Function Keys (F1-F12)
PRINT SCREEN
If the keyboard implements the Windows key, the following key
combinations are supported in the Windows CE
®
environment:
Key Combination
Result
Open Start Menu
Open Keyboard Tool
Open Stylus Tool
Open Control Panel
Explore the H/PC
Display the Run Dialog Box
Open Windows CE® Help
Select all on desktop
The PWR_OK is an active low pin
that monitors the battery status of
the unit. When the UR5HCSPI-06
detects a transition from high to low
on this pin, it will immediately enter
the STOP mode, turn the LED off
and remain in this state until the
batteries of the unit are replaced
and the signal is deasserted.
Windows
Windows+K
Windows+I
Windows+C
Windows+E
Windows+R
Windows+H
Ctrl+Windows+A
Copyright Semtech 1997-2001
DOC5-SPI-06-DS-103
5
www.semtech.com