AnsweredAssumed Answered

SD CARD writing Delay!

Question asked by mohammadjavad on Jan 11, 2016
Latest reply on Jan 13, 2016 by AvaTar
hi
I am writing to Micro SD cards over SDIO. What I have noticed is that sometimes, the write cycle seems to take longer for no reason. And the longer cycles are almost exactly the same length. I use a LED to show writing time:

BufferSize= 65536;
for(count=0;count<5000;count++)
{
     res = f_write(&fil, buff, BufferSize, &br); 
     GPIO_ToggleBits(GPIOF,GPIO_Pin_10);
}


how can I solve this problem? following image that I save with my oscillator shows writing delays.

SD_write.gif

Outcomes