2025-05-05 4:50 AM - edited 2025-05-05 4:51 AM
Hello I am using STM32H723ZGT6 mcu for my project and i am using external flash W25Q128JV but in my controller octospi is given and I want to use Quadspi to read\write data in external flash so how can I do it can anyone help me out if you need more details, let me know
2025-05-05 5:25 AM
It works materially the same.
You set commands as being 8-bit, and then select the width of command, address and data transactions at a clock level to 1, 2 or 4-bits.
2025-05-05 5:30 AM
Hello @Aries16;
The OCTOSPI interface supports QuadSPI memories. Please look at FAQ: Does OctoSPI interface support QuadSPI memories?.
You can find in Getting started with Octo-SPI, Hexadeca-SPI, and XSPI interfaces on STM32 MCUs - Application note and precisely section "7.2 OCTOSPI configuration with STM32CubeMX" an example of Quad-SPI PSRAM memory connected to OCTOSPI interface.
I hope this 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.
2025-05-05 10:00 AM
https://github.com/cturvey/stm32extldr/blob/main/ospi_qspi_readid.c
https://github.com/cturvey/stm32extldr/blob/main/ospi_qspi_read.c