MAX6967 MAXIM [Maxim Integrated Products], MAX6967 Datasheet - Page 14

no-image

MAX6967

Manufacturer Part Number
MAX6967
Description
10-Port Constant-Current LED Drivers and I/O Expanders with PWM Intensity Control
Manufacturer
MAXIM [Maxim Integrated Products]
Datasheet
The stagger bit is ideally set or cleared when the
MAX6966/MAX6967 are in shutdown. If not, there may be
a perceived transient flicker in any PWM-controlled LEDs
because the fundamental PWM timing is being changed.
The configuration register is used to select PWM phas-
ing between outputs, test fade status, enable hardware
startup from shutdown, and select shutdown or run
mode (Table 4).
The 10 I/O ports P0 through P9 can be configured to
any combination of logic inputs, logic outputs, and con-
stant-current outputs. Configure any port as a logic
input by setting its output register to 0x01, which sets
the port output high impedance (Table 6).
Reading an input port register returns the logic levels at
the I/O port pins for ports that have been configured as a
logic input (Table 5). A port is configured as a logic input
by writing 0x01 to the port’s output register (Table 5). An
input ports register returns logic 0 in the appropriate bit
position for a port not configured as a logic input.
The input ports registers are read only. A write to an
input ports register is ignored.
10-Port Constant-Current LED Drivers and I/O
Expanders with PWM Intensity Control
Table 5. Input Ports Register
14
Read input ports P7–P0
Read input ports P9–P8
______________________________________________________________________________________
REGISTER
GPIO Port Direction Configuration
R/W
1
1
Configuration Register
Input Ports Registers
ADDRESS
CODE
(HEX)
0x0E
0x0F
Port P7
D7
0
Port P6
D6
0
The MAX6966/MAX6967 use one 8-bit register to control
each output port (Table 6). Each port may be configured
as a logic input, open-drain logic output, or constant-cur-
rent sink with programmable current and PWM duty
cycle. Ports withstand 7V independent of the MAX6966’s
or MAX6967’s supply voltage, whether used as logic
inputs, logic outputs, or constant-current sinks.
Ports configured as constant-current outputs sink a con-
stant current set by the output current registers (Table 7)
and the global current registers (Table 8). This current
may be PWM with a duty cycle ranging from 3/256 to
254/256 to reduce the average current, or remain static.
The 10 registers 0x00 through 0x09 control an I/O port
each (Table 6). Five pseudo-register addresses, 0x0B
through 0x0F, allow groups of outputs to be set to the
same value with a single command by writing the same
data to multiple output registers.
PWM timing for LED intensity control is generated using
either the internal 32kHz oscillator, or an external clock
on DOUT/OSC. The PWM clock source is selected by
configuration register bit D7 (Table 4). The MAX6966
powers up configured to use the internal 32kHz oscilla-
tor by default. The MAX6967 powers up configured to
use the external clock source by default.
Port P5
D5
0
REGISTER DATA
Port P4
D4
0
Port P3
D3
0
PWM Intensity Control
Output Registers and
Port P2
D2
0
Port P1
Port P9
D1
Port P0
Port P8
D0

Related parts for MAX6967