Skip to main content
Zek_De
Senior
September 4, 2018
Question

ili9341 and pins

  • September 4, 2018
  • 1 reply
  • 954 views

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_10618_452_5015815_5015715_10307_5015015,searchweb201603_54,ppcSwitch_5&algo_expid=8eab7142-4a1b-433d-bf1a-3a76888d3a65-23&algo_pvid=8eab7142-4a1b-433d-bf1a-3a76888d3a65&transAbTest=ae803_2&priceBeautifyAB=0

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

    This topic has been closed for replies.

    1 reply

    Bakro
    Associate
    April 19, 2019

    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 ??