Are you setting it HIGH when you are finished? Most successful routines use something like this:
// enable the NFS SPI
digitalWrite(5,LOW)
// do all transfer functions here
SPI.transfer(byte);
// disable NFS SPI
digitalWrite(5,HIGH);
Are you setting it HIGH when you are finished? Most successful routines use something like this:
// enable the NFS SPI
digitalWrite(5,LOW)
// do all transfer functions here
SPI.transfer(byte);
// disable NFS SPI
digitalWrite(5,HIGH);