Basic Low Power Project 1.4
Purpose
Demonstrates the several low-power modes available on the AT91SAM7L chip family from Atmel.
Hardware Requirements
This example requires an AT91SAM7L-STK board.
Description
This example enables the user to select between the different operating modes available on the SAM7L. The SLCD
displays the current mode (only briefly in most modes, since the SLCD is disabled to reduce power consumption).
Pressing any of the five buttons on the board will change between the different modes. They are described below:
- 37 MHz mode: SLCD enabled, SRAM backup disabled, RTC disabled, BOD disabled, PIO interrupt on keyboard pins.
- Backup mode #1: SLCD disabled, SRAM backup disabled, RTC disabled, BOD disabled, Voltage regulator disabled, wake-up on keyboard pins or FWUP.
- Backup mode #2: SLCD disabled, SRAM backup enabled, RTC enabled, BOD disabled, Voltage regulator disabled, wake-up on keyboard pins, FWUP and automatic wake-up on RTC after 5 seconds.
- Backup mode #3: SLCD enabled, SRAM backup enabled, RTC disabled, BOD enabled (sampling every 32 slow clock ticks), Voltage regulator disabled, wake-up on keyboard pins or FWUP.
- Wait mode: SLCD disabled, SRAM backup disabled, RTC disabled, BOD disabled, PLL & main oscillator disabled, Voltage regulator in deep mode at 1.55V, fast wake-up on keyboard pins.
- Idle mode: SLCD disabled, SRAM backup disabled, RTC disabled, BOD disabled, core runs on slow clock with PLL and main oscillator disabled, voltage regulator in deep mode at 1.55V, processor clock is stopped wake-up on keyboard pins.
Note that 37 MHz mode is only available by powering up the board, or switching to backup mode #1 then waking up
the device.
Usage
-
Build the program and download it inside the evaluation board. Please refer
to the SAM-BA User Guide,
the GNU-Based Software Development
application note or to the IAR EWARM User Guide,
depending on your chosen solution.
-
Start the application.
- The SLCD should display the startup mode, which is 37 MHz.
- Press any of the buttons to change between the different operating modes.
Atmel Corporation ©2008