USB Programming Model
14-44
ADSP-BF535 Blackfin Processor Hardware Reference
USB Programming Model
This section discusses the USBD module from a programming viewpoint,
including programming issues related to device initialization and data
transfers.
Configuration of the UDC Module
The UDC module maintains a set of internal buffers that describe the
endpoints and configurations available on the device. These buffers must
be reloaded whenever a hard reset event occurs. These buffers are referred
to as the logical endpoints or EpBufs.
For each unique physical endpoint on the device, there can be more than
one EpBuf. For example, it is possible to have endpoint 1 in USB configu-
ration 1, as well as endpoint 1 in USB configuration 2. While the two
endpoints have the same physical number as far as the USB is concerned,
they are mapped to two separate EpBufs within the module. Because the
endpoints are mapped to two different buffers, they can have completely
different configurations.
The ADSP-BF535 processor is hardwired to support one configuration,
two interfaces, two alternate interfaces per interface, and it has a pool of
64 logical endpoint buffers to program.
Note: Even if all 64 endpoint buffers are not used in a specific
product, the core expects all 64 logical endpoint buffers to be allo-
cated data after each hard reset.
Summary of Contents for ADSP-BF535 Blackfin
Page 80: ...Development Tools 1 26 ADSP BF535 Blackfin Processor Hardware Reference...
Page 312: ...Working With Memory 6 86 ADSP BF535 Blackfin Processor Hardware Reference...
Page 332: ...System Interfaces 7 20 ADSP BF535 Blackfin Processor Hardware Reference...
Page 360: ...Dynamic Power Management Controller 8 28 ADSP BF535 Blackfin Processor Hardware Reference...
Page 446: ...Beginning and Ending an SPI Transfer 10 40 ADSP BF535 Blackfin Processor Hardware Reference...
Page 522: ...Timing Examples 11 76 ADSP BF535 Blackfin Processor Hardware Reference...
Page 562: ...IrDA Support 12 40 ADSP BF535 Blackfin Processor Hardware Reference...
Page 608: ...PCI I O Issues 13 46 ADSP BF535 Blackfin Processor Hardware Reference...
Page 672: ...References 14 64 ADSP BF535 Blackfin Processor Hardware Reference...
Page 810: ...SDRAM Controller SDC 18 86 ADSP BF535 Blackfin Processor Hardware Reference...
Page 811: ...ADSP BF535 Blackfin Processor Hardware Reference 18 87 External Bus Interface Unit...
Page 812: ...SDRAM Controller SDC 18 88 ADSP BF535 Blackfin Processor Hardware Reference...
Page 860: ...DMA Bus Debug Registers 20 30 ADSP BF535 Blackfin Processor Hardware Reference...