ADSP-BF535 Blackfin Processor Hardware Reference
14-55
USB Device
4. Wait for interrupts.
• If
USBD_TC
interrupt and
USBD_PC
interrupt, then the packet
transfer was error free.
• If
USBD_TC
interrupt and not
USBD_PC
interrupt, then the
packet transfer had a problem of some kind. The specific
problem must be handled by the programmer. Software
must determinate whether this is an error or merely a
warning.
5. Go back to step 2 to prepare for the next frame’s data transfer.
Iso Out
Assume 1023-byte packet size, packet buffer located at address 0x80 in the
memory space, and buffer size 0x3FF (one packet). Programming flow is:
1. Unmask interrupts:
•
USBD_MASKx
:
USBD_BCSTAT
= 0,
USBD_PC
= 0,
USBD_TC
= 0.
•
USBD_GMASK
:
USBD_EPxMSK
= 0.
2. Configure the endpoint:
•
USBD_EPCFGx
:
•
USBD_TYP
= 11,
USBD_DIR
= 0,
USBD_MAX
= XX,
USBD_ARM
= 1.
•
USBD_EPADRx
:
•
USBD_OFFSET
= 0x0080.
•
USBD_EPLEN0
:
•
USBD_BC
= 0x03FF.
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...