Max 6964
Max 6964
Max 6964
KIT
ATION
EVALU BLE
AVA ILA
MAX6964
The MAX6964 I2C-compatible serial interfaced periph- ♦ 400kbps, 2-Wire Serial Interface, 5.5V Tolerant
eral provides microprocessors with 17 output ports. ♦ 2V to 3.6V Operation
Each output is an open-drain current-sinking output ♦ Overall 8-Bit PWM LED Intensity Control
rated at 50mA and 7V. The outputs are capable of dri- Global 16-Step Intensity Control
ving LEDs, or providing logic outputs with external Plus Individual 16-Step Intensity Controls
resistive pullup up to 7V. ♦ Two-Phase LED Blinking
Eight-bit PWM current control is also integrated. Four of ♦ High Port Output Current—Each Port 50mA (max)
the bits are global control and apply to all LED outputs ♦ RST Input Clears the Serial Interface and
to provide coarse adjustment of current from fully off to Restores Power-Up Default State
fully on with 14 intensity steps. Additionally, each output ♦ Supports Hot Insertion
has an individual 4-bit control, which further divides the ♦ Outputs are 7V-Rated Open Drain
globally set current into 16 more steps. Alternatively,
♦ Low Standby Current (1.2µA (typ), 3.3µA (max))
the current control can be configured as a single 8-bit
control that sets all outputs at once. ♦ Small 4mm x 4mm, 0.8mm High Thin QFN Package
♦ -40°C to +125°C Temperature Range
Each output has independent blink timing with two blink
phases. LEDs can be individually set to be either on or
off during either blink phase, or to ignore the blink con- Ordering Information
trol. The blink period is controlled by an external clock PIN-
(up to 1kHz) on BLINK or by a register. The BLINK PART TEMP RANGE PKG CODE
PACKAGE
input can also be used as a logic control to turn the
LEDs on and off, or as a general-purpose input (GPI). 24 Thin QFN
MAX6964ATG -40°C to +125°C 4mm x 4mm T2444-4
The MAX6964 supports hot insertion. The SDA, SCL, x 0.8mm
RST, BLINK, and the slave address input ADO remain
high impedance in power-down (V+ = 0V) with up to 6V MAX6964AEG -40°C to +125°C 24 QSOP —
asserted upon them. The output ports remain high
impedance with up to 8V asserted upon them.
Pin Configurations
The MAX6964 is controlled through a 2-wire I 2 C
serial interface, and can be configured to one of four
BLINK
TOP VIEW
O15
O14
O13
O12
O11
I2C addresses.
18 17 16 15 14 13
Applications SCL 19 12 O10
LCD Backlights Keypad Backlights
SDA 20 11 O9
LED Status Indication RGB LED Drivers
V+ 21 10 O8
O16 22
MAX6964 9 GND
AD0 24 7 O6
1 2 3 4 5 6
O0
O1
O2
O3
O4
O5
QFN
Pin Configurations continued at end of data sheet.
For pricing, delivery, and ordering information, please contact Maxim/Dallas Direct! at
1-888-629-4642, or visit Maxim’s website at www.maxim-ic.com.
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
ABSOLUTE MAXIMUM RATINGS
MAX6964
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
(Typical Operating Circuit, V+ = 2V to 3.6V, TA = TMIN to TMAX, unless otherwise noted. Typical values are at V+ = 3.3V, TA = +25°C.)
(Note 1)
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
Operating Supply Voltage V+ 2.0 3.6 V
Output Load External Supply
VEXT 0 7 V
Voltage
2 _______________________________________________________________________________________
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
ELECTRICAL CHARACTERISTICS (continued)
MAX6964
(Typical Operating Circuit, V+ = 2V to 3.6V, TA = TMIN to TMAX, unless otherwise noted. Typical values are at V+ = 3.3V, TA= + 25°C.)
(Note 1)
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
TA = +25°C 0.15 0.26
V+ = 2V, ISINK = 20mA TA = -40°C to +85°C 0.3 V
TA = TMIN to TMAX 0.32
TA = +25°C 0.13 0.23
Output Low Voltage
VOL V+ = 2.5V, ISINK = 20mA TA = -40°C to +85°C 0.26 V
O0–O16
TA = TMIN to TMAX 0.28
TA = +25°C 0.12 0.23
V+ = 3.3V, ISINK = 20mA TA = -40°C to +85°C 0.24 V
TA = TMIN to TMAX 0.26
Output Low-Voltage SDA VOLSDA ISINK = 6mA 0.4 V
PWM Clock Frequency fPWM 32 kHz
TIMING CHARACTERISTICS
(Typical Operating Circuit, V+ = 2V to 3.6V, TA = TMIN to TMAX, unless otherwise noted. Typical values are at V+ = 3.3V, TA = +25°C.)
(Note 1)
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
Serial Clock Frequency fSCL 400 kHz
Bus Free Time Between a STOP and a START
tBUF 1.3 µs
Condition
Hold Time, Repeated START Condition tHD, STA 0.6 µs
Repeated START Condition Setup Time tSU, STA 0.6 µs
STOP Condition Setup Time tSU, STO 0.6 µs
Data Hold Time tHD, DAT (Note 2) 0.9 µs
Data Setup Time tSU, DAT 180 ns
SCL Clock Low Period tLOW 1.3 µs
SCL Clock High Period tHIGH 0.7 µs
20 +
Rise Time of Both SDA and SCL Signals, Receiving tR (Notes 3, 4) 300 ns
0.1Cb
20 +
Fall Time of Both SDA and SCL Signals, Receiving tF (Notes 3, 4) 300 ns
0.1Cb
20 +
Fall Time of SDA Transmitting tF.TX (Notes 3, 5) 250 ns
0.1Cb
Pulse Width of Spike Suppressed tSP (Note 6) 50 ns
_______________________________________________________________________________________ 3
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
TIMING CHARACTERISTICS (continued)
MAX6964
(Typical Operating Circuit, V+ = 2V to 3.6V, TA = TMIN to TMAX, unless otherwise noted. Typical values are at V+ = 3.3V, TA = +25°C.)
(Note 1)
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
Capacitive Load for Each Bus Line Cb (Note 3) 400 pF
RST Pulse Width tW 1 ns
Output Data Valid tDV Figure 10 5 ns
Note 1: All parameters tested at TA = +25°C. Specifications over temperature are guaranteed by design.
Note 2: A master device must provide a hold time of at least 300ns for the SDA signal (referred to VIL of the SCL signal) to bridge
the undefined region of SCL’s falling edge.
Note 3: Guaranteed by design.
Note 4: Cb = total capacitance of one bus line in pF. tR and tF measured between 0.3 x VDD and 0.7 x VDD.
Note 5: ISINK ≤ 6mA. Cb = total capacitance of one bus line in pF. tR and tF measured between 0.3 x VDD and 0.7 x VDD.
Note 6: Input filters on the SDA and SCL inputs suppress noise spikes less than 50ns.
MAX6964 toc03
MAX6964 toc01
V+ = 3.6V 65
9 PWM ENABLED 60 60
8 55
V+ = 3.6V
STANDBY CURRENT (µA)
7 50 50
V+ = 3.6V
45
6 40 40 V+ = 2.7V
5 V+ = 2V V+ = 2.7V 35
V+ = 2.7V PWM ENABLED 30 30
4 V+ = 2V
PWM ENABLED V+ = 3.6V 25
3 PWM 20 V+ = 2V 20
V+ = 2V V+ = 2.7V
2 PWM DISABLED PWM DISABLED DISABLED 15
10 10
1 5
0 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 -40 -25 -10 5 20 35 50 65 80 95 110 125
TEMPERATURE (°C) TEMPERATURE (°C) TEMPERATURE (°C)
PORT OUTPUT LOW VOLTAGE WITH 50mA PORT OUTPUT LOW VOLTAGE WITH 20mA PWM CLOCK FREQUENCY
LOAD CURRENT vs. TEMPERATURE LOAD CURRENT vs. TEMPERATURE vs. TEMPERATURE
0.6 0.6 1.050
MAX6964 toc05
MAX6964 toc04
MAX6964 toc06
V+ = 2.7V
0.4 V+ = 2V 0.4 1.000
4 _______________________________________________________________________________________
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
MAX6964
Typical Operating Characteristics (continued)
(TA = +25°C, unless otherwise noted.)
SCOPE SHOT OF OUTPUT PORTS SCOPE SHOT OF OUTPUT PORTS SINK CURRENT vs. VOL
MAX6964 toc07 MAX6964 toc08
0.35
MAX6964 toc09
MASTER INTENSITY SET TO 14/15 MASTER INTENSITY SET TO 1/15 ONLY ONE OUTPUT LOADED
OUTPUT 1, OUTPUT 1 0.30
V+ = 2V
2V/div 2V/div
OUTPUT 1 INDIVIDUAL INTENSITY 0.25
OUTPUT 1 INDIVIDUAL INTENSITY
SET TO 1/16 SET TO 1/16
0.20
VOL (V)
V+ = 2.7V
V+ = 3.3V
0.15
OUTPUT 2, OUTPUT 2 V+ = 3.6V
2V/div 2V/div 0.10
OUTPUT 2 INDIVIDUAL INTENSITY OUTPUT 2 INDIVIDUAL INTENSITY
SET TO 14/15 SET TO 15/16 0.05
0
2ms/div 2ms/div 0 10 20 30 40 50
SINK CURRENT (mA)
Pin Description
PIN
NAME FUNCTION
QSOP QFN
1, 4–11, 13–20 1–8, 10–17, 22 O0-O16 Output Ports. Open-drain outputs rated at 7V, 50mA.
Reset Input. Active low clears the 2-wire interface and puts the device in the
2 23 RST
same condition as power-up reset.
Address Input. Sets device slave address. Connect to either GND, V+, SCL, or
3 24 AD0
SDA to give 4 logic combinations. See Table 1.
12 9 GND Ground. Do not sink more than 350mA into the GND pin.
21 18 BLINK Input Port. Configurable as blink control or general-purpose input.
22 19 SCL I2C-Compatible Serial Clock Input
23 20 SDA I2C-Compatible Serial Data I/O
24 21 V+ Positive Supply Voltage. Bypass V+ to GND with a 0.047µF ceramic capacitor.
— Pad Exposed Pad Exposed pad on package underside. Connect to GND.
_______________________________________________________________________________________ 5
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
Functional Overview BLINK input) and/or software control (the blink flip flag
MAX6964
SDA
tSU,STA tBUF
tSU,DAT tHD,STA
tLOW
tHD,DAT tSU,STO
SCL tHIGH
tHD,STA
tR tF
6 _______________________________________________________________________________________
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
User RAM Serial Interface
MAX6964
The MAX6964 includes 2 register bytes, which are
available as general-user RAM (Table 2). These bytes Serial Addressing
are reset to the value 0xFF on power-up and when the The MAX6964 operates as a slave that sends and
RST input is taken low (Table 3). receives data through an I2C-compatible 2-wire inter-
face. The interface uses a serial data line (SDA) and a
Standby Mode serial clock line (SCL) to achieve bidirectional commu-
When the serial interface is idle and the PWM intensity nication between master(s) and slave(s). A master (typ-
control is unused, the MAX6964 automatically enters ically a microcontroller) initiates all data transfers to and
standby mode. If the PWM intensity control is used, the from the MAX6964 and generates the SCL clock that
operating current is slightly higher because the internal synchronizes the data transfer (Figure 2).
PWM oscillator is running. When the serial interface is The MAX6964 SDA line operates as both an input and
active, the operating current also increases because an open-drain output. A pullup resistor, typically 4.7kΩ,
the MAX6964, like all I2C slaves, has to monitor every is required on SDA. The MAX6964 SCL line operates
transmission. only as an input. A pullup resistor, typically 4.7kΩ, is
required on SCL if there are multiple masters on the 2-
wire interface, or if the master in a single-master system
SDA has an open-drain SCL output.
SCL
Each transmission consists of a START condition
S P (Figure 3) sent by a master, followed by the MAX6964
START STOP 7-bit slave address plus R/W bit, a register address
CONDITION CONDITION
byte, 1 or more data bytes, and finally a STOP condi-
Figure 3. Start and Stop Conditions tion (Figure 3).
Start and Stop Conditions
Both SCL and SDA remain high when the interface is
SDA not busy. A master signals the beginning of a transmis-
sion with a START (S) condition by transitioning SDA
SCL
from high to low while SCL is high. When the master
has finished communicating with the slave, it issues a
DATA LINE STABLE; CHANGE OF DATA
STOP (P) condition by transitioning SDA from low to
DATA VALID ALLOWED high while SCL is high. The bus is then free for another
transmission (Figure 3).
Figure 4. Bit Transfer Bit Transfer
One data bit is transferred during each clock pulse.
CLOCK PULSE The data on SDA must remain stable while SCL is high
START
CONDITION FOR ACKNOWLEDGE (Figure 4).
SCL 1 2 8 9 Acknowledge
The acknowledge bit is a clocked 9th bit that the recipi-
SDA BY
TRANSMITTER
ent uses to handshake receipt of each byte of data
(Figure 5). Thus, each byte transferred effectively
SDA BY requires 9 bits. The master generates the 9th clock
RECEIVER S
pulse, and the recipient pulls down SDA during the
acknowledge clock pulse so the SDA line is stable low
Figure 5. Acknowledge
MSB LSB
SCL
_______________________________________________________________________________________ 7
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
Table 1. MAX6964 Address Map
MAX6964
DEVICE ADDRESS
PIN AD0
A6 A5 A4 A3 A2 A1 A0
SCL 1 1 0 0 0 0 0
SDA 1 1 0 0 1 0 0
GND 0 1 0 0 0 0 0
V+ 0 1 0 0 1 0 0
during the high period of the clock pulse. When the four possible slave addresses (Table 1), and therefore
master is transmitting to the MAX6964, the device gen- a maximum of four MAX6964 devices can be controlled
erates the acknowledge bit because the MAX6964 is independently from the same interface.
the recipient. When the MAX6964 is transmitting to the
master, the master generates the acknowledge bit Message Format for Writing the MAX6964
A write to the MAX6964 comprises the transmission of
because the master is the recipient.
the MAX6964’s slave address with the R/W bit set to
Slave Address zero, followed by at least 1 byte of information. The first
The MAX6964 has a 7-bit long slave address (Figure 6). byte of information is the command byte. The command
The eighth bit following the 7-bit slave address is the byte determines which register of the MAX6964 is to be
R/W bit. The R/W bit is low for a write command, high written to by the next byte, if received (Table 2). If a
for a read command. STOP condition is detected after the command byte is
The second (A5), third (A4), fourth (A3), sixth (A1), and received, then the MAX6964 takes no further action
last (A0) bits of the MAX6964 slave address are always beyond storing the command byte.
1, 0, 0, 0, and 0. Slave address bits A6 and A2 are Any bytes received after the command byte are data
selected by the address input AD0. AD0 can be con- bytes. The first data byte goes into the internal register of
nected to GND, V+, SDA, or SCL. The MAX6964 has the MAX6964 selected by the command byte (Figure 8).
8 _______________________________________________________________________________________
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
MAX6964
COMMAND BYTE IS STORED ON RECEIPT OF
D15 D14 D13 D12 D11 D10 D9 D8
STOP CONDITION
ACKNOWLEDGE FROM MAX6964
SCL 1 2 3 4 5 6 7 8 9
SLAVE ADDRESS COMMAND BYTE
SDA S A6 A5 A4 A3 A2 A1 A0 0 A 0 0 0 0 0 0 0 1 A MSB DATA1 LSB A MSB DATA2 LSB A P
START CONDITION R/W ACKNOWLEDGE FROM SLAVE ACKNOWLEDGE FROM SLAVE ACKNOWLEDGE FROM SLAVE STOP
CONDITION
O7–O0 DATA1 VALID
tDV
O15– O8 DATA2 VALID
tDV
If multiple data bytes are transmitted before a STOP con- Message Format for Reading
dition is detected, these bytes are generally stored in The MAX6964 is read using the MAX6964’s internally
subsequent MAX6964 internal registers because the stored command byte as an address pointer the same
command byte address autoincrements (Table 2). A way the stored command byte is used as an address
diagram of a write to the output ports registers (blink pointer for a write. The pointer autoincrements after
phase 0 registers or blink phase 1 registers) is given in each data byte is read using the same rules as for a
Figure 10. write (Table 2). Thus, a read is initiated by first configur-
_______________________________________________________________________________________ 9
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
ing the MAX6964’s command byte by performing a BLINK input) and software control (the blink flip flag B
MAX6964
write (Figure 7). The master can now read n consecu- in the configuration register) (Table 4).
tive bytes from the MAX6964 with the first data byte The blink function can be used for LED effects by pro-
being read from the register addressed by the initial- gramming different display patterns in the two sets of
ized command byte. When performing read-after-write output port registers, and using the software or hard-
verification, remember to reset the command byte’s ware controls to flip between the patterns.
address because the stored command byte address
has been autoincremented after the write (Table 2). If the blink phase 1 registers are written with 0xFF, then
the BLINK input can be used as a hardware disable to,
Operation with Multiple Masters for example, instantly turn off an LED pattern pro-
If the MAX6964 is operated on a 2-wire interface with grammed into the blink phase 0 registers. This tech-
multiple masters, a master reading the MAX6964 should nique can be further extended by driving the BLINK
use a repeated start between the write, which sets the input with a PWM signal to modulate the LED current to
MAX6964’s address pointer, and the read(s) that takes provide fading effects.
the data from the location(s) (Table 2). This is because it The blink mode is enabled by setting the blink enable
is possible for master 2 to take over the bus after master flag E in the configuration register (Table 4). When blink
1 has set up the MAX6964’s address pointer but before mode is enabled, the state of the blink flip flag and
master 1 has read the data. If master 2 subsequently BLINK input are EXORed to set the phase, and the out-
changes the MAX6964’s address pointer, then master puts are set by either the blink phase 0 registers or the
1’s delayed read can be from an unexpected location. blink phase 1 registers (Figure 11, Table 5).
Command Address Autoincrementing The blink mode is disabled by clearing the blink enable
The command address stored in the MAX6964 circu- flag E in the configuration register (Table 4). When blink
lates around grouped register functions after each data mode is disabled, the state of the blink flip flag is
byte is written or read (Table 2). ignored, and the blink phase 0 registers alone control
Device Reset the outputs.
The reset input RST is an active-low input. When taken The logic status of BLINK is made available as the read-
low, RST clears any transaction to or from the MAX6964 only blink status flag blink in the configuration register
on the serial interface and configures the internal regis- (Table 4). This flag allows BLINK to be used as an extra
ters to the same state as a power-up reset (Table 3). general-purpose input (GPI) in applications not using the
The MAX6964 then waits for a START condition on the blink function. When BLINK is going to be used as a GPI,
serial interface. blink mode should be disabled by clearing the blink
enable flag E in the configuration register (Table 4).
Detailed Description
Blink Phase Registers
Initial Power-Up When the blink function is disabled, the two blink phase
On power-up, and whenever the RST input is pulled 0 registers set the logic levels of the 16 outputs (O0
low, all control registers are reset and the MAX6964 through O15) (Table 6). A duplicate pair of registers
enters standby mode (Table 3). Power-up status makes called the blink phase 1 registers are also used if the
all outputs logic high (high impedance if external pullup blink function is enabled (Table 7). A logic high sets the
resistors are not fitted) and disables both the PWM appropriate output high impedance, while a logic low
oscillator and blink functionality. The RST input can be makes the port go low.
used as a hardware shutdown input, which effectively
turns off any LED (or other) loads and puts the device Reading a blink phase register reads the value stored
into its lowest power condition. in the register, not the actual port condition. The port
output itself may or may not be at a valid logic level,
Configuration Register depending on the external load connected.
The configuration register is used to configure the PWM The 17th output, O16, is controlled through 2 bits in the
intensity mode and blink behavior, operate the O16 out- configuration register, which provide the same static or
put, and read back the BLINK input logic level (Table 4). blink control as the other 16 output ports.
Blink Mode
In blink mode, the outputs can be flipped between
using either the blink phase 0 registers or the blink
phase 1 registers. Flip control is both hardware (the
10 ______________________________________________________________________________________
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
Table 3. Power-Up Configuration
MAX6964
ADDRESS REGISTER DATA
REGISTER FUNCTION POWER-UP CONDITION CODE
(hex)
D7 D6 D5 D4 D3 D2 D1 D0
Blink phase 0 outputs O7–O0 High-impedance outputs 0x02 1 1 1 1 1 1 1 1
Blink phase 0 outputs O15–O8 High-impedance outputs 0x03 1 1 1 1 1 1 1 1
User RAM0 0xFF 0x06 1 1 1 1 1 1 1 1
User RAM1 0xFF 0x07 1 1 1 1 1 1 1 1
Blink phase 1 outputs O7–O0 High-impedance outputs 0x0A 1 1 1 1 1 1 1 1
Blink phase 1 outputs O15–O8 High-impedance outputs 0x0B 1 1 1 1 1 1 1 1
Master and global/O16 PWM oscillator is disabled;
0x0E 0 0 0 0 1 1 1 1
intensity O16 is static logic output
R/W
BLINK FLIP
INTENSITY
GLOBAL
OUTPUT
ENABLE
STATUS
BLINK
BLINK
O16
CONFIGURATION
0
______________________________________________________________________________________ 11
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
Table 4. Configuration Register (continued)
MAX6964
R/W
BLINK FLIP
INTENSITY
GLOBAL
OUTPUT
ENABLE
STATUS
BLINK
BLINK
O16
CONFIGURATION
0
Write device configuration 0 X X
BLINK O1 O0 G B E
Read back device configuration 1 0 0
Disable global intensity control—intensity
is set by registers 0x10–0x17 for ports O0
— X X X X X 0 X X
through O15 when configured as outputs,
and by D3–D0 of register 0x0E for output
X = Don’t care.
12 ______________________________________________________________________________________
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
Table 6. Blink Phase 0 Registers
MAX6964
ADDRESS REGISTER DATA
REGISTER R/W CODE
(hex)
D7 D6 D5 D4 D3 D2 D1 D0
Write outputs O7–O0 phase 0 0
0x02 OP7 OP6 OP5 OP4 OP3 OP2 OP1 OP0
Read back outputs O7–O0 phase 0 1
Write outputs O15–O8 phase 0 0
0x03 OP15 OP14 OP13 OP12 OP11 OP10 OP9 OP8
Read back outputs O15–O8 phase 0 1
Set the master and global intensity register 0x0E to any value from 0x10 to 0xFF.
Clear global intensity G bit to zero in the configuration register to disable global
A mix of static and PWM outputs, with PWM
intensity control.
outputs using different PWM settings
For the static outputs, set the output intensity value to 0xF.
For the PWM outputs, set the output intensity value in the range 0x0 to 0xE.
A mix of static and PWM outputs, with PWM As above. Global intensity control cannot be used with a mix of static and PWM
outputs all using the same PWM setting outputs, so write the individual intensity registers with the same PWM value.
Set the master and global intensity register 0x0E to any value from 0x10 to 0xFF.
Set global intensity G bit to 1 in the configuration register to enable global intensity
All outputs PWM using the same PWM
control.
setting
The master and global intensity register 0x0E is the only intensity register used.
The output intensity registers 0x10 through 0x17 are don't care.
______________________________________________________________________________________ 13
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
PWM Intensity Control master intensity. The individual controls provide 16
MAX6964
The MAX6964 includes an internal oscillator, nominally intensity settings from 1/16 through 16/16 (Table 12).
32kHz, to generate PWM timing for LED intensity control Figures 16, 17, and 18 show examples of individual
or other applications such as PWM trim DACs. PWM can intensity control settings. The highest value an individ-
be disabled entirely for all the outputs. In this case, all ual or global setting can be set to is 16/16. This setting
outputs are static and the MAX6964 operating current is forces the output to ignore the master control, and fol-
lowest because the internal PWM oscillator is turned off. low the logic level set by the appropriate blink phase
The MAX6964 can be configured to provide any combi- register bit. The output becomes a glitch-free static out-
nation of PWM outputs and glitch-free logic outputs. put with no PWM.
Each PWM output has an individual 4-bit intensity con-
trol (Table 12). When all outputs are to be used with the Using PWM Intensity Controls with Blink Disabled
same PWM setting, the outputs can be controlled When blink is disabled (Table 5), the blink phase 0 regis-
together instead using the global intensity control ters specify each output’s logic level during the PWM on-
(Table 11). Table 8 shows how to set up the MAX6964 time (Table 6). The effect of setting an output’s blink
to suit a particular application. phase 0 register bit to zero or 1 is shown in Table 9. With
its output bit set to zero, an LED can be controlled with 16
PWM Timing intensity settings from 1/16th duty through fully on, but
The PWM control uses a 240-step PWM period, divided cannot be turned fully off using the PWM intensity control.
into 15 master intensity timeslots. Each master intensity With its output bit set to 1, an LED can be controlled with
timeslot is divided further into 16 PWM cycles (Figure 12). 16 intensity settings from fully off through 15/16th duty.
The master intensity operates as a gate, allowing the indi- Using PWM Intensity Controls with Blink Enabled
vidual output settings to be enabled from 1 to 15 timeslots When blink is enabled (Table 5), the blink phase 0 regis-
per PWM period (Figures 13, 14, and 15) (Table 11). ters and blink phase 1 registers specify each output’s
Each output’s individual 4-bit intensity control only logic level during the PWM on-time during the respective
operates during the number of timeslots gated by the blink phases (Tables 6 and 7). The effect of setting an
output’s blink phase x register bit to 0 or 1 is shown in
Table 10. LEDs can be flipped between either directly on
BLINK ENABLE FLAG E and off, or between a variety of high/low PWM intensities.
BLINK FLIP FLAG B Global/O16 Intensity Control
The 4 bits used for output O16’s PWM individual inten-
sity setting also double as the global intensity control
(Table 11). Global intensity simplifies the PWM settings
BLINK PHASE when the application requires them all to be the same,
BLINK INPUT REGISTERS
such as for backlight applications, by replacing the 17
individual settings with one setting. Global intensity is
Figure 11. BLINK Logic
14 15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 2
15 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 2
14 ______________________________________________________________________________________
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
enabled with the global intensity flag G in the configu- up to 8V asserted on them. The MAX6964 can therefore
MAX6964
ration register (Table 4). When global PWM control is be used in hot-swap applications.
used, the 4 bits of master intensity and 4 bits of global
intensity effectively combine to provide an 8-bit, 240- Output Level Translation
step intensity control applying to all outputs. The open-drain output architecture allows the ports to
level translate the outputs to higher or lower voltages
It is not possible to apply global PWM control to a sub- than the MAX6964 supply. An external pullup resistor
set of the ports, and use the others as logic outputs. To can be used on any output to convert the high-imped-
mix static logic outputs and PWM outputs, individual ance logic-high condition to a positive voltage level.
PWM control must be selected (Table 8). The resistor can be connected to any voltage up to 7V.
Applications Information For interfacing CMOS inputs, a pullup resistor value of
220kΩ is a good starting point. Use a lower resistance
Hot Insertion to improve noise immunity, in applications where power
The RST input, BLINK input, and serial interface SDA, consumption is less critical, or where a faster rise time
SCL, AD0 remain high impedance with up to 6V assert- is needed for a given capacitive load.
ed on them when the MAX6964 is powered down (V+ =
0V). Ouptut ports O0–O16 remain high impedance with Driving LED Loads
When driving LEDs, a resistor in series with the LED
must be used to limit the LED current to no more than
14 15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 2 50mA. Choose the resistor value according to the fol-
.
lowing formula:
RLED = (VSUPPLY - VLED - VOL) / ILED
Figure 13. Master Set to 1/15
where:
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
______________________________________________________________________________________ 15
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
For example, to operate a 2.2V red LED at 14mA from a
MAX6964
2V TO 3.6V
5V supply, RLED = (5 - 2.2 - 0.25) / 0.014 = 182Ω.
5V
Driving Load Currents Higher than 50mA 0.047µF
The MAX6964 can be used to drive loads drawing
more than 50mA, like relays and high-current white V+ O0
LEDs, by paralleling outputs. Use at least one output µC
O1
per 50mA of load current; for example, a 6V 330mW SDA SDA O2 MMTBT4148
relay draws 55mA and needs two paralleled outputs to O3
SCL SCL
drive it. Ensure that the paralleled outputs chosen are O4
I/O BLINK
controlled by the same blink phase register, i.e., select O5
outputs from the O0 through O7 range, or the O8 I/O RST O6
through O15 range. This way, the paralleled outputs MAX6964 O7
are turned on and off together. Do not use output O16 O8
as part of a load-sharing design. O16 cannot be AD0 O9
switched at the same time as any of the other outputs O10
because it is controlled by a different register. O11
The MAX6964 must be protected from the negative O12
voltage transient generated when switching off induc- O13
tive loads, such as relays, by connecting a reverse- O14
biased diode across the inductive load (Figure 19). The GND O15
peak current through the diode is the inductive load’s
operating current.
Figure 19. Diode-Protected Switching Inductive Load
16 ______________________________________________________________________________________
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
Table 10. PWM Intensity Settings (Blink Enabled)
MAX6964
EXAMPLES OF LED BLINK BEHAVIOR
PWM DUTY CYCLE PWM DUTY CYCLE (LED IS ON WHEN OUTPUT IS LOW)
OUTPUT OUTPUT BLINK OUTPUT BLINK
(OR PHASE X PHASE X
GLOBAL) REGISTER BIT = 0 REGISTER = 1 BLINK PHASE 0 BLINK PHASE 0
INTENSITY REGISTER BIT = 0 REGISTER BIT = 1
SETTING BLINK PHASE 1 BLINK PHASE 1
LOW HIGH LOW HIGH REGISTER BIT = 1 REGISTER BIT = 0
TIME TIME TIME TIME
0x0 1/16 15/16 15/16 1/16
0x1 2/16 14/16 14/16 2/16
0x2 3/16 13/16 13/16 3/16
Phase 0: LED on at low intensity Phase 0: LED on at high intensity
0x3 4/16 12/16 12/16 4/16
Phase 1: LED on at high intensity Phase 1: LED on at low intensity
0x4 5/16 11/16 11/16 5/16
0x5 6/16 10/16 10/16 6/16
0x6 7/16 9/16 9/16 7/16
0x7 8/16 8/16 8/16 8/16 Output is half intensity during both blink phases
0x8 9/16 7/16 7/16 9/16
0x9 10/16 6/16 6/16 10/16
0xA 11/16 5/16 5/16 11/16
Phase 0: LED on at high intensity Phase 0: LED on at low intensity
0xB 12/16 4/16 4/16 12/16
Phase 1: LED on at low intensity Phase 1: LED on at high intensity
0xC 13/16 3/16 3/16 13/16
0xD 14/16 2/16 2/16 14/16
0xE 15/16 1/16 1/16 15/16
Static high Static high Phase 0: LED on continuously Phase 0: LED off continuously
0xF Static low Static low
impedance impedance Phase 1: LED off continuously Phase 1: LED on continuously
Power-Supply Considerations
The MAX6964 operates with a power-supply voltage of
2V to 3.6V. Bypass the power supply to GND with at
least 0.047µF as close to the device as possible. For
the QFN version, connect the underside exposed pad
to GND.
______________________________________________________________________________________ 17
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
Table 11. Master, O16 Intensity Register
MAX6964
18 ______________________________________________________________________________________
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
Table 12. Output Intensity Registers
MAX6964
ADDRESS REGISTER DATA
REGISTER CODE
R/W (hex)
D7 D6 D5 D4 D3 D2 D1 D0
MSB LSB MSB LSB
OUTPUTS O1, O0 INTENSITY
OUTPUT O1 INTENSITY OUTPUT O0 INTENSITY
Write output O1, O0 intensity 0
O1I3 O1I2 O1I1 O1I0 O0I3 O0I2 O0I1 O0I0
Read back output O1, O0 intensity 1
Output O1 intensity duty cycle is 1/16 — 0 0 0 0 — — — —
Output O1 intensity duty cycle is 2/16 — 0 0 0 1 — — — —
Output O1 intensity duty cycle is 3/16 — 0 0 1 0 — — — —
— — — — — — — — — —
Output O1 intensity duty cycle is 14/16 — 1 1 0 1 — — — —
Output O1 intensity duty cycle is 15/16 — 1 1 1 0 — — — —
Output O1 intensity duty cycle is 16/16 0X10
— 1 1 1 1 — — — —
(static logic level, no PWM)
______________________________________________________________________________________ 19
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
Table 12. Output Intensity Registers (continued)
MAX6964
20 ______________________________________________________________________________________
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
Typical Application Circuit
MAX6964
7V
3.3V
0.047µF
V+ O0
µC
O1
SDA SDA O2
SCL SCL O3
O4
I/O BLINK
O5
I/O RST O6
O7
MAX6964 O8
AD0 O9
O10
O11
O12 RELAY
O13
5V 3.3V 6V RELAY
O14
O15
GND O16 RELAY
OUTPUT
OUTPUT
RST 2 23 SDA
ADO 3 22 SCL
O0 4 21 BLINK
O1 5 MAX6964AEG 20 O15
O2 6 19 O14
O3 7 18 O13
O4 8 17 O12
O5 9 16 O11
O6 10 15 O10
O7 11 14 O9
GND 12 13 O8
QSOP
______________________________________________________________________________________ 21
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
Package Information
MAX6964
(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.)
QSOP.EPS
PACKAGE OUTLINE, QSOP .150", .025" LEAD PITCH
1
21-0055 F 1
22 ______________________________________________________________________________________
17-Output LED Driver/GPO with
Intensity Control and Hot-Insertion Protection
Package Information (continued)
MAX6964
(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.)
PACKAGE OUTLINE,
12, 16, 20, 24, 28L THIN QFN, 4x4x0.8mm
2
21-0139 E 2
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.
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 ____________________ 23
© 2005 Maxim Integrated Products Printed USA is a registered trademark of Maxim Integrated Products, Inc.