SX1504/SX1505/SX1506
4/8/16 Channel GPIO
WIRELESS & SENSING
SX1504/SX1505/SX1506
4/8/16 Channel GPIO with NINT and NRESET
G
ENERAL
D
ESCRIPTION
The SX1504, SX1505 and SX1506 are complete
General Purpose parallel Input/Output (GPIO)
expanders ideal for low power handheld battery
powered equipment. They allow easy serial
2
expansion of I/O through a standard I C interface.
GPIO devices can provide additional control and
monitoring when the microcontroller or chipset has
insufficient I/O ports, or in systems where serial
communication and control from a remote location is
advantageous.
These devices can also act as a level shifter to
connect a microcontroller running at one voltage level
to a component running at a different voltage level.
The core is operating as low as 2.5V while the I/O
banks can operate between 2.5V and 5.5V
independent of the core voltage and each other.
Each GPIO is programmable via 8-bit configuration
registers. Data registers, direction registers, pull-
up/pull-down registers, interrupt mask registers and
interrupt registers allow the system master to
program and configure 4 or 8 or 16-GPIOs using a
2
standard 400kHz I C interface.
The SX1504, SX1505 and SX1506 offer a unique
fully programmable logic functions like a PLD to give
more flexibility and reduce external logic gates used
for standard applications.
The SX1504, SX1505 and SX1506 have the ability to
generate mask-programmable interrupts based on
falling/rising edge of any of its GPIO lines. A
dedicated pin indicates to a host controller that a
state change occurred in one or more of the GPIO
lines.
The SX1504, SX1505 and SX1506 each come in a
small QFN-UT-20/28 package. All devices are rated
from -40° to +85° temperature range.
C
C
K
EY
P
RODUCT
F
EATURES
•
4/8/16 channel of I/Os
True bi-directional style I/O
Programmable Pull-up/Pull-down
Push/Pull outputs
2.5V to 5.5V independent operating voltage for
all supply rails (VDDM, VCC1, VCC2)
5.5V compatible I/Os, up to 24mA output sink
(no total sink current limit)
Fully programmable logic functions (PLD)
2
400kHz 2-wire I C compatible slave interface
Open drain active low interrupt output (NINT)
Bit maskable
Programmable edge sensitivity
Power-On Reset and reset input (NRESET)
Ultra low current consumption of typ. 1uA
-40° to +85° operating temperature range
C
C
Ultra-Thin 3x3mm QFN-UT-20 package
(SX1504/SX1505)
Ultra-Thin 4x4mm QFN-UT-28 package
(SX1506)
Pb & Halogen Free, RoHS/WEEE compliant
•
•
•
•
•
•
•
•
•
•
•
T
YPICAL
A
PPLICATIONS
•
•
•
•
•
•
•
Cell phones, PDAs, MP3 players
Digital camera
Portable multimedia player
Notebooks
GPS Units
Industrial, ATE
Any battery powered equipment
O
RDERING
I
NFORMATION
Part Number
SX1504I087TRT
SX1505I087TRT
SX1506I091TRT
(1)
SX1502EVK
I/O Channels
4
8
16
8
Package
QFN-UT-20
QFN-UT-20
QFN-UT-28
Evaluation Kit
(1)
SX1502I087TRT based, unique evaluation kit for the three parts.
Rev 3 – 16 May 2012
1
th
www.semtech.com
SX1504/SX1505/SX1506
4/8/16 Channel GPIO
WIRELESS & SENSING
Table of Contents
G
ENERAL
D
ESCRIPTION
..................................................................................................................... 1
O
RDERING
I
NFORMATION
................................................................................................................... 1
K
EY
P
RODUCT
F
EATURES
.................................................................................................................. 1
T
YPICAL
A
PPLICATIONS
..................................................................................................................... 1
1
1.1
1.2
1.3
P
IN DESCRIPTION
...................................................................................................................... 4
SX1504 4-channel GPIO
SX1505 8-channel GPIO
SX1506 16-channel GPIO
4
5
6
2
2.1
2.2
E
LECTRICAL
C
HARACTERISTICS
............................................................................................... 7
Absolute Maximum Ratings
Electrical Specifications
7
7
3
3.1
3.2
3.3
T
YPICAL
O
PERATING
C
HARACTERISTICS
............................................................................... 10
IDDM vs. VDDM
VOL vs. IOL
VOH vs. IOH
10
10
11
4
4.1
4.2
4.3
4.4
4.5
B
LOCK
D
ETAILED
D
ESCRIPTION
............................................................................................. 12
SX1504 4-channel GPIO
SX1505 8-channel GPIO
SX1506 16-channel GPIO
Reset (NRESET)
2
2-Wire Interface (I C)
4.5.1
WRITE
4.5.2
READ
4.5.3
READ - STOP separated format (SX1504 and SX1505 only)
4.6
Interrupt (NINT)
4.7
Programmable Logic Functions (PLD)
4.7.1
SX1504
4.7.2
SX1505
4.7.3
SX1506
4.7.4
Tutorial
12
12
13
13
14
14
15
15
16
16
16
17
17
18
5
5.1
5.2
5.3
C
ONFIGURATION
R
EGISTERS
.................................................................................................. 19
SX1504 4-channel GPIO
SX1505 8-channel GPIO
SX1506 16-channel GPIO
19
20
22
6
6.1
6.2
A
PPLICATION
I
NFORMATION
................................................................................................... 26
Typical Application Circuit
Typical LED Operation
6.2.1
LED ON/OFF Control
6.2.2
LED Intensity Control
6.3
Keypad Implementation
6.4
Level Shifter Implementation Hints
26
26
26
27
27
27
7
P
ACKAGING
I
NFORMATION
..................................................................................................... 28
th
Rev 3 – 16 May 2012
2
www.semtech.com
SX1504/SX1505/SX1506
4/8/16 Channel GPIO
WIRELESS & SENSING
7.1
7.2
7.3
7.4
QFN-UT 20-pin Outline Drawing
QFN-UT 20-pin Land Pattern
QFN-UT 28-pin Outline Drawing
QFN-UT 28-pin Land Pattern
28
28
29
29
8
S
OLDERING
P
ROFILE
.............................................................................................................. 30
Rev 3 – 16 May 2012
3
th
www.semtech.com
SX1504/SX1505/SX1506
4/8/16 Channel GPIO
WIRELESS & SENSING
1
1.1
P
IN DESCRIPTION
SX1504 4-channel GPIO
Pin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
A: Analog
D: Digital
I: Input
O: Output
P: Power
Symbol
NRESET
SDA
NC1
SCL
I/O[0]
I/O[1]
VCC1
GND
I/O[2]
I/O[3]
NINT
ADDR
NC2
VDDM
NC3
NC4
NC7
GND
NC5
NC6
Type
DIO
DIO
-
DI
DIO
(*1)
DIO
(*1)
P
P
DIO
(*1)
DIO
(*1)
DO
DI
-
P
-
-
-
P
-
-
Description
Active low reset
I
2
C serial data line
Leave open, not connected
I
2
C serial clock line
I/O[0], at power-on configured as an input
I/O[1], at power-on configured as an input
I/O supply voltage
Ground Pin
I/O[2], at power-on configured as an input
High sink I/O.
I/O[3], at power-on configured as an input
High sink I/O.
Active low interrupt output
Address input, connect to VDDM or GND
Leave open, not connected
Main supply voltage
Leave open, not connected
Leave open, not connected
Connect to VCC1
Ground Pin
Leave open, not connected
Leave open, not connected
(*1) This pin is programmable through the I
2
C interface
Table 1 – SX1504 Pin Description
GND
NC6
NC5
NC7
NRESET
SDA
NC1
SCL
I/O[0]
GND
(PAD)
NC4
NC3
VDDM
NC2
ADDR
NINT
VCC1
GND
I/O[2]
Figure 1 – SX1504 QFN-UT-20 Pinout
Rev 3 – 16 May 2012
4
th
I/O[3]
I/O[1]
www.semtech.com
SX1504/SX1505/SX1506
4/8/16 Channel GPIO
WIRELESS & SENSING
1.2
SX1505 8-channel GPIO
Pin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
A: Analog
D: Digital
I: Input
O: Output
P: Power
(*1) This pin is programmable through the I
2
C interface
Symbol
NRESET
SDA
NC1
SCL
I/O[0]
I/O[1]
VCC1
GND
I/O[2]
I/O[3]
NINT
ADDR
NC2
VDDM
I/O[4]
I/O[5]
VCC2
GND
I/O[6]
I/O[7]
Type
DIO
DIO
-
DI
DIO
(*1)
DIO
(*1)
P
P
DIO
(*1)
DIO
(*1)
DO
DI
-
P
DIO
(*1)
DIO
(*1)
P
P
DIO
(*1)
DIO
(*1)
Description
Active low reset
I
2
C serial data line
Leave open, not connected
I
2
C serial clock line
I/O[0], at power-on configured as an input
I/O[1], at power-on configured as an input
Supply voltage for Bank A I/O[0-3]
Ground Pin
I/O[2], at power-on configured as an input
High sink I/O.
I/O[3], at power-on configured as an input
High sink I/O.
Active low interrupt output
Address input, connect to VDDM or GND
Leave open, not connected
Main supply voltage
I/O[4], at power-on configured as an input
I/O[5], at power-on configured as an input
Supply voltage for Bank B I/O[4-7]
Ground Pin
I/O[6], at power-on configured as an input
I/O[7], at power-on configured as an input
Table 2 – SX1505 Pin Description
VCC2
I/O[7]
I/O[6]
NRESET
SDA
NC1
SCL
I/O[0]
GND
(PAD)
I/O[5]
GND
I/O[4]
VDDM
NC2
ADDR
NINT
VCC1
GND
I/O[2]
Figure 2 – SX1505 QFN-UT-20 Pinout
Rev 3 – 16 May 2012
5
th
I/O[3]
I/O[1]
www.semtech.com