1 System Hardware Composition and Principle
This system uses the LPC2210 microprocessor produced by Philips, and uses the low-power, low-cost ARM7TDM I as the core system hardware. The system is mainly composed of display control circuit and LED display screen, as shown in Figure 1.
The control circuit with ARM7 (LPC2210) microprocessor as the core mainly completes the data conversion signal control work. The scanning drive circuit of the LED display mainly uses 74HCl38 and 74HC595 to complete the row scanning and complete the column control by controlling the timing. The display screen uses LED as pixels and is spliced by LED dot matrix display units. The display screen designed in this design has a dot matrix structure of 16 rows × 64 columns.
In the design, the 16 pins of LPC2210P0 port are used as the interface of the display control circuit, and they correspond to the screen enable terminal EN, row selection signal terminal (A, B, C, D), row lighting data signal terminal (GD1, GD2, RD1, RD2) and two timing signals LAT, CLK, etc.
2 System Software Design
Since the display control circuit of this LED display mainly uses 74HCl38 and 74HC595 to complete row scanning and column control by controlling the timing, and these timings are completed by the software part, the reasonable design and implementation of the timing logic should be considered first in the design of the software system. In this LED display, two timings are required, namely the cache timing CLK to complete the data cache and the screen timing: LAT to light up the cached data. After the rising edge of CLK appears, the data is stored in the cache of the screen in sequence. After the rising edge of LAT appears, the screen sends the cache content to a certain row of the screen. In addition, the selection of rows during row scanning, as well as the display module, communication module, screen clearing module, etc., the writing of sub-modules and the coordinated use of each sub-module should also be considered.
It should be pointed out that in order to improve the scalability of the LED display, the system will inevitably increase the frequency requirements. For this reason, in the design process of the system software, this design uses the phase-locked loop (PLL) built into the LPC2210 microprocessor to multiply the system frequency to improve the scalability of the system. The system software architecture design is shown in Figure 2.
2.1 PLL module
The input clock frequency range of the LPC2210 PLI is 10 to 25 MHz. 11.0592 MHz is selected as the external crystal frequency of the system. First, the PLL needs to be configured. The calculation formula is shown in formula (1).
Among them, Fosc is the crystal frequency, Fcco is the frequency of the PLL current controlled oscillator, cclk is the output frequency of the PLL, that is, the clock frequency of the processor, and M and P are the multiplier value and divider value of the PLL respectively.
The CCO frequency can be obtained by formula (2).
The source code of the PLL module is as follows:
2.2 Other main modules
Mainly completes the line scanning and the scanning module of each point in the line
3 System Verification
Using ADS1.2 for online simulation verification, through the design of hardware and the coding and debugging of software code, the dot matrix LED screen has realized the function of displaying various information in a dual-color and diversified way, and the display screen can be expanded through simple cascading. And a comparative analysis was conducted in two cases, without calling the PLL module and calling it, and a relatively obvious phenomenon was obtained, that is, when the PLL module is called, the system display is more stable and more suitable for the expansion of the dot matrix LED screen.
4 Conclusion
This design uses the 32-bit ARM embedded microprocessor LPc2210, adopts an expandable and modular design, with the display circuit of the LED screen and the ARM microprocessor control circuit as the core, to realize the function of the dot matrix LED screen to display various information in a dual-color and diversified manner. At the same time, the display screen can be expanded through simple cascading, solving the problems of system operation speed, addressing capability and power consumption.
Previous article:Design of CAN bus network based on ARM7 processor
Next article:Realization of High-speed Data Acquisition System Based on ARM9
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- What challenges do IoT smart home network and device manufacturers face?
- I am looking for learning materials for analog IC power management (PMU), I am a beginner
- How to design a triode amplifier circuit
- [RISC-V MCU CH32V103 Evaluation] IIC Hardware Test (Part 2)
- I work in the field of industrial control, electronics and hardware are both possible
- Requesting Jlink script for ARM-A9
- C5517 FFT hardware accelerator performs calculations sometimes well and sometimes poorly
- Talk about the future applications of drones and get points for speaking up
- How does a newbie learn about microcontrollers?
- How to find the power switch loop