Hi,
I cannot locate any QPI sample code in the example. Was it possible for anyone to share me the sample code?
Thanks a bunch.
Hi,
I cannot locate any QPI sample code in the example. Was it possible for anyone to share me the sample code?
Thanks a bunch.
Do you mean QSPI? If so: QSPI Example.
Hi haakonsh
Thanks for the quick feedback. But when I checked the solutions, I think QPI and Quad SPI is different solutions.
Quad SPI
While dual SPI re-uses the existing serial I/O lines, quad SPI adds two more I/O lines (SIO2 and SIO3) and sends 4 data bits per clock cycle. Again, it is requested by special commands, which enable quad mode after the command itself is sent in single mode.
SQI Type 1: Commands sent on single line but addresses and data sent on four lines
SQI Type 2: Commands and addresses sent on a single line but data sent/received on four lines
QPI/SQI
Further extending quad SPI, some devices support a "quad everything" mode where all communication takes place over 4 data lines, including commands.[19] This is variously called "QPI"[18] (not to be confused with Intel QuickPath Interconnect) or "serial quad I/O" (SQI)[20]
This requires programming a configuration bit in the device and requires care after reset to establish communication.
https://en.wikipedia.org/wiki/Serial_Peripheral_Interface#QPI/SQI
Hi,
I'm sorry for the delayed response. Haakon is currently out of office on business travel. Have you been able to solve this, or do you still need help?
Yes. I need help. The question will be as per the last question I asked, which is how to customize the QSPI sample code to enable QSPI in cypress Model:S25FL064LABNFI010
Hi, I have ordered the IC (S25FL064LABNFI010) so I can test it on my side. Should have it by Wednesday/Thursday this week. I'm going to study the datasheet in the meantime.
I just wanted to let you know that I have received the part (was a slight delay) and soldered the wires to a 52840 DK. However, I have not figured out how to properly configure the reference example for this chip yet.
Apologies for not responding sooner. I did struggle to get it working because of wrong pin-out or bad connections. But it seems to be partially working now at least. Sometimes I get consistent data, but other times it's inconsistent (just a few byte errors though). Maybe it's due to bad jumper wires.
I didn't make any major changes to the reference sample except for configuring the IOs with high drive. The example is attached below. Please try it on your side to see if it works. If you don't get "Data consistent", try to read out the m_buffer_rx to see if it contains any valid data.
Picture of Setup:
Cut/shorted solder bridges
Log output:
Modified project from SDK 15.3.0
Apologies for not responding sooner. I did struggle to get it working because of wrong pin-out or bad connections. But it seems to be partially working now at least. Sometimes I get consistent data, but other times it's inconsistent (just a few byte errors though). Maybe it's due to bad jumper wires.
I didn't make any major changes to the reference sample except for configuring the IOs with high drive. The example is attached below. Please try it on your side to see if it works. If you don't get "Data consistent", try to read out the m_buffer_rx to see if it contains any valid data.
Picture of Setup:
Cut/shorted solder bridges
Log output:
Modified project from SDK 15.3.0