EZ-USB FX3 Technical Reference Manual, Document Number: 001-76074 Rev. *F 6
Contents
6.6.4 Protocol Layer .............................................................................................................87
6.7 USB 2.0 Function....................................................................................................................89
6.7.1 Clocking ......................................................................................................................89
6.7.2 Interrupt Requests.......................................................................................................89
6.7.3 USB 2.0 Functional Description ..................................................................................89
6.7.3.1 Serial Interface Engine ................................................................................89
6.7.3.2 Token Processor .........................................................................................89
6.7.4 USB 2.0 Function Registers........................................................................................90
6.7.5 USB Reset ..................................................................................................................90
6.7.6 USB Suspend..............................................................................................................90
6.7.7 USB Resume ..............................................................................................................90
6.7.8 Start of Frame .............................................................................................................90
6.7.9 SETUP Packet ............................................................................................................90
6.7.10 IN Packet.....................................................................................................................91
6.7.11 OUT Packet.................................................................................................................91
6.8 USB 3.0 and USB 2.0 Function Coordination.........................................................................91
6.9 USB Function Programming Model ........................................................................................92
6.9.1 USB 3.0 Initialization ...................................................................................................92
6.9.2 USB 3.0 Enable...........................................................................................................93
6.9.3 USB 3.0 Fallback to USB 2.0 ......................................................................................94
6.9.4 USB Reset ..................................................................................................................95
6.9.5 USB Connect ..............................................................................................................96
6.9.6 USB Disconnect ..........................................................................................................98
6.9.7 Control Request ..........................................................................................................99
6.9.8 USB Embedded Host ................................................................................................106
6.9.8.1 Clocking.....................................................................................................106
6.9.9 Interrupt Requests.....................................................................................................106
6.9.10 Functional Description...............................................................................................107
6.9.10.1 Embedded Host.........................................................................................107
6.9.10.2 Scheduler Memory ....................................................................................107
6.9.11 Embedded Host Programming Model .......................................................................109
6.9.11.1 Host Connect.............................................................................................109
6.9.11.2 Host Disconnect ........................................................................................109
6.9.11.3 Managing Transfers...................................................................................110
6.10 USB OTG Controller .............................................................................................................112
6.10.1 Interrupt Requests.....................................................................................................112
6.10.2 USB OTG Programming Model.................................................................................112
6.10.2.1 USB OTG Start and Stop ..........................................................................112
6.10.2.2 Session Request Protocol ...............................
..........................................116
6.10.2.3 Host Negotiation Protocol..........................................................................118
7. General Programmable Interface II (GPIF II) 120
7.1 Features................................................................................................................................120
7.2 Block Diagram ......................................................................................................................121
7.3 Typical GPIF II interface .......................................................................................................121
7.4 Functional Overview .............................................................................................................122
7.4.1 Actions ......................................................................................................................122
7.4.1.1 Action - IN_DATA ......................................................................................124
7.4.1.2 Action - IN_ADDR......................................................................................125