Getting Started with AT91 Microcontrollers 1.4
Purpose
The Getting Started project will help new users get familiar with Atmel's
AT91 family of microcontrollers. This basic application shows the startup
sequence of a chip and how to use its core peripherals.
Hardware Requirements
This package can be used with all Atmel evaluation kits.
Description
The demonstration program makes two LEDs on the board blink at a fixed rate.
This rate is generated by using a timer for the first LED; the second one
uses a Wait function based on a 1 ms tick. The blinking can be stopped using
two buttons (one for each LED).
Usage
-
Build the program and download it inside the evaluation board. Please refer
to the SAM-BA User Guide,
the GNU-Based Software Development
application note or to the IAR EWARM User Guide,
depending on your chosen solution.
-
On the computer, open and configure a terminal application
(e.g. HyperTerminal on Microsoft Windows) with these
settings:
- 115200 bauds
- 8 bits of data
- No parity
- 1 stop bit
- No flow control
-
Start the application.
- Two LEDs should start blinking on the board. In the terminal window, the
following text should appear (values depend on the board and chip used):
-- Getting Started Project 1.4 --
Board : AT91*****-**, Chip ID : 0x********
-
Pressing button #1 should make the first LED stop & restart blinking; same
for button #2 with the second LED.
Atmel Corporation ©2008