Interaction between I2C and CLKO
2010-01-23 by Philippe Habib
I'm using a 168p and making use of the hardware I2C using slave code based on the samples from Atmel. The basic I2C code has been used on several products and is well tested on this processor. On a new project I'm needing to make use of the CLKO feature out of pB0. I set that feature by setting the fuse. The I2C quit working. I can see data on the scope, but the int routine never executes. When I turn it back off, the I2C works again. I can't find anything in the datasheet that says they interact, but they sure seem to. has anyone else experienced this, and maybe know of a fix? I can add an oscillator if I need to, but it would be nice to avoid a board spin. Thanks.