ISP1362
Single-chip USB OTG controller
Philips Semiconductors
• If the packet length is odd, the upper byte of the last word in an IN endpoint buffer
is not transmitted to the host. When reading from an OUTendpoint buffer, the
upper byte of the last word must be ignored by the firmware. The packet length is
stored in the first two bytes of the endpoint buffer.
Table 107: DC command and register summary
Name
Destination
Code (Hex)
Transaction[1]
Initialization commands
Write Control OUT Configuration
DcEndpointConfiguration register 20
endpoint 0 OUT
write 1 byte[2]
write 1 byte[2]
write 1 byte[2]
read 1 byte[2]
read 1 byte[2]
read 1 byte[2]
Write Control IN Configuration
DcEndpointConfiguration register 21
endpoint 0 IN
Write Endpoint n Configuration
(n = 1 to 14)
DcEndpointConfiguration register 22 to 2F
endpoint 1 to 14
Read Control OUT Configuration
DcEndpointConfiguration register 30
endpoint 0 OUT
Read Control IN Configuration
DcEndpointConfiguration register 31
endpoint 0 IN
Read Endpoint n Configuration
DcEndpointConfiguration register 32 to 3F
(n = 1 to 14)
endpoint 1 to 14
Write or read Device Address
Write or read Mode register
DcAddress register
DcMode register
B6/B7
B8/B9
write or read 1 byte[2]
write or read 1 byte[2]
write or read 2 bytes
write or read 4 bytes
Write or read Hardware Configuration DcHardwareConfiguration register BA/BB
Write or read DcInterruptEnable
register
DcInterruptEnable register
C2/C3
Write or read DMA Configuration
Write or read DMA Counter
Reset Device
DcDMAConfiguration register
DcDMACounter register
resets all registers
F0/F1
F2/F3
F6
write or read 2 bytes
write or read 2 bytes
-
Data flow commands
Write Control OUT Buffer
Write Control IN Buffer
illegal: endpoint is read-only
buffer memory endpoint 0 IN
(00)
-
01
N ≤ 64 bytes
Write Endpoint n Buffer
(n = 1 to 14)
buffer memory endpoint 1 to 14
(IN endpoints only)
02 to 0F
isochronous:
N ≤ 1023 bytes
interrupt/bulk: N ≤ 64 bytes
Read Control OUT Buffer
Read Control IN Buffer
buffer memory endpoint 0 OUT
illegal: endpoint is write-only
10
N ≤ 64 bytes
(11)
-
Read Endpoint n Buffer
(n = 1 to 14)
buffer memory endpoint 1 to 14
(OUT endpoints only)
12 to 1F
isochronous:
N ≤ 1023 bytes[4]
interrupt/bulk: N ≤ 64 bytes
Stall Control OUT Endpoint
Stall Control IN Endpoint
Endpoint 0 OUT
Endpoint 0 IN
40
-
-
-
41
Stall Endpoint n
(n = 1 to 14)
Endpoint 1 to 14
42 to 4F
Read Control OUT Status
DcEndpointStatus register
endpoint 0 OUT
50
51
read 1 byte[2]
read 1 byte[2]
Read Control IN Status
DcEndpointStatus register
endpoint 0 IN
9397 750 12337
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Product data
Rev. 03 — 06 January 2004
111 of 150