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 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

  1. Build the program and download it inside the evaluation board.
  2. 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
  3. Start the application.
  4. 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 --
    *
  5. Pressing and release button SW0 should make LED0 on and off blinking.