0

Using SPI1 with PiTFT
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Using SPI1 with PiTFT

by d00wirre on Fri Jan 05, 2018 9:32 pm

Follow up question from viewtopic.php?f=47&t=122926&start=60

Hi,

Used the script and got my 3.5" 320x480 TFT w/Touch Screen up and running, very nice :).
I have the version of the TFT with the 26 pin header and like to use the SPI1 located on the pins not used by the TFT.
The dtoverlay=pitft35-resistive seams to remove both /dev/spidev0.0 and /dev/spidev0.1 is there a way to keep spidev0.1?
Mabe another overlay option that don't kill SPI1?
Br Oskar


and got the reply

d00, both are used - one for touch and one for TFT - there is a *second* spi port. its used in this project
https://github.com/adafruit/Pi_Eyes
however, do not use this thread for any more replies, make a new thread. we're helping people here :)


Im using an adafruit display with only 26 pins so it should not use the SPI1 located at pin 35,36,38,40 or are Im missing something obvious?

Am I using the wrong script (https://raw.githubusercontent.com/adafr ... helper2.sh)?

I want to get the screen running with Stretch and still use the free pins for other purposes.

BR Oskar

d00wirre
 
Posts: 3
Joined: Fri Jan 05, 2018 8:45 pm

Re: Using SPI1 with PiTFT

by d00wirre on Fri Jan 05, 2018 9:44 pm

To clarify the screen im using is https://www.adafruit.com/product/2097

I guess the 3.5" option in the script is primary used for https://www.adafruit.com/product/2441 would it be possible to extend it with an additional option for the 26 pin screen?

d00wirre
 
Posts: 3
Joined: Fri Jan 05, 2018 8:45 pm

Please be positive and constructive with your questions and comments.