I2C Controller
MPC8260 PowerQUICC II Family Reference Manual, Rev. 2
39-14 Freescale Semiconductor
Table39-10 describes I2C TxBD status and control bits.
0123456 12131415
Offset + 0 RWILS NAK UN CL
Offset + 2 Data Length
Offset + 4 Tx Buffer Pointer
Offset + 6

Figure 39-14. I2C TxBD

Table39-10. I2C TxBD Status and Control Bits

Bits Name Description
0RReady.
0 The buffer is not ready to be sent. This BD or its buffer can be modified. The CP clears R after
the buffer is sent or an error occurs.
1 The buffer is ready for transmission or is being sent. The BD cannot be modified once R is set.
1 Reserved and should be cleared.
2WWrap (last BD i n TxBD table).
0 Not the last BD in the table.
1 Last BD in the table. After this buffer is used, the CP transmits data using the BD pointed to by
TBASE (top of the table). The number of BDs in this table is determined only by the W bit and
overall space constraints of the dual-port RAM.
3IInterrupt.
0 No interrupt is generated after this buffer is serviced.
1 I2CER[TXB] or I2CER[TXE] is set when the buffer is serviced. If enabled, an interrupt occurs.
4LLast.
0 This buffer does not contain the last character of the message.
1 This buffer contains the last character of the message. The I2C controller generates a stop
condition after sending this buffer.
5SGenerate start condition. Provides ability to send back-to-back frames with one I2COM[STR] trigger.
0 Do not send a start condition before the first byte of the buffer.
1 Send a start condition before the first byte of the buffer. (Used to separate frames.)
Note: If this BD is the first one in the frame when I2COM[STR] is triggered, a start condition is sent
regardless of the value of TxBD[S].
6–12 Reserved and should be cleared.
13 NAK No acknowledge. Indicates that the transmission was aborted because the last byte sent was not
acknowledged. The I2C controller updates NAK after the buffer is sent.
14 UN Underrun. Indicates that the I2C controller encountered a transmitter underrun condition while
sending the associated buffer. The I2C controller updates UN after the buffer is sent.
15 CL Collision. Indicates that transmission terminated because the transmitter was lost while arbitrating
for the bus. The I2C controller updates CL after the buffer is sent.