cancel
Showing results for 
Search instead for 
Did you mean: 

ili9341 and pins

Zek_De
Senior

Hello guys,

I would like to drive ili9341 using that library --> https://github.com/martnak/STM32-ILI9341

and I faced somthings that I didn't know about pins.My device is this --> https://tr.aliexpress.com/item/3-2-inch-320x240-320-240-TFT-LCD-Module-Display-With-Touch-Screen-Controller-Panel-ILI9341/32912574891.html?spm=a2g10.search0104.3.162.3c741524sPg1ga&ws_ab_test=searchweb0_0,searchweb201602_3_10065_10068_10546_10059_10548_10696_100031_10084_5015115_10083_10103_451_1061...

I've never used touchpad and I need it now.I can't match these pins with ili9341.Could you help me? for example DC pin is equals RS or WR ? Do I have to use SD_*** pins.

Library mention about pins like that -->

//CHIP SELECT PIN AND PORT, STANDARD GPIO

#define LCD_CS_PORT GPIOD

#define LCD_CS_PIN CS_Pin

//DATA COMMAND PIN AND PORT, STANDARD GPIO

#define LCD_DC_PORT GPIOD

#define LCD_DC_PIN DC_Pin

//RESET PIN AND PORT, STANDARD GPIO

#define LCD_RST_PORT GPIOD

#define LCD_RST_PIN RST_Pin

#define TP_CLK_PORT GPIOE

#define TP_CLK_PIN T_CLK_Pin

#define TP_CS_PORT GPIOE

#define TP_CS_PIN T_CS_Pin

#define TP_MISO_PORT GPIOE

#define TP_MISO_PIN T_MISO_Pin

#define TP_MOSI_PORT GPIOE

#define TP_MOSI_PIN T_MOSI_Pin

#define TP_IRQ_PORT GPIOE

#define TP_IRQ_PIN T_IRQ_Pin

1 REPLY 1
Bakro
Associate II

hello there did you had your answer i am trying to get ili9341 3.2 working with the stm32F4 did this library works with me ??