Introduction
This page gives an overview of spips driver which is available as part of the Xilinx Vivado and Vitis distribution.
Source path for the driver:
https://gitenterprise.xilinx.com/embeddedsw/embeddedsw/tree/master/XilinxProcessorIPLib/drivers/spips
Driver source code is organized into different folders. Below diagram shows the spips driver source organization
spips
|
-- 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
Source path for the driver:
https://gitenterprise.xilinx.com/embeddedsw/embeddedsw/tree/master/XilinxProcessorIPLib/drivers/spips
Driver source code is organized into different folders. Below diagram shows the spips driver source organization
spips
|
-- 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
Commands Supported:
The SPIPS Standalone driver implements basic functionality like READ,PROGRAM and ERASE. These commands are required to read the data from SPI flash and write the data into the SPI flash.The following list of commands are supported by the Standalone driver:
- Read Status
- Read ID
- Read Page
- Program Page
- Erase (Bulk/Block/Chip)
Controller Features Supported:
The following features are supported in the SPIPSU Standalone driver.- Master mode
- Slave mode
- All SPI flash instructions
- Support for 3 slaves - can be extended using a 3 to 8 decoder
- Driver uses manual chip select and auto start options
- Programmable clock frequency, polarity and phase
- Interrupt support
Known issues and Limitations
Test cases
Sample output of test cases that are taken from examples folder specified above
SPI FLASH Polled Example Test Successfully ran SPI FLASH Polled Example Test |
SPI FLASH Interrupt Example Test Successfully ran SPI FLASH Interrupt Example Test |
Change Log
2016.3
- None
2016.4
- None
2017.1
- None
2017.2
- None
2017.3
- None
2017.4
- None
2018.1
- None
2018.2
- InputClockHz copied into instance pointer to use in application.
2018.3
- None
2019.1
- None
2019.2
- None
2020.1
- None
2020.2
- Summary
- Updated the Makefile to support parallel make execution
- Commits
- Summary
Related Links
- Title 1 & Link 1
- Title 1 & Link 1