cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F7 + QSPI Flash with FileX (Azure RTOS) – Need Sample/Reference

Midhul_Pk
Associate II

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.

Setup:

  • 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

Request:

I’m looking for:

  1. Sample code/project showing working integration of FileX + LevelX + MX25QL128 via QSPI on STM32

  2. Any ST reference projects or application notes specific to this setup

  3. Clarification on required QSPI mode/timing/memory map settings

  4. Common pitfalls (e.g., erase before format, QSPI memory-mapped setup timing, etc.)

  5. 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

4 REPLIES 4
Midhul_Pk
Associate II

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

Done with FATFS

Used 4K sectors based on minimum erase size. Used command mode to permit read/write operation.

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

can you please share the confguarations or code example. 

@Tesla DeLorean 

Saket_Om
ST Employee

Hello @Midhul_Pk 

Please refer to the example below:

STM32CubeH5/Projects/STM32H573I-DK/Applications/FileX/Fx_NoR_Write_Read_File at main · STMicroelectronics/STM32CubeH5 · GitHub

 

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.
Saket_Om