Professional Documents
Culture Documents
2-Wire-Interfaced, 2.5V To 5.5V, 20-Port or 28-Port LED Display Driver and I/O Expander
2-Wire-Interfaced, 2.5V To 5.5V, 20-Port or 28-Port LED Display Driver and I/O Expander
MAX6956
The MAX6956 compact, serial-interfaced LED display ♦ 400kbps I C-Compatible Serial Interface
2
GND 2 27 AD1
Panel Meters Industrial Controllers
GND 3 26 SCL
White Goods System Monitoring
AD0 4 25 SDA
Automotive
P12 5 24 P31
MAX6956
P13 6 23 P30
P14 7 22 P29
P15 8 21 P28
Typical Operating Circuit appears at end of data sheet.
P16 9 20 P27
P17 10 19 P26
P18 11 18 P25
P19 12 17 P24
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.
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
ABSOLUTE MAXIMUM RATINGS
MAX6956
Voltage (with Respect to GND) 28-Pin SSOP (derate 9.5mW/°C above TA = +70°C) ..762mW
V+ .............................................................................-0.3V to +6V 36-Pin SSOP (derate 11.8mW/°C above TA = +70°C) ..941mW
SCL, SDA, AD0, AD1................................................-0.3V to +6V 40-Pin QFN (derate 26.3mW/°C above TA = +70°C) ..2105mW
All Other Pins................................................-0.3V to (V+ + 0.3V) Operating Temperature Range
P4–P31 Current ................................................................±30mA (TMIN to TMAX) ..............................................-40°C to +125°C
GND Current .....................................................................800mA Junction Temperature ......................................................+150°C
Continuous Power Dissipation Storage Temperature Range .............................-65°C to +150°C
28-Pin PDIP (derate 20.8mW/°C above TA = +70°C)1667mW 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
(Typical Operating Circuit, V+ = 2.5V to 5.5V, TA = TMIN to TMAX, unless otherwise noted.) (Note 1)
2 _______________________________________________________________________________________
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
ELECTRICAL CHARACTERISTICS (continued)
MAX6956
(Typical Operating Circuit, V+ = 2.5V to 5.5V, TA = TMIN to TMAX, unless otherwise noted.) (Note 1)
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
V+ = 2.5V, VLED = 2.3V at maximum LED
9.5 13.5 18
current
Port Drive LED Sink Current, V+ = 3.3V, VLED = 2.4V at maximum LED
IDIGIT 18.5 24 27.5 mA
Port Configured as LED Driver current (Note 2)
V+ = 5.5V, VLED = 2.4V at maximum LED
19 25 30
current
V+ = 2.5V, VOUT = 0.6V at maximum sink
18.5 23 28
Port Drive Logic Sink Current, current
IDIGIT_SC mA
Port Configured as LED Driver V+ = 5.5V, VOUT = 0.6V at maximum sink
19 24 28
current
Input High-Voltage SDA, SCL, 0.7 ✕
VIH V
AD0, AD1 V+
Input Low-Voltage SDA, SCL, 0.3 ✕
VIL V
AD0, AD1 V+
Input Leakage Current SDA, SCL IIH, IIL -50 50 nA
Input Capacitance (Note 2) 10 pF
Output Low-Voltage SDA VOL ISINK = 6mA 0.4 V
OPERATING SUPPLY CURRENT SHUTDOWN SUPPLY CURRENT OPERATING SUPPLY CURRENT vs. V+
vs. TEMPERATURE vs. TEMPERATURE (NO LOADS)
0.40 8 100
MAX6956 toc03
MAX6956 toc02
MAX6956 toc01
V+ = 2.5V TO 5.5V
0.36 ALL PORTS LED (ON)
NO LOAD V+ = 5.5V
0.32 7
10
LED DRIVER SINK CURRENT LED DRIVER SINK CURRENT GPO SINK CURRENT vs. TEMPERATURE
vs. V+ vs. TEMPERATURE (OUTPUT = 0)
26 27 18
MAX6956 toc05
MAX6956 toc04
MAX6956 toc06
VLED = 2.4V V+ = 2.5V TO 5.5V, VPORT = 0.6V
24 16
26
22 V+ = 5.5V
PORT SINK CURRENT (mA)
PORT SINK CURRENT (mA)
14
20 25
LED DROP = 2.4V
18 12
24
16 10
LED DROP = 1.8V 23
14 8
V+ = 3.3V
12 22
6
10
21 4
8
6 20 2
2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 -40.0 -12.5 15.0 42.5 70.0 97.5 125.0 -40.0 -12.5 15.0 42.5 70.0 97.5 125.0
V+ (V) TEMPERATURE (°C) TEMPERATURE (°C)
GPO SOURCE CURRENT vs. TEMPERATURE GPI PULLUP CURRENT GPO SHORT-CIRCUIT CURRENT
(OUTPUT = 1) vs. TEMPERATURE vs. TEMPERATURE
9 1000 100
MAX6956 toc07
MAX6956 toc08
MAX6956 toc09
VPORT = 1.4V
8
PORT SOURCE CURRENT (mA)
V+ = 5.5V
PULLUP CURRENT (µA)
7
PORT CURRENT (mA)
4
V+ = 2.5V GPO = 1, PORT
3
SHORTED TO GND
2 10 1
-40.0 -12.5 15.0 42.5 70.0 97.5 125.0 -40.0 -12.5 15.0 42.5 70.0 97.5 125.0 -40.0 -12.5 15.0 42.5 70.0 97.5 125.0
TEMPERATURE (°C) TEMPERATURE (°C) TEMPERATURE (°C)
4 _______________________________________________________________________________________
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
Pin Description
MAX6956
PIN
NAME FUNCTION
SSOP/DI SSOP THIN QFN
Segment Current Setting. Connect ISET to GND through a resistor (RISET) to
1 1 36 ISET
set the maximum segment current.
2, 3 2, 3 37, 38, 39 GND Ground
Address Input 0. Sets device slave address. Connect to either GND, V+, SCL,
4 4 40 AD0
SDA to give four logic combinations. See Table 3.
LED Segment Drivers and GPIO. P12 to P31 can be configured as CA LED
5–24 — — P12–P31 drivers, GPIO outputs, CMOS logic inputs, or CMOS logic inputs with weak
pullup resistor.
Detailed Description ment-plus-DP displays, with five ports left available for
GPIO (P26–P31 of U2).
The MAX6956 LED driver/GPIO peripheral provides up
to 28 I/O ports, P4 to P31, controlled through an I2C-com- The port configuration registers set the 28 ports, P4 to
patible serial interface. The ports can be configured to P31, individually as either LED drivers or GPIO. A pair
any combination of constant-current LED drivers, logic of bits in registers 0x09 through 0x0F sets each port’s
inputs and logic outputs, and default to logic inputs on configuration (Tables 1 and 2).
power-up. When fully configured as an LED driver, the The 36-pin MAX6956AAX has 28 ports, P4 to P31. The
MAX6956 controls up to 28 LED segments with individ- 28-pin MAX6956ANI and MAX6956AAI make only 20
ual 16-step adjustment of the constant current through ports available, P12 to P31. The eight unused ports
each LED segment. A single resistor sets the maximum should be configured as outputs on power-up by writ-
segment current for all segments, with a maximum of ing 0x55 to registers 0x09 and 0x0A. If this is not done,
24mA per segment. The MAX6956 drives any combina- the eight unused ports remain as floating inputs and
tion of discrete LEDs and CA digits, including seven- quiescent supply current rises, although there is no
segment and starburst alphanumeric types. damage to the part.
Figure 1 is the MAX6956 functional diagram. Any I/O
Register Control of I/O Ports and LEDs
port can be configured as a push-pull output (sinking
10mA, sourcing 4.5mA), or a Schmitt-trigger logic Across Multiple Drivers
input. Each input has an individually selectable internal The MAX6956 offers 20 or 28 I/O ports, depending on
pullup resistor. Additionally, transition detection allows package choice. These can be applied to a variety of
seven ports (P24 through P30) to be monitored in any combinations of different display types, for example:
maskable combination for changes in their logic status. seven, 7-segment digits (Figure 7). This example
A detected transition is flagged through a status regis- requires two MAX6956s, with one digit being driven by
ter bit, as well as an interrupt pin (port P31), if desired. both devices, half by one MAX6956, half by the other
(digit 4 in this example). The two drivers are static, and
The Typical Operating Circuit shows two MAX6956s therefore do not need to be synchronized. The
working together controlling three monocolor 16-seg- MAX6956 sees CA digits as multiple discrete LEDs. To
_______________________________________________________________________________________ 5
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
MAX6956
Output LED Segment Driver Open-drain current sink, with sink 0x09 to 0x0F 0 0
Register bit = 1 current (up to 24mA) determined
by the appropriate current register
Register bit = 0 Active-low logic output
Output GPIO Output 0x09 to 0x0F 0 1
Register bit = 1 Active-high logic output
GPIO Input
Input Schmitt logic input 0x09 to 0x0F 1 0
Without Pullup Register bit =
input logic level
Input GPIO Input with Pullup Schmitt logic input with pullup 0x09 to 0x0F 1 1
Note: The logic is inverted between the two output modes; a high makes the output go low in LED segment driver mode (0x00) to
turn that segment on; in GPIO output mode (0x01), a high makes the output go high.
simplify access to displays that overlap two MAX6956s, segment digit with DP can be updated in two byte-
the MAX6956 provides four virtual ports, P0 through P3. writes, and 16-segment digits with DP can be updated
To update an overlapping digit, send the same code in two byte-writes plus a bit write. Also, discrete LEDs
twice as an eight-port write, once to P28 through P35 of and GPIO port bits can be lit and controlled individually
the first driver, and again to P0 through P7 of the sec- without affecting other ports.
ond driver. The first driver ignores the last 4 bits and
the second driver ignores the first 4 bits. Shutdown
When the MAX6956 is in shutdown mode, all ports are
Two addressing methods are available. Any single port forced to inputs (which an be read), and the pullup cur-
(bit) can be written (set/cleared) at once; or, any rent sources are turned off. Data in the port and control
sequence of eight ports can be written (set/cleared) in registers remain unaltered, so port configuration and
any combination at once. There are no boundaries; it is output levels are restored when the MAX6956 is taken
equally acceptable to write P0 through P7, P1 through out of shutdown. The display driver can still be pro-
P8, or P31 through P38 (P32 through P38 are nonexis- grammed while in shutdown mode. For minimum sup-
tent, so the instructions to these bits are ignored). ply current in shutdown mode, logic inputs should be at
Using 8-bit control, a seven-segment digit with a deci- GND or V+ potential. Shutdown mode is exited by set-
mal point can be updated in a single byte-write, a 14- ting the S bit in the configuration register (Table 8).
6 _______________________________________________________________________________________
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
MAX6956
INTENSITY INTENSITY REGISTERS
AD0 COMMAND
ADDRESS
REGISTER DECODE
AD1 MATCHER
7 8 8
SDA
SLAVE ADDRESS BYTE DATA BYTE COMMAND BYTE
SCL
Shutdown mode is temporarily overridden by the dis- is required on SDA. The MAX6956 SCL line operates
play test function. only as an input. A pullup resistor, typically 4.7kΩ, is
required on SCL if there are multiple masters on the 2-
Serial Interface wire interface, or if the master in a single-master system
Serial Addressing has an open-drain SCL output.
The MAX6956 operates as a slave that sends and Each transmission consists of a START condition
receives data through an I2C-compatible 2-wire inter- (Figure 3) sent by a master, followed by the MAX6956
face. The interface uses a serial data line (SDA) and a 7-bit slave address plus R/ W bit (Figure 6), a register
serial clock line (SCL) to achieve bidirectional commu- address byte, one or more data bytes, and finally a
nication between master(s) and slave(s). A master (typ- STOP condition (Figure 3).
ically a microcontroller) initiates all data transfers to and
from the MAX6956, and generates the SCL clock that Start and Stop Conditions
synchronizes the data transfer (Figure 2). Both SCL and SDA remain high when the interface is
not busy. A master signals the beginning of a transmis-
The MAX6956 SDA line operates as both an input and sion with a START (S) condition by transitioning SDA
an open-drain output. A pullup resistor, typically 4.7kΩ, from high to low while SCL is high. When the master
_______________________________________________________________________________________________________ 7
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
MAX6956
SDA
tBUF
tSU, DAT tSU, STA
tHD, STA
tLOW tHD, DAT tSU, STO
SCL
tHIGH
tHD, STA
tR tF
SDA
SCL S P
START STOP
CONDITION CONDITION
SDA
8 _______________________________________________________________________________________
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
MAX6956
START CONDITION CLOCK PULSE FOR ACKNOWLEDGMENT
SCL
1 2 8 9
SDA
BY TRANSMITTER
S
SDA
BY RECEIVER
Figure 5. Acknowledge
SDA
1 0 0 A3 A2 A1 A0 R/W ACK
MSB LSB
SCL
MAX6956 is the recipient. When the MAX6956 is trans- byte of information is the command byte. The com-
mitting to the master, the master generates the mand byte determines which register of the MAX6956
acknowledge bit because the master is the recipient. is to be written by the next byte, if received. If a STOP
condition is detected after the command byte is
Slave Address received, then the MAX6956 takes no further action
The MAX6956 has a 7-bit-long slave address (Figure 6). (Figure 8) beyond storing the command byte.
The eighth bit following the 7-bit slave address is the
R/ W bit. It is low for a write command, high for a read Any bytes received after the command byte are data
command. bytes. The first data byte goes into the internal register of
the MAX6956 selected by the command byte (Figure 9). If
The first 3 bits (MSBs) of the MAX6956 slave address multiple data bytes are transmitted before a STOP condi-
are always 100. Slave address bits A3, A2, A1, and A0 tion is detected, these bytes are generally stored in subse-
are selected by address inputs, AD1 and AD0. These quent MAX6956 internal registers because the command
two input pins may be connected to GND, V+, SDA, or byte address generally autoincrements (Table 4).
SCL. The MAX6956 has 16 possible slave addresses
(Table 3) and therefore, a maximum of 16 MAX6956 Message Format for Reading
devices may share the same interface. The MAX6956 is read using the MAX6956’s internally
Message Format for Writing stored command byte as address pointer, the same
the MAX6956 way the stored command byte is used as address
pointer for a write. The pointer generally autoincre-
A write to the MAX6956 comprises the transmission of ments after each data byte is read using the same rules
the MAX6956’s slave address with the R/ W bit set to as for a write (Table 4). Thus, a read is initiated by first
zero, followed by at least 1 byte of information. The first configuring the MAX6956’s command byte by perform-
_______________________________________________________________________________________ 9
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
MAX6956
V+
7-SEGMENT DIGIT 1 7-SEGMENT DIGIT 2 7-SEGMENT DIGIT 3 7-SEGMENT DIGIT 4
VIRTUAL SEGMENTS
P0 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 P12 P13 P14 P15 P16 P17 P18 P19 P20 P21 P22 P23 P24 P25 P26 P27 P28 P29 P30 P31
V+
7-SEGMENT DIGIT 5 7-SEGMENT DIGIT 6 7-SEGMENT DIGIT 7
VIRTUAL SEGMENTS
P0 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 P12 P13 P14 P15 P16 P17 P18 P19 P20 P21 P22 P23 P24 P25 P26 P27 P28 P29 P30 P31
COMMAND BYTE IS STORED ON RECEIPT OF STOP CONDITION D15 D14 D13 D12 D11 D10 D9 D8
ACKNOWLEDGE FROM MAX6956
HOW COMMAND BYTE AND DATA BYTE MAP INTO MAX6956's REGISTER D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
ACKNOWLEDGE FROM MAX6956
R/W 1 BYTE
10 ______________________________________________________________________________________
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
MAX6956
ACKNOWLEDGE FROM MAX6956 ACKNOWLEDGE FROM MAX6956
HOW COMMAND BYTE AND DATA BYTE MAP INTO MAX6956's REGISTER D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
ACKNOWLEDGE FROM MAX6956
R/W n BYTES
AUTOINCREMENT MEMORY WORD ADDRESS
ing a write (Figure 8). The master can now read n con- Operation with Multiple Masters
secutive bytes from the MAX6956, with the first data If the MAX6956 is operated on a 2-wire interface with
byte being read from the register addressed by the ini- multiple masters, a master reading the MAX6956
tialized command byte. When performing read-after- should use a repeated start between the write, which
write verification, remember to reset the command sets the MAX6956’s address pointer, and the read(s)
byte’s address because the stored control byte that takes the data from the location(s). This is because
address generally has been autoincremented after the it is possible for master 2 to take over the bus after
write (Table 4). Table 5 is the register address map. master 1 has set up the MAX6956’s address pointer but
before master 1 has read the data. If master 2 subse-
______________________________________________________________________________________ 11
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
MAX6956
12 ______________________________________________________________________________________
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
MAX6956
Table 5. Register Address Map (continued)
COMMAND ADDRESS HEX
REGISTER
D15 D14 D13 D12 D11 D10 D9 D8 CODE
Port 11 only (data bit D0; D7–D1 read as 0) X 0 1 0 1 0 1 1 0x2B
Port 12 only (data bit D0; D7–D1 read as 0) X 0 1 0 1 1 0 0 0x2C
Port 13 only (data bit D0; D7–D1 read as 0) X 0 1 0 1 1 0 1 0x2D
Port 14 only (data bit D0; D7–D1 read as 0) X 0 1 0 1 1 1 0 0x2E
Port 15 only (data bit D0; D7–D1 read as 0) X 0 1 0 1 1 1 1 0x2F
Port 16 only (data bit D0; D7–D1 read as 0) X 0 1 1 0 0 0 0 0x30
Port 17 only (data bit D0; D7–D1 read as 0) X 0 1 1 0 0 0 1 0x31
Port 18 only (data bit D0; D7–D1 read as 0) X 0 1 1 0 0 1 0 0x32
Port 19 only (data bit D0; D7–D1 read as 0) X 0 1 1 0 0 1 1 0x33
Port 20 only (data bit D0; D7–D1 read as 0) X 0 1 1 0 1 0 0 0x34
Port 21 only (data bit D0; D7–D1 read as 0) X 0 1 1 0 1 0 1 0x35
Port 22 only (data bit D0; D7–D1 read as 0) X 0 1 1 0 1 1 0 0x36
Port 23 only (data bit D0; D7–D1 read as 0) X 0 1 1 0 1 1 1 0x37
Port 24 only (data bit D0; D7–D1 read as 0) X 0 1 1 1 0 0 0 0x38
Port 25 only (data bit D0; D7–D1 read as 0) X 0 1 1 1 0 0 1 0x39
Port 26 only (data bit D0; D7–D1 read as 0) X 0 1 1 1 0 1 0 0x3A
Port 27 only (data bit D0; D7–D1 read as 0) X 0 1 1 1 0 1 1 0x3B
Port 28 only (data bit D0; D7–D1 read as 0) X 0 1 1 1 1 0 0 0x3C
Port 29 only (data bit D0; D7–D1 read as 0) X 0 1 1 1 1 0 1 0x3D
Port 30 only (data bit D0; D7–D1 read as 0) X 0 1 1 1 1 1 0 0x3E
Port 31 only (data bit D0; D7–D1 read as 0) X 0 1 1 1 1 1 1 0x3F
4 ports 4–7 (data bits D0–D3; D4–D7 read as 0) X 1 0 0 0 0 0 0 0x40
5 ports 4–8 (data bits D0–D4; D5–D7 read as 0) X 1 0 0 0 0 0 1 0x41
6 ports 4–9 (data bits D0–D5; D6–D7 read as 0) X 1 0 0 0 0 1 0 0x42
7 ports 4–10 (data bits D0–D6; D7 reads as 0) X 1 0 0 0 0 1 1 0x43
8 ports 4–11 (data bits D0–D7) X 1 0 0 0 1 0 0 0x44
8 ports 5–12 (data bits D0–D7) X 1 0 0 0 1 0 1 0x45
8 ports 6–13 (data bits D0–D7) X 1 0 0 0 1 1 0 0x46
8 ports 7–14 (data bits D0–D7) X 1 0 0 0 1 1 1 0x47
8 ports 8–15 (data bits D0–D7) X 1 0 0 1 0 0 0 0x48
8 ports 9–16 (data bits D0–D7) X 1 0 0 1 0 0 1 0x49
8 ports 10–17 (data bits D0–D7) X 1 0 0 1 0 1 0 0x4A
8 ports 11–18 (data bits D0–D7) X 1 0 0 1 0 1 1 0x4B
8 ports 12–19 (data bits D0–D7) X 1 0 0 1 1 0 0 0x4C
8 ports 13–20 (data bits D0–D7) X 1 0 0 1 1 0 1 0x4D
8 ports 14–21 (data bits D0–D7) X 1 0 0 1 1 1 0 0x4E
8 ports 15–22 (data bits D0–D7) X 1 0 0 1 1 1 1 0x4F
______________________________________________________________________________________ 13
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
MAX6956
quently changes, the MAX6956’s address pointer, then drive of each LED segment driver. Individual/global
master 1’s delayed read may be from an unexpected brightness control is selected by setting the configura-
location. tion register I bit (Table 9). The global current register
(0x02) data are then ignored, and segment currents are
Command Address Autoincrementing set using register addresses 0x12 through 0x1F (Tables
Address autoincrementing allows the MAX6956 to be 12, 13, and 14). Each segment is controlled by a nibble
configured with the shortest number of transmissions of one of the 16 current registers.
by minimizing the number of times the command
address needs to be sent. The command address Transition (Port Data Change) Detection
stored in the MAX6956 generally increments after each Port transition detection allows any combination of the
data byte is written or read (Table 4). seven ports P24–P30 to be continuously monitored for
changes in their logic status (Figure 11). A detected
Initial Power-Up change is flagged on the transition detection mask reg-
On initial power-up, all control registers are reset, the ister INT status bit, D7 (Table 15). If port P31 is config-
current registers are set to minimum value, and the ured as an output (Tables 1 and 2), then P31 also
MAX6956 enters shutdown mode (Table 6). automatically becomes an active-high interrupt output
(INT), which follows the condition of the INT status bit.
LED Current Control Port P31 is set as output by writing bit D7 = 0 and bit
LED segment drive current can be set either globally or D6 = 1 to the port configuration register (Table 1). Note
individually. Global control simplifies the operation that the MAX6956 does not identify which specific
when all LEDs are set to the same current level, port(s) caused the interrupt, but provides an alert that
because writing just the global current register sets the one or more port levels have changed.
current for all ports configured as LED segment drivers.
It is also possible to individually control the current
14 ______________________________________________________________________________________
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
MAX6956
Table 6. Power-Up Configuration
ADDRESS REGISTER DATA
REGISTER
POWER-UP CONDITION CODE
FUNCTION
(HEX)
D7 D6 D5 D4 D3 D2 D1 D0
Port Register 0x24 to
LED Off; GPIO Output Low X X X X X X X 0
Bits 4 to 31 0x3F
Global
1/16 (minimum on) 0x02 X X X X 0 0 0 0
Current
Shutdown Enabled
Configuration
Current Control = Global 0x04 0 0 X X X X X 0
Register
Transition Detection Disabled
Input Mask
All Clear (Masked Off) 0x06 X 0 0 0 0 0 0 0
Register
Display Test Normal Operation 0x07 X X X X X X X 0
Port
P7, P6, P5, P4: GPIO Inputs Without Pullup 0x09 1 0 1 0 1 0 1 0
Configuration
Port
P11, P10, P9, P8: GPIO Inputs Without Pullup 0x0A 1 0 1 0 1 0 1 0
Configuration
Port
P15, P14, P13, P12: GPIO Inputs Without Pullup 0x0B 1 0 1 0 1 0 1 0
Configuration
Port
P19, P18, P17, P16: GPIO Inputs Without Pullup 0x0C 1 0 1 0 1 0 1 0
Configuration
Port
P23, P22, P21, P20: GPIO Inputs Without Pullup 0x0D 1 0 1 0 1 0 1 0
Configuration
Port
P27, P26, P25, P24: GPIO Inputs Without Pullup 0x0E 1 0 1 0 1 0 1 0
Configuration
Port
P31, P30, P29, P28: GPIO Inputs Without Pullup 0x0F 1 0 1 0 1 0 1 0
Configuration
Current054 1/16 (minimum on) 0x12 0 0 0 0 0 0 0 0
Current076 1/16 (minimum on) 0x13 0 0 0 0 0 0 0 0
Current098 1/16 (minimum on) 0x14 0 0 0 0 0 0 0 0
Current0BA 1/16 (minimum on) 0x15 0 0 0 0 0 0 0 0
Current0DC 1/16 (minimum on) 0x16 0 0 0 0 0 0 0 0
Current0FE 1/16 (minimum on) 0x17 0 0 0 0 0 0 0 0
Current110 1/16 (minimum on) 0x18 0 0 0 0 0 0 0 0
Current132 1/16 (minimum on) 0x19 0 0 0 0 0 0 0 0
Current154 1/16 (minimum on) 0x1A 0 0 0 0 0 0 0 0
Current176 1/16 (minimum on) 0x1B 0 0 0 0 0 0 0 0
Current198 1/16 (minimum on) 0x1C 0 0 0 0 0 0 0 0
Current1BA 1/16 (minimum on) 0x1D 0 0 0 0 0 0 0 0
Current1DC 1/16 (minimum on) 0x1E 0 0 0 0 0 0 0 0
Current1FE 1/16 (minimum on) 0x1F 0 0 0 0 0 0 0 0
X = unused bits; if read, zero results.
______________________________________________________________________________________ 15
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
MAX6956
Individual Segment
Constant-current limit for each digit is
0x04 M 1 X X X X X S
individually controlled by the settings in the
Current054 through Current1FE registers
The mask register contains 7 mask bits, which select M bit in the configuration register (Table 10). Whenever
which of the seven ports P24–P30 are to be monitored the configuration register is written with the M bit set,
(Table 15). Set the appropriate mask bit to enable that the MAX6956 updates an internal 7-bit snapshot regis-
port for transition detect. Clear the mask bit if transitions ter, which holds the comparison copy of the logic states
on that port are to be ignored. Transition detection of ports P24 through P30. The update action occurs
works regardless of whether the port being monitored is regardless of the previous state of the M bit, so that it is
set to input or output, but generally, it is not particularly not necessary to clear the M bit and then set it again to
useful to enable transition detection for outputs. update the snapshot register.
To use transition detection, first set up the mask register When the configuration register is written with the M bit
and configure port P31 as an output, as described set, transition detection is enabled and remains
above. Then enable transition detection by setting the enabled until either the configuration register is written
16 ______________________________________________________________________________________
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
MAX6956
Table 11. Global Segment Current Register Format
LED DRIVE TYPICAL SEGMENT ADDRESS
D7 D6 D5 D4 D3 D2 D1 D0 HEX CODE
FRACTION CURRENT (mA) CODE (HEX)
1/16 1.5 0x02 X X X X 0 0 0 0 0xX0
2/16 3 0x02 X X X X 0 0 0 1 0xX1
3/16 4.5 0x02 X X X X 0 0 1 0 0xX2
4/16 6 0x02 X X X X 0 0 1 1 0xX3
5/16 7.5 0x02 X X X X 0 1 0 0 0xX4
6/16 9 0x02 X X X X 0 1 0 1 0xX5
7/16 10.5 0x02 X X X X 0 1 1 0 0xX6
8/16 12 0x02 X X X X 0 1 1 1 0xX7
9/16 13.5 0x02 X X X X 1 0 0 0 0xX8
10/16 15 0x02 X X X X 1 0 0 1 0xX9
11/16 16.5 0x02 X X X X 1 0 1 0 0xXA
12/16 18 0x02 X X X X 1 0 1 1 0xXB
13/16 19.5 0x02 X X X X 1 1 0 0 0xXC
14/16 21 0x02 X X X X 1 1 0 1 0xXD
15/16 22.5 0x02 X X X X 1 1 1 0 0xXE
16/16 24 0x02 X X X X 1 1 1 1 0xXF
with the M bit clear, or a transition is detected. The INT M bit set, to take a new snapshot of the seven ports
status bit (transition detection mask register bit D7) P24 to P30.
goes low. Port P31 (if enabled as INT output) also goes
low, if it was not already low. Display Test Register
Once transition detection is enabled, the MAX6956 Display test mode turns on all ports configured as LED
continuously compares the snapshot register against drivers by overriding, but not altering, all controls and
the changing states of P24 through P31. If a change on port registers, except the port configuration register
any of the monitored ports is detected, even for a short (Table 16). Only ports configured as LED drivers are
time (like a pulse), the INT status bit (transition detec- affected. Ports configured as GPIO push-pull outputs
tion mask register bit D7) is set. Port P31 (if enabled as do not change state. In display test mode, each port’s
INT output) also goes high. The INT output and INT sta- current is temporarily set to 1/2 the maximum current
tus bit are not cleared if more changes occur or if the limit as controlled by RISET.
data pattern returns to its original snapshot condition. Selecting External Component RISET
The only way to clear INT is to access (read or write)
to Set Maximum Segment Current
the transition detection mask register (Table 15). So if
The MAX6956 uses an external resistor RISET to set the
the transition detection mask register is read twice in
maximum segment current. The recommended value,
succession after a transition event, the first time reads
39kΩ, sets the maximum current to 24mA, which makes
with bit D7 set (identifying the event), and the second
the segment current adjustable from 1.5mA to 24mA in
time reads with bit D7 clear.
1.5mA steps.
Transition detection is a one-shot event. When INT has
To set a different segment current, use the formula:
been cleared after responding to a transition event,
transition detection is automatically disabled, even RISET = 936kΩ / ISEG
though the M bit in the configuration register remains
set (unless cleared by the user). Reenable transition where ISEG is the desired maximum segment current.
detection by writing the configuration register with the
______________________________________________________________________________________ 17
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
MAX6956
18 ______________________________________________________________________________________
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
MAX6956
Table 14. Odd Individual Segment Current Format
SEGMENT
LED
CONSTANT ADDRESS
DRIVE D7 D6 D5 D4 D3 D2 D1 D0 HEX CODE
CURRENT WITH CODE (HEX)
FRACTION
RISET = 39kΩ (mA)
1/16 1.5 0x12 to 0x1F 0 0 0 0 0x0X
2/16 3 0x12 to 0x1F 0 0 0 1 0x1X
3/16 4.5 0x12 to 0x1F 0 0 1 0 0x2X
4/16 6 0x12 to 0x1F 0 0 1 1 0x3X
5/16 7.5 0x12 to 0x1F 0 1 0 0 0x4X
6/16 9 0x12 to 0x1F 0 1 0 1 0x5X
7/16 10.5 0x12 to 0x1F 0 1 1 0 See Table 13. 0x6X
8/16 12 0x12 to 0x1F 0 1 1 1 0x7X
9/16 13.5 0x12 to 0x1F 1 0 0 0 0x8X
10/16 15 0x12 to 0x1F 1 0 0 1 0x9X
11/16 16.5 0x12 to 0x1F 1 0 1 0 0xAX
12/16 18 0x12 to 0x1F 1 0 1 1 0xBX
13/16 19.5 0x12 to 0x1F 1 1 0 0 0xCX
14/16 21 0x12 to 0x1F 1 1 0 1 0xDX
15/16 22.5 0x12 to 0x1F 1 1 1 0 0xEX
16/16 24 0x12 to 0x1F 1 1 1 1 0xFX
______________________________________________________________________________________ 19
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
MAX6956
GPIO INPUT
GPIO IN
CONDITIONING
GPIO/PORT
OUTPUT LATCH GPIO/PORT OUT
GPIO IN
GPIO INPUT
D Q
CONDITIONING
P30 GPIO/PORT OUT MASK REGISTER BIT 6
GPIO/PORT OUTPUT LATCH
P28
GPIO/PORT OUT MASK REGISTER BIT 4
GPIO/PORT OUTPUT LATCH
GPIO IN
GPIO INPUT
D Q
CONDITIONING
P24
GPIO/PORT OUT MASK REGISTER LSB
GPIO/PORT OUTPUT LATCH
CLOCK PULSE WHEN WRITING CONFIGURATION REGISTER WITH M BIT SET
20 ______________________________________________________________________________________
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
MAX6956
Table 15. Transition Detection Mask Register
REGISTER REGISTER DATA
READ/
FUNCTION ADDRESS
WRITE
(HEX) D7 D6 D5 D4 D3 D2 D1 D0
Read INT Status* Port Port Port Port Port Port Port
Mask
0x06 30 29 28 27 26 25 24
Register
Write Unchanged mask mask mask mask mask mask mask
______________________________________________________________________________________ 21
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
Typical Operating Circuit
MAX6956
3V
3V
36 32
V+ P4 a1 LED1
U1 30
47nF P5 a2
3 28
GND P6 b
2 MAX6956AAX 26
GND P7 c
1 5
ISET P8 d1
39kΩ 7
P9 d2
P10 9 e
35 11
AD1 P11 f
4 6
AD0 P12 g1
33 8
DATA SDA P13 g2
34 10
CLOCK SCL P14 h
P15 12 i
31 13
P31 P16 j
29 P30 14
P17 k
27 15
P29 P18 l
25 16
P28 P19 m
24 P27 P20 17 dp
23 18
P26 P21 ca
22 P25 P22 19
21 20
P24 P23
a1 LED2
a2
b
c
d1
d2
e
f
g1
g2
h
i
3V j
k
36 32
V+ P4 l
U2 30
47nF P5 m
3 28
GND P6 dp
2 MAX6956AAX 26
GND P7 ca
1 5
ISET P8
39kΩ 7
P9
P10 9 a1 LED3
35 11 a2
AD1 P11
4 6
AD0 P12 b
33 SDA P13 8 c
34 10 d1
SCL P14
P15 12 d2
31 13 e
IRQ OUT P31 P16
29 14 f
P30 P17
27 15 g1
P29 P18
25
P28 P19 16 g2
24
P27 P20 17 h
23 18 i
P26 P21
1 2 22
P25 P22 19 j
21 20 k
P24 P23
l
SW1 SW2 SW3 m
dp
ca
22 ______________________________________________________________________________________
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
Pin Configurations (continued)
MAX6956
TOP VIEW
ISET 1 36 V+
GND 2 35 AD1
GND
GND
GND
ISET
SDA
N.C.
AD0
AD1
SCL
V+
GND 3 34 SCL
AD0 4 33 SDA
40
39
38
37
36
35
34
33
32
31
P8 5 32 P4
MAX6956 P8 1 30 P4
P12 6 31 P31
P12 2 29 P31
P9 7 30 P5 P9 3 28 P5
P13 8 29 P30 P13 4 27 P30
P10 5 26 P6
P10 9 28 P6
P14 6 MAX6956 25 P29
P14 10 27 P29 P11 7 24 P7
P11 11 26 P7 P15 8 23 P28
P15 12 25 P28 P16 9 22 P27
P17 10 21 P26
P16 13 24 P27
11
12
13
14
15
16
17
18
19
20
P17 14 23 P26 N.C.
N.C.
P18 15 22 P25 P18
P19
P20
P21
P22
P23
P24
P25
P19 16 21 P24
QFN
P20 17 20 P23
P21 18 19 P22
SSOP
Chip Information
TRANSISTOR COUNT: 33,559
PROCESS: CMOS
______________________________________________________________________________________ 23
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
Package Information
MAX6956
(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.)
SSOP.EPS
2 1
INCHES MILLIMETERS
DIM MIN MAX MIN MAX INCHES MILLIMETERS
A 0.068 0.078 1.73 1.99 MIN MAX MIN MAX N
A1 0.002 0.008 0.05 0.21 D 0.239 0.249 6.07 6.33 14L
B 0.010 0.015 0.25 0.38 D 0.239 0.249 6.07 6.33 16L
C 0.004 0.008 0.09 0.20 D 0.278 0.289 7.07 7.33 20L
E H D SEE VARIATIONS D 0.317 0.328 8.07 8.33 24L
D 0.397 0.407 10.07 10.33 28L
E 0.205 0.212 5.20 5.38
e 0.0256 BSC 0.65 BSC
H 0.301 0.311 7.65 7.90
L 0.025 0.037 0.63 0.95
0∞ 8∞ 0∞ 8∞
C
B
e A1 L
NOTES:
1. D&E DO NOT INCLUDE MOLD FLASH.
2. MOLD FLASH OR PROTRUSIONS NOT TO EXCEED .15 MM (.006").
PROPRIETARY INFORMATION
3. CONTROLLING DIMENSION: MILLIMETERS. TITLE:
24 ______________________________________________________________________________________
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
MAX6956
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.)
SSOP.EPS
36
INCHES MILLIMETERS
DIM MIN MAX MIN MAX
A 0.096 0.104 2.44 2.65
A1 0.004 0.011 0.10 0.29
B 0.012 0.017 0.30 0.44
C 0.009 0.013 0.23 0.32
E H e 0.0315 BSC 0.80 BSC
E 0.291 0.299 7.40 7.60
H 0.398 0.414 10.11 10.51
L 0.020 0.040 0.51 1.02
D 0.598 0.612 15.20 15.55
1
TOP VIEW
A1 A C
e 0∞-8∞
B L
PROPRIETARY INFORMATION
TITLE:
______________________________________________________________________________________ 25
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
Package Information (continued)
MAX6956
(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.)
E/2
E2/2
E (NE-1) X e CL E2
e L
(ND-1) X e
CL CL
L L
e e
A
A1 A2
PACKAGE OUTLINE
36,40L THIN QFN, 6x6x0.8 mm
1
21-0141 D 2
26 ______________________________________________________________________________________
2-Wire-Interfaced, 2.5V to 5.5V, 20-Port or
28-Port LED Display Driver and I/O Expander
Package Information (continued)
MAX6956
(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.)
NOTES:
1. DIMENSIONING & TOLERANCING CONFORM TO ASME Y14.5M-1994.
2. ALL DIMENSIONS ARE IN MILLIMETERS. ANGLES ARE IN DEGREES.
5. DIMENSION b APPLIES TO METALLIZED TERMINAL AND IS MEASURED BETWEEN 0.25 mm AND 0.30 mm
FROM TERMINAL TIP.
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 ____________________ 27
© 2003 Maxim Integrated Products Printed USA is a registered trademark of Maxim Integrated Products.
This datasheet has been download from:
www.datasheetcatalog.com