SPRADG5 January   2024 AM67 , AM67A , AM68 , AM68A , AM69 , AM69A , DRA821U , DRA821U-Q1 , DRA829J , DRA829J-Q1 , DRA829V , DRA829V-Q1 , TDA4AEN-Q1 , TDA4AH-Q1 , TDA4AL-Q1 , TDA4AP-Q1 , TDA4VE-Q1 , TDA4VEN-Q1 , TDA4VH-Q1 , TDA4VL-Q1 , TDA4VM , TDA4VM-Q1 , TDA4VP-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 Usage Overview

The EVM boards of Jacinto 7 series processors all have multiple serial ports, which can be seen from Table 2-1. Normally, during hardware design, at least three serial ports are reserved for log information debugging, and the remaining serial ports can be used for communication with external devices. By default, the software parameters of all serial ports are the same, the baud rate is 115200 bit/s, the start bit is 0, there are 8 data bits, the parity bit is None, and the stop bit is 1.

WKUP_UART0 is reserved for DSMC debugging, which is common when the system accidentally triggers the firewall. For SBL boot, MCU_UART0 is used for the serial port output of MCU1_0. For UART boot, MCU_UART0 is used to print the "C" character to determine whether the processor is working normally and to debug whether the HS key burning is successful. The A72 cores log in DRA821 is printed to MAIN_UARTx. The log of all the cores in TDA4X is printed into MAIN_UARTx, except the MCU1_0 log is printed in to MCU_UART0 in the SBL boot.

Therefore, when designing the board, at least WKUP_UART0, MCU_UART0 and one MAIN_UARTx should be reserved. Moreover, they are suggested to have the same Pin configuration with TI reference design. Especially for MCU_UART0, if the Pin is changed then it cannot use “C” character printing to debug in the early stages of project development, because this feature is implemented in the ROM code with the default Pin setting.

When connecting to external devices, it is required to connect the flow control. It is always recommended to connect hardware flow control lines for UART communication. Also, software should enable hardware flow control explicitly. Otherwise, there will be data loss and data corruption.

CAUTION: The reference design provided by TI uses USB to UART for serial printing. When connecting on Windows, it is required to install an additional driver.
Table 2-1 UART Pinout on the Reference Design
Instance Device
DRA821 TDA4VM TDA4VL/Eco/AL TDA4VH
WKUP_UART0
MCU_UART0
UART0 - -
UART1 - -
UART2 -
UART3 - -
UART4 - - -
UART5 - -
UART6 - - - -
UART7 - - - -
UART8 - -
UART9 - - - -