SPICoder
TM
SA01 UR5HCSPI-SA01
Very Low-Power
TM
Keyboard Encoder
and Power Management IC for H/PCs
HID & SYSTEM MANAGEMENT PRODUCTS, H/PC IC FAMILY
DESCRIPTION
The SPICoder
TM
SA01 UR5HCSPI-
SA01, a member of Semtech’s H/PC
IC product family, is a keyboard
encoder and power management IC
designed specifically for handheld
PCs (H/PCs), web phones and other
systems that run Microsoft®
Windows® CE and utilize the Intel
StrongARM
TM
processor.
The SPICoder
TM
SA01 offers several
features necessary to H/PCs,
including extremely low power
consumption, real estate-saving
size, and special keyboard modes.
The IC consumes an extremely
small amount of power (less than 2
µA at 3V) and provides the host
system both power management
and I/O flexibility, with minimal
battery drainage. Unlike the
SPICoder
TM
SA, the SPICoder
TM
SA01 does not offer Lid function.
Special keyboard modes and built-
in power management features
allow the SPICoder
TM
SA01 to
operate in harmony with the power
management modes of Windows®
CE, resulting in greater user
flexibility, and longer battery life.
The IC will scan, debounce and
encode an 8 x 14 keyboard matrix.
It communicates with the host over
the SPI channel, implementing a
high-reliability two-way protocol.
The SPICoder
TM
SA01 also offers
programmable features for wake-up
keys and general purpose I/O pins.
FEATURES
• SPI-compatible keyboard encoder
and power management IC
• Ideal for use with the Intel
StrongARM
TM
processor
• Patented technology for extremely
low power consumption —
typically less than 2 µA between
3-5V
• Offers overall system power
management capabilities
• Available in low profile QFP
package
• Implements high-reliability two-
way protocol
• Fully compatible with the
Windows® CE keyboard
specification
• Works in harmony with the power
management modes of Windows®
CE
• Provides special modes of
operation for H/PCs, including
programmable “wake-up” keys
• Scans an 8 x 14 matrix; controls
discrete switches and LED
indicators
• Compatible with “system-on
silicon” CPUs for H/PCs
APPLICATIONS
• StrongARM
TM
handheld PCs
• Windows® CE platforms
• Web phones
PIN ASSIGNMENTS
_ATN
_SS
SCK
MOSI
MISO
XSW
SW0
C8
C9
C10/WUKO
C11
PWR_OK
NC0
OSCO
OSCI
Vcc
NC
NC
_RESET
_WKU
Vx
C7
33
34
23
22
• Personal digital assistants (PDAs)
• Wearable computers
• Internet appliances
QFP
NC
C12
C13
GIO0
_IOTEST
Vss
NC
R7
R6
R5
R4
44
1
12
11
UR5HCSPI-SA01-FB
44-pin QFP
(0.80 mm pitch
(10x10 mm)
SPICoder is a trademark of Semtech Corporation.
All other trademarks belong to their respective
companies.
Copyright ©1998-2001 Semtech Corporation
DOC5-SPI-SA01-DS-105
1
C6
C5
C4
C3
C2
C1
C0
R0
R1
R2
R3
www.semtech.com
ORDERING CODE
Package options
44-pin, Plastic PLCC
44-pin, Plastic QFP
Pitch In mm’s
1.27 mm
0.8 mm
TA = -40°C to +85°C
UR5CSPI-SA-FN
UR5CSPI-SA-FB
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
WUKO
XSW
SWO
Wake-Up Keys Only Signal
Switch External to Case
Switch
UR5HCSPI-SA01
Copyright ©1998-2001 Semtech Corporation
DOC5-SPI-SA01-DS-105
2
www.semtech.com
FUNCTIONAL DESCRIPTION
The SPICoder
TM
SA01 consists
functionally of five major sections
(see the block diagram). 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
C11
C12
C13
PLCC
44
22
4
43
42
1
34
35
36
37
24
2
13-17
19-21
12-7
6-5
31-30
28
27
26
QFP
38
17
43
37
36
41
29
30
31
32
18
42
8-12
13-15
7-2
1,44
26-25
23
21
20
Type
I
I
I
I
O
I
O
I
I
I
O
I
I
I
O
O
O
I/O
O
O
Multi-function pins
-+C10/WUKO
GI00
XSW
SWO
_ATN
_PWR_OK
NC
29
25
33
32
38
39
3,18
23,40
41
24
19
28
27
33
34
39-40
16,2
35
I/O C10 & “Wake-Up Keys Only” input
Miscellaneous functions
I/O General programmable I/O
I
External discrete switch
I
Discrete switch
Power Management Pins
O CPU Attention Output
I
Power OK Input
No Connects:
these pns are unused
NC0
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:
An underscore before a pin mnemonic denotes an active low signal.
Copyright ©1998-2001 Semtech Corporation
DOC5-SPI-SA01-DS-105
3
www.semtech.com
PIN DESCRIPTIONS
VCC and VSS
VCC and VSS are the power supply
and ground pins. The SPICoder
TM
SA01 operates from a 3-5 Volt
power supply. To prevent noise
problems, provide bypass
capacitors placed 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.00 MHz.
_RESET
A logic zero on the _RESET pin will
force the SPICoder
TM
SA01 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 must go high
between successive characters in
an SPI message or a write collision
error results. The _ATN pin is
asserted low each time the
SPICoder
TM
SA01 has a packet
ready for delivery. For a more
detailed description, refer to the
SPI Communication Channel
section of this document.
_IOTEST and _WKU
The_IOTEST and _WKU pins (“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 15K
resistor, in order to force the device
to exit the stop mode. A sample
circuit is included in 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).
R0 - R7
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 to C9 and C11
Pins C0 to C9 are bi-directional
pins and are 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.
To achieve maximum power
savings, the resistor connected to
WUKO can be as large as 1.5
MegaOhm.
Copyright ©1998-2001 Semtech Corporation
DOC5-SPI-SA01-DS-105
4
www.semtech.com
PIN DESCRIPTIONS (CONT’D)
C12 and C13
C12 and C13 are used as
additional column pins in order to
accommodate larger-size
keyboards, such as the Fujitsu
FKB1406 palmtop keyboard.
GIO0
GIO0 is a programmable
input/output switch or LED pin; it
can also be used as a wake-up
signal. Its programming is
explained in the General Purpose
I/O Pin section 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
The PWR_OK is an active low pin
that monitors the battery status of
the unit. When the SPICoder
TM
SA01 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.
THE WINDOWS® CE® KEYBOARD
The following illustration shows a typical implementation of a Windows® CE
keyboard.
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
. >
]}
Windows® CE does not support the following keyboard keys typically found
on desktop and laptop keyboards:
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
Windows
Windows+K
Windows+I
Windows+C
Windows+E
Windows+R
Windows+H
Ctrl+Windows+A
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
Copyright ©1998-2001 Semtech Corporation
DOC5-SPI-SA01-DS-105
5
www.semtech.com