MAX6954
4-Wire Interfaced, 2.7V to 5.5V LED Display
Driver with I/O Expander and Key Scan
10 ______________________________________________________________________________________
The most significant bit of the register data (D7) con-
trols the DP segment of the digits; it is set to 1 to light
DP, and to zero to leave DP unlit (Table 9).
For 7-segment displays, the digit plane data register
can be used to address a character generator, which
contains the data of a 16-character font containing the
hexadecimal font. The decode mode register can be
used to disable the character generator and allow the
segments to be controlled directly. Table 10 shows the
one-to-one pairing of each data bit to the appropriate
segment line in the digit plane data registers. The hexa-
decimal font is decoded according to Table 11.
The digit-type register configures the display driver for
various combinations of 14-segment digits, 16-segment
digits, and/or pairs, or 7-segment digits. The function of
this register is to select the appropriate font for each
digit and route the output of the font to the appropriate
MAX6954 driver output pins. The MAX6954 has four
digit drive slots. A slot can be filled with various combi-
nations of monocolor and bicolor 16-segment displays,
14-segment displays, or two 7-segment displays. Each
pair of bits in the register corresponds to one of the four
digit drive slots, as shown in Table 12. Each bit also cor-
responds to one of the eight common-cathode digit
drive outputs, CC0 to CC7. When using bicolor digits,
the anode connections for the two digits within a slot are
always the same. This means that a slot correctly drives
two monocolor or one bicolor 14- or 16-segment digit.
The digit type register can be written, but cannot be
read. Examples of configuration settings required for
some display digit combinations are shown in Table 13.
7-Segment Decode-Mode Register
In 7-segment mode, the hexadecimal font can be dis-
abled (Table 14). The decode-mode register selects
between hexadecimal code or direct control for each of
eight possible pairs of 7-segment digits. Each bit in the
register corresponds to one pair of digits. The digit
pairs are {digit 0, digit 0a} through {digit 7, digit 7a}.
Disabling decode mode allows direct control of the 16
LEDs of a dual 7-segment display. Direct control mode
can also be used to drive a matrix of 128 discrete
LEDs.
CS
CLK
DIN
D15 D14
D13
D12
D11 D10
D9
D8
D7
D6
D5
D4 D3 D2
D1
D0
DOUT
D15 = 0
Figure 4. Transmission of 16 Bits to the MAX6954
CS
CLK
DIN
BIT
1
BIT
2
N-9 N-8 N-7 N-6 N-5 N-4 N-3 N-2
DOUT
N-15
N-15 N-14 N-13 N-12 N-11 N-10 N-1
N-31 N-30 N-29 N-28 N-27 N-26 N-25 N-24
N-23
N-22 N-21 N-20 N-19
N-18
N-17 N-16
N
Figure 5. Transmission of More than 16 Bits to the MAX6954
MAX6954
4-Wire Interfaced, 2.7V to 5.5V LED Display
Driver with I/O Expander and Key Scan
______________________________________________________________________________________ 11
A logic high selects hexadecimal decoding, while a
logic low bypasses the decoder. When direct control is
selected, the data bits D7 to D0 correspond to the seg-
ment lines of the MAX6954. Write x0010000 to blank all
segments in hexadecimal decode mode.
Display Blink Mode
The display blinking facility, when enabled, makes the
driver flip automatically between displaying the digit
register data in planes P0 and P1. If the digit register
data for any digit is different in the two planes, then that
digit appears to flip between two characters. To make a
character appear to blink on or off, write the character
to one plane, and use the blank character (0x20) for the
other plane. Once blinking has been configured, it con-
tinues automatically without further intervention.
Blink Speed
The blink speed is determined by the frequency of the
multiplex clock, OSC, and by the setting of the Blink
Rate Selection Bit B (Table 18) in the configuration reg-
ister. The Blink Rate Selection Bit B sets either fast or
slow blink speed for the whole display.
Initial Power-Up
On initial power-up, all control registers are reset, the
display is blanked, intensities are set to minimum, and
shutdown is enabled (Table 15).
Configuration Register
The configuration register is used to enter and exit shut-
down, select the blink rate, globally enable and disable
the blink function, globally clear the digit data, select
between global or digit-by-digit control of intensity, and
reset the blink timing (Tables 16–19 and 21–24).
The configuration register contains 7 bits:
S bit selects shutdown or normal operation
(read/write).
B bit selects the blink rate (read/write).
E bit globally enables or disables the blink function
(read/write).
T bit resets the blink timing (data is not stored—tran-
sient bit).
R bit globally clears the digit data for both planes P0
and P1 for ALL digits (data is not stored—transient
bit).
I bit selects between global or digit-by-digit control
of intensity (read/write).
P bit returns the current phase of the blink timing
(read only—a write to this bit is ignored).
Character Generator Font Mapping
The font is composed of 104 characters in ROM. The
lower 7 bits of the 8-bit digit register represent the char-
acter selection. The most significant bit, shown as x in
the ROM map of Tables 7 and 8, is 1 to light the DP
segment and zero to leave the DP segment unlit.
The character map follows the standard ASCII font for
96 characters in the x0101000 through x1111111
range. The first 16 characters of the 16-segment ROM
map cover 7-segment displays. These 16 characters
are numeric 0 to 9 and characters A to F (i.e., the hexa-
decimal set).
Multiplex Clock and Blink Timing
The OSC pin can be fitted with capacitor C
SET
to GND
to use the internal RC multiplex oscillator, or driven by
an external clock to set the multiplex clock frequency
and blink rate. The multiplex clock frequency deter-
mines the frequency that the complete display is updat-
ed. With OSC at 4MHz, each display digit is enabled for
200µs.
The internal RC oscillator uses an external resistor,
R
SET
, and an external capacitor, C
SET
, to set the oscil-
lator frequency. The suggested values of R
SET
(56kΩ)
and C
SET
(22pF) set the oscillator at 4MHz, which
makes the blink frequency 0.5Hz or 1Hz.
The external clock is not required to have a 50:50 duty
cycle, but the minimum time between transitions must
be 50ns or greater and the maximum time between
transitions must be 750ns.
The on-chip oscillator may be accurate enough for
applications using a single device. If an exact blink rate
is required, use an external clock ranging between
1MHz and 8MHz to drive OSC. The OSC inputs of multi-
ple MAX6954s can be tied together to a common exter-
nal clock to make the devices blink at the same rate.
The relative blink phasing of multiple MAX6954s can be
synchronized by setting the T bit in the control register
for all the devices in quick succession. If the serial inter-
faces of multiple MAX6954s are daisy-chained by con-
necting the DOUT of one device to the DIN of the next,
then synchronization is achieved automatically by
updating the configuration register for all devices simul-
taneously. Figure 6 is the multiplex timing diagram.
OSC_OUT Output
The OSC_OUT output is a buffered copy of either the
internal oscillator clock or the clock driven into the OSC
pin if the external clock has been selected. The feature
is useful if the internal oscillator is used, and the user
wishes to synchronize other MAX6954s to the same
blink frequency. The oscillator is disabled while the
MAX6954 is in shutdown.
MAX6954
4-Wire Interfaced, 2.7V to 5.5V LED Display
Driver with I/O Expander and Key Scan
12 ______________________________________________________________________________________
Scan-Limit Register
The scan-limit register sets how many 14-segment dig-
its or 16-segment digits or pairs of 7-segment digits are
displayed, from 1 to 8. A bicolor digit is connected as
two monocolor digits. The scan register also limits the
number of keys that can be scanned.
Since the number of scanned digits affects the display
brightness, the scan-limit register should not be used to
blank portions of the display (such as leading-zero sup-
pression). Table 25 shows the scan-limit register format.
Intensity Registers
Digital control of display brightness is provided and
can be managed in one of two ways: globally or individ-
ually. Global control adjusts all digits together.
Individual control adjusts the digits separately.
The default method is global brightness control, which
is selected by clearing the global intensity bit (I data bit
D6) in the configuration register. This brightness setting
applies to all display digits. The pulse-width modulator
is then set by the lower nibble of the global intensity
register, address 0x02. The modulator scales the aver-
age segment current in 16 steps from a maximum of
15/16 down to 1/16 of the peak current. The minimum
interdigit blanking time is set to 1/16 of a cycle. When
using bicolor digits, 256 color/brightness combinations
are available.
Individual brightness control is selected by setting the
global intensity bit (I data bit D6) in the configuration
register. The pulse-width modulator is now no longer
set by the lower nibble of the global intensity register,
address 0x02, and the data is ignored. Individual digital
control of display brightness is now provided by a sep-
arate pulse-width modulator setting for each digit. Each
digit is controlled by a nibble of one of the four intensity
registers: intensity10, intensity32, intensity54, and inten-
sity76 for all display types, plus intensity10a, intensi-
ty32a, intensity54a, and intensity76a for the extra eight
digits possible when 7-segment displays are used. The
data from the relevant register is used for each digit as
it is multiplexed. The modulator scales the average
segment current in 16 steps in exactly the same way as
global intensity adjustment.
Table 26 shows the global intensity register format,
Table 27 shows individual segment intensity registers,
Table 28 is the even individual segment intensity for-
mat, and Table 29 is the odd individual segment inten-
sity format.
GPIO and Key Scanning
The MAX6954 feature five general-purpose input/output
(GPIO) ports: P0 to P4. These ports can be individually
enabled as logic inputs or open-drain logic outputs.
The GPIO ports are not debounced when configured as
inputs. The ports can be read and the outputs set using
the 4-wire interface.
Some or all of the five ports can be configured to per-
form key scanning of up to 32 keys. Ports P0 to P4 are
renamed Key_A, Key_B, Key_C, Key_D, and IRQ,
respectively, when used for key scanning. The full key-
scanning configuration is shown in Figure 7. Table 30 is
the GPIO data register.
One diode is required per key switch. These diodes
can be common-anode dual diodes in SOT23 pack-
ages, such as the BAW56. Sixteen diodes would be
required for the maximum 32-key configuration.
The MAX6954 can only scan the maximum 32 keys if
the scan-limit register is set to scan the maximum eight
digits. If the MAX6954 is driving fewer digits, then a
maximum of (4 x n) switches can be scanned, where n
is the number of digits set in the scan-limit register. For
example, if the MAX6954 is driving four 14-segment
digits cathode drivers O0 to O3 are used. Only 16 keys
can be scanned in this configuration; the switches
shown connected to O4 through O7 are not read.
If the user wishes to scan fewer than 32 keys, then
fewer scan lines can be configured for key scanning.
The unused Key_x ports are released back to their orig-
inal GPIO functionality. If key scanning is enabled,
regardless of the number of keys being scanned, P4 is
always configured as IRQ (Table 31).
The key-scanning circuit utilizes the LEDs’ common-
cathode driver outputs as the key-scan drivers. O0 to
07 go low for nominally 200µs (with OSC = 4MHz) in
turn as the displays are multiplexed. By varying the
oscillator frequency, the debounce time changes,
though key scanning still functions. Key_x inputs have
internal pullup resistors that allow the key condition to
be tested. The Key_x input is low during the appropri-
ate digit multiplex period when the key is pressed. The
timing diagram of Figure 8 shows the normal situation
where all eight LED cathode drivers are used.

MAX6954AAX+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
LED Display Drivers 2.7-5.5V LED Display Driver
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union