SainSmart 1.8" stays white on Raspberry Pi

I have connected a SainSmart 1.8" display to my Raspberry Pi but it stays white. This is how I have fixed this issue.

First of all connect the SainSmart 1.8" TFT display to a Raspberry Pi as described in the fbtft wiki. After this enable SPI by using the tool raspi-config.

$ sudo raspi-config

Or by adding the following line to the /boot/config.txt config file.

dtparam=spi=on

After rebooting the Raspberry Pi load the required kernel module. As you might notice the communication speed has been decreased from 32MHz to 16MHz. This should make the connection more stable and reliable.

$ sudo modprobe fbtft_device name=sainsmart18 speed=16000000

The display should work now without any problems.

Links

Related articles