User manual

P
R
E
L
I
M
I
N
A
R
Y
T
E
C
H
N
I
C
A
L
D
A
T
A
P
R
E
L
I
M
I
N
A
R
Y
T
E
C
H
N
I
C
A
L
D
A
T
A
For current information contact Analog Devices at (781) 461-3881
ADSP-2192 October 2000
This information applies to a product under development. Its characteristics and specifications are subject to change with-
out notice. Analog Devices assumes no obligation regarding future manufacturing unless otherwise agreed to in writing.
24 REV. PrA
Configuration 0, 1, and 2 Device Definition
FIXED ENDPOINTS
CONTROL ENDPOINT 0
Type: Cont rol
Dir: Bi-directional
Maxpacketsize: 8
BULK OUT ENDPOINT 1, 2, 3 = Used for code
download to DSP
Type: Bulk
Dir: OUT
Maxpacketsize: 64
PROGRAMMABLE ENDPOINTS: 4 5 6 7 8 9 10 11
Programmable in:
Type: via USB Endpoint Description Register
Direction: via USB Endpoint Description Register
Maxpacket size: via USB Endpoint Description
Register
Memory Allocation: via DSP Memory Buffer Base
Addr, DSP Memory Buffer Size, DSP Memory Buffer
RD Pointer Offset, DSP Memory Buffer Write Pointer
Offset Registers
Note: The GENERIC endpoints are shared between all
interfaces.
Endpoint 0 Definition
In addition to the normally defined USB standard device
requests, the following vendor specific device requests are
supported with the use of EP0. These requests are issued
from the host driver via normal SETUP transactions on the
USB.
USB MCU Code Download
Address <15:0> is the first address to begin code download
to; the address is incremented automatically after each byte
is written. USB MCUCODE is a three-stage control trans-
fer with an OUT data stage. Stage 1 is the SETUP stage,
stage 2 is the data stage involving the OUT packet, and
stage 3 is the status stage. The length of the data stage is
determined by the driver and is specified by the total length
of the MCU code to be downloaded. See Table 18 on
page 24 for details about the USB MCUCODE (code
download) fields.
USB REGIO (Write)
Address <15:15> = 1 indicates a write to the MCU register
space; Address <15:15> = 0 indicates a write to the DSP
register space. When accessing DSP register space, the
MCU must write the data to be written into the USB Reg-
ister I/O Data register and write the address to be written to
the USB Register I/O Address register. Bit 15 of the USB
Register I/O Address register starts the transaction and
bit 14 is set to one to indicate a WRITE.
USB REGIO (register write) is a three-stage control trans-
fer with an OUT data stage. Stage 1 is the SETUP stage,
stage 2 is the data stage involving the OUT packet, and
stage 3 is the status stage. See Table 19 on page 25 for
details about the USB REGIO (register write) fields.
Table 17. CONFIG DEVICE String Descriptor Index 2 (Product)
Offset Field Description Value
0 bLength Descriptor Length = 34 bytes 0x22
1 bDescriptorType Descriptor Type = String 0x03
2-31 bString ADI USB Device
Table 18. USB MCUCODE (Code Download)
Offset Field Size Value Description
0 bmRequest 1 0x40 Vendor Request, OUT
1 bRequest 1 0xA1 USB MCUCODE
2 wValue (L) 1 XXX Address <0:7>
3 wValue (H) 1 XXX Address <8:15>
4 wIndex (L) 1 0x00