Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 in Vitis

Path in Github

spi

<Vitis Install Directory>/data/embedded/XilinxProcessorIPLib/drivers/spi

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

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/spi

The driver source code is organized into different folders.  The table below shows the nandpsu driver source organization.

Directory

Description

doc

Provides the API and data structure details

data

Driver .tcl and .mdd file

examples

Example applications that show how to use the driver features

src

Driver source files

Driver Implementation

For a full list of features supported by this IP, please refer to Axi Quad Spi.

...

https://github.com/Xilinx/embeddedsw/tree/xilinx-v2020.1/XilinxProcessorIPLib/drivers/spi/examples

Test Name

Example Source

Description

Axi Quad Spi STM Flash Example

xspi_stm_flash_example.c

This examples does basic read and write test from the Stm flash device

Axi Quad Spi Numonyx Flash Example

xspi_numonyx_flash_quad_example.c

This examples does basic read and write test from the Numonyx flash device

Axi Quad Spi Winbond Flash Example

xspi_winbond_flash_quad_example.c

This examples does basic read and write test from the Winbind flash device

Axi Quad Spi Atmel Flash Example

xspi_atmel_flash_example.c

This examples does basic read and write test from the Atmel flash device

Example Application Usage

...

This examples does basic read and write test from the Stm flash device.

XSPI Stm Flash Example Test
Successfully ran XSPI Stm Flash Example Test

Axi Quad Spi Numonyx FlashExample

This examples does basic read and write test from the Numonyx flash device.

XSPI Numonyx Flash Quad Example Test

Successfully ran XSPI Numonyx Flash Quad Example Test

Axi Quad Spi Winbond FlashExample

This examples does basic read and write test from the Winbond flash device.

XSPI Windbond Flash Quad Example Test

Successfully ran XSPI Flash Quad Example Test

Axi Quad Spi Atmel FlashExample

This examples does basic read and write test from the Atmel flash device.

XSPI Atmel Flash Example Test
Successfully ran XSPI Atmel Flash Example Test

Example Design Architecture

NA

Performance

Change Log

2021.2

None

2021.1

https://github.com/Xilinx/embeddedsw/blob/xilinx_v2021.1/doc/ChangeLog#L391

...