Skip to main content
Graduate
August 24, 2024
Solved

Problem with LCD 128x160 ST7735S

  • August 24, 2024
  • 3 replies
  • 2186 views

Hi, have any of you communicated with a display based on the ST7735S controller?

Based on this library: https://github.com/afiskon/stm32-st7735  I converted it from SPI communication to 8080 parallel control, but display does not work properly, while filling the screen with color works, writing text,  drawing pixels or squares does not, everything is visible in the video in attachment.

Below link to my project:

https://github.com/apaczenko1993/KTLCD9 

Thanks for help.

 

 

    This topic has been closed for replies.
    Best answer by MSzła.1

    OK, now the library works, the cause of this problem was that I forgot setup the RDX pin (read enable). After setting this pin as in the datasheet when writing data and commands the library works very well. About 

    Tomorrow I will upload the project to Github for everyone :)

    3 replies

    Super User
    August 24, 2024

    Hi,

    Yes, I'm using the small TFT, but with SPI connection.

    Why you don't use it with SPI?

    MSzła.1Author
    Graduate
    August 24, 2024

    I can't use SPI because the PCB is from an ebike computer. Exactly from the photo. They use the 8080 parallel interface to communicate with LCD

    ebike-display-lcd9.png

    Super User
    August 24, 2024

    Ok, but on the video it's working, just some error in writing seems to be there, maybe you should try to make the timing more relaxed/slower, seems to be a timing/access problem.

    MSzła.1AuthorAnswer
    Graduate
    August 24, 2024

    OK, now the library works, the cause of this problem was that I forgot setup the RDX pin (read enable). After setting this pin as in the datasheet when writing data and commands the library works very well. About 

    Tomorrow I will upload the project to Github for everyone :)