• Menu
  • Product
  • Email
  • PDF
  • Order now
  • Using USB Host Mode on the EK-TM4C123GXL LaunchPad

    • SPNA243 June   2020 TM4C1236D5PM , TM4C1236D5PM , TM4C1236E6PM , TM4C1236E6PM , TM4C1236H6PM , TM4C1236H6PM , TM4C1237D5PM , TM4C1237D5PM , TM4C1237D5PZ , TM4C1237D5PZ , TM4C1237E6PM , TM4C1237E6PM , TM4C1237E6PZ , TM4C1237E6PZ , TM4C1237H6PGE , TM4C1237H6PGE , TM4C1237H6PM , TM4C1237H6PM , TM4C1237H6PZ , TM4C1237H6PZ , TM4C123FE6PM , TM4C123FE6PM , TM4C123FH6PM , TM4C123FH6PM , TM4C123GE6PM , TM4C123GE6PM , TM4C123GE6PZ , TM4C123GE6PZ , TM4C123GH6PGE , TM4C123GH6PGE , TM4C123GH6PM , TM4C123GH6PM , TM4C123GH6PZ , TM4C123GH6PZ , TM4C123GH6ZRB , TM4C123GH6ZRB , TM4C123GH6ZXR , TM4C123GH6ZXR

       

  • CONTENTS
  • SEARCH
  • Using USB Host Mode on the EK-TM4C123GXL LaunchPad
  1.   Using USB Host Mode on the EK-TM4C123GXL LaunchPad
    1.     Trademarks
    2. 1 EK-TM4C123GXL Board Overview
    3. 2 Board Modification to Make EK-TM4C123GXL USB Host/OTG Capable
    4. 3 Download and Import the USB Host Examples
    5. 4 Run the usb_host_mouse Example
      1. 4.1 Build and Flash the Program
      2. 4.2 Configure the Terminal Window
      3. 4.3 Run the usb_host_mouse Example
    6. 5 Run the usb_host_keyboard Example
    7. 6 Run the usb_stick_update and usb_stick_demo Examples
      1. 6.1 USB Memory Stick Updater (usb_stick_update) Overview
      2. 6.2 USB Stick Update Demo (usb_stick_demo) Overview
      3. 6.3 Add the FIRMWARE.BIN File in the Memory Stick
      4. 6.4 Run the usb_stick_update Program
      5. 6.5 Run the usb_stick_demo Program
    8. 7 References
  2. IMPORTANT NOTICE
search No matches found.
  • Full reading width
    • Full reading width
    • Comfortable reading width
    • Expanded reading width
  • Card for each section
  • Card with all content

 

APPLICATION NOTE

Using USB Host Mode on the EK-TM4C123GXL LaunchPad

Using USB Host Mode on the EK-TM4C123GXL LaunchPad

The EK-TM4C123GXL LaunchPad™ Evaluation Kit is a low-cost evaluation platform for Arm®Cortex®-M4F based microcontrollers from Texas Instruments. The design of the TM4C123G LaunchPad highlights the TM4C123GH6PM microcontroller (MCU) with a USB 2.0 device interface and features including hibernation, user buttons and an RGB LED for custom applications. This application report demonstrates how to turn the LaunchPad into both a USB host and USB device capable evaluation kit for USB application developments. Along with the application report are four USB host examples that interface with a USB mouse, keyboard or USB memory stick.

Project collateral and source code discussed in this application can be downloaded from the following URL: http://www.ti.com/lit/zip/spna243.

Trademarks

LaunchPad, Code Composer Studio are registered trademarks of Texas Instruments.

Arm, Cortex are registered trademarks of Arm Limited (or its subsidiaries) in the US and/or elsewhere.

All other trademarks are the property of their respective owners.

1 EK-TM4C123GXL Board Overview

Figure 1 shows a photo of the EK-TM4C123GXL LaunchPad board. As can be seen, there are two USB connectors on the board. On the top side is the USB connector for the in-circuit debug interface (ICDI). On the left side is the second USB Micro-A/B connector. Although this micro-A/B connector is capable for USB device, host and on-the-go (OTG) connectivity, the board as is can only support USB device connectivity. In other words, the EK-TM4C123GXL is only designed to function as a USB device without hardware modification. The lack of USBID and USBVBUS signals at the connector are preventing the board from functioning as a USB host or USB OTG. The USBVBUS signal is required during the session request protocol and it allows the USB PHY to both sense the voltage level of VBUS and pull up VBUS momentarily during the VBUS pulsing. The VBUSID is used by the USB PHY to determine the initial state of the USB controller (pulled down is the A side of the cable and pulled up is the B side).

spna243-tiva-c-series-tm4c123g-launch-pad-evaluation-board.pngFigure 1. Arm Cortex-M4F Based MCU TM4C123G LaunchPad Evaluation Kit

 

Texas Instruments

© Copyright 1995-2025 Texas Instruments Incorporated. All rights reserved.
Submit documentation feedback | IMPORTANT NOTICE | Trademarks | Privacy policy | Cookie policy | Terms of use | Terms of sale