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



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

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

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

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

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

AT88CK490 Evaluation Kit

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

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

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

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

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

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

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

AN1991. Audio decibel level detector with meter driver

CryptoAuth Xplained Pro

Evaluation Board for the AAT1275 Boost Converter with USB Power Switch

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

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

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

AN111: Using 8-Bit MCUs in 5 Volt Systems

LDS WLED Matrix Driver with Boost Converter FEATURES APPLICATION DESCRIPTION TYPICAL APPLICATION CIRCUIT

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

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

USER GUIDE EDBG. Description

PAM2804. Pin Assignments. Description. Applications. Features. Typical Applications Circuit 1A STEP-DOWN CONSTANT CURRENT, HIGH EFFICIENCY LED DRIVER

AN TDA8026ET - 5 slots smart card interface. Document information

AN2680 Application note

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

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

AN Designing RC snubbers

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

ICS514 LOCO PLL CLOCK GENERATOR. Description. Features. Block Diagram DATASHEET

0.9V Boost Driver PR4403 for White LEDs in Solar Lamps

ICS379. Quad PLL with VCXO Quick Turn Clock. Description. Features. Block Diagram

AN LPC24XX external memory bus example. Document information

Spread-Spectrum Crystal Multiplier DS1080L. Features

Theory of Operation. Figure 1 illustrates a fan motor circuit used in an automobile application. The TPIC kω AREF.

APPLICATION NOTE. RF System Architecture Considerations ATAN0014. Description

TS555. Low-power single CMOS timer. Description. Features. The TS555 is a single CMOS timer with very low consumption:

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

TRIPLE PLL FIELD PROG. SPREAD SPECTRUM CLOCK SYNTHESIZER. Features

FAN5346 Series Boost LED Driver with PWM Dimming Interface

TPN4R712MD TPN4R712MD. 1. Applications. 2. Features. 3. Packaging and Internal Circuit Rev.4.0. Silicon P-Channel MOS (U-MOS )

STCS A max constant current LED driver. Features. Applications. Description

AN2760 Application note

Designing Feature-Rich User Interfaces for Home and Industrial Controllers

Atmel SMART ARM Core-based Embedded Microprocessors

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Enpirion Power Datasheet EP53F8QI 1500 ma PowerSoC Voltage Mode Synchronous PWM Buck with Integrated Inductor

AND8480/D. CrM Buck LED Driver Evaluation Board APPLICATION NOTE

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

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

Quad 2-input NAND Schmitt trigger

AN BGU8009 Matching Options for 850 MHz / 2400 MHz Jammer Immunity. Document information. Keywords

Output Filter Design for EMI Rejection of the AAT5101 Class D Audio Amplifier

Application Note, Rev.1.0, September 2008 TLE8366. Application Information. Automotive Power

How To Use A Watt Saver On A Microcontroller (Watt Saver) On A Cell Phone Or Mp3 Player

August 2001 PMP Low Power SLVU051

Simple PWM Boost Converter with I/O Disconnect Solves Malfunctions Caused when V OUT <V IN

STCS1A. 1.5 A max constant current LED driver. Features. Applications. Description

3-output Laser Driver for HD-DVD/ Blu-ray/DVD/ CD-ROM ATR0885. Preliminary. Summary. Features. Applications. 1. Description

LC898300XA. Functions Automatic adjustment to the individual resonance frequency Automatic brake function Initial drive frequency adjustment function

HANDLING SUSPEND MODE ON A USB MOUSE

LM337. Three-terminal adjustable negative voltage regulators. Features. Description

SSM3K335R SSM3K335R. 1. Applications. 2. Features. 3. Packaging and Pin Configuration Rev.3.0. Silicon N-Channel MOS (U-MOS -H)

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

NE555 SA555 - SE555. General-purpose single bipolar timers. Features. Description

NE555 SA555 - SE555. General-purpose single bipolar timers. Features. Description

LM2704 Micropower Step-up DC/DC Converter with 550mA Peak Current Limit

MP2259 1A, 16V, 1.4MHz Step-Down Converter

QT1 Xplained Pro. Preface. Atmel QTouch USER GUIDE

VN05N. High side smart power solid state relay PENTAWATT. Features. Description

28 V, 56 m, Load Switch with Programmable Current Limit and Slew Rate Control

Description. Table 1. Device summary

Supply voltage Supervisor TL77xx Series. Author: Eilhard Haseloff

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

AN2389 Application note

DATASHEET. ADAM Arduino Display Adaptor Module. Arduino Compatible Shield P/N: 4Display-Shield-FT843 For the 4D Systems 4DLCD-FT843 Display

Description. Table 1. Device summary. Order code Temperature range Package Packaging Marking

DEMO MANUAL DC1555B LTC4365: High Voltage UV, OV and Reverse Supply Protection Controller Description

General Porting Considerations. Memory EEPROM XRAM

UM1613 User manual. 16-pin smartcard interface ST8034P demonstration board. Introduction

AN Single stage 5-6 GHz WLAN LNA with BFU730F. document information

MC33064DM 5 UNDERVOLTAGE SENSING CIRCUIT

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

MIC General Description. Features. Applications. Typical Application. 4MHz Internal Inductor PWM Buck Regulator with HyperLight Load

Design and Construction of Variable DC Source for Laboratory Using Solar Energy

AAT3520/2/4 MicroPower Microprocessor Reset Circuit

Product Datasheet P MHz RF Powerharvester Receiver

AP KHz, 2A PWM BUCK DC/DC CONVERTER. Description. Pin Assignments V IN. Applications. Features. (Top View) GND GND. Output AP1509 GND GND

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

STLQ ma, ultra low quiescent current linear voltage regulator. Description. Features. Application

LM5001 High Voltage Switch Mode Regulator

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

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

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

The 74LVC1G11 provides a single 3-input AND gate.

Hello and welcome to this training module for the STM32L4 Liquid Crystal Display (LCD) controller. This controller can be used in a wide range of

Transcription:

SMART APPLICATION NOTE Discrete Power Supply Solution for Atmel SAMA5D4 Atmel SMART SAMA5D4 Series Scope A wide variety of applications based on Atmel SMART SAMA5D4x embedded MPUs (empus) can be powered from a low-cost power supply solution based on discrete components. This application note provides developers with a recommended application schematic and associated functional descriptions. Reference Documents Type Title Atmel Lit. No. Datasheet SAMA5D4 Datasheet 11238

Table of Contents 1. Power Supply Overview of Atmel empu Systems................................. 3 1.1 Atmel SAMA5D4x Power Rails...................................................... 3 1.2 Atmel SAMA5D4x VCCCORE Generation............................................. 3 1.3 Atmel SAMA5D4x VDDBU Generation................................................ 4 1.4 Power Supply Topologies and Power Distribution....................................... 4 1.5 Clock Circuits Power Supply........................................................ 6 1.6 Power Supplies Monitoring......................................................... 6 2. Reference Schematic and Description............................................ 7 2.1 Basic Reference Schematic........................................................ 7 2.2 Wake-Up and Shutdown Description................................................. 9 3. Variations from the Reference Schematic........................................ 11 3.1 Applications Without Backup Battery................................................ 11 3.2 Input Power-Fail Detection........................................................ 11 3.3 Discrete Components Selection.................................................... 13 2

1. Power Supply Overview of Atmel empu Systems 1.1 Atmel SAMA5D4x Power Rails Atmel SAMA5D4x empus power rails and their respective operating ranges are listed in Table 1-1. An approximate current consumption is provided for each rail in order to size the corresponding regulator. Accurate numbers and descriptions are provided in the SAMA5D4 datasheet. Depending on the application complexity, SAMA5D4x power input pins may be grouped into two (e.g., 3.3V + 1.8V), three (e.g., 3.3V + 1.8V + 1.2V) or more power planes. In secure applications, or any application that requires writing into the internal fuse box, an additional 2.5V power rail is needed to supply the VDDFUSE input pin. The SAMA5D4x series also features a backup power domain to retain information during power-down periods by means of a storage element (e.g., a battery or a super-capacitor). It is supplied by the VDDBU pin and must be fed through a 2V regulator. Table 1-1. SAMA5D4x Series Power Supply Inputs Power Rail Circuit Supplied by the Power Rail Range Consumption VDDCORE Core Voltage Regulator 1.62 1.98V, 1.80V 0.35A VDDIODDR External Memory Interface I/O lines 1.70 1.90V, 1.80V 1.14 1.32V, 1.20V 0.05A 0.03A VDDIOM NAND and HSMC Interface I/O lines 1.65 1.95V, 1.80V 3.00 3.60V, 3.30V 0.03A VDDIOP Peripheral I/O lines 1.65 3.60V 0.03A VDDUTMIC USB Device and host UTMI+ core logic and UTMI PLL 1.10 1.32V, 1.20V 0.02A VDDUTMII USB Device and host UTMI+ interface 3.00 3.60V, 3.30V 0.02A VDDPLLA PLLA 1.10 1.32V, 1.20V 0.02A VDDOSC Main oscillator 1.65 3.60V, 3.30V 0.001A VDDANA Analog-to-Digital Converter, and other analog circuits 3.00 3.60V, 3.30V VDDFUSE Programmable Fuse Box 2.25 2.75V, 2.50V 0.05A VDDBU Backup domain 1.88 2.12V, 2.00V 0.0001A In all modes other than Backup mode, each power supply input must be powered to operate the device. The only exception is the VDDFUSE input which can be left unpowered if the fuse box is not used in Write mode. 1.2 Atmel SAMA5D4x VCCCORE Generation Atmel SAMA5D4x devices embed a linear low dropout (LDO) voltage regulator to generate their core logic power supply (VCCCORE). The input of this regulator is VDDCORE and its output is internally connected to some of the VCCCORE pins. The remaining VCCCORE pins are fed from the VCCCORE plane of the printed circuit board (PCB). This plane must contain at least one 10µF capacitor (max 20µF) to ensure the regulator stability. Additional 10nF to 100nF capacitors of X5R or X7R type must be connected to each VCCCORE pin for proper decoupling. This LDO voltage regulator cannot be shut down. Therefore the VCCCORE pins cannot be fed by an external voltage regulator at the risk of creating a short circuit between the internal regulator and the external one. 3

1.3 Atmel SAMA5D4x VDDBU Generation The SAMA5D4x series embeds a backup power domain which supplies a Real-Time Clock circuit, a backup memory and others. This power domain is designed for ultra-low-power consumption (8µA typ.) and is therefore suited to be supplied by a storage element such as a super-capacitor or a battery. The operating range of VDDBU (2V±120mV) calls for the use of an external voltage regulator. Low-power LDO regulators in the S-1206 series from Seiko Instruments and NCP4682 series from ON Semiconductor with a typical 1µA operating current meet the criteria. Figure 1-1. VDDBU Generation 5.0V (Main Power Source) 2.0V LDO VDDBU 3.0V Backup Battery (e.g : BAV70L) 1μF (e.g : S-1206 series or NCP4682 series) 1μF As described in the SAMA5D4x series datasheet, the VDDBU power supply must always be the first power source applied to the system and the last one disconnected from the system. It is therefore good practice to monitor the storage element discharge in order to shutdown the system before the VDDBU voltage goes out of its operating range, If the backup functionality of the SAMA5D4x device is not used in the application, VDDBU can be fed directly from the main power source through a 2.0V regulator. In this case, a low-power regulator is not necessary. A generic low-cost device (e.g. TLV431A or equivalent) can be chosen. In case of input power loss, small storage capacitors (e.g., 1µF) help to extend the presence of the VDDBU voltage after a system shutdown as specified in the device datasheet. 1.4 Power Supply Topologies and Power Distribution 1.4.1 2-channel Topology with 1.8V (DDR2 or LPDDR) Memories When SAMA5D4x devices are equipped with 1.8V external memories (LPDDR or DDR2 type), the lowest cost power supply is achieved by implementing a 2-rail topology (3.3V / 1.8V) as shown in Figure 1-2. While optimized from a system cost perspective, this topology has the following limitations: The fuse box cannot be accessed in Write mode because VDDFUSE = 0V. The analog section of the device (VDDANA) is powered from the (noisy) digital 3.3V rail. These limitations can be overcome by adding two regulators for VDDANA and VDDFUSE. In such case, these regulators should be enabled and disabled along with the main 3.3V regulator. 4

Figure 1-2. 2-channel Power Supply Example on SAMA5D4x Series Equipped with a 1.8V External Memory REG1 1.8V VDDIODDR VDDCORE VCCCOREx Core Regulator VDDUTMIC VDDPLLA VDDIOP REG2 3.3V 100R VDDIOM VDDOSC VDDUTMII VDDANA VDDFUSE 3.0V Coin Cell Battery 2.0V LDO VDDBU SAMA5D4x 1.4.2 3-channel Topology with (1.2V / 1.8V) LPDDR2 memories The 2-channel topology can be extended to support LPDDR2-type external memories. An additional 1.2V voltage regulator is added to supply the LPDDR2 interface. See Figure 1-3. Figure 1-3. 3-channel Power Supply Example on SAMA5D4x Series (LPDDR2 support) REG3 1.2V VDDIODDR REG1 1.8V VDDCORE VCCCOREx Core Regulator VDDUTMIC VDDPLLA VDDIOP REG2 3.3V 100R VDDIOM VDDOSC VDDUTMII VDDANA VDDFUSE 3.0V Coin Cell Battery 2.0V LDO VDDBU SAMA5D4x 5

1.5 Clock Circuits Power Supply Atmel empus have separate power supply inputs for their oscillators and PLL circuits. These analog circuits can be decoupled from the digital (core and I/Os) activity of the device and thus generate less jittered clocks. Atmel highly recommends feeding these power supply inputs with low-noise sources for applications where clock jitter is important (e.g., high-speed USB). The simplest way to do this is to filter the digital rails with an LC network as shown in Figure 1-4. Choosing a 20 khz corner frequency is a good trade-off between component size/cost and the necessary high-frequency attenuation for clock circuits. The inductors must be sized for low DC resistance and good DC superimposition characteristics (TDK MLZ series and Taiyo Yuden CBM series are possible choices). The serial resistor in the filter schematic must be adjusted to take the inductor DCR into account. Example of inductors: Taiyo Yuden CBMF1608T100K (10 µh, 0.36 Ω, 115 ma, 0603) and TDK MLZ1608N100L (10 µh, 0.6 Ω, 60 ma, 0603). Figure 1-4. Recommended Filter on Clock Circuits Power Supply 2.2 10µH VDDOSC 4.7µF 10nF VCCCORE 2.2 10µH VDDPLLA 4.7µF 10nF 1.6 Power Supplies Monitoring Atmel MPU power rails are not internally monitored. In low-cost systems, when the input power can be removed without advising the application, it is recommended to monitor the input voltage to detect the input power loss. In this power-fail case, the application should start a power-off sequence. This is particularly relevant in SAMA5D4 systems equipped with LPDDR2 memories for which uncontrolled power-off conditions may lead to damage to the memory IC. 6

2. Reference Schematic and Description 2.1 Basic Reference Schematic Figure 2-1. Basic Reference Schematic C14 10μF R44 1MΩ EN1 C29 1μF R45 47k U1 RT9018B-18GSP 3 4 VDD VOUT 6 5 NC 1 PGOOD 2 EN ADJ 7 C15 4.7nF (PAD) 8 9 R56 1Meg PG33 C12 100nF R47 47k 1% R46 15k 1% C8 10μF C17 10μF D1 R48 100kΩ U2 RT8010GQW 3 1 NC EN2 2 EN C18 100nF (PAD) 5 7 LX FB 4 6 L3 2.2μH C9 22pF R38 100k 1% R39 49.9k 1% VDD_1V8 C10 10μF NMOS Qx : 2N7002 or BSS138 Diodes Dx : 1N4148 R54 100k STARTB EN1 R58 6.04k R59 59k NRST_3V3 R57 10k SHDN (From empu) Q1 Q2 Q3 R60 100k C21 1nF Q4 C22 1nF Q5 PG33 NRST (2V, To empu) VDD_1V8 C19 1μF C20 10μF D2 VDD_1V8 EN3 U3 RT9018B-18GSP 3 4 VDD VOUT 6 5 NC 1 PGOOD 2 EN ADJ 7 (PAD) 8 9 R40 100k R41 23.7k 1% R50 47k 1% VDD_1V2 C23 10μF R43 100kΩ C11 33nF Optional 1.2V generation (LPDDR2 memory case) 7

In this schematic, the power input ranges from 3.5V to 5.5V. The lower limit (3.5V) is set by the need to generate a 3.3V voltage () to feed some of the empu rails. supplies a linear low dropout regulator (U1) to make the voltage and a DCDC buck regulator (U2) to make the VDD_1V8 voltage. In designs embedding an LPDDR2 memory, an optional VDD_1V2 supply channel can be built from the VDD_1V8 rail with a low input voltage low dropout regulator (U3). Low-cost discretes are used to control the regulators enable pins (EN) and the NRST signal of the SAMA5D4 device. As demonstrated in the following, this schematic ensures proper supply sequencing and reset assertion during power-up and power-down phases. This power supply is designed to be controlled by the empu Shutdown Controller (SHDWC) and its SHDN pin. Refer to the section Shutdown Controller (SHDWC) in the SAMA5D4 datasheet for a complete description. In summary, SHDN is high when the empu is running, and SHDN is low when the empu goes to Backup mode or to OFF mode. The SHDN pin defaults to 1 (VDDBU level) when VDDBU is first applied. Figure 2-2 shows a typical application timing diagram and in particular the use of the Shutdown Controller. Figure 2-2. Typical Application Timing Diagram VDDBU (2.0V Regulated) Software Shutdown routine with shutdown command App. Status OFF Supply Start. Processor Reset Application is running... Application is in Backup Mode. RTC is running... Supply Start. Proc. Reset Application is running... SHDN (VDDBU level) Backup mode exit upon wake-up event (e.g., RTC alarm) Wake-Up event (e.g WKUP0) VDD_1V8 VDD_1V2 (if needed) nrst ~40 ms ~40 ms 8

2.2 Wake-Up and Shutdown Description 2.2.1 Wake-Up Description Figure 2-3 shows the typical wake-up waveforms of the basic reference schematic power supply. In the left-hand image, upon a wake-up event (not shown here), the processor pulls the SHDN pin high (VDDBU level 2.0V) and exits Backup mode. SHDN is applied through Q1 and Q2 to the enable pin of U1. The delay between SHDN and the start of regulator U1 is tuned with the (R44 + R45) / C15 network (here about 2ms, shown in the right-hand image). U1 starts regulating the output to 3.3V which enables the U2 regulator through the R48 / C18 delay network (here about 5ms). When applicable, regulator U3 is started by VDD_1V8 presence through the R43 / C11 delay network (here about 3ms). When VDD_1V8 rises, SAMA5D4 s internal VCCCORE LDO regulator starts to regulate VCCCORE to 1.2V (See right-hand figure). During this startup phase, the processor is held in reset (NRST low) with a delayed version of the PGOOD (powergood) output of U1. The delay network is made by (R56 / C12), here about 35ms. Q4 / Q5 / R56 / C13 shape the slowly rising PG33 signal. The resistor ladder R58 / R59 / R60 makes a 2V level reset signal (NRST) for the SAMA5D4 device and a generic 3.3V reset signal (NRST_3V3) for other components on the board. Figure 2-3. Wake-up Waveforms 9

2.2.2 Shutdown Description Figure 2-4 shows the typical shutdown waveforms of the reference schematic power supply. In the left-hand image, upon a shutdown request in the Shutdown Control register (SHDW_CR), the processor pulls the SHDN pin low and enters Backup mode. NRST is almost immediately pulled low through Q1, Q2 and Q3. The delay between the SHDN falling edge and the NRST signal assertion is less than 10µs and depends on the R54-C STARTB delay. C STARTB is a sum of parasitic capacitances at node STARTB (Q1 s drain capacitance, Q2 and Q3 s gates capacitances). After the R45 / C15 delay (about 100µs as depicted in the right-hand image), the enable pin of U1 falls. U1 stops and discharges its output capacitor through its internal discharge resistor. When falls, it discharges C18 through D1 and C11 and D2. The enable pins of U2 and U3 are pulled low, thus stopping these regulators. Figure 2-4. Shutdown Waveforms 10

3. Variations from the Reference Schematic 3.1 Applications Without Backup Battery To start the power supply described in Figure 2-1, the SHDN output of the SAMA5D4 must be set to a high level. The SHDN pin, which is part of the VDDBU power domain of the Atmel device, defaults to a high level when VDDBU is applied for the first time, thus ensuring a safe first start-up of the application. If VDDBU is not built from an always-on source (like a battery), it is convenient to regulate VDDBU voltage from the input power source () rather than from one output of the power supply. This way, the SHDN pin and, more generally, the Shutdown Controller are properly supplied before the power supply starts and after the shutdown command. Figure 3-1. Applications Without Backup Battery Atmel SAMA5D4x REG 2 VDD_1V8 VCCCOREx VDDIODDR VDDCORE Core Regulator VDDUTMIC VDDPLLA REG 1 VDDIOP VDDIOM VDDOSC VDDUTMII VDDANA 100R VDDFUSE SHDN SHDN NRST NRST 2.0V LDO VDDBU (e.g. TLV431A) 3.2 Input Power-Fail Detection It is possible to add an input power-fail detection circuit to the basic reference schematic depicted in Figure 2-1. The principle, described in Figure 3-2, is to monitor the input voltage and to warn the processor with an interrupt in case of power loss. The Fast Interrupt (FIQ) input or any I/O configured as an interrupt input may be used. Upon this interrupt request, a software power- off sequence is started during which some data storage and/or service shutdown may be performed depending on the remaining ON time. This power-off sequence then ends by setting the bit SHDW in SHDW_CR. The SHDN pin falls down to 0 which turns off the power supply, as described in Section 2.2.2 Shutdown Description on page 10. 11

Figure 3-2. Power Loss Management Principle Atmel SAMA5D4x REG 2 VDD_1V8 VCCCOREx VDDIODDR VDDCORE Core Regulator VDDUTMIC VDDPLLA REG 1 VDDIOP VDDIOM VDDOSC VDDUTMII VDDANA 100R VDDFUSE SHDN SHDN Input Power Fail Detector NRST NRST FIQ or PIO in IRQ mode or Battery 2.0V LDO VDDBU To monitor the input voltage, several solutions are possible depending on available resources at system level. (e.g., a system with a voltage reference on-board only requires an additional voltage comparator). Figure 3-3 shows one possible implementation using an integrated voltage monitor circuit. Figure 3-3. Input Power-Fail Detection Examples U4 NCP302 3 2 VCC 1 RSTB R2 10k FIQ or PIO (IRQ mode) 12

3.3 Discrete Components Selection The discrete components listed in this application note are given as implementation examples. They are not strong recommendations. The reader may adapt the presented schematics to his specific needs and still keep the basic principles described in the previous sections. As the focus of this application note is the solution cost, only low-cost components are selected. This may lead to over-sized components compared to the real application need because they give the best price in this particular case. While cost and ease of procurement are the primary criteria for component selection, other criteria have to be considered to select other types of components: Regulators: Devices should feature an enable input and a power-good output as they ease the design of the power sequencing and reset generation circuits. NMOS transistors: Low threshold voltage (< 2V) devices are best to ensure safe commutation in all cases (VDDBU is regulated to 2V). Diodes: Any general-purpose, small signal device with a low reverse current specification (<20nA at 20V and 25 C) is suitable. 13

X ARM Connected Logo X X X X X 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, by 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, WITHOUT 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, automotive 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 connection 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 operation of nuclear facilities and weapons systems. Atmel products are not designed nor intended for use in military or aerospace applications or environments unless specifically designated by Atmel as military-grade. Atmel products are not designed nor intended for use in automotive applications unless specifically designated by Atmel as automotive-grade.