Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Getting Started Application

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

  1. Build the program and download it inside the evaluation board. Atmel Studio and IAR Embedded Workbench for ARM are available.
  2. 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
  3. Start the application.
  4. 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 --
  5. Pressing and releasing the push button should make the first LED stop & restart blinking.