Part # Application Notes General Purpose Products STM32F103VC STM32F103VD STM32F103VE STM32F103ZC STM32F103ZC STM32F103ZE STM32F101VC S datasheet

Part Manufacturer: ST Microelectronics

ST Microelectronics

Part Description: FT LCD interfacing with the high-density STM32F10xxx FSMC


Part Details:

AN2790 Application note TFT LCD interfacing with the high-density STM32F10xxx FSMC Introduction Interactive interfaces are more and more integrated into many applications such as medical devices, process control, mobile phones and other hand-held devices. These interfaces are based mainly on graphic HMIs (human machine interface) using color LCDs. Worldwide, the desire for color support is growing dramatically. The purpose of this application note is to address this aspect by describing how to use the STM32F10xxx FSMC (flexible static memory controller) to drive a TFT color LCD. This document first describes how to connect a color LCD to the FSMC, then it provides a TFT LCD interfacing example. The demonstration firmware delivered with this application note, the STM32F10xxx firmware library, and other such firmware are available for download from the STMicroelectronics website: www.st.com. July 2008 Rev 1 1/45 www.st.com Contents AN2790 Contents 1 STM32F10xxx flexible static memory controller (FSMC) overview . . . 6 1.1 FSMC NOR Flash/SRAM bank description . . . . . . . . . . . . . . . . . . . . . . . . 6 2 TFT LCD (thin-film-transistor liquid crystal display)interfacing with FSMC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.1 Common color LCD interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.2 Typical use of the FSMC to interface with an LCD module . . . . . . . . . . . 10 2.3 Connecting the FSMC to the LCD Intel 8080-like (I80) interface . . . . . . . 10 2.4 Connecting the FSMC to the LCD Motorola 6800 (M68)-like interface . . 11 2.5 Interfacing an LCD with the FSMC of a High-densitySTM32F10xxx device offered in a 100-pin package . . . . . . . . . . . . . . . . 12 2.6 Timing computation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.6.1 LCD timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.6.2 FSMC timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3 Interfacing the Ampire AM-240320L8TNQW00H TFTLCD with the FSMC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.1 Ampire TFT LCD interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.2 Hardware connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.3 Timing computation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4 Firmware description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.1 LCD driver firmware description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.2 Running the demo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.2.1 Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.2.2


Please click the following link to download the datasheet:

Application Notes General Purpose Products STM32F103VC STM32F103VD STM32F103VE STM32F103ZC STM32F103ZC STM32F103ZE STM32F101VC S.pdf Datasheet