> The events are: > I2CONSET = START > Slave Addr Write > Command Byte > I2CONSET = ???? // restart > Slave Addr Read > Followed by 1 or more reads until > I2CONSET = STOP At the ????, you would just need to set the START bit again (0x20); if all goes well, you will then enter state 0x10 (instead of 0x08). Note that you also have to clear the start bit after getting into states 0x08 and/or ox10 (through I2CONCLR). The STOP bit is cleared automatically by the hardware, but the start bit is not. I hope this helps, Thiadmer
Message
Re: I2C Restart
2005-05-21 by Thiadmer Riemersma (ITB CompuPhase)