Forum Discussion
Altera_Forum
Honored Contributor
11 years agoThank you for your answers!
WitFed, are these (http://www.altera.com/support/examples/soc/soc.html) the examples you are talking about? Because in the QSPI examples I cannot find anything regarding the management of more than one flash device... Are there any other examples? BadOmen, I don't know if I'm wrong but on the Cyclone V handbook I read that the QSPI controller supports up to four devices and in the pin list I can find QSPI_SS lines from 0 to 3... There are two things I'm not sure of: - the QSPI controller should be able to communicate with SPI flash memories using the SPI interface... But actually to connect the memories to the QSPI controller I should use the QSPI_IOx, QSPI_SSx and QSPI_CLK lines and not the SPI lines of the HPS... I have the schematic of another board where they use a memory with an interface QSPI so obviously they used all the QSPI_IOs lines to connect the memory. However, if I have a memory with an interface SPI, how shold I connect the slave input and output lines of the memory? I searched in the documentation but couldn' find anything... - If I have more than one memory and I can select each device with a slave select, how will I manage these memories? How can I read and write to one or the other device? Should I manage via software the slave select lines or is the QSPI controller in charge of this? And in this case I should at least tell it the size of the meory, right? But how?