STMicroelectronics AN842 7-Segment Display Drive Application Note

This article describes the principles and operation of a 7-segment display driven by the ST6-REALIZER. A 7-segment display consists of 7 LEDs arranged in a figure-eight pattern to display alphanumeric characters. The article also discusses hardware considerations and describes how to generate control software using the ST6-REALIZER.


STMicroelectronics AN842 7-Segment Display Drive Application Note - cover page
Brand
STMicroelectronics
Category
Other Electronics
Document type
Application Note
Language
English
Pages
8
File format
PDF
File size
91 KB
Published
07 August, 2012
Updated
29 September, 2023
MD5 checksum
729E8AA8CD9C0F85633BFCCC7A108429

About this manual

This document explains the principles of operating 7-segment displays, including the structure of the display and the required segment patterns for numeric representation. It details the hardware considerations for biasing the display using I/O lines on the ST62 MCU.

The text focuses on generating control software using the ST6-REALIZER tool. It compares two software implementation approaches: using multiple bitwise lookup tables versus a single bytewise lookup table, quantifying the reduction in execution time. It also covers extending these concepts to multiple-digit display systems using multiplexing techniques.

What's inside

  • Introduction
  • Principle of Operation
  • Hardware layout
  • Software generation
  • Bitwise lookup table
  • Bytewise lookup table
  • Multiple digit display
  • Multiplexing technique
  • Revision history
  • Legal notices

Frequently asked questions

What is the minimum refresh frequency required to avoid flicker?

The refresh frequency must be at least 20 cycles per second to ensure image persistence and avoid flicker.

What is the recommended switching period for multiplexing multiple digits?

The cathode selection signal must switch with a period shorter than the persistence time of the human eye, with 20ms chosen in the example.

Download PDF (91 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →