Forum Discussion
Altera_Forum
Honored Contributor
9 years agoFranco,
The cyclone HPS SPI won't allow you to properly access the AD9266. It implements the SPI standard with two uni-directional bus "wire": MOSI and MISO and neitehr of them can be set bi-directional. If you are ready to go through a lot of pain, may be the QSPI could be used. In a single lane configuration, the QSPI the same SPI 2 uni-directional bus "wire". But in dual or quad lane, the bus becomes 2 ror 4 bi-directional "wire" for the data transfers and only for the data. You'll need go through a lot of hoop and loops trying to spoof the QSPi protocol to FPGA is one safe way to go... BUT!!! Yes there is a but! :-) Using the SPI, you can put an open collector or open drain chip + a pull-up resistor between the SPI MOSI line and the ADC data line. The you connect the ADC data line directly to the SPI MISO. I think that should do the job if you properly program the SPI controller & send all 1's when reading. Regards