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.

edma_ping_pong_transfer

Overview

The EDMA ping pong transfer example is a simple demonstration program that uses the SDK software. It excuates ping pong transfer from source buffer to destination buffer using the SDK EDMA drivers. The purpose of this example is to show how to use ping pong buffer by the EDMA and to provide a simple example for debugging and further development. The example demostrate the ping pong transfer by the EDMA scatter gather feature. Please reference user manual for the detail of the feature. minor loop finished +————————————————————–+ v | +——-+ +—————————————————————+ +—————————+ load tcd1 +———————————–+ major loop not finish +——————+ | start | –> | tcd 0 major loop | –> | tcd 0 major loop finished | ———–> | tcd 1 major loop | ———————–> | tcd 1 minor loop | +——-+ +—————————————————————+ +—————————+ +———————————–+ +——————+ | ^ ^ | | major loop not finish | minor loop finished | load tcd 0 | v | | v +————————+ | | +———————————–+ | tcd 0 minor loop | -+ +———————————————————– | tcd 1 major loop finished | +————————+ +———————————–+ | | v +———————————–+ | transfer counter ++ | +———————————–+ | | transfer counter not less than 5 v +———————————–+ | example complete | +———————————–+

Supported Boards