
viii
List of Figures
EZ-USB TRM v1.9
Figure 6-9.
Figure 6-10.
Figure 6-11.
Figure 6-12.
Figure 6-13.
Figure 6-14.
Figure 7-1.
Figure 7-2.
Figure 7-3.
Figure 7-4.
Figure 7-5.
Figure 8-1.
Figure 8-2.
Figure 8-3.
Figure 8-4.
Figure 8-5.
Figure 8-6.
Figure 8-7.
Figure 8-8.
Figure 8-9.
Figure 8-10.
Figure 8-11.
Figure 8-12.
Figure 8-13.
Interrupt Service Routine (ISR) for Endpoint 6-OUT .....................................6-19
Background Program Transfers Endpoint 6-OUT Data to Endpoint 6-IN ......6-20
Initialization Routine ........................................................................................6-21
Autopointer Registers ......................................................................................6-23
Use of the Autopointer .....................................................................................6-24
8051 Code to Transfer External Data to a Bulk IN Buffer ..............................6-25
A USB Control Transfer (This One Has a Data Stage) .....................................7-2
The Two Interrupts Associated with EP0 CONTROL Transfers ......................7-3
Registers Associated with EP0 Control Transfers .............................................7-4
Data Flow for a Get_Status Request ..................................................................7-7
Using the Setup Data Pointer (SUDPTR) for Get_Descriptor Requests .........7-13
EZ-USB Isochronous Endpoints 8-15 ................................................................8-1
Isochronous IN Endpoint Registers ...................................................................8-2
Isochronous OUT Registers ...............................................................................8-4
FIFO Start Address Format ................................................................................8-5
Assembler Translates FIFO Sizes to Addresses ................................................8-7
8051 Code to Transfer Data to an Isochronous FIFO (IN8DATA) ...................8-8
8051 MOVX Instructions ...................................................................................8-9
Fast Transfer, EZ-USB to Outside Memory ....................................................8-10
Fast Transfer, Outside Memory to EZ-USB ....................................................8-11
The FASTXFR Register Controls FRD# and FWR# Strobes ..........................8-11
Fast Write Timing ............................................................................................8-12
Fast Read Timing .............................................................................................8-13
8051 Code to Transfer 640 Bytes of External Data to an Isochronous
IN FIFO ............................................................................................................8-14
ISOCTL Register .............................................................................................8-15
ZBCOUT Register ...........................................................................................8-16
EZ-USB Wakeup Interrupt ................................................................................9-2
USB Interrupts ...................................................................................................9-4
The Order of Clearing Interrupt Requests is Important .....................................9-6
EZ-USB Interrupt Registers ...............................................................................9-7
SUTOK and SUDAV Interrupts ........................................................................9-8
A Start Of Frame (SOF) Packet .........................................................................9-9
The Autovector Mechanism in Action .............................................................9-12
I
2
C Interrupt Enable Bits and Registers ...........................................................9-13
IN Bulk NAK Interrupt Request Register ........................................................9-14
IN Bulk NAK Interrupt Enable Register ..........................................................9-14
I
2
C Mode Register ............................................................................................9-15
I
2
C Control and Status Register .......................................................................9-15
I
2
C Data ............................................................................................................9-15
EZ-USB Resets ................................................................................................10-1
Suspend-Resume Control .................................................................................11-1
EZ-USB Suspend Sequence .............................................................................11-2
EZ-USB Resume Sequence .............................................................................11-3
USB Control and Status Register .....................................................................11-4
Figure 8-14.
Figure 8-15.
Figure 9-1.
Figure 9-2.
Figure 9-3.
Figure 9-4.
Figure 9-5.
Figure 9-6.
Figure 9-7.
Figure 9-8.
Figure 9-9.
Figure 9-10.
Figure 9-11.
Figure 9-12.
Figure 9-13.
Figure 10-1.
Figure 11-1.
Figure 11-2.
Figure 11-3.
Figure 11-4.