34-14 MPC8260 PowerQUICC II UserÕs Manual MOTOROLA
Part IV. Communications Processor Module
34.7.1.2 I2C Transmit Buffer Descriptor (TxBD)

Transmit data is arranged in buffers referenced by TxBDs in the TxBD table. The Þrst word

of the TxBD, shown in Figure 34-14, contains status and control bits.

Table 34-10 describes I2C TxBD status and control bits.

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Offset + 0 RÑWILS Ñ NAK UN CL
Offset + 2 Data Length
Offset + 4 Tx Buffer Pointer
Offset + 6

Figure 34-14. I2C TxBD

Table 34-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 modiÞed. 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 modiÞed once R is set.
1 Ñ Reserved and should be cleared.
2WWrap (last BD in 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 Þrst byte of the buffer.
1 Send a start condition before the Þrst byte of the buffer. (Used to separate frames.)
Note: If this BD is the Þrst 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.