I'm having trouble with the PIC24FJ64GB004 SPI interface. I am able to issue commands and use the interface driver MCC SPIx_Exchange16bit() successfully many times and then, intermittently, it stops working. I'm setting CS low then issuing the SPI command. I have a scope on all lines and they simply stop switching (no clock or data). I'm beginning to think it might be signal integrity. I've checked everywhere for buffer over runs or any other thing that may cause this issue. I've found nothing. I'd love some input from the guru's in the crowd. The noise looks off the hook when switching is happening. Any suggestions would be greatly appreciated.