Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

TFT wiring.
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

TFT wiring.

by justphred on Mon Jul 13, 2020 4:37 pm

Hi All,

I am stating to plan out a project of mine, and I am trying to understand the wiring. I am using an ItsyBitsy M4 and a 1.3" tft display, as well as a few other parts (those of which are very straight forward and not in question). my biggest question is in regards to the Display. the Pinout info on the product information page has most of the pins going to a Digital pin (8-13 on a metro board). However when paired together the ItsyBitsy and TFT display have corresponding pins (SCK, MOSI, and MISO). The Question is, should these be wired directly to the corresponding pin, or to a GPIO pin as demonstrated on the product leaning page?

I am hoping to get audio off of the SD card from the TFT board so I want to take as much advantage of these connections as I can. I have attached the rough schematic of the project as I have it so far.

Any help with understanding this would be great.
Attachments
Ghost Brain _schem.jpg
Ghost Brain _schem.jpg (258.7 KiB) Viewed 42 times

justphred
 
Posts: 12
Joined: Mon May 22, 2017 7:20 pm

Re: TFT wiring.

by adafruit_support_bill on Mon Jul 13, 2020 5:13 pm

The tutorial example shows connecting to a Metro 328 which is an Arduino UNO equivalent. And on an UNO, the SPI pins are 11-13. For other boards, SPI pins may vary. Refer to the pinout for the ItsyBitsy M4:
https://learn.adafruit.com/introducing- ... -2991171-7
and connect to the SPI pins as described in the guide.
https://learn.adafruit.com/adafruit-1-3 ... -3036066-2

adafruit_support_bill
 
Posts: 78635
Joined: Sat Feb 07, 2009 10:11 am

Re: TFT wiring.

by justphred on Wed Jul 15, 2020 6:22 pm

are there any examples for reading the SD card over SPI?

justphred
 
Posts: 12
Joined: Mon May 22, 2017 7:20 pm

Re: TFT wiring.

by adafruit_support_bill on Wed Jul 15, 2020 6:52 pm

The SD card interface is natively SPI, so all of the SD examples use SPI. https://github.com/adafruit/SD/tree/master/examples

adafruit_support_bill
 
Posts: 78635
Joined: Sat Feb 07, 2009 10:11 am

Re: TFT wiring.

by justphred on Thu Jul 23, 2020 7:10 pm

I need help understanding some of the labeling in the board.

On the bottom of the board it goes: System Clock, MIS, and MOS

however on the top of the Board it is labeled System Clock, SO, and SI.

which is correct?

justphred
 
Posts: 12
Joined: Mon May 22, 2017 7:20 pm

Re: TFT wiring.

by adafruit_support_bill on Thu Jul 23, 2020 8:22 pm

Please post photos of the top and bottom your board. On the board I have here there is no discrepancy.
On the top of the board, the pins are labeled: SCK, MO and MI.
On the bottom of the board, the same pins are labeled SCK, MOSI and MISO

adafruit_support_bill
 
Posts: 78635
Joined: Sat Feb 07, 2009 10:11 am

Re: TFT wiring.

by justphred on Sun Jul 26, 2020 10:12 pm

Here is an image of the front and back of my unit. am I just reading something wrong?
Attachments
Artboard 1-100.jpg
Artboard 1-100.jpg (417.98 KiB) Viewed 14 times

justphred
 
Posts: 12
Joined: Mon May 22, 2017 7:20 pm

Re: TFT wiring.

by adafruit_support_bill on Mon Jul 27, 2020 5:46 am

The full names for these signals are MISO (Master In Slave Out) and MOSI (Master Out Slave In. There are various abbreviations used where space is limited.

MISO == MIS == MI == SO
MOSI == MOS == MO == SI

adafruit_support_bill
 
Posts: 78635
Joined: Sat Feb 07, 2009 10:11 am

Re: TFT wiring.

by justphred on Thu Aug 13, 2020 8:43 pm

Thanks for the clarification about that Bill!

I'll just keep the questions coming if I can... Can this board be wired for QSPI Flash. or can it only do SPI Flash?

justphred
 
Posts: 12
Joined: Mon May 22, 2017 7:20 pm

Re: TFT wiring.

by adafruit_support_bill on Fri Aug 14, 2020 7:26 am

Only SPI.

adafruit_support_bill
 
Posts: 78635
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.


cron