cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with LCD 128x160 ST7735S

MSzła.1
Associate III

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.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
MSzła.1
Associate III

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 :)

View solution in original post

5 REPLIES 5
AScha.3
Chief III

Hi,

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

Why you don't use it with SPI?

If you feel a post has answered your question, please click "Accept as Solution".
MSzła.1
Associate III

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

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.

If you feel a post has answered your question, please click "Accept as Solution".

Connect scope to WR line and check speed and signal integrity. On github is your delay_us empty are you sure?

Too port data is 16 bit and you set upper 8 to zero with write ODR = xx when you dont connect or use this upper GPIO ok.

MSzła.1
Associate III

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 :)