2023-03-31 05:54 AM
2023-03-31 08:45 AM
Hello @sram.1 and welcome to ST Community!
Here is a post that might help you.
If it doesn't help, you may need to elaborate your question, so that we can help you.
Thanks!
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.
2023-03-31 11:07 AM
The SPI based implementation is generally demonstrated in the AdaFruit Shield BSP code.
STM32Cube_FW_L4_V1.14.0\Drivers\BSP\Adafruit_Shield\stm32_adafruit_sd.c
The cards work at a block device level.
The FATFS DISKIO layer then sits on top of the SPI, SDIO or SDMMC layer.
2023-03-31 09:43 PM
tq for kind information that was already done that was using file handling methode but know i do with out file handling methode to read the SD card i collect some information that was possible to do using SD commands but i don't know properly
2023-03-31 09:52 PM
tq for your reaply but i am not geting what are you telling but i collect some information about that we can do in stm32 through SPI we can read the SD card by using SD commands previously i done using file handling system but i do with out file handling system
2023-04-02 12:59 PM
I have an SD/SPI block device driver for STM32L412KB at sd_driver. It has some dependencies on FreeRTOS. You might be able to adapt that.