NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

TI811X PSP USB Driver User Guide

From Texas Instruments Wiki
Jump to: navigation, search
TIBanner.png
TI811X PSP USB Driver User Guide
Linux PSP




Introduction[edit]

The TI811X USBSS consists of two instance of mentor usb controller (musb controller). Each controller supports USB2.0 standards supporting HS/FS/LS speed. Each musb controller uses CPPI4.1 (Communication programming port interface 4.1 compliance) based DMA controller to transfer of data to/from between the external memory and endpoint FIFO. There are 15 Tx/Rx endpoints for each controller and each Tx/Rx endpoint uses dedicated Tx/Rx CPPI4.1 DMA channel for transfer of data. The endpoint-0 used for control transfer. For more information please refer to Technical reference manual at here


References[edit]

  • The USB2.0 specification standard at USB 2.0 spec
  • Refer corresponding TI811X Technical Reference Manual at here
  • Refer approved usb class specification documents here


Acronyms & Definitions[edit]

USB Driver: Acronyms
Acronym Definition
USB Universal Serial Bus
OTG On The Go
HS/FS/LS Highspeed/Fullspeed/LowSpeed
UAC USB Audio Class
UVC USB Video Class
HID Human Interface Devices
CDC Communication Device Class
RNDIS Remote Network Device Interface Specification
DTM Driver Test Manager
CPPI Communication programming port interface
USBSS USB subsystem


Software Architecture [edit]

Mentor graphics usb otg controller driver (or MUSB driver) [edit]

The MUSB driver is implemented on top of Mentor controller IP which supports all the speeds (High, Full and Low). TI811X USBOTG subsytem uses CPPI 4.1 DMA for all the transfers. The musb driver confirms to linux usb framework support both in PIO/DMA mode of operation. The musb host controller driver (HCD) binds the controller hardware and linux usb core stack. The musb device/gadget controller driver binds the controller hardware and specific gadget driver (filestorage, cdc/rndis etc).

Linux USB Stack Architecture [edit]

As shown in the figure, linux usb stack is an layered architecture, musb controller being the lowest layer, the musb host/device controller driver binds the musb controller hardware to linux usb stack frame work. The CPPI4.1 DMA controller driver is responsible for transmission/reception of packets over the musb endpoints.

Usb-stack-arch-image.JPG


Features[edit]

  • The Mentor USB driver can be built as module or built-in to kernel
  • Support both PIO and DMA mode (The DMA mode not applicable for control endpoint)
  • Support two instances musb controller in host mode (both usb0 and usb1 controller in host mode).
  • Support USB gadget/device mode only (In this gadget only mode, only USB0 controller can be configured as Gadget and USB1 cannot be configured as gadget mode)
  • Dual role support : Concurrent usage of one port as USB host and other port as USB device (refer USB Userguide for details)



USB Host Mode Features [edit]

Host Mode Feature TI811x
Human Interface Class (HID) Yes
Mass Storage Class (MSC) Yes
USB Video Class (UVC) Yes
USB Audio Class (UAC) Yes
USB CDC Host Yes

USB Gadget Mode Features [edit]

Gadget Mode Feature TI811x
Mass Storage Class (MSC) Yes
USB Networking - RNDIS Yes
USB Networking - CDC Yes


Dual mode features [edit]

In dual mode feature, each port (usb0 or usb1) can be configured as host or device mode. Based on the USB_ID pin on connector or cable type, the musb controller can take the role of host (if USB_ID is grounded) and device (if USB_ID is open).

Dual Mode Feature TI811x
USB0 as host, USB1 as gadget Yes (refer connector type details)
USB0 as gadget, USB1 as host Yes(refer connector type details)
USB0 as host, USB1 as host Yes(refer connector type details)


Connector type details [edit]

Note: To support dual mode, the usb ports on board should have mini/micro-AB connector in order to connect both host cable (mini/micro-A to A receptacle) or device cable (mini/micro-B to standard A cable). The host only port will have standard host A-receptacle (or mini/micro-A recepactle) and device only port will have standard-B connector (or mini/micro-B connector).

OTG Mode support [edit]

TI811x
OTG support No


Configuration[edit]

The Mentor USB driver can be built as module or built into kernel. For more information refer to Linux-usb configuration page


USB Host Configuration[edit]

Host Mass storage class[edit]

For USB Host MSC configuration refer to Mass Storage Class (MSC)

Host HID class[edit]

For USB HID configuration refer to Human Interface Class (HID)

Host Audio class[edit]

For USB Host Audio configuration refer to USB Audio Class (UAC)

Host Video class[edit]

For USB Host Video configuration USB Video Class (UVC)

Host CDC class[edit]

refer to CDC-Host configuration at USB CDC Host

USB Device Configuration[edit]

Device CDC/RNDIS class [edit]

Device Mass storage class [edit]

For USB gadget Mass storage FSG configuration refer to Mass Storage Class (MSC)

Dual mode Configuration[edit]

In dual mode configuration, user has option to configure one port as host and other as device and vice versa. For more info, refer to USB0 as host, USB1 as gadget


E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article TI811X PSP USB Driver User Guide here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article TI811X PSP USB Driver User Guide here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article TI811X PSP USB Driver User Guide here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article TI811X PSP USB Driver User Guide here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article TI811X PSP USB Driver User Guide here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article TI811X PSP USB Driver User Guide here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article TI811X PSP USB Driver User Guide here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article TI811X PSP USB Driver User Guide here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article TI811X PSP USB Driver User Guide here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity