![]() |
xilsfl
Vitis Drivers API Documentation
|
This file contains a design example using the SFL library The hardware which this example runs on, must have an octal serial nor flash for it to run.
This example has been tested with the Micron Octal Serial Flash(MT35XU02GCBA).
None.
MODIFICATION HISTORY:
Ver Who Date Changes
1.0 sb 8/20/24 Initial release 1.0 sb 9/25/24 Use XSfl_FlashRead to read unaligned bytes. 1.1 sb 01/28/25 Add support for Lassen platform. 1.1 sb 02/11/25 Add condition to avoid dma read on Spartanup.
Functions | |
| int | SflReadWriteExample (void) |
| The purpose of this function is to illustrate how to use the SFL Library with SPI/QSPI/OSPI interfaced with flash devices. More... | |
| int | main (void) |
| Main function to call the SflReadWriteExample. More... | |
| int main | ( | void | ) |
Main function to call the SflReadWriteExample.
References SflReadWriteExample().
| int SflReadWriteExample | ( | void | ) |
The purpose of this function is to illustrate how to use the SFL Library with SPI/QSPI/OSPI interfaced with flash devices.
References XSFL_BROKEN_DMA, XSfl_FlashErase(), XSfl_FlashGetInfo(), XSfl_FlashInit(), XSfl_FlashRead(), XSfl_FlashReadDone(), XSfl_FlashReadStart(), XSfl_FlashWrite(), XSFL_OSPI_CNTRL, and XSFL_SELECT_FLASH_CS0.
Referenced by main().