Skip to main content
carlosdelfino
Senior
February 8, 2026
Question

What Framework/Library is needed to read an SD card containing FAT using the STM32N657-DK?

  • February 8, 2026
  • 1 reply
  • 92 views

 

My question revolves around TouchGFX and firmware for accessing the SD card.

I'm studying the STM32N657-DK and am already getting good results with TouchGFX. Now I need to write a module to read the SD card, count the files, and update a progress bar. I already know how to update it, but I'm still having difficulties reading the SD card. I don't know which library to use.

Could you suggest examples and/or which library would be most suitable?

Thank you.

1 reply

Technical Moderator
February 13, 2026

Hello @carlosdelfino 

For STM32N657‑DK projects that need SD‑card access, we recommend using Azure RTOS FileX (with LevelX when using raw flash) to read and write to SD card. Please refer to the examples below:

STM32CubeN6/Projects/NUCLEO-N657X0-Q/Applications/FileX/Fx_File_Edit_Standalone at main · STMicroelectronics/STM32CubeN6

STM32CubeN6/Projects/STM32N6570-DK/Applications/FileX/Fx_uSD_File_Edit at main · STMicroelectronics/STM32CubeN6

"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"
carlosdelfino
Senior
February 13, 2026

Would he have access to the SD card formatted as FAT32?

Furthermore, can FileX be used with FreeRTOS? Because I don't yet know how to use Azure RTOS.

Buy me a coffeeMy Portal about Analog ElectronicsMy Youtube Channel where I share my learning about Analog Electronic