Question

How can I interface an SD card with FAT file system using SPI?

Answer

The Secure Digital (SD) Card is a non-volatile memory card format based on flash memory technology and widely used in portable devices like tablet computers, media players, GPS receivers, etc. 

 

sdcard1.png

Fig: SD Card

 

The File Allocation Table (FAT) is a computer file system architecture widely used for its simplicity in many computer systems and most memory cards. Most SD cards are sold pre-formatted with a FAT file system on top of an MBR partition scheme.

 

The Serial Peripheral Interface (SPI) Bus is an access mode that implements a simpler subset of the SD protocol for use with a standard SPI interface. This mode is widespread due to its extensive use in embedded systems, especially resource-critical applications.

 

Read the complete application note here to know how to implement the SPI-based access mode to read data from / write data to a standard SD card using an EFM32 microcontroller.

  • Knowledge Base Articles
  • 32-bit MCUs