Introduction
This example performs EDMA transfer test using link mode.
- The link mode allows the entire PaRAM set to be reloaded from a location within the PaRAM memory map.
- The PaRAM set is initialized with two channels and sets the Link field of the PaRAM set associated with first channel to point to the PaRAM set associated with second channel. The transfer is AB Synchronized, which requires CCNT triggers to complete the transfer.
- The source memory is initialized with sample data and destination memory is initialized with zeroes for validation.
- Upon completion of a transfer, the current transfer parameters are reloaded with the parameter set pointed to by the 16-bit link address field of the current parameter set.
- 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_link_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] Link Transfer Test Started...
[EDMA] Link Transfer Test Completed!!
All tests have passed!!