Electrical – Is this ST7735 based LCD module broken? (Photo: random color pixels on the entire screen)

lcd

Photo of LCD module showing random color pixels

I have been testing my LCD module. I think it is burnt, although I hope not….
Can anyone confirm that I just badly programmed?

I try to send a pixel(green, red, black whatever the color is) to the ST7735 chip and it gives me randomly generated pixels all over.
It happens as I set "Sleep Out" mode

A random pixel at the same address doesn't change its color, though. The pixel at (0,0) is always green no matter how many I turn off and turn back on.

What should I do to prevent this from happening ever again? I think I have limited the current more than enough.
I am about to take out another LCD module, if anyone confirms it is indeed unusable.

P.S Sorry about the lack of detail.
I thought the question is more simpler question. I thought that explaining the phenomenon and the end result would suffice to troubleshoot the problem.
Here are the datasheets:

http://aitendo3.sakura.ne.jp/aitendo_data/product_img/lcd/tft2/Z180SN009/LCM-Z180SN009V00.pdf

https://displayfuture.com/Display/datasheet/controller/ST7735.pdf

This LCD uses 4-lines SPI (Register select, chip selection, SDA, SCL).
Initially, I just took a look at the datasheet and I tried to interpret it myself. I couldn't even have something that shows in the photo, so I referred to the examples online.

I followed the initialization process of theirs:

https://bitbucket.org/jschick/tft_st7735

(The one above corresponds to a pi code.)

github.com/adafruit/Adafruit-ST7735-Library.

My code is a bit of mass… I haven't commented it yet.
So I will explain it myself:

Hardware Reset -> Delay 50ms -> Software reset -> Delay 50ms -> Window setting( setting X address & Y address) -> Normal Display Mode On -> 10ms delay -> Display On -> 500ms delay.
Then I use "Ram write" command and a parameter(24bits). Just once (1 pixel).
Finally an infininte while loop.

I removed all power control and other initialization process because it yielded a result no different from the photo above. I thought the default setting is very well sufficient.

Best Answer

I am sorry for the fuss. It was a premature question without any details. In the end, I fixed the problem. When the display sleeps out, it is very well normal to have a screen like that. We need to overwrite that memory with our own image. I tried 16 bits color mode and it worked fine.

Thank you and I apologize to those who tried to help me.