cancel
Showing results for 
Search instead for 
Did you mean: 

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

carlosdelfino
Senior

 

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.

2 REPLIES 2
Saket_Om
ST Employee

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

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.