2025-09-14 9:01 PM
Hello, I found in the documentation search for STM32U5G9 that some interfaces available for high-speed communication, such as OctoSPI and HexaSPI, do not seem to support slave mode.
The device we are making requires two STM32U5G9 chips, each connected to a display, and these displays need to show synchronized content. Additionally, one of the U5G9s will connect to a CYW55513IUBGT for network/Bluetooth communication, while the other needs to acquire data through high-speed communication between chips, so UART may not meet the requirements.
Therefore, I would like to understand how I can enable high-speed communication between the two STM32U5G9 chips. ...
2025-09-15 12:18 AM
Hi,
how big is distance between chips ? (because hi-speed and more than few centimeters...difficult)
Maybe SPI full duplex (up to 80 Mbit, afaik, see ds) might be the way .
2025-09-15 1:15 AM
Hi Agent Smith ... you omit info about how much data ? Try start reading Parallel synchronous transmission using GPIO and DMA or too USB HS is for U5.
2025-09-15 1:36 AM
So what, exactly, do you mean by "high-speed" communication?
Does it have to be an STM32U5G9 ?
2025-09-15 2:18 AM
Hello @Smith_023 ;
The OCTOSPI and HSPI interfaces are designed to operate in master mode only and do not support a master-slave configuration.
To enable high-speed communication between two STM32U5G9 chips, you cannot use OctoSPI or HexaSPI. Perhaps you can use SPI.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-09-15 2:26 AM
@KDJEM.1 wrote:To enable high-speed communication between two STM32U5G9 chips, you cannot use OctoSPI or HexaSPI.
Unless you use a dual-port RAM ... ?
2025-09-15 2:37 AM
Hello;
As mentioned in this FAQ, the QUADSPI/OCTOSPI/HSPI/XSPI interfaces work only as masters. The interfaces do not support full duplex. Therefore, it cannot send and receive data simultaneously.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-09-15 5:23 AM
Hello, the distance between the chips can reach about 10 cm. Thank you for your suggestion; I haven't tried running SPI at 80 Mbit speed before, but I will give it a try.
2025-09-15 5:53 AM
Hello, I apologize for not providing a detailed explanation of what “high speed” means.
I aim to achieve speeds exceeding 10MB/s because I'm developing a low-power, lightweight XR-class device. Significant display discrepancies between the two chips could cause discomfort. Additionally, due to limited ports (DCMI consumes a significant number), the current plan involves one chip handling the EMMC while the other manages the CYW55513IUBGT for network communication. Therefore, this channel must also transfer data received from the network to the EMMC. Communication between chips will be frequent, primarily for display synchronization calibration and data transfer. Regarding the necessity of using the STM32U5G9, it currently appears essential, as only this chip meets the requirements for low power consumption, robust display performance, and extremely compact size.
2025-09-15 6:22 AM
@Smith_023 wrote:I aim to achieve speeds exceeding 10MB/s .
Is that bit per second, or bytes per second?