User RAM
The MAX6965 includes a register byte, which is avail-
able as general-user RAM (Table 2). This byte is reset
to the value 0xFF on power-up and when the RST input
is taken low (Table 3).
Standby Mode
When the serial interface is idle and the PWM intensity
control is unused, the MAX6965 automatically enters
standby mode. If the PWM intensity control is used, the
operating current is slightly higher because the internal
PWM oscillator is running. When the serial interface is
active, the operating current also increases because
the MAX6965, like all I
2
C slaves, has to monitor every
transmission.
Serial Interface
Serial Addressing
The MAX6965 operates as a slave that sends and
receives data through an I
2
C-compatible 2-wire inter-
face. The interface uses a serial data line (SDA) and a
serial clock line (SCL) to achieve bidirectional commu-
nication between master(s) and slave(s). A master (typ-
ically a microcontroller) initiates all data transfers to and
from the MAX6965 and generates the SCL clock that
synchronizes the data transfer (Figure 2).
The MAX6965 SDA line operates as both an input and
an open-drain output. A pullup resistor, typically 4.7k,
is required on SDA. The MAX6965 SCL line operates
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
has an open-drain SCL output.
Each transmission consists of a START condition
(Figure 3) sent by a master, followed by the MAX6965
7-bit slave address plus R/W bit, a register address
byte, one or more data bytes, and finally a STOP condi-
tion (Figure 3).
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
has finished 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 3).
Bit Transfer
One data bit is transferred during each clock pulse.
The data on SDA must remain stable while SCL is high
(Figure 4).
Acknowledge
The acknowledge bit is a clocked 9th bit that the recipi-
ent uses to handshake receipt of each byte of data
(Figure 5). Thus, each byte transferred effectively
requires 9 bits. The master generates the 9th clock
pulse, and the recipient pulls down SDA during the
acknowledge clock pulse so the SDA line is stable low
MAX6965
9-Output LED Driver with Intensity Control
and Hot-Insertion Protection
_______________________________________________________________________________________ 7
Figure 3. Start and Stop Conditions
SDA
SCL
START
CONDITION
STOP
CONDITION
SP
Figure 4. Bit Transfer
SDA
SCL
DATA LINE STABLE;
DATA VALID
CHANGE OF DATA
ALLOWED
Figure 5. Acknowledge
SCL
SDA BY
TRANSMITTER
CLOCK PULSE
FOR ACKNOWLEDGE
START
CONDITION
SDA BY
RECEIVER
12 89
S
Figure 6. Slave Address
SDA
SCL
1
MSB
LSB
ACK00A6 0 0A2 R/W
MAX6965
during the high period of the clock pulse. When the
master is transmitting to the MAX6965, the device gen-
erates the acknowledge bit because the MAX6965 is
the recipient. When the MAX6965 is transmitting to the
master, the master generates the acknowledge bit
because the master is the recipient.
Slave Address
The MAX6965 has a 7-bit long slave address (Figure 6).
The eighth bit following the 7-bit slave address is the
R/W bit. The R/W bit is low for a write command, high
for a read command.
The second (A5), third (A4), fourth (A3), sixth (A1), and
last (A0) bits of the MAX6965 slave address are always
1, 0, 0, 0, and 0. Slave address bits A6 and A2 are
selected by the address input AD0. AD0 can be con-
nected to GND, V+, SDA, or SCL. The MAX6965 has
four possible slave addresses (Table 1), and therefore
a maximum of four MAX6965 devices can be controlled
independently from the same interface.
Message Format for Writing the MAX6965
A write to the MAX6965 comprises the transmission of
the MAX6965’s slave address with the R/W bit set to
zero, followed by at least 1 byte of information. The first
byte of information is the command byte. The command
byte determines which register of the MAX6965 is to be
written to by the next byte, if received (Table 2). If a
STOP condition is detected after the command byte is
received, then the MAX6965 takes no further action
beyond storing the command byte.
Any bytes received after the command byte are data
bytes. The first data byte goes into the internal register of
the MAX6965 selected by the command byte (Figure 8).
If multiple data bytes are transmitted before a STOP con-
dition is detected, these bytes are generally stored in
subsequent MAX6965 internal registers because the
command byte address autoincrements (Table 2). A
diagram of a write to the output ports registers (blink
phase 0 register or blink phase 1 register) is given in
Figure 10.
9-Output LED Driver with Intensity Control
and Hot-Insertion Protection
8 _______________________________________________________________________________________
Table 1. MAX6965 I
2
C Slave Address Map
DEVICE ADDRESS
PIN AD0
A6 A5 A4 A3 A2 A1 A0
SCL1100000
SDA1100100
GND0100000
V+0100100
Table 2. Register Address Map
REGISTER
ADDRESS CODE
(hex)
AUTOINCREMENT
ADDRESS
Blink phase 0 outputs 0x01 0x01 (no change)
User RAM 0x03 0x03 (no change)
Blink phase 1 outputs 0x09 0x09 (no change)
Master, O8 intensity 0x0E 0x0E (no change)
Configuration 0x0F 0x0F (no change)
Outputs intensity O1, O0 0x10 0x11
Outputs intensity O3, O2 0x11 0x12
Outputs intensity O5, O4 0x12 0x13
Outputs intensity O7, O6 0x13 0x10
Message Format for Reading
The MAX6965 is read using the MAX6965’s internally
stored command byte as an address pointer the same
way the stored command 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 2). Thus, a read is initiated by first configur-
ing the MAX6965’s command byte by performing a
write (Figure 7). The master can now read n consecu-
tive bytes from the MAX6965 with the first data byte
being read from the register addressed by the initial-
ized command byte. When performing read-after-write
verification, remember to reset the command byte’s
address because the stored command byte address
has been autoincremented after the write (Table 2).
MAX6965
9-Output LED Driver with Intensity Control
and Hot-Insertion Protection
_______________________________________________________________________________________ 9
Figure 8. Command and Single Data Byte Received
SAAAP0SLAVE ADDRESS COMMAND BYTE DATA BYTE
1
BYTE
AUTOINCREMENT MEMORY ADDRESS
D15 D14 D13 D12 D11 D10 D9 D8 D1 D0D3 D2D5 D4D7 D6
ACKNOWLEDGE FROM MAX6965 ACKNOWLEDGE FROM MAX6965
ACKNOWLEDGE FROM MAX6965
HOW COMMAND BYTE AND DATA BYTE MAP INTO
MAX6965's REGISTERS
R/W
Figure 9. n Data Bytes Received
SAAAP0SLAVE ADDRESS COMMAND BYTE DATA BYTE
N
BYTES
D15 D14 D13 D12 D11 D10 D9 D8 D1 D0D3 D2D5 D4D7 D6
ACKNOWLEDGE FROM MAX6965 ACKNOWLEDGE FROM MAX6965
ACKNOWLEDGE FROM MAX6965
HOW COMMAND BYTE AND DATA BYTE MAP INTO
MAX6965's REGISTERS
R/W
AUTOINCREMENT MEMORY ADDRESS
Figure 7. Command Byte Received
SAA
P
0SLAVE ADDRESS COMMAND BYTE
ACKNOWLEDGE FROM MAX6965
D15 D14 D13 D12 D11 D10 D9 D8
COMMAND BYTE IS STORED ON RECEIPT OF
STOP CONDITION
ACKNOWLEDGE FROM MAX6965
R/W
Figure 10. Write Timing Diagram
SLAVE ADDRESS
123456789
SA6A5A4A3A2A1A00A0 000000
COMMAND BYTE
1A A AP
START CONDITION
ACKNOWLEDGE FROM SLAVE
ACKNOWLEDGE FROM SLAVE ACKNOWLEDGE FROM SLAVE STOP
CONDITION
O7–O0
DATA1 VALID DATA2 VALID
t
DV
t
DV
SCL
SDA
WRITE TO OUTPUT PORTS REGISTERS (BLINK PHASE 0 REGISTERS/BLINK PHASE 1 REGISTERS)
R/W
MSB LSBDATA1 MSB LSBDATA2

MAX6965ATE+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
LED Display Drivers 9-Output 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