
Table 43-3. BDT address calculation fields (continued)
Field
Description
ODD
Maintained within the USBFS SIE. It corresponds to the buffer currently in use. The buffers are used
in a ping-pong fashion.
43.3.4 Buffer Descriptors (BDs)
A buffer descriptor provides endpoint buffer control information for USBFS and the
processor. The Buffer Descriptors have different meaning based on whether it is USBFS
or the processor reading the BD in memory.
The USBFS Controller uses the data stored in the BDs to determine:
• Who owns the buffer in system memory
• Data0 or Data1 PID
• Whether to release ownership upon packet completion
• No address increment (FIFO mode)
• Whether data toggle synchronization is enabled
• How much data is to be transmitted or received
• Where the buffer resides in system memory
While the processor uses the data stored in the BDs to determine:
• Who owns the buffer in system memory
• Data0 or Data1 PID
• The received TOKEN PID
• How much data was transmitted or received
• Where the buffer resides in system memory
The format for the BD is shown in the following figure.
Table 43-4. Buffer descriptor format
31:26
25:16
15:8
7
6
5
4
3
2
1 0
RSVD
BC
(10 bits)
RSVD
OWN
DATA0/1
KEEP/
TOK_PID[3]
NINC/
TOK_PID[2]
DTS/
TOK_PID[1]
BDT_STALL/
TOK_PID[0]
0 0
Table continues on the next page...
Programmers interface
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
1078
NXP Semiconductors
Summary of Contents for K22F series
Page 2: ...K22F Sub Family Reference Manual Rev 4 08 2016 2 NXP Semiconductors...
Page 168: ...Module clocks K22F Sub Family Reference Manual Rev 4 08 2016 168 NXP Semiconductors...
Page 258: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 258 NXP Semiconductors...
Page 292: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 292 NXP Semiconductors...
Page 398: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 398 NXP Semiconductors...
Page 750: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 750 NXP Semiconductors...
Page 816: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 816 NXP Semiconductors...
Page 890: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 890 NXP Semiconductors...
Page 1302: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 1302 NXP Semiconductors...
Page 1374: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 1374 NXP Semiconductors...