Quickly master the use of MAX6954 to drive 16-segment monochrome LED displays

Publisher:和谐共存Latest update time:2023-07-11 Keywords:MAX6954 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

This application note is intended to help engineers quickly master the use of the MAX6954 to drive 16-segment monochrome LED displays.

The MAX6954 is a universal display driver that can control multiple discrete, 7-segment, 14-segment, or 16-segment LED displays through a serial port. This application note describes typical applications and configurations for driving 8-bit monochrome, 16-segment LED displays.

For more information about the MAX6954, refer to the MAX6954 data sheet.

The application notes "Quick Start: Driving 7-Segment LED Displays with the MAX6954" and "Quick Start: Driving 14-Segment LED Displays with the MAX6954" are similar to this article and describe how to configure the MAX6954 to drive 7-segment and 14-segment displays, respectively.

A common application for the MAX6954 is to drive 16-segment single-color LEDs with up to 8 digits. This application note instructs the user on how to connect the MAX6954 to a 16-segment display and how to configure its internal registers to control the display of 104 characters from a built-in font.

The MAX6954 uses a multiplexing technique that alternates the polarity of the driver ports to reduce the number of pins. This is different from the standard LED multiplexing connection method where the cathode and anode pins of the driver are used separately. This technique is discussed in the application note "Charlieplexing - Reduced Pin-Count LED Display Multiplexing". Table 1 shows the wiring diagram for the MAX6954 to drive a 16-segment display that is compatible with the MAX6954 multiplexing configuration and its built-in font of 104 characters. The letters in Table 1 correspond to the segment labels in Figure 2. Figure 1 is a schematic diagram of the circuit for driving an eight-digit 16-segment display with MAX6954.

Figure 1. MAX6954 16-segment display application circuit.
Enlarged display
Figure 1. MAX6954 16-segment display application circuit


Figure 2. Segment identification of 16-segment display

Table 1. Connection table for eight-digit 16-segment display

image.png


After completing the wiring of the MAX6954 and the 16-segment display, the display test mode can be used to check the correctness of the connection. The display test mode is not affected by the control and data registers. It lights up all segments of the display, but does not change any register contents. Write 0x01 to register 0x07 to start the display test mode. If there are unlit segments of the display in the test mode, it means that the connection is incorrect. Write 0x00 to register 0x07 to exit the display test mode.

After completing the connection check, you need to set the MAX6954 register values ​​as required to drive the 16-segment display. Table 2 includes the initial power-up values ​​of some important MAX6954 registers. When the MAX6954 is first powered on, it is in shutdown mode, each bit of the display is blanked, the 16-segment font is selected, and the number of scan bits is set to the maximum, that is, eight bits. The default values ​​of the decode mode register (0x01) and the digital type register (0x0C) are suitable for 16-segment displays.

Figure 3. 16-segment display font
Figure 3. 16-segment display font

Table 2. Initial state of the registers after powering on the MAX6954

REGISTER POWER-UP CONDITION ADDRESS
(HEX)
REGISTER DATA
D7 D6 D5 D4 D3 D2 D1 D0
Decode Mode 16-segment font enabled 0x01 1 1 1 1 1 1 1 1
Global Intensity 1/16 (minimum intensity) 0x02 X X X X 0 0 0 0
Scan Limit Display eight 16-segment digits: 0, 1, 2, 3, 4, 5, 6, 7 0x03 X X X X X 1 1 1
Control Register Shutdown enabled, blink disabled, blink speed is slow 0x04 0 0 X X 0 0 0 0
Display Test Normal operation (display test disabled) 0x07 X X X X X X X 0
Digit Type Digits 0 through 7 are 16 segment digits 0x0C 0 0 0 0 0 0 0 0
Intensity10 1/16 (min on), digits 1 and 0 0x10 0 0 0 0 0 0 0 0
Intensity32 1/16 (min on), digits 3 and 2 0x11 0 0 0 0 0 0 0 0
Intensity54 1/16 (min on), digits 5 and 4 0x12 0 0 0 0 0 0 0 0
Intensity76 1/16 (min on), digits 7 and 6 0x13 0 0 0 0 0 0 0 0
Digit 0 Blank digit, both planes 0x60 0 0 1 0 0 0 0 0
Digit 1 Blank digit, both planes 0x61 0 0 1 0 0 0 0 0
Digit 2 Blank digit, both planes 0x62 0 0 1 0 0 0 0 0
Digit 3 Blank digit, both planes 0x63 0 0 1 0 0 0 0 0
Digit 4 Blank digit, both planes 0x64 0 0 1 0 0 0 0 0
Digit 5 Blank digit, both planes 0x65 0 0 1 0 0 0 0 0
Digit 6 Blank digit, both planes 0x66 0 0 1 0 0 0 0 0
Digit 7 Blank digit, both planes 0x67 0 0 1 0 0 0 0 0


The configuration register (0x04) is used to set the entry and exit of shutdown mode, control the blinking function, globally clear each bit data, and select whether to control each bit brightness globally or individually. The configuration register contains 7 bits (see Table 3).

  • The S bit is used to select shutdown mode or normal operation mode (read/write).

  • The B bit is used to select the blink rate (read/write).

  • The E bit is used to globally enable or disable the blinking function (read/write).

  • The T bit is used to reset the blink timing (this data is not stored - transient bit).

  • The R bit is used to globally clear the P0 and P1 registers corresponding to all display bits (this data is not stored - transient bit).

  • The I bit is used to select whether the brightness of each bit is controlled globally or individually (read/write).

  • The P bit is used to return the current blink timing phase (read only - writing a value to this bit will be ignored).

Table 3. Configuration register format

CONFIGURATION
REGISTER
DATA BIT
DATA
BIT
LABEL
STATE FUNCTION
D7 P 0 P1 Blink Phase
1 P0 Blink Phase
D6 I 0 Intensity for all digits is controlled by one setting in the Global
Intensity Register
1 Intensity for digits is controlled by the individual settings in the
Intensity10 through Intensity76 registers.
D5 R 0 Digit data for both planes P0 and P1 are unaffected
1 Digit data for both planes P0 and P1 are cleared on the rising edge of active-low CS
D4 T 0 Blink timing counters are unaffected.
1 Blink timing counters are reset on the rising edge of active-low CS.
D3 E 0 Blink function disabled
1 Blink function enabled
D2 B 0 Slow Blinking. Segments blink on for 1s, off for 1s with fOSC = 4MHz.
1 Fast Blinking. Segments blink on for 0.5s, off for 0.5s with fOSC = 4MHz.
D1 X X Don't care
D0 S 0 Shutdown
1 Normal Operation


The display driver is started by writing 0x01 to register 0x04, and the operation mode is set to global brightness control with flicker disabled. The internal oscillator starts when the MAX6954 exits shutdown mode, and the oscillator output pin is OSC_OUT. Note that the 16-segment display remains blanked when the power-up state of data control registers 0x60 to 0x67 is 0x20 or no segments are illuminated (see Table 2 and Figure 3).

The MAX6954 has an internal ASCII font map for 104 characters for 16-segment displays. The characters are standard ASCII fonts plus These common symbols. These 104 characters are represented by 7 bits, and the 8th bit is used to select whether the decimal point (DP) is illuminated (see Table 4). The data register has two levels, P0 and P1. Each display bit is represented by 2 bytes in memory, one byte is located at P0 and the other is located at P1 (see Table 7). The data register is a mapped address mode, so each bit of data can be updated in P0 (registers 0x20 to 0x27), in P1 (registers 0x40 to 0x47), or in both levels at the same time (registers 0x60 to 0x67). The data in the data register does not directly control the display of each segment in the 16-segment display. Instead, it is used to address a character generator that stores 16-segment font data (see Figure 3). The lower 7 bits of the register data (D6 to D0) are used to select characters from the font. The highest bit (D7) controls the display of the decimal point (DP); setting it to 1 displays DP, and setting it to 0 does not display DP.

Table 4. Digital type data register format

[1] [2]
Keywords:MAX6954 Reference address:Quickly master the use of MAX6954 to drive 16-segment monochrome LED displays

Previous article:Simple comparison and difference between standard definition and high definition digital television
Next article:Optimizing the Buffer Amplifier/ADC Connection

Recommended ReadingLatest update time:2024-11-22 21:21

Features and Applications of Adjustable LED Linear Driver AT8800
Overview The AT8800 current regulator operates over an input voltage range of 6.5V to 40V, providing a total current of up to 350mA to drive one or more columns of high-brightness LEDs. The AT8800 output current is adjusted using an external current-sense resistor in series with the LED. The enable input enable
[Power Management]
Features and Applications of Adjustable LED Linear Driver AT8800
Characteristics and maintenance skills of servo drives
Features of servo drives 1. The servo drive software program mainly includes the main program, interrupt service program and data exchange program. 2. The servo driver main program is mainly used to complete system initialization, LO interface control signal, and the setting of registers of various control
[Embedded]
Adhering to innovation-driven development, Meizhi and Welling won the Guangdong Provincial "Single Champion" in 2024
On August 5, 2024, the Department of Industry and Information Technology of Guangdong Province officially released the list of provincial manufacturing single champions in 2024. GMCC and Welling won the "single champion" of Guangdong provincial manufacturing industry with air-conditioning compressors and washin
[Industrial Control]
Adhering to innovation-driven development, Meizhi and Welling won the Guangdong Provincial
Linux-2.6.32 transplanted on mini2440 development board transplanted watchdog driver
1 Configure the watchdog driver in the kernel. The Linux-2.6.32.2 kernel has a perfect watchdog driver for S3C2440. We only need to configure it and we can use it. Execute: make menuconfig in the kernel source code directory, enter the kernel configuration main menu, and select the followin
[Microcontroller]
Application of LabVIEW's event-driven function in menu design
  Event-driven programming has long been a basic function of programming languages ​​such as VB and VC++. As the best graphical programming language today, it is obviously out of date for LabVIEW to not have event-driven functionality. The emergence of Event Structure in LabVIEW 6.1 completely solves this problem. In a
[Test Measurement]
Application of LabVIEW's event-driven function in menu design
LED Driver Solutions for Medium Voltage General Lighting
Many medium voltage LED applications are powered by offline AC-DC power supplies, batteries, or electronic transformers with low voltage AC output. But some of these power supplies, such as lead-acid batteries, are only simply regulated. Therefore, there is a need for an LED driver solution that can operate over a
[Power Management]
LED Driver Solutions for Medium Voltage General Lighting
EMC driver norflash for LPC1788
Norflash model is sst39vf32   #ifndef __NORFLASH_H_ #define __NORFLASH_H_   #include "common.h" #include "delay.h" #include "debugserial.h"   #define NOR_FLASH_BASE      0x80000000 #define NOR_FLASH_SIZE      0x00100000   #define GET_ADDR(addr)  (volatile uint16_t *)(NOR_FLASH_BASE | (addr 1))   #define SECTOR_SIZE   
[Microcontroller]
Offline LED driver circuit design example
As a new type of energy-saving, environmentally friendly green light source product, LED has a broad market prospect. At this stage, there are thousands of LED driver ICs on the market. Among them, we encounter more single-chip circuit structures (Figure 1a). According to the IC data sheet, this type of IC i
[Power Management]
Offline LED driver circuit design example
Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号