UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor
Contributor
747 Views
Registered: ‎03-13-2017

SPI_1 PS doesn't work

Jump to solution

Hello,

 

I want to enable a SPI master comunication betwen PS Zynq 7000 and a motor driver 

 

I have enabled SPI1 of Processing System and I have connected MOSI_O to SIN signal, MISO_I to SOUT, SCLK_O to SCLK and SS_O to CS. The time specification is attached (time.png).

 

APN.c is my SDK code (attached). However, when I run my program, I get the ila.png result (attached). 

 

Does anyone know why SCLK is always "0"?

 

Thanks in advance

time.png
ila.png
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Contributor
Contributor
957 Views
Registered: ‎03-13-2017

Re: SPI_1 PS doesn't work

Jump to solution
Hi

I already solved my problem. The problem was that I was not commuting the cs signal.

Thanks

View solution in original post

0 Kudos
2 Replies
Xilinx Employee
Xilinx Employee
707 Views
Registered: ‎02-26-2014

Re: SPI_1 PS doesn't work

Jump to solution

Hi,

 

make sure that you are initializing the SPI controller If not try it, which gives you way to configure the controller and initiate the transfers.

 

 

Regards,

Ravi

0 Kudos
Highlighted
Contributor
Contributor
958 Views
Registered: ‎03-13-2017

Re: SPI_1 PS doesn't work

Jump to solution
Hi

I already solved my problem. The problem was that I was not commuting the cs signal.

Thanks

View solution in original post

0 Kudos