Introduction
This example performs EDMA transfer test using chain mode.
- In chain transfer mode completion of one transfer automatically sets the event for another channel.
- The PaRAM set is initialized with two channels and provides a synchronization event (or trigger) to the chained DMA channel, as soon as the transfer (final or intermediate) completes on the main DMA/QDMA channel.This example uses AB Synchronized transfer mode.
- The source memory is initialized with sample data and destination memory is initialized with zeroes for validation.
- When a chained completion code is detected, the value of which is dictated by the transfer completion code of the PaRAM set associated with the channel, Intermediate and final transfer interrupts are enabled and the transfer completion interrupt status is polled to determine if the status is set before giving next trigger.
Supported Combinations
Parameter | Value |
CPU + OS | m4fss0-0 freertos |
m4fss0-0 nortos |
Toolchain | ti-arm-clang |
Boards | xWRL6432-evm |
Example folder | examples/drivers/edma/edma_chain_transfer/ |
Using SDK with SysConfig
A GUI tool SysConfig is used to configure different modules and peripherals of the example. Using this tool, users can select and customize different modules and peripherals. The SysConfig tool will generate the code for initializing and configuring these modules. This configuration is saved to a file called example.syscfg for every example. To know more about how to use SDK with SysConfig, Visit this page
Using SDK with SysConfig
Steps to Run the Example
Sample Output
Shown below is a sample output when the application is run,
[EDMA] Chain Transfer Test Started...
[EDMA] Chain Transfer Test Completed!!
All tests have passed!!