Issue with RWW Configuration Using OSPI1 and OSPI2 on STM32U5A9J-DK
Hi,
We are using the STM32U5A9J-DK board and are trying to achieve Read-While-Write (RWW) functionality. The flash chip we are using supports RWW.
Earlier, as per [this post](post link), we learned that to achieve RWW, we need two OSPI instances, namely OSPI1 and OSPI2.
Here are the configurations for both OSPI1 and OSPI2 in STM32CubeIDE:
- OSPI1 Configuration:

- OSPI2 Configuration:

We tested the setup and observed the following:
- Using OSPI1, we can successfully perform read, write, and erase operations on the flash memory.
- However, when attempting to access the flash memory with OSPI2, we are unable to perform these operations.
Questions:
- Is our current configuration of OSPI1 and OSPI2 (in multiplexed mode) correct for achieving RWW?
- Can you provide an example application where RWW is implemented using OSPI1 and OSPI2?
We would greatly appreciate any insights or guidance on this issue.
Thank you!
