Elie Assaf

  • Content count

  • Joined

  • Last visited

  • Days Won


Elie Assaf last won the day on June 24 2016

Elie Assaf had the most liked content!


About Elie Assaf

  • Rank

Recent Profile Visitors

532 profile views
  1. Use of two Pmod on ZedBoard

    Ciprian, In fact I figured out a solution yesterday and it worked (can be used for two and only two PMods): -Hardware (VIVADO): Use Zynq7 Processing system + AXI QSPI on JA + SPI1 (of the Processing system) on JE (MIO 10:15). -Software (SDK): Initialisation and configuration of an XSpi (for the AXI QSPI), and a XSpiPs (for the PS SPI1), and enabling the SPI instance, transfer with it and then disabling it each time we want to use it. Note that the transfer is for sure done based on the reference manual of each PMod. That was a solution of this problem. But I'm still interested in knowing what was I misunderstanding? I may had think quite wrong in solving this problem. If I had to use multiple PMods, what would be the best solution? I know that an SPI controller can have many slaves. So how to implement and use an SPI interface where the master is the Zynq, and slaves are PMods, where all transfer with Pmods is software-based. When using 2 QSPIs, nothing worked and as D@N said that Vivado is confused. I don't really know how to use a QSPI with multiple slaves since only select slave is being extended to a vector, how can I connect MISO, MOSI and SCK to several Pmod connectors. The same was for PS SPIs with multiple slaves. When using PS SPI controllers with PL PMods, problems in transfer occurred (I guess because of the frequency difference between master and slave, so how to use PS SPI controllers with PL PMods). I think that I am missing something. It would be great to have clear answers of above questions. Thank you for being interested.
  2. Use of two Pmod on ZedBoard

    Does anyone know how to make double connections of MISO, MOSI and SCK to the Pmod connectors (the slaves)?
  3. Use of two Pmod on ZedBoard

    No it didn't, I thought and tried to use SP0 of the PS with 2 SS: SS are working properly when setting slaves.But MISO and MOSI are the same for all slaves. Fortunately, I'm using Pmods that can either write or read, so I pin assigned MISO and MOSI properly (each on a pin of one of the two Pmod connectors of the board). So SS are working properly, and sure GND and VCC are also well set. But still, transfer is not proper. So I have 2 possibilities: either transfer is not done on proper pins (MISO and MOSI), or the CLK is not provided to Pmods (knowing that I assigned it to corresponding CLK pins at each connector). Any clues for this situation? Thank you.
  4. Use of two Pmod on ZedBoard

    Is there a clear example of how to configure and use SPI PS in this final case? I think it's a bit different than controlling other SPI. The ss bits on the connectors have a 0 voltage.
  5. Use of two Pmod on ZedBoard

    Thank you Dan!
  6. Use of two Pmod on ZedBoard

    Should I do anything else than setting number of slaves of the SPI to 2, and assigning pin ss[1] to the ss pin of the second connector?
  7. Use of two Pmod on ZedBoard

    No I'm not using this primitive of SPIs.
  8. Use of two Pmod on ZedBoard

    Aha so you think I must use one SPI but with a number of slaves equal to 2?
  9. Use of two Pmod on ZedBoard

    ""In fact the problem is that if I use one SPI, any Pmod works": I mean that if I use on SPI and pin assign it to a Pmod connector of the ZedBoard, any Pmod works on the connector.
  10. Use of two Pmod on ZedBoard

    In fact the problem is that if I use one SPI, any Pmod works. When I wanted to use two Pmods simultaneously, I thought that I have to use two SPIs in Vivado (I doubt that this would be the solution), so I did use two SPIs, added a constraints file to pin assign both SPIs to two Pmod connectors of the ZedBoard, but I noticed that no connector works (any Pmod does not work on any of the two Pmod connectors of the ZedBoard (even pin Vcc is at 0V for both connectors).
  11. Use of two Pmod on ZedBoard

    Hello. I need to use two Pmod on ZedBoard. I already know how to communicate with one Pmod, by building a Vivado project with a Quad SPI IP in the block design, and than pin assigning it to a Pmod connector on the board. Should I use two of such IPs? I tried but I think what I did is wrong, since no connector is "active". Thank you.
  12. Pmods AD1 and DA2 use with ZEDBOARD

    Hello I am new to FPGAs, and I'm using Pmods AD1 and DA2 in a control application on ZedBoard, using VIVADO and SDK. Is there any tutorial or hint to know how to start the design and interfacing between ZedBoard and these pmods. Thanks. Elie.