Hardware layout and configuration
UM2032
28/40
UM2032 Rev 3
Note:1
The star symbol “*” means pin compatible with the 32F401CDISCOVERY and
32F411EDISCOVERY Discovery kits.
Note:2
Meaning of the letters: “A”: shared with ARDUINO
®
Uno V3 connectors; C: shared with
codec; D: shared with digital microphones; V: shared with Virtual COM port; T: shared with
capacitive touch panel; S: shared with microSD™.
5.17
LCD display, backlight and touch panel
5.17.1 LCD
display
The display is a 1.54-inch, 240x240 pixels TFT color LCD with capacitive touch panel. It
displays up to 262 K colors. The LCD parallel interface is connected to the FMC of the
STM32F412ZGT6 by the connector CN15 (see
To enable the data bus of the LCD display in 16-bit mode, the solder bridges SB41 and
SB42 are OFF and ON respectively by default. In this way the IM signal of the LCD is set to
high.To use the LCD in 8-bit mode, SB41 must be ON and SB42 OFF.
The selection of the LCD is performed by FMC_NE1 (PD7), write-enable signal is
FMC_NWE (PD5) and read-enable is FMC_NOE (PD4). The address bit A0 of the FMC
(Flexible Static Memory Controller) is used to select data/command access to the LCD.
The port PG4 should be used as an input of the microcontroller connected to the LCD signal
TE (Tearing Effect). To avoid visible artifacts on the display, TE signal is used to synchronize
the refresh of the LCD memory done by the microcontroller with the LCD scan.
The port PD11 of the STM32F412ZGT6 controls the reset of the LCD display LCD_RESET.
41
PA10
*
42
PA13
*
43
PA8
*D
44
-
-
45
-
-
46
PC9
*S
47
PC6
*
48
PC7
*C
49
GND
*
50
GND
*
Table 9. Pin assignment for the extension connector P2 (continued)
P2 odd pins
P2 even pins
Pin No.
Name
Note
Pin No.
Name
Note
Table 10. Pin assignment for connector CN15
CN15 pin
Signal
name
Description
STM32 pin
involved
1
GND
Ground
GND
2
LCD_TE
Tearing Effect output pin to send an interrupt to STM32
PG4
3
D15
Data connected to FMC
PD10
4
D14
Data connected to FMC
PD9
5
D13
Data connected to FMC
PD8