pekdb

AT91SAM7 Examples

The following programs should be compatible with both the IAR and the GCC compiler. Some projects are using FreeRTOS; enter the link for more information. All example source codes can be used together with the following templates (including makefile, libraries etc.), just exchange main.c for the program example.

Click here to receive a small template for IAR-projects, AT91SAM7S256.
Click here to receive a small template for GCC-projects, AT91SAM7S256.
Click here to receive a small template for GCC-projects using FreeRTOS, AT91SAM7S256.


Click here to receive settings when using USB with 16MHz crystals.

Click on .C to look at example.

Example with external interrupt, AT91SAM7S256.
Example with output clock, AT91SAM7S256.
A/D with multiple channels using DMA and timer, AT91SAM7S256.
A/D with interrupt and timer, AT91SAM7S256.
A/D with pulling and software trigger , AT91SAM7S256.
Debug Unit to send messages using DMA and interrupt, AT91SAM7S256.
Debug Unit to send messages with interrupt, AT91SAM7S256.
Example with FreeRTOS and two tasks, AT91SAM7S256.
Timer compare with interrupt, AT91SAM7S256.
Periodic timer with interrupt, AT91SAM7S256.

The following packages include everything you need to compile; source, libraries, headers, makefiles etc.

CDC example using Atmel AT91 USB CDC Driver, GCC, AT91SAM7S256.

Copyright (c) 2004 PerErik Klarenfjord, All Rights Reserved
All trademarks are the property of their owners
Any actions you take after reading this website are your own responsibility
MADE IN SWEDEN
Hosted by GMQ