EasyManua.ls Logo

Texas Instruments EK-TM4C123GXL - User Manual

Texas Instruments EK-TM4C123GXL
27 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
Loading...
Tiva
C Series TM4C123G LaunchPad
Evaluation Board
User's Guide
Literature Number: SPMU296
April 2013
Question and Answer IconNeed help?

Do you have a question about the Texas Instruments EK-TM4C123GXL and is the answer not in the manual?

Summary

Board Overview

Features

Details the key features of the Tiva C Series LaunchPad evaluation board.

Hardware Description

Microcontroller

Details the TM4C123GH6PM microcontroller and its core features.

USB Connectivity

Describes the USB device, host, and OTG capabilities of the board.

Power Management

Explains the power supply options and the Hibernate mode functionality.

In-Circuit Debug Interface (ICDI)

Explains the on-board ICDI for programming and debugging via JTAG/SWD.

Software Development

Programming the Tiva C Series LaunchPad Evaluation Board

Step-by-step guide for programming example applications using the ICDI.

References, PCB Layout, and Bill of Materials

Bill of Materials (BOM)

Provides a detailed list of components used on the EK-TM4C123GXL evaluation board.

Overview

The Tiva C Series TM4C123G LaunchPad Evaluation Board (EK-TM4C123GXL) is a cost-effective evaluation platform designed for ARM Cortex-M4F-based microcontrollers. It highlights the TM4C123GH6PMI microcontroller's USB 2.0 device interface, hibernation module, and motion control pulse-width modulator (MC PWM) module. The board also incorporates programmable user buttons and an RGB LED for custom applications. Its stackable headers, part of the Tiva C Series TM4C123G LaunchPad BoosterPack XL interface, facilitate easy expansion of functionality by connecting to various existing BoosterPack add-on boards and future products.

Functional Description:

The Tiva C Series LaunchPad includes a TM4C123GH6PM microcontroller and an integrated In-Circuit Debug Interface (ICDI). Most microcontroller signals are routed to 0.1-inch (2.54-mm) pitch headers, allowing different peripheral functions to be assigned to these GPIO pads via an internal multiplexer. The TM4C123GH6PM microcontroller is factory-programmed with a quickstart demo program residing in on-chip Flash memory, which runs upon power application unless replaced by a user program.

USB Connectivity:

The EK-TM4C123GXL functions as a USB device without hardware modification. Its USB device signals (PD4 for USBODM, PD5 for USBODP) are dedicated and not shared with BoosterPack headers. The TM4C123GH6PM target device also supports USB embedded host and On-The-Go (OTG) functions. OTG can be enabled by populating R25 and R29 with 0-Ω resistors, connecting USB ID and USB VBUS signals to PB0 and PB1. Care must be taken to avoid conflicts with BoosterPack signals if these resistors are populated. USB embedded host operation can be enabled similarly for self-powered USB devices. Providing power as a USB host requires a BoosterPack with power switching and appropriate connectors. All USB host signals are available on the BoosterPack interface, except D+ and D-, which are only on the USB micro-A/-B connector and adjacent test points. When connected as a USB device, the board can be powered from either the ICDI or USB Device connectors, selectable via the POWER SELECT switch (SW3).

Motion Control:

The EK-TM4C123GXL features Tiva C-Series Motion Control PWM technology with two PWM modules, capable of generating 16 PWM outputs. Each module offers flexibility for simple PWM signals (e.g., charge pump) and paired PWM signals with dead-band delays (e.g., half-H bridge driver). Three generator blocks can generate the full six channels of gate controls for a 3-phase inverter bridge. Two quadrature encoder interfaces (QEI) provide motion control feedback.

User Switches and RGB User LED:

The board includes an RGB LED used in the preloaded quickstart application and configurable for custom applications. Two user buttons (SW1 on PF4, SW2 on PF0) are used in the quickstart application to adjust the RGB LED's light spectrum and control hibernation. These buttons can also be repurposed for custom applications. A green power LED is also present.

Headers and BoosterPacks:

Two double rows of stackable headers (J1, J2, J3, J4) map to most TM4C123GH6PM GPIO pins. J3 and J4 are located 0.1 inches (2.54 mm) inside J1 and J2. All 40 header pins form the Tiva C Series TM4C123G LaunchPad BoosterPack XL Interface. Shaded cells in the connector tables indicate MSP430 LaunchPad compatibility. The Tiva C Series Pinmux Utility (www.ti.com/tool/lm4f_pinmux) provides an intuitive graphical user interface for configuring device peripherals and alternate GPIO functions.

Power Management:

The LaunchPad can be powered from either the on-board ICDI USB cable (Debug, Default) or the USB device cable (Device). The POWER SELECT switch (SW3) selects the power source; only one source should be selected at a time.

Hibernate:

An external 32.768-kHz crystal (Y1) clocks the TM4C123GH6PM Hibernation module. Current draw in Hibernate mode can be measured by removing the VDD jumper (connecting 3.3V pin and MCU_PWR pin) and placing an ammeter between them. Wake signals to the Hibernate module can be generated by an RTC match or assertion of the WAKE pin. The second user switch (SW2) is connected to the WAKE pin. VDD, HIB, and WAKE pins are accessible via breakout pads. If the board doesn't power on, the microcontroller might be in Hibernate mode, requiring a programmed wake condition and power connection to turn on.

Clocking:

The Tiva C Series LaunchPad uses a 16.0-MHz crystal (Y2) for the TM4C123GH6PM microcontroller's main internal clock circuit. An internal PLL, configured in software, multiplies this clock for higher core and peripheral frequencies. The Hibernation module is clocked by an external 32.768-KHz crystal (Y1).

Reset:

The RESET signal connects to the RESET switch and the ICDI circuit for debugger-controlled resets. External reset (active low) is asserted by power-on reset (filtered by an R-C network), holding down the RESET switch, or by the ICDI circuit (debugger-dependent).

In-Circuit Debug Interface (ICDI):

The evaluation board includes an on-board ICDI for programming and debugging the TM4C123GH6PM using LM Flash Programmer or supported tool chains. The ICDI supports JTAG debugging. An external debug interface can be connected for Serial Wire Debug (SWD) and SWO (trace). Pins used for JTAG and SWD (PC0 for TCK/SWCLK, PC1 for TMS/SWDIO, PC2 for TDI, PC3 for TDO/SWO) are mapped to breakout pads and headers.

Virtual COM Port:

When connected to a PC, the device enumerates as a debugger and a virtual COM port. The COM port connects to PA0 (U0RX) and PA1 (U0TX) on the microcontroller.

Important Technical Specifications:

  • Board Supply Voltage: 4.75 VDC to 5.25 VDC from Debugger (ICDI) USB Micro-B cable (connected to PC) or USB Device Micro-B cable (connected to PC).
  • Dimensions: 2.0 in x 2.25 in x 0.425 in (5.0 cm x 5.715 cm x 10.795 mm) (L x W x H).
  • Break-out Power Output: 3.3 VDC (300 mA max), 5.0 VDC (depends on 3.3 VDC usage, 23 mA to 323 mA).
  • RoHS Status: Compliant.
  • Microcontroller: Tiva TM4C123GH6PMI (32-bit ARM Cortex-M4-based, 256-kB Flash, 32-KB SRAM, 80-MHz operation, USB host/device/OTG, Hibernation module, PWM).

Usage Features:

  • Kit Contents: Tiva C Series LaunchPad Evaluation Board (EK-TM4C123GXL), on-board ICDI, USB micro-B to USB-A cable, README First document.
  • Getting Started: Follow the README First document for quick setup.
  • BoosterPack Experimentation: Explore Tiva C Series BoosterPacks and compatible MSP430 BoosterPacks available on the TI MCU LaunchPad web page.
  • Application Development: Use Project 0 with preferred ARM tool-chain and TivaWare Peripheral Driver Library. Software applications are loaded via the on-board ICDI.
  • Hardware Customization: User manual provides reference for understanding circuit operation and hardware modification.
  • Training Materials: Access nearly six hours of training material and tutorials on the Tiva C Series LaunchPad Workshop.
  • Preloaded Application: RGB quickstart application.
  • Software Support: TivaWare for C Series software, including USB library and peripheral driver library.
  • BoosterPack XL Interface: Stackable headers for expanding capabilities.

Maintenance Features:

  • Programming: Use LM Flash Programmer on a PC running Microsoft Windows.
    1. Install LM Flash Programmer.
    2. Switch POWER SELECT to Debug mode.
    3. Connect USB-A cable to PC and Micro-B plug to Debug USB port on board.
    4. Verify POWER LED D4 is lit.
    5. Run LM Flash Programmer.
    6. In Configuration tab, select EK-TM4C123GXL.
    7. In Program tab, click Browse, navigate to example applications directory (default: C:\ti\TivaWare_C_Series_\examples\boards\ek-tm4c123gxl).
    8. Select binary (*.bin) file and click Open.
    9. Set Erase Method to Erase Necessary Pages, check Verify After Program, and check Reset MCU After Program. Program execution starts after verification.
  • Source Code: Complete source code and installation instructions are available at www.ti.com/tm4c123g-launchpad.
  • Tool Options: Supports Keil ARM RealView Microcontroller Development System, IAR Embedded Workbench for ARM, Sourcery CodeBench, and Texas Instruments' Code Composer Studio IDE. Evaluation versions are available, but full licenses may be needed for all examples. Quickstart guides for each tool are available on the TI website.
  • Documentation: References include Tiva C Series TM4C123GH6PM Microcontroller Data Sheet (SPMS376), LM Flash Programmer tool (www.ti.com/tool/lmflashprogrammer), TivaWare for C Series Driver Library (www.ti.com/tool/sw-tm4c-drl), TivaWare for C Series Driver Library User's Manual (SPMU298), TPS73633 Low-Dropout Regulator Data Sheet (SBVS038), and Texas Instruments' Code Composer Studio IDE website (www.ti.com/ccs).

Texas Instruments EK-TM4C123GXL Specifications

General IconGeneral
BrandTexas Instruments
ModelEK-TM4C123GXL
CategoryMotherboard
LanguageEnglish

Related product manuals