README


uartecho


Example Summary

Example that uses the UART driver to echo back to the console.

Peripherals Exercised

Resources & Jumper Settings

If you’re using an IDE (such as CCS or IAR), please refer to Board.html in your project directory for resources used and board-specific jumper settings. Otherwise, you can find Board.html in the directory <SDK_INSTALL_DIR>/source/ti/boards/<BOARD>.

Example Usage

The connection should have the following settings

    Baud-rate:  115200
    Data bits:       8
    Stop bits:       1
    Parity:       None
    Flow Control: None

Application Design Details

The CC32XX platform has DMA support for the UART driver. The uartecho example can be built with either the UART driver with DMA support, or the non-DMA UART driver. The default configuration for this example is to use the non-DMA UART driver. Since only one character at a time is sent to the UART, this example is not an efficient use of the DMA, but it still serves to illustrate use of the UART DMA driver. To use the DMA version of the UART driver, build this example with the compile flag:

--define=TI_DRIVERS_UART_DMA=1

The .c file includes either the UART driver with DMA support or the non-DMA UART driver, based on this compile flag.

TI-RTOS:

FreeRTOS:

IAR: