cancel
Showing results for 
Search instead for 
Did you mean: 

Using DMA with hal_SD and FATFS

Ahmed Emad el-deen
Associate II
Posted on April 18, 2017 at 17:44

Hi,

I'm trying to develop application using STM32F205 to transfer files between SD card and Flash Memory, I'm using CubeMX and FATFS API, The problem is the data rate is about 0.55 MB/s when copying from SD card to flash memory and about  although I'm using USB in full speed mode and maximum CLK for SDIO. So I'm trying to use DMA to speed up the data transfer rate but it doesn't work properly.

Can any one help me to identify right procedures to configure DMA working with FATFS ?

Thanks.  

2 REPLIES 2
Posted on April 19, 2017 at 03:00

Dear Ahmed Emad el-deen,

About 0.5MByte/Sec transfer speed(USB-MSC) is appropriate value for STM32 builtin USB-FS PHY.

If you need more perfrmance,use USB-HS with ULPI-PHY.

Posted on April 20, 2017 at 03:12

Thank you, I already trying to connect HS module I use this one :

http://www.waveshare.com/usb3300-usb-hs-board.htm

 , But it shows me that the device is not connected in MX_USB_HOST_Process ?! - any help ?