Detailed Description
The MAX6946/MAX6947 general-purpose input/output
(GPIO) peripherals provide 10 I/O ports, P0 to P9, con-
trolled through an I
2
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.
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.
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.
The MAX6946 features a fixed I
2
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.
The MAX6947 features an AD0 input that uses two-level
logic to select from two I
2
C slave addresses. The
MAX6947 always uses the internal PWM clock.
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.
MAX6946/MAX6947
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
_______________________________________________________________________________________ 7
Table 1. Register Address Map
DESCRIPTION
ADDRESS
CODE
(HEX)
AUTO-
INCREMENT
ADDRESS
Port P0 output level or PWM 0x00 0x01
Port P1 output level or PWM 0x01 0x02
Port P2 output level or PWM 0x02 0x03
Port P3 output level or PWM 0x03 0x04
Port P4 output level or PWM 0x04 0x05
Port P5 output level or PWM 0x05 0x06
Port P6 output level or PWM 0x06 0x07
Port P7 output level or PWM 0x07 0x08
Port P8 output level or PWM 0x08 0x09
Port P9 output level or PWM 0x09 0x10
Write ports P0–P9 with same
output level or PWM
Read port P0 output level or PWM
0x0A 0x10
Write ports P0–P3 with same
output level or PWM
Read port P0 output level or PWM
0x0B 0x10
Write ports P4–P7 with same
output level or PWM
Read port P4 output level or PWM
0x0C 0x10
Write ports P8 or P9 with same
output level or PWM
Read port P8 output level or PWM
0x0D 0x10
Read ports P7–P0 inputs 0x0E 0x0F
Read p or ts P 9 and P 8 i np uts 0x0F 0x0E
Configuration 0x10 0x11
Ramp-down 0x11 0x12
Ramp-up 0x12 0x13
Output current ISET70 0x13 0x14
Output current ISET98 0x14 0x15
Global current 0x15 0x10
Factory reserved; do not write to
this register
0x7D
MAX6946/MAX6947
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.
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
8 _______________________________________________________________________________________
Table 2. Configuration Register (0x10)
REGISTER BIT DESCRIPTION
VALUE
FUNCTION
0 Internal oscillator enabled as PWM clock source
D7 OSC enable*
1 External oscillator input enabled as PWM clock source
0 RST does not change register data
D6 RSTPOR options
1 RST resets registers to POR (power-on reset) state
0 PWM outputs are in phase
D5 PWM stagger
1 PWM outputs stagger phase
0 Device not in hold-off
D4 Hold-off status**
1 Device in hold-off
0 Device not in fade-off
D3 Fade-off status**
1 Device in fade-off
0 Device not in ramp-up
D2 Ramp-up status**
1 Device in ramp-up
0 Reset Run disabled
D1 RST RUN enable
1 Reset Run enabled
0 Shutdown mode
D0 RUN enable
1 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
DESCRIPTION POWER-UP CONDITION
ADDRESS
CODE (HEX)
D7 D6 D5 D4 D3 D2 D1
D0
Port P0–P9 output level
or PWM
Port 0–9 high impedance
0x00–0x09 11111
1
1
1
Configuration
S hutd ow n m od e, Reset Run d i sab l ed
0x10
0/1* 0000
0
0
0
Ramp-down/hold-off Fade/hold-off disabled 0x11
00000
0
0
0
Ramp-up Disabled 0x12
00000
0
0
0
Output current ISET70
I
PEAK
= 10mA for ports P7–P0 0x13
00000
0
0
0
Output current ISET98
I
PEAK
= 10mA for ports P9, P8 0x14
00000
0
0
0
Global current Full current 0x15
00000
1
1
1
*Value is 0 for MAX6947 and 1 for MAX6946 bit.
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
Phasing section). The I/O ports are high impedance
without V
DD
applied and remain high impedance upon
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.
MAX6946/MAX6947
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
_______________________________________________________________________________________ 9
8-BIT LATCH
OUTPUT PORT
REGISTER
PWM
GENERATOR
1-BIT LATCH
OUTPUT CURRENT
REGISTER
4-BIT DAC
3-BIT LATCH
GLOBAL CURRENT
REGISTER
READ I/O
PORT COMMAND
TO/FROM
SERIAL
INTERFACE
MSB
ENABLE
AB
N
I/O PORT
ENABLE = 0x00
SET
CURRENT
POSITION A: 0x00–0x01
POSITION B: 0x02–0xFF
CLOSE SWITCH: 0x02–0xFE
Figure 1. Simplified Schematic of I/O Ports
Table 4. Individual Port Configuration Options (Port Output Registers 0x00–0x09)
PORT TYPE
OUTPUT
REGISTER
CODE
RUN MODE (CONFIGURATION
REGISTER BIT D0 = 1)
SHUTDOWN
(CONFIGURATION REGISTER
BIT D0 = 0)
APPLICATION NOTES
Low-logic
output
0x00 Logic-low output, not constant current
High-logic
output
Logic-high output with external pullup resistor;
otherwise, high impedance
Logic input
0x01
CMOS logic input
Lowest supply current,
unaffected by shutdown
Constant-
current static
sink output
0x02
Static constant-current sink
output
Full constant-current drive
with no PWM
Constant-
current PWM
output
0x03–0xFE
0x03 = 3/256 PWM duty cycle
0xFE = 254/256 PWM duty cycle
High impedance
Adjustable constant current
LED off 0xFF
Logic-high output with external pullup resistor; otherwise,
high impedance
LED off

MAX6946ATE+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
LED Lighting Drivers 10-Port Constant Current LED Driver
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet