AVR32 UC3 - SD/MMC Driver Documentation
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:
- EVK1100, EVK1101, UC3C_EK or EVK1105 evaluation kits;
- CPU clock: -- 12 MHz : EVK1100, EVK1101, EVK1105 evaluation kits -- 16 Mhz : UC3C_EK
- USART1 (on EVK1100 or EVK1101) connected to a PC serial port via a standard RS232 DB9 cable; USART2 (on UC3C_EK) or USART0 on EVK1105 connected to a PC via USB virtual com port
- PC terminal settings:
- 57600 bps,
- 8 data bits,
- no parity bit,
- 1 stop bit,
- no flow control.
For further information, visit
Atmel AVR32.
Support and FAQ:
http://support.atmel.no/