Home > other >  Based on [by] AT32F403A XMC 8080 interface Littlevgl demo
Based on [by] AT32F403A XMC 8080 interface Littlevgl demo

Time:09-27

An overview of the
This sample is based on the AT - START - F403A experiment board, as a comprehensive example LittlevGL GUI display,
, use the XMC 16 bit driver 8080 LCD (ILI9341)
, use SPI3 to obtain the resistance screen
Science and technology, based on the astra force TFT LCD Touch Demo Board v1. X

The demo shows as follows:
https://b23.tv/Vv1aDX

When transplanting need to pay attention to the details of the
, in order to achieve reasonable configuration lv_conf shows higher please. In the c file
# define LV_DPI//DPI per unit inches of pixel

The LCD screen, only changed lv_port_disp_template. C in the file
The static voiddisp_init (void)
The static voiddisp_flush (lv_disp_drv_t * disp_drv, const lv_area_t * area, lv_color_t * color_p)

Touch interface, simply adjust the lv_port_disp_template. C file
The static voidtouchpad_init (void)
The static booltouchpad_read (lv_indev_drv_t * indev_drv, lv_indev_data_t * data)

Wrong case occurrence colour, is likely to be
Lv_conf. C # defineLV_COLOR_16_SWAP no configuration file right
The LCD screen RGB/BGR mode not configured properly


Connection pin
The pin to pin with LCD and XMC (16 bits) :
GPIO PD3 LCD_RESET
GPIO PD3 LCD_BL
XMC_A16 PD11 LCD_RS
XMC_NE1 parallels 7 LCD_CS
XMC_NWE PD2 LCD_WR
XMC_NOE PC5 LCD_RD
XMC_D0 PB14 DATA [0]
XMC_D1 PC6 DATA [1]
XMC_D2 PC11 DATA [2]
XMC_D3 PC12 DATA [3]
XMC_D4 PA2 DATA [4]
XMC_D5 PA3 DATA [5]
XMC_D6 PA4 DATA [6]
XMC_D7 PA5 DATA [7]
XMC_D8 PE11 DATA [8]
XMC_D9 PE12 DATA [9]
XMC_D10 PE13 DATA [10]
XMC_D11 PE14 DATA [11]
XMC_D12 PE15 DATA [12]
XMC_D13 PB12 DATA [13]
XMC_D14 PD9 DATA [14]
XMC_D15 PD10 DATA [15]

Note: the documentation and source code, please check the following link: https://bbs.21ic.com/icview-2984968-1-3.html



  • Related