spips
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Groups Pages
xspips_selftest_example.c File Reference

Overview

Implements an example for using the SPI Hardware that does a simple hardware connection check.

MODIFICATION HISTORY:
Ver   Who    Date     Changes


1.00 drg/jz 01/25/10 First release. 3.7 asa 04/01/22 The selftest example uses the instance name as "Spi" in the instance definition. That causes issue when periphtest application is build for a design that has a soft spi IP along with the hard spips. This is fixed by renaming the instance name from "Spi" to "SpiPs" 3.9 sb 07/05/23 Added support for system device-tree flow. 3.14 vlt 12/18/25 Update Doxygen comments to include SDT flow details. 3.15 vn 08/26/26 Fix Doxygen warnings. 3.15 tb 09/30/26 Align Doxygen comments with AMD documentation standards

#include "xparameters.h"
#include "xspips.h"
#include "xil_printf.h"

Functions

int SpiPsSelfTestExample (UINTPTR BaseAddress)
 Runs a selftest on the SPIPS device and XSpiPs driver as an example. More...
 
int main (void)
 Calls the SPI SelfTest example. More...
 

Variables

XSpiPs SpiPs
 The instance of the SPI device. More...