My method is also very simple. Experts please don't criticize me.
First of all, you need to understand the basic principle of FSMC, that is, how to use it, how to configure it, and why it can be used in this way. You can refer to the reference manual of STM32F4 for this. I won't go into details here. (Actually, I don't understand it very well .)
I used the screen of the Wildfire development board because I wanted to directly transplant the program provided by the development board. (This is the only thing a novice can do) Because the smallest system board I bought is a 100-pin package, there are some minor problems in using it. I searched a lot on the Internet about how to drive LCD with FSMC on a 100-pin board, but I didn't find a suitable answer. Since I have better luck and have adjusted it, I will share it. Even if it can't help others who see it, at least it can give some comfort to those who encounter the same problem as me! Adjust it slowly, it can be adjusted!
The FSMC data lines D0-D15 are also available in the 100 package. Just connect them directly. (Refer to the definition of the IO port in the data manual) The power ground and other things are also available. The backlight pin can be defined by yourself. This depends on personal preference. At the end of LCD initialization, the backlight is turned on. Mine is low level effective. The reset signal is the same as the backlight. The CS signal is defined as PG12 in the FSMC. Obviously, there is no CS, but CS is the chip select signal. Since I am using this screen, there is no need to control which one is selected. Just make it always selected. Of course, it is theoretically possible to control it yourself with a pin. (I haven't tried it) The most critical thing is the LCD-DC signal. The method of use is to connect it to the address line of the FSMC. The 100 package also has several address lines. Calculate the RAM address according to the selected address line.
Just provide a small idea. Because I don't have a good grasp of it, let's learn together.
Previous article:STM32 FSMC usage--LCD
Next article:Explanation of the method of driving 80 bus LCD screen with STM32 FSMC
Recommended ReadingLatest update time:2024-11-23 16:34
- Popular Resources
- Popular amplifiers
- Easy to play with STM32 microcontroller (Yang Baijun)
- Easy to play with STM32 microcontroller (Yang Baijun, Wang Xuechun, Huang Yaqin)
- STM32+esp8266 obtain network weather source program
- 2018 Electronics Contest Topic D - Gesture Recognition Device (Guilin University of Electronic Technology, Guangxi)
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- STMicroelectronics discloses its 2027-2028 financial model and path to achieve its 2030 goals
- 2024 China Automotive Charging and Battery Swapping Ecosystem Conference held in Taiyuan
- State-owned enterprises team up to invest in solid-state battery giant
- The evolution of electronic and electrical architecture is accelerating
- The first! National Automotive Chip Quality Inspection Center established
- BYD releases self-developed automotive chip using 4nm process, with a running score of up to 1.15 million
- GEODNET launches GEO-PULSE, a car GPS navigation device
- Should Chinese car companies develop their own high-computing chips?
- Infineon and Siemens combine embedded automotive software platform with microcontrollers to provide the necessary functions for next-generation SDVs
- Continental launches invisible biometric sensor display to monitor passengers' vital signs
- EEWORLD University Hall ---- Comments on the 2020 EDA Elite Competition New Thinking Competition Questions
- Complete hardware design process
- Monolithic Silicon-Glass Double Balanced Mixers for Wireless
- MIMO WLAN RF Operation Principles and Measurements
- "Electrical Design Product Modeling and Data Management System" Software
- C2000 Software Serial Interface (SCI) Implementation Method
- GaAs Power Switch Ultra-High Frequency DC Converter
- TMS320DM647ZUT Features
- [Perf-V Review] + Test of Hummingbird Soft-core Routine
- MicroPython has been selected for the 2020 Google Docs Annual Plan