The code was doing: pinMode(slaveSelectPin, OUTPUT); pinMode(slaveSelectPin, HIGH); Second pinMode should be digitalWrite
http://www.pjrc.com/teensy/td_libs_SPI.html