Problems with SPI and Multiple Shields (Pins are not colliding)

dlloyd:

The shields worked fine individually, all of the example codes worked terrific.
Then i attempted to stack the Gameduino 2 Display at the top of the Wifi Shield (Pin 50-52 still used for SPI)
At first, it didnt work, until i set Slave Select for Wifi before the initializing function for GD2 Library.

Both in hardware and in software, you'll need to ensure that each SPI device has its own unique CS (Chip Select / Slave Select) control.

In theory the setup should work. as no pins are colliding, both shields worked individually, when stacked the Display Worked when not using the Wifi.

This suggests:

  1. In software, the CS pin assignments may not be unique.
  2. If the display CS is physically connected to the Wifi CS (when stacked), then one of them will need to be physically changed to another available pin.

#1 The chip select pins are not modified in software.
#2 The only chip selects in the Display is 8 & 9. The wifi Shield uses 10, 4 for CS, there is no stacked CS. However if the fact is that i cannot use any pin at all if the SS is not selected, then that would explain some things.