2.8 Stop Condition
The I2C specification defines a Stop condition as the transition of the SDA line from an active state to an idle state while the SCL line is idle. The master will issue a Stop condition when it has completed its transactions and is ready to release control of the bus, or if a bus time-out occurs.
- At least one SCL low time must appear before a stop is valid.
- See device data sheet for Stop condition setup times.
- See device data sheet for Stop condition hold times.
After the ACK/NACK sequence of the final byte of the transmitted/received I2C packet, hardware pulls the SCL line low for TSCL/2, and then releases SCL. Hardware samples SCL to ensure a logic high level. SDA is then released, and the transition of SDA from low to high while SCL is high causes the Stop Condition Interrupt Flag (PCIF) bit to be set.