Tiva-C LaunchPad

From HandWiki

The Tiva-C (a.k.a. TM4C) LaunchPads[1] are inexpensive self-contained, single-board microcontrollers, about the size of a credit card, featuring an ARM Cortex-M4F 32-bit CPU operating at 80 to 120 MHz, manufactured by Texas Instruments.[2] The TM4C Series TM4C123G LaunchPad[3] is an upgrade from TI's Stellaris LaunchPad adding support options for motion control PWMs and USB Host functionality. The more recently released TM4C1294 Connected LaunchPad[4] is the first cloud-connected offering in TI's LaunchPad ecosystem and provides a solid foundation for beginning and evaluating embedded IoT designs.

There are many I/O pins (40 to 80 depending upon version) that have multi-personality. This means that they can be easily configured as digital inputs or outputs, analog inputs and outputs or other functions, allowing a great variety of applications, are just the multiple serial ports have the ability to interface with more items such as test cards or other communication modules, etc. Among those pins there are included the GND and POWER (3.3 V) pins.

The clock is 80 or 120 MHz (vers based), which makes them 5 to over 7 times faster than the Arduino Uno's 16 MHz ATmega328P microcontroller. As with any Cortex M4, the CPU has some DSP (digital signal processor) instructions, with some limitations. One can do signal processing, for example, sampling a human voice with a good quality, able to be processed in MATLAB.[citation needed] The CPU contains the optional floating-point unit with single-precision floating point operations supported.

They have an additional USB port which can act as USB host, allowing the connection of multiple devices and the "Connected" one has an integrated 10/100 Ethernet MAC+PHY for Internet connectivity. They also have a temperature sensor and on-board LED(s) and RGB LED(s), which allows you to generate various colors by combining the three basic colors (red, blue and green) of the additive color synthesis.

The Tiva/TM4C LaunchPads come preloaded with software to demonstrate many of the capabilities of the ARM microcontroller and with a quickstart application to get up and running within minutes.

Tiva LaunchPad

CPU and speed

The LaunchPad's TM4C123GXL CPU (ARM Cortex M4F 32-bit CPU) is capable of speeds up to 80 MHz. The CPU can be run at lower speeds to reduce energy consumption.

EK-TM4C123GXL features

  • Tiva TM4C123GH6PMI ARM Cortex M4F 32-bit microcontroller
  • 32 Kbyte of RAM memory for data storage
  • 2 Kbytes of EEPROM for non-volatile data storage
  • 256-Kbytes of flash memory for non-volatile code storage
  • One RGB user LED
  • Two user switches (application/wake)
  • Available I/O brought out to headers on a 0.1-in (2.54-mm) grid
  • On-board ICDI
  • Reset switch
  • Possibility to use booster packs
  • Two sets of connectors: 40 I/O ports, ISP, USI, JTAG
  • Two CAN modules
  • SPI/UART/I²C (cable and connector provided by end user)
  • Motion control PWM
  • USB Micro-AB connector:
  • Device mode default configuration
  • Host/OTG modes supportable
  • 5 V battery connector
  • Switch-selectable power sources:
  • ICDI
  • USB device

EK-TM4C1294XL features

EK-TM4C1294XL Board

Tiva TM4C1294NCPDTI ARM Cortex M4F 32-bit microcontroller

  • CPU supports speeds up to 120 MHz
  • 1024 Kbyte of flash memory for non-volatile code storage
  • 256 Kbyte of RAM for data storage
  • 6 Kbyte of EEPROM for non-volatile data storage
  • Ethernet connectivity with fully integrated 10/100 Ethernet MAC and PHY
  • Motion Control PWM
  • USB 2.0 Micro A/B connector
  • Device/Host/OTG modes supportable
  • USB 2.0 High-Speed (480Mbps) possible with external PHY
  • 4 user LEDs
  • 2 user buttons
  • 1 independent hibernate wake switch
  • 1 independent microcontroller reset switch
  • Jumper for selecting power source:
  • ICDI USB
  • USB Device
  • BoosterPack
  • Preloaded Internet-of-Things Exosite quickstart application
  • I/O brought to board edge for breadboard expansion
  • Two independent BoosterPack XL standard connectors featuring stackable headers to maximize expansion through BoosterPack ecosystem

Booster packs

Both Tiva C Series LaunchPads conform to a standard for BoosterPack layout defined by Texas Instruments.

TI has a Sensor Hub BoosterPack designed exclusively to fit the TM4C123GXL LaunchPad.

Internet of Things

Internet of Things is made possible with the SimpleLink Wi-Fi CC3100 BoosterPack.[5]

LCD

A demonstration of LCD driving can be achieved with LaunchPad by fitting a Nokia LCD, graphic display (not included in the kit). However, the LCD interface consumes many of the I/O pins.

Another solution is the 320 x 240 pixel TFT QVGA display with resistive touch screen Kentec 3.5" screen[6][7] working through the SPI bus.

Software

The LaunchPad comes preloaded with a RGB quickstart application

Supported by TivaWare for C Series software including the USB library and the peripheral driver library

Tiva C Series TM4C123G LaunchPad BoosterPack XL Interface, which features stackable headers to expand the capabilities of the Tiva C Series LaunchPad development platform

Support for the ARM Cortex-M4 DSP instructions is provided via ARM's CMSIS-DSP software package

TivaWare for C Series includes support for FreeRTOS and TI-RTOS

The LaunchPad LM4F120 and TM3C123G can also be programmed using Energia,[8] an Arduino-like IDE based on the Wiring framework. Energia includes the libraries for the SimpleLink Wi-Fi CC3100 BoosterPack.

Reprogramming

Software may be written for the LaunchPad using the assembly language or GCC (GNU Cprogramming language) with Energia, a free variant of the Arduino integrated development environment (IDE). A pre-installed bootloader program allows the board to be re-programmed with a standard USB 2.0 port (requiring no special hardware). The board also has ISP and JTAG ports for in-circuit programming and debugging.

Popularity

The LaunchPad is becoming popular among hobbyists for its low price of about $13 USD, its flexibility, the availability of free development software, and the ability to reprogram it without using special hardware.

LaunchPad projects

Many fully usable projects have been built using the LaunchPad as a base platform, often with few or no additional parts. There are free plans to convert the LaunchPad into a portable ARM-ISP device for programming a whole family of ARM devices. Several plans available on the web to convert a LaunchPad into an MP3 player. There are also available lessons and popular books[9] for learning how to program ARMs using C language, after which the LaunchPad was designed.

There are as well, related YouTube videos and a wiki about Tiva-C LaunchPad.

See also

References

Further reading

External links