9397 750 XXXXX
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 01 — 15 August 2005
231
Philips Semiconductors
UM10139
Volume 1
Chapter 14: USB Device Controller
There are certain parameters associated with a DMA transfer. These are:
•
The start address of the DMA buffer in the USB RAM.
•
The length of the DMA Buffer in the USB RAM.
•
The start address of the next DMA buffer.
•
Control information.
•
DMA count information (Number of bytes transferred).
•
DMA status information.
lists the DMA descriptor fields.
Legend: R - Read; W - Write; I - Initialize
[1]
Write only in ATLE mode
14.10.1 Next_DD_pointer
Pointer to the memory location from where the next DMA descriptor has to be fetched.
Table 235: DMA descriptor
Word
position
Access
(H/W)
Access
(S/W)
Bit
position
Description
0
R
R/W
31:0
Next_DD_pointer (USB RAM address).
1
R
R/W
1:0
DMA_mode (00 -Normal; 01 - ATLE).
R
R/W
2
Next_DD_valid (1 - valid; 0 - invalid).
-
-
3
Reserved.
R
R/W
4
Isochronous_endpoint (1 - isochronous;
0 - non-isochronous).
R
R/W
15:5
Max_packet_size.
R/W
31:16
DMA_buffer_length in bytes.
2
R/W
R/W
31:0
DMA_buffer_start_addr.
3
R/W
R/I
0
DD_retired (To be initialized to 0).
W
R/I
4:1
DD_status (To be initialized to 0):
0000 - Not serviced.
0001 - Being serviced.
0010 - Normal completion.
0011 - Data under run (short packet).
1000 - Data over run.
1001 - System error.
W
R/I
5
Packet_valid (To be initialized to 0).
W
R/I
6
LS_byte_extracted (ATLE mode) (To be initialized to 0).
W
R/I
7
MS_byte_extracted (ATLE mode) (To be initialized to 0).
R
W
13:8
Message_length_position (ATLE mode).
-
-
15:14
Reserved.
R/W
R/I
31:16
Present_DMA_count (To be initialized to 0).
4
R/W
R/W
31:0
Isochronous_packetsize_memory_address.