MAX6946ATE [MAXIM]
10-Port, Constant-Current LED Driver and I/O Expander with PWM Intensity Control;![MAX6946ATE](http://pdffile.icpdf.com/pdf2/p00334/img/icpdf/MAX6946ATE_2056454_icpdf.jpg)
型号: | MAX6946ATE |
厂家: | ![]() |
描述: | 10-Port, Constant-Current LED Driver and I/O Expander with PWM Intensity Control |
文件: | 总24页 (文件大小:267K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
![](http://public.icpdf.com/style/img/ads.jpg)
19-0598; Rev 3; 2/08
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
General Description
Features
The MAX6946/MAX6947 I C-/SMBusTM-compatible,
serial-interfaced peripherals provide microprocessors
with 10 I/O ports rated to 7V.
2
♦ 2.25V to 3.6V Operation
♦ I/O Ports Default to High Impedance (LEDs Off)
on Power-Up
♦ I/O Port Inputs Are Overvoltage Protected to 7V
Each port can be configured as a 2.5mA to 20mA con-
stant-current LED driver (static or PWM), a 1.25mA to
10mA constant-current LED driver (static or PWM), an
open-drain logic output, or an overvoltage-protected
Schmitt logic input.
♦ I/O Port Outputs Are 7V-Rated Open-Drain, 10mA
or 20mA Constant-Current Static/PWM LED
Drivers, or Open-Drain Logic Outputs
♦ I/O Ports Support Hot Insertion
♦ Individual 8-Bit PWM Intensity Control for Each LED
Analog and switching LED intensity control includes indi-
vidual 8-bit PWM control per output, individual 1-bit ana-
log current control (half/full scale) per output, and a global
3-bit DAC current control that applies to all LED outputs.
♦ RST Input Clears Serial Interface and Can Exit
Shutdown (Warm Start)
♦ MAX6946 OSC Input Allows for External PWM
Clock Input
The MAX6946/MAX6947 can stagger the PWM timing of
the 10-port outputs in consecutively phased 45° incre-
ments. Staggering the outputs spreads the PWM load
currents over time in eight steps, helping to even out
the power-supply current and reduce the RMS current.
♦ MAX6947 AD0 Input Selects from Two Slave
Addresses
♦ Auto Ramp-Up Out of Shutdown, and Up to 4s
Hold-Off Before Ramp-Down into Shutdown
For a similar part with an SPITM-/QSPITM-/ or MICROWIRETM-
compatible interface, refer to the MAX6966/MAX6967
data sheet.
♦ 0.8µA (typ) Shutdown Current
♦ -40°C to +125°C Temperature Range
♦ Tiny WLP Package (4 x 4 Grid)
Applications
LCD Backlights
Keypad Backlights
LED Status Indicators
Ordering Information
Cellular Phones
Portable Equipment
RGB LED Drivers
PKG
CODE
PART
PIN-PACKAGE
MAX6946ATE+
MAX6946CAWE+
MAX6947ATE+
16 TQFN-EP*
16 WLP
T1633-4
W162B2-1
T1633-4
Typical Operating Circuit
16 TQFN-EP*
+Denotes a lead-free package.
*EP = Exposed pad.
+3.3V
V
= +5V
EXT
Note: All devices are specified over the -40°C to +125°C operating
V
DD
temperature range..
μC
P0
P1
P2
P3
P4
P5
P6
P7
P8
P9
Pin Configurations
SCL
SDA
SCL
SDA
OSC*
RST
MAX6946
MAX6947
LOGIC INPUT
LOGIC INPUT
LOGIC INPUT
LOGIC INPUT
LOGIC INPUT
LOGIC INPUT
LOGIC INPUT
TOP VIEW
MAX6946C
A1
RST
B1
A2
VDD
B2
A3
SCL
B3
A4
SDA
B4
AD0**
GND
*MAX6946 ONLY.
**MAX6947 ONLY.
P9
P1
OSC
C2
P0
C1
P8
C3
P3
C4
P2
SMBus is a trademark of Intel Corp.
SPI and QSPI are trademarks of Motorola, Inc.
MICROWIRE is a trademark of National Semiconductor Corp.
P7
D1
P6
D2
D3
D4
P4
GND
P5
(BUMPS ON BOTTOM)
16-BUMP, 2.1mm x 2.1mm WLP
Pin Configurations continued at end of data sheet.
________________________________________________________________ Maxim Integrated Products
1
For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642,
or visit Maxim’s website at www.maxim-ic.com.
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
ABSOLUTE MAXIMUM RATINGS
VDD to GND .............................................................-0.3V to +4V
SCL, SDA, AD0, RST, OSC to GND .........................-0.3V to +6V
P0 to P9 to GND .......................................................-0.3V to +8V
DC Current into P0 to P9 ....................................................24mA
DC Current into SDA...........................................................10mA
RST Sink Current.................................................................10mA
Total GND Current ............................................................280mA
Continuous Power Dissipation (T = +70°C)
A
16-Pin TQFN (derate 14.7mW/°C over +70°C) ..........1176mW
16-Bump WLP (derate 13.3mW/°C over +70°C)........1066mW
Operating Temperature Range (T
, T
)....-40°C to +125°C
MIN MAX
Junction Temperature......................................................+150°C
Storage Temperature Range.............................-65°C to +150°C
Lead Temperature (soldering, 10s) .................................+300°C
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional
operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to
absolute maximum rating conditions for extended periods may affect device reliability.
ELECTRICAL CHARACTERISTICS
(V
= 2.25V to 3.6V, T = T
A
to T
, unless otherwise noted. Typical values are at V
= 3.3V, T = +25°C.) (Note 1)
DD A
DD
MIN
MAX
PARAMETER
SYMBOL
CONDITIONS
MIN
TYP
MAX UNITS
Operating Supply Voltage
V
2.25
3.60
V
DD
EXT
POR
Output Load External Supply
Voltage P0–P9
V
7
V
Power-On-Reset Voltage
V
V
rising
1.91
128
V
DD
16-pin TQFN
Power-On-Reset Voltage Hysteresis PORHYS
mV
16-bump WLP
33
T
T
T
T
T
T
= +25°C
1.0
1.3
1.3
1.5
23
A
A
A
A
A
A
Standby Current Interface Idle
(PWM Disabled, All Ports High
Impedance)
RST at VDD;
I
f
= 0Hz; other digital
= T
= T
to +85°C
µA
µA
STBY
SCL
MIN
MIN
inputs at VDD or GND
to T
MAX
= +25°C
17
50
Standby Current in Reset
(PWM Disabled, All Ports High
Impedance)
RST at GND; f
400kHz; other digital
inputs at VDD or GND
=
SCL
I
= T
= T
to +85°C
24
RST
MIN
MIN
to T
25
MAX
T
A
T
A
T
A
= +25°C
60
62
65
Supply Current Interface Active
(Reset Run Enabled, PWM
Disabled, All Ports High
Impedance)
f
= 400kHz; other
SCL
digital inputs at VDD or
GND
= T
to +85°C
I
µA
MIN
MIN
DD
= T
to T
MAX
One port set to 10mA
constant current; all other
ports' output registers set
to 0x00, 0x01, or 0xFF;
digital inputs at VDD or
GND
T
A
T
A
T
A
T
A
T
A
T
A
= +25°C
1.58
3.2
1.8
1.9
2.0
3.6
3.8
4.0
= T
= T
to +85°C
ΔI
ΔI
MIN
DD10
DD20
to T
MIN
MAX
Delta Supply Current Interface Idle
mA
One port set to 20mA
constant current; all other
ports' output registers set
to 0x00, 0x01, or 0xFF;
digital inputs at VDD or
GND
= +25°C
= T
to +85°C
MIN
MIN
= T
to T
MAX
2
_______________________________________________________________________________________
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
ELECTRICAL CHARACTERISTICS (continued)
(V
= 2.25V to 3.6V, T = T
A
to T
, unless otherwise noted. Typical values are at V
= 3.3V, T = +25°C.) (Note 1)
DD A
DD
MIN
MAX
PARAMETER
SYMBOL
CONDITIONS
MIN
TYP
MAX UNITS
Input High Voltage
(P0–P9, SDA, SCL, RST, AD0, OSC)
0.7
x V
DD
V
P0–P9: output register set to 0x01
V
IH
Input Low Voltage
(P0–P9, SDA, SCL, RST, AD0, OSC)
0.3
V
V
P0–P9: output register set to 0x01
IL
x V
DD
Input Leakage Current
(P0–P9, SDA, SCL, RST, AD0, OSC)
I
, I
-0.2
+0.2
µA
pF
IH IL
Input Capacitance
(P0–P9, SDA, SCL, RST, AD0, OSC)
10
10
T
T
= +25°C
9.3
9.1
10.5
11.0
A
= T
to +85°C
Output register set to 0x02,
A
MIN
10mA Port Nominal Sink Constant
Current (P0–P9)
16-pin TQFN
V
V
= 3.3V,
I
mA
mA
DD
OUT
- V
LED
= 1V (Note 3)
EXT
T
= T to +85°C
A
MIN
9.0
19.00
18.6
11.0
21.12
21.8
16-bump WLP
T
A
= +25°C
20
Output register set to 0x02,
T
A
= T
to +85°C
MIN
20mA Port Nominal Sink Constant
Current (P0–P9)
I
V = 3.3V,
DD
OUT
16-pin TQFN
V
EXT
- V
LED
= 1V (Note 3)
T
A
= T to +85°C
MIN
18.4
22.0
4.0
16-bump WLP
T
= +25°C, V
= 20mA
= 3.3V, V to V = 1.4V,
A
DD
DD
P0
P9
2.0
2.0
I
OUT
Port Sink Constant-Current
Matching
ΔI
%
V
OUT
T
A
= +25°C, V
= 3.3V, V to V = 1.4V,
P0 P9
5.0
I
= 10mA
OUT
Port Logic Output Low Voltage
(P0–P9)
Output register set to 0x00,
= 0.5mA
V
0.5
OLP_
I
SINK
Port Logic Output Low
Short-Circuit Current (P0–P9)
Output register set to 0x00,
V = 5V
OLP_
10
2
mA
µs
Port Slew Time
From 20% current to 80% current
Output Low Voltage
(SDA)
V
I
= 6mA
300
mV
OLSDA
SINK
_______________________________________________________________________________________
3
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
TIMING CHARACTERISTICS (Figure 8)
(V
= 2.25V to 3.6V, T = T
A
to T
, unless otherwise noted. Typical values are at V
= 3.3V, T = +25°C.) (Note 1)
DD A
DD
MIN
MAX
PARAMETER
SYMBOL
CONDITIONS
MIN
23
TYP
32
MAX
42
UNITS
16-pin TQFN
Internal PWM Clock Frequency
f
kHz
INT
16-bump WLP
20
32
45
External PWM Clock Frequency
Serial-Clock Frequency
f
100
400
kHz
kHz
OSC
f
SCL
Bus Free Time Between a STOP and
a START Condition
t
1.3
0.6
µs
µs
µs
BUF
Hold Time, (Repeated) START
Condition
t
HD, STA
Repeated START Condition Setup
Time
t
0.6
0.6
SU, STA
STOP Condition Setup Time
Data Hold Time
t
µs
µs
ns
µs
µs
SU, STO
t
(Note 3)
0.9
HD, DAT
Data Setup Time
t
180
1.3
0.7
SU, DAT
SCL Clock Low Period
SCL Clock High Period
t
LOW
t
HIGH
Rise Time of Both SDA and SCL
Signals, Receiving
20
+ 0.1C
t
(Notes 4, 5)
(Notes 4, 5)
(Notes 4, 6)
300
300
250
ns
ns
ns
R
b
b
b
Fall Time of Both SDA and SCL
Signals, Receiving
20
+ 0.1C
t
F
20
+ 0.1C
Fall Time of SDA Transmitting
t
F, TX
Pulse Width of Spike Supressed
Capacitive Load for Each Bus Line
RST Pulse Width
t
(Note 7)
(Note 4)
50
ns
pF
µs
SP
C
400
b
t
0.1
5.6
W
RST Rising Edge to
MAX6946/MAX6947 ACK to Cancel
Reset Run
Reset Run enabled,
internal oscillator
enabled
16-pin TQFN
3.0
2.5
t
t
ms
ms
RSTRUN
RSTRUN
16-bump WLP
RST Rising Edge to
MAX6946/MAX6947 ACK to Ensure
Reset Run
Reset Run enabled, internal oscillator
enabled
Note 1: All parameters are tested at T = +25°C. Specifications over temperature are guaranteed by design.
A
Note 2: Port current is factory trimmed to meet a median sink current of 20mA and 10mA over all ports. The ΔI
specification
OUT
guarantees current matching between parts.
Note 3: A master device must provide a hold time of at least 300ns for the SDA signal (referred to V of the SCL signal) in order to
IL
bridge the undefined region of SCL’s falling edge.
Note 4: Not production tested. Guaranteed by design.
Note 5: C = total capacitance of one bus line in picoFarads; t and t are measured between 0.3 x V
and 0.7 x V
.
DD
b
DD
R
F
Note 6: I
≤ 6mA.
SINK
Note 7: Guaranteed by design. Input filters on the SDA and SCL inputs suppress noise spikes of less than 50ns.
4
_______________________________________________________________________________________
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
Typical Operating Characteristics
(T = +25°C, unless otherwise noted.)
A
STANDBY CURRENT (I
)
STANDBY CURRENT (I
)
STBY
RST
SUPPLY CURRENT (I
vs. TEMPERATURE
)
DD
vs. TEMPERATURE
vs. TEMPERATURE
2.0
1.6
1.2
0.8
0.4
0
25
20
15
10
5
25
20
15
10
5
V
= 3.6V
V
= 3.6V
DD
DD
V
= 3.3V
DD
V
= 3.3V
DD
V
V
= 3.6V
DD
V
= 3.3V
= 2.7V
DD
V
= 2.7V
DD
DD
V
= 2.7V
DD
V
= 2.25V
DD
V
= 2.25V
DD
V
= 2.25V
DD
0
0
-40 -25 -10
5
20 35 50 65 80 95 110 125
-40 -25 -10
5
20 35 50 65 80 95 110 125
TEMPERATURE (°C)
-40 -25 -10
5
20 35 50 65 80 95 110 125
TEMPERATURE (°C)
TEMPERATURE (°C)
OUTPUT SINKING CURRENT
DELTA SUPPLY CURRENT (I
vs. TEMPERATURE
)
DELTA SUPPLY CURRENT (I
)
DD20
DD20
vs. V
- V
LED
AT 10mA
EXT
vs. TEMPERATURE
14
12
10
8
4.0
3.6
3.2
2.8
2.4
2.0
15
12
9
V
= 3.6V
DD
V
= 3.3V
DD
V
= 3.3V
V
= 3.6V
DD
DD
6
6
4
3
V
= 2.7V
V
= 2.7V
DD
DD
2
V
= 2.25V
DD
V
= 2.25V
DD
0
0
0
1
2
3
4
5
-40 -25 -10
5
20 35 50 65 80 95 110 125
-40 -25 -10
5
20 35 50 65 80 95 110 125
V
- V (V)
LED
TEMPERATURE (°C)
TEMPERATURE (°C)
EXT
OUTPUT SINKING CURRENT
STAGGER PWM PORT WAVEFORMS
vs. V
- V
LED
AT 20mA
EXT
(OUTPUT REGISTERS SET TO 0x80)
MAX6946/47 toc08
24
20
16
12
8
PORT P0
2V/div
PORT P4
2V/div
PORT P7
2V/div
4
0
0
1
2
3
4
5
1ms/div
V
- V (V)
LED
EXT
_______________________________________________________________________________________
5
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
Pin Description
PIN
NAME
FUNCTION
MAX6946/
MAX6947
MAX6946C
1
2
B4
B3
C4
C3
D4
D3
D2
D1
C2
C1
B1
P0
P1
I/O Ports. Configure P0–P4 as open-drain current sink outputs rated at
20mA (max), as CMOS-logic inputs, or as open-drain logic outputs.
Connect loads to a supply voltage no higher than 7V.
3
P2
4
P3
5
P4
6
GND
Ground
7
P5
8
P6
I/O Ports. Configure P5–P9 as open-drain current sink outputs rated at
20mA (max), as CMOS-logic inputs, or as open-drain logic outputs.
Connect loads to a supply voltage no higher than 7V.
9
P7
10
11
P8
P9
OSC (MAX6946)
AD0 (MAX6947)
RST
External Oscillator Input
12
B2
Address Input. Sets the device slave address (see Table 10).
Active-Low Reset Input
13
14
15
16
A1
A2
A3
A4
VDD
Positive Supply Voltage. Bypass VDD to GND with a 0.1µF ceramic capacitor.
2
SCL
I C-Compatible, Serial-Clock Input
2
SDA
I C-Compatible, Serial-Data I/O
Exposed Pad on Package Underside. Connect to GND. Do not use as the
main ground connection.
—
—
EP
Block Diagram
RAMP-UP/RAMP-DOWN
CONTROLS
CURRENT REFERENCE
P0
P1
INTERNAL
OSCILLATOR
PWM CONTROLLER
P2
I/O PORTS
P3
P4
P5
P6
P7
P8
P9
EXTERNAL CLOCK INPUT*
OSC*
MAX6946
MAX6947
CONFIGURATION
REGISTER
I/O REGISTER
ADO**
SCL
SDA
2-WIRE SERIAL INTERFACE
RST
**MAX6946 ONLY.
**MAX6947 ONLY.
6
_______________________________________________________________________________________
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
Table 1. Register Address Map
Detailed Description
The MAX6946/MAX6947 general-purpose input/output
(GPIO) peripherals provide 10 I/O ports, P0 to P9, con-
ADDRESS
CODE
(HEX)
AUTO-
INCREMENT
ADDRESS
DESCRIPTION
2
trolled through an I C-compatible serial interface. Use
the 10 I/O ports as logic inputs, open-drain logic out-
puts, or constant-current sinks in any combination.
Ports withstand 7V independent of the MAX6946/
MAX6947s’ supply voltage whether used as logic
inputs, logic outputs, or constant-current sinks.
Port P0 output level or PWM
Port P1 output level or PWM
Port P2 output level or PWM
Port P3 output level or PWM
Port P4 output level or PWM
Port P5 output level or PWM
Port P6 output level or PWM
Port P7 output level or PWM
Port P8 output level or PWM
Port P9 output level or PWM
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x09
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x09
0x10
The MAX6946/MAX6947 feature shutdown and standby
modes for low-power dissipation. The I/O ports feature
pulse-width modulation (PWM) of the outputs and can
stagger the PWM timing of the 10 port outputs in con-
secutively phased 45° increments. The I/O ports also
feature ramp-up and ramp-down controls.
The MAX6946/MAX6947 feature a RST input to halt any
serial-interface transmission and bring the device out of
shutdown.
Write ports P0–P9 with same
output level or PWM
0x0A
0x0B
0x0C
0x0D
0x10
0x10
0x10
0x10
Open-drain logic outputs require external pullup resis-
tors to provide the logic-high reference. Ports config-
ured as open-drain logic outputs have a relatively weak
sink capability, but are still adequate for normal logic-
level outputs. The weak drive means that the short-cir-
cuit current is low enough that inadvertently driving an
LED from a port configured as a logic output is unlikely
to damage the LED.
Read port P0 output level or PWM
Write ports P0–P3 with same
output level or PWM
Read port P0 output level or PWM
Write ports P4–P7 with same
output level or PWM
2
Read port P4 output level or PWM
The MAX6946 features a fixed I C slave address of
010 0000 and provides an OSC input to accept an
external PWM clock input as an alternative to the inter-
nal PWM clock.
Write ports P8 or P9 with same
output level or PWM
Read port P8 output level or PWM
Read ports P7–P0 inputs
Read ports P9 and P8 inputs
Configuration
The MAX6947 features an AD0 input that uses two-level
logic to select from two I2C slave addresses. The
MAX6947 always uses the internal PWM clock.
0x0E
0x0F
0x10
0x11
0x12
0x13
0x14
0x15
0x0F
0x0E
0x11
0x12
0x13
0x14
0x15
0x10
Register Structure
The MAX6946/MAX6947 contain 22 internal registers
(see Table 1). Use registers 0x00 to 0x09 to individually
control ports P0 to P9. Registers 0x0A to 0x0D allow
more than one port control register to be written with
the same data to simplify software. Registers 0x0E and
0x0F do not store data, but return the port input status
when read. Registers 0x10 to 0x15 configure and con-
trol the device operation.
Ramp-down
Ramp-up
Output current ISET70
Output current ISET98
Global current
Factory reserved; do not write to
this register
0x7D
—
_______________________________________________________________________________________
7
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
Configuration Register (0x10)
Use the configuration register to select PWM phasing
between outputs, test fade status, enable hardware
startup from shutdown, and select shutdown or run
mode (Table 2).
Initial Power-Up
All control registers reset upon power-up (Table 3).
Power-up status sets I/O ports P0 to P9 to high imped-
ance, and puts the device into shutdown. The
MAX6946/MAX6947 powers up in shutdown.
Table 2. Configuration Register (0x10)
REGISTER BIT
DESCRIPTION
VALUE
FUNCTION
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Internal oscillator enabled as PWM clock source
D7
OSC enable*
External oscillator input enabled as PWM clock source
RST does not change register data
RST resets registers to POR (power-on reset) state
PWM outputs are in phase
PWM outputs stagger phase
Device not in hold-off
D6
D5
D4
D3
D2
D1
D0
RSTPOR options
PWM stagger
Hold-off status**
Fade-off status**
Ramp-up status**
RST RUN enable
RUN enable
Device in hold-off
Device not in fade-off
Device in fade-off
Device not in ramp-up
Device in ramp-up
Reset Run disabled
Reset Run enabled
Shutdown mode
Run mode
*The OSCEN bit applies only to the MAX6946. OSCEN is always 0 for the MAX6947, and the MAX6947 ignores writes to the OSCEN bit.
**Read-only bits.
Table 3. Initial Power-Up Register Status
REGISTER BIT
ADDRESS
CODE (HEX)
DESCRIPTION
POWER-UP CONDITION
D7
D6
D5
D4
D3
D2
D1
D0
Port P0–P9 output level
or PWM
Port 0–9 high impedance
0x00–0x09
1
1
1
1
1
1
1
1
Configuration
Shutdown mode, Reset Run disabled
Fade/hold-off disabled
Disabled
0x10
0x11
0x12
0x13
0x14
0x15
0/1*
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
Ramp-down/hold-off
Ramp-up
0
Output current ISET70
Output current ISET98
Global current
I
I
= 10mA for ports P7–P0
= 10mA for ports P9, P8
0
PEAK
PEAK
0
Full current
0
*Value is 0 for MAX6947 and 1 for MAX6946 bit.
8
_______________________________________________________________________________________
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
Phasing section). The I/O ports are high impedance
without V applied and remain high impedance upon
I/O Ports
The MAX6946/MAX6947 contain 10 I/O ports.
Configure the 10 I/O ports as logic inputs, open-drain
logic outputs, or constant-current sinks in any combina-
tion. Table 4 shows a detailed description of the indi-
vidual port configuration registers 0x00 through 0x09.
Use registers 0x00–0x09 to individually assign each
port as a logic input, open-drain logic output or con-
stant-current sink (see the PWM Intensity Control and
DD
power-up.
Figure 1 shows the I/O port structure of the MAX6946/
MAX6947. I/O ports P0 to P9 default to high impedance
on power-up, so LEDs or other port loads connected
draw no current. Ports used as inputs do not load their
source signals.
I/O PORT
A
B
POSITION A: 0x00–0x01
POSITION B: 0x02–0xFF
CLOSE SWITCH: 0x02–0xFE
8-BIT LATCH
OUTPUT PORT
REGISTER
PWM
GENERATOR
ENABLE
SET
CURRENT
1-BIT LATCH
OUTPUT CURRENT
REGISTER
N
MSB
TO/FROM
SERIAL
INTERFACE
4-BIT DAC
3-BIT LATCH
GLOBAL CURRENT
REGISTER
READ I/O
PORT COMMAND
Figure 1. Simplified Schematic of I/O Ports
Table 4. Individual Port Configuration Options (Port Output Registers 0x00–0x09)
OUTPUT
REGISTER
CODE
SHUTDOWN
(CONFIGURATION REGISTER
BIT D0 = 0)
RUN MODE (CONFIGURATION
REGISTER BIT D0 = 1)
PORT TYPE
APPLICATION NOTES
Low-logic
output
0x00
0x01
Logic-low output, not constant current
Lowest supply current,
unaffected by shutdown
High-logic
output
Logic-high output with external pullup resistor;
otherwise, high impedance
Logic input
CMOS logic input
Constant-
current static
sink output
Static constant-current sink
Full constant-current drive
with no PWM
0x02
output
High impedance
Constant-
current PWM
output
0x03 = 3/256 PWM duty cycle
0xFE = 254/256 PWM duty cycle
0x03–0xFE
0xFF
Adjustable constant current
LED off
Logic-high output with external pullup resistor; otherwise,
high impedance
LED off
_______________________________________________________________________________________
9
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
Ports Configured as Outputs
The global-current register sets the full (maximum) con-
stant-current sink into an I/O port configured as an out-
put (Table 5). Each output port’s individual constant-
current sink can set to either half or full scale of the
global current by the output-current registers (Table 6).
By default, maximum current is 20mA, hence the default
maximum half current is 10mA.
Use the output-current registers to set the individual
currents (Table 6). Set the global current by the global-
current register (Table 5).
Set each output current individually to best suit the
maximum operating current of an LED load, or even
adjust on the fly to double the effective intensity control
range of each output. The individual current selection is
10mA (half) or 20mA (full) when setting the global-cur-
rent register to its maximum value.
Set each output port’s individual constant-current sink
to either half scale or full scale of the global current.
Table 5. Global-Current Register Format (0x15)
REGISTER BIT
DESCRIPTION
D7
X
X
D6
X
X
D5
X
X
D4
X
D3
X
D2
0
D1
0
D0
0
Full current is 2.5mA; half current is 1.25mA
Full current is 5mA; half current is 2.5mA
Full current is 7.5mA; half current is 3.75mA
Full current is 10mA; half current is 5mA
Full current is 12.5mA; half current is 6.25mA
Full current is 15mA; half current is 7.5mA
Full current is 17.5mA; half current is 8.75mA
Full current is 20mA; half current is 10mA
X
X
0
0
1
X
X
X
X
X
0
1
0
X
X
X
X
X
X
X
X
0
1
1
X
X
1
0
0
X
X
X
X
X
1
0
1
X
X
X
X
X
X
X
X
1
1
0
X
X
1
1
1
Table 6. Output-Current Register Format
REGISTER BIT
ADDRESS
DESCRIPTION
CODE (HEX)
D7
X
X
X
X
X
X
X
X
X
X
X
X
X
X
0
D6
X
X
X
X
X
X
X
X
X
X
X
X
0
D5
X
X
X
X
X
X
X
X
X
X
0
D4
X
X
X
X
X
X
X
X
0
D3
X
X
X
X
X
X
0
D2
D1
D0
0
Output P0 is set to half constant current
Output P0 is set to full constant current
Output P1 is set to half constant current
Output P1 is set to full constant current
Output P2 is set to half constant current
Output P2 is set to full constant current
Output P3 is set to half constant current
X
X
X
X
0
1
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
0
1
X
X
X
X
X
X
X
X
X
X
X
X
X
X
0
1
1
X
X
X
X
X
X
X
X
X
X
X
X
X
X
0
Output P3 is set to full constant current
1
0x13
Output P4 is set to half constant current
X
X
X
X
X
X
X
X
X
X
X
X
Output P4 is set to full constant current
Output P5 is set to half constant current
Output P5 is set to full constant current
Output P6 is set to half constant current
Output P6 is set to full constant current
Output P7 is set to half constant current
Output P7 is set to full constant current
Output P8 is set to half constant current
1
X
X
X
X
X
X
X
X
X
X
1
X
X
X
X
X
X
X
X
1
X
X
X
X
X
X
1
X
X
X
X
Output P8 is set to full constant current
0x14
1
Output P9 is set to half constant current
X
X
Output P9 is set to full constant current
10 ______________________________________________________________________________________
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
the timing shown in Figure 2. All outputs, therefore,
draw load current at the exactly same time for the same
PWM setting. This means that if, for example, all out-
puts are set to 0x80 (128/256 duty cycle), the current
draw would be zero (all loads off) for half the time, and
full (all loads on) for the other half.
PWM Intensity Control and Phasing
The MAX6946/MAX6947 use an internal 32kHz oscilla-
tor to generate PWM timing for LED intensity control.
The MAX6946 also features an OSC input to allow for
an external clock for generating PWM timing for LED
intensity control. Select the PWM clock source for the
MAX6946 with configuration register bit D7 (Table 2).
The MAX6947 powers up configured to use the internal
32kHz oscillator by default. The MAX6946 powers up
configured to use the external clock source by default.
Setting the stagger bit causes the PWM timing of the 10
port outputs to stagger by 32 counts of the 256-count
PWM period (i.e., 1/8th), distributing the port output
switching points across the PWM period (Figure 3).
Staggering reduces the di/dt output-switching transient
on the supply and also reduces the peak/mean current
requirement.
A PWM period comprises 256 cycles of the nominal
32kHz PWM clock (Figure 2). Individually set the ports’
PWM duty cycle between 3/256 and 254/256. See
Table 4 for port register settings.
Set or clear the stagger bit during shutdown. Changing
the stagger bit during normal operation can cause a
transient flicker in any PWM-controlled LEDs because
of the fundamental PWM timing changes.
Configure PWM timing by setting the stagger bit in the
configuration register (Table 2), either with output stag-
gering or without. Clearing the stagger bit causes all
outputs using PWM to switch at the same time using
OUTPUT
REGISTER
7.8125ms NOMINAL PWM PERIOD
OUTPUT STATIC-LOW LOGIC DRIVE WITH INPUT BUFFER ENABLED (GPI)
VALUE
0x00
HIGH-Z
LOW
HIGH-Z
LOW
OUTPUT STATIC-HIGH LOGIC DRIVE WITH INPUT BUFFER ENABLED (GPI)
0x01
0x02
0x03
0x04
HIGH-Z
LOW
OUTPUT STATIC-LOW CONSTANT CURRENT WITH INPUT BUFFER DISABLED (STATIC LED DRIVE ON)
HIGH-Z
LOW
OUTPUT LOW 3/256 DUTY CONSTANT CURRENT WITH INPUT BUFFER DISABLED (PWM LED DRIVE)
OUTPUT LOW 4/256 DUTY CONSTANT CURRENT WITH INPUT BUFFER DISABLED (PWM LED DRIVE)
HIGH-Z
LOW
HIGH-Z
LOW
OUTPUT LOW 252/256 DUTY CONSTANT CURRENT WITH INPUT BUFFER DISABLED (PWM LED DRIVE)
OUTPUT LOW 253/256 DUTY CONSTANT CURRENT WITH INPUT BUFFER DISABLED (PWM LED DRIVE)
0xFC
0xFD
0xFE
0xFF
HIGH-Z
LOW
HIGH-Z
LOW
OUTPUT LOW 254/256 DUTY CONSTANT CURRENT WITH INPUT BUFFER DISABLED (PWM LED DRIVE)
OUTPUT STATIC HIGH IMPEDANCE WITH INPUT BUFFER DISABLED (STATIC LED DRIVE OFF)
HIGH-Z
LOW
Figure 2. Static and PWM Constant-Current Waveforms
______________________________________________________________________________________ 11
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
The MAX6946/MAX6947 feature a Reset Run option so
Ports Configured as Inputs
Configure a port as a logic input by writing 0x01 to the
port’s output register (Table 4). Reading an input port
register returns the logic levels from the I/O ports con-
figured as a logic input (Table 7). The input port regis-
ter returns logic 0 in the appropriate bit position for a
port not configured as a logic input.
that simply taking the RST input high brings the driver
out of shutdown in addition to its normal function of
2
enabling the devices’ I C interface.
Standby Mode and Operating Current
Configuring all the ports as logic inputs or outputs (all
output registers set to value 0x00 or 0x01) or LED off
(output register set to value 0xFF) puts the MAX6946/
MAX6947 into standby mode. Put the MAX6946/
MAX6947 into standby mode for lowest supply-current
consumption.
The input port’s registers are read only. The MAX6946/
MAX6947 ignore a write to input ports register.
RST Input
The active-low RST input operates as a reset that voids
2
Setting a port as a constant-current output increases
the operating current (output register set to a value
between 0x02 and 0xFE), even if a load is not applied
to the port. The MAX6946/MAX6947 enable an internal
current mirror to provide the accurate constant-current
sink. Enabling the internal current mirror increases the
devices’ supply current. Each output contains a gated
mirror, and each mirror is only enabled when required.
In PWM mode, the current mirror is only turned on for
the output’s on-time. This means that the operating cur-
rent varies as constant-current outputs are turned on
and off through the serial interface, as well as by the
PWM intensity control.
any current I C transaction involving the MAX6946/
2
MAX6947, forcing the devices into the I C stop condi-
tion. Use the D6 bit in the configuration register to con-
figure RST to reset all the internal registers to the
power-on reset state (Tables 2 and 3). The RST input is
overvoltage tolerant to 6V.
2
The MAX6946/MAX6947 ignore all I C bus activity while
RST remains low. The MAX6946/MAX6947 use this fea-
ture to minimize supply current in power-critical applica-
tions by effectively disconnecting the MAX6946/
MAX6947 from the bus during idle periods. RST also
operates as a bus multiplexer, allowing multiple
2
MAX6946/MAX6947s to use the same I C slave address.
Drive only one MAX6946/MAX6947 RST input high at any
time to use RST as a bus multiplexer.
7.8125ms NOMINAL PWM PERIOD
NEXT PWM PERIOD
NEXT PWM PERIOD
0
32
64
96
128 160 192 224 256
OUTPUTS P0, O8 IN-PHASE PWM PERIOD
OUTPUT P1, O9 STAGGERED PWM PERIOD
OUTPUT P2 STAGGERED PWM PERIOD
OUTPUT P3 STAGGERED PWM PERIOD
OUTPUT P4 STAGGERED PWM PERIOD
OUTPUT P5 STAGGERED PWM PERIOD
OUTPUT P6 STAGGERED PWM PERIOD
OUTPUTS P0, O8 IN-PHASE PWM PERIOD
OUTPUTS P0, O8 IN-PHASE PWM PERIOD
OUTPUT P1, O9 STAGGERED PWM PERIOD
OUTPUT P1, O9 STAGGERED PWM PERIOD
OUTPUT P2 STAGGERED PWM PERIOD
OUTPUT P3 STAGGERED PWM PERIOD
OUTPUT P4 STAGGERED PWM PERIOD
OUTPUT P5 STAGGERED PWM PERIOD
OUTPUT P6 STAGGERED PWM PERIOD
OUTPUT P7 STAGGERED PWM PERIOD
OUTPUT P7 STAGGERED PWM PERIOD
Figure 3. Staggered PWM Waveform
Table 7. Input Ports Registers
REGISTER BIT
ADDRESS
DESCRIPTION
CODE (HEX)
D7
D6
D5
D4
D3
D2
D1
D0
Input ports
P7–P0
0x0E
0x0F
Port P7
0
Port P6
Port P5
Port P4
Port P3
Port P2
Port P1
Port P0
Input ports
P9 and P8
0
0
0
0
0
Port P9
Port P8
12 ______________________________________________________________________________________
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
Changing a port from static logic-low (0x00) or static
logic-high (0x01) to a constant-current value
(0x02–0xFE) in shutdown mode turns that output off
(logic-high or high impedance) like any other constant-
current outputs in shutdown. The new constant-current
output starts just like any other constant-current outputs
when exiting shutdown.
Shutdown Mode
In shutdown mode, all ports configured as constant-
current outputs (output register set to a value between
0x02 and 0xFE) are switched off, and these outputs go
high impedance as if their registers were set to value
0xFF. Ports configured as logic inputs or outputs (out-
put registers set to value 0x00 or 0x01) are unaffected
(Table 4). This means that any ports used for GPIOs
are still fully operational in shutdown mode, and port
inputs can be read and output ports can be toggled at
any time using the serial interface. Use the MAX6946/
MAX6947 for a mix of logic inputs, logic outputs, and
PWM LED drivers, and only the LED drivers turn off
automatically in shutdown.
Changing a port from a constant-current value
(0x02–0xFE) to static logic-low (0x00) or static logic-
high (0x01) in shutdown causes that output to set to the
value as a GPIO output. The new GPIO output is unaf-
fected just like any other GPIO output when exiting
shutdown.
Ramp-Up and Ramp-Down Controls
The MAX6946/MAX6947 provide controls that allow the
output currents to ramp down into shutdown (ramp-
down), and ramp up again out of shutdown (ramp-up)
(Figures 4 and 5). Ramp-down comprises a programma-
ble hold-off delay that also maintains the outputs at full
current for a time before the programmed fade-off time.
After the hold-off delay, the output currents ramp down.
Put the MAX6946/MAX6947 into shutdown mode by
clearing the run bit (bit D0) in the configuration register
(0x10) (Table 2). Exit shutdown by setting the run bit high
through the serial interface or by using the Reset Run
option (see the Reset Run Option section). Configure
and control the MAX6946/MAX6947 normally through the
serial interface in shutdown mode. All registers are
accessible in shutdown mode, and shutdown mode
does not change any register values.
ZERO TO 4s CURRENT RAMP-UP AFTER CS RUN
1/8s
1/16s
4s
1/4s 1/2s
1s
2s
FULL CURRENT/
HALF CURRENT
0
EXIT SHUTDOWN COMMAND
Figure 4. Ramp-Up Behavior
ZERO TO 8s CURRENT RAMP-DOWN
ZERO TO 4s CURRENT FADE-OFF AFTER HOLD-OFF DELAY
ZERO TO 4s HOLD-OFF DELAY BEFORE FADE-OFF
FULL CURRENT/
HALF CURRENT
0
1/4s 1/2s
1s
2s
4s 1/4s 1/2s
1s
2s
4s
1/8s
1/8s
1/16s
1/16s
Figure 5. Ramp-Down, Hold-Off, and Fade-Off Behavior
______________________________________________________________________________________ 13
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
The ramp-down register sets the hold-off and fade-off
times and allows disabling of hold-off and fade-off (zero
delay), if desired (Table 8). The ramp-up register sets
the ramp-up time and allows disabling of ramp-up (zero
delay), if desired (Table 9). The configuration register
contains three status bits that identify the condition of
the MAX6946/MAX6947, hold-off, fade-off, or ramp-up
(Table 2). The configuration register also enables or dis-
ables ramp-up. One write command to the configuration
register can put the MAX6946/MAX6947 into shutdown
(using hold-off and fade-off settings in the fade register)
and one read command to the configuration register can
determine whether the Reset Run is enabled for restart,
and whether the MAX6946/MAX6947 will use ramp-up
on restart.
PORT CURRENT = FULL
CURRENT
20mA
17.5mA
15mA
12.5mA
PORT CURRENT = HALF
10mA
7.5mA
5mA
2.5mA
0mA
FULL
7/8
6/8
5/8
4/8
3/8
2/8
1/8
ZERO
CURRENT CURRENT CURRENT CURRENT CURRENT CURRENT CURRENT
CURRENT CURRENT
FADE-UP
FADE-OFF
Figure 6. Output Fade DAC (Global Current = 0x07)
Table 8. Ramp-Down Register Format (0X11)
REGISTER BIT
DESCRIPTION
D7
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
D6
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
D5
X
X
X
X
X
X
X
X
0
D4
X
X
X
X
X
X
X
X
0
D3
X
X
X
X
X
X
X
X
0
D2
0
D1
0
D0
0
Instant going into shutdown after hold-off delay
1/16s ramp-down from full current before shutdown after hold-off delay
1/8s ramp-down from full current before shutdown after hold-off delay
1/4s ramp-down from full current before shutdown after hold-off delay
1/2s ramp-down from full current before shutdown after hold-off delay
1s ramp-down from full current before shutdown after hold-off delay
2s ramp-down from full current before shutdown after hold-off delay
4s ramp-down from full current before shutdown after hold-off delay
Zero hold-off delay before fade-off going into shutdown
1/16s hold-off delay before fade-off going into shutdown
1/8s hold-off delay before fade-off going into shutdown
1/4s hold-off delay before fade-off going into shutdown
1/2s hold-off delay before fade-off going into shutdown
1s hold-off delay before fade-off going into shutdown
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
2s hold-off delay before fade-off going into shutdown
1
1
0
4s hold-off delay before fade-off going into shutdown
1
1
1
14 ______________________________________________________________________________________
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
Table 9. Ramp-Up Register Format (0x12)
REGISTER BIT
DESCRIPTION
D7
X
D6
X
D5
X
D4
X
D3
X
D2
0
D1
0
D0
0
Instant full current coming out from shutdown
1/16s ramp-up to full current coming out from shutdown
1/8s ramp-up to full current coming out from shutdown
1/4s ramp-up to full current coming out from shutdown
1/2s ramp-up to full current coming out from shutdown
1s ramp-up to full current coming out from shutdown
2s ramp-up to full current coming out from shutdown
4s ramp-up to full current coming out from shutdown
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
0
0
0
1
1
1
1
0
1
1
0
0
1
1
1
0
1
0
1
0
1
Ramp-up and ramp-down use the PWM clock for tim-
ing. When using the external oscillator make sure the
oscillator runs until the end of the sequence. The inter-
nal oscillator always runs during a fade sequence, even
if none of the ports use PWM.
CURRENT
20mA
GLOBAL CURRENT = 0x07
GLOBAL CURRENT = 0x06
GLOBAL CURRENT = 0x05
GLOBAL CURRENT = 0x04
GLOBAL CURRENT = 0x03
GLOBAL CURRENT = 0x02
GLOBAL CURRENT = 0x01
GLOBAL CURRENT = 0x00
17.5mA
15mA
The ramp-up and ramp-down circuit operates a 3-bit
DAC. The DAC adjusts the internal current reference
used to set the constant-current outputs in a similar
manner to the global-current register (Table 5). The
MAX6946/MAX6947 scale the master current reference
so all output constant-current and PWM settings adjust
at the same ratio with respect to each other. This
means the LEDs always fade at the same rate even if
with different intensity settings.
12.5mA
10mA
7.5mA
5mA
The maximum port output current set by the global-cur-
rent register (Table 5) also sets the point during ramp-
down that the current starts falling, and the point during
ramp-up that the current stops rising. Figure 7 shows
the ramp waveforms that occur with different global-
current register settings.
2.5mA
0mA
4/8
3/8
2/8
1/8
ZERO
FULL
7/8
6/8
5/8
CURRENT CURRENT CURRENT CURRENT CURRENT
CURRENT CURRENT CURRENT CURRENT
RAMP-UP
RAMP-DOWN
Reset Run Option
The MAX6946/MAX6947 feature a Reset Run option so
that simply taking the RST input high brings the driver
out of shutdown in addition to its normal function of
Figure 7. Global Current Modifies Fade Behavior
Run option. If this timeout period elapses without the
2
2
enabling the MAX6946/MAX6947s’ I C interface. This
MAX6946/MAX6947 acknowledging an I C transaction,
provides an alternative method of bringing the driver
out of shutdown to writing to the configuration register
through the serial interface. The Reset Run timing uses
the PWM clock, either the internal nominal 32kHz oscil-
lator or a user-provided clock fed into the OSC input
(MAX6946 only).
the run bit (D0) in the configuration register sets, bring-
ing the driver out of shutdown and activating any pro-
grammed ramp-up. If RST pulses high for less than this
timeout period to trigger a Reset Run, the MAX6946/
MAX6947 ignore the pulse, and the MAX6946/MAX6947
continue to wait for a suitable trigger.
2
After enabling the Reset Run option, the MAX6946/
Cancel the Reset Run trigger by transmitting an I C
MAX6947 use the rising edge on RST, followed by no
communication to the MAX6946/MAX6947 before the
timeout period elapses. The trigger cancels when the
MAX6946/MAX6947 acknowledge the I C transaction
2
I C interface activity to the MAX6946/MAX6947 for 128
2
to 129 periods of the PWM clock to trigger the Reset
______________________________________________________________________________________ 15
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
and requires sending at least the MAX6946/MAX6947s’
Serial Interface
2
I C slave address. When using the internal oscillator,
Serial Addressing
the minimum timeout period is 127/45000 equal to
2.822ms. When using an external oscillator for the PWM
clock, the timeout period is 127/OSC. The shortest time
period allowed is 1.27ms; this number corresponds to
the maximum OSC frequency of 100kHz. When using
The MAX6946/MAX6947 operate as a slave that sends
2
and receives data through an I C-compatible, 2-wire
interface. The interface uses a serial-data line (SDA)
and a serial-clock line (SCL) to achieve bidirectional
communication between master(s) and slave(s). A
master (typically a microcontroller) initiates all data
transfers to and from the MAX6946/MAX6947 and gen-
erates the SCL clock that synchronizes the data trans-
fer (Figure 8).
2
the internal oscillator, the minimum I C clock speed
that guarantees a successful start bit and eight data
bits (9 bits total) within the minimum timeout period is
9/5.66ms equal to 1590Hz. Canceling the Reset Run
trigger clears the Reset Run bit (D1) in the configura-
tion register, disabling Reset Run. The run bit (D0) in
the configuration register remains cleared, so the driver
remains in shutdown.
The MAX6946/MAX6947 SDA line operates as both an
input and an open-drain output. A pullup resistor, typi-
cally 4.7kΩ, is required on SDA. The MAX6946/
MAX6947 SCL line operates as an input. A pullup resis-
tor, typically 4.7kΩ, is required on SCL if there are mul-
tiple masters on the 2-wire interface, or if the master in
a single-master system has an open-drain SCL output.
OSC Input
The MAX6946 can use an external clock of up to
100kHz instead of the internal 32kHz oscillator.
Connect the external clock to the OSC input and set the
OSC bit in the configuration register to enable the
MAX6946 to use the external clock (Table 2).
Each transmission consists of a START condition
(Figure 9) sent by a master, followed by the MAX6946/
MAX6947 7-bit slave address plus the R/W bit, a regis-
ter address byte, one or more data bytes, and finally a
STOP condition (Figure 9).
SDA
t
BUF
t
SU,STA
t
SU,DAT
t
HD,STA
t
LOW
t
SU,STO
t
HD,DAT
t
SCL
t
HIGH
HD,STA
t
R
t
F
START CONDITION
REPEATED START CONDITION
STOP
CONDITION
START
CONDITION
Figure 8. 2-Wire Serial Interface Timing Details
16 ______________________________________________________________________________________
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
Table 10. MAX6946/MAX6947 Slave
Addresses
SDA
SCL
MAX6947
AD0 = GND
AD0 = V
SLAVE ADDRESS
010 0000
S
P
START
STOP
010 0100
DD
CONDITION
CONDITION
MAX6946
010 0000
Start and Stop Conditions
Figure 9. Start and Stop Conditions
Both SCL and SDA remain high when the interface is
not busy. A master signals the beginning of a transmis-
sion with a START (S) condition by transitioning SDA
from high to low while SCL is high. When the master fin-
ishes communicating with the slave, it issues a STOP
(P) condition by transitioning SDA from low to high
while SCL is high. The bus is then free for another
transmission (Figure 9).
SDA
SCL
DATA LINE STABLE; CHANGE OF DATA
Bit Transfer
One data bit is transferred during each clock pulse.
The data on SDA must remain stable while SCL is high
(Figure 10).
DATA VALID
ALLOWED
Figure 10. Bit Transfer
Acknowledge
Any bytes received after the command byte are data
bytes. The first data byte goes into the internal register
of the MAX6946/MAX6947 selected by the command
byte (Figure 11). If multiple data bytes are transmitted
before a STOP condition is detected, these bytes are
generally stored in subsequent MAX6946/MAX6947
internal registers because the command byte autoin-
crements (Table 1).
CLOCK PULSE
FOR ACKNOWLEDGE
START
CONDITION
SCL
1
2
8
9
SDA BY
TRANSMITTER
SDA BY
RECEIVER
S
Message Format for Reading
Read from the MAX6946/MAX6947 using the
MAX6946/MAX6947s’ internally stored command byte
as an address pointer the same way the stored com-
mand byte is used as an address pointer for a write.
The pointer autoincrements after each data byte is read
using the same rules as for a write (Table 1). Thus, a
read is initiated by first configuring the MAX6946/
MAX6947s’ command byte by performing a write
(Figures 12 and 13). The master can now read n con-
Figure 11. Acknowledge
secutive bytes from the MAX6946/MAX6947 with the
first data byte being read from the register addressed
by the initialized command byte (Figure 14). When per-
forming read-after-write verification, remember to reset
the command byte’s address because the stored com-
mand byte address has been autoincremented after
the write (Table 1).
______________________________________________________________________________________ 17
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
COMMAND BYTE IS STORED ON RECEIPT OF
D15 D14 D13 D12 D11 D10
D9
D8
STOP CONDITION
ACKNOWLEDGE FROM MAX6946/MAX6947
S
SLAVE ADDRESS
0
A
COMMAND BYTE
A
P
R/W
ACKNOWLEDGE FROM MAX6946/MAX6947
Figure 12. Command Byte Received
ACKNOWLEDGE FROM MAX6946/MAX6947
D15 D14 D13 D12 D11 D10 D9 D8
ACKNOWLEDGE FROM MAX6946/MAX6947
D7 D6 D5 D4 D3 D2 D1 D0
HOW COMMAND BYTE AND DATA BYTE MAP INTO
MAX6946/MAX6947s' REGISTERS
ACKNOWLEDGE FROM MAX6946/MAX6947
S
SLAVE ADDRESS
0
A
COMMAND BYTE
A
DATA BYTE
A
P
1
R/W
BYTE
AUTOINCREMENT MEMORY ADDRESS
Figure 13. Command and Single Data Byte Received
ACKNOWLEDGE FROM MAX6946/MAX6947
D15 D14 D13 D12 D11 D10 D9 D8
ACKNOWLEDGE FROM MAX6946/MAX6947
D7 D6 D5 D4 D3 D2 D1 D0
HOW COMMAND BYTE AND DATA BYTE MAP INTO
MAX6946/MAX6947s' REGISTERS
ACKNOWLEDGE FROM MAX6946/MAX6947
S
SLAVE ADDRESS
0
A
COMMAND BYTE
A
DATA BYTE
A
P
N
R/W
BYTES
AUTOINCREMENT MEMORY ADDRESS
Figure 14. n Data Bytes Received
Operation with Multiple Masters
If the MAX6946/MAX6947 operates on a 2-wire inter-
face with multiple masters, a master reading the
MAX6946/MAX6947 should use a repeated start
between the write. This sets the MAX6946/MAX6947
address pointer, and the read(s) that takes the data
from the location(s) (Table 1). This is because it is pos-
sible for master 2 to take over the bus after master 1
has set up the MAX6946/MAX6947s’ address pointer,
then master 1’s delayed read can be from an unexpect-
ed location.
Applications Information
2
Port Input and I C Interface-Level
Translation from Higher or
Lower Logic Voltages
2
The MAX6946/MAX6947s’ I C interface (SDA, SCL) and
2
I C slave address select input AD0 (MAX6947 only),
PWM clock input OSC (MAX6946 only), and reset input
RST are overvoltage protected to +6V, independent of
V
DD
. The 10 I/O ports P0–P9 are overvoltage protected
to +8V independent of V . This allows the MAX6946/
DD
MAX6947 to operate from one supply voltage, such as
Command Address Autoincrementing
The command address stored in the MAX6946/
MAX6947 increments through the grouped register func-
tions after each data byte is written or read (Table 1).
2
3.3V, while driving the I C interface and/or some of the
10 I/O as inputs from a higher logic level, such as 5V.
18 ______________________________________________________________________________________
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
most of the time, and down to 3V when discharged. In
this scenario, the LED supply falls significantly below
the brownout point when the battery is at end-of-life
voltage (3V).
Hot Insertion
The RST, SCL, and AD0 inputs and SDA remain high
impedance with up to +6V asserted on them when the
MAX6946/MAX6947 power down (V
= 0V). I/O ports
DD
P0 to P9 remain high impedance with up to +8V asserted
on them when the MAX6946/MAX6947 power down. Use
the MAX6946/MAX6947 in hot-swap applications.
Figure 15 shows the typical current sink by a LITEON
LTST-C170TBKT 3.0V blue LED as the LED supply volt-
age is varied from 2.5V to 7V. The LED currents shown
are for ports programmed for 10mA and 20mA constant
current, swept over a 2.5V to 7V LED supply voltage
range. It can be seen that the LED forward voltage falls
with current, allowing the LED current to fall gracefully,
not abruptly, in brownout. In practice, the LED current
drops to 6mA to 7mA at a 3V LED supply voltage, this
is acceptable performance at end-of-life in many back-
light applications.
Differences Between
the MAX6946 and MAX6947
The MAX6946 features the OSC input, allowing the
device to use an external clock as the PWM clock
2
source. The MAX6946 features a fixed I C slave
address of 0100000. The MAX6947 features an AD0
2
input, allowing two unique I C addresses (Table 10).
The MAX6947 always uses the internal 32kHz oscillator
as the PWM clock source.
Output-Level Translation
The open-drain output architecture allows the ports to
level translate the outputs to higher or lower voltages
than the MAX6946/MAX6947 supply. Use an external
pullup resistor on any output to convert the high-imped-
ance, logic-high condition to a positive voltage level.
Connect the resistor to any voltage up to 7V. When
using a pullup on a constant-current output, select the
resistor value to sink no more than a few hundred
micramps in logic-low condition. This ensures that the
current sink output saturates close to GND. For inter-
facing CMOS inputs, a pullup resistor value of 220kΩ is
a good starting point. Use a lower resistance to
improve noise immunity in applications where power
consumption is less critical, or where a faster rise time
is needed for a given capacitive load.
Driving LEDs into Brownout
The MAX6946/MAX6947 correctly regulate the con-
stant-current outputs, provided there is a minimum volt-
age drop across the port output. This port output
voltage is the difference between the load (typically
LED) supply and the load voltage drop (LED forward
voltage). If the LED supply drops so that the minimum
port output voltage is not maintained, the driver output
stages brownout and the load current falls. The mini-
mum port voltage is approximately 0.5V at 10mA sink
current and approximately 1V at 20mA sink current.
Operating the LEDs directly from a battery supply can
cause brownouts. For example, the LED supply voltage
is a single rechargeable lithium-ion battery with a maxi-
mum terminal voltage of 4.2V on charge, 3.4V to 3.7V
V
vs. V
SUPPLY
I
vs. V
SUPPLY
LED
LED
LED
LED
3.05
3.00
2.95
2.90
2.85
2.80
2.75
2.70
2.65
2.60
2.55
2.50
20
18
16
14
12
10
8
6
4
2
0
2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 6.5 7.0
SUPPLY (V)
2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 6.5 7.0
SUPPLY (V)
V
LED
V
LED
Figure 15. LED Brownout
______________________________________________________________________________________ 19
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
In shutdown mode, the output goes high impedance
Using Stagger with Fewer Ports
The stagger option, when selected, applies to all ports
configured as constant-current outputs. The 10 ports’
PWM cycles are separated to eight evenly spaced start
positions (Figure 3). Optimize phasing when using
fewer than 10 ports as constant-current outputs by allo-
cating the ports with the most appropriate start posi-
tions. If using eight constant-current outputs, choose
P0–P7 because these all have different PWM start posi-
tions. If using four constant-current outputs, choose P0,
P2, P4, P6 or P1, P3, P5, P7 because their PWM start
positions are evenly spaced. In general, choose the
ports that spread the PWM start positions as evenly as
possible. This optimally spreads out the current
demand from the ports’ load supply.
together with any other constant-current outputs. This
output remains low during ramp-up and fade-down
sequences because the current drawn by the 220kΩ
pullup resistor is much smaller than the available output
constant current, even at the lowest fade current step.
Driving Load Currents Higher than 20mA
The MAX6946/MAX6947 can drive loads needing more
than 20mA, like high-current white LEDs, by paralleling
outputs. For example, consider a white LED that
requires 70mA. Drive this LED using the ports P0–P3
connected in parallel (shorted together). Configure
three of the ports for full current (20mA) and configure
the last port for half current (10mA) to meet the 70mA
requirement. Control the four ports simultaneously with
one write access using register 0x0B (Table 1). Note
that because the output ports are current limiting, they
do not need to switch simultaneously to ensure safe
current sharing.
Generating a Shutdown/Run Output
The MAX6946/MAX6947 can use an I/O port to auto-
matically generate a shutdown/run output. The shut-
down/run output is active low when the MAX6946/
MAX6947 are in run mode, hold-off, fade-off, or ramp-
up, and goes high automatically when the devices final-
ly enter shutdown after fade-off. Programming the port’s
output register to value 0x02 puts the output into static
constant-current mode (Table 4). Program the port’s
output current register to half current (Table 6) to mini-
mize operating current. Connect a 220kΩ pullup resis-
tor to this port.
Power-Supply Considerations
The MAX6946/MAX6947 operate with a power-supply
voltage of 2.25V to 3.6V. Bypass the power supply to
GND with a 0.1µF ceramic capacitor as close as possi-
ble to the device.
Chip Information
In run mode, the output port goes low, approaching 0V,
as the port’s static constant current saturates trying to
sink a higher current than the 220kΩ pullup resistor can
source.
PROCESS: BiCMOS
Pin Configurations (continued)
TOP VIEW
12
11
10
9
P6
13
14
RST
8
7
6
5
P5
VDD
MAX6946
MAX6947
GND
P4
SCL 15
16
SDA
+
1
2
3
4
TQFN (3mm x 3mm)
() MAX6947 ONLY
20 ______________________________________________________________________________________
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
Package Information
(The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information,
go to www.maxim-ic.com/packages.)
(NE - 1)
X e
MARKING
E
E/2
D2/2
(ND - 1)
e
X e
D/2
AAAA
C
D2
D
L
k
b
0.10 M
C A B
C
L
E2/2
L
E2
C
L
C
L
0.10
C
0.08
A
C
A2
A1
L
L
e
e
PACKAGE OUTLINE
8, 12, 16L THIN QFN, 3x3x0.8mm
1
21-0136
I
2
______________________________________________________________________________________ 21
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
Package Information (continued)
(The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information,
go to www.maxim-ic.com/packages.)
PKG
8L 3x3
12L 3x3
16L 3x3
EXPOSED PAD VARIATIONS
REF. MIN. NOM. MAX. MIN. NOM. MAX. MIN. NOM. MAX.
D2
E2
PKG.
PIN ID
JEDEC
CODES
A
b
0.70 0.75 0.80 0.70 0.75 0.80
0.25 0.30 0.35 0.20 0.25 0.30
0.70 0.75 0.80
0.20 0.25 0.30
MIN.
0.25
0.95
0.95
0.95
0.95
0.65
0.65
0.95
0.95
NOM. MAX.
MIN.
0.25
0.95
0.95
0.95
NOM. MAX.
TQ833-1
T1233-1
T1233-3
0.70
1.10
1.10
1.10
1.25
1.25
1.25
0.70
1.10
1.10
1.10
1.10
0.80
0.80
1.10
1.10
1.25
1.25
1.25
1.25
1.25
0.95
0.95
0.35 x 45°
0.35 x 45°
0.35 x 45°
0.35 x 45°
0.35 x 45°
0.225 x 45°
0.225 x 45°
0.35 x 45°
0.35 x 45°
WEEC
D
2.90 3.00 3.10 2.90 3.00 3.10 2.90 3.00 3.10
2.90 3.00 3.10 2.90 3.00 3.10 2.90 3.00 3.10
WEED-1
WEED-1
WEED-1
WEED-2
WEED-2
WEED-2
WEED-2
WEED-2
E
e
0.65 BSC.
0.50 BSC.
0.50 BSC.
T1233-4
T1633-2
1.25
1.25
0.95
0.95
1.25
1.25
L
0.35 0.55 0.75 0.45 0.55 0.65 0.30 0.40 0.50
1.10
0.80
0.80
1.10
0.95
0.65
0.65
0.95
N
ND
NE
A1
A2
k
8
12
16
T1633F-3
T1633FH-3
T1633-4
2
3
4
2
3
4
1.25
1.25
0
0.02 0.05
0
0.02 0.05
0
0.02 0.05
T1633-5
1.10
0.95
0.20 REF
0.20 REF
0.20 REF
-
-
-
-
-
-
0.25
0.25
0.25
NOTES:
1. DIMENSIONING & TOLERANCING CONFORM TO ASME Y14.5M-1994.
2. ALL DIMENSIONS ARE IN MILLIMETERS. ANGLES ARE IN DEGREES.
3. N IS THE TOTAL NUMBER OF TERMINALS.
4. THE TERMINAL #1 IDENTIFIER AND TERMINAL NUMBERING CONVENTION SHALL CONFORM TO
JESD 95-1 SPP-012. DETAILS OF TERMINAL #1 IDENTIFIER ARE OPTIONAL, BUT MUST BE LOCATED
WITHIN THE ZONE INDICATED. THE TERMINAL #1 IDENTIFIER MAY BE EITHER A MOLD OR
MARKED FEATURE.
5. DIMENSION b APPLIES TO METALLIZED TERMINAL AND IS MEASURED BETWEEN 0.20 mm AND 0.25 mm
FROM TERMINAL TIP.
6. ND AND NE REFER TO THE NUMBER OF TERMINALS ON EACH D AND E SIDE RESPECTIVELY.
7. DEPOPULATION IS POSSIBLE IN A SYMMETRICAL FASHION.
8. COPLANARITY APPLIES TO THE EXPOSED HEAT SINK SLUG AS WELL AS THE TERMINALS
9. DRAWING CONFORMS TO JEDEC MO220 REVISION C.
.
10. MARKING IS FOR PACKAGE ORIENTATION REFERENCE ONLY.
11. NUMBER OF LEADS SHOWN ARE FOR REFERENCE ONLY.
12. WARPAGE NOT TO EXCEED 0.10mm.
PACKAGE OUTLINE
8, 12, 16L THIN QFN, 3x3x0.8mm
2
21-0136
I
2
22 ______________________________________________________________________________________
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
Package Information (continued)
(The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information,
go to www.maxim-ic.com/packages.)
______________________________________________________________________________________ 23
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
Revision History
REVISION REVISION
PAGES
CHANGED
DESCRIPTION
NUMBER
DATE
2
3
10/06
1/08
—
1, 7, 11, 17, 19
1–6, 20, 23
Added MAX6946C (WLP package) to the data sheet.
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are
implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
24 ____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600
© 2008 Maxim Integrated Products
is a registered trademark of Maxim Integrated Products, Inc.
Heaney
相关型号:
![](http://pdffile.icpdf.com/pdf2/p00237/img/page/MAX6947ATE-_1391263_files/MAX6947ATE-_1391263_1.jpg)
![](http://pdffile.icpdf.com/pdf2/p00237/img/page/MAX6947ATE-_1391263_files/MAX6947ATE-_1391263_2.jpg)
MAX6946ATE+T
LED Driver, 3-Segment, BICMOS, 3 X 3 MM, 0.80 MM HEIGHT, LEAD FREE, MO-220C, TQFN-16
MAXIM
![](http://pdffile.icpdf.com/pdf2/p00237/img/page/MAX6947ATE-_1391263_files/MAX6947ATE-_1391263_1.jpg)
![](http://pdffile.icpdf.com/pdf2/p00237/img/page/MAX6947ATE-_1391263_files/MAX6947ATE-_1391263_2.jpg)
MAX6947ATE+
LED Driver, 3-Segment, BICMOS, 3 X 3 MM, 0.80 MM HEIGHT, LEAD FREE, MO-220WEED-2, TQFN-16
MAXIM
![](http://pdffile.icpdf.com/pdf2/p00265/img/page/MAX6947ATE-_1597330_files/MAX6947ATE-_1597330_1.jpg)
![](http://pdffile.icpdf.com/pdf2/p00265/img/page/MAX6947ATE-_1597330_files/MAX6947ATE-_1597330_2.jpg)
MAX6947ATE+
LED DISPLAY DRIVER, QCC16, 3 X 3 MM, 0.80 MM HEIGHT, LEAD FREE, MO-220WEED-2, TQFN-16
ROCHESTER
![](http://pdffile.icpdf.com/pdf1/p00178/img/page/MAX69_1003684_files/MAX69_1003684_1.jpg)
![](http://pdffile.icpdf.com/pdf1/p00178/img/page/MAX69_1003684_files/MAX69_1003684_2.jpg)
MAX6948B
High-Efficiency PWM LED Driver with Boost Converter and Five Constant-Current GPIO Ports
MAXIM
![](http://pdffile.icpdf.com/pdf1/p00178/img/page/MAX69_1003684_files/MAX69_1003684_1.jpg)
![](http://pdffile.icpdf.com/pdf1/p00178/img/page/MAX69_1003684_files/MAX69_1003684_2.jpg)
MAX6948BGWA+
High-Efficiency PWM LED Driver with Boost Converter and Five Constant-Current GPIO Ports
MAXIM
©2020 ICPDF网 联系我们和版权申明