67.6.3. UART hardware rx idle detection

67.6.3.1. Overview

In this example project, UART using hardware rx idle detection function to receive variable length data via DMA(data size less than defined BUFFER_SIZE in program).

67.6.3.2. Port Settings

  • Serial port baud rate is set to 115200bps , with one stop bit and no parity bit

67.6.3.3. Board Setting

  • No special settings are required

67.6.3.4. Running the example

When the project runs correctly, input some data by the serial port terminal, then the terminal will output the information like:

uart hardware rx idle detection.
uart receive 13 bytes, the received data are:
1 2 3 4 5 6 7 8 9 0
1 2 3