Hello BobP, Mister_e,
Do you think SSPCON1 register may have effect on PortC? I was thinking,
SSPCON1= %00000101 ' to turn off SDO on PortC.5