Boards / STM32

STM32F407 + ILI9341 16-bit FSMC

The 3.2" TFT modules that plug straight onto an F407ZG board via FSMC.

At a glance

MakerGeneric
MCUSTM32F4 (F401 / F407 / F411)
Cortex-M4F @ 84-180 MHz, 96-192 KB SRAM
DisplayIlitek ILI9341, 240 x 320 px, 16-bit parallel (i80 / 8080), 16-bit colour
TouchXPTek XPT2046 (resistive, SPI)
BacklightPB0, dimmable (PWM)
PSRAMNo
Graphics libraryLovyanGFX

Display pins

ILI9341 on 16-bit parallel (i80 / 8080): PAR16 clock 20 MHz, BGR colour order, inversion off.

SignalPin
WRPD5
RDPD4
DC / RSPD11
CSPD7
RESETPE1
D0 - D15PD14, PD15, PD0, PD1, PE7, PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PD8, PD9, PD10
BacklightPB0

Touch pins

XPT2046: 2000 kHz, its own SPI bus.

SignalPin
SCKPB13
MOSIPB15
MISOPB14
CSPB12
IRQ / PENIRQPC5

Check your revision. These are the standard FSMC bank-1 pins. A16 (PD11) is wired to the RS/DC line.

Designing for it in LCD Wizard

The parts

ILI9341. The most common hobby TFT. 2.2"-2.8" modules, usually with an XPT2046 resistive panel.

XPT2046. The classic 4-wire resistive controller. Needs calibration. Can share the display SPI bus with its own CS.

STM32F4 (F401 / F407 / F411). Use the STM32duino core. FSMC gives a fast parallel bus on F407 and up.

LovyanGFX. Widest panel and bus coverage, DMA on ESP32. Configured with a C++ config class.

Designs for this board

Nobody has published a design for this board yet. Publish yours from the designer and it appears here and in the gallery.

Next