UART Echo DMA Multi-Instance

Introduction

This example demonstrates the UART RX and TX operation in blocking, DMA-PKTDMA mode of operation for two UART instances. Two uart instances runs parallely asking the user to input 8 characters and once both the transfer is completed successfully, the application ends.

The user should input 8 characters in UART0 and UART1.

Supported Combinations

Parameter

Value

CPU + OS

wkup-r5fss0-0 freertos

Toolchain

ti-arm-clang

Board

am62px-sk

Example folder

examples/drivers/uart/uart_echo_dma_multi_instance

Steps to Run the Example

  • When using CCS projects to build, import the CCS project for the required combination and build it using the CCS project menu (see Using SDK with CCS Projects).

  • When using makefiles to build, note the required combination and build using make command (see Using SDK with Makefiles)

See Also

UART

Sample Output

Shown below is a sample output when the application is run, Please note that application prints in two UART consoles one after the other as two UART instances are configured. In UART console you need to enter 8 characters.

UART Console:

This is uart echo test DMA blocking mode
Receives 8 characters then echo's back. Please input..
12345678
All tests have passed!!