AnsweredAssumed Answered

How to  use Fatfs with DMA

Question asked by Yi-Wei Yu on Jun 10, 2017
Latest reply on Dec 11, 2017 by Clive One

I want using DMA to read/wrrite file with fatfs.

 

I try to  modify

 

if(BSP_SD_ReadBlocks((uint32_t*)buff,  (uint32_t) (sector), count, SD_DATATIMEOUT) == MSD_OK)

 

to

if(BSP_SD_ReadBlocks_DMA((uint32_t*)buff,  (uint32_t) (sector), count, SD_DATATIMEOUT) == MSD_OK)

 

but when I used " f_mount" I got a error code "FR_NO_FILESYSTEM" .

 

What steps do I have to do when I wnat to use Fatfs with DMA?

Outcomes