Introduction
This example demonstrates the data transfer using EDMA in polled mode.
- The source memory is initialized with sample data, and the destination memory is initialized with zeroes for validation.
- Configure EDMA channel to transfer sample data from source memory to destination memory and trigger an interrupt on transfer completion.
- The transfer done is A Synchronized, and so BCNT(No of Arrays)*CCNT(No of Frames) manual triggers are needed for a complete transfer.
- The transfer completion interrupt status is polled by the CPU to be set before giving the 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_polled_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] Polled Transfer Test Started...
[EDMA] Polled Transfer Test Completed!!
All tests have passed!!