AM243x MCU+ SDK  08.01.00
UART Echo

Introduction

This example demonstrates the UART RX and TX operation by echoing char that it recieves, configured in blocking, interrupt mode of operation. When user types 'quit', the application ends.

This example shows the usage of UART Api's which receives one character at a time and echos back the same to the console using UART_write.

Supported Combinations

Parameter Value
CPU + OS r5fss0-0 freertos
r5fss0-0 nortos
m4fss0-0 nortos(As am243x-lp has no MCU UART used for console application, M4 core support excluded for am243x-lp)
Toolchain ti-arm-clang
Boards am243x-evm, am243x-lp
Example folder examples/drivers/uart/uart_echo

Steps to Run the Example

See Also

UART

Sample Output

Shown below is a sample output when the application is run, Please note that application prints in both CCS and UART console. In UART console you need to type characters and then enter and type 'quit' to exit from the application.

CCS Console:

[MAIN_Cortex_R5_0_0] [UART] Echo example started ...
All tests have passed!!

UART Console:

Input any string and press `enter`, keep local echo off, type `quit` to exit ...
This is UART Echo Test
quit
All tests have passed!!