02-13-2018 07:44 AM
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
02-15-2018 01:02 AM
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.