Staging:CC3220 UART Demo Application

Overview
CC3220 device has 2 UART (Universal Asynchronous Receiver/Transmitter) modules with standard features including programmable baud rate, separate Transmit and Receive FIFO, fully programmable serial interface characteristics.

Application details
The objective of this application is to showcase the usage of one of the UART module. The use case includes getting input from the user and display information on the terminal. This example takes a string as an input and display the same when enter is received.

Source Files briefly explained

 * pinmux.c - Pinmux configurations as required by the application.
 * cc_launchpad.c - Contains mandatory board specific initialization. Also initializes the peripherals exercised.
 * main.c- display banner, receive input and echoes back the input.
 * startup_*.c - IDE specific startup functions (not required when working with TI-RTOS).

 Available Configuration 


 * Polling mode - Define UART_POLLING in project properties to enable UART in polling mode. By default it is enabled.
 * DMA mode with blocking call - Define UART_DMA in project properties to enable UART in DMA mode with blocking call.
 * DMA mode with non-blocking call - Define UART_DMA and UART_CALLBACK to enable UART in DMA mode with non-blocking call.
 * Interrupt mode with blocking call - Define UART_INTERRUPT in project properties to enable UART in Interrupt mode with blocking call.
 * Interrupt mode with non-blocking call - Define UART_INTERRUPT and UART_CALLBACK to enable UART in Interrupt mode with non-blocking call.

Usage

 * Setup a serial communication application (HyperTerminal/TeraTerm). For detail info visit Terminal setup

On the host PC. The settings are:   - Port: Enumerated COM port (XDS110 Class Application/User UART)    - Baud rate: 115200    - Data: 8 bit    - Parity: None    - Stop: 1 bit    - Flow control: None


 * Run the reference application (Flashing the bin/IAR/CCS).
 * Observe the status messages on the host over serial port to understand the sequence of operations performed by the application.
 * Terminal snapshot when application runs on device:



Limitations/Known Issues

 * None.