Introduction

This page gives an overview of ospipsv driver which is available as part of the Xilinx Vivado and SDK distribution.

Source path for the driver:
https://github.com/Xilinx/embeddedsw/tree/release-2019.1/XilinxProcessorIPLib/drivers/ospipsv

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

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

  1. Direct mode of memory mapped operation.
  2. Software triggered IO mode (STIG) up to 8-bytes of data transfers.
  3. Indirect DMA reads.
  4. Local SRAM to reduce AHB overhead.
  5. Supports SDR and DDR protocols.
  6. Programmable master mode clock frequencies.
  7. Serial clock with programmable polarity.
  8. Programmable peripheral selects (chip select).
  9. Support for Single and Octal instructions.
  10. Interrupts and polled based operations.

Features not supported

Supported Flash parts

Test cases

Output for the above two examples:

OSPIPSV Flash Polled Example Test
FlashID = 0x2C 0x5B 0x1A 0x10 0x41 0x0 0x96 0x78 0x0
EraseCmd 0xDC
WriteCmd: 0x12
ReadCmd 0xCC
Successfully ran OSPIPSV Flash Polled Ex
OSPIPSV Flash Interrupt Example Test
Execuing on the a72
FlashID = 0x2C 0x5B 0x1A 0x10 0x41 0x0 0x96 0x78 0x0
EraseCmd 0xDC
WriteCmd: 0x12
ReadCmd 0xCC
Successfully ran OSPIPSV Flash Interrupt Example
OSPIPSV Flash Polled non-blocking read Example Test
FlashID = 0x2C 0x5B 0x1A 0x10 0x41 0x0 0x96 0x78 0x0
EraseCmd 0xDC
WriteCmd: 0x12
ReadCmd 0xCC
Successfully ran OSPIPSV Flash non-blocking read Ex

Performance Details

At frequency 133.33 MHz

DDR mode:

Read Speed: 253371 KBPS

SDR-PHY mode: 

Read Speed: 128849 KBPS

At frequency 33.33 MHz

SDR NON-PHY mode:

Read Speed: 32625 KBPS

Change Log

2020.1

2019.2

2019.1

Related Links