On Mon, 06 Nov 2006 11:28:42 +0000, you wrote: >Has anyone had any problems (other than the 'clock must be in idle state when SPI enabled' issue >mentioned in the errate) with SPI slave mode on the 16F devices (16F818 in particular)? > >I'm seeing very occasional random data errors when the slave sends data, consistent with either new >data not getting latched into sspbuf, or SSPIF getting set too early - It is quite probably my bug, >and I'm still delving into the problem to narrow it down, but what makes me suspicious of a possible >silicon issue is that it only manifests itself on the chip, not ICE2000. > Panic over - I did something stupid a while ago that only just manifested itself. It usually helps if you load sspbuf _before_ you tell the host to start clocking it out...! Don't quite understand why it behaved differently to the ICE but fixed now so don't really care... -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist