APPLICATION NOTE. AT11491: Peripheral Power Consumption in Standby Mode for SAM D Devices. Atmel SAM D. Introduction

Similar documents
APPLICATION NOTE. Secure Personalization with Transport Key Authentication. ATSHA204A, ATECC108A, and ATECC508A. Introduction.

APPLICATION NOTE. AT07175: SAM-BA Bootloader for SAM D21. Atmel SAM D21. Introduction. Features

SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE

APPLICATION NOTE. AT16268: JD Smart Cloud Based Smart Plug Getting. Started Guide ATSAMW25. Introduction. Features

APPLICATION NOTE. Authentication Counting. Atmel CryptoAuthentication. Features. Introduction

CryptoAuth Xplained Pro

APPLICATION NOTE. AT12405: Low Power Sensor Design with PTC. Atmel MCU Integrated Touch. Introduction

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

AT88CK490 Evaluation Kit

APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction.

USER GUIDE EDBG. Description

AT15007: Differences between ATmega328/P and ATmega328PB. Introduction. Features. Atmel AVR 8-bit Microcontrollers APPLICATION NOTE

AVR131: Using the AVR s High-speed PWM. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

AVR127: Understanding ADC Parameters. Introduction. Features. Atmel 8-bit and 32-bit Microcontrollers APPLICATION NOTE

APPLICATION NOTE. Atmel AT04389: Connecting SAMD20E to the AT86RF233 Transceiver. Atmel SAMD20. Description. Features

AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System. 8-bit Microcontrollers. Application Note.

AVR106: C Functions for Reading and Writing to Flash Memory. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

General Porting Considerations. Memory EEPROM XRAM

SAMA5D2. Scope. Reference Documents. Atmel SMART ARM-based MPU ERRATA

QT1 Xplained Pro. Preface. Atmel QTouch USER GUIDE

AT11805: Capacitive Touch Long Slider Design with PTC. Introduction. Features. Touch Solutions APPLICATION NOTE

APPLICATION NOTE Atmel AT02509: In House Unit with Bluetooth Low Energy Module Hardware User Guide 8-bit Atmel Microcontroller Features Description

Atmel AVR4921: ASF - USB Device Stack Differences between ASF V1 and V2. 8-bit Atmel Microcontrollers. Application Note. Features.

AT09333: USB Host Interface (UHI) for Communication Class Device (CDC) Introduction. Atmel Microcontrollers APPLICATION NOTE

AVR32701: AVR32AP7 USB Performance. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR32138: How to optimize the ADC usage on AT32UC3A0/1, AT32UC3A3 and AT32UC3B0/1 series. 32-bit Microcontrollers. Application Note.

Atmel AVR4920: ASF - USB Device Stack - Compliance and Performance Figures. Atmel Microcontrollers. Application Note. Features.

ES_LPC4357/53/37/33. Errata sheet LPC4357/53/37/33. Document information

AVR1510: Xplain training - XMEGA USART. 8-bit Microcontrollers. Application Note. Prerequisites. 1 Introduction

AVR353: Voltage Reference Calibration and Voltage ADC Usage. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1922: Xplain Board Controller Firmware. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

How To Use An Atmel Atmel Avr32848 Demo For Android (32Bit) With A Microcontroller (32B) And An Android Accessory (32D) On A Microcontroller (32Gb) On An Android Phone Or

GCLK (Generic Clock Management) PM (Power Management) SYSCTRL (Clock Source Control) The following devices can use this module:

AVR319: Using the USI module for SPI communication. 8-bit Microcontrollers. Application Note. Features. Introduction

AVR1318: Using the XMEGA built-in AES accelerator. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR033: Getting Started with the CodeVisionAVR C Compiler. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction

AVR305: Half Duplex Compact Software UART. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

APPLICATION NOTE. AT17284: Proximetry Cloud Based Smart Plug User Guide. SMART ARM-based Microcontrollers. Introduction. Features

Using CryptoMemory in Full I 2 C Compliant Mode. Using CryptoMemory in Full I 2 C Compliant Mode AT88SC0104CA AT88SC0204CA AT88SC0404CA AT88SC0808CA

AVR1301: Using the XMEGA DAC. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR134: Real Time Clock (RTC) using the Asynchronous Timer. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR315: Using the TWI Module as I2C Master. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

Atmel AVR4903: ASF - USB Device HID Mouse Application. Atmel Microcontrollers. Application Note. Features. 1 Introduction

AVR1309: Using the XMEGA SPI. 8-bit Microcontrollers. Application Note. Features. 1 Introduction SCK MOSI MISO SS

APPLICATION NOTE. AT05558: Wireless Manufacturing Test Kit. Atmel ATmega256RFR2. Description. Features

32-bit AVR UC3 Microcontrollers. 32-bit AtmelAVR Application Note. AVR32769: How to Compile the standalone AVR32 Software Framework in AVR32 Studio V2

AVR126: ADC of megaavr in Single Ended Mode. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

APPLICATION NOTE. RF System Architecture Considerations ATAN0014. Description

AVR115: Data Logging with Atmel File System on ATmega32U4. Microcontrollers. Application Note. 1 Introduction. Atmel

Atmel Power Line Communications. Solutions for the Smart Grid

Atmel SMART ARM Core-based Embedded Microprocessors

AVR311: Using the TWI Module as I2C Slave. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

USER GUIDE. ATWINC1500B Hardware Design Guidelines - IEEE b/g/n IoT Module. Atmel SmartConnect. Introduction

AN Boot mode jumper settings for LPC1800 and LPC4300. Document information

Application Note. 8-bit Microcontrollers. AVR270: USB Mouse Demonstration

Application Note. Atmel ATSHA204 Authentication Modes. Prerequisites. Overview. Introduction

AN3332 Application note

AVR1900: Getting started with ATxmega128A1 on STK bit Microcontrollers. Application Note. 1 Introduction

AVR1600: Using the XMEGA Quadrature Decoder. 8-bit Microcontrollers. Application Note. Features. 1 Introduction. Sensors

8-bit. Application Note. Microcontrollers. AVR282: USB Firmware Upgrade for AT90USB

AVR125: ADC of tinyavr in Single Ended Mode. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

USER GUIDE. ZigBit USB Stick User Guide. Introduction

PAC52XX Clock Control Firmware Design

Atmel SAM D10. SMART ARM-Based Microcontroller DATASHEET SUMMARY. Description

Hello, and welcome to this presentation of the STM32L4 reset and clock controller.

Application Note. C51 Bootloaders. C51 General Information about Bootloader and In System Programming. Overview. Abreviations

Application Note. Atmel CryptoAuthentication Product Uses. Atmel ATSHA204. Abstract. Overview

AN4646 Application note

APPLICATION NOTE. Atmel AVR443: Sensor-based Control of Three Phase Brushless DC Motor. Atmel AVR 8-bit Microcontrollers. Features.

AT12181: ATWINC1500 Wi-Fi Network Controller - AP Provision Mode. Introduction. Features. Atmel SmartConnect APPLICATION NOTE

AVR32788: AVR 32 How to use the SSC in I2S mode. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

Dell Spotlight on Active Directory Server Health Wizard Configuration Guide

Designing Feature-Rich User Interfaces for Home and Industrial Controllers

APPLICATION NOTE. Atmel LF-RFID Kits Overview. Atmel LF-RFID Kit. LF-RFID Kit Introduction

More Secure, Less Costly IoT Edge Node Security Provisioning

AN2680 Application note

AN1991. Audio decibel level detector with meter driver

DACC (Digital-to-Analog Converter Controller) The outline of this documentation is as follows: Module Overview. Special Considerations

Wireless Subwoofer TI Design Tests

Dell One Identity Cloud Access Manager How to Configure vworkspace Integration

AN LPC1700 timer triggered memory to GPIO data transfer. Document information. LPC1700, GPIO, DMA, Timer0, Sleep Mode

Atmel AVR1017: XMEGA - USB Hardware Design Recommendations. 8-bit Atmel Microcontrollers. Application Note. Features.

AN AES encryption and decryption software on LPC microcontrollers. Document information

AN LPC24XX external memory bus example. Document information

Dell Statistica. Statistica Document Management System (SDMS) Requirements

AVR1003: Using the XMEGA Clock System. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AN3998 Application note

APPLICATION NOTE. AT03155: Real-Time-Clock Calibration and Compensation. SAM3 / SAM4 Series. Scope

APPLICATION NOTE. Scope. Reference Documents. Discrete Power Supply Solution for Atmel SAMA5D4. Atmel SMART SAMA5D4 Series

APPLICATION NOTE. Atmel AT01095: Joystick Game Controller Reference Design. 8-/16-bit Atmel Microcontrollers. Features.

Spotlight Management Pack for SCOM

AN111: Using 8-Bit MCUs in 5 Volt Systems

AN LPC1700 RTC hardware auto calibration. Document information. RTC, Hardware Auto Calibration, LPC1700, Graphic LCD

AT91SAM ARM-based Flash MCU. Application Note

AN TDA8026ET - 5 slots smart card interface. Document information

AN11008 Flash based non-volatile storage

Dell InTrust Preparing for Auditing Cisco PIX Firewall

How To Design An Ism Band Antenna For 915Mhz/2.4Ghz Ism Bands On A Pbbb (Bcm) Board

Software Real Time Clock Implementation on MC9S08LG32

Transcription:

APPLICATION NOTE AT11491: Peripheral Power Consumption in Standby Mode for SAM D Devices Atmel SAM D Introduction This application note describes the usage of various peripherals in Standby Sleep mode for Atmel SMART microcontrollers in the SAM D family. The internal voltage regulator which powers VDDCORE on the SAM D21 device can be operated in Low Power mode when the device is in Standby Sleep. Since the current driving capacity of the regulator is lower in Low Power mode when compared to the Normal operating mode, the peripherals have to be configured so that the voltage regulator is not overloaded. There are applications where the device have to consume substantially low power while keeping a few peripherals running. In such cases Standby Sleep mode can be used. This application note will help estimating the current consumed by peripherals from the VDDCORE power domain when the voltage regulator is operated in Low Power mode. The measurements given in this application note are taken on the SAM D21 devices. The current consumption from the internal voltage regulator by peripheral on other SAM D devices such as SAM D10, D11, and D20; will be similar to the numbers provided in this document.

Table of Contents 1 SAM D21 Power Domains and Low Power Models... 3 2 Standby Mode and Voltage Regulator... 4 2.2 Idle Mode... 4 2.3 Standby Mode... 4 3 Voltage Regulator Sourcing Limit... 4 4 Core Power Consumption Results... 5 4.1 Clock Conditions Used for Measurements... 5 4.2 Measurements at 25 C... 5 4.3 Measurements at 85 C... 6 5 Usage Example for Standby Mode... 6 6 Conclusion... 6 7 FAQs... 7 8 Recommended Reading... 7 9 Revision History... 8 2

1 SAM D21 Power Domains and Low Power Models Figure 1-1. Power Domain Overview The SAM D21 has power supply pins named VDDIN, VDDIO, and VDDANA. These pins should be connected together and fed with a voltage in the range 1.62V to 3.63V. This common voltage is referred to as VDD. Even though the device is powered through a single supply, the device internally operates in two voltage domains. The core, memories, peripherals to core interfaces, DFLL48M, and FDPLL96M are operated at 1.2V. I/Os are operated at the same voltage level as the VDD supply (1.62V to 3.63V). There is an internal voltage regulator on the SAM D21 device which gives 1.2V supply to the core. To optimize for the Low Power applications, the SAM D21 device supports different sleep modes such as Idle and Standby. Please consult the SAM D21 Datasheet [1], Chapter 7, Power Supply and Start-Up Considerations for more details. 3

2 Standby Mode and Voltage Regulator There are two main types of sleep modes available on the SAM D product family, Idle and Standby. There are also two different operating modes for the internal regulator, Normal mode, and Low Power mode. Table 2-1. Sleep Mode Entry and Exit Mode Level Mode Entry Wake-up Sources Idle 0 Synchronous (2) (APB, AHB), asynchronous (1) 1 SCR.SLEEPDEEP = 0 SLEEP.IDLE=Level Synchronous (APB), asynchronous 2 WFI Asynchronous Standby None SCR.SLEEPDEEP = 1 WFI Asynchronous Notes: 1. Asynchronous: Interrupt generated on generic clock, external clock, or external event. 2. Synchronous: Interrupt generated on the APB clock. 2.2 Idle Mode The CPU is stopped. Depending on if IDLE0, IDLE1 or IDLE2 mode is selected, some of the synchronous clock domains are also stopped. The internal regulator for VDDCORE always operates in Normal mode when the device is configured to be in IDLE sleep mode. 2.3 Standby Mode All clock sources are stopped, except those where the RUNSTDBY (Run in Standby) bit for the module is set or have the ONDEMAND bit set to zero. By default the regulator operates in Low Power mode when using STANDBY sleep mode. Before entering Standby mode it must be made sure that significant amount of clocks and peripherals are disabled, so that the voltage regulator is not overloaded. To avoid overloading, the peripherals should be configured so that the total power consumption supplied by the internal regulator in low power mode should be less than 50µA. If the peripherals required to run in STANDBY mode consumes more than 50uA, the regulator should be configured to operate in normal mode, and this can be done from software by setting the RUNSTDBY bit in SYSCTRL -> VREG. 3 Voltage Regulator Sourcing Limit Voltage regulator in Low Power mode can source up to 50µA for peripherals. If two peripherals are going to be used in Standby mode, then the cumulative consumption should not exceed the limit. Consumption details of various peripherals in Standby mode is given in the next section along with the measurement conditions. In a situation where the power consumption is exceeding the power limits because of the combination of peripherals, the peripherals operating clock speed has to be reduced to reduce the power consumption within the power limits. See the question on GCLK frequency in Chapter 7 FAQs. If the total power consumption in the core domain exceeds what the regulator is able to support, the device will have a BOD reset. 4

4 Core Power Consumption Results 4.1 Clock Conditions Used for Measurements The Generic clock used by the peripheral are: RTC 32.768kHz from XOSC32K WDT Clocked from OSCULP32K SERCOM 1MHz from OSC8M ADC 1MHz from OSC8M AC 500kHz from OSC8M TC 500kHz from OSC8M TCC 500kHz from OSC8M PTC 1MHz GCLK from OSC8M EIC Clocked from OSCULP32K 4.2 Measurements at 25 C Note: None in the peripheral column indicates the consumption from the internal voltage regulator, when none of the peripherals are operated. Table 4-1. Measurements at 25 C Peripheral Current Consumption [µa] None 5.00 (1) RTC 5.056 TC 24.133 TCC 31.572 ADC 23.139 UART 28.637 SPI 4.987 I2C 4.987 WDT 5.007 AC 23.173 EIC 5.107 PTC 27.720 Note: Typical consumption will be less than this value, but for calculations, use this number. 5

4.3 Measurements at 85 C Table 4-2. Measurements at 85 C Peripheral Current Consumption [µa] None 51.718 RTC 51.898 TC 71.008 TCC 78.415 ADC 70.335 UART 75.686 SPI 52.221 I2C 52.261 WDT 52.548 AC 70.533 EIC 52.741 PTC 75.176 5 Usage Example for Standby Mode An example for peripheral usage in Standby mode is described in this section. The application uses RTC and ADC. The ADC is used for periodically measuring the voltage on an input pin. The calculations below will help to decide whether the internal voltage regulator needs to be operated in Normal mode or in Low Power mode. When measured at 25 C, the current consumption from the internal voltage regulator by RTC and ADC in Standby mode is: RTC -> 5.056µA ADC -> 23.139 µa Here the total consumption by the two peripherals can be calculated as below. Total current consumption from internal voltage regulator = Sum of consumption by each peripheral (5.0 * [Total number of peripherals running in Standby mode 1]). Where 5.0 is the current taken from the internal voltage regulator when no peripherals are running. Thus, the value is (5.056 + 23.139) (5.0 * [2-1]) = 23.195 µa. In this case, the RUNSTDBY bit for these two peripherals can be set, to let them run in Standby Sleep and the internal voltage regulator can be configured to operate Low Power mode. 6 Conclusion Multiple peripherals can run in Standby mode. Power budgeting can be done based on typical values given in this application note. When the GCLK frequency for a peripheral is higher than the clock conditions mentioned in Section 4.1 Clock Conditions Used for Measurements, the peripheral may consume more current from the internal voltage regulator than what is given in this application note. In such cases, it is recommended to operate the core voltage regulator in Normal mode while the device is in Standby Sleep mode. 6

If the device is operated at 85 C or more, operate the core voltage regulator in Normal mode by setting the RUNSTDBY bit in SYSCTRL->VREG as workaround for the Errata #12291 mentioned in SAM D21 Datasheet [1]. 7 FAQs 1. Is it possible to perform such measurement on a SAM D21 Xplained Pro? If not, why? This cannot be done on a SAM D21 Xplained Pro since the value measured across the current measurement header gives the total consumption by the device. 2. The datasheet shows VDDCORE as an output pin. How is the current consumption from VDDCORE measured? The current consumption numbers mentioned in this document are measured using characterization setup, where the current sourced by the internal voltage regulator can be measured. 3. Can I correlate the values given in SAM D21 Datasheet [1] in section Typical Peripheral Current Consumption, with the current consumption values given in this document? No. The values given in the datasheet section Typical Peripheral Current Consumption are measured, based on the total current taken by the device via its supply pins. The current consumption numbers given in this document show the current drawn from the internal voltage regulator by each peripheral. 4. Will the measurements given in this document be applicable to other SAM D devices? The measurements given in this application note are measured with SAM D21 devices. The consumption numbers on SAM D20, D10 and D11 will be similar to or lower than the numbers given in this document. 5. If the GCLK frequency for a peripheral is reduced by half, what will be the effect on current consumption from the internal voltage regulator? The resultant current consumption will be approximately half of the original value. 8 Recommended Reading [1] SAM D21 Datasheet [2] AT04188: SAM D20/D21/D10 - How to Achieve Power Numbers 7

9 Revision History Doc Rev. Date Comments 42472A 07/2015 Initial document release. 8

Atmel Corporation 1600 Technology Drive, San Jose, CA 95110 USA T: (+1)(408) 441.0311 F: (+1)(408) 436.4200 www.atmel.com 2015 Atmel Corporation. / Rev.:. Atmel, Atmel logo and combinations thereof, Enabling Unlimited Possibilities, and others are registered trademarks or trademarks of Atmel Corporation in U.S. and other countries. ARM, ARM Connected logo, and others are the registered trademarks or trademarks of ARM Ltd. Other terms and product names may be trademarks of others. DISCLAIMER: The information in this document is provided in connection with Atmel products. No license, express or implied, b y estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON -INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITH OUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, auto motive applications. Atmel products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life. SAFETY-CRITICAL, MILITARY, AND AUTOMOTIVE APPLICATIONS DISCLAIMER: Atmel products are not designed for and will not be used in conne ction with any applications where the failure of such products would reasonably be expected to result in significant personal injury or death ( Safety-Critical Applications ) without an Atmel officer's specific written consent. Safety-Critical Applications include, without limitation, life support devices and systems, equipment or systems for the operat ion of nuclear facilities and weapons systems. Atmel products are not designed AT11491: nor intended for Peripheral use in military Power or aerospace Consumption applications or in environments Standby unless Mode specifically for SAM desid gnated Devices by Atmel [APPLICATION as military-grade. Atmel NOTE] products are not designed nor intended for use in automotive applications unless specifically designated as automotive-grade. 9