cancel
Showing results for 
Search instead for 
Did you mean: 

SD card interfacing via SDIO - low throughput

hariprasad
Associate III
Posted on June 05, 2015 at 19:54

I was able to compile and run the code provided by Tilen from

http://stm32f4-discovery.com/2014/07/library-21-read-sd-card-fatfs-stm32f4xx-devices/

,

So I can mount , write and read data from file. But when I measured the throughput the measurement was very disappointing for read operation I got only 500KB/s which is lame for an SDIO operation,

I calculated the throughput but toggling a GPIO before and after read/write operation, for example

GPIO_SetBits(GPIOD,GPIO_Pin_4);

f_write(&fil,data_buffer,10240,&written)

GPIO_ResetBits(GPIOD, GPIO_Pin_4);

Is there something that I need to do , in-order to get a better throughput about 5-7MB/s

 

#stm32 #dma #!stm32f4-disco #fatfs #sdio #sd
0 REPLIES 0