At least on the PICs I use the hardware SPI pins have Schmidt Trigger buffers and need 0.7*Vcc (3.5V @ 5V) for a logic high.