Forum Discussion
Altera_Forum
Honored Contributor
9 years agoTypically such FIFOs as you mention on the Arm are used to allow efficient programming and increase the transfer rate on the SPI line.
So no primary influence for your implementation if it should "just work". It might get of interest when speed is topic. It depends a little on how you readout the data using the SPI bus. The question you have to ask is: When the FPGA gets the command to respond with SRAM data, how much time (clock cycles on FPGA, clock cycles on SPI bus) is needed until the bits are available in a register in the FPGA. If it is fast enough, it could be possible to respond in time. If not you could introduce a data delay of e.g. one SRAM value by setting the first response to e.g. always 0x0, and then the data. So to sum up: It depends on timing (clocks involved) and the protocol you use on the SPI bus.