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 SAM evaluation kits.

Description

The demonstration program makes the LED(s) on the board blink at a fixed rate. This rate is generated by using Time tick timer. The blinking can be stopped using the push button.

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:
    • 115200 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 1 should make one LED stop & restart blinking.
  6. If the button 2 available, pressing button 2 should make the other LED stop & restart blinking.