Information

Section Number Title Page
Chapter 40
Universal Serial Bus OTG Controller (USBOTG)
40.1 Introduction...................................................................................................................................................................881
40.1.1 USB..............................................................................................................................................................881
40.1.2 USB On-The-Go..........................................................................................................................................882
40.1.3 USB-FS Features..........................................................................................................................................883
40.2 Functional description...................................................................................................................................................883
40.2.1 Data Structures.............................................................................................................................................883
40.3 Programmers interface..................................................................................................................................................884
40.3.1 Buffer Descriptor Table...............................................................................................................................884
40.3.2 RX vs. TX as a USB target device or USB host..........................................................................................885
40.3.3 Addressing BDT entries...............................................................................................................................886
40.3.4 Buffer Descriptors (BDs).............................................................................................................................886
40.3.5 USB transaction...........................................................................................................................................889
40.4 Memory map/Register definitions................................................................................................................................891
40.4.1 Peripheral ID register (USBx_PERID)........................................................................................................893
40.4.2 Peripheral ID Complement register (USBx_IDCOMP)...............................................................................894
40.4.3 Peripheral Revision register (USBx_REV)..................................................................................................894
40.4.4 Peripheral Additional Info register (USBx_ADDINFO).............................................................................895
40.4.5 OTG Interrupt Status register (USBx_OTGISTAT)....................................................................................895
40.4.6 OTG Interrupt Control Register (USBx_OTGICR).....................................................................................896
40.4.7 OTG Status register (USBx_OTGSTAT)....................................................................................................897
40.4.8 OTG Control Register (USBx_OTGCTL)...................................................................................................898
40.4.9 Interrupt Status Register (USBx_ISTAT)....................................................................................................899
40.4.10 Interrupt Enable Register (USBx_INTEN)..................................................................................................900
40.4.11 Error Interrupt Status Register (USBx_ERRSTAT)....................................................................................901
40.4.12 Error Interrupt Enable Register (USBx_ERREN).......................................................................................902
40.4.13 Status Register (USBx_STAT)....................................................................................................................904
40.4.14 Control Register (USBx_CTL)....................................................................................................................905
K20 Sub-Family Reference Manual, Rev. 2, Feb 2012
Freescale Semiconductor, Inc. 33