Universal Serial Bus (USB)
MPC885 PowerQUICC Family Reference Manual, Rev. 2
31-26
Freescale Semiconductor
Data length (the second half word of a TxBD) is the number of octets the CP should send from this BD’s
data buffer. It is never modified by the CP.
Tx buffer pointer (the third and fourth half words of a TxBD) always points to the first location of the
buffer in internal or external memory. The pointer may be even or odd.
31.12.3 USB Transmit Buffer Descriptor (TxBD) for Host
Data to be transmitted with the USB to the CP by is arranged in buffers referenced by the TxBD ring. The
first word of the TxBD contains status and control bits.
0x00
(cont.)
6
CNF
Transmit confirmation. Valid only when the L bit is set; otherwise it is ignored. Applies to
multi-frame enabled endpoints (USEP
n[MF] = 1); see
Section 31.11.3, “USB Endpoint
Registers (USEP0–USEP3).”
0 Continue to load the transmit FIFO with the next packet. Several packets may be loaded
to the FIFO.
1 Last packet that is loaded to FIFO. No more packets will be loaded to FIFO after a
packet marked CNF, till it transmitted.
7
Reserved, should be cleared
8–9
PID
Packet ID. This bit field is valid for the first BD of a packet; otherwise it is ignored.
0X Do not append PID to the data.
10 Transmit DATA0 PID before sending the data.
11 Transmit DATA1 PID before sending the data.
10–12
—
Reserved, should be cleared.
13
TO
1
Time out. Indicates that the host failed to acknowledge the packet.
14
UN
1
Underrun. Indicates that the USB encountered a transmitter underrun condition while
sending the buffer.
15
—
Reserved, should be cleared.
0x02
0–15
Data length
The data length is the number of octets that the CP should transmit from this BD’s data
buffer. It is never modified by the CP. This value should normally be greater than zero.
0x04
0–31
Tx data buffer
pointer
The transmit buffer pointer, which always points to the first location of the associated data
buffer, may be even or odd.The buffer may reside in either internal or external memory.
1
Written by the USB controller after it finishes sending the associated data buffer.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
0
R
—
W
I
L
TC
CNF LSP
PID
—
NAK STAL
TO
UN
—
2
DATA LENGTH
4
TX DATA BUFFER POINTER
6
Figure 31-21. USB Transmit Buffer Descriptor (TxBD)
1,2
1
Entries in
boldface
must be initialized by the user.
2
All fields should be prepared by the user before transmission.
Table 31-15. USB Function TxBD Fields (continued)
Offset
Bit
Name
Description
Summary of Contents for PowerQUICC MPC870
Page 98: ...MPC885 PowerQUICC Family Reference Manual Rev 2 I 4 Freescale Semiconductor ...
Page 118: ...MPC885 Overview MPC885 PowerQUICC Family Reference Manual Rev 2 1 20 Freescale Semiconductor ...
Page 158: ...The MPC8xx Core MPC885 PowerQUICC Family Reference Manual Rev 2 3 18 Freescale Semiconductor ...
Page 288: ...MPC885 PowerQUICC Family Reference Manual Rev 2 III 4 Freescale Semiconductor ...
Page 554: ...MPC885 PowerQUICC Family Reference Manual Rev 2 V 6 Freescale Semiconductor ...
Page 1090: ...UTOPIA Interface MPC885 PowerQUICC Family Reference Manual Rev 2 43 8 Freescale Semiconductor ...
Page 1312: ...Byte Ordering MPC885 PowerQUICC Family Reference Manual Rev 2 A 8 Freescale Semiconductor ...
Page 1336: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 16 Freescale Semiconductor ...
Page 1358: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 38 Freescale Semiconductor ...
Page 1370: ...MPC880 MPC885 PowerQUICC Family Reference Manual Rev 2 E 4 Freescale Semiconductor ...
Page 1386: ...Revision History MPC885 PowerQUICC Family Reference Manual Rev 2 I 2 Freescale Semiconductor ...