2026-02-03 12:07 AM - last edited on 2026-02-03 12:40 AM by mƎALLEm
i am using nucleo-h753zi and i need to integrate external flash via spi, MX25L6433F this is my flash ic. i was struggling to integrate this flash so please guide me to achieve it also if possible please give any example code for this project
2026-02-03 12:20 AM
What do you want to achieve? Is it for dtaa storage or XIP?
2026-02-03 12:32 AM - edited 2026-02-03 12:41 AM
Hello,
You may find MX25L6433F driver in X-CUBE-DISPLAY package.
Download the package and unzip it. You will find it under Drivers\BSP\Components\mx25l6433f
Or a ready to use external Flashloaders under the path \Utilities\PC_Software\ExternalLoader for the for specific ST boards if you are using one.
Hope that helps.
2026-02-03 1:21 AM
Hello Vidar,
Thank you for your response. Let me clarify what I'm trying to achieve:
I want to integrate the external Macronix MX25L6433F SPI flash memory chip with my STM32H753ZI Nucleo board for data storage purposes (not XIP - Execute In Place).
What I want to do:
Read/Write/Erase data to the external flash memory.
Store application data, logs, or configuration parameters.
Basic flash memory operations (Read JEDEC ID, sector erase, page program, etc.).
Current Status:
Hardware: MX25L6433F flash chip connected via SPI1 (PA5=SCK, PA6=MISO, PA7=MOSI, PA4=CS).
I'm using STM32CubeIDE.
I'm trying to get basic SPI communication working to read the flash JEDEC ID.
Currently facing timeout issues with HAL_SPI_TransmitReceive.
Thank you.