lpcware

need an advice on using sd card

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by dragilla on Wed Nov 23 03:38:24 MST 2011
Hey,

I want to use sd card in project to:
a) read some configuration data (best would be from a text file)
b) save data regularly from my 100hz loop (I want to save data say every 5 iterations of my loop)

How long do you think will it take to write 100-200 bytes of data to an sd card directly (no fs)? How much longer will it take using petit fatfs for example?

Should I write the data from inside my loop or should I use interrupt maybe and write my data onto sd in a "free" time?

If you have some examples of reading/writing to an sd card (with or without fs) using cmsis 1.3 they are greatly welcome here :)

regards,
--
Luke

Outcomes