Having problems with the Clock idle on the above proc
At init time i set SPICON = 0x14C2; but the clock output is still high
It does not go low until i enable the spi with SPICON = 0x14C3; it works ok then but as soon as i have finshed with spi i disable it with SPICON = 0x14C2; then the clock line idles high again. there is a 10K pullup on the line.
By disabling the spi does the clock line float ??