2025-07-24 12:35 AM - edited 2025-07-24 12:37 AM
Hello ST Community,
I’m currently working on integrating the MX25QL128 NOR Flash (connected over QSPI) with the STM32F746 microcontroller. My goal is to use it with Azure RTOS FileX and LevelX for filesystem access. I’m using STM32CubeIDE and the latest version of Azure RTOS.
MCU: STM32F746NG
External Flash: MX25QL128 via QSPI
Middleware: Azure RTOS (ThreadX, FileX, LevelX)
Interface: QSPI in Memory-Mapped Mode
Goal: Format, mount, and use FileX filesystem stored on MX25QL128
I’m looking for:
Sample code/project showing working integration of FileX + LevelX + MX25QL128 via QSPI on STM32
Any ST reference projects or application notes specific to this setup
Clarification on required QSPI mode/timing/memory map settings
Common pitfalls (e.g., erase before format, QSPI memory-mapped setup timing, etc.)
Any working FileX + LevelX configuration example (even with another STM32 MCU) that could help me align my integration.
Any working example or advice would be very helpful. Thanks in advance!
Best regards,
Midhul Pk
2025-07-24 12:40 AM
I'm currently working on a project using the STM32F746NG microcontroller, and I need help getting Azure RTOS FileX running on an external MT25QL128 NOR flash connected over QSPI.
I'm using:
STM32CubeIDE
Azure RTOS (ThreadX, FileX, LevelX)
MT25QL128 connected via QSPI in memory-mapped mode
The goal is to format the QSPI flash, mount it using FileX + LevelX, and perform basic file operations like read/write.
Has anyone implemented this successfully, or is there a working reference/example available? Even if it's for a different STM32 MCU, that would be really helpful. Specifically, I'm looking for:
A working sample or example project
Any application notes or documentation from ST
Correct QSPI configuration (mode, memory mapping, etc.)
Common pitfalls or tips for LevelX integration
I’d appreciate any suggestions or shared experiences!
Thanks in advance,
Midhul
2025-07-24 12:56 AM
Done with FATFS
Used 4K sectors based on minimum erase size. Used command mode to permit read/write operation.
2025-07-24 1:06 AM
can you please share the confguarations or code example.
2025-07-28 3:40 AM
Hello @Midhul_Pk
Please refer to the example below: