Please note as of Wednesday, August 15th, 2018 this wiki has been set to read only. If you are a TI Employee and require Edit ability please contact x0211426 from the company directory.

CC3200 Blinky Application

From Texas Instruments Wiki
Jump to: navigation, search

Overview

All digital pins of the device can be used as a general-purpose input/output (GPIO). GPIOs can be used for various purposes. The GPIO module consists of four GPIO blocks:

  • GPIO A0
  • GPIO A1
  • GPIO A2
  • GPIO A3

Each GPIO block provides eight GPIOs. The GPIO module supports 30 programmable GPIO pins, depending on the peripheral used.

Application details

The objective of this application is to showcase the GPIO control using Driverlib api calls. The LEDs connected to the GPIOs on the LP are used to indicate the GPIO output. The GPIOs are driven high-low periodically in order to turn on-off the LEDs.


Source Files briefly explained

  • main- Contains the core logic to drive GPIOs and inturn blink the LEDs.
  • gpio_if - Contains the Driverlib API calls to drive the GPIOs

Supporting files

  • pinmux- Generated by the PinMUX utility. GPIO pins are brought out on the device boundry using the Driverlib Pinmux API calls.
  • startup_ccs - CCS related functions
  • startup_ewarm - IAR related functions

Usage

  1. Run the reference application (Flashing the bin/IAR/CCS).
    • Open the Project as mentioned in the 'docs\CC3200-Getting Started Guide.pdf'
    • Build and download the application to the board
  2. The LEDs(D5, D6 and D7) continuously turn on-off on the LaunchPad. (Figure 0.1)
CC3200 LP 3p2.png

Figure 0.1

Limitations/Known Issues

None.