Вы находитесь на странице: 1из 29

isplay Driv Digit LED D erfaced, 8Serially Int

cription General Des

ers

The MAX7219/MAX7221 are compact, serial input/out- put common10MHz Serial Interface c cathode display drivers that interface microprocessors (Ps) to 7-segment numeric LED I Individual LED Segment Control dis- plays of up to 8 digits, bar-graph displays, or 64 indiD Decode/No-Decode Digit Selection vidual LEDs. Included on-chip are a BCD code-B decoder, 150A Low-Power Shutdown (Data multiplex scan circuitry, segment and digit drivers, and R Retained) an 8x8 static RAM that stores each digit. Only one external resistor is required to set the seg- ment current D Digital and Analog Brightness Control f for all LEDs. The MAX7221 is compatible Display Blanked on Power-Up w with SPI, QSPI, and MICROWIRE, and has slew- Drive Common-Cathode LED Display rate-limited segment drivers to reduce EMI. ew-Rate Limited Segment A convenient 4-wire serial interface connects to Drivers for Lower EMI all common Ps. Individual digits may be addressed (MAX7221) S and updated without rewriting the entire display. The l SPI, QSPI, MICROWIRE Serial Interface (MAX7221) MAX7219/MAX7221 also allow the user to select code- B 24-Pin DIP and SO Packages d decoding or no-decode for each digit. The devices include a 150A low-power shutdown mode, analog and digital brightness control, a scan-

Features

ormation Ordering Inf limit register that allows the user to display from 1 to 8
PACKAGE

PART

TEMP RANGEPIN-

digits, and a test mode that forces all LEDs on. For applications requiring 3V operation or segment
MAX7219CNG MAX7219CWG0C to +70C 0C to +70C24 Narrow Plastic DIP 24 Wide SO blinking, refer to the

Applications

MAX6951 data sheet.

MAX7219C/D0C to +70C MAX7219ENG -40C to +85CDice* 24 Narrow Plastic DIP

f data sheet. MAX7219EWG


SO

-40C to +85C

24 Wide

Bar-Graph Displays Industrial Controllers


T

Panel Meters MAX7219ERG nued at e LED Matrix Displays rmation conti


Ordering Info fied at

ation
+25C.

it
*Dice are speci
A=

Pin Configur
TOP VIEW
DIN DIG 0 DIG 4 3 422 21 20SEG DP SEG E 9 9.53kSEG C 19 V+ GND DIG 6 1 2 24 23

ication Circu Typical Appl


DOUT SEG D

18+5V

MAX72195 MAX7221
DIG 0 DIG 7 DIG 3 DIG 2 6 7 19 V+ DIGITS 18 ISET 1

ISET

MAX7219

DIG 7 8 SEG G GND 9 I/OLOAD (CS)

MOSIDINMAX7221 17 12 16 SEG B

r Corp.
13 SCK CLK SEG AG, DIG 5 10 1115 14SEG F SEG Al Semiconducto 9 GNDark of

Nationa

GNDSEG DP8 SEGMENTS DIG 1 LOAD (CS) 12 ) MAX7221 ONLY

13 CLK

RE is a tradem4 Inc. MICROWI s of Motorola are trademark SPI and QSPI

D IP/SO
) MAX7221 ONLY 8-DIGIT P DISPLAY

7/03 19-4452; Rev

isplay Driv Digit LED D erfaced, 8Serially Int


ABSOLUTE MAXIMUM RATINGS
Voltage (with respect to GND) V+............................................................................-0.3V to 6V DIN, CLK, LOAD, CS...............................................-0.3V to 6V All Other Pins.............................................-0.3V to (V+ + 0.3V) Current Lead Temper ature (solderi ng, 10s)...... ............. ............. . +300C
s only, and fu sure to

ers

MINto TMAX) Operating Temperature Ranges (T MAX7219C_G/MAX7221C_G..............................0C to +70C MAX7219E_G/MAX7221E_G............................-40C to +85C nctional

Storage Temperature Range.............................-65C to +160C

DIG 0DIG 7 Sink Current..............................................500mA SEG AG, DP Source Current........................................100mA Continuous Power Dissipation (TA= +85C) Narrow Plastic DIP (derate 13.3mW/C above +70C)..............................................................1066mW
manent dama ay cause perin the operati o s

e stress rating implied. Expo ice. These ar ations is not ge to the dev of the specific

Wide SO (derate 11.8mW/C above +70C).................941mW


solute Maxim

Narrow CERDIP (derate 12.5mW/C above +70C)...1000mW ed under Ab


ond those list these or any xtended perio Stresses bey he device at onditions for e operation of tmum rating c absolute maxi

other conditio

n s

ELECTRICAL CHARACTERISTICS
(V+ = 5V 10%, RSET = 9.53k1%, TA= TMINto TMAX, unless otherwise noted.) PARAMETER CONDITIONS MINTYPMAX Operating Supply Voltage UNITS V+ 4.0 5.5 I+ 150 RSET= open circuit Operating Supply Current segments and decimal point on, ISEG_= -40mA Display Scan Rate digits scanned 5008001300 Digit Drive Sink Current = 5V, VOUT= 0.65V Segment Drive Source Current
+25C, V+ = 5V, VOUT= (V+ - 1V)

SYMBOL

Shutdown Supply Current digital inputs at V+ or GND, TA= +25C 8

V All A All

I+ 330 mA fOSC

Hz IDIGIT V+ 320 mA ISEG TA= -30-40-45 mA I


S E G/t

Segment Current Slew R Rate (MAX7221 only) S Segment Drive Current Matching Digit Drive Leakage (MAX7221 only) IDIGITDigit off, VDIGIT= V+-10A Segment Drive Leakage (MAX7221 only) ISEGSegment off, VSEG= 0V1A Digit Drive Source Current (MAX7219 only) IDIGITDigit off, V -2DIGIT= (V+ - 0.3V)mA Segment

T
+25C, V+ = 5V, VOUT= (V+ - 1V)

102050 mA/s ISEG 3.0 %

Drive Sink Current (MAX7219 only)

ISEGSegmen t off, V 5SEG=


0.3VmA

isplay Driv Digit LED D erfaced, 8Serially Int


ELECTRICAL CHARACTERISTICS (continued)
(V+ = 5V 10%, RSET = 9.53k1%, TA= TMINto TMAX, unless otherwise noted.) PARAMETER SYMBOL CONDITIONS LOGIC INPUTS Input Current DIN, CLK, LOAD, CS IIH, IILVIN= 0V or V+-11A Logic High Input Voltage VIH3.5V Logic Low Input Voltage VIL0.8V Output High Voltage VOHDOUT, ISOURCE= -1mAV+ - 1V Output Low Voltage VOLDOUT, ISINK= 1.6mA0.4V H Hysteresis Voltage VIDIN, CLK, LOAD, CS1V TIMING CHARACTERISTICS CLK Clock Period t CP CLK Pulse Width High t CH CLK Pulse Width Low t CL CSS CSFall to SCLK Rise Setup Time (MAX7221 only) t CLK Rise to CSor LOAD Rise Hold Time DIN Setup Time DIN Hold Time Output Data Propagation Delay Load-Rising Edge to Next Clock Rising Edge (MAX7219 only) Minimum CSor LOAD Pulse High Data-to-Segment Delay t
CSH

ers

MINTYPMAX

UNIT S

100 50 50 t
CSW

ns ns ns n s 50 2. n 25 s ns ns m 25 ns s ns ns

t
DS

t
DSPD

t
DH

25 0 C 25 0 50

t
DO LOAD= 50pF

t
LDCK

isplay Driv Digit LED D racteristics erfaced, 8erating Cha __Typical Op Serially Int ______________
_____________ _____________
(V+ = +5V, T
A = +25C, unless otherwise noted.) 810 800 790 780 760 20 10RSET = 40k 750 740 730 0 4.04.44.85.25.66.0 012345 POSITIVE SUPPLY VOLTAGE (V) OUTPUT VOLTAGE (V) RSET = 20k 30770 830 70 820 60

ers

SCAN FREQUENCY vs. POSITIVE SUPPLY VOLTAGE

SEGMENT DRIVER OUTPUT CURRENT vs. OUTPUT VOLTAGE


MAX7219 MAX7219 /21 01

RSET = 10k 50 40
/21 02

SEGMENT OUTPUT CURRENT


MAXIMUM INTENSITY = 31/32 MAXIMUM INTENSITY = 15/16

10mA/div 0 s/div s/div

10mA/div 0

isplay Driv Digit LED D erfaced, 8Serially Int

ers

PIN NAMEFUNCTI ON 1 DINSerial-Data Input. Data is loaded into the internal 16bit shift register on CLKs rising edge. 3, 58, DIG 0DIG 7 11 9 GND (MAX7219) 12 LOAD CS (MAX7221) 13 CLK 1417, SEG ASEG G, 2023 18
Selecting

ion Pin Descript


DP Eight-Digit Drive Lines that sink current from the display common cathode. The MAX7219 pulls the digit outputs to V+ when turned off. The MAX7221s digit drivers are highimpedance when turned off. Ground (both GND pins must be connected) Load-Data Input. The last 16 bits of serial data are latched on LOADs rising edge. Chip-Select Input. Serial data is loaded into the shift register while CSis low. The last 16 bits of serial data are latched on CSs rising edge. Serial-Clock Input. 10MHz maximum rate. On CLKs rising edge, data is shifted into the inter- nal shift register. On CLKs falling edge, data is clocked out of DOUT. On the MAX7221, the CLK input is active only while CSis low. Seven Segment Drives and Decimal Point Drive that source current to the display. On the MAX7219, when a segment driver is turned off it is pulled to GND. The MAX7221 segment dri- vers are high-impedance when turned off. Connect to V ISET

l Drivers Using Externa


DDthrough a resistor (RSET) to set the peak segment current (Refer to

SETResistor and section). 19 V+Positive Supply Voltage. Connect to +5V. 24 DOUTSerial-Data Output. The data into DIN is valid at DOUT 16.5 clock cycles later. This pin is used to daisy-chain several MAX7219/MAX7 221s and is never highimpedance.

iagram Functional DR SEG ASEG G, DP


DIG 0DIG 7 SEGMENT DRIVERS

DIGIT DRIVERS 8 SHUTDOWN REGISTER V+ CODE B ROM WITH BYPASSMODE REGISTER INTENSITY REGISTER SCAN-LIMIT REGISTERINTENSITY PULSE-

WIDTH MODULATOR RSET SEGMENT CURRENT

8x8 8DISPLAY-TEST REGISTER REFERENCE

DUAL-PORT SRAM ADDRESS 8 REGISTER 8

MULTIPLEX SCAN CIRCUITRY

LOAD (CS) 4 DECODER D0DIN D1D2D3D4D5D6D 7D8D9D10D11D1 2D13D14D15DOU ) MAX7221 ONLY

T CLK (LSB) (MSB)

isplay Driv Digit LED D erfaced, 8Serially Int


CS OR LOAD tCSH t
CSS

ers

t
CSW

t
CL

t
CH

t
CP

t
LDCK

CLK tDH tDS DIND15 D14D1D0 t DOUT


DO

g Diagram Figure 1. Timin

Table 1. Serial-Data Format (16 Bits)


D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 X X X ADDRESS MSB MSB DATA LSB

cription
rs ntrol Registe

Detailed Des
X7221 Differ

ences Digit and Co Table 2 lists the 14 addressable digit and control r

egisMAX7219/MA ters. The digit registers are The MAX7219 and MAX7221 are identical except for two parameters: the MAX7221 segment drivers are slew-rate limited to reduce electromagnetic interfer- ence (EMI), and its serial interface is fully SPI compati- ble. sing Modes Serial-Addres For the MAX7219, serial data at DIN, sent in 16bit packets, is shifted into the internal 16-bit shift register with each rising edge of CLK regardless of the state of LOAD. For the MAX7221, CSmust be low to clock data in or out. The data is then latched into either the digit or control registers on the rising edge of LOAD/CS. LOAD/CSmust go high concurrently with or after the 16th rising clock edge, but before the next rising clock edge or data will be lost. Data at DIN is propagated through the shift register and appears at DOUT 16.5 clock cycles later. Data is clocked out on the falling edge of CLK. Data bits are labeled D0 D15 (Table 1). D8D11 contain the register address. D0D7 contain the data, and D12D15 are dont care bits. The first received is D15, the most significant bit (MSB). 8x8 dual-port SRAM. They are addressed directly realized with an on-chip, so that individual digits can be updated and retain data as long as V+ typically exceeds 2V. The control registers consist of decode mode, display intensity, scan limit (number of scanned digits), shutdown, and display test (all LEDs on). de Shutdown Mo When the MAX7219 is in shutdown mode, the scan oscil- lator is halted, all segment current sources are pulled to ground, and all digit drivers are pulled to V+, thereby blanking the display. The MAX7221 is identical, except the drivers are high-impedance. Data in the digit and control registers remains unaltered. Shutdown can be used to save power or as an alarm to flash the display by successively entering and leaving shutdown mode. For minimum supply current in shutdown mode, logic inputs should be at ground or V+ (CMOS-logic levels). Typically, it takes less than 250s for the MAX7219/ MAX7221 to leave shutdown mode. The display driver can be programmed while in shutdown mode, and shutdown mode can be overridden by the display-test function.

isplay Driv Digit LED D erfaced, 8Serially Int


Table 2. Register Address
ADDRESS

ers

-Up

Map
HEX

display is blanked, and the

MAX7219/MAX7221 enter
REGISTER

Program the prior to D11D10 D9 CODE display driver D12 D8 display use. Otherwise, it will initially be set to scan one No-Op X 0 0 0 0 0xX0 the intensity register will be set to its minimum value. Digit 0 Register
X 0 0 0 1 0xX1

D15

shutdow n mode.

Decode-Mode

Digit 1 X00 01 10 10xX2 0xX3The

decode-mode register sets BCD code B (0-9, E, H, L, P, and -) or no-decode operation for each digit. Each bit in the register corresponds to one digit. A logic high selects code B decoding while logic low bypasses the decoder. Examples of the decode mode control-register format are shown in Table 4. When the code B decode mode is used, the decoder looks only at the lower nibble of the data in the digit registers (D3D0), disregarding bits D4D6. D7, which sets the decimal point (SEG DP), is independent of the decoder and is positive logic (D7 = 1 turns the decimal point on). Table 5 lists the code B font. When no-decode is selected, data bits D7D0 correspond to the segment lines of the MAX7219/MAX7221. Table 6 shows the one-to-one pairing of each data bit to the appropriate segment line.
Digit 2 X0 Digit 3 X01 10 00 10xX4 0xX5 Digit 4 X0 Digit 5 X01 11 10

10xX6 0xX7 Digit 6 X0 Digit 7 X10 00 00 10xX8 0xX9 Decode Mode X1 Intensity X10 01 10 10xXA 0xXB Scan Limit X1 Shutdown X11 10 10 10xXC 0xXF Display Test X1

Table 3. Shutdown Register Format (Address (Hex) = 0xXC)


MODE (HEX) Shutdown Normal D7 D6 D5 ADDRESS CODE REGISTER DATA D4 D3 D2 D1

D0

Table 4. Decode-Mode Register Examples (Address (Hex) = 0xX9)


DECODE MODE DATA D7 D6 D5 No decode for digits 70 00 00 00 00 00 00 00 10x00 0x01 Code B decode for digit 0 No decode for digits 71 0 Code B decode for digits 30 No decode for digits 74 000011110x0F Code B decode for digits 70 D4 D3 D2 D1 D0 REGISTER HEX CODE

111111110xFF

isplay Driv Digit LED D erfaced, 8Serially Int


Table 5. Code B Font
7-SEGMENT 1 CHARACTER 0 1 2 3 4 5 6 7 8 9 EH LP D7* D6D4 X blank X X X X X X X REGISTER DATA X X X X X X X X D3 0 0 0 0 0 0 0 0 1 1 1 1 111 D2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 D1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 D0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 DP * A 1 0 1 1 0 1 1 1 1 1 0 1 0 0 1 B 1 1 1 1 1 0 0 1 1 1 0 0 1 0 1 C 1 1 0 1 1 1 1 1 1 1 0 0 1 0 0 D 1 0 1 1 0 1 1 0 1 1 0 1 0 1 0 E 1 0 1

ers

ON SEGMENTS = 0 0 0 1 0 1 0 0 1 1 1 1 F 1 0 0 0 1 1 1 0 1 1 0 1 1 11 1 G1 0 0 1 1 1 1 1 0 1 1 0 1 1

int is set by bit D7 = 111110000000 The decimal po

trol

Table 6. No-Decode Mode Data Corresponding Segment Lines


A

Bits and
The MAX7219/MAX7221 allow display brightness to controlled with an external resistor (R SET)
connected

between V+ and ISET.


F B G

The peak current sourced from the segment drivers is nominally 100 times the current adjustment from the front p panel. Its minimum value should be 9.53k , which typically sets the segment current at 40mA. Display brightusing the intensity register. m Digital control of display brightness is provided byo an internal pulse-width modulator, which isd controlled by u the lower nibble of the intensity register. The

entering ISET. This resistor can either be fixed or vari- able to allow brightness
ED C DP

STANDARD 7-SEGMENT LED

ness can also controlled digitally


REGISTER DATA

be by

lator
D7 D6 D5 D4 Corresponding D 3 D 2 D 1 D 0

m a it y

scales the average segment current in 16 steps from a ximum of 31/32 down to 1/32 of the peak current set
SET(15/16 to 1/16 on the MAX7221). Table 7 lists

by R
Segment Line DP A B C D E F G

i n

t e

n s

register format. The minimum interdigit blanking time is set to 1/32 of a cycle.

isplay Driv Digit LED D erfaced, 8MAX7219/MAX7221 Serially Int


Table 7. Intensity Register Format (Address (Hex) = 0xXA)
DUTY CYCLE D7

ers

HEX

MAX7219 MAX7221D6D 5D4D3D2D1D 0CODE 1/32 (min on) 1/16 X(min on)XXX00000x X0 3/32 2/16 XXXX00010xX1 5/32 3/16 XXXX00100xX2 7/32 4/16 XXXX00110xX3 9/32 5/16 XXXX01000xX4 11/32 6/16 XXXX01010xX5 13/32 7/16 XXXX01100xX6 15/32 8/16 XXXX01110xX7 17/32 9/16 XXXX10000xX8 19/32 10/16 XXXX10010xX9 21/32 11/16 XXXX10100xXA 23/32 12/16 XXXX10110xXB 25/32 13/16 XXXX11000xXC 27/32 14/16 XXXX11010xXD 29/32 15/16 XXXX11100xXE 31/32

15/16

X(max on)XXX11110xXF

Table 8. Scan-Limit Register Format (Address (Hex)


REGISTER HEX CODE D5 D4 D3 D2 D1 D0

= 0xXB)
SCAN LIMIT DATA D7 D6 Display digit 0 only* Display digits 0 & 1* X XX XX XX XX X0 00 00 10xX0 0xX1 Display digits 0 1 2* Display digits 0 1 2 3 X XX XX XX XX X0 01 10 10xX2 0xX3 Display digits 0 1 2 3 4 Display digits 0 1 2 3 4 5 X XX XX XX XX X1 10 00 10xX4 0xX5 Display digits 0 1 2 3 4 5 6 Display digits 0 1 2 3 4 5 6 7 X X plication.X XX XX XX X1 11 10 10xX6 0xX7 See Scan-Limit Register

section for ap

egister Scan-Limit R scanned. Since the number of scanned The scan-limit register sets how many digits are dis- played, from 1 to 8. They are displayed in a multiplexed manner with a typical display scan rate of 800Hz with 8 digits displayed. If fewer digits are displayed, the scan rate is 8f

digits affects the display brightness, the scan-limit register should not be used to blank portions of the display (such as leading zero suppression). Table 8 lists the scan-limit register format.
OSC/N, where N is the number of digits

isplay Driv Digit LED D erfaced, 8Serially Int


If the scan-limit register is set for three digits or less, individual digit drivers will dissipate excessive
amounts of power. Consequently, the value of the R
SETresistor

ers

must be adjusted according to the number of digits dis- played, to limit individual digit driver power
dissipation. Table 9 lists the number of digits displayed and the corresponding maximum recommended segment cur- rent when the digit drivers are used.

al Driv fourth chip, sent the desired 16-bit word, followed by three no-op codes (hex 0xXX0X, see Using E
Table 2). When LOAD/CSgoes high, data is latched in all devices. The first three chips receive no-op commands, and the fourth receives the intended data.

Current for Displays

1-,

2-,

or

3-Digit Selecti

SETRes

Information
iring

Register Display-Test The display-test register operates in two modes: normal and display test. Display-test mode turns all

Applications

LEDs on by overriding, but not altering, all controls and digit reg- isters (including the shutdown register). In display-test mode, 8 digits are scanned and the duty cycle is 31/32 (15/16 for MAX7221). Table 10 lists the display-test reg- ister format.

ssing and W Supply Bypa To minimize power-supply ripple due to the peak digit driver currents, connect a 10F electrolytic and a
0.1F ceramic capacitor between V+ and GND as close to the device as possible. The MAX7219/MAX7221 should be placed in close proximity to the LED display, and connections should be kept as short as possible to minimize the effects of wiring inductance and electromagnetic interference. Also, both GND pins must be connected to ground.

Table

9.

Maximum

Segment

MAXIMUM SEGMENT

The current per segment is approximately 100

times the current in ISET. To select R


SET, see Table 11. The NUMBER OF DIGITS DISPLAYED CURRENT (mA)MAX7219/MAX7221s

maximum recommended segment current is 40mA. For segment current levels above these levels, external digit drivers will be needed. In this application, the MAX7219/MAX7221 serve only as controllers for other high-current drivers or transistors. Therefore, to conserve power, use RSET= 47k when using external current sources as segment dri- 1
10 20 2 3

Table 10. Display-Test Register Format (Address (Hex) = 0xXF)


30

The example in Figure 2 uses the MAX7219/MAX7221s segment drivers, a MAX394


single-pole double-throw
REGISTER DATA

vers.
MODE

analog switch, and external 5

transistors to drive 2.3


D7 D6

AND2307SLC common-cathode displays. The

.6V
Normal X Operation Display Test X Mode D5 X X X X X X X X X X X X 0 1

ner diode has been added in series with the decimal point LED because the decimal point LED
forward volt- age is typically 4.2V. For all other segments the LED forward voltage is typically 8V. Since external transis- tors are used to sink current (DIG 0 and DIG 1 are used

D D D D D ze 4 3 2 1 0 Note: The MAX7219/MAX7221 remain in display-test mode (all LEDs on) until the display-test register is reconfigured for normal operation.

as logic switches), peak segment currents ofR 45mA are allowed even though only two digits aretion

ter No-Op Regis The no-op register is used when cascading MAX7219s ingly (Table 11). or MAX7221s. Connect all devices LOAD/CSinputs
together and connect DOUT to DIN on adjacent devices. DOUT is a

displayed. In applications where the MAX7219/MAX7221s digit dri- vers are used to sink current and fewer than four digits are displayed, Table 9 specifies the maximum allow- able segment current. CMOS logic-level output that easily to calcu sing Modes
SETmust be selected accord-

ower Dissipa imum Ratings Refer to the Continuous P section of the Absolute Max drives DIN of successively cascaded parts. (Refer to limits for ambient temperature, segment current, and the Serial Addres 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

isplay Driv Digit LED D erfaced, 8MAX7219/MAX7221 Serially Int


Table 11. RSETvs. Segment Current and Table 12. Package Thermal Resistance LED Forward Voltage Data
ISEG (mA) 1.5 40 12.2 24 Narrow 30 20 17.8 24 Wide 29.8 25.9 24.5 22.6 SO+85C/W 15.8 15.0 14.0 11.0 DIP+75C/W 10.6 9.69

ers

VLED(V) PACKAGE THERMAL RESISTANCE 2.0 2.5 3.0 3.5 ( JA)

24 CERDIP+80C/W 28.0 Maximum Junction Temperature (T


= +150C

10

66.7

63.7

59.3 55.4 Maximum Ambient Temperature (T

51.2
= +85C

tion ower Dissipa Computing P The upper limit for power dissipation (PD) for the MAX7219/MAX7221 is determined from the following equation: PD = (V+ x 8mA) + (V+ - V
LED)(DUTY x ISEGx N)

rivers Cascading D unconnected. If one display for 6 digits and the other for 5 digits, the sec- ond display will appear brighter because its duty cycle ter

where: = supply voltage DUTY = duty cycle set by intensity register N = number of segments driven (worst case is 8) V The example in Figure 3 drives 16 digits using a 3-wire P interface. If the number of digits is not a multiple of set both drivers scan limits registers to the same number so one display will not appear brighter than the other. For example, if 12 digits are need, use 6 digits per display with both scanlimit registers set for 6 digits so that both displays have a 1/6 duty cycle per digit. If 11 digits are needed, set both scan-limit registers for 6 digits and leave one digit driver
LED= LED forward voltage

ISEG= segment current set by RSET 1/6. Dissipation example: ISEG= 40mA, N = 8, DUTY = 31/32, VLED= 1.8V at 40mA, V+ = 5.25V PD = (5.25V x 8mA) + (5.25V - 1.8V) (31/32 x 40mA x 8) = 1.11W T Thus, for a CERDIP package ( JA= +80C/W
from

per digit will be 1/5 while the first displays will be

Table 12), the maximum allowed ambient temperature TAis given by: T
J(MAX)= TA+ PD x JA

150C = T
A+1.11W x 80C/W

where T
+61.2C.

The T
Alimits for PDIP and SO packages in the dissipation

example above are +66.7C and +55.6C, respectively. Refer to the No-Op Regis mation. section for additional infor-

isplay Driv Digit LED D erfaced, 8Serially Int

ers

AND2307SLC 5 ANODE DP 5 7 9 6ANODE DP ANODE A ANODE F ANODE B 7 ANODE A 9 ANODE F 6 ANODE B 10 ANODE G 10 4 2ANODE G ANODE C ANODE E 4 ANODE C 2 ANODE E 1N5524B 5.6V 5%

AND2307SLC

3 ANODE D

23 SEG D 21 SEG E 20 SEG C 17 SEG


G 16

CATHODE 8 8

5V ANODE D CATHODE

15 SEG B SEG F MAX7221 4 4.7k 14 SEG A 0.1F 22 3 30k SEG DP 18 16 4 4.7k 4 9 GND 4NC1 * 2 11 LOAD (CS) 13 1 NC2IRF540 DATA IN 10 IN1MAX394 LOAD (CS) 2 IN2COM2 CLOCK 12 DIG 1 CLK 9 NO1 NO2 5 1 DIN * GND

MAX7219

V+ 19

I 7 COM1 DIG 0 8

SFT

* *4.7k PULLUP REQUIRED FOR MAX7221

-5V

IRF540

isplays Driving 2.3in D 219/MAX7221 Figure 2. MAX7


) MAX7221 ONLY

isplay Driv Digit LED D erfaced, 8MAX7219/MAX7221 Serially Int

ers

88 DATA IN DIN DIG 0 DIG 4 GND DIG 6 DIG 2 DOUT SEG D SEG DP SEG E DIG 3 ISET 9 9.53k DIG 7 SEG G GND SEG B DIG 5 SEG F DIG 1 SEG A ) MAX7221 ONLYCLOCK LOAD DATA 0.1F DIG 3 ISET 5V SEG C V+ DIN DIG 0 DIG 4 GND DIG 6
DIG 2

8
SEG DP SEG E SEG C V+

5V

DOUT
SEG D

MAX7219 DIG 7 MAX7219


LOAD (CS) CL K
SEG G

LOAD (CS) GND CLK SEG B MAX7221 SEG F . 1 DIG 1 SEG A F

0 MAX7221 DIG 5

9 9.53k

ading MAX721 Figure 3. Casc

isplay Driv Digit LED D erfaced, 8Serially Int


Ordering Inf Chip Topogr PART ntinued) ormation (co

ers

aphy

TEMP RANGEPIN-PACKAGE MAX7221CNG MAX7221CWG MAX7221C/D 0C to +70C 0C to +70C 0C to +70C24 Narrow Plastic DIP 24 Wide SO Dice*GNDDIG 7DIG 3DIG 2DIG 6GND MAX7221ENG MAX7221EWG MAX7221ERG -40C to +85C -40C to +85C -40C to +85C24 Narrow Plastic DIP 24 Wide SO 24 Narrow CERDIPDIG 5DIG 4 fied at T

*Dice are

speci
DIN DOUT

+25C.

DIG 1

DIG 0

LOAD OR 0.093" (2.36mm) CS CLK SEG A SEG D SEG F SEG B ISETSEG C SEG G

SEG ESEG DP 0.080"


(2.03mm )

TRANSISTOR COUNT: 5267 SUBSTRATE CONNECTED TO GND

isplay Driv Digit LED D erfaced, 8MAX7219/MAX7221 Serially Int


(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.)

ers

ormation Package Inf

DIM A A1 B C MIN 0.093 0.004 0.014 0.009 E E 0.2910.2997.40 7.60 H 0.3940.41910.00 10.65 L
1

INCHES MAX 0.012 0.013 H

MILLIMETERS 0.104 MIN 0.35 0.019 2.35 0.23 0.10 MAX e0.050

2.65 0.30 0.49

0.32

1.27

0.0160.0500.40 1.27 VARIATIONS: INCHES MILLIMETERS DIM MIN MIN MAX NMS013 0.447 0.46311.3511.7 D D D A e B A1 FRONT VIEW C L MAX

TOP VIEW

D 0.398 0.41310.1010.5016AA D 518AB 0.512 13.00 0.496 12.60 20 AC 0.598 0.614 15.20 15.60 AD 18.10 AE 28 0.697 0.713 17.70

SIDE VIEW
0-8

PROPRIETARY INFORMATION TITLE:

PACKAGE OUTLINE, .300" SOIC


APPROVAL DOCUMENT CONTROL NO.

21-0042

REV.

11 B

isplay Driv Digit LED D erfaced, 8Serially Int


ormation (co Package Inf

ers

ntinued)

(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.)

isplay Driv Digit LED D erfaced, 8MAX7219/MAX7221 Serially Int

ers

Вам также может понравиться