2026-05-12 7:17 AM
Hello,
I'm working on a projet where I need to drive 4 (or 2 x 4) GPIO at the same time with high speed on the STM32U545RE.
I'm trying to use the DualQuad SPI (with OSPI) but I can't have the clock working...
At first I tried to write a code with a send only type of frame (with no instruction and no address) but nothing was working.
Now I tried to use the example code from a STM32L5 but nothing seem to be working either.
Can you if someone already tried to do that ?
BR,
Loïc
2026-05-12 7:40 AM - edited 2026-05-12 7:41 AM
Hello @Loïc1 and welcome to the community,
Could you please give more details about the use case.
Which memory are you using?
Could you please share your configuration?
I recommend you to look at these examples:
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.
2026-05-12 7:55 AM
Hi @KDJEM.1 Thank you for your quick answer.
The only thing I can say about the use case is that I don't use any kind of memory, I have a NUCLEO-U545REQ and I need to drive at high speed rate 4 I/O (or 8 I/O) at the same time.
I need to have a clock at 40MHz, and the other I/O at the same speed or faster.
I though the OSPI was the best option to do that but the problem is I need to use the QSPI (or OSPI) as a custom parallel serializer, and for that I need to use a send only system, with no opcode of anykind, only data.
Thank you,
Loïc
2026-05-12 8:32 AM - edited 2026-05-12 8:33 AM
Hello @Loïc1 ;
I recommend you to look at OCTOSPI examples and AN5050 and get inspired to configure your project.
Do you need a fast slave interface with high throughput?, you can use a PSSI interface.
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.