Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Low Power Application

Purpose

This example shows all the different low power modes with several types of wake-up sources. And the consumption of the core in different power modes can be measured.

Requirements

This package can be used with SAM evaluation kits.

Description

The program will display a menu on console. It allows users to change the configuration and enter into a different power mode, and then measure the power consumption.

For Eks, an amperemeter has to be plugged on the board instead of the VDDx jumper.

Note that for better consumption measurement:

  • Run program out of flash without ICE connected.

Usage

  1. Build the program and download it into 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.