TI Tiva C Series TM4C123G LaunchPad
Overview
The TM4C123GXL LaunchPad Evaluation Kit is a low-cost development platform for TI Tiva C Series TM4C123GH6PM microcontrollers. It features a high-performance ARM Cortex-M4F core running at 80 MHz with 256 KB flash and 32 KB SRAM.
The TM4C123GH6PM microcontroller includes:
Core.
ARM Cortex-M4F with FPU, 80 MHz.
Nested Vectored Interrupt Controller (NVIC).
Memory Protection Unit (MPU).
Memory.
256 KB single-cycle flash (up to 40 MHz).
32 KB single-cycle SRAM.
2 KB EEPROM.
Communication.
Eight UARTs.
Four SSI/SPI modules.
Four I2C modules.
Two CAN 2.0 A/B controllers.
USB 2.0 OTG/Host/Device (Full-Speed).
Timers.
Six 64-bit general-purpose timers (twelve 32-bit).
Six wide timers.
Two watchdog timers.
Other.
16 PWM outputs.
System control and clocks with PLL.
Hardware
The TM4C123GXL LaunchPad features:
On-board In-Circuit Debug Interface (ICDI) for programming and debugging
USB Micro-B connector for debug and power
Two user switches (SW1 on PF4, SW2 on PF0)
RGB LED (Red on PF1, Blue on PF2, Green on PF3)
Reset switch
Boosterpack-compatible headers exposing most MCU pins
Details on the TM4C123GXL LaunchPad can be found on the TI TM4C123GXL Product Page.
Supported Features
The tm4c123gxl board supports the hardware features listed below.
- on-chip / on-board
- Feature integrated in the SoC / present on the board.
- 2 / 2
-
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files. -
vnd,foo -
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.
tm4c123gxl/ti_tm4c123gh6pm target
On-target memory for this board target: 32 KiB of RAM, 256 KiB of Flash.
Type |
Location |
Description |
Compatible |
|---|---|---|---|
CPU |
on-chip |
ARM Cortex-M4F CPU1 |
|
Clock control |
on-chip |
Generic fixed-rate clock provider1 |
|
Flash controller |
on-chip |
TI Stellaris flash controller1 |
|
Interrupt controller |
on-chip |
ARMv7-M NVIC (Nested Vectored Interrupt Controller)1 |
|
MTD |
on-chip |
Flash node1 |
|
Pin control |
on-chip |
TI Tiva C Series pin controller1 |
|
Serial controller |
on-chip |
||
SRAM |
on-chip |
Generic on-chip SRAM1 |
|
Timer |
on-chip |
ARMv7-M System Tick1 |
Connections and IOs
UART
The TM4C123GXL has 8 UART modules. UART0 is connected to the on-board ICDI virtual COM port via PA0 (RX) and PA1 (TX).
UART |
RX Pin |
TX Pin |
|---|---|---|
UART0 |
PA0 |
PA1 |
UART1 |
PB0 |
PB1 |
Building and Flashing
Building
Follow the Getting Started Guide instructions for Zephyr application development.
For example, to build the Hello World application for the TM4C123GXL LaunchPad:
# From the root of the zephyr repository
west build -b tm4c123gxl samples/hello_world
Flashing
The TM4C123GXL uses the on-board TI ICDI interface for flashing via OpenOCD.
# From the root of the zephyr repository
west build -b tm4c123gxl samples/hello_world
west flash
Debugging
# From the root of the zephyr repository
west build -b tm4c123gxl samples/hello_world
west debug
Console
The UART0 console is available through the on-board ICDI virtual COM port. Connect to the serial port at 115200 8N1.
On Linux:
$ screen /dev/ttyACM0 115200