I have a SainSmart ST7735 1.8" TFT hooked up to a Rasberry Pi A+. However, I can't get it to display. As near as I can tell the fbtft drivers are working. I have installed mplayer and when I execute this command it plays on the command line:
sudo mplayer -vo fbdev2:/dev/fb1 -x 128 -y 160 -zoom test.mov
I followed these steps after a clean NOOBS install:
Enter:
sudo raspi-config
This will "expand the file system". Apparently not necessary if you're running NOOBS.
Enter:
sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf
There's a line in here that refers to "fb0" - apparently the HDMI monitor - and should be changed to fb1.
Enter:
sudo nano /etc/modprobe.d/raspi-blacklist.conf
There is a line in this file that disables spi:
blacklist spi-bcm2708
Comment it out:
# blacklist spi-bcm2708
Enter:
sudo REPO_URI=https://github.com/notro/rpi-firmware rpi-update
This will download and install the loadable drivers.
Enter:
sudo reboot
To load all the new drivers.
Enter:
sudo modprobe fbtft_device name=waveshare32b
To actually load the fbtft driver after the reboot.
Enter:
sudo modprobe spi-bcm2708
To load the spi driver.
I have the board connected according to this:
5V Power LITE
MISO
GPIO 11 (SCLK) SCL
GPIO 10 (MOSI) SDA
GPIO 8 (CE0) * CS
CARD_CS
GPIO 24 ** RS/DC
GPIO 25 ** RES
5V Power VCC
Ground GND
At this point I'm thinking its my connection but I'm not sure how to troubleshoot. Any suggestions are greatly appreciated.
Thanks!