SDAA138 September   2025 AM2611 , AM2612 , AM2612-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2USB Host Detection
    1. 2.1 General USB Host Detection Flow
    2. 2.2 AM261x USB Host Detection
  6. 3Hardware Modifications
  7. 4Software Modifications
    1. 4.1 Changes in the USB Synp Driver
    2. 4.2 Changes in the USB Application
    3. 4.3 Steps to Rebuild the USB Driver and Application
      1. 4.3.1 Rebuilding USB Libs
      2. 4.3.2 Rebuilding USB Application
        1. 4.3.2.1 CCS Build
        2. 4.3.2.2 Command Line Build
    4. 4.4 Testing the New Application
  8. 5Summary
  9. 6References

Software Modifications

The default USB driver in the MCU_PLUS_SDK for USB calls the USB_init() function from the USB application. This function is called from the code auto-generated from the example.syscfg ti_drivers_open_close.c file. The Drivers_usbOpen() function.

This function is responsible for resetting the USB dwc_usb3_dev handler, configuring the USB PHY and controller clocks, set the control register of the controller, turn on the PHY and configure the UTMI OTG registers and complete the PHY bring up. The default driver does not detect if a USB connection is truly present on the USB port, and programs the VBUSVALID bit of the USB controller to force a host connection. This does not have any impact on functionality.