Communicate between MCUs with quad-spi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-21 11:56 PM
Is it possible to communicate between MCUs with quad-spi? Has anyone succeeded?
Or could you tell me about high-speed communication?
- Labels:
-
QSPI
-
STM32G4 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-22 6:38 AM
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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-22 4:02 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-23 11:00 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-26 2:39 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-26 7:12 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-28 12:11 AM
I was disappointed. Isn't there the fastest communication method?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-28 1:35 AM
In reality, I suppose you can make standard SPI work at 50MHz on both sides of MCUs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-28 9:43 PM
Thank you.
