Skip to main content
Visitor II
August 12, 2025
Question

Nucleo-h563zi: interface W25N01GV external flash memory

  • August 12, 2025
  • 2 replies
  • 453 views

i am using nucleo-h563zi and want to communicate a W25N01GV is there any code avaible for communication for using external flash memory 

 

2 replies

KDJEM.1
Technical Moderator
August 15, 2025

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.

KDJEM1_0-1755255040037.png

KDJEM1_1-1755255482481.png

 

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.
Tesla DeLorean
Guru
August 15, 2025

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/stm32h750bx-qspi-issue-with-w25n01gvzeig-nand-flash-driver/td-p/142321

https://www.rcgroups.com/forums/showthread.php?4304305-DIY-Flight-Controller-Blackbox-Issue#post50625071

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

 

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..