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 package can be used with SAM4L boards.
Description
The demonstration program makes the on-board LED(LED0) blink at a fixed rate. This rate is generated by using Time tick timer. The blinking can be stopped or restarted by using the push button.
Usage
- Build the program and download it inside the evaluation board. Atmel Studio and IAR Embedded Workbench for ARM are available.
- 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.
- The LED 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 releasing the push button should make the first LED stop & restart blinking.