09-26-2019 04:58 AM - edited 09-26-2019 04:58 AM
Due to have redundancy on the board I use 2 qspi memories multiplexing the chip select. The problem that I have is when you boot from one memory, only this memory is in QSPI mode and unlocked. So my question is, someone know if it is possible to write qspi commands from user space just to configure the secundary memory in this mode?.
I use QSPI in single mode. The memories are n25qu256.
Thank you in advance,
09-26-2019 05:07 AM
If I'm not wrong, QSPI chips start at a default 1x and there is a command to swap to 4x.
When you say:
"when you boot from one memory, only this memory is in QSPI mode and unlocked"
I think that's not right, it's the configuration engine what tells the memory to change to QSPI mode
09-26-2019 07:16 AM
I believe so, otherwise who does it?
I just had a look at micron's N25Q256 (should be compatible with other brands). There is a command list that shows:
And there are other read and write commands in dual and quad as well.
also, in the SDK libraries, I would expect such functions in the libraries provided for SPI
09-26-2019 09:33 AM
09-27-2019 12:38 AM
Strange... I have used PCAP to read/write the config SPI memory and I assume it uses quad SPI without any user intervention. I wonder if you could use that as well