STM32F407vet6 uses FSMC to drive LCD screen

Publisher:SereneSerenityLatest update time:2018-04-17 Source: eefocusKeywords:STM32F407vet6 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

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 Shut up.)

      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.


Keywords:STM32F407vet6 Reference address:STM32F407vet6 uses FSMC to drive LCD screen

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

FSMC Configuration
FSMC Configuration To control a NOR flash memory, the FSMC needs to provide the following functions: ● Select the appropriate memory block mapping NOR flash memory: There are 4 independent memory blocks that can be used to interface with NOR flash, SRAM and PSRAM memories, and each memory block has a dedicated chip s
[Microcontroller]
STM32 uses DMA and FSMC to drive ISSI 25616 external SRAM successfully
Last year, I tried the DMA of STM32. I think I used the M2M mode. When testing, I used 32-bit width data from STM32's own FLASH to RAM. The test was successful. Then I used DMA to send data to DAC to generate square waves, triangle waves, sine waves, etc. After using DMA, I used FSMC to drive 9325TFT. At that time, I
[Microcontroller]
Latest Microcontroller 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号