0% found this document useful (0 votes)
128 views

Max

max

Uploaded by

Waltencir Souto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
128 views

Max

max

Uploaded by

Waltencir Souto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

W

O M.T
Y. C W
W .100 O M.T
19-2634; Rev 1; 11/05 WW .100Y.C M.TW
W O
.T W WW .100Y.C M.TW
OM W O
Y.C W WW .100Y.C M.TW
W.2-Wire OM Interfaced, 3V O to 5.5V, 4-Digit,
1 0 0 .T
W
WW .100Y.C M.TW WW .100Y.C M.TW
9-Segment W LED O Display WDrivers
WW .100Y.C M.TW
O with Keyscan
.T W WW .100Y.C M.TW
M W O
Y.CO .TW W WW 00Y.CO .TW WW .100Y.C M.TW
0 General Description Features

MAX6958/MAX6959
.10 M
CO MAX6958/MAX6959 W.1 Y.COM W W W .CO
WW 00Y.The W W W♦ 400kbps 0 Y
.102-Wire O T W
M. Interface
.100 multiplexed
W compact .T com- Serial
W .1 O M.T display drivers
mon-cathode W Winterface C OM
microprocessors
. ♦ W W5.5V Y .C W
.C Y W W3V to
100
Operation
WW .100Y to seven-segment
M .TW numeric W LED digits, . 100 or discrete M .T LEDs W .Digits O M.T
W O ♦ C
W
WW .100through
O
Y.C an.T SMBus™-
W and WIW 2
C-compatible 0 0 Y.C 2-wire.Tserial W WW .100Y.
Drive 4 plus 4 or
M .
8
TW Discrete LEDs
. 1 OM fixed ♦ Drive Common-Cathode
W O LED Digits
W interface. OM The 2-wire serial WW interface
Y.Cuses WWConstant-Current 0Y.C M.LED TW Segment Drive
0Y.C M
WW .100.8V/2.1V .TWthresholdsWfor compatibility
logic .1 0 0 with .T
2.5V
W ♦ 23mA . 1 0
WW driver OM WW 0Decode/No-DecodeY.C
O
W
WW .1and 0 Y .CO systems
3.3V
.T W when theW display
0 0 Y .Cis powered .T W ♦ W
Hexadecimal . 1 0 M.T
W Digit Selection
0 a 5V supply.
from M W . 1 O M W C O
W O .C W .
WW The 1
Y.C
00MAX6958/MAX6959 M .TW WW to .1four
drive up W 00Y7-segment M .TW ♦ 64-Step W Digital
W .100
Y
Brightness
O M.T
W
Control
. O ♦ C
W
WW digits, 0 Y .COdecimal
with .T Wpoints, plusWfour W discrete 0 0 C
Y.LEDs, or.TW WW .100Y.
Slew-Rate-Limited Segment
M .
Drivers
TW Reduced EMI
0
.1 7-segment . 1 if M the W♦ Debounces O
W
four .CO digits
M and eight discrete WW 0LEDs .CO
Ydiscrete WW
W(MAX6959
Up to Eight
Y.C
0Only)
Switches with n-Key
.TW
WW digits’ . 1 0 0 Y
decimal points
M .T W are not W
used, or up . 1
to 0
36 M .T Rollover
W . 1 0
O M
WW O Y.CInput Is.TDebounced
W
WWLEDs..1The .CO .Talso
0YMAX6959 W includesWtwo input 0ports,0Y.C oneM.TW ♦ IRQ Output WW When a0Key
1 0
W
or W 0
both of which O M may be configuredW . 1
asWa key-switch C O (MAX6959 Only)
W W .
.C OM
Y. a .T♦W20µA Low-Power Y W
WW reader,10
. 0Y.C automatically
which
M .TW scansWand debounces . 100 M
W
W .100
Shutdown O M.TRetained)
(Data
W O .C
WW of 0up
matrix
Wobtained .CO
to
0Ypolling
eight switches. WW .1status
Key-switch
.TW status registers 0by0Ycon-
.Cis .♦TWAutomotiveW W
Temperature Y
.100 Range .TW to +125°C)
M(-40°C
. 1 by O Minternal W or O M W .C O
WW the
figuring
W
0Y.C M .TW output. W W.100Y OM.TW
W .C ♦ Compact 16-Pin WWPDIP.1and 00YQSOPM .TW
Packages
. 1 0MAX6959 interrupt
W O
W Y.C
O include a hexadecimal
WW font Y.C .TW WWOrdering Y.C Information .TW
WWon-chip
Other
. 1 0 0features M .TW . 1 00for M W . 100 O M
seven-segment displays,
O multiplex scan W
circuitry, O .C
W
WWand cathode 0 Y.Cdrivers,.Tand W static RAM WWthat stores 0 0Y.C M.T W WW SLAVE
TEMP . 1 00Y PIN-M.TW PKG
anode 1 0 . 1 O
WThe .
.C O M WW display0Y.C
O PART
W RANGE W WW ADDRESS 0 Y.CPACKAGE W CODE
M.T
each digit. W peak
Y segmentWcurrent forWthe .T 0
W
digits is set . 1 00
internally toM .T
23mA. Display intensityW . 10is O M W .1 O
W O .C -40°C toW Y. C
adjusted WW using a1064-step 0Y.C internal .TWdigital brightness WW con- 1 00Y MAX6958AAEEM .TW W 0111000 . 100 16 QS OP
M .TWE16-1
. M W . O +125°C W O
W
trol. The MAX6958/MAX6959 .CO include a low-power WW shut-.100Y.C M.TW -40°C toW
W Y.C .TW
down mode, WW a scan-limit . 1 00Y register M .TW that allows the user to W . 100 OM
W Y.C
O
WW
W
which 100Y.
CO
MAX6958AAPE
TW +125°C W
W
0111000 16
00Y
C
.DIP P16-1
.TW
display from WWone to 1 0four
0 digits, and
. The LEDOdrivers M .T Wa test mode, . M . W . 1 O M
W W O Information continuedWat end of data .Csheet. .TW
WW .100Y.C M.TW
forces all LEDs on. are slew-rate-limit- Ordering
ed to reduce WW EMI. .100Y
.C .T W W . 1 00Y M
W .C OM WW 00Y.CO .TW TypicalW WW 00Y.CO
Operating Circuit W
The MAX6958/MAX6959 W W
. 1
Y
00 are availableM
W
.T in 16-pin PDIP W.1 W
O M W .1 O M.T
W andYare .COfully .specified .C WW .100Y. C
and QSOP packages
WWautomotive 00 temperature TWrange. W
over the W
1 00Y M .TW M .TW
-40°C to +125°C . 1 M W . O W O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW 8 8 8 8 WW .100Y.C M.TW
W O WW 00Y.CO .TW WW 00Y.CO .TW
WW .100Y.C Applications M. T W W µC W
W.1 Y.COM W
W.1 Y.COM W DIG0–DIG3 8
SDA SDA
W . C O W SEG0–SEG8
W
WW .10Audio/Video 0Y W W .100
SCL SCL
.T 5V W 00 .T
Set-Top Boxes W O M.T Equipment W .
IRQ
C OMIRQ/SEG9 V+
W W.1 Y.COM W
W . C W W Y W W 00 .T
Panel Meters W
W
00Y Machines
.1Vending O M.T
W
W .100 O M.T MAX6959
W W.1 Y.COM W
Y.C Controls WW .100Y .C INPUT1
W
White Goods WW .100
Industrial M.T
W
W
INPUT2
O M.T GND
W
W .100 OM
.T
W O C W .C W
WW .100Y.C M.TW WW .100Y. M .TW
Key0 W .100
Y
M.T
O W O DIG0/SEG0
W .C O
W
WW .100Y.C M.TW WW .100Y.C M.TW Key1 WW .100Y M.T
W
W O
DIG1/SEG1
W C O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW Key2
DIG2/SEG2 WW .100Y. M.T
W
W O W O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C M.TW
Key3
DIG3/SEG3

W O W O
WW 00Y.CO .TW WW .100Y.C
Key4
Pin Configuration, Functional Diagram, and Typical
WW .100Y.C M.TW
DIG4/SEG4

Application Circuit appear at W end of data1sheet.


W. OM WW 00Y.CO .TW WW
Key5

W W 0 Y . C W W
DIG5/SEG5
W
0 .T .1 Key6
M
W W.1 Y.COM W WW 00Y.CO .TW
DIG6/SEG6

W 00 .T W .1
Key7
M
W.1 Y.COM W WW 00Y.CO
DIG7/SEG7
SMBus is a trademark of Intel Corp.
W W 00 .T W
W.1 Y.COM W W W.1
W
________________________________________________________________ W Maxim Integrated Products 1
W
W .100 O M.T
For pricing, delivery, and ordering WW .information, .C please
W contact Maxim/Dallas Direct! at
1 00Y M.T
1-888-629-4642, or visit Maxim’s W
website at
.C Owww.maxim-ic.com.
WW .100Y
W
WW
W
O M.T
Y. C W
W .100 O M.T
WW .100Y.C M.TW
W O
.T W WW .100Y.C M.TW
OM W O
Y.C W WW .100Y.C M.TW
2-Wire Interfaced, W.1
0 0
OM
.T 3V to W5.5V, W Y.C
4-Digit,
O
WW .100Y.C M.TW W 0 0 M.T
W
9-Segment W LED O Display Drivers
WW .100Y.
W .1
C O with Keyscan
.T W WW .100Y.C M.TW M .TW
OM O W O
Y.CABSOLUTE W MAXIMUM W WW RATINGS 0 0 Y.C .T W WW .100Y.C M.TW
0 T
MAX6958/MAX6959

.10 . .1 M O
CO with
WW 00Y.(Voltage
M
W WW 00Y.CO .TW W WW 00Y.CDissipation .TW
T respect to GND.)W
. SDA .......................................................-0.3V
. 1 M
Continuous1Power
. M8.34mW/°C (TA = +70°C)
W . 1 O
V+, M
SCL, W O to +6V 16-Pin
W W QSOP .C
(derate O at above +70°C).....667mW
WW .100Y.C T W WW .100Y.C to M
All Other.Pins............................................-0.3V (V+.T
W
+ 0.3V) W16-Pin DIP . 1 00Y at 10.5mW/°C
(derate M .TW above +70°C) .........842mW
M W O
W .CO .TW
Current WW 00Y.CO .TW WW Temperature
Operating 0Y.C Range .TW
WW .100YDIG0/SEG0–DIG3/SEG3M
W
Sink Current . 1 M
..........................275mA MAX695_ W (T. 1 0 to T O ) M
...............................-40°C to +125°C
O W O MIN MAX
.C
W Y.C
WW .100DIG0/SEG0–SEG9 .T W Source Current 0 0 Y.C
WW .................................30mA .T W WW
Junction Temperature
. 1 0 M .TW
0Y......................................................+150°C
W SCL, SDA, W.1
OMINPUT1, INPUT2 ...........................................20mA OM W
Storage Temperature
0Y.C 10s)
Range O.............................-65°C to +150°C
WW .100Y.C M.TW WW .100Y.C M.TW Lead Temperature WW .10(soldering, W
M.T.................................+300°C
W O W O W W .C O
WW Stresses .C those W under “Absolute WWMaximum Y.C may cause .TWpermanent W to the.1device. 00Y These are .TWratings only, and functional
. 100Ybeyond
operation of the M .Tlisted
device at these or any other W
conditions. 100Ratings”
beyond O
those M indicated in the
damage
operational W
sections of the C O Mstress
specifications is not implied. Exposure to
W
WW absolute 0 Y .CO rating
maximum
.T W WW periods
conditions for extended 0 0
may
C deviceTreliability.
Y.affect . W WW .100Y. M .TW
0 . 1 M O
W.1 Y.COM W WW 00Y.CO .TW
W
WW .100Y.C M.TW
WW DC.1ELECTRICAL
0 0 .T CHARACTERISTICS W 1 M
W M
.COTA =.TTMIN W. .CO Typical WW A 0=0+25°C.) Y.C (Note
O
W
WW(V+ =.13V00toY5.5V, W to TMAX, unless WWotherwise 0 0 Ynoted. .T Wvalues are atW V+ = 5V, T1 .T1)
W O M W .1
C O M W W .
. C OM
WW .100Y. 0Y W
WW .10PARAMETER 0Y.C M.TW SYMBOL .TW
CONDITIONS
M
W
W .10MIN O
TYPM.T MAX UNITS
W Supply O W O .C
WW .100Y.C M.TW
Operating Voltage V+ WW .100Y.C M.TW WW .1030Y M.T
W 5.5 V
W O W C O
WW Supply .CO .TW WWdigital
ShutdownY .C all TAW= +25°C WW
mode, Y. 20 .T50 W
WShutdown
. 1 00Y Current M
ISHDN
. 1 00 at V+M.T
inputs T = T to +85°C W . 100 O M 125
µA
W O W . C O A MIN
W Y . C W
WW .100Y.C M.TW WW Intensity .10set 0Yto full, MT.AT=W+25°C W .100 5.9 OM.6.7 T
W O W C O W W .C W
WW .100Y.C M.TW Wno Wdisplay0load Y. W W .100
Y
M.T
Operating W Supply CurrentO I+ W
connected, .1 0INPUT1OM.T W . C O mA
WW .100Y.C M.TW W W 0Y.C TM
0open A =.T W to TMAX WW .100Y
TMIN
M7.5.TW
and INPUT2
W . 1 O W O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW
circuit WW .100Y.C M.TW
W TO = T WW 780 O
.C1050
Display Scan W
W W Rate 00Y.CO .TW fSCAN
WW .100Y.C A MMIN
4 digits scanned
.
to T
TW MAX W510 . 1 00Y M .TWHz
. 1 M W O
WW 00Y.CAO MIN.TWMAX
Keyscan Debounce Time t T = T to T 30.3 41 63 ms
W O DEBOUNCE W Y.C W
WW .100Y.C M.TW W
VLED = 2.4V, .1 M
TA = +25°C
W -19 W . 1
-23 0 0 -29O M .T
W O W O W .C
WW .1Current 00Y
.C .T W V+ = 4.5VWWto 5.5V.100YT.AC= TMIN M .toTTW MAX W
-18 Y
.100 -30 OM.mA TW
Segment Drive Source O M ISEG W O W Y. C
W 2V,W A.C -16WW W
WW .100Y.C M.TW VLED = W
= +25°C W
.100
TY
M.T
-29.5
W . 100T = T OMto.T W C O
W .CO .TW V+ = 3V to 5.5V
WW .100Y.C M.TW
A MIN TMAX -15.5 W Y.
-30.5
.TW
Segment Current WW Slew Rate. 1 00Y ∆IM /∆t
W
11 W . 100 O M
mA/µs
W O
WW4 .100Y.C %M.TW
SEG
W
WW Matching .CO ∆I .TW WW .100Y.C M.TW
Segment Drive Current
. 100Y MSEG W O
W .CO .TW WW 00Y.CO .TW WW .100Y.C M.TW
LOGIC INPUTS AND WWOUTPUTS 0 0 Y W .1 M
Input Leakage CurrentW W.1 Y.COM W
SCL WW 00Y.CO .TW W WW 00Y.CO .TW
W 00 IIH, IIL .T W .1 M -1 .1
+1 µA M
and SDA
W W.1 Y.COM W WW 00Y.CO .TW W WW 00Y.CO .TW
W 00 .T W .1 M
Logic High Input Voltage SCL, W.1 Y.VCIHOM W W W.1 Y.COM W 2.1 WW 00YV.CO .TW
W W 00 .T W
W .100 .T W.1 Y.COM W
SDA
W .C OM W W.1 Y.COM W W
Logic Low Input VoltageW SCL, W 00Y .TW W . 100 M .T W
0.8W.1 V
00 M.T
. 1 VIL
O M W O . C O
SDA
WW
W .C .TW WW .100Y.C M.TW WW .100Y M.T
W
Input Leakage Current INPUT1, W.1
00Y M W O W .C O
O W+1W .1µA
INPUT2 WW I.INH , IY.C INPUT_ =
00INL .TWV+ WW .100Y.C M-1 .TW 00Y M.T
W
1 M W O W O
Logic High Input Voltage INPUT1,
W
WW V.100Y.C M.TW
O
WW .100Y.C 0.7 .✕TW WW .100Y.C M.TW
W O M WV O
INPUT2 W INH
WW .100Y.C M.TW
O
WW .100Y.C V+ .T W WW .100Y.C
M W
Logic Low Input Voltage INPUT1, WW
Y .C O
W W WW 00Y.CO .TW 0.3 ✕WW
W V INL
.10 0 M.T .1 V
INPUT2
W C O W W . C OM V+
WW .100Y. W Y W
W O M.T
W
W .100 O M.T
W .C
WW .100Y.C M.TW W .100
Y
W O W
WW .100Y.C M.TW
2 _______________________________________________________________________________________ WW
W O
WW .100Y.C M.TW
W O
WW .100Y.C
W
WW
W
O M.T
Y. C W
W .100 O M.T
WW .100Y.C M.TW
W O
.T W WW .100Y.C M.TW
OM W O
Y.C W WW .100Y.C M.TW
W.2-Wire OM Interfaced, 3V O to 5.5V, 4-Digit,
1 0 0 .T
W
WW .100Y.C M.TW WW .100Y.C M.TW
9-Segment W LED O Display WDrivers
WW .100Y.C M.TW
O with Keyscan
.T W WW .100Y.C M.TW
OM W O
Y.CDC W
ELECTRICAL W WW 00Y.CO .TW (continued)
CHARACTERISTICS WW .100Y.C M.TW
0 T

MAX6958/MAX6959
.10 . .1 OM O
WW 00Y.(V+
M
CO= 3V toTW WTW Y .Cotherwise W Typical W WW at0V+0 Y=.C5V, TA =.T W
. 5.5V, TA = TMIN W to MAX, unless
. 1 0 0 M .T noted. values are 1
. M +25°C.) (Note 1)
. 1 O M W O W .C O
W
WW .100Y.C MPARAMETER .TW WW SYMBOL Y.C .TW CONDITIONS WW .100Y .TW TYP
W . 100 O M W C O MMIN MAX UNITS
W C O W . C W Y . W
WW .100Y.
Pullup to
M
V+ INPUT1,
.TW
INPUT2
W I
00Y
PULLUP
. 1 M .TW W
W . 100 O M .T 26.5 µA
W O SDA Output Low WWV O
.CISINK = 6mA, TA = -40°C to W +85°C .C 0.4
.TWTA = TMIN toWTMAX W.100Y OM.TW
IRQ/SEG9,
WW .10Voltage0Y.C M.TW W OLBK
. 1 00Y ISINK M = 4mA, 0.4
V
W O W C O W .C W
WW .1SDA .C Low W WWVOL(SDA) Y. .TW W .100
Y
M.T
00YOutput M .TVoltage W . 100 ISINKO=M 6mA
W C O 0.4 V
W . C O W Y .C W W W 0 Y . .T W
WW .100Y M.T
W W .100 .T 0
W.1 Y.COM W
W C O W W . C OM W
WW TIMING Y. CHARACTERISTICS W Y W W 00 .T
W .1=003V to 5.5V, O MT .T= T to T , Figure
W
W .100 O M.T W W.1 Y.COM W
W .C
WW .100Y.C M
(V+ 1, unless otherwise noted.)
W (Note 1)
Y W .100 .T
A MIN MAX
.TW W
W .100 O M.T W C OM
W O C W . .TW MAX UNITS
WW .100Y.C M.TW
PARAMETER
WW .100Y.
SYMBOL W
CONDITIONS
M.T
W .100
Y
MIN TYP
W
Serial Clock Frequency O fSCLWW C O W W .C OM 400 kHz
WW 0 0 Y.C .T W W 1 0 0Y. M .TW W . 1 00Y M .TW
1
. Time Between M a STOP . O W O
tBUF WW .C
BusW Free
W a START
Wand 0 Y .CO .TW
Condition W 0 0Y.C M.TW WW .11.3 00Y M.T
W µs
. 1 0 M W . 1 O W C O
WW .CO START .TW WW .100Y.C M.TW WW .100Y. .TW
WHold
. 00Y
Time (Repeated)
1 M tHD, STA W O W 0.6 O M µs
Condition W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C M.TW
W O W0.6 O
WW 00Y.CO .TW SU, STA WW WW .100Y.C M.TW
Repeated START Setup Time t µs
W 0 0 Y.C . T W
1 . 1 M O
STOP Condition
WW
. Setup Time
CO
M t SU, STO
WW .CO .TW WW 00Y.C
0.6
W µs
µs
Time 00Y. W W 0 Y W .T
DataW Hold
W.1 Y.COM WtSU, DAT
.T HD, DAT
t (Note 3) .10 M W.1 Y.COM W 0.9
Data Setup W Time W WW 00Y.CO .TW W W100 00 .T ns
W .100
WPeriod O M.T tLOW W .1
.C O M W W.1 Y.COM Wµs
SCL ClockW Low
Y.C W WW .100Y M.T
W W 1.3
.100 .T
W
SCL Clock HighW .100
Period O M.T tHIGH W C O 0.6WW .C OM µs
W
Rise TimeW
W 0Y.C SCL M.T
W WW .100Y. M.T
W W .10+0
Y
M.T
of Both SDA
W .10and O W O W W 20
.C O
WW .100Y.C M.TW W 0.1C.1B00Y W
t (Notes 2, 4) 300 ns
WW .100Y.C M.TW
R
Signals, Receiving
W O W O M.T
W O WW 20 +.100Y .C
Fall Time of Both WWSDA and 0 Y.C
0SCL .TtF W (Notes 2, W4)W .100Y.C M.TW 300 OMns
.TW
. 1 M W O W C
Signals, Receiving W O
WW .100Y.C M.TW WW 0.1CB Y. .TW
WW .100Y.C M.TW W . 100 O M
W O
O tF 0Y.C nsM.TW
W 20 +
W
WW .100Y.C M
Fall Time of SDA Transmitting
.TW
(Notes 2, 5) WW .100Y.C M.TW W0.1C BW.1
0250
O O
Pulse Width of Spike WW
W
Suppressed 0 Y .COtSP .TW(Note 6) WWW 00Y.C .T W W50 W
. 1 0 0 Y.C ns .TW
M
.10 OM .1 M WW 00Y.CO .TW
Capacitive Load for Each W WBus Y .C W W WW 00Y.CO .TW W
W 00 CB .T .1 M 400 .1 pF M
Line
W W.1 Y.COM W WW 00Y.CO .TW W WW 00Y.CO .TW
W 00 .T W .1 M
Note 1: All parameters tested Wat.1TA =+25°C. .C OM Specifications over temperature W W.1 are Y OM by design.
guaranteed
.C W WW 00Y.CO .TW
W W W
Note 2: Guaranteed by Wdesign. .100Y
W M.Tof at least 300ns forW
Otime
W
WSDA.100 .T
OM to VIL of the SCL signal) W W.in 1 M
.toCO .TW
Note 3: A master device must W provide a hold .C W the signalY .C (referred W W order
0 0 Y
W region Y falling.Tedge.
.10of0 SCL’s O
W 00 .T W.1 Y.COM W
bridge the undefined
W .C
M W W.1 Y.COM W W
Note 4: CB = total capacitance WW of one bus
.100 of O
Yline in pF..tTR W and tF measured W between 0 and M
.100.3V+ .T
0.7V+. W 100 OM
.T
Note 5: ISINK ≤ 6mA. CB = total capacitance W C
Mbus line in pF. tR and W
one W
tF measured . C
betweenO 0.3V+ and 0.7V+. WW. Y .C W
Note 6: Input filters on the SDA WWand SCL 1
Y. suppress
00inputs M .TW noise spikes W less than 50ns.
. 100
Y
M .TW W
W .100 OM.T
. W O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C M.TW
W O W O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C
W W .C O
W WW 00Y.CO .TW W WW
W 0 0 Y .T W .1 M
W W.1 Y.COM W WW 00Y.CO .TW
W 00 .T W .1 M
W W.1 Y.COM W WW 00Y.CO
W 00 .T W
W.1 Y.COM W W W.1
W
_______________________________________________________________________________________ W 3
W
W .100 O M.T
WW .100Y.C M.TW
W O
WW .100Y.C
W
WW
W
O M.T
Y. C W
W .100 O M.T
WW .100Y.C M.TW
W O
.T W WW .100Y.C M.TW
OM W O
Y.C W WW .100Y.C M.TW
2-Wire Interfaced, W.1
0 0
OM
.T 3V to W5.5V, W Y.C
4-Digit,
O
WW .100Y.C M.TW W 0 0 M.T
W
9-Segment W LED O Display Drivers W
WW .100Y.
.1
C O with Keyscan
.T W WW .100Y.C M.TW M .TW
M
.CO .TW WW 00Y.CO .TW WW
W CO
0Y.Operating
0 Y W 1 0 .TW Characteristics
MAX6958/MAX6959

.1 0 M . 1 M Typical W . O M
WW 00Y.(V+ CO= 5V, T WW= 2.4V,
W
T0AY
CO
=. +25°C, unlessTW otherwise W
W 00Y
.C W
. 1 M . W forward voltage
LED
W . 1 0
O M . noted.)
W . 1 O M.T
W O WW .100Y .C
WW .100Y.C M.TW WW .100Y.C M.TW M.T
W
W O W O DEBOUNCE TIMEW W ) Y. C O
SCAN RATE (fSCAN)W .C KEYSCAN W (tDEBOUNCE .TWvs.SCAN
WW .100Y.C M.TW
RATE (fSCAN)
vs. TEMPERATURE W . 1 00Y M .TWvs. TEMPERATURE W . 100 O M SUPPLY VOLTAGE
W O
W 800 O
WW .100Y.C M.TW WW .100Y.42.5 C
.TW WW .100Y.C790 M.TW
MAX6958/59 toc01

MAX6958/59 toc02

MAX6958/59 toc03
M WW 00Y.785 CO
W 795 O
Y.C
5.5V
WW 00Y.CO .TW 3V W W
WW .100790 M T
. 5V W W
W . 1 42.0 OM KEYSCAN DEBOUNCE TIME (ms) W . 1 O M.T
W O W .C
WW .10785 0Y.C 4.5V .TW WW .100Y.C M.TW4.5V W Y
.100 780 OM.T
W
M W

SCAN RATE (Hz)


W O C
SCAN RATE (Hz)

W .CO .TW WW .1041.5 0Y.C M.TW 5V W


W Y. W
WW .1780 00Y M W O W .100775 OM.T
W .CO .TW 3V WW .141.000Y.C M.TW WW .100Y.C M.TW
5.5V
WW .775 1 00Y M W O
W O
W770
WW 765.100Y.C M.TW
O
WW .100Y.C M.TW WW .177000Y.C M.TW
W40.5 O W O
W O
WW .100Y.C M.TW WW 765 Y.C W
WW 760 .100Y.C M.TW W . 1 0 0
O M.T
O W O .C
W
WW755 .100Y.C M.TW WW 40.0 .100Y.C M.TW WW 760.100Y M.T
W
W O W C O
W CO WW .100Y.CTEMPERATURE WW .100Y. SUPPLYMVOLTAGE
-40 -20 0 20 40 60 80 100 120 -40 -20 0 20 40 60 80 100 120 3.0 3.5 4.0
WW .100Y.TEMPERATURE .T W
(°C) .T W
(°C) .T4.5W(V) 5.0 5.5
M M W O
W .CO .TW WW 00Y.CO .TW WW .100Y.C M.TW
WW KEYSCAN 0 0 Y W .1
W.1 DEBOUNCE M
TIME (tDEBOUNCE)
WW SEGMENT OM CURRENT
.CSOURCE WW SEGMENT CO SOURCE CURRENT
Y.SUPPLY
WW .1vs. 0 Y .COVOLTAGE
SUPPLY
. T W W 0 0
vs.YSUPPLY .
VOLTAGET W W . 1 0 0vs. M .TW
VOLTAGE
0 M W . 1 O M W C O
W O WW .100Y .
WW .100Y.C M.TW
42.2 25 25 W
WW .100Y.C M.TW
MAX6958/59 toc04

M.T
MAX6958/59 toc05

MAX6958/59 toc06
42.0
W O W C O
WW 00Y.CO .TW WW .100Y.C M.TW
W Y. .TW
100
SEGMENT SOURCE CURRENT (mA)

W SEGMENT SOURCE CURRENT (mA)


KEYSCAN DEBOUNCE TIME (ms)

41.8 W 20 20 . M
. 1 M W O W O
41.6
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C M.TW
W O W O
O WW .100Y.C M.TW
W 15 15
41.4
WW .100Y.C M.TW WW .100Y.C M.TW
41.2
W W .C O
W WW 00Y.CO .TW 10 W
WW 00Y.CO .TW
Y 10 W
41.0
W
W .100 O M.T W .1
. C OM W W.1 Y.COM W
C W W
40.8 WW .100Y. M.T
W W .100
Y
M.T
W 00
W.1 Y.COM W
.T
W O 5
W W .C O 5
W
40.6 WW .100Y.C M.TW W .100
Y
M.T
W W 00
W.1 Y.COM W
.T
W O VLED = 2.4V W .C O VLED = 2V
W
40.4 W Y.C W 0 4.50 WW 5.00.100Y M.T
W 0 W .104.50 5.0 OM5.5.T
3.0 3.5 W 4.0
W .100 5.0 O5.5M.T
4.5 4.75
W
W VOLTAGE0(V)0Y.
5.25
C O 5.50 3.0 3.5
W W
4.0
.C W
WWVOLTAGE.1(V)00Y.C M.TW
SUPPLY W
SUPPLY
. 1 M .TW WSUPPLY VOLTAGE
. 1 00(V)Y M.T
W O W O W W .C O
WW .10WAVEFORM 0Y.C M TW
AT .DIG0/SEG0,
WW .100Y.CINPUTMPULLUP .TWCURRENT W W.100Y OM.TW
W O
W
WW .100YFULL .COINTENSITY .T W WW .100Y.C vs. TEMPERATURE .T W WW .100Y.C M.TW
OM W45 OM W O
W
WW 40 .100Y.C M WW .100Y.C M.TW
MAX6958/59 toc08
MAX6958/59 toc07

WW .100Y.C M.TW .T W
W O
W O 5.5V
W
WW .100Y.C M.TW
O
WW35 .100Y.C M.T5VW WW .100Y.C M.TW
INPUT PULLUP CURRENT (µA)

W W .C O
W W 30
W Y .CO .TW 4.5V W WW 00Y.CO .TW
W 00 Y .T W .10 0 M .1 M
W W.1 Y.COM W WW 00Y.CO .TW
25
W WW 00Y.CO .TW
W 00 .T W .1 M
W.1 Y.COM W 20
W W.1 Y.COM W WW 00Y.CO .TW
W W 0 0 .T W .1
W 00 .T W.1 Y.3VCOM W M
W.1 Y.COM W WW 00Y.CO
15
W W W 00 .T W
W .100 M.T W.1
10
VDIG0/
W .C O W W.1 Y.COM W W
W W W
Y W .100 .T
5
W .100 M.T
SEG0
1V/div
W C O 0 W W . C OM
WW 200µs/div Y. W Y 80 100.TW
.100 M.T -40W-20 0 .20
W 10040 60 O M 120
W W .C O W TEMPERATURE Y C
.(°C)
W 00 Y .T W W 0 0
W.1 Y.COM W W W.1
W W
4 _______________________________________________________________________________________
00 .T W
W W.1 Y.COM W
W
W .100 O M.T
WW .100Y .C
W
WW
W
O M.T
Y. C W
W .100 O M.T
WW .100Y.C M.TW
W O
.T W WW .100Y.C M.TW
OM W O
Y.C W WW .100Y.C M.TW
W.2-Wire OM Interfaced, 3V O to 5.5V, 4-Digit,
1 0 0 .T
W
WW .100Y.C M.TW WW .100Y.C M.TW
9-Segment W LED O Display WDrivers
WW .100Y.C M.TW
O with Keyscan
.T W WW .100Y.C M.TW
M W O
Y.CO .TW W WW 00Y.CO .TW WW .100Y.C M.TW Pin Description
0

MAX6958/MAX6959
.10 M .1 M W O
WW 00Y.CO .TW W WW 00Y.CO .TW WW .100Y.C M.TW
W.1 Y.COM W
PIN .1
NAME Y.CO
M WW 0FUNCTION O
WW W W 0 Y.C W
WW
. 100 MAX6958
M .T MAX6959 W
W . 10 0
O M .T
W .1 O M.T
W O .C Data.TI/O WW .100Y. C
WW .100Y.C 1 M.TW 1 WWSDA .100YSerial M
W M .TW
W O W O
W
WW .100Y.C3 M.TW —
2O 2
WW .100Y.C M.TW
SCL Serial Clock Input
WW .100Y.C M.TW
W O W current O
WW .100Y.C M.TW
W O SEG9 Segment Output. Segment driver sourcing to a display anode.
WW .100Y.C M.TW WW .10Interrupt 0Y.C orM .T W
Segment Output. May be segment
WW driver Osourcing current to a display
W — CO
. 3 IRQ/SEG9 WW anode, Y .CorOopen-drain W W 0 Y.C logic output. W
W W
. 1 00 Y
M .T W W
W . 10 0
O M .T interrupt output, or
W . 0
open-drain
1 O M.T
W O .CSegment W sink00current C
Y. from the W
WW 4–7, Y.C
0011–15 W
.T11–15 WW .Digit 100 when
Y
and
M
W
.TDrivers. Digit XW outputs
.1 X driversOsource M.T current to the display
display common
. 1 M W O W
W O 4–7, DIGX, SEGX
WW anodes.
cathode
.C acting as digit drivers. Segment
WWimpedance Y.C turned W
WW .100Y.C M.TW . 1 00YSegment/digit M .TWdrivers are high W . 100 when O M .Toff.
W O
W
WW .1800Y.C M8 .TW
O GNDWW Ground0Y.C
0 .TW WW .100Y.C M.TW
. 1
W Connect. Connect O M W O
W9, 10
WW .100Y.C M.TW
O— N.C.
WW .100Y.C M.TW
No to V+ or leave open. WW .100Y.C M.TW
W— .C O9 INPUT1 WW
W
General-Purpose
Y .COInput .Port W 1 with Internal Pullup.
W WW May 0be CO
Y.configured as
Wgeneral-
W W 0 0 Y .T W purpose 1 0 0
logic input or
M T
keyscan input. Connect to .
V+ 1 0
or leave open M .Tunused.
if
W.1 OM . WW 00Y.CO .TW
WW 00Y.CO .TW
WW— .100Y.C10 M.TWINPUT2 WGeneral-Purpose 1 InputM Port 2 with Internal W Pullup. May.1 be configured M as general-
W O W. logic input C O W W CO if unused.
.open
W W 00Y
.C
.T W W W
purpose
1 00 Y . or keyscan
M .T W input. Connect W to V+ or leave
. 10 0 Y
M .TW
. 1 M .
WSupply Voltage O W O
16 W
WW .100Y.C M.TW
16 O V+
WW .100Y.C M.TW
Positive
WW .100Y.C M.TW
WW O
W .C O WW 00Y.CO W W 0 Y.Cmultidigit W
W W
. 1 00 Y Detailed
M .T W Description
W
W . 1
MAX6958/MAX6959
O M .T can also
W
drive
0
.1 individually O M.Tpinned LED dis-
W C O W .C plays that
W have the segments
W Y .C TW
for
WW .100Y. serially
The MAX6958/MAX6959
.T Winterfaced W display dri-00Y
. 1 each M .T
digit. W . 1 0 0 M .
vers drive up Wto: four M
7-segment
.CO points
digits plus four WWdis- 00Y.To COconnect W
WW displays 0Y.to CO
crete LEDs WW if the 0 0 Y
decimal .T W are used, W or four 1 M .T Wfour single-digit . 1 0 .TW
theMMAX6958/
. 1 M . W O
7-segment W W plusYeight
digits .CO discrete W LEDs if the
W
WWdeci-.100Y .CO .TW
MAX6959, connect cathode WW outputs .CDIG0/SEG0–
00Ydisplay .TW as
mal points W are not.1used, 00 or 36 M .T
discrete LEDs. Table 1 DIG3/SEG3 M to the cathodes of Wthe . 1four O Mdigits
W O W O W .C
WW connection .C .TW WW .100shown Y.C in Table .TW 1 (CC0–CC3). W Y
.100 eight Oadditional
Drive M.T
W
lists the display
. 1 00Y scheme. M W O M W .C
W
WW .100Yinclude
The MAX6958/MAX6959 .CO the .T hexadecimal
W WfontW 0
LEDs
0Ythe.C with SEG0
.
to SEG7.
TWpoint (DP)Wsegments
Four
W of the
. 1
eight
00ofY the four
LEDs
M
can
W
.Tdis-
M W . 1 be decimal
O M W C O
map for seven-segment W displays.
.CO .T The seven-segment
WW .C the.Tother W four can WW Y. .TW
LED digits can WW be controlled
. 1 00Y directly M orW programmed to . 1 00Y and M
plays, be discrete
W . 100 LEDOindica- M
W O
WW .100Y.C M.TW
tors.
use the hexadecimal
W WW font. 0 CO segment
Y.Direct T W control WW To 0 0Y.C two W
.Tdual-digit
0 . . 1 M
allows the MAX6958/MAX6959 W . 1 to O M
drive bar graphs and W connect O
Y.C connect
displays Wto the Y
WW DIG0/SEG0 .CO .TW
MAX6958/
discrete LED indicators.WW .100Y.C M.TW WW MAX6959, 0 0 .T Wcathode outputs 1 0 0 and
W O W .1
DIG1/SEG1 C OtoMthe cathodes of the W
.
Wfirst dual .C OM
digit.
. C W . W Y W
The MAX6958/MAX6959 WW use . 1 0 a0Y multiplexing
M .TW scheme thatW
.
Connect 1 00YDIG2/SEG2 M .T and DIG3/SEG3 W 100cathodes
to .the
W O M.T
minimizes the connections W betweenCO the driver and LED W .C O W can0only Y.C
display. The MAX6958/MAX6959 WW .100Y.can drive .TW monocolor W
Wof the second
1 00Y dual M TW SEG0 toW
.digit. SEG3
. 1 0 drive M .TW
M . O W O
W O WW 0LEDs,
discrete not digit DP segments.
Y.CDP segments WW Bicolor
SEG4 to YSEG7 .C W
and bicolor single-digit WWtype.1displays, 0 0Y.C and M .Tmonocolor
W Wcan drive
. 1 0the M .TW if required. W . 100single-OM.T
dual-digit displays. Dual-digit W displays O internally
Y.C for each WW
digit displays 0Y.are COconnected TW and treated WW as .dual-digit 00Y
.C W
wire together the equivalent WW segments . 10 0 M .T W digit, W
displays, W . 1 0
each digit O M .
being one of the two W
colors.
1 O M.T
W pins instead of 16. TheO WW .100Y .C
requiring only eight segment
WW .100Y.C M.TW WW .100Y.C M.TW M.T
W
W O W CO
W
WW Connection .CO .TW WW .100Y.C M.TW WW .100Y. M.T
W
Table 1. Standard Driver . 1 00Y M to LED Displays W O W O
WW 00Y.CO .TW WW SEG Y.C TW 7 SEG 8W SEG 9/IRQ
W Y.C W
DIG0/SEG0 W DIG1/SEG1 . 1 DIG2/SEG2 M DIG3/SEG3 SEG 4 W . 1005 SEGO6M.SEG W .100 O M.T
WW .CO .C W .C
LED Digit 0 CC0 WSEG 0 0 0 Y
SEG g .T WSEG f SEGWW e SEG . 1 0
d 0YSEG c MSEG .TWb SEG a W SEG 4.100Y
. 1 OM SEG f W O W W
LED Digit 1 SEG 1 W CC1 WW 0SEG 0 Y.Cg . T W SEGW e WSEG d 00SEG
1
Y.Cc SEG .TbW SEG a WSEG 5
1 CC2 OM SEG 2 . M
f W. W c O SEG b WSEG a
LED Digit 2 SEG g SEGW
W 0 0 Y.C .T W SEG e W
W SEG d.10SEG 0Y.C M.T
SEG 6
LED Digit 3 SEG g SEG f W.1SEG 3 OM CC3 SEG e SEGW d SEG cCO SEG b SEG a SEG 7
WW .100Y.C M.TW WW .100Y.
W O W
WW .100Y.C M.TW
_______________________________________________________________________________________ WW 5
W O
WW .100Y.C M.TW
W O
WW .100Y.C
W
WW
W
O M.T
Y. C W
W .100 O M.T
WW .100Y.C M.TW
W O
.T W WW .100Y.C M.TW
OM W O
Y.C W WW .100Y.C M.TW
2-Wire Interfaced, W.1
0 0
OM
.T 3V to W5.5V, W Y.C
4-Digit,
O
WW .100Y.C M.TW W 0 0 M.T
W
9-Segment W LED O Display Drivers
WW .100Y.
W .1
C Owith Keyscan
. T W WW .100Y.C M.TW M .TW
M W O
Y.CO .TW W WW 00Y.CO .TW WW .100Y.C M.TW
0
MAX6958/MAX6959

.10 M W.1 OM W O
WW 00Y.CO .TW WW .100Y.C M.TW WW .100Y.C M.TW
W W.1 Y.COMSDA W WW 00Y.CO .TW W WW 00Y.CO .TW tBUF
W 00 .T W tSU,.1 M tSU, STA .1 M
. 1 M W DAT
O W C O
W O W t
.C
HD, DAT WSTA Y. .TW
WW .100Y.C M.TW 00Y .TW WtHD, 100
tSU, STO
tLOWW . 1 M . M
W O W O
W
WW .100Y.C SCLM.TW
O
WW tHIGH
00Y
.C .TW WW .100Y.C M.TW
. 1 M
W Ot STA WW 00Y.CO .TW WW 00Y.CO .TW
WW .100Y.C HD,M .T W W .1
W
W.1 Y.COM W
W C O tR W WtF .C OM W
WW .100Y . TW Y W
.TREPEATED START W W.100 .T
M .START W
W . 100 O M C OM STOP START
W W .C O CONDITION W Y .C W
CONDITION W W 0 Y . .T W
CONDITION CONDITION
Y W W .10 0 M. T .1 0
W
W .100 OM
.T
WW 00Y.CO .TW WW 00Y.CO .TW
M
W Figure 1. 2-Wire
Y .C Serial Interface Timing Details
W W W
W 00
W.1 Y.CODifferences M.T W.1MAX6958 C OM W W.1 Y M
.COline operates
W .TW
Between W
W and .MAX6959 00 Y . The MAX6958/MAX6959
W
.T input and an open-drain W 0 SDA
10 output. TW
.pullup as both an
W . 1 00 M 1 M W . O MA resistor, typi-
W .CO .TW have the WW LED .CO .Tcally
Ydrive W 4.7kΩ, isWrequired W 0 .C SDA bus.
Ythe T WThe MAX6958/
WW 0 0 Y
The MAX6958/MAX6959 W same
.1 0 0 M . 1 0
on M .
W W.1 four
capability, . C O M
common-cathode digits WW of nine Y .CO .MAX6959
seg- W SCL line
W WW operatesYonly
0 .CO as an .TW
input. A pullup
Wments per 0 0 Y
digit. The . T
MAX6959
W additionally W .
contains1 0 0 two M T
resistor, typically 4.7kΩ, . 1 0is required M on the SCL bus if
W W .1
.C OM and INPUT2. Each WWinput Y .CO there W are multiple W W W
masters 0
on Y .CO2-wire.Tinterface,
the W or if
logic input ports,
Y INPUT1 W W 0 port .T 0
W
can beW .100
individually O M.T
configured as either a W .10
general-pur- .C O Mthe master in a W W.1 system
single-master Y . C OM has an W open-drain
WWinput.1port .C
00Ythat is read W WW interface, .100
Y W
M.Toutput.
W .100 .T
pose
W O M.T through the serial W C O
SCL
W W .C OM
W
.C In .keyscan WW the input 0isY. W Y
or as W
W a keyscan
used to read . 1 0Yinput.
0and M
automatically
TW debounce mode,
W
four . 0
1key Each
O M .Ttransmission W consists
W .100of a START O M.T condition
W O W .C
0Y.C MAX6959
(Figure 2) sent by a master, followed by the
WW A maximum
switches. 0 0 Y.C of eight .T W key switches WW can.1be 0 M .TW7-bit slaveWaddress.1plus 00YR/W bitM(Figure .TMAX6958/
W
3), 1
. 1
W INPUT1 M
O INPUT2 are assigned W O W
W finally C O
. STOP .condition
read if both W Y .C and W W W to 0Y.C or more T W
data bytes, W and 0 0 Y a T W
W 00 .T 0 . .1 M
keyscanning. W.1 Y.COM W W W.1 Y(Figure .C OM 2).
W WW 00Y.CO .TW
W W as the.100 .T W
W
The MAX6958's 00 output
.1SEG9 .isT preconfigured
OMIRQ/SEG9 output on W OM W W.1and Y M
.COConditions
9th LED W WW output.
segment .C The
.TW
W the Y . C W W Start 0 Stop
0 the interface M.T is
W
MAX6959 can W 00Y
be.1configured O M as either an open-drain
W
W .100 Both O SCL M.T and SDA remain high
W W .1when
.C O
WW Y.C .TW This logic WW out- .100 Y.C
not busy. A.T W signalsWthe beginning
master Y
.100 of aOtransmis- M.T
W
logic output or the .9th 1 00segment M output.
W sion withO M a START (S) condition W by .C
transitioning SDA
put serves as either W
WW a.1general-purpose .CO .TWlogic output, WW set .C
00Y high M W WW .1When 00Y the M .TW
through the serial interface, 00Y or anMinterrupt (IRQ) output W . 1from O to .Tlow while SCL is high. W .C O master
that alerts a W WW 00Y.CofOdebounced
microcontroller .TW key-switch WW .has 1 00Y
.C
finished .TW
communicating W W the slave,
with
. 00Y it issues
1SDA M .TaW
. 1 M O M W O
events. Key-switch WWstatus .COalso .T
can beWobtained byWW STOP (P) condition
Y.C SCL .isTW
by transitioning
WW
the from
0Yfor.C low to W
.T
W 0 Y W high
.1 0 0 while high. The bus is then . 1 0
free another
M
polling the internal status
W .10registersOatMany time. W C O M W W .C O
W
WW .C .TW to detect WW transmission Y. (Figure .TW2). W .100
Y
M.T
Use the Option bit . 100Y
in the configuration M register
W . 100 O M W C O
W O The option W .C WW .100Y . W
whether a MAX6958W
W or MAX6959 Y.Cis present. .TWa high-endW W.100Y OM.TW M.T
bit allows host software W 100
to .establish M
whether W C O
WW
O
Y.Ckeyscan.Tsupport) W or W
WSDA 00Y.C .TW WW .100Y. .TW
front panel (using the MAX6959
. 1 00for M W . 1 O M W O M
a low-end panel (usingW aW MAX6958 .C andO no key switch-
.TW WW .100Y.C M.TW WW .100Y.C M.TW
es) is fitted to a product. W . 1 00Y M W O
W .CO .TW WW 00Y.CO .TW WW .100Y.C M.TW
WW .100Y WSCL
S .1 M
W W Serial
. C OM Interface
W WW 00Y.CO .TW W WW 00P Y.CO .TW
Y W
W .100SerialOAddressing M.T START .1 M W.1STOP Y.COM W
The MAX6958/MAX6959W WW as00aYslave
operate .C that.Tsends W W WW 00Y.CO .TW
CONDITION WW CONDITION 00 .T
and receives data through aW W.1 interface.
2-wire O M
The inter- W .1
.C O M W W.1 Y.COM W
Y.C W Figure
WW .100Y
2. Start and Stop Conditions
M.T
W W .100 .T
face uses a serial data lineW (SDA) and
W .100a serialOclock M.Tline W C O W W .C OM
(SCL) to achieve bidirectional WW communication Y.C between W WW .100Y. M.T
W W .100
Y
master(s) and slave(s). A master, W .100 a microcon-
typically O M.T W O W W
troller, initiates all data transfers WW .to 00and Y.Cfrom the .TW WW .100Y.C M.TW W
1 M W O
MAX6958/MAX6959, and generates
WW the.1SCL
W CO thatTW
.clock WW .100Y.C M.TW
synchronizes the data transfer (FigureW1). 00Y M . W O
O
WW .100Y.C M.TW WW .100Y.C
W O W
WW .100Y.C M.TW
6 _______________________________________________________________________________________ WW
W O
WW .100Y.C M.TW
W O
WW .100Y.C
W
WW
W
O M.T
Y. C W
W .100 O M.T
WW .100Y.C M.TW
W O
.T W WW .100Y.C M.TW
OM W O
Y.C W WW .100Y.C M.TW
W.2-Wire OM Interfaced, 3V O to 5.5V, 4-Digit,
1 0 0 .T
W
WW .100Y.C M.TW WW .100Y.C M.TW
9-Segment W LED O Display WDrivers
WW .100Y.C M.TW
O with Keyscan
.T W WW .100Y.C M.TW
M W O
Y.CO .TW W WW 00Y.CO .TW WW .100Y.C M.TW
0

MAX6958/MAX6959
.10 M SDA 1W
.1 1 O
M 1 W O
WW 00Y.CO .TW 0 WW .100Y.C M.TW
0
WW 0 .100Y.C A0 M.TW R/W ACK

W. 1 OM W O W O
WW .100Y.C M.TW
MSB LSB
WW .100Y.C M SCL.TW WW .100Y.C M.TW
W O
W O
Y.C 3. Slave WW 00Y.CO .TW WW .100Y.C M.TW
WW .100Figure .T W W 1
OM Address W. OM W O
W
WW .100Y.C M.TW WW .100Y.C M.TW WW .100Y.C M.TW
W O W O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C M.TW ACKNOWLEDGMENT CLOCK PULSE FOR

W O W O W W .C O
WW .100Y.C M.TW
SDA START
Y W
WW .100Y.C M.TW W
CONDITION
W .100 O M.T
O W O .C
W
WW .100Y.C M.TW WW .100Y.C M.TW SCL WW 1 .100Y 2 M.T 8
W 9
W O W C O W W .C O
W . Y W
WW SCL.100Y.C M.TW W .100
Y
M.T
W W
W .100 OM
.T
NOT ACKNOWLEDGE
W O W C O W .C
WW .100Y.DATA C
STABLE,.TW WW .100Y. M.T
WSDA W .100
Y .TW
W O M CHANGE OF
W C O W W .C OM
WW .100Y. Y W
WW .100Y.C M.TW
DATA VALID DATA ALLOWED
M .TW W
W .100 O M.T
ACKNOWLEDGE
O W O .C
W
Figure 4. Bit
WW .100Y.C M.TW
Transfer
WW .100Y.C M.Figure TW 5. Acknowledge WW .100Y M.T
W
W O W C O
W
WW .1bit .CO .TW WWBit Transfer 00Y
.C .TWMAX6958/MAX6959 WW .100Y. .TW
00Yis transferred M W . 1 O M The W are O
available M in one of two
0Y.C
One data during each clock pulse.
WW
The
W
data on10the 0 .CO line.must
YSDA T W remain stable WW while 0 0
SCLY.C possible .T W slave addresses WW .1(see 0 Table M 2. TandW Ordering
. M W . 1 M
OInformation). The firstW6 bits (MSBs) W O
W 4).Y.CO
is highW(Figure W WW .100Y.C MAX6959 .TW slave address W Y.C of the
00always .TW MAX6958/
W 1 0 0 .T M . 1
are O M011100. Slave
W W. .C OM
W WW 00Y.CO
Acknowledge address W bit A0 is W WW hardwired
internally 0 0 Y.C to either .T WGND in
Y W .T
W
W.1 bit
00 is a M .T .1 OM W.1MAX695_B_. .CO A.T
M
The acknowledge
W Y .C O clocked 9th bit that the
W W WW recipi-
0 0 Y .Cthe MAX695_A_, or V+ in
.T W W Wthe
1 0 0 Y maximum
W
ent usesW to handshake. 1 0 0 receipt
M .T of each byte of data
. 1 of two M MAX6958/MAX6959 .
devices
W can share
O M a bus.
W O
(Figure 5). W
Thus, each
W9Wbits..1The .CObyte .transferred
TW WW .100Y.C M.TW
effectively WW .100Y.C M.TW
00YmasterMgenerates Message Format for Writing
O
requires W .CO
the 9th clock
WW YA.C
O
W W WW comprises 0 Y.C W
.Ttrans-
pulse, and WW the recipient
. 1 0 0 Y pulls
M
down
.T W SDA W
during the 0 0
.1 mission
write to .the
M T MAX6958/MAX6959
W . 1 0
O Mthe
W O W O of the MAX6958/MAX6959s’ W slave .C address with
acknowledgeW clock pulse,.Csuch that the SDA line isW
W the high 0 Y .T W WWhen sta-
0 Y.CR/W bit.Tset
0the W to zero, followed W . 1 00atYleast 1Mbyte .TWof
0 . 1 M by
ble low during
W.1 Y.C period
OM of the clock pulse. W O WW 00Y.CisOthe com-
the master W is Wtransmitting
0 0 W
to the MAX6958/MAX6959,
.T WW .10information. 0Y.C M.The TW first byteWof information 1
.register .TW
Mstores
. 1 M W mand O
byte, which determines theW O
that
C
the MAX6958/MAX6959
WW 0generate O the acknowledge bit
WW .the .C W Y. .TaW
because theW MAX6958/MAX6959
. 1 0Y.C Mare .TWthe recipients. 1 00Y next byte M .T W to theWMAX6958/MAX6959.
written
W . 100 O M If
W O transmitting to theWW STOPYcondition .CO .TisW WWthe command Y.C byte .is TW
WW .100Y.C areM
detected after
When the MAX6958/MAX6959
.TW W . 1 00
received, theMMAX6958/MAX6959 take W . 100further O
no M
action
master, the master W generatesCthe bit WW O .C
WWis the.1recipient. . O acknowledge W 0Y6).Cbeyond W the command WW .byte. 00Y M.T
W
because the master 00Y M . T W
W
(Figure
. 1 0
O M .Tstoring
W 1
.C O
W O W Y.C WWAddress Y W
WW .100Y.C MSlave .TW AddressW Table . 1002. MAX6958/MAX6959
M .TW W .100 Map O M.T
W O C
The MAX6958/MAX6959 WW .1have
W O
0Y.Ca 7-bit-long .TW slave W SLAVE
W 0Y.C MMAX6958/MAX6959
0ADDRESS .TW WW . 0Y.
10ADDRESS M .TW
0 M . 1 O DEVICEW O
address (Figure 3). The W eighth bit Cfollowing
W bit. Set . O .TW the 7-bit WW BIT0A0 0Y.C M A6.TW A4 W
W A2 0A10Y.CA0 .TW
slave address is theW R/W . 1 00Ythe R/WMbit low for a W
W . 1 O
A5 A3
W . 1 O M
W .CO .TW 0Y.C 0M.TW 1WW0 000Y.0C W
write command and highW
W for a read 0 0 Ycommand. WWMAX695_A_ . 1 0
1 1
.1 M.T
. 1 O M W O W .C O
W
WW .100Y.C M.TW WW .100Y.C M.TW
MAX695_B_ 0 1 1 1
WW .100Y0 0 1
M.T
W
W O W CO
W
WW ON.1RECEIPT .CO .TW WW .100Y.C M.TW WW .100Y. M.T
W
00YOF STOP CONDITION
M W O W O
W O WW .100Y.C M.TW
COMMAND BYTE IS STORED D15 D14 D13 D12 D11 D10 D9 D8
WW .10ACKNOWLEDGE 0Y.C FROM .TW WW .100Y.C M.TW
M W O W O
WW 00Y.CO .TW WW .100Y.C M.TW WW .100Y.C
MAX6958/MAX6959
W
SLAVE ADDRESS .1
S
W W .C O0M A
W WW BYTE00Y.CO .TW
COMMAND A P
W WW
W 0 0 Y .T W .1 ACKNOWLEDGEOFROM M
W W.1 R/W Y .C OM
W WW 0MAX6958/MAX6959
0 Y .C W
W M.T
Figure 6. Command Byte Received
W
W .100 O M.T W W .1
.C O
WW .100Y.C M.TW W .100
Y
W O W
WW .100Y.C M.TW
_______________________________________________________________________________________ WW 7
W O
WW .100Y.C M.TW
W O
WW .100Y.C
W
WW
W
O M.T
Y. C W
W .100 O M.T
WW .100Y.C M.TW
W O
.T W WW .100Y.C M.TW
OM W O
Y.C W WW .100Y.C M.TW
2-Wire Interfaced, W.1
0 0
OM
.T 3V to W5.5V, W Y.C
4-Digit,
O
WW .100Y.C M.TW W 0 0 M.T
W
9-Segment W LED O Display Drivers
WW .100Y.
W .1
C O with Keyscan
.T W WW .100Y.C M.TW M .TW
.CO .TW
M WW 00Y.CO .TW W WW 00Y.CO .TW
0 Y W FROM MAX6958/MAX6959W.1
MAX6958/MAX6959

.10 W.1 Y.COACKNOWLEDGE M MFROM MAX6958/MAX6959


.CO .TW
ACKNOWLEDGE
M
WW 00Y.CO .THOW W W W W W 0 Y
.T D13 D12 D11 D10 D9 D8W.10 D7 D6 OD5MD4 D3 D2 D1 D0
W .100
CONTROL BYTE AND DATA BYTE MAP INTO
D15M D14
.1 M WREGISTERS O
WW .100Y.C M.TW
MAX6958/MAX6959s'
W C O W . C
WW .100Y . .T W ACKNOWLEDGE
WMAX6958/MAX6959.
FROM
1 0 0Y M .TW O
OM W
W WW 0 00AY.CO .TCOMMAND W BYTE WW A .100Y.C DATA .TW
WW .100Y.C S M.TWSLAVE ADDRESS W . 1 M W O M BYTE A P
W O W .C O W Y .C W
WW .100Y.C M.TW WWR/W .100Y M.T
W W .100 M.T
W O W C O W W . C O1 BYTE
WW .100Y. Y W
WW .100Y.C M.TW M .TW W
W .100 AUTOINCREMENT O M.T MEMORY WORD ADDRESS
W O W O W . C
WW Figure .C .TW WW Y.C .TW W .100
Y
M.T
W
. 100Y7. CommandM and Single Data Byte Received
W . 100 O M W C O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y. M.T
W
W O W C O
W
WW .100Y.C M.TW
O
WW .ACKNOWLEDGE .C .TW
00Y FROMMMAX6958/MAX6959 WW ACKNOWLEDGE
. 0Y.MAX6958/MAX6959
10FROM M .TW
1 W O
W O BYTE AND DATA BYTE MAP INTOWWD15 D14 YD13
HOW CONTROL
.CO W
.TW D9 D8 WD7 D6 WD5.10D40YD3 D2OMD1.TD0
.C W
WW .100Y.C MMAX6958/MAX6959s' .TWACKNOWLEDGE W
REGISTERS
. 1 00 D12 D11 D10
M
W O FROM W C O W .C W
WW .100Y.C M.TWMAX6958/MAX6959 WW .100Y. M .TW W .100
Y
M.T
OADDRESS W O W .C O
WS
WW .100Y.C M.TW
SLAVE 0
WW .100Y.C M.TW
A COMMAND BYTE A
WW DATA .100
Y
BYTE
M.T
W A P

W O W C O
W O
WW .100Y.C M.TW WW n BYTES Y. .TW
WW .100Y.C M.TW 100
R/W

W O W . O M
W O WWAUTOINCREMENT C WORD T
Y.MEMORY
WW .100Y.C M.TW WW .100Y.C M.TW . 100 M
W
. ADDRESS
W O W O
FigureW
W
8. Wn Data Bytes
0
O
Y.CReceived .T W WW .100Y.C M.TW WW .100Y.C M.TW
0
W W. 1
.C OM
W WW 00Y.CO .TW W WW 00Y.CO .TW
Y W .1 MASTER
W
WHOW.100 .T
OM SENDS DATA W W.1 Y.COM W
ACKNOWLEDGE FROM THE MASTER NOT ACKNOWLEDGE FROM
WW 00Y.CO .TW
M
W Y .C
THE MAX6958/MAX6959 W W 0
0D11 D10 D9 D8. T W 1 D1 D0 M
W
W .100 M T MASTER
TO .THE
OMAX6958/MAX6959
D15 D14 D13 D12
W W.1 Y.COM W
D7 D6 D5 D4 D3 .D2
WW 00Y.CO .TW
W ACKNOWLEDGE Y .C
FROM W W 00 .T W
W
W .100 OM
.T W.1 Y.COM W W W.1 Y.COM W
.C W
S
W W
.100
Y
SLAVE ADDRESS
M.T
W1 A W FIRST
W .100
DATA BYTE
O M.T
A W
DATA BYTE
W .100 A OPM.T
W O W .C
WW .100Y.C R/W .T W WW .100Y.C M.TW W
n BYTES . 1 00Y M.T
W
O M W O W .C O
W
WW .100Y.C M.TW WW AUTOINCREMENT Y.C WORD.TADDRESS W WW MEMORY 0YADDRESS
.10WORD M.T
W
W . 100 MEMORY O M AUTOINCREMENT
W C O
WW
W .CO .TW WW .100Y.C M.TW WW .100Y. .TW
Figure 9. Reading n Data Bytes
. 100Yfrom theMMAX6958/MAX6959 W O M
WW 00Y.CO .TW WW each
W .CO .TW WW .100Y.C M.TW
Bytes receivedW after the.1command byte
M are data bytes. . 1 00Y data M
byte read using the same W rules as forCaOwrite
W into the O
.Cinternal WW(Table Y .CO W W W 00Y
. W
The first data byte WW goes
. 10 0 Y . T W
register
M command byte WW
of theW . 1 0 0 3). A
O
read
M .T is initiated by first
W
configuring
. 1 O M.T
the
MAX6958/MAX6959 asW selected by O the MAX6958/MAX6959s’ command byte with
WW .10n0consecu- a write.C com-
(Figure 7). WW .100Y.C M.TW W mand . 0Y.C 6).MThe
10(Figure .TW master can now read
Y
M.T
W
W O W .C O
WW
W .CO .TW autoin- WW tive bytes .C the.TMAX6958/MAX6959.
00Yfrom receipt W WW .The 00YmasterM.TW
The address pointer
. 1 00Y
in the MAX6958/MAX6959
M . 1 O M W 1during O
crements after each data WWbyte.00IfY.multiple CO data bytes
W W WW 00Y.Cclock pulse.
acknowledges
.T
of each
W The master
read byte
WWmust.1acknowl- 0 0Y.C M.TW
the
W .T acknowledge .1 M
are transmitted before a STOP
W.1 condition Mis detected,
.CO MAX6958/ edgeWWall consecutive Y .CO .bytes W received W W W
except the 0 .CO .TW
Ylast
these bytes are stored WW in subsequent 0 0 Y .T W W 0 0
.1 final read M T .1 0 M
MAX6959 internal registers
W W.1(Figure . C OMunless the
8), byte. W
W
The
Y .COthebyte W
must be followed
W WW by 0a0Y .CO .TW
not
address pointer has reached W Y
00 01111111.
address W
.T The W
acknowledge .10 0 from M .T
master and then a stop .1 condi- M
address pointer does not W W.1 Y.Conce
autoincrement OM address WW 9).
tion (Figure The
Y .CO first dataWbyte is read W WWthe 0reg-
from 0 Y.CO .TW
W W 0 T
M. initialized command
01111111 has been reached (Table
W 00
W.1 3). Y.COM W
.T ister addressed 0
W.1 Y.by C Othe W W.1byteY.COM W
W W
W W 00 M.T
(FigureW 8). Reset 0 the
.10 verification M.Tbecause the stored
address pointer whenW performing.100 OM
.T
MessageW W.1 for
Format O
Reading read-after-write W Y. C O W W byte Y.C
Y.C W WW is autoincremented
.100
W
M.T after the write.
W .100
The MAX6958/MAX6959 are W read using
W .100 the internally O M.T address
W O W W The
stored command byte as anW W
address 0Y.Cthe M
pointer same
.TW address WW pointer does Y.Cnot autoincrement
.TW if Wit points to
way the stored command byte is used . 1 0as an address register W
01111111 . 100(Table O 3). M
WW
W .CO after .TW Table 4 W
W Y.C .TW
pointer for a write. The pointer autoincrements
. 1 00Y M is the .
register
W 100 address O Mmap.
W O W . C
WW .100Y.C M.TW W .100
Y
W O W
WW .100Y.C M.TW
8 _______________________________________________________________________________________ WW
W O
WW .100Y.C M.TW
W O
WW .100Y.C
W
WW
W
O M.T
Y. C W
W .100 O M.T
WW .100Y.C M.TW
W O
.T W WW .100Y.C M.TW
OM W O
Y.C W WW .100Y.C M.TW
W.2-Wire OM Interfaced, 3V O to 5.5V, 4-Digit,
1 00 .T
W
WW .100Y.C M.TW WW .100Y.C M.TW
9-Segment W LED O Display WDrivers
WW .100Y.C M.TW
O with Keyscan
.T W WW .100Y.C M.TW
OM W O
Y .CTable W W WW 00Y.CO .TW WW .Command 1 0 0Y.C MAddress .TW Autoincrementing
0 T

MAX6958/MAX6959
.1 0 M . 3. Command Address
W . 1 O M W O
CO
WW 00Y.Autoincrement W Y .C W W W
Address 0 Y .C
autoincrementing .T W allows the MAX6958/
.T W Behavior
W . 1 0 0 M .T . 1 0 be configured M
W. 1 OM MAX6959
WW 00Y to O with the shortest number of
W Y.C W W WW 00Y.CO .TW W
transmissions by
.Cminimizing .T W the number of times the
W 00 COMMAND .T BYTE
.1 M .1 OM
W W.1 Y OM RANGE
ADDRESS
.C W
AUTOINCREMENT
WW 00Y.CO .TW
BEHAVIOR
command
W WW byte 0 0 Y.C to be
needs sent. The address pointer
.TW increments after each
W 00 .T W . 1 M stored in W the.1MAX6958/MAX6959 M
. 1 M WaddressYautoincrements O O
W O
00000000 to Command W byte .C W is written Y.C W the address equals
WW .100Y.C01111110 M .TW after byteWread or . 1 00
written M .TW dataW byte
W . 100 or read, O M .Tunless
W O WW 00Y.CO .TW 01111111 WW .100Y.C M.TW
(Table 3).
WW .100Y.C M.TW CommandWbyte address . 1 remains at M
W W 01111111
. C O
W 01111111 after WbyteW writtenYor.Cread O
W W WW 00Y.CO Digit Type Registers
.TW data in five regis-
W 0 0 Y .T W . 1 0 0 M .T The MAX6958/MAX6959 . 1 store M display
W.1 OM W O WW 00registers O
WW .100Y.C M.TW ters. TheWfour digit Y.C .TWcontrol the seven
WW .100Y.C M.TW W . 1 O Meach
W O numeric segments of Y.C
a seven-segment digit, but not
W
WW If the 0 Y .COOperation .T W
with Multiple
W W 0 0
Masters
Ya.C2-wire .TWthe DP segments. WW The . 1 0 0segments M .TW controls eight
register
0 MAX6958/MAX6959 are operated . 1 on M O
W.1 Ywith M
.COmultiple WW reading Y .COthe .TW individual LEDs, W WW which0can 0 Y.Cbe any .mix TWof discrete LEDs
WWinterface .10 0 T W masters, aWmaster
M. should use aWrepeated .1 0 0 M and any or all W of W . 1 OM of the four 7-seg-
MAX6958/MAX6959
W O W C O
start the DP segments .C W
WW C which
0Y.write, .TWsets the MAX6958/MAX6959s’ Y. W digits (Table W 5) (Figure Y
.100 10).OM.T
between
. 1 0the M
W
W . 100 O M .Tment W C
WW pointer, Oand the read(s) thatW .C WW .100Y . W
0Y.C Mset
address W takes.1the data
Wfrom the . 1 0location(s) .TW by the address pointer.00YIt is M.TW W O M.T
W O C
WW for00master
possible
W
O
Y.C 2 to.Ttake W over theW busW after master 00Y
.C .TW WW .10a 0Y. M .TW
. 1 M . 1 O M W O
1 hasWset W up the .C O
MAX6958/MAX6959s’ WW pointer
address
0Y.C M.TW WW f .100bY.C M.TW
Wbefore 00Y 1 has .TWthe data. W . 1 0sub-
but
W . 1
master
.Cthe
M read
O MAX6958/MAX6959s’ If master
WW
2
Y .CO .TW W WW g 00Y.CO .TW
WW changes
sequently
0 0 Y .T W W address 0
.1 an0 .1 c M
pointer, then W .1master
C O
1's M
delayed read may be W Wfrom .C OM W e W
dpY
.CO .TW
W Y . W W 0 Y .T W W 0 0
W
unexpected 00
location. .T .10 M d .1 OM
W W.1 Y.COM W WW 00Y.CO .TW W WW 0 0 Y.C .TW
W 00 .T W . 1 M . 1 M
. 1 M W O W O
WW .100Y.C M.TW
W O Figure 10. Segment Labeling for 7-Segment Display
WW .100Y.C M.TW WW .100Y.C M.TW
W O
W .CO .TW WW 00Y.CO .TW WW .100Y.C M.TW
Table 4. WW Register 0 0 YAddress Map W .1 M
W W.1 Y.COM W WW 00Y.CO .TW W WW 00Y.CO .TW
W
W
W
00
.1REGISTER O M.T W .1
.C OCOMMAND
M ADDRESS
W W.1 Y.COMHEXW
C W .TW D11 D10
WW .100Y. M.T
W WD15 .D14 Y
100 D13OMD12
W D9 00 D8
W0.1 Y OM
.T
CODE
W O W C W .C
No-op
WW .100Y.C M.TW W 0 W 0
1 00Y
. 0
M
0
.TW 0 0W . 100
0 .TW
0x00
M
0 WW0 . 0.CO 0 W O
Decode mode W
WW .100Y.C M.TW
O
W 00Y0 .TW 0
0 0
WW0 .1001 Y.C 0x01 M .TW
Intensity 0 0 . 1 M
0 0 1 W 0 O
0x02
W O WW 00Y.CO .TW W .C
00Y 0x03M.TW
Scan limit WW .100Y.C M.TW 0W 0 .1 0 0M 0 0 W 1 . 1 1 O
W .C O W0W 000Y.CO0 .T0W W WW 0 00Y.C W
Configuration W W
. 100 Y
M .T W 0 W
W . 1 O M
1 0
W .1 0x04
O M.T
W to this register. O 0 Y.C0 0W 1 .C
Factory reserved. Do not
WW .100Y.C M.TW
write 0
WW 0
1 00 M
0
.TW
1 W . 100
Y0x05
M .TW
W . O W O
O WW .100Y.C M.TW
GPIO (MAX6959 only) W 0 0 0 0 0 1 1 0 0x06
WW .100Y.C M.TW 0 W0W 0.100Y.C M .TW 1 0x07 O
Display test 0 0 1 W
1
W .CO .TW WW 00Y.CO .TW WW .100Y.C M.TW
Read key debounced (MAX6959 WW only) 0 0 Y W
0 .1 0 COM 0 W 0x08 .CO
W.1 Y.COM W 0 0
WW . 1
W
0 0 W Y W
W Y W .100 M.T
A write to this register is ignored. W 0 T
W 1 00 M .T . 10 M . W O
. W O Y. C
Read key pressed (MAX6959 W W
only) .CO .TW0 W Y.C 1 .T1W W0W .0x0C 100 M.T
W
A write to this register is ignored. W . 1 00Y M
0 W 0
W . 1000 O M 0
W O
W
WW .100Y.C M.TW
O W Y.C W WW .100Y.C M.TW
0 W1 . 1000 0 OM.T
WW 00Y.CO
Digit 0 0 0 0 0 0x20
W O W
WW .100Y.C M.T0W 0 W1W 0.100Y.C 0.TW 0 1W
W.1
Digit 1 0 0x21
W C O W W0 .C OM0 W
Digit 2 W . 0 W 0 1 Y 0 W 1 0 W 0x22
W
W .100
Y
O M.0T
W
W .100 0 OM .T
Digit 3 C 0 1 W 0 .C 0 1 1 0x23
WW .100Y. M .TW 0 W . 1000
Y
M .TW0
Segments W O 0 1 0W O 1 0 0x24
WW .100Y.C M.TW WW .100Y.C
W O W
WW .100Y.C M.TW
_______________________________________________________________________________________ WW 9
W O
WW .100Y.C M.TW
W O
WW .100Y.C
W
WW
W
O M.T
Y. C W
W .100 O M.T
WW .100Y.C M.TW
W O
.T W WW .100Y.C M.TW
OM W O
Y.C W WW .100Y.C M.TW
2-Wire Interfaced, W.1
00
OM
.T 3V to W5.5V, W Y.C
4-Digit,
O
WW .100Y.C M.TW W 0 0 M.T
W
9-Segment W LED O Display Drivers
WW .100Y.
W .1
C O with Keyscan
.T W WW .100Y.C M.TW M .TW
OM
.CTable WW 00Y.CO .TW
W
WW .100YSegment .CO .TW
0 Y T W W
MAX6958/MAX6959

.10 . 5. No-Decode Mode


W.1 Y.COM W Data Bits and Corresponding M Lines
WW 00Y.CO .TW
M W W WW 00Y.CO .TW
.1 M
W
REGISTERWW
.100
ADDRESS OM
.T W.1 REGISTER OMDATA
W W Y
O
DIGIT/SEGMENT
.C W W CODE 0Y
(HEX). C
.T W W W 0 0 Y.C D3.TW D2
W .100 M.T .10 W.1 Y.COM W
D7 D6 D5 D4 D1 D0
W O W O M W
C W . C X W SEG a W
WW .100Y. Digit
TW0
M.Digit
W 0x200Y
.10 MX.T SEG a SEGW
SEG b 00 c SEG
SEG
W.1SEG cY.CSEG
d.T SEG e
OMd SEG e SEG f SEG g
SEG f SEG g
W O 1 W 0x21 .C O b W
WW .100Y.C MDigit .TW WW .100Y .TWSEG a SEG W .100c SEG .T
W O 2 W0x22
C O MX b WSEG
W .C OM d SEG e SEG f SEG g
W . Y W
WW .100Y.C Digit M. 3T W W 0 0 Y .T W W 1 0 0
. c SEGOdM SEG e SEG f SEG g .T
W O W.1 Y.COXM SEG
0x23 a SEG b
WW
SEG
.C
W W 0 0 Y . C Segments .T W W W0x24
1 0 0 SEG 7
M . T W
SEG 6 SEG W 5 SEG . 400YSEG 3 MSEG
1 .TW2 SEG 1 SEG 0
. 1 M W . O W C O
WW The
W O
0Y.Cregisters .TW WW .100use Y.C TW In hexadecimal WW .100Y. .TW
. 1 0digit M and segments register W 1 bit
O M to. W code-decode O Mmode, the decoder looks
W
WW set .the 0 Y .COof one.Tsegment.
state W EachW W bit is high 0 0 Yto.Cturn a .TWonly at theWlower W nibble
. 1 0 0Yof.Cthe M data.TW in the digit register
0 W. 1 OM
W 1 on, orOlow
segment M to turn it off (TableW6).
Y.C (D3–D0), disregarding WW 0bits .CO Table
YD7–D4. .TW
7 lists the hexa-
WW .100Y.C M.TW W . 1 0 0 M .T W
decimal code
W font. W . 1
When
0 no M
decode
O is selected, data
WW O Y.C
WW TableW 6. Y
0 .CO .TW Mode Data
No-Decode W Bits00and Y.C .T W D7–D0 W
bits W
correspond
. 1 0 0 to the segment
M .T W lines of the
0
W.1 Y.COMSegment .1 M WWTable008Yshows .CO the.Tone-to-one
Corresponding
W W LinesW WW 00Y.CO .MAX6958/MAX6959. T W W 1
W pair-
W .1 0 0 .T . 1 M ing of each data bit to W the. appropriate O M segment line.
WREGISTER OM SEGMENTW W Y.C
O
WW .100Y.C Initial .TWPower-Up
WW .100Y.C M.TW W
BIT
W BEHAVIOR . 1 0 0 M .T M
W O W O
W 0 O Segment
WW
off
0Y.C On WWall control Y.C W reset, the
WW .1010Y.C M.TW Segment onW.10 M
W power-up,
.Tinitial W . 100 registers O M .Tare
Odisplay is blanked, and
0Y.C Mthe
O the MAX6958/MAX6959 enter
W
WW .100Y.C M.TW WW .100Y.C shutdown .TW mode (Table WW 9). .At 1 0power-up, .TW MAX6958/
M W O
W O WW 00Y.CO WW .C digits,
00Y four M .TWdo not
WW .100Y.C M .TW
Decode-Mode WRegister . 1
MAX6959
M .TW are initially set to scan
W . 1 O
W O
decode data in the digit registers or .scan
C key switches
The decode-mode
W WW 00Yregister .CO .sets T W hexadecimal W W code00Y.C(MAX6959 .T Wonly), andWthe W
1
intensity
. 0 0Yregister M .
isTW set to a
W. 1 M
W W.1 corresponds
(0–9, A–F) or no-decode
. C
operation
O M
W
for each digit. Each
W Y .C
low Ovalue (4/64
W intensity). W WW 00Y.CO .TW
bit in the W register 00Y to
.T one digit. W
Logic high 00 .T W.1 Y.COM W
selects hexadecimal W.1 decoding .C OM while logic low bypass- W W.1 Y.COM W W
es the decoder.W W
.Digits
Y
100 canObe M.T
W
set for decode W or no .100
W O M.T
W
W .100 O M.T
W .C Bit assignment W Y.C W Y .C W
decode inW Wcombination.
any
1 00Y control M
W
.Tregister andW exam-
. 100 M .TW W
W .100 O M.T
. W O C
ples of the decode
shown in Table
W mode
WW7. .100Y.C M.TW
O format are
WW .100Y.C M.TW WW .100Y. M.T
W
W O W C O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y. M .TW
W O
Table 7. Decode-Mode W Register
O ExamplesWW .CO .TW WW .100Y.C M.TW
WW .100Y.C M.TW W . 1 00Y M W O
WW 00REGISTER O DATA
DECODE W WW 00YADDRESS
MODE .CO .TW W Y.C .T W WW .100Y.C HEXM.TW
D5.1 MD3 O
W.1 Y.COM WD7 D1 W D0
CODE (HEX) CODE
WW 00Y.CO .TW
D6 D4 D2
W W 0 Y.C W
W W
. 100 0x01 M.T X W
W . 1 X ODigit M W .1 0
O M.T
W O WW .100Y. C
WW .100Y.C M.TW
Bit assignment for each digit X X 3 Digit 2 Digit 1 Digit 0 —
WW .100Y.C M.TW M .TW
O W O
No decode for digits 3–0 WW .CO .TXW XW X .C 0 0 WW 0 Y .C .TW
W 00Y
0x01 X
WW . 1 00Y M .TW0 . 100
0xX0
M
. 1 M W O W O
Hexadecimal decode for digit W
WW .100x01
O
0Y.C M.XTW X WXW .1X00Y.C 0 M.TW 0 0 W 1
W
. 0Y.C M.TW
100xX1
0; no decode for digits 3–1 W O
W .C O W W Y .CO .TW W W 0 Y.C W
— W W
. 1 0—0 Y
M —.T W — W—
W
—. 10 0 — M —
O
— —
W
0
.1 — O M.T
W .CO .TW WW .100Y. C
Hexadecimal decode for digits WW 0x01 00Y WW X .100Y.0C M.1TW 1 M.T
W
. 1 X
M X X W O 1 W 0xX7 O
2–0; no decode for digit 3 W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C M.TW
W O W O
Hexadecimal decode for digit
W W 0x01 Y .CO X W
X X WWX 01Y.C 0 .TW 0 0WW 0xX8 0 0 Y.C
W 0 .T 0 .1
3; no decode for digits 2–0 0
W.1 Y.COM W W W.1 Y.COM W WW
W W 0 W 0 0 .T W
M.T
— — — — — — .1 — — — — —
W .10 O W W .C OM
Hexadecimal decode for digits WW Y. C W X Y TW
0x01 .100 X
W O MX.T
WX
W .1100 1OM. 1 1 0xXF
3–0
W Y .C W W W 0 Y .C
W 00 .T 0
W.1 Y.COM W W W.1
W W
10 ______________________________________________________________________________________
00 .T W
W W.1 Y.COM W
W
W .100 O M.T
WW .100Y . C
W
WW
W
O M.T
Y. C W
W .100 O M.T
WW .100Y.C M.TW
W O
.T W WW .100Y.C M.TW
OM W O
Y.C W WW .100Y.C M.TW
W.2-Wire OM Interfaced, 3V O to 5.5V, 4-Digit,
1 0 0 .T
W
WW .100Y.C M.TW WW .100Y.C M.TW
9-Segment W LED O Display WDrivers
WW .100Y.C M.TW
O with Keyscan
.T W WW .100Y.C M.TW
OM W O
Y.CTable W W WW 00Y.CO .TW WW 1 0 0Y.C Font .TW
0 T

MAX6958/MAX6959
.1 0 M . 8. Seven-Segment W . 1 Mapping O M Decoder for Hexadecimal
W . O M
WW 00Y.CO .TW WW REGISTER 0 0Y.C .TW WW .100Y.CON SEGMENTS M.T
W
. 1 M
7-SEGMENT W . 1 DATA
O M W C O =1
W W .C O W Y .C D1 .TWD0 W W 0 Yc. .T W
Y CHARACTER W W 0 0
W .100 M.T .10 W.1 Y.COM W
D7–D4 D3 D2 a b d e f g
W O W O M W
C W . C W
WW .100Y. 0 M.TW X W0 0 Y
.1000
0
M.T 1
0 1 W 1 00 1
W.1 1Y.COM0 W 0
1.T 1 1 0
W O 1 X 0 W .C0O 0 W 1 0 0
WW .100Y.C 2 M.TW X WW .100Y M .T0W W . 1000 M .T
W O
WW 00Y.CO .TW
0 0 1 1 1 1 1 0 1
W O W Y.C W
WW .100Y.C3 M.TWX 0 W 0 .1 1 M1 1
W 1 W. 1 1 0 0
O1M
.T 0 0 1
W W Y .4C O
WX 0 W WW 1 0 Y
0 .CO 0.TW 0 W 1
W 10 0 Y.C 0 .TW0 1 1
W .100 5 OM.T X .10 W. 1 OM
W C W W . COM1 W Y .C W
WW .100Y. M .TW
0 W 1
. 1 00Y
0
M .TW 1 W0
W .100
1 1
O M.T
0 1 1
W 6 O X 0 1 W 1 .C 0 O 1 0 W 1 Y.C 1 1W 1 1
WW .1007 Y.C M.XTW 0 WW 1 W.101
0Y M .TW1 W . 100 0 OM.T
O 1 1 W 1 0 0 0
W
WW .1800Y.C MX.TW 1
O
W0W .1000Y.C 0 M.TW 1 1
WW 1 .100Y1.C M1.TW 1 1
W W 9 Y.CO X W 1 W W Y .C O
W W W W
0 Y .CO T W
W
0 0 00 1 .T1 1 1 01 0 . 1 1
W
W .A100 O M.T 1 W .1
.C OM 1 W W.1 0 Y.COM W
C X 0 W 1 0 W 1 1 1 1 1
WW .100Y. M .TW1 W .
Y
100 1 OM.0T
W
W .1010 O M.T 1
W C
O WW .100Y.
W B X 0 1 0 1 1 1
WW C .100Y.C X M.TW W W 0 0 Y.C .T W M .TW
0W. 1 OM1
W O 1 1 0 0 0
WW 1 00Y.C1O .T1W 0
WWD .100Y.CX M.T1W 1 WW0 .1001Y.C M 0 .T
W 1 W1 1.1 1 M 0 1
O 1 W O W W .C O
W EW .C W W Y .C W W 0 0 Y .T W
Y W .100 M.T
X 1 1 0 1 0 0 1 1 1 1
W
FWW.
100 X OM.1T 1WW 1 Y.CO 0 WW 0
W.1 Y1.COM 1 W 1
.C W 1 1 W 0
00 .T
W
W .100
Y
O M.T
W
W .100 OM
.T
W W.1 Y.COM W
W Initial Y. C W W Y .C W W 00 .T
Table W9.
W .100Power-Up O M.T Register Status
W
W .100 O M.T W W.1 Y.COM W
.C WW ADDRESS .C W
WW 00YPOWER-UP W
M.TCONDITION .100
Y
M.T
W
REGISTER 100
.DATA OM
.T
REGISTER W.1 O W . C O W W . C W
WW .100Y.C M.TW WWCODE.1(HEX) 00Y D7M.TD6 W D5 W D4 D3.100Y D2 M.T D0
D1
W O W O W W .C O
Decode modeW No decode
0Y.C M.TW
for digits 3–0 WW 0x01 Y.C X .TXW X W
X 0
.100
0Y 0 .TW 0
W . 1 0intensity W . 100 O M W C O M
Intensity
W WW 00Y.CO .TW
4/64
W W 0x02
0 0 Y.C X X
.T W 0 0
WW .100Y.
0 1 0
M
0
.TW
. 1 M 1O
Scan limit
W.1 4 digits:
Display
O0 M 123 0x03
W X O X
Y.XC
X X
WW
XW X
0Y.DCbit M0.TW
1
Configuration WW Shutdown 0 0 Y.C
enabled .T W WW 0x04 . 1 0 0 MX .T W0 X X . 1
X 0
W.1 Y M W O
CO output
a .segment WW 00Y.CO .TW WW .100Y.C M.TW
WW IRQ/SEG9 is 0
.1or0 logic output); .T W W .1 M
WW and
(not IRQ
.CO .TW
M WW 001Y.CO0 .T0W 0 W
W
0 W X 100Y
.CO 0 .TW
GPIO*
WINPUT2 0 Y W 0x06
.1 . X
M
W .10 INPUT1 O areMlogic WW 00Y.CO .TW
M WW 00Y.CO .TW
W
inputs; IRQ flag Y C
is.clear W W W
W .100 .T .1 MX .1 OM
Normal W OM 0x07 WW X Y.C XO X WWXW X0Y.C0
Display test
W W operation
Y .C
00as debounced .T W W 1 0 0 M .T W X
. 0
10 M .TW
. 1 M W . O W O
0Y.C
Key debounced* No key detected 0x08 0 0 0 0 0 0 0
WW 0as .CO .TW WW 0.100Y0.C M W WW .TW
Key pressed* No W key detected . 1 0Ypressed M 0x0C 0 .T 0 0 0 W.1 00 0 OM
WW Y
O
.Cdecoded) W 0x20 WW X 100Y
W .CO 0 .TW W0W 0.100Y0.C M.TW
Digit 0 BlankW digit (because 0 0 not .T . 0
M 0 0
W. 1
. C OM 0x21 WW X
W Y .CO0 .T0W 0 W0 W 0
W
00Y.
CO W
M.T
Digit 1 Blank digitW (because not
Y decoded) W 00 0
W . 1 0 0 M .T W . 1 0
O M W .1 O
Digit 2 Blank digit (because W notYdecoded) .CO .TW 0x22 WWX 0
Y.C0 0
W 0 0 W0 0 Y. C W
Digit 3
WW .10not
Blank digit (because
0 decoded) M 0x23 X W . 1000 0 OM.0T 0 0
W
0 W .1000 O M.T
W
WW .100Y.C M.TW 0x24
O
WW 0100 0
Y.C W
0 .T 0
WW0 .1000Y.C M.TW
Segments Blank segments 0
W . O M 0 W O
*MAX6959 only.
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C
W W .C O
W WW 00Y.CO .TW W WW
W 0 0 Y .T W .1 M
W W.1 Y.COM W WW 00Y.CO .TW
W 00 .T W .1 M
W W.1 Y.COM W WW 00Y.CO
W 00 .T W
W.1 Y.COM W W W.1
W
______________________________________________________________________________________ W 11
W
W .100 O M.T
WW .100Y.C M.TW
W O
WW .100Y.C
W
WW
W
O M.T
Y. C W
W .100 O M.T
WW .100Y.C M.TW
W O
.T W WW .100Y.C M.TW
OM W O
Y.C W WW .100Y.C M.TW
2-Wire Interfaced, W.1
0 0
OM
.T 3V to W5.5V, W Y.C
4-Digit,
O
WW .100Y.C M.TW W 0 0 M.T
W
9-Segment W LED O Display DriversW
WW .100Y.
.1
C O with Keyscan
.T W WW .100Y.C M.TW M .TW
.CO .TW
M WW Y.C
O
W WW 00Y.CO .TW
Wscanned.
Y W 0
Configuration .T
Register Since theM number of scanned digits affects
0 0 W.1 brightness,
MAX6958/MAX6959

.10 M configuration register


CO the T W.1 to enter Oand M theWdisplay .CO .Tthe
WW 00Y.Use . W device type, W
W and.1globally 0 0 Y .C exitWshut-
.T W . 1 0 Y
0 to blankMportions W scan-limit register should
W. 1 down, Mcheck M
clear the digit not be used
WWzero0suppression). O of the display (such as
W Y .C
data
O(Tables
W10–13). The W SWbitWselects 0Y .CO .TorWnor-
shutdown W
leading 0 Y.C .T W
W 00 .T 0
W.D1 bit Y M .1 M
W W.1 mal .C OM
operation
W
(read/write). W The .CO whether
reports W W WW 00Y.CO .TW
Y W 0 T
M. only). Intensity Register
W
W .100the device O M.T is a MAX6958 or a MAX6959
W .10
. C
(read
O An W
internal W.1pulse-widthY .C OMmodulator controlled by the
W
W segment
WW .10The 0Y.RC bit clears
M.T
Wall the digitWand .100
Y data (data
M.T
W is W
intensity register W .100 provides .T
OM digital control of display
W not stored-transient
O bit) W C O W .C
WW .100Y.C M.TW WW .100Y. M .TW brightness. W The.1modulator 00Y M .TWthe average segment
scales
O W
Scan-Limit O
Register current in 63 W steps from.C O a maximum
W Y.C WWnumber C
0ofY.digits TW 1/64 ofW
W 0Y current. .TTheW of 63/64 down to
WW The 0 0scan-limit .T W sets the
register . 1 0 Mdis-. the 23mA . 1 0peak M minimum interdigit
W
.1
Wplayed, . C
fromOM one to four (Table WWA bicolor
14). Y
O
.Cdigit is W blanking W WW
time is set 0
to Y CO of aTcycle
.1/64 W (Figure 11 and
Y W W 0 0 M. T .1 0 .
W .100
connected
W as
O M .T
two monocolor digits.WThe W .1scan-limit
.C O reg- Table 15). WW Y . C OM
W
WW ister.10also 0Y.Climits M.theTWnumber W of keys .1 00Ycan be
that M.T
W W
W .100 OM
.T
W O W C O W .C
WWTable Y.C W WW .100Y. M.T
W W .100
Y .TW
W .10010. Configuration
O M.T Register W Format C O W W .C OM
W
WW .100Y.C M.TW WW .100Y. M .TW W .100
Y
M.T
O MODE W ADDRESS O W REGISTER .C O
DATA
W
WW .100Y.C M .TW WW .10CODE 0Y.C(HEX) .TW WW D5 W.D4
Y
100 D3 OMD2 .TW D1
W O W O M D7 D6
W X 00Y.X C D0
W Y . C W W W 0 Y .C T W W .T W
W
W .100
Configuration
O M.T
register
W .10 0x04
O M. X X R
W W.1 Y.COM W
X D S
W .C
WW 11.
Table 0Y.C M.TControl
.10Shutdown
W (SWDataWBit
Y
.100D0) Format M.T
W W
W .100 OM
.T
W O C O W .C W
WW .100Y.C M.TW WW .100Y. M .TW W Y
.100DATA OM.T
O W ADDRESS O REGISTER W .C
W
WW .100Y.C M.TW
MODE
WW CODE 0Y.C D7 .TWD6 WW D4 W.1D3 00Y D2 M.T W
W . 10(HEX) O M D5
C O D1 D0
W W Shutdown Y .C Omode
W W W 0x0400Y.C X .TW X R W W
X X 0 0 Y. X D.T W 0
W 00
W.1NormalYoperation OM
.T W .1 OM X W.1 Y.COM W
W .C W W 0x04 0Y.C X W R W XW X 00 X D .T 1
W 00 .T W . 1 0 M .T . 1 M
. 1 M W O
W .CO .TW(D Data W WW 00Y.CO .TW WW .100Y.C M.TW
Table 12. WWDevice 0 0 YReadback Bit D1) . Format
1 M
W W. 1
.C OM
W WW 00Y.CO .TW W WW 00Y.CO .TW
Y W
W
W
00
.1MODE O M.T ADDRESS
W .1
.C OM REGISTER DATA
W W.1 Y.COM W
C W D6 .TW
WW .100Y. M.T
W W (HEX).100Y
CODE D7
M D5 D4 W D3 00 D1 .D0
D2
W.1 Y.COM W
T
W O W W .C O W
WW MAX6958 Y.C W W0x04
.100X
XY X
M.T R
W R X WX X 00 0 S.T
W .100
MAX6959 O M.T 0x04 W .C OX X X W W.X1 Y1.COMS W
WW .100Y.C M.TW WW .100Y M.T
W W .100 .T
W O W C O W W .C OM
.C WD5) Format Y. .TW Y W
Table 13. Global WW Clear . 1 00YDigit Data M .TW(R Data W Bit
W . 100 O M
W
W .100 O M.T
W O WW .100Y .C
WW MODE .100
Y.C .TW ADDRESS WW .100Y.C M.TREGISTER W DATA M.T
W
O M W O W .C O
W CODE (HEX)W D7 D6.C D5 TW D3 WW 00Y D0 M.TW
WW .100Y.C M.TW W . 1 00Y M . D4 D2
. 1D1
O W SO
Digit and segment data
W WWare unaffected
0 Y .CO .TW 0x04 WWW X
0 0
X .C 0
Y .T WX X
WXW .D100Y.C M .TW
Digit and segment data are . 10cleared M 0x04 XW . 1 X O1 M X X X W D S O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C M.TW
Table 14. Scan-Limit W W
Register .C O
Format W WW 00Y.CO .TW W WW 00Y.CO .TW
W 00 Y .T W .1
W.1 Y.COM ADDRESS .1 M WW HEX OM
WW 00Y .CO .T W W 0 Y.C W
W M.T
W W REGISTER DATA 0
SCAN LIMIT W . 1 00 M .T (HEX) W . 1 O M W .1 O
WW 00Y.CO .TW WD0W .100Y.C M.TW
CODE CODE
W X .10X0Y.CX MX.TWX
D7 WD6 D5 D4 D3 D2 D1
Display digit 0 and segmentsW 0, 4 . 1
W1,W4, 5 00Y.CO .0x03
M 0x03 X W O 0 0
WW0xX0 00Y.CO
W WWX .1X00Y.XC M .TW W
Display digits 0, 1 and segments W0,
W .1 O M T X
W . C O X X 0 1
W W.1
0xX1
W .C W W X 00 X Y W W
Display digits 0, 1, 2 and segments W 0, 1, 2,.14,05,0Y 6 0x03
M.T
X WX X .TX 1 0 0xX2
Display digits 0, 1, 2, 3 and segmentsW 0,W 1, 2, 3, 4,Y.CO W W.1 Y.COM W
5, 6, 7
W .100 0x03
M .TW X WX
W
X .100X X M.X
O
T 1 1 0xX3
W W .C O W Y .C
W 00 Y .T W W 0 0
W.1 Y.COM W W W.1
W W
12 ______________________________________________________________________________________
00 .T W
W W.1 Y.COM W
W
W .100 O M.T
WW .100Y .C
W
WW
W
O M.T
Y. C W
W .100 O M.T
WW .100Y.C M.TW
W O
.T W WW .100Y.C M.TW
OM W O
Y.C W WW .100Y.C M.TW
W.2-Wire OM Interfaced, 3V O to 5.5V, 4-Digit,
1 00 .T
W
WW .100Y.C M.TW WW .100Y.C M.TW
9-Segment W LED O Display WDrivers
WW .100Y.C M.TW
O with Keyscan
.T W WW .100Y.C M.TW
OM W O
Y.CTable W W WW 00Y.CO .TW WW .100Y.C M.TW
0 T

MAX6958/MAX6959
.10 . 15. Global Intensity .1 Register M Format
WW 00Y.CO .TW
M WW 00Y.CO .TW W WW 00Y.CO .TW
W
TYPICAL SEGMENT .1 M .1 D4 OD3 M D2 D1 D0 HEX CODE
W .1
C O
DUTY MCYCLE W W(mA) . C OADDRESS D7 D6W WD5 Y.C W
W Y. W CURRENT
W 0Y CODE W
(HEX)
.T W .1 0 0 M.T
W . 100 M .T W . 10 O M W C O
W O(min on) W .C 0x02.TW X X W 0 0Y. .T0 W 0
WW .100Y.C M.TW
1/64 0.36 0 0 0x00
W . 1 00Y M
W
W . 100 O M
WW 00Y.C O
O WW .100Y.C M.TW
W 2/64 0.72 0x02 X X 0 0 0 0 0 1 0x01
WW .100Y.C3/64M.TW W .1 .T W
W O 1.08
WW 00Y.C0x02 OM
0x02 X X
W0W 0
Y.C
0O 0
W
1 0 0x02
WW .100Y.C 4/64
M. T W W
1.44 .T W X X W 0
W. 1
0 0 0 0
OM 0 .T 1 1 0x03
W . C O W W.1 Y.COM W W 0 Y .C W
WW .100Y .TW W .10 M.T
100
5/64 1.80 W 0x02 .T X X 0 0 0 1 0 0 0x04
M W . O M W C O
W 6/64 O .C 0W 0 0Y. 0W 1
WW .100Y—.C M.TW
2.16
WW .100Y0x02 M .TW
X X W .100—
1
M.T— —
0x05
W O W O
WW .100Y.C M.TW
W O — 0x02 X X — — — —
WW .1060/64 0Y.C M.TW 21.56 W
W 0 0 Y.C .T W
1
. 0x02 OM X X 1 1W 1 0O 1 1 0x3B
W
WW .161/64 0 Y .CO .TW 21.92 WWW 00x02 0 Y.C .
XT W X 1 WW1 .1100Y.C 1 M0 .TW0 0x3C
0 M .1 OMX W CO 0 TW
W .CO .TW22.28 WW 0x02 Y.C WX 1 WW 1 00Y1.
WW 62/64 . 1 0 0 Y
M
W . 1 0 0 M .T 1
W . 1 O M. 1 0x3D
W63/64 Y.CO W O . C
WW .TW
22.64
WW .100Y.C M.TW
0x02 X X 1
W1 W 1 .1001Y 1 M.T0W 0x3E
63/64 . 1
(max 00on) M 22.64 W 0x02 O X X 1 1 W1 1 CO1 1 0x3F
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y. M .TW
W O W O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C M.START TWOF
W O
W O ONEW W 1.28ms Y .CO CYCLE.T W 4 DIGITS WW .100Y.C M.TW
NEXT CYCLE
WW .100Y.C M.TW
COMPLETE MULTIPLEX AROUND
W 0 0
W .C O DIGIT 0 W1.1 Y.COM DIGITW2
WDIGIT WW DIGIT 3 0Y.C
O
DIGITW
W Y W W 0 .T W .1 0 M.T
0
W . 1 00 M .T W . 10 O M W C O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y. M .TW
W O W O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C M.TW
W O
DIGIT 0 CATHODE W
W Y .CO .TW W WW 00Y.CO .TW WW .100Y.C M.TW
W
DRIVER INTENSITY 0
.10 HIGH-Z OM .1MULTIPLEX TIMESLOTM WW 00Y.CO .TW
DIGIT 0's 320µs
WW 00Y.CO .TW
SETTINGS
W WLOW Y .C W W
W
W
1/64th .100 O M.T W .1 OM W W.1 Y.COM W
(MIN ON) WW C
Y.HIGH-Z .TW W Y .C W W 00 .T
W
W .100 O M
W
W .100 O M.T W W.1 Y.COM W
W . C
WW .100Y.C HIGH-Z
LOW
2/64th
W Y W W 00 .T
W O M.T
W
W .100 O M.T W W.1 Y.COM W
Y.C WW .100Y .C W
3/64th WW LOW
.100 M.T
W
W O M.T
W
W .100 OM
.T
W O C W .C W
WW .100Y.C M.TW WW .100Y. M .TW W .100
Y
M.T
O W O W .C O
W WW 00Y.C .TW WW .100Y.C M.TW WW HIGH-Z .100
Y
M.T
W
61/64th LOW . 1 M W O W C O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WWHIGH-Z.100Y. M.TW
W O W O
62/16th LOW W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C M.TW
W O W O WW 00Y.CO .TW
WW .100Y.C M.TW WW .100Y.C M.TW WHIGH-Z
W.1 Y.COM W
63/64th LOW
W C O W W .C O W
W . W Y W W 00 .T
Y W .100 .T HIGH-Z
63/64th
(MAX ON)
LOW W
W .100 O M.T W .C OM W W.1 Y.COM W
C W TW
WW .100Y. M.T
W W 0Y
10INTERDIGIT
.5µs M.INTERVAL
W 00
W.1 Y.COM W
.T
W O W
MINIMUM
.C O
BLANKING W
ANODE (LIT)
W ENABLED .100Y.C M.TW
CURRENT SOURCEW WW .100Y M.T
W W .100 .T
W O W C O W W .C OM
HIGH-Z WW .100Y.C M.TW WW .100Y. M.T
W W
HIGH-Z
.100
Y
W O W O W W
WW .100Y.C M.TW
ANODE (UNLIT)
WW .100Y.C M.TW W
W O W O HIGH-Z
HIGH-Z
WW .100Y.C M.TW WW .100Y.C M.TW
W O W O
WW .100Y.C
Figure 11. Multiplex Timing Diagram
WW .100Y.C M.TW
W O W
WW .100Y.C M.TW
______________________________________________________________________________________WW 13
W O
WW .100Y.C M.TW
W O
WW .100Y.C
W
WW
W
O M.T
Y. C W
W .100 O M.T
WW .100Y.C M.TW
W O
. T W WW .100Y.C M.TW
OM W O
Y.C W WW .100Y.C M.TW
2-Wire Interfaced, W.1
0 0
OM
.T 3V to W5.5V, W Y.C
4-Digit,
O
WW .100Y.C M.TW W 0 0 M.T
W
9-Segment W LED O Display Drivers
WW .100Y.
W .1
C O with Keyscan
.T W WW .100Y.C M.TW M .TW
.CO .TW
M W W O
Y.CKey Scanning W WThe WW 00Y.CO .TW
0 Y W Ports 0 0
and .T keyscanning
.1 circuit utilizes the LED’s common-
MAX6958/MAX6959

.10 W.1 (MAX6959 OM Only) M


WW 00Y.CO .TW
M C WW driver
cathode CO as
.outputs
W
Wtwo input 1 0 Y .
0ports, INPUT1 M . W
T and W . 1 0 0 Y
M . the keyscan
T W drivers. The out-
W. 1 The OMMAX6959 features . O puts
WW
DIG0/SEG0 to O DIG3/SEG3 pulse low for nominally
W Y .C
INPUT2. TheseW two ports W WWbe used
can 0 Y .Cas T
general-pur-
. W W
320µs sequentially
0 0 Y.C as the.Tdisplays W are multiplexed. The
W
W .100 pose Ologic M.Tinputs, or configured W .1to0 perform
. C OM automatic actualWlow W.1time varies Y .C OM from 5µs W to 315µs due to pulse-
Y. C W Y .TW W 00 .T to 63/64th for intensity
WW .100keyscanning. W
M.T Both ports haveWinternal
W .100 pullup Mresistors width modulation W.1 Yfrom OM 1/64th
W O W C O W .C
WW .10enabled0Y.C inMshutdown .TW andWnormal operation 00Y
. TW
for .both control.W The timing . 1 00 diagram M TW 14) shows the typi-
.(Figure
. 1 M
O mode. W O
W general-purpose
.CO .be input mode and WWkeyscanning 0Y.C M.TW The maximum
cal situation
WW .1eight
when all .four
00Y keys M
C LED T cathode drivers are used.
. W
WW .1The 00Yports can M T Wread usingW the 2-wire . 1 0
interface. W O can be scanned only if the
W C O W W . C O scan-limit W
register is Yset.C to scan W maximum four dig-
the
WW The Y . .TWuses one orWboth W Y
00INPUT1M .T W W 0 0 M.T
. 1 00keyscan M
logic of.1 the
O
and
its. If fewer W
than .1four digitsC O are driven, then only (2 x n)
WINPUT2Ylogic
WW flags 0 .CO inputs .T W(Figure 12). An
WW interrupt Y
0 0 .C that.TW switchesW
output
can
W
be 0
scanned,
. 1 0Y. where M . Tn
Wis the number of dig-
.1 0 key presses M is optional. The interrupt
W . 1 flag canO Mbe W C O
W O W . C its (1, 2, 3, or W4) set in theY .scan-limit W
register (Table 14).
WW read.1(polled)
0 0Y.C through M .TWthe serial interface W 00Y allow-
instead,
. 1 M .TW W
W . 100 O M .T
W IRQ/SEG9
ing Oto be used as an open-drain W general-O The keyscan W cycle loopsY.continuouslyC W over time, with
WWpurpose Y.C output.TorWas a segment
00logic WWdriver..100Y.C M.TW all eight keys W experiencing . 100 M a.Tfull keyscanning
. 1 M W O
W O
Y.C diode WW
W .CO .Tdebounce
0Ywhen W WW41ms
over 0Y.C 14).
0(Figure WA key press is
WW One small-signal
. 1 0 0 M .T W
is required per key switch
W . 1 0
O M debounced and an W . 1
interrupt O
issued M.ifT at least one key
WWthan0one O is connected to INPUT1 W . C
more
WThe .Ckey
0Yprevent TW simultaneous
.two WW key or INPUT2.
. 0Y.C M.that
10switch TW was not W pressed.1in00a previous
Y W
M.Tcycle is found
diodes. 1 M W O W C O
W O
Y.C shorting WW .C pressed
.TW detects any
duringW W sampling
both Y. periods. .TW The keyscan
WW .100from
depressions
M .TWdigit drivers together.
. 1 00Y For
M circuit W .
combination 100 of O keysM pressed during
WWtogether O
example,
W WW if 0KEY0 0 Y .CO and KEY1 were pressed
.T W W 0 0 Y.C each .T W
debounce WW(n-key
cycle . 1 0 0Y.C M.TW
rollover).
(Figure 12).1and the diodes M were not fitted, W
.CO be.Tshorted W.1 Y.COM W
DIG0/SEG0
WW 00Y.CO .TW
WW 00Ywould
andWDIG1/SEG1 W together
W and.10the 0 . T WPort .1
LED multiplexing W .1 wouldObe M incorrect. These diodes W can Y.COM W W WConfiguration Y .C OM Register
W Only)
.C W (MAX6959
WW .100Y dual diodes
be common-anode M .TWin SOT23W like BAW56.
W . 100 The
O M .T configuration
port
W
W
register.100 configures O M.T INPUT1,
W .COfor a.T W .C
A diode W
W is not .required 00YTherefore,
single
W key connection WW .1to00Y.CINPUT2, M .TandW IRQ/SEG9Wports 00Y
for.1the MAX6959 M .TW 16).
(Table
INPUT1 or INPUT2. 1 M up to two key W
switches O W O
WW connected .CO without WW .C .TW
W an0LED Y.C .TW
can beW directly
. 1 00Y M .TW adding diodes . 1 00YIRQ/SEG9 M
can be set to Weither
W . 1 0 segment O M output
W O W (driving
C O four multiplexed LED
W segments), .C or an open-
(Figure 13).W
W 0 Y.C .T W WW .100Y .
drain logic . W
Toutput. The W
open-drain . 1 0Y output
0logic M TWbe
.can
1 0 M W O
Resistors R1 and
WW R200are
. OM
required if the MAX6959 WW is
Y.C
O
WWoutput 0Y.C Mby .TW
operated W with V+ .1greater Y.C than .T 4V.W R1 and W R2 are . 1 0 0configured M .TWeither an IRQ
as
. 1 0controlled the
M W keyscan O circuitry, or as a W
general-purpose C O
logic output
W 3V.Cand O 4V.
WW .1controlled .C .TW the 2-wire WW interface. Y. W
optional if V+ WisWbetween . 100Y M .TW W
00Y
O M through
W .100 Connect O M.T a
W O WW .100Y. C
WW .100Y.C M.TW WW .100Y.C M.TW M .TW
W O W O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C M.TW
W O
DIG0/SEG0 W .CO .TW Key4 WW 00Y.CO .TW WW .100Y.C M.TW
WW .1Key0 0 0 Y W .1 M
W W . C OM
W WW 00Y.CO .TW W WW 00Y.CO .TW
Y W Key4
.1
W 100 .T
DIG1/SEG1
.1 DIG0/SEG0M M
W W.Key1 .C OM Key5
W WW 00Y.CO .TW Key0W
WW 00Y.CO .TW
Y W .1
DIG2/SEG2
W
W .100 OM Key6
.T
W W.1 Y.COM W WW 00Y.CO .TW
M
W .C W V+
00 W
00Y W .T
Key2
W .T W.1 Y.COM W
R1
W.1 Y.COM W W W.1 Y.COM W 39kΩ W
DIG3/SEG3 W
W Key3 .100 M .T
Key7
W
W . 100INPUT1 OM.T R2
W
W .10V+0 O M.T
W O WW .100Y .C
V+ WW R1 .100Y.C M.TW WW .10INPUT2 0Y.C M.T W
39kΩ
M.T
W
W O W 4.7kΩ CO
INPUT1
W
WW .100Y.C M
39kΩ O
V+ .TW WW .100Y.C M.TW WW .100Y. M.T
W
W O W O
WW .100Y.C M.TW
R2
W O
WW .100Y.C M.TWMICROCONTROLLER
IRQ/SEG9
INPUT2
39kΩ
WW .100Y.C M4.7kΩ .TW W
INTERRUPT O
WW 00Y.CO .TW W WW 00Y.CO .TW WW .100Y.C
W .1 M
IRQ/SEG9
W W.1 INTERRUPT Y .C OM
W WW 00Y.CO .TW W WW
W
MICROCONTROLLER
0 0 .T W .1 M
W W.1 Y.COM W WW 00Y.CO .TW
W 00 .T W .1
Figure 12. Maximum Keyscan Configuration W.1 Y.COM W Figure 13. Keyscanning WW 00Two .CKeysOMWithout Diodes
W W Y
W 00 .T W.1
W W.1 Y.COM W
14 ______________________________________________________________________________________ W
W 00 .T W
W W.1 Y.COM W
W
W .100 O M.T
WW .100Y .C
W
WW
W
O M.T
Y. C W
W .100 O M.T
WW .100Y.C M.TW
W O
.T W WW .100Y.C M.TW
OM W O
Y.C W WW .100Y.C M.TW
W.2-Wire OM Interfaced, 3V O to 5.5V, 4-Digit,
1 0 0 .T
W
WW .100Y.C M.TW WW .100Y.C M.TW
9-Segment W LED O Display WDrivers
WW .100Y.C M.TW
O with Keyscan
. T W WW .100Y.C M.TW
M W O
Y.CO .TW W WW 00Y.CO .TW WW .100Y.C M.TW
0

MAX6958/MAX6959
.10 W.1 Y.COM W
t
M DEBOUNCE
W O
WW 00Y.CO .TW WW THE FIRST HALF OF A0
0 41ms KEYSCAN CYCLE T
. WW .100Y.C THEM SECOND WOF A 41ms KEYSCAN CYCLE
.THALF
. 1 M W . 1 1.28ms MULTIPLEXO M W C O
W O .C W . W 1.28msCYCLE
00Y1
1.28ms MULTIPLEX 1.28ms MULTIPLEX 1.28ms MULTIPLEX 1.28ms MULTIPLEX 1.28ms MULTIPLEX 1.28ms MULTIPLEX 1.28ms MULTIPLEX MULTIPLEX 1.28ms MULTIPLEX
CYCLE 2WW CYCLE 3
WW .100Y.C M.CYCLE TW 1
. 1 00Y CYCLE 4 M.TWCYCLE 15 WCYCLE 16
W . 1CYCLE
O
CYCLE.2T
M 15 CYCLE 16

W C O 5µs TO 315µs DIGIT PERIOD


W W . C O W Y .C W
Y.
WW .100DIG0/SEG0 W Y W W 00 .T
W O M.T
W
W .100 O M.T W W.1 Y.COM W
WW .100Y .C
0Y.C M.TW
WW .10DIG1/SEG1 M.T
W W
W .100 OM
.T
W O W C O W . C W
WW .100Y.C M.TW
DIG2/SEG2
WW .100Y. M .TW W .100
Y
M.T
W O W O W W .C O
.C WW .100Y.C M.TW Key0 Key1 Key2 W Y W
DIG3/SEG3
WW .1INPUT1 00YKey0 Key1 Key2MKey3.TW W O W .100 O M.T
W O Key3
W Y. C
WW .INPUT2 Y.C
00Key4 Key5 Key6 Key7 .TW WW .100Y.C M.TW Key4 Key5 Key6 Key7W .100 M.T
W
1 M W O W O
W
WW .100AY.C M
O
B .T
W WW .100Y.C M.TW WW .100Y.C M.TW
W .CO .TW
C D E
W C O W W .C O W Y
W . .TW 00 Y W W 10 0
W 00OFYKEYS
.1TEST
W
W.1 Y.COSECOND M.TTEST OF KEYS WIF.REQUIRED .CO .TW
M
OM
A

W W FIRST
.C W W W W
INTERRUPT ASSERTED
W 0 0 Y
W 0 0 Y .T W .1 0 0 M .T . 1
KEY DEBOUNCED REGISTER UPDATED
M
W.1 Y.COM W WW 00Y.CO .TW W WW 00Y.CO START W
OF NEXT KEYSCAN CYCLE
W W
. 1 00 M .T W
W . 1 O M W .1 O M.T
FigureW O Diagram WW .100Y. C
WW .100Y.C M.TW .TW
14. Keyscan Timing
WW .100Y.C M.TW W O M
W O Y.C
pullup
W WW resistor Y
0 .COIRQ/SEG9
from
. T W to a voltage WW no greater 00Y
.C pullups .TW are always WW enabled,
. 100even inOshutdown.
M .TW Ensure
. 1 0 M IRQ/SEG9 as anW . 1 M
interrupt Othese inputs are either W
0Y.CIf both
than 5.5V Wwhen Yconfiguring W close0to V+ or openWcircuit for
WWoutput.
or logic 0 .CO .TW WW .100Y.C minimum . TW shutdownWsupply .current. 1 M.TINPUT1 and
. 1 0 M W O M W .C O
W O .C INPUT2 WW Y then eight TW
INPUT1 WWand INPUT2 .C be.Tindividually
00Y can M W WW .1as
configured 00Y be M .TW are assigned to keyscan,
.100or INPUT2 M.is
keys can
. 1 O logic inputs or as W W O debounced. If only W W
INPUT1 .C O assigned
WW 00Y.Cthe
either general-purpose
inputs.WIn either.1mode, .T W W
keyscan Y.C
1 0 0 to keyscan, .T W then onlyW four keys . 0
can
1 0Ybe debounced.
M .TW
input
M structure is the same— . M W O
CMOS W WW
logic inputs0with Y .COinternal W pullup resistors. W WWThe 00Y.CO .TW WW .100Y.C M.TW
.10 M .T .1 M W O
WW 00Y.CO .TW W WW 00Y.CO .TW WW .100Y.C M.TW
Table 16. Port W .1 M
W W.1Configuration
Y .C OM
W
Register Format
WW 00Y.CO .TW W WW 00Y.CO .TW
W
W
W .100 ADDRESS O M.T W .1
. C
M
OREGISTER DATA
W W.1 Y.COM W
C W W
MODEWW .100Y. CODEM.TW W .100
Y
M.T
W
WD1.100 OD0 M.T
W O D7 D6 D5 W
D4 C O D3 D2 W . C
WW .100Y(HEX) .C .TW W W
1 00Y
.
M .TW W . 100
Y
M .TW
M W . O W O
This is the bit assignment: W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C M.TW
O WW 00IRQ O
W W Y . CO Read W
back Read back
W WW 0Read 0 Y .C back
.T W
INPUT2 W
INPUT1
1
Y.C status .TW
Read GPIO register W 0
0 0x06 . T
IRQ/SEG9 INPUT 2 .1 INPUT 1 OM logic level logicW W. (1 =Yi.nter M
W.1 Y.COM WW configuration Y .C W W
level
0 CO rupt) W
W M.T
configuration
W configuration
W 0 T 0
W 1 00 M .T . 10 M . W .1 O
. W O C
W
WW .100Y.C Configure
O
.TW INPUT W
Configure W Configure
00Y1:
.C .TW WW .100Y. M .TW
M 2: . 1
INPUT
O M W O
Write GPIO register W 0x06 O
IRQ/SEG9 WW0 = logic .C X XW XY.C
.TW
WW .100Y.Coutput M .TW 01 == keyscan logicW input
. 1 00Yinput M.TW W
W . 100 O M
W1 = keyscan.CO
WW 00Y.CO .TW WW of D7, 0 0YD5: M.TW WW .100Y.C M.TW
Here are the IRQ/SEG9W . 1
allocation.1options,
W W . C OM
determined
W
by the settings
W W D6,
Y .CO .TW W WW 00Y.CO .TW
IRQ/SEG9 is logic 0 outputW 0x06 00 0 Y W .1X0 0 .1X
W.1 Y O
0
M.0T X
WW X 00Y.CO X .TW
MX X
WW X 00Y.CO .TW
M
IRQ/SEG9 is logic 1 output WW0x06 0 .C 0 1 W X W X W
00 .T W.1 Y.COM W .1 M
IRQ/SEG9 is active-low W W.1 Y.COM W W W WW 00Y.CO .TW
W 0x06 .100 1 0M.T X W X 0 0 X .T X X .1 M
IRQ W .C O W W.1 Y.COM W W W
0 Y.CO
W W W 0
IRQ/SEG9 is active-high W .100 0 1 O
Y
M.T X
W .100 OM
.T W.1
0x06W W . C 1 W XW Y . C X W X W W X
Y W W .100 .T
.100
IRQ W
W O M.T W W .C OM
WW 1.100XY. X M.TW C Y W
WX .100 X OM.T X
IRQ/SEG9 is segment
0x06 X X
driver W .C O W W Y .C
W W 00 Y .T W W 0 0
W.1 Y.COM W W W.1
W
______________________________________________________________________________________ W 15
W
W .100 O M.T
WW .100Y.C M.TW
W O
WW .100Y.C
W
WW
W
O M.T
Y. C W
W .100 O M.T
WW .100Y.C M.TW
W O
.T W WW .100Y.C M.TW
OM W O
Y.C W WW .100Y.C M.TW
2-Wire Interfaced, W.1
0 0
OM
.T 3V to W5.5V, W Y.C
4-Digit,
O
WW .100Y.C M.TW W 0 0 M.T
W
9-Segment W LED O Display Drivers
WW .100Y.
W .1
C O with Keyscan
.T W WW .100Y.C M.TW M .TW
M
.CO .TWKey Debounced WWRegister O
Y.C(MAX6959 WOnly) Wdetected WW 00Y.CO .TW
0 Y W 0 0 .T 1 as pressed Mby the keyscanning circuit during
MAX6958/MAX6959

.10 M debounced register 1


W.shows OM keys have W.test. .CO the.Tkey
WW 00Y.The CO key T W as debounced W W 0 Y .C
which
0the keyscanning . W
T cir- WtheW last
1 0Reading
Y
0 the keyMpressed W pressed register does not
1 been .
detected .
by1 M clear .
either O register, or the key
W W. .C
cuit
M
O(Table
W
17). Each bit inWtheW
register Y .C O
corresponds W to W WW register,
debounced 0 0 Y.C and .does T W not clear the IRQ output.
W 00 Y .T W 0
10 switch .T .1
W.1 one OMswitch. The bit is setWtoW1. if the Y M WWpressed OM
W Y .C key
W W 0 .CO has.Tbeen W The W key 0 0 Y.Cregister .TW is read only. A write to
W . 100correctlyM .T
debounced since the last.1key 0 debounced M reg- address W
0x0C . 1 is ignored. O M
W O
W
WW .10ister 0Y.C
O operation.
read
.TW WW .100Y.C M.TW WW .100Y.C M.TW
W Reading M
.COthe key debounced register WW clears Y .Cthe O register
W W WW 00Y.CO Display Test Register
.TWin two modes: normal
WW .1(after 0 Y
0 the data .T
has
W been read)
W so that . 1 0
future
0 key M
presses.T The display test
W . 1 register operatesO M
W OM W O
WW test.1(Table .C Display
WW can 0 0beY.Cidentified. .T W WW .10register
If the key debounced 0Y.C isMnot . TW and display 00Y 19). M .TW test mode turns on
. 1 M W O all LEDs by W
overriding, but
C O not altering, all control and
Wread, the
WW register 0 Yin
O
.Ckeyscan .T
data accumulates.
W Key-press WW order,
There Y
0 0
is.C no FIFO W
.T digit WW (including
registers . 1 0 0Y. the shutdown M .TW register) except
. 1 0 the MAX6959.
M W . 1 or whether O M a W C O
W .CO pressed WWonce, 0Y.C be
W
for the port configuration
.TWin display W Y.register. TheW duty cycle while
WW key.1has 0 0Ybeen M .TW more than . 1 0cannot M test mode W . 1is0028/64.OM.T
W O
WW .100Y.C M.TW
determined
W unless
O the key debounced register is.Cread
WWafter .each .C
00Yinterrupt .T
andW before completion WW .1of 00the Y next .TW
M
1 M WW 00Y.CO .TW
Applications
W O Information
WW
W cycle.
keyscan
0 Y .CO .TW W WW .100Y.C M.TW
Reading
0
W.1 theYkey . C
M
Odebounced register W W.1 theYIRQ
clears .CO .TW
M WW 00YDriving .CO .TBicolor W LEDs
W
Woutput. .If10a0key is pressed .T W W 0 0 Bicolor digits combine W .a1 red and a Mgreen die for each
and held down, .
the1 key is M
W W as debounced . C OM (and an IRQ isWissued) W Y .CO display W element, W WW
so that the 0 Y .CO .displays
element T W red or
reported
W 00 Y .T W W 0 0only .T .1 0
once. The W.1 key Ymust OM be detected as released W.1by the C OMgreen (or orange), depending WW 00Y OM die (or both) is
on.Cwhich
W W
keyscanning 0
0circuit
. C
before W
.Tit is debounced
W
W again..100 Y . lit.
M .The W
T MAX6958/MAX6959 W . 1 treat a bicolor M .TW digit as two
W . 1 O M W C Omonocolor digits. W W .C O
W . C W Y . W W 0 Y T W
TheWkey debounced
. 1 00Y register M .TWis read only. W A write
W . 100to O M .T W .10 O M.
W is ignored. O WW Low-Voltage .C
addressW0x08
W 00Y
.C .TW WW .100Y.C M.TW .100
Y .TW
Operation
Mdrive
. 1 M W O
The MAX6958/MAX6959 are W guaranteed .C O to a 23mA
W WW Key 0 Y .CO Register
Pressed
.T W (MAX6959 WW Only) 0 0 Y.Csegment .T W
current into WW(or lower)
2.4V . 1 0 0YLEDs .
when
M TW operat-
0 W. 1 M
The key pressed
W W.1 register . C
M which keys have
Oshows W been
Y .C
ed Ofrom a supply
W voltage W W W
of 4.5V to05.5V. Y .COOperating.T W the
detected Was pressed 00Yby the M W
keyscanning
.T W during.100 MAX6958/MAX6959
circuit M .T . 0
1 voltage M
. 1 from a W
supply O lower than
the last test.W W bit inY.the
Each COregister W corresponds to
W Wone W
0 Y .COreduces
4.5V .T W the LED W
drive
Wcurrent.0The 0 Y.Cdrivers .driveT W at
W 0 .T 0 . 1 M
key switch. The bit.1is
W
0 set if theMswitch
.C O has been detect-
WtheW.1 least Y .CO
M
15.5mA W segment current WW into 2V0Y (or O
.Clower) LEDs
W
ed as pressed W W by the 0 Y
keyscanning .T W circuit during W 0 0 .T W . 1 0 M .T
. 1 0 M W . 1 when O M
operated from a 3V supply voltage.
W C O
last test. The bit W is cleared ifOthe switch has not been
WW .100Y.C M.TW WW .100Y.C M.TW WW .100Y. M.T
W
W O W C O
Table 17. Key W
WW Debounced .CO Register .TW Format WW .100Y.C M.TW WW .100Y. .TW
. 100Y M W O W .C O M
W O W
WW .100Y.C M.TW WW 0Y.C M.TWREGISTERW DATA .100Y M.T
W
ADDRESS W.10 WITHO W .C O
W REGISTER O .C APPROPRIATE SWITCHW
W NAMED BELOW W
WW .100Y.C M.TW CODE W
KEY DEBOUNCED
(HEX)W
. 1 00Y M .TW . 1 00Y M.T
W O W D7 D6 O D5 D4 D3 W W
D2 D1 .C O
D0
WW .register .C .TW WW Key7 Y.C .TWKey4 Key3W Key2W.1Key1 00Y Key0M.TW
Key debounced 1 00Y M 0x08
W . 100 Key6 OKey5 M O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C M.TW
Table 18. Key Pressed W Register O Format W O W O
WW .100Y.C M.TW WW .100Y.C M.TW WW .100Y.C M.TW
WW 00Y.CO .TW ADDRESS WW WITH
W Y .CO REGISTER W DATA
W WW 00Y.CO .TW
0 .T
KEY PRESSED REGISTER W
W .1 O M CODE (HEX) 0
W.1 APPROPRIATE .C OM SWITCH NAMEDWBELOW W.1 Y.COM W
.C W Y W W D1 .100D0 .T
WW .100Y M.T
W WD7 100 D5 OMD4
.D6 .T D3 D2
W OM
W C O W W .C W Y.C W
Key pressed register
WW .100Y. M .TW 0x0C Key7
W Key6 . 100
Y
Key5 Key4
M .TWKey3 Key2W Key1W.1Key0 00
OM.T
W O
W
WWRegister .CO .TW WW .100Y.C M.TW WW .100Y.C M.TW
Table 19. Display Test 00Y
W . 1 O M WW 00Y.REGISTER CO WW 00Y.CO
WW .100Y.C M .T W W .T W
DATA W
W.1
MODE W .C
ADDRESS
OCODE (HEX) D7 W W.1 Y.COM W W
W Y .TW W D6 .1D5 00 D4 M.D3 T D2 W
D1 D0
Normal operation WW
W .100 O M0x07 W W . C O X
.C X X X Y X W X X 0
W . 1 00Y M .TW W
W . 100 X OMX.T X
Display test mode W O 0x07 X X X X 1
WW .100Y.C M.TW WW .100Y.C
W O W
WW .100Y.C M.TW
16 ______________________________________________________________________________________ WW
W O
WW .100Y.C M.TW
W O
WW .100Y.C
W
WW
W
O M.T
Y. C W
W .100 O M.T
WW .100Y.C M.TW
W O
.T W WW .100Y.C M.TW
OM W O
Y.C W WW .100Y.C M.TW
W.2-Wire OM Interfaced, 3V O to 5.5V, 4-Digit,
1 00 .T
W
WW .100Y.C M.TW WW .100Y.C M.TW
9-Segment W LEDO Display WDrivers
WW .100Y.C M.TW
O with Keyscan
.T W WW .100Y.C M.TW
.CO .TW
M WW 0Power O
Y.C Dissipation W WW 00Y.CO .TW
WFor
0 Y W
Computing 0 .T a 16-pin
.1 DIP package (TJA = 1/0.0105 = +95.2°C/W

MAX6958/MAX6959
.10 M W.1 Yupper-limit OM W OM
.CMaximum
CO
WW 00Y.Determine T W the MAX6958/MAX6959 W
Wfollowing 0 0 .C
.T W power from
W W Absolute
1 0 0 Y .T W Ratings), the maximum
1 dissipation . (P ) with the . 1 equation: M allowed .
ambient O M
temperature TA is given by:
W W. .C OM
W
D
WW 00Y.CO .TW W WW 00Y.C .T W
W 00 Y .T W .1 M
W.1 Y.COM W W W.1 Y.COM W WWT 00Y.=CTO + (P.TW
W P = (V+ ✕ I+) + (V+ W- V LED .10) (DUTY0 ✕ ISEGM. ✕ T
N) W .1 A M D ✕ TJA) = +150°C
W
W .100 D
O M.T W C O W WJ(MAX) .C O (0.652 ✕ 95.2°C/W)
WW .100Y.C M.TW WW .100Y . . T W W . 1 0 0Y A + M
= T
.TW
W O M W O
W where: O
WW .100Y.C M.TW WW .100Y.C M.TW Therefore, WW .100Y.C M.TW
WTAW= +87.9°C. O
W V+ = Ysupply .C O voltage WW 00Y.CO .TW W 0 Y.C W
W W
.
I+ 1 0=0operating M .T W
supply current
W
W . 1 O M W . 1 0
O M.T Power Supplies
W CO Y.C WW .100Y. operate C W
WW DUTY 00=Y.duty cycle .TW set by intensity WWregister . 100 M .TW The MAX6958/MAX6959 M.T from a single 3V to
. 1 M W O W O
.C V+ with
W
WW N =.1number .CO .TW driven W W .C
0Ynine) 5.5V power
.TWto GND, as WW supply. Bypass
00Ydevice .TWa 0.1µF capacitor
00Y of segments M (worst case . 1 0is M close W to. 1the O M
as possible. Bypass V+
W O WW 00Y.CO .TW W C
Y.capacitor .TW
WWVLED.1=0LED 0Y.Cforward M. T W
voltage at I SEG W .1 with
M MAX6959 are W an W
additional
W . 0
10µF
1 0
O M if the MAX6958/
W O W C O not close .
toC the board
W ISEG = peak
W 0 0 Y .C
segment
. Tcurrent
W W W
1 0 0 Y .
M . W W
Tdecoupling capacitor..10 0 Y
M . W input’s bulk
T
. 1 OM in mW if currents .
W mAY.CO W O
PD =Wpower
WW .100Y.C M.TW
dissipation,
WWare in 00 .TW WW .100Y.C M.TW
W . 1 O M W O
Dissipation
W example: O
WW .100Y.C M.TW WW .100Chip Y.C .TW
WW .100Y.C M.TW W O Information
M
WW 00Y.C TRANSISTOR O Y.C
WW= 23mA, .CO .TW .TW WW 17,340 100 .TW
WISEG . 1 00Y N = 9,MDUTY = 63/64, V WLED = 2.2V,
W . 1 O M COUNT:
W .
.C O M
=W 5.25V 0Y.CO WW .100Y.C PROCESS: TW CMOS W
W 00Y W
V+W
W . 1 0 M .T W
W O M . W . 1 O M.T
PD = 5.25V W (5.9mA) O + (5.25V - 2.2V)
WW .100Y .C
WW ✕ 23mA
(63/64 00Y
.C
✕ 9) = 0.652W .TW WW .100Y.C M.TW M.T
W
. 1 M W O W C O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y. M .TW
W O W O
Ordering W .CO .TW (continued) WW .100Y.C M.TW
W Y.C Diagram .TW
WW .1Information 00Y M
W Functional
W . 100 O M
W O
Y.C SLAVE.TWPIN- WW
W
PKG 100Y
.CO .TW WW .100Y.C M.TW
WW TEMP 0 0 . M
PART
W W . 1
RANGE . OM
ADDRESS
C PACKAGE CODE
W WW 00Y IRQCO
. W W WW 00Y.CO .TW
Y W .T .1AND
W
W
-40°C.10to0 O M.T W W .1
. COM OSCILLATOR
MULTIPLEX W
KEYSCAN
W Y
M AND
.COKEYSCAN
PORTS
W
. C Y W W PORT CONTROL 0
MAX6958BAEE W
W +125°C . 1 00 Y 0111001
M .T W
16 QSOP W
E16- 1
W . 10 0
O M .T
W .1 0
O M.T
W O WW .100Y. C
WW -40°C to 0 0Y.C M.TW WW .100Y.C CURRENT M .TW M .TW
. 1 W O W O
WW 00Y.CO .TW WW .100Y.C M.TW
MAX6958BAPE 0111001 16 DIP P16-1
W+125°C WW .100Y.C REFERENCE M .TW
-40°CW
. 1 M
.CO 16 QSOP WW 00Y.CO .TW W WW 00Y.CO .TW
MAX6959AAEE WW
to Y W W
0 M. T LED W.1 OM
0111000 E16- 1
+125°CW.10
.C O W W.1 Y.C PWMO M
INTENSITY
W W 0 Y .CDIGITS
4 LED W
W Y W W 0 CONTROL
.T W
DRIVER
.1 0 M.T
W to .100
-40°C M .T W . 10 O M W CO
MAX6959AAPE
+125°C
W0111000 O
WW .100Y.C M.TW
16 DIP P16-1
WW .100Y.MULTIPLEX C
.TW WW .100Y. M .TW
O M W O
W O WW C
.LOGIC WW .100Y.C M.TW
MAX6959BAEE
-40°C WtoW 0111001 . 10 0Y.C16 QSOP M .TW E16-1 W W.100Y OM.TW W O
+125°C W
WW .100Y.C M.TW
O
WW .10CONFIGURATION0Y.C M.TW DISPLAY RAM WW .100Y.C M.TW
O
-40°C to W 16.C O WW 0REGISTERS Y .CO .TW AND HEX ROMWWW 00Y.C W
W M.T
MAX6959BAPE 0111001 Y DIP P16-1
W W 0
+125°CW
. 1 00 M .T W . 1 O M W .1 O
W O WW .100Y. C
WW .100Y.C M.TW WW .100Y.C M.TW M.T
W
SDA
W O W O
W
WW .100Y.C M.TW
O SCLWW 00Y
2-WIRE.CSERIAL INTERFACE
.TW WW .100Y.C M.TW
W . 1 O M W O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C
W W .C O
W WW 00Y.CO .TW W WW
W 0 0 Y .T W .1 M
W W.1 Y.COM W WW 00Y.CO .TW
W 00 .T W .1 M
W W.1 Y.COM W WW 00Y.CO
W 00 .T W
W.1 Y.COM W W W.1
W
______________________________________________________________________________________ W 17
W
W .100 O M.T
WW .100Y.C M.TW
W O
WW .100Y.C
W
WW
W
O M.T
Y. C W
W .100 O M.T
WW .100Y.C M.TW
W O
.T W WW .100Y.C M.TW
OM W O
Y.C W WW .100Y.C M.TW
2-Wire Interfaced, W.1
0 0
OM
.T 3V to W5.5V, W Y.C
4-Digit,
O
WW .100Y.C M.TW W 0 0 M.T
W
9-Segment W LED O Display Drivers
W
WW .100Y.
.1
C O with Keyscan
.T W WW .100Y.C M.TW M .TW
.CO .TW
M WW 00Y.CO .TW
W
WW .100YTypical .CO .TW
0 Y W Pin Configuration M Application Circuit
MAX6958/MAX6959

.10 M W.1 Y.COM W WW 00Y.CO .TW


WW 00Y.CO .TW W W 00 .T W
W .1 O M W.1 Y.COM W W W.1 Y.COM W
.CTOP VIEW W W 00 .T
WW .100Y M.T
W W .100 .T W.1 Y.COM W
W C O W W . C OM W
WW .100Y. W SDA 1 Y W W 00 .T
W O M.T
W
W .11600V+ O M.T W W.1 Y.C9OM 9 W9
WW .1510SEG8 .C 9
WW .100Y.C M.TWSCL 2 0Y M .T W W
W . 1 0 0
O M .T
W O(IRQ/SEG9) SEG9 3 W
WW 14.1SEG7 .CO .TW WW .100Y.C M.TW
WW .100Y.C M.TW 00Y M
W W .C O DIG0/SEG0 4 MAX6958/ WW
W
13 SEG6
Y .CO .TW W WW 00Y.CO .TW
µC
Y W
MAX6959 0
W
W .100 O M.T 5
DIG1/SEG1 12
W .10
SEG5
.C OM W
SDA W.1 SDA Y
M DIG0–DIG3 9
.CO SEG0–SEG9 W
.C W Y W W 0
W W
. 1 00 Y
M
W
.T 6
DIG2/SEG2 W 11 SEG4
W . 10 0
O M .T SCL W.1 SCL
0
O M.T 5V
W W .C O W Y .C W W W 0 Y .C .T W
W 00 Y .T
DIG3/SEG3 7W W 10 0
(INPUT2)/N.C.0 .T .1 0 M V+
W.1 Y.COM W.1
9W(INPUT1)/N.C.0Y.C
OM WW 00Y.MAX6959 CO
W GND 8 W
W M.T
W W .1 .TW 0.1µF
W
W .100 O M.T W .10 O W W . C OM
QSOP/DIP WW Y. C Y .TW
WW .100Y.C M.TW . 100 M .TW W
W .100
INPUT1
O MGND
O W O .C
W
WW .100Y.C M.TW WW INPUT2
( ) MAX6959 ONLY
Y W
WW .100Y.C M.TW W .100 O M.T
W O W O W Y.C
WW .100Y.C M.TW WW .100Y.C M.TW39kΩ W39kΩ
. 100 Key0OM.T
W
W O W
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C DIG0/SEG0 M .TW
O W O W .C O
W
WW .100Y.C M.TW WW .100Y.C M.TW WW .100YKey1 M.T
DIG1/SEG1
W
O W O W .C O
W
WW .100Y.C M.TW WW .100Y.C M.TW WW .100Key2 Y
M.T
W
W O W C O
WW .100Y.
O DIG2/SEG2
W
WW .100Y.C M.TW WW .100Y.C M.TW M .TW
O W O W Key3
.C O
W
WW .100Y.C M.TW WW .100Y.C M.TW WW .100YDIG3/SEG3 M .TW
W O W O
W O
WW .100Y.C M.TW WW Key4 Y.C W
WW .100Y.C M.TW W . 100DIG0/SEG0 OM.T
W O W O W .C
WW .100Y.C M.TW WW .100Y.C M.TW W Key5 0Y
.10DIG1/SEG1 M.T
W
W O W C O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y. M.T
W
W O W
Key6 C O
W O
WW .100Y.C M.TW WW DIG2/SEG2 Y. .TW
WW .100Y.C M.TW W . 100 O M
O W O Y.C
W
WW .100Y.C M.TW WW .100Y.C M.TW WWKey7
. 100
DIG3/SEG3 M .TW
W O W O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C M.TW
W W .C O
W WW 00Y.CO .TW W WW 00Y.CO .TW
W 00 Y .T W .1 M .1 M
W W.1 Y.COM W WW 00Y.CO .TW W WW 00Y.CO .TW
W 00 .T W .1 M
W.1 Y.COM W W W.1 Y.COM W WW 00Y.CO .TW
W W 00 .T W .1
W 00 .T W.1 Y.COM W M
W W.1 Y.COM W W W WW 00Y.CO .TW
W .100 M.T
W 00 .T W.1 Y.COM W
W .C O W W.1 Y.COM W W
WW .100Y W W .100 .T W 00 .T
W O M.T W .C OM W W.1 Y.COM W
C W W
WW .100Y. M.T
W W .100
Y
M.T
W 00
W.1 Y.COM W
.T
W O W .C O W
WW .100Y.C M.TW WW .100Y M.T
W W .100 .T
W O W C O W W .COM
WW .100Y.C M.TW WW .100Y. M.T
W W .100
Y
W O W O W W
WW .100Y.C M.TW WW .100Y.C M.TW W
W O W O
WW .100Y.C M.TW WW .100Y.C M.TW
W O W O
WW .100Y.C M.TW WW .100Y.C
W O W
WW .100Y.C M.TW
18 ______________________________________________________________________________________ WW
W O
WW .100Y.C M.TW
W O
WW .100Y.C
W
WW
W
O M.T
Y. C W
W .100 O M.T
WW .100Y.C M.TW
W O
.T W WW .100Y.C M.TW
OM W O
Y.C W WW .100Y.C M.TW
W.2-Wire OM Interfaced, 3V O to 5.5V, 4-Digit,
1 00 .T
W
WW .100Y.C M.TW WW .100Y.C M.TW
9-Segment W LED O Display WDrivers
WW .100Y.C M.TW
O with Keyscan
.T W WW .100Y.C M.TW
M W O
Y.CO .TW W WW 00Y.CO .TW WW .100Y.C MPackage .TW
0 Information

MAX6958/MAX6959
.1 0 M W . 1 M
Onot reflect the most current W O
WW 00Y.(The CO package drawing(s) in W
this data Y
sheet .C
may W W W 0 Y
specifications. .C For the.Tlatest
W package outline information,
. 1 go to M .TW W
www.maxim-ic.com/packages.) W . 100 O M .T W .10
C O M
W O WW .100Y .
WW .100Y.C M.TW WW .100Y.C M.TW M.T
W
W O W C O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y. .TW

QSOP.EPS
W O W O M
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C M.TW
W O W O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C M.TW
W W .C O
W WW 00Y.CO .TW W WW 00Y.CO .TW
Y W
W
W .100 O M.T W .1
.C OM W W.1 Y.COM W
C W W
WW .100Y. M.T
W W .100
Y
M.T
W 00
W.1 Y.COM W
.T
W O W W .C O W
WW .100Y.C M.TW W .100
Y
M.T
W W
W .100 OM
.T
W O W C O W .C
WW .100Y.C M.TW WW .100Y. M.T
W W .100
Y .TW
W O W C O W W .C OM
WW .100Y. Y W
WW .100Y.C M.TW M .TW W
W .100 O M.T
O W O .C
W
WW .100Y.C M.TW WW .100Y.C M.TW WW .100Y M.T
W
W O W C O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y. M .TW
W O W O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C M.TW
W O W O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y.C M.TW
W W .C O
W WW 00Y.CO .TW W WW 00Y.CO .TW
W 00 Y .T W .1 M .1 M
W W.1 Y.COM W WW 00Y.CO .TW W WW 00Y.CO .TW
W 00 .T W .1 M
W.1 Y.COM W W W.1 Y.COM W WW 00Y.CO .TW
W W 00 .T W .1
W 00 .T W.1 Y.COM W M
W W.1 Y.COM W W W WW 00Y.CO .TW
W .100 M.T
W 00 .T W.1 Y.COM W
W .C O W W.1 Y.COM W W
WW .100Y M .TW W
W . 100 O M .T W
W .100 O M.T
W O WW .100Y. C
WW .100Y.C M.TW WW .100Y.C M.TW M.T
W
W O W C O
W
WW .100Y.C M.TW
O
WW .100Y.C M.TW WW .100Y. M .TW
W O W O
W O
WW .100Y.C M.TW WW .100Y.C 1 M.TW
PACKAGE OUTLINE, QSOP .150", .025" LEAD PITCH

WW .100Y.C M.TW W O
W O
WW .100Y.C M.TW
21-0055 E
W O
WW .100Y.C M.TW
1
WW .100Y.C M.TW
W W .C O
W WW 00Y.CO .TW W WW 00Y.CO .TW
W 00 Y .T W .1 M .1 M
W W.1 Y.COM W WW 00Y.CO .TW W WW 00Y.CO .TW
W 00 .T W .1 M
W.1 Y.COM W W W.1 Y.COM W WW 00Y.CO .TW
W W 00 .T W .1
W 00 .T W.1 Y.COM W M
W W.1 Y.COM W W W WW 00Y.CO .TW
W .100 M.T
W 00 .T W.1 Y.COM W
W .C O W W.1 Y.COM W W
WW .100Y W W .100 .T W 00 .T
W O M.T W .C OM W W.1 Y.COM W
C W W
WW .100Y. M.T
W W .100
Y
M.T
W 00
W.1 Y.COM W
.T
W O W .C O W
WW .100Y.C M.TW WW .100Y M.T
W W .100 .T
W O W C O W W .COM
WW .100Y.C M.TW WW .100Y. M.T
W W .100
Y
W O W O W W
WW .100Y.C M.TW WW .100Y.C M.TW W
O W O
WofWany circuitry
0Y.Cother M W entirely W W 0Y.C product. W
Maxim cannot assume responsibility forW use
W . 1 0
O
than.Tcircuitry embodied in1a0Maxim
W . O M.TNo circuit patent licenses are
implied. Maxim reserves the right to change the circuitry and specifications without notice at any W time. .C
WW .100Y.C M.TW W .100
Y
Maxim Integrated Products, 120 SanW Gabriel Drive,
.CO Sunnyvale, CA 94086
W W 408-737-7600 ____________________ 19
W W 0 0 Y .T W W
© 2005 Maxim Integrated Products W.1 USA OM
Printed is a registered trademark of Maxim Integrated Products, Inc.
WW .100Y.C M.TW
W O
WW .100Y.C
W
WW

You might also like