Based on a study STM32F429 HAL library project template

Let's see what this template there are some:

First, open the inside STW_STM32F429.ioc file, see the graphical interface

In this project, we take up a FMC interface for SDRAM 32MB of expanded outward, taking up a LTDC interface for connecting an RGB display, two timers TIM6, TIM7, two serial ports USART1, USART3 (WIFI module connector)

Their specific configuration and clock configurations not explained in detail, I have provided a link below, are interested can download and slowly learning.

General formwork nothing more than to complete a marquee, I offer template provided with additional features, details not introduced, roughly say about it:

6 is completed by a timer function of a marquee 1HZ, the timer 7 is a scanning function USMART assembly, when any one of the two serial ports receiving the information, the information will be parsed, if it is an executable function, the system performs function, if not, an error message appears on the display. Port 1 is directly connected to a computer via a USB cable, a serial interface 3 connected to the WIFI module. We use a serial debugging assistant (or network debugging assistant, found feasible) to test:

Let's send a LCD_Clear (0XFFFF, because the less a parenthesis, and therefore can not be executed, and then send a LCD_ShowString (30,200,200,16,16, "SHOWTIME"), implementation of the results can be seen in the bottom of the screen:

More, we are interested, then you can download slowly Kane.

Link: https: //pan.baidu.com/s/1-_LYqX4-DpdAql0GIlBmgQ
extraction code: 1g2p
copy the contents of this open Baidu network disk phone App, the operation more convenient oh

Guess you like

Origin www.cnblogs.com/showtime20190824/p/11415470.html