10-11-2018 04:06 AM - edited 10-12-2018 05:01 AM
I have an axi_quad_spi core configured as a slave in design. The project is targeted for kintex 7 FPGA. and the configuration of the ip is as below.
I have same core configured as master in the testbench.
Through the AXI interface I have filled SPI DTR (Data transmit) FIFO and the data is read back from the master SPI DRR (data receive) FIFO.
It is observed that when DRR on master side is read, the first set of data that is written into DTR of SPI slave is read twice. Master has to generate extra clock cycles to read the last data.
This issue is seen only from slave DTR to master DRR (path highlighted in red). From master DTR to slave DRR the data is received accurately
I have set master in loopback mode and there is no repetition in the data received. Also the clock settings are same on both sides.
Can anyone help on this.
10-17-2018 04:16 AM
10-23-2018 05:16 AM
I would like to add one more thing here. This data repetition is observed only from the second transaction. For the first transaction, data is read accurately on both sides. We found this data repetition in example design as well
10-24-2018 04:15 AM
11-02-2018 12:32 AM
I have created example design for below configuration of axi_qspi ip in slave mode and updated coefficient files of the trafiic gen ip in example design to enable second transaction.
Data repetition is seen in the second transaction
.I have attached the updated coefficient files. May be you can use these files to run simulation of example design from your end.
Also I found this old forums post on similar issue https://forums.xilinx.com/t5/Welcome-Join/Axi-Quad-SPI-slave-8-bit-problem/td-p/760925 and the work around suggested there did work in simulation.
Can you please help on this and confirm if this is a bug or design issue and also suggest a work around.
11-07-2018 09:08 PM
11-11-2018 09:50 PM
I did receive the project archive link through EZmove but did not receive any notification regarding the login credentials. Xilinx userid doesn't seem to work here. Can you please check on this.
Mean while I did try the same project in vivado 18.2 and still see the same issue. Just to confirm, are you also monitoring the read data bus from master spi?
As mentioned earlier, master_write to slave_read is working properly. Slave_DTR to master_DRR has the data repetition issue.
11-13-2018 03:20 AM
Please use your current email and click on reset password. Then you can set your password and will be able to login to ezmove.
Yes I've tested the scenario that you mentioned and didn't see any issue.
11-14-2018 10:47 PM
I followed the link in the email to the sign in page of ezmove. I did try to reset the password, but I need to give user name to get email notification. I tried with Xilinx user name but I did not get any response at my registered email.
I have got another question, Why do I not get email notification when someone replies on this post. I am sure there must be some settings for this. I did try to find this but no luck. Can you help me with this. This will save my time and help to respond quickly as this is at critical stage of our project.
11-14-2018 10:50 PM
@ryogitha You should provide your registered email address in username. In the interest of time, I can schedule a WebEx session tomorrow to investigate this issue. Please suggest a convenient time for the same.
11-15-2018 08:38 PM
I was able to access the example design you shared. I ran simulation and found the same issue there. On master read channel I see data 00000008 repeated twice.
Below fig is spi slave s_axi4_wdata to fill DTR for second transaction
As you can see in below figure s_axi4_rdata of master spi reads first data 00000008 twice.
For webex any time after 3 pm IST is fine.