SPRADG5 January   2024 DRA821U , DRA821U-Q1 , TDA4AL-Q1 , TDA4VH-Q1 , TDA4VL-Q1 , TDA4VM , TDA4VM-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1UART Introduction
    1. 1.1 Jacinto 7 UART Overview
    2. 1.2 Jacinto 7 UART Features
    3. 1.3 Jacinto 7 UART Functional Introduction
  5. 2UART Usage Overview
    1. 2.1 WKUP_UART0 Usage
    2. 2.2 MCU_UART0 Usage
    3. 2.3 MAIN_UARTx Usage
  6. 3Log Level Design on Software Module
  7. 4Change UART Instance
    1. 4.1 Change MAIN_UARTx for MAIN Domain
    2. 4.2 Set Standalone UART Port for DSP/MCU
  8. 5Summary
  9. 6References

UART Introduction

UART is a common peripheral in processors and is usually used for system log information output, low-cost human-computer interaction, communication between devices, and so forth. Particularly common in vehicle communications, the Lin bus often uses UART as a low-cost serial communication protocol. UART does not need both clock synchronization and master-slave settings, only the configuration of the start bit and stop bit is required, since it is an asynchronous communication, and it can send and receive data at any time. TX and RX are sufficient for the external hardware connections when flow control and level conversion are not required. However, in common debugging processes, log information often needs to be output to the computer. Therefore, in hardware design, a USB serial port chip is required to convert the TTL level into a USB serial port protocol and output it to the computer port. Software tools on PC need properly set the serial port parameters applied in the processor driver, including baud rate, start bit, data bit, parity bit, stop bit, and so on, then the log information can be received for debugging.