2024-08-24 09:48 AM
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.
Solved! Go to Solution.
2024-08-24 12:57 PM
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 :)
2024-08-24 10:21 AM
Hi,
Yes, I'm using the small TFT, but with SPI connection.
Why you don't use it with SPI?
2024-08-24 10:31 AM - edited 2024-08-24 10:32 AM
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
2024-08-24 11:06 AM
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.
2024-08-24 12:33 PM
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.
2024-08-24 12:57 PM
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 :)