cancel
Showing results for 
Search instead for 
Did you mean: 

Communicate between MCUs with quad-spi

Sleep
Associate II

Is it possible to communicate between MCUs with quad-spi? Has anyone succeeded? 

Or could you tell me about high-speed communication?

8 REPLIES 8

Not really designed for inbound, might be able to fab something with FPGA/CPLD

Could use external FIFO or Dual Ported RAM.

Both could share the same measurements and work them independently.

How much data really needs to move? High speed serial works for command/control.

Consider refactoring on dual or quad core with common memories.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Thank you for your prompt response.

 I want to send 6 bytes (3 sets of 2 bytes) of data every 2 seconds.

 And I want to output from 3ch of the 12-bit DAC of the received MCU.

jiangfan
ST Employee

the data rate is really low  to send 6 bytes (3 sets of 2 bytes) of data every 2 seconds.

QSPI (quad-spi) can work in 1-bit mode too, which is similar to SPI, and 1-bit mode should be easier to use.

Thank you for your advice. I proceed with standard SPI. Is the maximum frequency of SCK possible up to 75MHz of Datasheet(STM32G473CB) when the wiring length is the shortest?

standard SPI in Master mode can work up to 75MHz CLK, but standard SPI in Slave mode is 50MHz MAX. As data rate is really low for your application, 10~20MHz CLK seems fast enough.

I was disappointed. Isn't there the fastest communication method?

In reality, I suppose you can make standard SPI work at 50MHz on both sides of MCUs.

Thank you.