2024-11-21 04:40 AM
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:
We tested the setup and observed the following:
Questions:
We would greatly appreciate any insights or guidance on this issue.
Thank you!
2024-11-21 05:16 AM - edited 2024-11-21 05:17 AM
Hello @sohm ,
Thank you for sharing this interesting case in the community.
However, when attempting to access the flash memory with OSPI2, we are unable to perform these operations.
->The Chip select pin is not configured for the OCTOSPI2 in OSPI2 configuration.
Is the issue solved when configuring the "Chip Select".
An RWW example is available in https://github.com/STMicroelectronics/STM32CubeH7RS/tree/main/Projects/STM32H7S78-DK/Examples/XSPI/XSPI_NOR_ReadWhileWrite_DTR.
May be STM32CubeMX: OCTOSPI GPIOs configuration section in AN5050 can help you.
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.