I2C Bus Operation; Serial Clock Line (Scl) Generation; Data And Addressing Management - Intel PXA255 Developer's Manual

Intel computer hardware user manual
Hide thumbs Also See for PXA255:
Table of Contents

Advertisement

2
9.4
I
C Bus Operation
2
The I
C unit transfers data in 1-byte increments and always follows this sequence:
1) START
2) 7-bit Slave Address
3) R/nW Bit
4) Acknowledge Pulse
5) 8 Bits of Data
6) ACK/NAK Pulse
7) Repeat of Steps 5 and 6 for required number of bytes
8) Repeated START (Repeat Step 1) or STOP
9.4.1

Serial Clock Line (SCL) Generation

When the I
The SCL clock is generated by setting the ICR[FM] bit for either 100KBit/sec or 400Kbit/sec
operation.
9.4.2

Data and Addressing Management

2
The I
C Data Buffer Register (IDBR) and the I
slave addressing. The IDBR (see
and the R/nW bit. The ISAR contains the processor programmable slave address. The I
received data in the IDBR after a full byte is received and acknowledged. To transmit data, the
CPU writes to the IDBR, and the I
ICR[TB] bit is set. See
When the I
1. Software writes data to the IDBR over the internal bus. This initiates a master transaction or
sends the next data byte after the ISR[ITE] bit is set.
2
2. I
C unit transmits data from the IDBR when the ICR[TB] bit is set.
3. When enabled, an IDBR transmit empty interrupt is signalled when a byte is transferred on the
2
I
C bus and the acknowledge cycle is complete.
4. When the I
a STOP condition is not in place, the I
value into the IDBR and sets the ICR[TB] bit.
When the I
1. The processor reads IDBR data over the internal bus after the IDBR receive full interrupt is
signalled.
2
2. I
C unit transfers data from the shift register to the IDBR after the acknowledge cycle
completes.
2
3. I
C unit inserts wait states until the IDBR is read. Refer to
pulse information in receiver mode.
4. After the CPU reads the IDBR, the I
bit, allowing the next byte transfer to proceed.
Intel® PXA255 Processor Developer's Manual
2
C unit is in master-transmit or master-receive mode, it generates the I
Section
2
C unit passes the information to the serial bus when the
Section
9.9.3.
2
C unit is in master- or slave-transmit mode:
2
C unit is ready to transfer the next byte before the CPU has written the IDBR and
2
C unit is in master- or slave-receive mode:
2
C Slave Address Register (ISAR) manage data and
9.9.2) contains one byte of data or a 7-bit slave address
2
C unit inserts wait states until the CPU writes a new
Section 9.4.3
2
C unit writes the ICR[ACKNAK] bit and the ICR[TB]
2
I
C Bus Interface Unit
2
C clock output.
2
C unit puts
for acknowledge
9-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents