2025-08-12 12:51 AM - last edited on 2025-08-12 3:11 AM by Andrew Neil
i am using nucleo-h563zi and want to communicate a W25N01GV is there any code avaible for communication for using external flash memory
2025-08-15 4:45 AM
Hello @Aryan_vats_15 and welcome to the community;
You can use the OCTOSPI interface to connect the external memory.
I recommend you to refer to AN5050 precisely section 7 OCTOSPI application examples and get inspired to configure W25N01GV.
Also, I think STM32CubeH5/Projects/STM32H573I-DK/Examples/OCTOSPI at main · STMicroelectronics/STM32CubeH5 · GitHub examples 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.
2025-08-15 1:35 PM
The W25N01GV is a NAND FLASH it operates on Blocks rather than more random read/write, execute-in-place permitted by NOR FLASH ST more commonly uses.
You'll HAVE to READ the Data Sheet and code your own, perhaps see if anyone wants to do your job on Fiverr
You might look a STM32 base Flight Controller / Black Box implementations, as I think some of these have used the W25NV01GV
https://community.st.com/t5/stm32-mcus-products/stm32wb-qspi-flash-winbond-w25n01gv/td-p/607010
https://github.com/cleanflight/cleanflight/blob/master/src/main/drivers/flash_w25n01g.c