9-22 Intel® PXA255 Processor Developer’s Manual
I2C Bus Interface Unit
When the ICR[UR] bit is set, the I2C unit resets but the associated I2C MMRs remain intact. When
resetting the I2C unit with the ICR’s unit reset, use the following guidelines:
1. Set the reset bit in the ICR register and clear the remainder of the register.
2. Clear the ISR register.
3. Clear reset in the ICR.
9.9 Register Definitions

9.9.1 I2C Bus Monitor Register (IBMR)

The IBMR, shown in Table 9 -8, tracks the status of the SCL and SDA pins. The values of these
pins are recorded in this read-only IBMR so software can determine when the I2C bus is hung and
the I2C unit must be reset.
This is a read/write register. Ignore reads from reserved bits. Write zeros to reserved bits.

9.9.2 I2C Data Buffer Register (IDBR)

The processor uses the IDBR, shown in Table 9- 9, to transmit and receive data from the I2C bus.
The IDBR is accessed by the program I/O on one side a nd by th e I 2C sh if t regi st er on the ot her. The
IDBR receives data coming into the I2C unit after a full byte is received and acknowledged. The
processor core writes data going out of the I2C unit to the IDBR and sends it to the serial bus.
When the I2C unit is in transmit mode (master or slave), th e proces sor wr it es data to t he IDBR over
the internal bus. The processor writes data to the IDBR when a master transaction is initiated or
when the IDBR Transmit Empty Interrupt is signalled. Data moves f rom the IDBR to the shift
register when the Transfer Byte bit is set. The IDBR Transmi t Empty Interrupt is signalled (if
enabled) when a byte is transferred on the I2C bus and the acknowledge cycle is complete. If the
IDBR is not written by the processor and a STOP condition is not in place befo re the I2C bus is
ready to transfer the next byte packet, the I2C unit inserts wait states until the processor writes the
IDBR and sets the Transfer Byte bit.
When the I2C unit is in receive mode (master or slave), the processor reads IDBR data over the
internal bus. The processor reads data from the IDBR when the IDBR Receive Full Interrupt is
signalled. The data moves from the shift register to the IDBR when the ACK cycle is complete.
The I2C unit inserts wait states until the IDBR is read. Refer to Section9.4.3 for more information
Table 9-8. IBMR Bit Defin itions
Physical Address
4030_1680 I2C Bus Monitor Register I2C Bus Interface Unit
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
reserved
SCLS
SDAS
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1
31:2 — reserved
1 SCLS SCL Status: This bit continuously reflects the value of the SCL pin.
0 SDAS SDA Status: This bit continuously reflects the value of the SDA pin.