Description
LCD Controller |
ILI9325
|
Touch Screen Controller |
ADS7843 or XPT2046 |
LCD Type |
TFT |
LCD Interface |
16-bit parallel |
Touch Screen Interface |
SPI |
Backlight |
LED |
Colors |
65536 |
Resolution |
320*240 |
Pin Description
PIN NO |
SYMBOL |
DESCRIPTION |
FUNCTION |
1 |
5V |
5V power supply |
When powered from 5V supply,
Pin 1 & Pin 2 as power input,
Pin 33 & Pin 34 provide 3.3V output. |
2 |
GND |
Ground |
Power Ground |
3 |
D0 |
Data lines |
D0 - D15 |
4 |
D1 |
5 |
D2 |
6 |
D3 |
7 |
D4 |
8 |
D5 |
9 |
D6 |
10 |
D7 |
11 |
D8 |
12 |
D9 |
13 |
D10 |
14 |
D11 |
15 |
D12 |
16 |
D13 |
17 |
D14 |
18 |
D15 |
19 |
CS |
LCD chip select |
Low active |
20 |
RS |
Instruction/Data register selection |
RS = 1 : Instruction Register
RS = 0 : Data Register |
21 |
WR |
Write |
WR = 0, RD = 1 |
22 |
RD |
Read |
WR = 1, RD = 0 |
23 |
RESET |
Reset the controller chip |
Low active |
24 |
NC |
Not connect |
Not connect |
25 |
BLVCC |
must be 5V |
Backlight VCC |
26 |
BLGND |
Ground |
Backlight GND |
27 |
BLCNT |
Backlight brightness adjustment |
Control the backlight brightness via PWM |
28 |
TP_IRQ |
Touch screen interrupt |
Low level while the touch screen detects pressing |
29 |
TP_CS |
Touch screen chip select |
Low active |
30 |
TP_SCK |
Touch screen SPI clock |
connects to SPI SCK |
31 |
TP_SI |
Touch screen data input |
connects to SPI MOSI |
32 |
TP_SO |
Touch screen data output |
connects to SPI MISO |
33 |
3.3V |
3.3V power supply |
When powered from 3.3V supply,
Pin 33 & Pin 34 as power input,
Pin 1 & Pin 2 keep NC. |
34 |
GND |
Ground |
Power Ground |
Document
MDK project for STM32.rar
example source code for STM32.rar
HY32D LCD module Frame.PCB
HY32D LCD module Schematic.pdf