SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
FILE: uart_ex1_echoback.c
This test receives and echo-backs data through the UART0 port.
A terminal such as 'putty' can be used to view the data from the CM-UART and to send information to the CM-UART. Characters received by the CM-UART port are sent back to the host.
Running the Application Open a COM port with the following settings using a terminal:
The program will print out a greeting and then ask you to enter a character which it will echo back to the terminal.
Watch Variables
External Connections
Connect the UART0 port to a PC via a transceiver and cable.
The pin muxing for the UART0 port needs to be done by the master CPU1. The common configuration example provided in the C28x folder can be used for making GPIO85 as the UART Rx pin and GPIO84 as the UART Tx pin.