Supplement: SPI pins - PrecisionShift/ECE411 GitHub Wiki
Notes
-
For SPI connections: Whenever referring to a pin on microprocessor I will include pin number.
-
The Bus Pirate site has a micro-controller pin-out cheat sheet that has different pin numbers. The pin numbers don’t match because they are for the 28 pin package and I believe that the -MU version that we ordered is a 32 pin version.



The MISO (PIN 15) and MOSI (pin 16) should be connected to like pins on the display (MISO to MISO and MOSI to MOSI).

Likewise the SCK (PIN 17) should be connected to SCK.
Further information about the pins on the display can be found on pages 7 and 8 of the Adafruit PDF.
In master mode, which I assume we’ll put the Atmel in during operation, the SS pin (pin 14) can be configured as a general output (Reference pg219). I suggest that we connect that to both TFT_CS (tft chip select) and CCS (card chip select), while inverting one of them so that only one can be on at a time. Two additional IO pins will need to be used. One will go to the D/C for determining whether we send to the data or command area of the TFT. The other will be needed to control the light.
For the purposes of programming it we will need access to GND, VCC, Reset, MOSI, MISO, and SCK. Reminder, the pins for the ATmega listed on this table do not match our package. Additionally, if we plan to program post assembly, We should add a switch to cut power to, or otherwise isolate, the adafruit daughter board so the we aren't messing with it while programming.
