I am using emfile component to write data into SD card, but i think the data write is very slow.
In the data sheet of the emfile component i found a section known as" Performance and Resource usage". Can any one say what the performance metrics is......
Secondly my main intention is to transfer the ADC samples directly into SD card......i know there will be lot of overhead in writing data to SD card.......i thoght of buffering but in PSoC3 it is not possible....Using DMA is a good option but not sure how to point destination (emfile uses SPIM to transfer data to SD card)
Can u guys help me out
The PSOC 1 solution, recently updated on web, still has apparently a couple
of problems, so not yet quite released. In any event it would be a port to
3/5, not a trivial task.
I was mentioning about the performance. I feel the performance of the emfile write increases if we are writing bulk of data.
For example if we write data byte by byte we can only achieve 0.07KBps but if we were to write 1KB of data then we can achieve data write rate of 27KBps........
But what is the reason for this......is there a framing that takes place before data write into SD card or is there something else ????
SD card is a block device. By block device, it means that the data is written or read in terms of blocks (e.g.: data is written in sector of 512 bytes per write/ read instead of byte by byte). It is the block device property. Hence, you will see that as the number of bytes increases the performance increases.