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 

 

    This topic has been closed for replies.

    2 replies

    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

    Graduate II
    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