Go to advanced search

by beemins
Sat Jan 23, 2016 7:48 am
Forum: HATs and other add-ons
Topic: 2.8" TFT + Touch Shield Board v4
Replies: 48
Views: 27961

Re: 2.8" TFT + Touch Shield Board v4

It works but after I reboot my pi, the resolution in TFT is still very large though. Anyway to make it permanent? **EDIT** I found the solution from this: http://www.waveshare.com/wiki/3.5inch_RPi_LCD_(A) Edit the file rc.local sudo nano /etc/rc.local Find out the following line and modify to dpi 60...
by beemins
Fri Jan 22, 2016 5:46 pm
Forum: HATs and other add-ons
Topic: 2.8" TFT + Touch Shield Board v4
Replies: 48
Views: 27961

Re: 2.8" TFT + Touch Shield Board v4

Hi texy, Thank you for your solution! It works perfectly However, I need to use my raspbian desktop with resolution that matches my TFT screen so I added below code into /usr/bin/startx defaultserverargs=”-dpi 60” serverargs=”-dpi 60” but it only started dpi 60 with HDMI monitor but my TFT still got...
by beemins
Fri Jan 22, 2016 11:32 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: Optional interfaces (I2C, I2S, SPI) and Device Tree
Replies: 128
Views: 156452

Re: Optional interfaces (I2C, I2S, SPI) and Device Tree

OK I got it, first I thought pins 5 and 6 are physical pins then I tried to use with GPIO5 pin and it works!

next I will tried to use MAX7219 with ads7846 together

EDIT**
Now I can work with all modules

Thank you very much PhilE :D
by beemins
Fri Jan 22, 2016 10:58 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: Optional interfaces (I2C, I2S, SPI) and Device Tree
Replies: 128
Views: 156452

Re: Optional interfaces (I2C, I2S, SPI) and Device Tree

Yes I'm using ads7846 as a driver for HY28B LCD screen I tried to disable ads7846 driver by comment out in config.txt #dtoverlay=hy28b, rotate=90 The result seems to be worked as it shows all spidev 0.0, 0.1, 0.2, 0.3 but when I drive my Dot Matrix with MAX7219 it worked perfectly either CE0 and CE1...
by beemins
Fri Jan 22, 2016 3:20 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: Optional interfaces (I2C, I2S, SPI) and Device Tree
Replies: 128
Views: 156452

Re: Optional interfaces (I2C, I2S, SPI) and Device Tree

Ok first I have TFT LCD with SPI interfaces and it already occupied CE0 and CE1 and it works well (I followed this link: https://www.raspberrypi.org/forums/viewtopic.php?f=45&t=105797 ) Then I need to use Dot Matrix with MAX7219 (with this link: https://github.com/rm-hull/max7219 )which also SPI int...
by beemins
Thu Jan 21, 2016 5:47 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: Optional interfaces (I2C, I2S, SPI) and Device Tree
Replies: 128
Views: 156452

Re: Optional interfaces (I2C, I2S, SPI) and Device Tree

You are in luck. The current RPi SPI driver, spi-bcm2835, support GPIO chip-selects. This means that any free GPIO line can be used as another chip select. In fact, as a result of some driver performance optimisations causing the hardware ("native") chip-selects to glitch, the driver will automatic...

Go to advanced search