Re: Problem with MCC SPI code
I see your screen captures show the SPI interrupt as disabled, but did you ever turn them on (then off again) while experimenting?
I've heard a number of reports of MCC not correctly disabling things that have been turned on then off.
The "new" code should work, so long as there is NOT an interrupt service active clearing the SSPIF bit again.
To get a useful answer, always state which PIC you are using!