Purpose
The Getting Started example will help new users get familiar with Atmel's SAM family of microcontrollers. This basic application shows the startup sequence of a chip and how to use its core peripherals.
Requirements
This application has been tested on following boards:
- SAM D21/R21/L21/L22/C21/R34 Xplained Pro
- SAM D10 Xplained Mini
- SAMR21ZLL-EK
Description
The program demo how LED,button,delay,interrupt and timer/counter work .
Usage
- Build the program and download it inside the evaluation board.
- On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
- 38400 bauds
- 8 bits of data
- No parity
- 1 stop bit
- No flow control
- Start the application.
- The LED(s) 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 Example xxx --
* -- xxxxxx-xx
* -- Compiled: xxx xx xxxx xx:xx:xx --
*
- Pressing and release button SW0 should make LED0 on and off blinking.