You should be able to connect SPI lines to different slaves with out any issue. In your case, they are FPGA and SPI flash.
CS or SS (Slave Select) decides the device that FX3 wants to communicate.
Are you seeing any issue regarding this use case.
Please let me know.
It's critical to the boot process that there not be a pull-up on MISO. Some FPGAs have internal pull-ups, so you may need to add a strong pull-down in order to boot properly.
Clarification: floating MISO is not good either, if your boot flash tri-states that signal.
Hi Sai Krishna and Steve,
thanks a lot for your suggestions we have destined the additional pull down at MISO line in our hardware design.
Hi, now I have new hardware and the SPI boot won't work. That is the case where the SPI MOSI and MISO lines are connected to SPI Flash (M25P32) and to FPGA (PULL UPS). First try was without a pull down at the MISO line. -> FX3 just read out 4 bytes after power up and then usb fallback comes up. Second try with a pull down resistor (1,5kOhm) at the MISO line. -> FX3 is reading out lots of bytes but it never stops to read out. It seems that FX3 can not find a firmware file with correct checksum. I already tried the firmware file on the DVK board that works. But the same firmware file on our own hardware won't work. The difference between our hardware and the FX3 dvk board is just that MISO and MOSI are connected to flash and to FPGA. regards, lumpi
You can enable the SPI block of FPGA once the firmware gets downloaded into FX3. You can use a GPIO as an interrupt to the FPGA to start the SPI module. In SPI disable mode, the lines should be kept floating,
Hi, you have not understood my question or I was not exactly enough. I like to use the BOOT MODE of FX3: SPI, and fallback is USB. So FX3 PMODE Pins are configured to that (SPI, if fails then USB). So I have no code running on FX3 when the issue happens which I described in my last post. regards, lumpi