This page gives an overview of pl330/dmaps DMA driver which is available as part of the Xilinx Vivado and SDK distribution.

How to enable

Source path for the driver:

Driver source code is organized into different folders. Below diagram shows the dmaps driver source organization

-- Doc - Provides the API and data structure details
- Examples - Reference application to show how to use the driver APIs and calling sequence
- Source - Driver source files

Features Supported

Controller Features

  • Controller supports only Memory to Memory Transfers
  • Flexible scatter-gather memory transfers
    • Full control over addressing for source and destination
    • Define AXI transaction attributes
    • Manage byte streams
  • Eight cache lines and each cache line is four words wide
  • Eight concurrent DMA channels threads
    • Allows multiple threads to execute in parallel
    • Issue commands for up to eight read and up to eight write AXI transactions
  • Eight interrupts to the PS interrupt controller and the PL
  • Eight events within DMA Engine program code
  • 128 (64-bit) word MFIFO to buffer the data that the controller writes or reads during a transfer
  • Security
    • Dedicated APB slave interface for secure register accessing
    • Entire controller is configured as either secure or non-secure
  • Memory-to-memory DMA transfers
  • Four PL peripheral request interfaces to manage flow control to and from the PL logic
    • Each interface accepts up to four active requests

Standalone Driver Supported Features

All Controller Features Supported.

Test cases

---> Refer below pah for testing differnet examples for each feature of the IP.
xdmaps_example_w_intr.c : This is an example which explains how to configure controller feature and how to do
a memory to memory transfer between the Eight concurrent DMA channels.

Known issues and Limitations

  • Peripheral interface is not tested/supported
  • Unaligned transfers are not supported

Change Log

  • None
  • None
  • None
  • None
  • None
  • None

Related Links