3 start and stop bus states – Intel PXA26X User Manual
Page 342

9-4
Intel® PXA26x Processor Family Developer’s Manual
Inter-Integrated Circuit Bus Interface Unit
While the I
2
C unit is idle, it defaults to slave-receive mode. This allows the interface to monitor the
bus and receive any slave addresses intended for the processor.
When the I
2
C unit receives an address that matches the 7-bit address found in the I
2
C Slave
Address Register (ISAR) or the general call address (see
Section 9.4.7, “General Call Address”
),
the interface either remains in slave-receive mode or transitions to slave-transmit mode. The Read/
Write bit (R/nW) determines which mode the interface enters. The R/nW bit is the least significant
bit of the byte containing the slave address. If the R/nW bit is low, the master that initiated the
transaction intends write data and the I
2
C unit remains in slave-receive mode. If the R/nW is high,
the master that initiated the transaction intends to read data and the I
2
C unit transitions to slave-
Section 9.4.6, “Slave Operations”
further defines slave operation.
When the I
2
C unit initiates a read or write on the I
2
C bus, it transitions from the default slave-
receive mode to the master-transmit mode. If the transaction is a write, the I
2
C unit remains in
master-transmit mode after the address transfer is completed. If the transaction is a read, the I
2
C
unit transmits the start address, then transitions to master-receive mode.
further defines master operation.
9.3.3
Start and Stop Bus States
The I
2
C bus specification defines a transaction START, used at the beginning of a transfer, and a
transaction STOP bus state, used at the end of a transfer. A START condition occurs if a high to
low transition takes place on the SDA line when SCL is high. A STOP condition occurs if a low to
high transition takes place on the SDA line when SCL is high.
The I
2
C unit uses the ICR[START] and ICR[STOP] bits to:
•
Initiate an additional byte transfer
•
Initiate a START condition on the I
2
C bus
•
Enable data chaining (repeated START)
•
Initiate a STOP condition on the I
2
C bus
defines the START and STOP bits in the ICR.