This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the SD/MMC driver in SPI mode.
It also comes with an example of the usage of this driver.
This file gives an example of using the SD/MMC card driver. If a SD/MMC card is detected, the main() function reads data from SD/MMC to internal RAM using the PDCA (Peripheral DMA Controller). It displays on RS232 the first 20 bytes from SD/MMC physical sector number 1, 2 and 3.
This software is written for GNU GCC for AVR32 and for IAR Embedded Workbench for Atmel AVR32. Other compilers may or may not work.
All AVR32 devices with an USART and a SPI module can be used.
This example has been tested with the following configuration:
For further information, visit Atmel AVR32.