Skip to content
gicking edited this page Feb 8, 2018 · 2 revisions

FatFS Library

back to Command Reference

Read/write to SD card via the FatFS library v0.13 by ChaN (thanks!!!).

Uses software SPI (=bitbanging) for interfacing with SD card. This is rather slow (measured 27kB/s), but requires no dedicated SPI and is pretty much fool-proof (porting the generic example took less than 1h). If you only require less functionality, use PetitFS instead.

Notes:

  • SD cards generally use 3.3V -> assert correct supply and signal voltage
  • define required macros for bitbanging via config.h (see example)

Relevant Tutorial

Commands (not all enabled by default, see file ffconf.h):

Clone this wiki locally