Hello
I am using vivado 2015.4 and Zynq 7z020 zedboard.
I made design, which contain only zynq ps7 and Spi_0 is in the EMIO configuration
My constraint file is
set_property PACKAGE_PIN D18 [get_ports SPI0_SCLK_O]
set_property PACKAGE_PIN L21 [get_ports SPI0_SS_O]
set_property PACKAGE_PIN R19 [get_ports SPI0_MOSI_O]
set_property PACKAGE_PIN f22 [get_ports SPI0_MISO_I]
In system.hdf and in system.mss ps7_spi_0 is present . Address map for ps7_spi_0 is same as xparamete.h which is 0xe0006000
when I am runing the peripheral test It run and all the test are passed but why it is not checking the spi?
then I tried to run the xspips_selftest_example.c ,it always failed,
In my understanding it always failed between the routine of self-test to check hardware build.
/*
t * Perform a self-test to check hardware build.
t */
tStatus = XSpiPs_SelfTest(&Spi);
ttif (Status != XST_SUCCESS) {
tttreturn XST_FAILURE;
t}
treturn XST_SUCCESS;
}
here Status is not equal to XST_SUCCESS
How can I solve this problem
Does it means Spi is not working in my board?
Any idea?
thanks in Advance