Problem with SPI wiring?
SPI pin names are intended to be unambiguous, regardless of which end (master/slave) you're looking at. Compare to something like "TX" and "RX" -- Transmit and Receive, respectively -- "Transmit from whose perspective?"

SPI pins are abbreviations:  


M = "Master"  
S = "Slave"
I = "IN"
O = "OUT"


So MISO = "Master In, Slave Out". It's an input of the master and an output of the slave.
Similarly, MOSI = "Master Out, Slave In". It's an output of the master and an input of the slave.

Some name pins differently, with "SDO" meaning "Serial Data Out" and "SDI" meaning "Serial Data In". This In/Out direction is from the perspective of the device in question.

So if both sides have "MOSI" and "MISO", connect "MOSI" to "MOSI" and "MISO" to "MISO".

If a slave has "SDI," connect that to "MOSI". And connect "SDO" to "MISO".
If a master has "SDI", connect that to "MISO". And connect "SDO" to "MOSI".

Don't glance over it too quickly like I did at first. Mixing naming conventions is dangerous business.