Skip to main content
Arman Ilmak
Senior
March 4, 2018
Question

Problem with writing code for tft lcds

  • March 4, 2018
  • 2 replies
  • 1987 views
Posted on March 04, 2018 at 21:11

Hello, guys.I'm trying to get started with a TFT LCD.4.7 with the ILI9487 driver.And I have some problems.

First of all, a couldn't find any library for the driver I have.

Next is that I can't find any resources that explain how can I write my own library,

And the last is that there are some libraries that support other drivers like SSD1968 drivers, what's the difference between these drivers and libraries?Can I use for example SSD 1968 libraries instead of my own LCD driver?

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    March 4, 2018
    Posted on March 04, 2018 at 21:55

    What is the geometry of the display?

    What are you connecting it too?

    How are you connecting it?

    What is the part number of the display?

    What materials has the vendor of the display provided?

    There is documentation for the ILI9486 and ILI9488, this is likely quite similar

    STM32Cube\Repository\STM32Cube_FW_F2_V1.7.0\Drivers\BSP\Components\ili9320

    STM32Cube\Repository\STM32Cube_FW_F4_V1.18.0\Drivers\BSP\Components\ili9341

    Review the manuals or example to understand the difference between the chips, and the similarities in the implementations.

    >>Next is that I can't find any resources that explain how can I write my own library

    In the same manner that many people don't need manuals or explanations about how to drive and work on different types of cars, you'll find that there is a lot of commonality in the function, mechanics and end-goals of chips designed to drive LCD displays and provide frame buffering and drawing,etc.

    This doesn't mean things are entirely interchangeable, but that with some baseline knowledge you should be able to work things out.

    Find out what other resources are available, and port them.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    Arman Ilmak
    Senior
    March 5, 2018
    Posted on March 05, 2018 at 17:24

    0690X00000604LwQAI.jpg0690X00000604RUQAY.jpg

    These are some of the LCD descriptions that I have.I'm going to write the code with stm32f217zg.

    Tesla DeLorean
    Guru
    March 5, 2018
    Posted on March 05, 2018 at 17:51

    So and 8-bit FSMC interface to the controller via a 30-pin header

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    Arman Ilmak
    Senior
    March 12, 2018
    Posted on March 12, 2018 at 22:32

    Hello after a lot of search and efforts found a library that is designed for an ARMed base Arduino library, but unfortunately, i haven't ever worked with Arduinos..Would you please help me port the library.I just don't know some basically things about the library ive found.

    In the file attacthed there is a read me text that talks about the pins.It has mentioned that D0_D7 that are datas are digital and the RD, WR, CS, RS, RST are analog!!!

    How can it be possible?We use WR,.... to send the tft a cmd orother digital pulses.Does it mean that i have to initiallize these pins as ADC pins?

    Arman Ilmak
    Senior
    March 12, 2018