This page gives an overview of the bare-metal driver support for the Xilinx® LogiCORE™ IP Arasan SD 3.0 host controller.
The source code for the driver is included with the Vitis Unified Software Platform installation, as well as being available in the Xilinx Github repository.
|Driver Name||Path to Vitis||Path in Github|
|sdps||<Vitis Install Directory>/data/embedded/XilinxProcessorIPLib/drivers/sdps||https://github.com/Xilinx/embeddedsw/tree/master/XilinxProcessorIPLib/drivers/sdps/|
Note: To view the sources for a particular release, use the rel-version tag in github. For example, for the 2020.1 release, the proper version of the code is: https://github.com/Xilinx/embeddedsw/tree/xilinx-v2020.1/XilinxProcessorIPLib/drivers/sdps
The driver source code is organized into different folders. The table below shows the sdps driver source organization.
Provides the API and data structure details
Driver .tcl and .mdd file
Example applications that show how to use the driver features
Driver source files
Refer to the driver examples directory for various example applications that exercise the different features of the driver. Each application is linked in the table below. The following sections describe the usage and expected output of the various applications. These example applications can be imported into the Vitis IDE from the Board Support Package settings tab.
|Read and Write example without file system||This examples does basic raw read and write test from SD/eMMC device in Polled mode.|
|Read and Write example with file system (using XILFFS library)||This examples does basic file system read and write test from SD/eMMC device in Polled mode.|
This examples does basic raw read and write test from SD/eMMC device in Polled mode.
SD Raw Read/ Write Test Successfully ran SD Raw Read/ Write Test
This examples does basic file system read and write test from SD/eMMC device in Polled mode.
SD Polled File System Example Test Successfully ran SD Polled File System Example Test
|High speed||20.54 MB/sec|
|High Speed||19.4 MB/Sec|