I have had the following problem using the PIC18F452 and C-18 compiler. I have been using the following code to send a byte out of the MSSP in I2C mode and my start condition seems to be getting cut short. Basically what I am doing is this:- OpenI2c(MASTER,SLEW_OFF) SSPADD=0x7f; IdleI2c(); StartI2C(); WriteI2C(address); IdleI2C(); I then wait for the ACKSTAT bit or repeat the write. Looking on the scope my start condition does not look valid. Anybody got any ideas as to why this is? Best Regards, Mike Griffin. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads