64.1. Use DMA to receive and send UART data
64.1.1. Overview
In this example project, UART receives/sends data via DMA.
64.1.2. Port Settings
Serial port baud rate is set to
115200bps, withone stop bitandno parity bit
64.1.3. Note
The input string length should not exceed TEST_BUFF_SIZE defined in the program every time
64.1.4. Running the example
When the project runs correctly, manually input the char through the serial port, such as ‘1234567887654321’, and the serial port terminal will receive the following information:
UART DMA example
UART will send back received characters, echo every 16 bytes
1234567887654321