Hi. I have a time critical application which receives data from a port and stores it on the SD-card in a file on FAT16 using SPI-mode:
incoming data -> 1024 bytes buffer -> SDwrite to file
During writing of data, i need to update the FAT table and file entry filesize, so if the card is taken out during recording, the file DATA is OK to read.
during the editing of the FAT the SD card is very slow, in comparison to writing the (sequential) data. I think the SD-card is slow because it needs to move from the DATA area to the FAT area.
I'm using Dane-Elec, Platinum and Sandisk cards ... but it makes little difference.
does anyone have an idea to speed up the process of writing FAT during writing of DATA?