This is the documentation for the latest (main) development branch of mcuxpresso sdk. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

lpuart_dma_rb_transfer

Overview

The lpuart_dma Ring Buffer Example project is to demonstrate usage of the KSDK lpuart driver. In the example, a ring buffer will be used with DMA enabled, data received will be stored in ring buffer first, while IDLE line was detected, routine will read out the received characters, and echo back them to the terminal by using DMA mode. so, you can see the your pressed characters on the terminal.

And the ring buffer is achieved based on the DMA’s source address modulo feature, the base address should be aligned to a 0-modulo-boundary.

Supported Boards