Rev.: 01
1 EB-STM32F4DISCOVERY-LCD Overview
The EB-STM32F4DISCOVERY-L CD is an extension board for the STM32F4DISCOVERY Development
Board.
Figure 1. LCD connector expansion board for STM32F4VLDISCOVERY
The expansion board has build in LED b acklight drive r circuit and 6 0pin FPC connector for the Kentec LCDs
(3.5 inch: K350QVG-V2-F; 4.3 inch: K430WQC-V3-FF; 5.0 inch: K50DWN2-V1-FF; 7.0 inch: K70DWN2-V 1-FF;
9.0 inch: K90DWN2-V1-FF). And also ha ve a micro SD card slot can be interface to STM32F4 by SD interface.
2 EB-STM32F4DISCOVERY-LCD Dimensions
Figure 2. Outline Dimensions
STM32F4DISCOVERY LCD Interface Expansion Board
(EB-STM32F4DISCOVERY-LCD) User Guide
Rev.: 01
3 EB-STM32F4DISCOVERY-LCD interface
Table 1-1. Main Interface Signal P1 (50pin socket connect to STM32F4DISCOVERY MCU board P1)
Pin STM32F4DISCOVERY
P1 PIN Symbol
EB-STM32F4DISCOVERY-LCD
P1 Symbol Description
1-2 GND GND Ground (0V)
3-4 3V3 3V3 Power supply (+3.3V)
5 GND GND Ground (0V)
6 NRST LCD_RST LCD reset signal
7 PC1 NC No connection
8 PC0 NC No connection
9 PC3 NC No connection
10 PC2 NC No connection
11 PA1 NC No connection
12 PA0 NC No connection
13 PA3 NC No connection
14 PA2 NC No connection
15 PA5 TOUCH_SCK
Reserved for touch controller serial clock input
16 PA4 NC No connection
17 PA7 TOUCH_SDIN
Reserved for touch controller serial data input
18 PA6 TOUCH_SDO
Reserved for touch controller serial data output
19 PC5 NC No connection
20 PC4 TOUCH_BUSY
Reserved for touch controller busy signal output
21 PB1 NC No connection
22 PB0 NC No connection
23 NC NC No connection
24 PB2 NC No connection
25 PE7 LCD_D4 LCD parallel data bus bit 4
26 PE8 LCD_D5 LCD parallel data bus bit 5
27 PE9 LCD_D6 LCD parallel data bus bit 6
28 PE10 LCD_D7 LCD parallel data bus bit 7
29 PE11 LCD_D8 LCD parallel data bus bit 8
30 PE12 LCD_D9 LCD parallel data bus bit 9
31 PE13 LCD_D10 LCD parallel data bus bit 10
32 PE14 LCD_D11 LCD parallel data bus bit 11
33 PE15 LCD_D12 LCD parallel data bus bit 12
34 PB10 NC No connection
35 PB11 NC No connection
36 PB12 NC No connection
37 PB13 NC No connection
38 PB14 TOUCH_CS
Reserved for touch controller chip select signal
39 PB15 NC No connection
40 PD8 LCD_D13 LCD parallel data bus bit 13
41 PD9 LCD_D14 LCD parallel data bus bit 14
Rev.: 01
Continued Table 1-1, Main interface signal P1 (50pin socket connect to STM32F4DISCOVERY MCU board P1)
42 PD10 LCD_D15 LCD parallel data bus bit 15
43 PD11 LCD_RS LCD register/data select signal
44 PD12 NC No connection
45 PD13 NC No connection
46 PD14 LCD_D0 LCD parallel data bus bit 0
47 PD15 LCD_D1 LCD parallel data bus bit 1
48 NC NC No connection
49-50 GND GND Ground (0V)
Table 1-2. Main Interface Signal P2 (50pin socket connect to STM32F4DISCOVERY MCU board P2)
Pin STM32F4DISCOVERY
P1 PIN Symbol
EB-STM32F4DISCOVERY-LCD
P1 PIN Symbol Description
1-2 GND GND Ground (0V)
3-4 5V 5V Power supply for LED driver circuit
5-6 3V NC No connection
7 PH0 NC No connection
8 PH1 NC No connection
9 PC14 NC No connection
10 PC15 NC No connection
11 PE6 NC No connection
12 PC13 Card detect No connection
13 PE4 NC No connection
14 PE5 NC No connection
15 PE2 NC No connection
16 PE3 NC No connection
17 PE0 NC No connection
18 PE1 NC No connection
19 PB8 NC No connection
20 PB9 NC No connection
21 BOOT0 NC No connection
22 GND NC No connection
23 PB6 NC No connection
24 PB7 NC No connection
25 PB4 NC No connection
26 PB5 LCD_BL Reserved for LCD backlight ON/OFF control
27 PD7 LCD_CS LCD chip select signal
28 PB3 NC No connection
29 PD5 LCD_WR LCD write control signal
30 PD6 TOUCH_INT
Reserved for touch controller interrupt signal
31 PD3 NC No connection
32 PD4 LCD_RD LCD read control signal
33 PD1 LCD_D3 LCD parallel data bus bit 3
Rev.: 01
Continued Table 1-2, Main interface signal P2 (50pin socket connect to STM32F4DISCOVERY MCU board P2)
34 PD2 SDIO_CMD
SD card command signal
35 PC12 SDIO_CK SD card clock signal
36 PD0 LCD_D2 LCD parallel data bus bit 2
37 PC10 SDIO_D2 SD card DAT2 signal
38 PC11 SDIO_D3 SD card DAT3 signal
39 PA14 NC No connection
40 PA15 NC No connection
41 PA10 NC No connection
42 PA13 NC No connection
43 PA8 NC No connection
44 PA9 NC No connection
45 PC8 SDIO_D0 SD card DAT0 signal
46 PC9 SDIO_D1 SD card DAT1 signal
47 PC6 NC No connection
48 PC7 NC No connection
49-50 GND GND Ground (0V)
Table 2. LCD Interface Signal (CN1 60pin ZIF connector to LCD module)
Pin Symbol Description
1, 2 LED_K LED power supply (-)
3, 4 LED_A LED power supply (+)
5 GND
Ground (0V)
6 XR
4-wire resistor touch screen terminal
7 YD
8 XL
9 YU
10 GND
Ground (0V)
11~13 NC No Connection
14 Reset
Reset input signal for LCD
15 CS
Chip select for LCD
16~19 NC No Connection
20 D0
Data bit 0, default connected to GND on MCU board
21~25 D1~D5 Data bit 1 ~ bit 5
26, 27 NC No Connection
28~30 D6~D8 Data bit 6 ~ bit 8
31 D9
Data bit 9, default connected to GND on MCU board
32, 33 D10, D11 Data bit 10 ~ bit 11
34, 35 NC No Connection
36~41 D12~D17 Data bit 12 ~ bit 17
42~44 GND Ground (0V)
45, 46 AVDD Power supply (3.3V)
Rev.: 01
Continued Table 2, LCD interface signal (CN1 60pin ZIF connect to LCD)
47, 48 VCC Power supply (3.3V)
49 RS
Command/Data select signal for LCD
50 RD
Read control signal for LCD
51 WR
Write control signal for LCD
52 PS0
LCD interface select pin for K350QVG-V2-F, default set to i8080 16-bit parallel.
53 PS1
54 PS2
55 PS3
56, 57 NC No connection
58~60 GND Ground (0V)
4 Schematics
1 2
3 4
5 6
7 8
910
11 12
13 14
15 16
17 18
19 20
21 22
23 24
25 26
27 28
29 30
31 32
33 34
35 36
37 38
39 40
41 42
43 44
45 46
47 48
49 50
P1
MHDR2X25
1 2
3 4
5 6
7 8
910
11 12
13 14
15 16
17 18
19 20
21 22
23 24
25 26
27 28
29 30
31 32
33 34
35 36
37 38
39 40
41 42
43 44
45 46
47 48
49 50
P2
MHDR2X25
GND GND
3V3 3V3
GND NRST
PC0PC1 PC2PC3 PA0PA1 PA2PA3 PA4PA5 PA6PA7 PC4PC5 PB0PB1 PB2
PE7 PE8
PE9 PE10
PE11 PE12
PE13 PE14
PE15 PB10
PB11 PB12
PB13 PB14
PB15 PD8
PD9 PD10
PD11 PD12
PD13 PD14
PD15
GND GND
GND GND
GNDGND
5V 5V
3V3V PH0 PH1
PC14 PC15
PC13
PE0 PE1
PE2 PE3
PE4 PE5
PE6
BOOT0 VDD
PB3
PB4 PB5
PB6 PB7
PD0
PD1 PD2
PD3 PD4
PD5 PD6
PD7
PC6 PC7
PC8 PC9
PA8 PA9
PA10 PA13
PA14 PA15
PC10 PC11
PC12
PB8 PB9
LED_K
1
LED_K
2
LED_A
3
LED_A
4
GND
5
XR 6
YB 7
XL 8
YT 9
GND 10
NC 11
NC 12
NC 13
RESET
14
CS 15
SPCLK
16
SDA-SDI
17
NC 18
NC 19
B0(D0)
20
B1(D1)
21
B2(D2)
22
B3(D3)
23
B4(D4)
24
B5(D5)
25
NC 26
NC 27
G0(D6)
28
G1(D7)
29
G2(D8)
30
G3(D9)
31
G4(D10)
32
G5(D11)
33
NC 34
NC 35
R0(D12)
36
R1(D13)
37
R2(D14)
38
R3(D15)
39
R4(D16)
40
R5(D17)
41
HSYNC
42
VSYNC
43
DCLK
44
AVDD
45
AVDD
46
VDD 47
VDD 48
RS 49
RD 50
WR 51
PS0 52
PS1 53
PS2 54
PS3 55
WSYNC
56
NC 57
DE 58
GND 59
GND 60
CN1 K320QVG
LED-K
LED-A
GND
TOUCH_XP
TOUCH_YN
TOUCH_XN
TOUCH_YP
GND
NRST
PD7
GND GND
PD14
PD15
PD0
PD1
PE7
PE8
PE9
PE10
GND
0R1 3V3
3V3
PD4
PD11
PD5
GND GND
100pF
C1
GND
3V3
10pF
C4 10pF
C5 10pF
C6 10pF
C7
GND GND GND GND
0R14 0
R15 0
R16 0
R17
LED-K
LED-A
L1
22uH
68uF
C3 D1 10uFC2
R11
15R(for 20m A)
R13
100K
R10 NC
5V
VIN
1
GND
2
EN
3FB 4
SW 5
GND 0
U1
PT4110
SW
D2
LED-A
LED-K
R12
NC
PB5
LED B acklight Driver Circuit
PE11
PE12
PE13
PE14
PE15
PD8
PD9
PD10
DAT2
1
CD/DAT3
2
CMD
3
VDD
4
CLK
5
VSS
6
DAT0
7
DAT1
8
GND1
0
Card-Detect
9
GND1
10
GND1
11
GND1
12
CN2
TF-EXT
GND
PC10
PC11
PD2
3V3
PC12
PC8
PC9
0
R41 0
R42 0
R43
0
R44
0
R45 0R46 0R47
10K R48
10K R49
10K R50
10K R51
3V3
10K R52
PC13
+Vcc
1
X+
2
Y+
3
X-
4
Y-
5
GND
6
Vbat
7
AUX
8Vref 9
+Vcc 10
PENIRQ 11
DOUT 12
BUSY 13
DIN 14
CS 15
DCLK 16
U2
100pF
C8
TOUCH_XN
TOUCH_YP
TOUCH_XP
TOUCH_YN
3V3
PA7
PA6
PA5
PB14
PD6
TP_CLK
TP_CS
TP_DIN
TP_BUSY
TP_DOUT
TP_INT
Reserv ed for resis ti ve t ouch c on tro ler
10K R54
10K R53
0R55 0
R56 0
R57 0
R58 0
R59 0
R60
3V3
PC4
Figure 3. Expansion board schematic
Rev.: 01
4 Components Location
Figure 4. Expansion board components layout
5 LCD driver code examples
Bellow attachment is the source code for the K350QVG-V2-F.
NO. Document Attachment
1 Source code package