Introduction

This page gives an overview of CSUDMA driver which is available as part of the Xilinx Vivado and SDK distribution.
CSUDMA Provides efficient transfer of Data between the PSS's Memory and the CSU Stream Peripherals.

The CSU_DMA is present inside CSU (Configuration Security Unit) module which is located within the Low-Power Subsystem (LPS) internal to the PS.
CSU_DMA allows the CSU to move data efficiently between the memory (32 bit AXI interface) and the CSU stream peripherals (SHA, AES and PCAP) via Secure
Stream Switch (SSS). The CSU_DMA is a 2 channel simple DMA, allowing separate control of the SRC (read) channel and DST (write) channel. The DMA is effectively able to transfer data:
- From PS-side to the SSS-side (SRC DMA only)
- From SSS-side to the PS-side (DST DMA only)
- Simultaneous PS-side to SSS_side and SSS-side to the PS-side

How to enable

Source path for the driver:
https://github.com/Xilinx/embeddedsw/tree/master/XilinxProcessorIPLib/drivers/csudma

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

CSUDMA
|
-- 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


Standalone Driver Supported Features

The CSUDMA Standalone driver support the below things.

Test cases

https://github.com/Xilinx/embeddedsw/tree/master/XilinxProcessorIPLib/drivers/csudma/examples

xcsudma_selftest_example.c – It includes few basic core API testing for self-test.
xcsudma_polled_example.c – This is a polled mode example in which a CSUDMA busy state is polled.
xcsudma_intr_example.c – This is an interrupt mode example in which process done interrupt has to be generated to come out of loop.

Known issues and Limitations


Change Log

2020.2

Summary:

Commits:

https://github.com/Xilinx/embeddedsw/commits/xilinx-v2020.2/XilinxProcessorIPLib/drivers/csudma

2020.1

Summary:

Coverity warning fixes and PMC support

Commits:

https://github.com/Xilinx/embeddedsw/commits/xilinx-v2020.1/XilinxProcessorIPLib/drivers/csudma

2019.2

Summary:

Minor warning fixes

Commits:

https://github.com/Xilinx/embeddedsw/commits/xilinx-v2019.2/XilinxProcessorIPLib/drivers/csudma

e744693 Csudma: Shifting value too far.
cd642dc Csudma: Value is not of appropriate type.
db78d82 Csudma: Use of mixed mode arithmetic.
8c7905e Csudma: No cast for widening complex int expression (MR).
504492a Csudma: Literal value requires a U suffix.
224dbe2 csudma: Change DstDone variable to use volatile keyword
36819a5 csudma: Fixes coverity warning.

2019.1

Summary:

Minor enhancements and warning fixes

Commits:

https://github.com/Xilinx/embeddedsw/commits/xilinx-v2019.1/XilinxProcessorIPLib/drivers/csudma

ac01a5a csudma: Adds psu_pmu processor check
a0cb3a8 csudma: Fix driver version number
6d9a22d csudma: Add support for psv_pmcdma IP name
383a650 Csudma: Adds IAR compiler support
352843b csudma: examples: Fix IAR compiler warning for xcsudma_intr_example.


2018.3

Summary:

Commits:

https://github.com/Xilinx/embeddedsw/commits/xilinx-v2018.3/XilinxProcessorIPLib/drivers/csudma

a4764fc csudma: Update driver version
a12b448 csudma: Fix doxygen warnings
ed216da csudma: Add timedout API for DMA done
ed216da csudma: Fix misra-c required standard violations


2018.2
2018.1
Summary
for 64-bit dma address transfers through pmu processor.
Commit Id's:
7a29060: Add Support for peripheral test app support
3f65d71: Add New API XCsuDma_64BitTransfer() in the driver which is useful for 64-bit dma address transfers through pmu processor.
2017.4
2017.3
2017.2
2017.1
2016.4
2016.3

Related Links