> Another problem I've had with I2C is powerup issues. It seems that a > dummy msg needs to be sent right after powerup, used to clear the I2C > hardware (a problem with ALL I2C devices). What I do at power up is to > simply send a STATUS REQUEST (just send a dummy slave address followed > by a STOP sequence). After that, the hardware always works for every > device hanging on the line. Personally, I LOVE I2C. One can do a lot > with just two pins (SPI takes 3 or 4 pins). I just send a I2C STOP before each START. This fixes the problem for me. At RESET I may put in a simple STOP-START-STOP if I only access I2C much later. Peter -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist