Professional Documents
Culture Documents
Max7219 Max7221 PDF
Max7219 Max7221 PDF
LE MAX7219/MAX7221
Pin Configuration
Functional Diagrams Typical Application Circuit
TOP VIEW
DIN 1 24 DOUT
DIG 0 2 23 SEG D
For pricing, delivery, and ordering information, please contact Maxim Direct
at 1-888-629-4642, or visit Maxim’s website at www.maximintegrated.com. 19-4452; Rev 4; 7/03
MAX7219/MAX7221
Serially Interfaced, 8-Digit LED Display Drivers
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
(V+ = 5V ±10%, RSET = 9.53kΩ ±1%, TA = TMIN to TMAX, unless otherwise noted.)
2 Maxim Integrated
MAX7219/MAX7221
Serially Interfaced, 8-Digit LED Display Drivers
Maxim Integrated 3
MAX7219/MAX7221
Serially Interfaced, 8-Digit LED Display Drivers
MAX7219/21 01
MAX7219/21 02
820
60
810
RSET = 10kΩ
800 50
790
40
780 RSET = 20kΩ
770 30
MAX7219 MAX7221
SEGMENT OUTPUT CURRENT SEGMENT OUTPUT CURRENT
MAX7219/21 03
MAX7219/21 04
MAXIMUM INTENSITY = 31/32 MAXIMUM INTENSITY = 15/16
10mA/div 10mA/div
0 0
5μs/div 5μs/div
4 Maxim Integrated
MAX7219/MAX7221
Serially Interfaced, 8-Digit LED Display Drivers
Pin Description
PIN NAME FUNCTION
1 DIN Serial-Data Input. Data is loaded into the internal 16-bit shift register on CLK’s rising edge.
Eight-Digit Drive Lines that sink current from the display common cathode. The MAX7219 pulls
2, 3, 5–8,
DIG 0–DIG 7 the digit outputs to V+ when turned off. The MAX7221’s digit drivers are high-impedance when
10, 11
turned off.
4, 9 GND Ground (both GND pins must be connected)
LOAD
Load-Data Input. The last 16 bits of serial data are latched on LOAD’s rising edge.
(MAX7219)
12
CS Chip-Select Input. Serial data is loaded into the shift register while CS is low. The last 16 bits of
(MAX7221) serial data are latched on CS’s rising edge.
Serial-Clock Input. 10MHz maximum rate. On CLK’s rising edge, data is shifted into the inter-
13 CLK nal shift register. On CLK’s falling edge, data is clocked out of DOUT. On the MAX7221, the
CLK input is active only while CS is low.
Seven Segment Drives and Decimal Point Drive that source current to the display. On the
14–17, SEG A–SEG G,
MAX7219, when a segment driver is turned off it is pulled to GND. The MAX7221 segment dri-
20–23 DP
vers are high-impedance when turned off.
Connect to VDD through a resistor (RSET) to set the peak segment current (Refer to Selecting
18 ISET
RSET Resistor and Using External Drivers section).
19 V+ Positive Supply Voltage. Connect to +5V.
Serial-Data Output. The data into DIN is valid at DOUT 16.5 clock cycles later. This pin is used
24 DOUT
to daisy-chain several MAX7219/MAX7221’s and is never high-impedance.
Functional Diagram
SEG A–SEG G, DP DIG 0–DIG 7
8 SHUTDOWN REGISTER
CODE B MODE REGISTER
V+ INTENSITY
ROM WITH
PULSE-
BYPASS INTENSITY REGISTER
WIDTH
RSET SCAN-LIMIT REGISTER MODULATOR
CLK
(LSB) (MSB)
( ) MAX7221 ONLY
Maxim Integrated 5
MAX7219/MAX7221
Serially Interfaced, 8-Digit LED Display Drivers
CS tCSW
OR LOAD
tCSH
tCSS tCL tCH tCP tLDCK
CLK
tDH
tDS
tDO
DOUT
6 Maxim Integrated
MAX7219/MAX7221
Serially Interfaced, 8-Digit LED Display Drivers
Shutdown
0xXC X X X X X X X 0
Mode
Normal
0xXC X X X X X X X 1
Operation
Maxim Integrated 7
MAX7219/MAX7221
Serially Interfaced, 8-Digit LED Display Drivers
0 X 0 0 0 0 1 1 1 1 1 1 0
1 X 0 0 0 1 0 1 1 0 0 0 0
2 X 0 0 1 0 1 1 0 1 1 0 1
3 X 0 0 1 1 1 1 1 1 0 0 1
4 X 0 1 0 0 0 1 1 0 0 1 1
5 X 0 1 0 1 1 0 1 1 0 1 1
6 X 0 1 1 0 1 0 1 1 1 1 1
7 X 0 1 1 1 1 1 1 0 0 0 0
8 X 1 0 0 0 1 1 1 1 1 1 1
9 X 1 0 0 1 1 1 1 1 0 1 1
— X 1 0 1 0 0 0 0 0 0 0 1
E X 1 0 1 1 1 0 0 1 1 1 1
H X 1 1 0 0 0 1 1 0 1 1 1
L X 1 1 0 1 0 0 0 1 1 1 0
P X 1 1 1 0 1 1 0 0 1 1 1
blank X 1 1 1 1 0 0 0 0 0 0 0
8 Maxim Integrated
MAX7219/MAX7221
Serially Interfaced, 8-Digit LED Display Drivers
Maxim Integrated 9
MAX7219/MAX7221
Serially Interfaced, 8-Digit LED Display Drivers
If the scan-limit register is set for three digits or less, fourth chip, sent the desired 16-bit word, followed by
individual digit drivers will dissipate excessive amounts three no-op codes (hex 0xXX0X, see Table 2). When
of power. Consequently, the value of the RSET resistor LOAD/CS goes high, data is latched in all devices. The
must be adjusted according to the number of digits dis- first three chips receive no-op commands, and the
played, to limit individual digit driver power dissipation. fourth receives the intended data.
Table 9 lists the number of digits displayed and the
corresponding maximum recommended segment cur- Applications Information
rent when the digit drivers are used. Supply Bypassing and Wiring
Display-Test Register To minimize power-supply ripple due to the peak digit
The display-test register operates in two modes: normal driver currents, connect a 10µF electrolytic and a 0.1µF
and display test. Display-test mode turns all LEDs on ceramic capacitor between V+ and GND as close to
by overriding, but not altering, all controls and digit reg- the device as possible. The MAX7219/MAX7221 should
isters (including the shutdown register). In display-test be placed in close proximity to the LED display, and
mode, 8 digits are scanned and the duty cycle is 31/32 connections should be kept as short as possible to
(15/16 for MAX7221). Table 10 lists the display-test reg- minimize the effects of wiring inductance and electro-
ister format. magnetic interference. Also, both GND pins must be
connected to ground.
Table 9. Maximum Segment Current for Selecting RSET Resistor and
1-, 2-, or 3-Digit Displays Using External Drivers
The current per segment is approximately 100 times
MAXIMUM SEGMENT the current in ISET. To select RSET, see Table 11. The
NUMBER OF DIGITS
CURRENT
DISPLAYED MAX7219/MAX7221’s maximum recommended seg-
(mA)
ment current is 40mA. For segment current levels
1 10 above these levels, external digit drivers will be need-
2 20 ed. In this application, the MAX7219/MAX7221 serve
only as controllers for other high-current drivers or tran-
3 30
sistors. Therefore, to conserve power, use RSET = 47kΩ
when using external current sources as segment dri-
Table 10. Display-Test Register Format vers.
(Address (Hex) = 0xXF) The example in Figure 2 uses the MAX7219/MAX7221’s
segment drivers, a MAX394 single-pole double-throw
REGISTER DATA analog switch, and external transistors to drive 2.3”
MODE AND2307SLC common-cathode displays. The 5.6V
D7 D6 D5 D4 D3 D2 D1 D0
zener diode has been added in series with the decimal
Normal point LED because the decimal point LED forward volt-
X X X X X X X 0
Operation age is typically 4.2V. For all other segments the LED
Display Test forward voltage is typically 8V. Since external transis-
X X X X X X X 1
Mode tors are used to sink current (DIG 0 and DIG 1 are used
as logic switches), peak segment currents of 45mA are
Note: The MAX7219/MAX7221 remain in display-test mode allowed even though only two digits are displayed. In
(all LEDs on) until the display-test register is reconfigured applications where the MAX7219/MAX7221’s digit dri-
for normal operation. vers are used to sink current and fewer than four digits
No-Op Register are displayed, Table 9 specifies the maximum allow-
The no-op register is used when cascading MAX7219s able segment current. RSET must be selected accord-
or MAX7221s. Connect all devices’ LOAD/CS inputs ingly (Table 11).
together and connect DOUT to DIN on adjacent Refer to the Continuous Power Dissipation section of
devices. DOUT is a CMOS logic-level output that easily the Absolute Maximum Ratings to calculate acceptable
drives DIN of successively cascaded parts. (Refer to limits for ambient temperature, segment current, and
the Serial Addressing Modes section for detailed infor- the LED forward-voltage drop.
mation on serial input/output timing.) For example, if
four MAX7219s are cascaded, then to write to the
10 Maxim Integrated
MAX7219/MAX7221
Serially Interfaced, 8-Digit LED Display Drivers
Table 11. RSET vs. Segment Current and Table 12. Package Thermal Resistance
LED Forward Voltage Data
VLED (V) THERMAL RESISTANCE
PACKAGE
ISEG (mA) θJA)
(θ
1.5 2.0 2.5 3.0 3.5
40 12.2 11.8 11.0 10.6 9.69 24 Narrow DIP +75°C/W
10 66.7 63.7 59.3 55.4 51.2 Maximum Junction Temperature (TJ) = +150°C
Maximum Ambient Temperature (TA) = +85°C
Maxim Integrated 11
MAX7219/MAX7221
Serially Interfaced, 8-Digit LED Display Drivers
AND2307SLC AND2307SLC
5 5
ANODE DP ANODE DP
7 7
ANODE A ANODE A
9 9
ANODE F ANODE F
6 6
ANODE B ANODE B
10 10
ANODE G ANODE G
4 4
ANODE C ANODE C
2 2
ANODE E ANODE E
1N5524B 3 3
ANODE D CATHODE ANODE D CATHODE
5.6V ±5%
8 8
23
SEG D
21
SEG E
20
SEG C
17
SEG G
16 5V
SEG B
15 MAX7219 19
SEG F V+ 4.7kΩ
14 MAX7221 0.1μF
SEG A
22 30kΩ
SEG DP
4.7kΩ
4 18 16
GND ISFT 4
9 NC1
GND 3
* * 7
COM1
NC2 IRF540
1 2 1
DATA IN DIN DIG 0
11 10 IN1 MAX394
12 8
LOAD (CS) LOAD (CS) DIG 1 IN2 COM2
13 2
CLOCK CLK NO1
9
NO2
12 Maxim Integrated
MAX7219/MAX7221
Serially Interfaced, 8-Digit LED Display Drivers
8 8 8 8
Maxim Integrated 13
MAX7219/MAX7221
Serially Interfaced, 8-Digit LED Display Drivers
SEG A SEG D
SEG F
14 Maxim Integrated
MAX7219/MAX7221
Serially Interfaced, 8-Digit LED Display Drivers
Package Information
(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.)
SOICW.EPS
INCHES MILLIMETERS
N DIM MIN MAX MIN MAX
A 0.093 0.104 2.35 2.65
A1 0.004 0.012 0.10 0.30
B 0.014 0.019 0.35 0.49
C 0.009 0.013 0.23 0.32
e 0.050 1.27
E H
E 0.291 0.299 7.40 7.60
H 0.394 0.419 10.00 10.65
L 0.016 0.050 0.40 1.27
VARIATIONS:
1
INCHES MILLIMETERS
TOP VIEW DIM MIN MAX MIN MAX N MS013
D 0.398 0.413 10.10 10.50 16 AA
D 0.447 0.463 11.35 11.75 18 AB
D 0.496 0.512 12.60 13.00 20 AC
D 0.598 0.614 15.20 15.60 24 AD
D D 0.697 0.713 17.70 18.10 28 AE
A C
e B A1 0∞-8∞
L
FRONT VIEW
SIDE VIEW
PROPRIETARY INFORMATION
TITLE:
Maxim Integrated 15
MAX7219/MAX7221
Serially Interfaced, 8-Digit LED Display Drivers
PDIPN.EPS
16 Maxim Integrated
MAX7219/MAX7221
Serially Interfaced, 8-Digit LED Display Drivers
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. The parametric values (min and max limits) shown in the Electrical
Characteristics table are guaranteed. Other parametric values quoted in this data sheet are provided for guidance.
Maxim Integrated 160 Rio Robles, San Jose, CA 95134 USA 1-408-601-1000 17
© Maxim Integrated The Maxim logo and Maxim Integrated are trademarks of Maxim Integrated Products, Inc.