# AVR32 - SDRAMC Driver - SDRAMC Example Documentation

## Introduction

This is the documentation for the data structures, functions, variables, defines, enums, and typedefs in the software for application note AVR32102. It also gives an examples of the usage of the SRAM Controller driver with the hardware found on the STK1000. Setup, initialization and testing is included.

## Main Files

- sdramc_at32ap7000.c: sdram controller driver
- sdramc_at32ap7000.h: sdram controller driver header file
- sdramc_example.c: sdram controller example application.

## Compilation Info

This software was written for the GNU GCC for AVR32 and IAR Systems compiler for AVR32. Other compilers may or may not work.

## Device Info

All AVR32 devices with a SDRAM Controller can be used. This example has been tested with the following setup:

- STK1000 development kit
- AP7000 top board for STK1000 development kit

No hardware specific settings are needed on the STK1000

## Setup Information

CPU speed: 20 MHz

## Application Usage

This example initializes the SDRAM found on the STK1000, tests it and then returns the number of errors found. To use this code in your own application, make a pointer to the base address of the SDRAM and access it like you would normally access a memory mapped device.

When recompiling a project, make sure to run make clean before recompiling

## Contact Info

For more info about Atmel AVR32 visit Atmel AVR32
AVR32 Application Notes
Support mail: avr32@atmel.com