Understanding the new '5xx Integrated Power Management Module (PMM) Stefan Schauer

Size: px
Start display at page:

Download "Understanding the new '5xx Integrated Power Management Module (PMM) Stefan Schauer"

Transcription

1 Understanding the new '5xx Integrated Power Management Module (PMM) Stefan Schauer 6/5/ Agenda Introduction into the PMM System Technical Data, specified Values Software controlled PMM configuration Power considerations System Protection Summary 2 1

2 Power Management Module (PMM) 5xx-Core (CPU, Memory, ) uses a low voltage can t accept the higher voltage range required at system level (Unlike pre-5xx) Therefore an internal LDO generates V CORE rail from DVcc Modules reside primarily in DVcc or V CORE domains DVcc: V (Same input range as 2xx/4xx) V CORE : System-programmable to 1.35V/1.55V/1.75V/1.85V according to MCLK requirements Only external Capacitor is required for V CORE (470nF) 3 PMM Highlights PMM has sub-units that provide supervision and monitoring Supervision generates POR if low-voltage event occurs Monitoring provides interrupts on event occurrence VCC is the high-side of LDO, V CORE is low-side Still have zero-power BOR, similar to 4xx Accurate voltage supervision for cost of 100nA! 4 2

3 PMM Supervision Features DVCC and V CORE both have: Programmable supervision/monitoring (SVS/SVM) levels Software-selectable POR and power-fail conditions SVM (Supply Voltage Monitor) Generates interrupt if voltage goes above/below programmable threshold Applies to both DVcc and V CORE SVS (Supply Voltage Supervisor) Generates POR if voltage goes below programmable threshold Applies to both DVcc and V CORE BOR (BrownOut Reset) Minimum V CORE threshold reset Less precision than SVS, but also less power 5 BOR / POR / PUC BOR Resets all SFR bits associated with BOR [-0,-1] POR Resets all SFR bits associated with POR (-0,-1) PUC Resets all SFR bits associated with PUC -0,-1 6 3

4 5xx Operational Modes LPM0/1/2/3/4 are the same as previous families LPM5 Same as LPM4, except LDO/core are powered down RAM/register contents are not retained Wakeup with RST/NMI pulse Future 5xx Devices will also get wakeup for Port pins 7 Supervision/Monitoring Flags automatically set/cleared according to rail state SVM, SVS, BOR are working hand in hand POR event generated as well 8 4

5 Agenda Introduction into the PMM System Technical Data, specified Values Software controlled PMM configuration Power considerations System Protection Summary 9 High side SVS/SVM The high side SVS/SVM is used for system voltage observation SVM provides an early warning and gives the system some time to go into a safe state Shut down critical tasks Reduce current consumption so that the system may recover Save parameters Default operation: SVS H on in Active and LPM0 mode SVS H off in LPM2/3/ Min/Max Typ DVcc(Min) SVS- SVS+ SVM SVS- SVS+ SVM SVS- SVS+ SVM SVS- SVS+ SVM Vcore = 0 Vcore = 1 Vcore = 2 Vcore =

6 Low side SVS/SVM The low side SVS/SVM is mainly used safe change of V CORE SVM generates flag to indicate when the V CORE level is sufficient high for desired MCLK frequency SVS could be used to reset the system in critical applications and ensure only proper execution of instructions Default operation: SVS L on in Active and LPM0 mode SVS L off in LPM2/3/ Min/Max 1.8 Typ DVcc(Min) SVS- SVS+ SVM SVS- SVS+ SVM SVS- SVS+ SVM SVS- SVS+ SVM Vcore = 0 Vcore = 1 Vcore = 2 Vcore = 3 11 BOR / POR / PUC Sources BOR Sources: Power on / Brownout RST/NMI Security violation (protected Memory) Software (Bit in PMM) LPM5 wake up POR Sources: SVS low/high Software (Bit in PMM) PUC Sources: WDT Key Violation (WDT, Flash, PMM, ) Fetch out of Peripheral Area Software (Bit in PMM) 12 6

7 LDO for V CORE The LDO supplies the required current for the CPU and the digital parts of the device. LDO is trimmed for optimized power consumption Switched mode is automatically used in Low Power modes to further reduce the power consumption in standby Note: It is not allowed to use the V CORE LDO for application purposes!! 13 PMMCOREV Levels Most applications can operate at lowest setting, with no need to alter default PMM configurations 14 7

8 Typical Voltage Profile on V CORE Phase 1: 0sec - 25sec CPU : switch between LPM and Active mode Phase 2: 25sec - 55sec ADC measurements are done Phase 3: 55sec - 90sec CPU active all the time LDO continuously adapts to the power required by the system 15 Agenda Introduction into the PMM System Technical Data, specified Values Software controlled PMM configuration Power considerations System Protection Summary 16 8

9 Access to PMM registers (Password) PMM Registers are password protected!!! General Password is located in the PMMCTL register Open PMM with PMMCTL_H PMMCTL_H = 0xA5; 0xA5; Lock PMM with PMMCTL_H PMMCTL_H = 0x00; 0x00; When PMM is open all PMM registers are open for write access Also for clearing the PMM interrupt flags the PMM needs to be opened (except read of IV Register (e.g. SYSSNIV) 17 Recommend Software flow to change V CORE Ensures a safe transition of the V CORE voltage during operation mode. Set and check the required V CORE Voltage before increasing the CPU frequency Increase/decrease V CORE only step by step Voltage SVM L V CORE SVS L time 18 9

10 Example: Increasing MCLK from Default to 20MHz For MCLK>12MHz, must increase V CORE to support higher speed Unlock PMM registers Set SVM to minimum threshold for chosen speed Change LDO output Poll SVM output until voltage OK Disable SVM (if not used) and lock PMM registers PMMCTL0_H PMMCTL0_H = = 0xA5; 0xA5; Open Open PMM PMM module module PMMCTL0 PMMCTL0 = = 0xA500 0xA level; level; Set Set VCore VCore SVSMLCTL SVSMLCTL = = SVMLE SVMLE + + (level (level * * SVSMLRRL0); SVSMLRRL0); Set Set SVM SVM new new Level Level while while ((PMMIFG ((PMMIFG & & SVSMLDLYIFG) SVSMLDLYIFG) == == 0); 0); Wait Wait till till SVM SVM is is settled settled (Delay) (Delay) PMMIFG PMMIFG &= &= ~(SVMLVLRIFG ~(SVMLVLRIFG + + SVMLIFG); SVMLIFG); Clear Clear already already set set flags flags if if ((PMMIFG ((PMMIFG & & SVMLIFG)) SVMLIFG)) while while ((PMMIFG ((PMMIFG & & SVMLVLRIFG) SVMLVLRIFG) == == 0); 0); Wait Wait till till level level is is reached reached PMMCTL0_H PMMCTL0_H = = 0x00; 0x00; Lock Lock PMM PMM module module registers registers Change Change DCO DCO speed speed here here 19 Use of provided Macros and Function Make your life easy by using the provided functions for setting the PMM SetVCore SetVCore (3); (3); Handles Handles Vcore Vcore up up and and down down SetVCoreUp SetVCoreUp (1); (1); Handles Handles Vcore Vcore up up SetVCoreDown SetVCoreDown (0); (0); Handles Handles Vcore Vcore down down 20 10

11 Available Flags and interrupt sources Status flags from SVS/SVM on low and high side are available SVS/SVM provides a Delay interrupt flags which shows that the SVS/SVM has settled after a change (easier software handling) Separate Flags for Resets (BOR, POR, PUC) and their sources are available to allow individual power up handling Different system initialization, e.g. RTC Power up System Violation error 21 Interrupt Vector Generator Registers interrupt interrupt void void SYSNMI_ISR(void) SYSNMI_ISR(void) { PMMCTL0_H PMMCTL0_H = 0xA5; 0xA5; Open Open PMM PMM switch( switch( even_in_range(syssniv, 0x12)) 0x12)) { case case 0x00: 0x00: break; break; No No Int. Int. pending pending case case 0x02: 0x02: msvmlifg_handler(); break; break; case case 0x04: 0x04: msvmhifg_handler(); break; break; case case 0x12: 0x12: msvmhvlrifg_handler(); break; break; default: default: break; break; } PMMCTL0_H PMMCTL0_H = 0x00; 0x00; Lock Lock PMM PMM } 22 11

12 Agenda Introduction into the PMM System Technical Data, specified Values Software controlled PMM configuration Power considerations System Protection Summary 23 Performance Settings SVS H, SVS L, SVM H, SVM L each operate in fast or slow modes (individually controllable) Fast = continuous operation Slow = slower duty cycle driven (switched mode) Default Slower response to under-voltage Very fast under-voltage spikes may go uncaught (proper decoupling necessary to catch very fast under-voltage spikes) Mode Fast Slow Response time ~1us ~150us / 200us Current draw 20uA 100nA 24 12

13 SVS/SVM Performance Control Mode Slow/Fast Mode could be controlled by software or automatically Default is Slow mode In Automatic mode the operation mode switches between the different performance levels of the SVS/SVM Slow: Switched mode of SVS/SVM (slower reaction) Fast: full-performance mode Manual Mode Automatic Mode 25 Current consumption of separate functions SVS high side SVM high side SVS low side SVM low side LDO BOR Off 0 na 0 na 0 na 0 na Slow 100 na 100 na 100 na 100 na ~ 2 ua Full 20 ua 20 ua 20 ua 20 ua 0 na (incl. Active/LPMx Modes) Typical Values 26 13

14 Power Considerations of PMM Modes The default setting (slow mode) gives a high reliability with low power consumption. Applications requiring highest power reliability could switch the SVS into full performance mode - > continuous observation Application less sensitive may switch off the SVS/SVM to get the lowest possible power consumption 27 Low Power Modes with LDO switched mode No high current is required at the LPM Decoupling could buffer all the required current peaks V CORE is increased automatically to give more headroom. For critical application (esp. high Temperature) keep the quality of the Capacitors in mind

15 Low Power Mode 5 (LPM5) LPM5 is LPM4 (same as in 1xx/2xx/4xx) + regulator off More gates = more leakage, therefore LPM4 current higher F449 (60K/2K) 25C, typ: 0.1uA FG4619 (120K/4K) 25C, typ: 0.4uA F5438 (256K/16K) 25C, 3V, typ, PMMCOREV=0: 1.0uA LPM5 shuts down regulator (and core): 0.1uA (25C, typ) No RAM retention Wake up by RST or one of a few I/Os (F5438 is RST only) I/Os become hi-z inputs Wake up issues a BOR reset, so execution starts over Code must handle accordingly! 29 Entering LPM5 LDO operates in all modes except LPM5 LDO shuts off when LPM4 entered while PMMREGOFF bit set (entering LPM5) Active clock request delays LDO shutdown Interrupt occurring between PMMREGOFF=1 & entering LPM4 clears PMMREGOFF Especially possible if clock request delays LPM4 entry Even possible with no clock request unless handled properly! disable_interrupt(); Clears GIE GIE PMMCTL_H = 0xA5; 0xA5; Open Open PMMM PMMM PMMCTL_L = = PMMREGOFF; Disable LDO LDO on on LPM4 LPM4 entry entry bis_sr_register(lpm4+gie); Sets Sets GIE GIE while while entering LPM5 LPM

16 Agenda Introduction into the PMM System Technical Data, specified Values Software controlled PMM configuration Power considerations System Protection Summary 31 Protect from changing the PMM settings A bit in the SYSCTL registers allows the PMM module to be locked, preventing write access After setting this bit there is no user write access allowed to the PMM SYSCTL = SYSPMMPE; PMM could still be accessed via the protected BSL segments Reset of the PMM protection is only possible with BOR 32 16

17 I/O Port Behavior in LPM 5 All I/Os become hi-z inputs when regulator shuts down On F5438, wakeup only from RST; edges on I/Os have no effect All registers - including port registers - get reset when exiting LPM5 33 Summary The PMM module is able to provide the required power at the right time Default system configuration will meet most of the application requirements But for higher system security or lower power consumption the system could be modified by Software PMM provides the highest system security ever available in an MSP

18 Thank you 35 18

5xx Active & Low Power Mode Operation

5xx Active & Low Power Mode Operation 5xx Active & Low Power Mode Operation 38 Lab 2: ULP Operation Lab Goals Learn ULP Best Practices Learn & understand how to configure two key modules of the 5xx to achieve ultra-low power operation. Power

More information

Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be

Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be covered in this presentation. 1 Please note that this

More information

063[[[0LFURFRQWUROOHUV /RZ3RZHU0RGHV &3($GYDQFHG0LFURFRPSXWHU7HFKQLTXHV 'U(PLO-RYDQRY /RZ3RZHU. Power: A First-Class Architectural Design Constraint

063[[[0LFURFRQWUROOHUV /RZ3RZHU0RGHV &3($GYDQFHG0LFURFRPSXWHU7HFKQLTXHV 'U(PLO-RYDQRY /RZ3RZHU. Power: A First-Class Architectural Design Constraint 063[[[0LFURFRQWUROOHUV /RZ3RZHU0RGHV &3($GYDQFHG0LFURFRPSXWHU7HFKQLTXHV 'U(PLO-RYDQRY MSP430 low power concepts 1 /RZ3RZHU Power: A First-Class Architectural Design Constraint Trevor Mudge, IEEE Computer,

More information

Hello, and welcome to this presentation of the STM32 Reset and Clock Controller.

Hello, and welcome to this presentation of the STM32 Reset and Clock Controller. Hello, and welcome to this presentation of the STM32 Reset and Clock Controller. 1 The RCC controller integrated inside STM32 products manages system and peripheral clocks. STM32F7 devices embed two internal

More information

Team 3. By: Miriel Garcia. Microcontrollers/ TI MSP430F5438A. ECE 480 senior Design. Application Note 4/3/15

Team 3. By: Miriel Garcia. Microcontrollers/ TI MSP430F5438A. ECE 480 senior Design. Application Note 4/3/15 Microcontrollers/ TI MSP430F5438A ECE 480 senior Design Team 3 Application Note By: Miriel Garcia 4/3/15 Abstract Microcontrollers are key components on today s modern world. These devices have the ability

More information

APPLICATION NOTE 655 Supervisor ICs Monitor Battery-Powered Equipment

APPLICATION NOTE 655 Supervisor ICs Monitor Battery-Powered Equipment Maxim > Design Support > Technical Documents > Application Notes > Automotive > APP 655 Maxim > Design Support > Technical Documents > Application Notes > Microprocessor Supervisor Circuits > APP 655 Keywords:

More information

Section 8. Reset. Reset HIGHLIGHTS. This section of the manual contains the following topics:

Section 8. Reset. Reset HIGHLIGHTS. This section of the manual contains the following topics: Section 8. HIGHLIGHTS This section of the manual contains the following topics: 8.1 Introduction... 8-2 8.2 Clock Source Selection at... 8-5 8.3 POR: Power-on... 8-5 8.4 External (EXTR)... 8-7 8.5 Software

More information

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction. AVR XMEGA TM Product Introduction 32-bit AVR UC3 AVR Flash Microcontrollers The highest performance AVR in the world 8/16-bit AVR XMEGA Peripheral Performance 8-bit megaavr The world s most successful

More information

Lecture 2 ECEN 4517/5517

Lecture 2 ECEN 4517/5517 Lecture 2 ECEN 4517/5517 Upcoming assignments due: Exp. 1 final report due in D2L dropbox by 5:00 pm Friday Feb. 2 Exp. 3 part 1 prelab assignment due in D2L dropbox by Tuesday Feb. 6 at noon This week:

More information

Lecture 2 ECEN 4517/5517

Lecture 2 ECEN 4517/5517 Lecture 2 ECEN 4517/5517 Upcoming assignments due: Exp. 1 final report due in D2L dropbox by 5:00 pm Friday Feb. 1 Exp. 3 part 1 prelab assignment due in D2L dropbox by Tuesday Feb. 5 at noon This week:

More information

Section 9. Watchdog Timer (WDT) and Power-Saving Modes

Section 9. Watchdog Timer (WDT) and Power-Saving Modes Section 9. Watchdog Timer (WDT) and Power-Saving Modes HIGHLIGHTS This section of the manual contains the following topics: 9.1 Introduction... 9-2 9.2 Power-Saving Modes... 9-2 9.3 Watchdog Timer (WDT)...

More information

2006 Mixed Signal Products SLAU049F

2006 Mixed Signal Products SLAU049F User s Guide 2006 Mixed Signal Products SLAU049F Related Documentation From Texas Instruments Preface About This Manual This manual discusses modules and peripherals of the MSP430x1xx family of devices.

More information

Intro. MEB/ Texas Instruments Inc, Slide 1

Intro. MEB/ Texas Instruments Inc, Slide 1 Intro MEB/0404 2004 Texas Instruments Inc, Slide 1 MSP430 Agenda Core Architecture Integrated Peripherals Device Roadmap Ideal Applications Development Tools MEB/0404 2004 Texas Instruments Inc, Slide

More information

8. Power Management and Sleep Modes

8. Power Management and Sleep Modes 8. Power Management and Sleep Modes 8.1 Features Power management for adjusting power consumption and functions Five sleep modes Idle Power down Power save Standby Extended standby Power reduction register

More information

Section 10. Power-Saving Features

Section 10. Power-Saving Features Section 10. Power-Saving Features HIGHLIGHTS This section of the manual contains the following major topics: 10.1 Introduction... 10-2 10.2 Microcontroller Clock Manipulation... 10-2 10.3 Instruction-Based

More information

IV B.Tech. I Sem (R13) ECE : Embedded Systems : UNIT -2 1 UNIT 2

IV B.Tech. I Sem (R13) ECE : Embedded Systems : UNIT -2 1 UNIT 2 IV B.Tech. I Sem (R13) ECE : Embedded Systems : UNIT -2 1 UNIT 2 1. Block diagram of MSP430x5xx series micro-controller --------------------- 1 2. CPU architecture of MSP430x5xx ------------------------------------------------

More information

Low Power System Techniques

Low Power System Techniques June, 2010 Low Power System Techniques FTF-AUT-F0408 Carl Culshaw System Architect Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package,

More information

Designing for Ultra-Low Power with MSP430

Designing for Ultra-Low Power with MSP430 Designing for Ultra-Low Power with MSP430 Christian Hernitscheck MSP430 FAE Europe Texas Instruments 2006 Texas Instruments Inc, Slide 1 Agenda Introduction to Ultra-Low Power Looking for Ultra-Low Power

More information

University of Texas at El Paso Electrical and Computer Engineering Department. EE 3176 Laboratory for Microprocessors I.

University of Texas at El Paso Electrical and Computer Engineering Department. EE 3176 Laboratory for Microprocessors I. University of Texas at El Paso Electrical and Computer Engineering Department EE 3176 Laboratory for Microprocessors I Fall 2016 LAB 03 Low Power Mode and Port Interrupts Goals: Bonus: Pre Lab Questions:

More information

MSP430xxxx Microcontrollers Low Power Modes

MSP430xxxx Microcontrollers Low Power Modes MSP430xxxx Microcontrollers Low Power Modes Modes à basse consommation 1 Power is a priority architectural design constraint Why worry about power? Battery life in portable and mobile platforms Power consumption

More information

Engineer-to-Engineer Note

Engineer-to-Engineer Note Engineer-to-Engineer Note EE-388 Technical notes on using Analog Devices products and development tools Visit our Web resources http://www.analog.com/ee-notes and http://www.analog.com/processors or e-mail

More information

Let s first take a look at power consumption and its relationship to voltage and frequency. The equation for power consumption of the MCU as it

Let s first take a look at power consumption and its relationship to voltage and frequency. The equation for power consumption of the MCU as it 1 The C8051F91x/0x product family is designed to dramatically increase battery lifetime which is the number one requirement for most battery powered applications. The C8051F91x has the industry s lowest

More information

MM912_634, Silicon Analog Mask (M91W) / Digital Mask (N53A) Errata

MM912_634, Silicon Analog Mask (M91W) / Digital Mask (N53A) Errata Freescale Semiconductor, Inc. Chip Errata Document Number: MM912_634ER Rev. 7.0, 4/2015 MM912_634, Silicon Analog Mask (M91W) / Digital Mask (N53A) Errata This errata document applies to the MM912_634

More information

Lab 4 Interrupts ReadMeFirst

Lab 4 Interrupts ReadMeFirst Lab 4 Interrupts ReadMeFirst Lab Folder Content 1) ReadMeFirst 2) Interrupt Vector Table 3) Pin out Summary Objectives Understand how interrupts work Learn to program Interrupt Service Routines in C Language

More information

For reference only Refer to the latest documents for details

For reference only Refer to the latest documents for details STM32F3 Technical Training For reference only Refer to the latest documents for details STM32F37x Specific Features/ peripherals Sigma delta analog to digital converter (SDADC) SDADC introduction (1/2)

More information

MSP430F149 P3.4/UTXD0 P3.5/URXD0 P1.5 P1.6 P1.7 MSP430F149 P1.0 P5.4 P5.3 P5.2 P5.1. Figure B-1. BSL Replicator Block Diagram

MSP430F149 P3.4/UTXD0 P3.5/URXD0 P1.5 P1.6 P1.7 MSP430F149 P1.0 P5.4 P5.3 P5.2 P5.1. Figure B-1. BSL Replicator Block Diagram Appendix B Appendix B MSP430 BSL Replicator Author: Greg Morton, MSP430 Applications B.1 BSL Replicator Overview The BSL Replicator application, executing on a host MSP430F149 device, uses the BSL protocol

More information

ECE2049: Embedded Computing in Engineering Design C Term Spring 2019 Lecture #22: MSP430F5529 Operating Mode & the WDT

ECE2049: Embedded Computing in Engineering Design C Term Spring 2019 Lecture #22: MSP430F5529 Operating Mode & the WDT ECE2049: Embedded Computing in Engineering Design C Term Spring 2019 Lecture #22: MSP430F5529 Operating Mode & the WDT Reading for Today: User's Guide 1.4, Ch 16 Reading for Next Class: Review all since

More information

AM18X5. 1. Introduction. 2. System Power Control Applications. Application Note. AM18X5 Family System Power Management

AM18X5. 1. Introduction. 2. System Power Control Applications. Application Note. AM18X5 Family System Power Management Application Note Family System Power Management 1. Introduction In addition to fundamentally low power RTC operation, the Ambiq includes the capability to effectively manage the power of other devices

More information

Hibernate. XMC microcontrollers September 2016

Hibernate. XMC microcontrollers September 2016 Hibernate XMC microcontrollers September 01 Agenda 1 Key feature: real time clock and retention memory Key feature: low power analog comparator Key feature: flexible wake-up configuration Application examples

More information

2006 Mixed Signal Products SLAU049F

2006 Mixed Signal Products SLAU049F User s Guide 2006 Mixed Signal Products SLAU049F IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements,

More information

Section 10. Watchdog Timer and Power Saving Modes

Section 10. Watchdog Timer and Power Saving Modes Section 10. Watchdog Timer and Power Saving Modes HIGHLIGHTS This section of the manual contains the following topics: 10.1 Introduction... 10-2 10.2 Power Saving Modes... 10-2 10.3 Sleep Mode...10-2 10.4

More information

Hacettepe University

Hacettepe University MSP430 Teaching Materials Week 5 FUNDAMENTALS OF INTERFACING AND TIMERS for MSP430 Hacettepe University Elements in Basic MCU Interface Power Source Feeds CPU and peripherals Clock Oscillators System synchronization

More information

Application Report. 1 Hardware Description. John Fahrenbruch... MSP430 Applications

Application Report. 1 Hardware Description. John Fahrenbruch... MSP430 Applications Application Report SLAA309 June 2006 Low-Power Tilt Sensor Using the MSP430F2012 John Fahrenbruch... MSP430 Applications ABSTRACT The MSP430 family of low-power microcontrollers are ideal for low-power

More information

PIC Microcontroller Introduction

PIC Microcontroller Introduction PIC Microcontroller Introduction The real name of this microcontroller is PICmicro (Peripheral Interface Controller), but it is better known as PIC. Its first ancestor was designed in 1975 by General Instruments.

More information

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices, Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices, CISC and RISC processors etc. Knows the architecture and

More information

Section 8. Reset HIGHLIGHTS. Reset. This section of the manual contains the following major topics:

Section 8. Reset HIGHLIGHTS. Reset. This section of the manual contains the following major topics: Section 8. HIGHLIGHTS This section of the manual contains the following major topics: 8.1 Introduction... 8-2 8.2 Control Registers...8-3 8.3 System...8-6 8.4 Using the RCON Status Bits... 8-11 8.5 Device

More information

Remote Keyless Entry In a Body Controller Unit Application

Remote Keyless Entry In a Body Controller Unit Application 38 Petr Cholasta Remote Keyless Entry In a Body Controller Unit Application Many of us know this situation. When we leave the car, with a single click of a remote control we lock and secure it until we

More information

STM8L and STM32 L1 series. Ultra-low-power platform

STM8L and STM32 L1 series. Ultra-low-power platform STM8L and STM32 L1 series Ultra-low-power platform 8-bit and 32-bit MCU families 2 Flash (bytes) 2 M 1 M 128 K 16 K 8-bit Core STM8S Mainstream STM8A F and STM8AL Automotive STM8L Ultra-low-power 32-bit

More information

Reset and clock control (RCC)

Reset and clock control (RCC) Reset and clock control (RCC) RESET Sources 86 System RESET Resets all registers except some RCC registers, PWR registers and Backup domain Sources Low level on the NRST pin (External Reset) WWDG event

More information

Microprocessors & Interfacing

Microprocessors & Interfacing Lecture Overview Microprocessors & Interfacing Interrupts (I) Lecturer : Dr. Annie Guo Introduction to Interrupts Interrupt system specifications Multiple sources of interrupts Interrupt priorities Interrupts

More information

Programming With the MSP430AFE2xx Family and the MSP430i20xx Family

Programming With the MSP430AFE2xx Family and the MSP430i20xx Family Application Report Programming With the MSP430AFE2xx Family and the MSP430i20xx Family Tyler Witt... MSP430 Applications ABSTRACT This application report enables the easy incorporation of the MSP430AFE2xx

More information

STM32L4 System operating modes

STM32L4 System operating modes STM32L4 System operating modes Typical application profile 2 Tperiod Tperiod I DD Process IRQ ACTIVE IRQ ACTIVE OFF STARTUP INITIALIZATION TASKS Tasks TASKS INACTIVE INACTIVE INACTIVE Application phases:

More information

Hibernation Module. Introduction. Agenda

Hibernation Module. Introduction. Agenda Hibernation Module Introduction In this chapter we ll take a look at the hibernation module and the low power modes of the M4F. The lab will show you how to place the device in sleep mode and you ll measure

More information

Low Power Design. Renesas Electronics America Inc Renesas Electronics America Inc. All rights reserved.

Low Power Design. Renesas Electronics America Inc Renesas Electronics America Inc. All rights reserved. Low Power Design Renesas Electronics America Inc. Renesas Technology & Solution Portfolio 2 Microcontroller and Microprocessor Line-up 2010 2012 32-bit 8/16-bit 1200 DMIPS, Superscalar Automotive & Industrial,

More information

TouchCore351-ML16IP. Capacitive Touch Sensor Controller

TouchCore351-ML16IP. Capacitive Touch Sensor Controller Total Solution of MCU TouchCore351-ML16IP Capacitive Touch Sensor Controller CORERIVER Semiconductor reserves the right to make corrections, modifications, enhancements, improvements, and other changes

More information

RL78 Ultra Low Power MCU Lab

RL78 Ultra Low Power MCU Lab RL78 Ultra Low Power MCU Lab Renesas Electronics America Inc. Renesas Technology & Solution Portfolio 2 Renesas Technology & Solution Portfolio 3 Microcontroller and Microprocessor Line-up 2010 2012 32-bit

More information

MSP430 Teaching Materials

MSP430 Teaching Materials MSP430 Teaching Materials Lecture 11 Flash Programming & TLV Structure Texas Instruments t Incorporated University of Beira Interior (PT) Pedro Dinis Gaspar, António Espírito Santo, Bruno Ribeiro, Humberto

More information

M68HC08 Microcontroller The MC68HC908GP32. General Description. MCU Block Diagram CPU08 1

M68HC08 Microcontroller The MC68HC908GP32. General Description. MCU Block Diagram CPU08 1 M68HC08 Microcontroller The MC68HC908GP32 Babak Kia Adjunct Professor Boston University College of Engineering Email: bkia -at- bu.edu ENG SC757 - Advanced Microprocessor Design General Description The

More information

Section 28. WDT and SLEEP Mode

Section 28. WDT and SLEEP Mode Section 28. WDT and SLEEP Mode HIGHLIGHTS This section of the manual contains the following major topics: 28 28.1 Introduction... 28-2 28.2 Control Register... 28-3 28.3 Watchdog Timer (WDT) Operation...

More information

AN2061 APPLICATION NOTE

AN2061 APPLICATION NOTE APPLICATION NOTE EEPROM Emulation with ST10F2xx Description External EEPROMs are often used in automotive applications to store adaptative/evolutive data. On the other hand, the Microcontroller used in

More information

2002 Mixed Signal Products SLAU056B

2002 Mixed Signal Products SLAU056B User s Guide 22 Mixed Signal Products SLAU56B IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements,

More information

8051 Microcontroller

8051 Microcontroller 8051 Microcontroller The 8051, Motorola and PIC families are the 3 leading sellers in the microcontroller market. The 8051 microcontroller was originally developed by Intel in the late 1970 s. Today many

More information

M480 Series Errata Sheet

M480 Series Errata Sheet M480 Series Errata Sheet Errata Sheet for 32-bit NuMicro Family Document Information Abstract Apply to This errata sheet describes the functional problem known at the release date of this document. M480

More information

KL03 Product Brief Supports all KL03 devices

KL03 Product Brief Supports all KL03 devices Freescale Semiconductor Document Number:KL03PB Product Brief Rev 3, 07/2014 KL03 Product Brief Supports all KL03 devices 1 KL03 sub-family introduction The device is highly-integrated, market leading ultra

More information

AN116. Power Management Techniques and Calculation. Introduction. Key Points. Power Saving Methods. Reducing System Clock Frequency

AN116. Power Management Techniques and Calculation. Introduction. Key Points. Power Saving Methods. Reducing System Clock Frequency Power Management Techniques and Calculation 1. Relevant Devices This application note applies to the following devices: C8051F000, C8051F001, C8051F002, C8051F005, C8051F006, C8051F010, C8051F011, C8051F012,

More information

Lab 4: Interrupt. CS4101 Introduction to Embedded Systems. Prof. Chung-Ta King. Department of Computer Science National Tsing Hua University, Taiwan

Lab 4: Interrupt. CS4101 Introduction to Embedded Systems. Prof. Chung-Ta King. Department of Computer Science National Tsing Hua University, Taiwan CS4101 Introduction to Embedded Systems Lab 4: Interrupt Prof. Chung-Ta King Department of Computer Science, Taiwan Introduction In this lab, we will learn interrupts of MSP430 Handling interrupts in MSP430

More information

Low Power Design Michael Thomas, Applications Engineer

Low Power Design Michael Thomas, Applications Engineer Low Power Design Michael Thomas, Applications Engineer Class ID: CL01B Renesas Electronics America Inc. Michael Thomas (Applications Engineer) 5 years at Renesas Electronics RX200 Technical Support RTOS,

More information

Designing with Siliconix PC Card (PCMCIA) Power Interface Switches

Designing with Siliconix PC Card (PCMCIA) Power Interface Switches Designing with Siliconix PC Card (PCMCIA) Power Interface Switches AN716 Innovation in portable computer design is driven today by the need for smaller, lighter, and more energy-efficient products. This

More information

AN4749 Application note

AN4749 Application note Application note Managing low-power consumption on STM32F7 Series microcontrollers Introduction The STM32F7 Series microcontrollers embed a smart architecture taking advantage of the ST s ART- accelerator

More information

DS1238A MicroManager PIN ASSIGNMENT PIN DESCRIPTION V BAT V CCO V CC

DS1238A MicroManager PIN ASSIGNMENT PIN DESCRIPTION V BAT V CCO V CC MicroManager www.dalsemi.com FEATURES Holds microprocessor in check during power transients Halts and restarts an out-of-control microprocessor Warns microprocessor of an impending power failure Converts

More information

Power Consumption and Measurement of i.mx RT1020

Power Consumption and Measurement of i.mx RT1020 NXP Semiconductors Document Number: AN12204 Application Note Rev. 0, 06/2018 Consumption and Measurement of i.mx RT1020 1. Introduction This document discusses about the power consumption of i.mx RT1020.

More information

N76E003 Series Errata Sheet

N76E003 Series Errata Sheet N76E003 Series Errata Sheet Errata Sheet for 8-bit 8051 Family Rev. 1.01 - Dec. 6, 2017 Document Information Abstract Apply to This errata sheet describes the functional problems known at the release date

More information

RM331x Series Kbit Ultra-Low Power Non-volatile Serial Memory SPI Bus

RM331x Series Kbit Ultra-Low Power Non-volatile Serial Memory SPI Bus RM331x Series 32-256 Kbit Ultra-Low Power Non-volatile Serial Memory SPI Bus Features Advance Datasheet Memory array: 32-256Kbit EEPROM-compatible non-volatile serial memory Multiple supply voltages for

More information

Last Time. Making correct concurrent programs. Maintaining invariants Avoiding deadlocks

Last Time. Making correct concurrent programs. Maintaining invariants Avoiding deadlocks Last Time Making correct concurrent programs Maintaining invariants Avoiding deadlocks Today Power management Hardware capabilities Software management strategies Power and Energy Review Energy is power

More information

AN2202 Application note

AN2202 Application note Application note STR73x microcontroller power management Introduction This application note provides an overview of the STR73x power management features and gives some guidelines for using the low power

More information

Introducing STM32 L0x Series. April

Introducing STM32 L0x Series. April Introducing STM32 L0x Series April 2014 www.emcu.it 20- to 80pins 20- to 100pins 48- to 144pins Memory size (Bytes) ST s Ultra-low-power Continuum (1/2) 2 512K 256K 192K STM32L0 Cortex TM -M0+ STM32L1

More information

Section 9. Watchdog Timer (WDT)

Section 9. Watchdog Timer (WDT) Section 9. Watchdog Timer (WDT) HIGHLIGHTS This section of the manual contains the following major topics: 9.1 Introduction... 9-2 9.2 WDT Operation... 9-2 9.3 Register Maps...9-5 9.4 Design Tips... 9-6

More information

MACHINE CONTROL INSTRUCTIONS: 1. EI

MACHINE CONTROL INSTRUCTIONS: 1. EI Lecture-33 MACHINE CONTROL INSTRUCTIONS: 1. EI (Enable interrupts): The interrupt system is disabled just after RESET operation. There is an internal INTE F/F (Interrupt enable flipflop) which is reset

More information

Interrupts (I) Lecturer: Sri Notes by Annie Guo. Week8 1

Interrupts (I) Lecturer: Sri Notes by Annie Guo. Week8 1 Interrupts (I) Lecturer: Sri Notes by Annie Guo Week8 1 Lecture overview Introduction to Interrupts Interrupt system specifications Multiple Sources of Interrupts Interrupt Priorities Interrupts in AVR

More information

ED1021 I/O Expander with UART interface & analog inputs

ED1021 I/O Expander with UART interface & analog inputs Preliminary Highlights 4.5V 5.5V power supply range. 12 GPIOs. Up to 40mA maximum current in each output except GPIO8 (up to a total device current of 175mA). Most GPIOs can be an input to a 10bit ADC.

More information

BY25Q16A. Features. Boya Microelectronics Memory Series 16M BIT SPI NOR FLASH

BY25Q16A. Features. Boya Microelectronics Memory Series 16M BIT SPI NOR FLASH Boya Microelectronics Memory Series Features 16M BIT SPI NOR FLASH Serial Peripheral Interface (SPI) - Standard SPI:,,,, /WP, /HOLD - Dual SPI:,, IO0, IO1, /WP, /HOLD - Quad SPI:,, IO0, IO1, IO2, IO3 P8

More information

AT25PE40. 4-Mbit DataFlash-L Page Erase Serial Flash Memory ADVANCE DATASHEET. Features

AT25PE40. 4-Mbit DataFlash-L Page Erase Serial Flash Memory ADVANCE DATASHEET. Features 4-Mbit DataFlash-L Page Erase Serial Flash Memory Features ADVANCE DATASHEET Single 1.65V - 3.6V supply Serial Peripheral Interface (SPI) compatible Supports SPI modes 0 and 3 Supports RapidS operation

More information

2006 Mixed Signal Products SLAU144B

2006 Mixed Signal Products SLAU144B User s Guide 2006 Mixed Signal Products SLAU144B IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements,

More information

The purpose of this course is to provide an introduction to the RL78's flash features and archectecture including security features, code and data

The purpose of this course is to provide an introduction to the RL78's flash features and archectecture including security features, code and data 1 The purpose of this course is to provide an introduction to the RL78's flash features and archectecture including security features, code and data flash organization as well as self and external programming

More information

Emulation Tech Note 8 Using SdConfigEx

Emulation Tech Note 8 Using SdConfigEx Spectrum Digital Document Revision 0.01 Emulation Tech Note 8 Using SdConfigEx Document Revision 0.01 Jan 30, 2006 Spectrum Digital 1. Introduction 3 2. Features and Differences 3 3. Installation 4 4.

More information

How to get realistic C-states latency and residency? Vincent Guittot

How to get realistic C-states latency and residency? Vincent Guittot How to get realistic C-states latency and residency? Vincent Guittot Agenda Overview Exit latency Enter latency Residency Conclusion Overview Overview PMWG uses hikey960 for testing our dev on b/l system

More information

AS Channels Capacitive Touch Sensor IC From Santa Clara, United States of America

AS Channels Capacitive Touch Sensor IC From Santa Clara, United States of America ASI Competitor Equivalent A Competitor Equivalent B Volts Leading Performance: ESD HBM >8k Volts (Directly Applied to All IC Pins) Operating Temperature up to >+95 0 C Features Overview Analog and Digital

More information

AN3147 Application note

AN3147 Application note Application note STM8L family power management Introduction This document is intended for application designers who require a hardware implementation overview of low power modes in the STM8L product families.

More information

University of Texas at El Paso Electrical and Computer Engineering Department

University of Texas at El Paso Electrical and Computer Engineering Department University of Texas at El Paso Electrical and Computer Engineering Department EE 3176 Laboratory for Microprocessors I Fall 2016 LAB 07 Flash Controller Goals: Bonus: Pre Lab Questions: Familiarize yourself

More information

12 Push-Pull Outputs and 4 Inputs

12 Push-Pull Outputs and 4 Inputs EVALUATION KIT AVAILABLE MAX7326 General Description The MAX7326 2-wire serial-interfaced peripheral features 16 I/O ports. The ports are divided into 12 push-pull outputs and four input ports with selectable

More information

Advanced Microcontrollers Grzegorz Budzyń Lecture. 4: 16-bit. microcontrollers

Advanced Microcontrollers Grzegorz Budzyń Lecture. 4: 16-bit. microcontrollers Advanced Microcontrollers Grzegorz Budzyń Lecture 4: 16-bit microcontrollers Plan MSP430 family PIC24 family Introduction MSP430 TI microcontrollersportfolio Source: [1] TI microcontrollersportfolio Source:

More information

MSP430. More on MSP430

MSP430. More on MSP430 MSP430 More on MSP430 CodeComposer TI recently launched Code Composer Essentials v3. This IDE s latest version (version 3) supports all available MSP430 devices. The new features of CCE v3 include: - Free

More information

Clock and Fuses. Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar

Clock and Fuses. Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar Clock and Fuses Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar Reference WHY YOU NEED A CLOCK SOURCE - COLIN O FLYNN avrfreaks.net http://en.wikibooks.org/wiki/atmel_avr

More information

TDA General description. 2. Features and benefits. Multiple smart card slot interface IC

TDA General description. 2. Features and benefits. Multiple smart card slot interface IC Rev. 1 9 March 2010 Product data sheet 1. General description 2. Features and benefits The is a cost-effective, analog interface for addressing multiple smart card slots in a Point Of Sales (POS) terminal.

More information

DQ25Q128AL 1.8V 128M BIT SPI NOR FLASH SERIAL FLASH MEMORY SPECIFICATION

DQ25Q128AL 1.8V 128M BIT SPI NOR FLASH SERIAL FLASH MEMORY SPECIFICATION 1.8V 128M BIT SPI NOR FLASH SERIAL FLASH MEMORY SPECIFICATION REV. 1.0, Dec. 26, 2015 Contents CONTENTS 1. DESCRIPTION... 4 2. FEATURES... 4 3. PACKAGE TYPES... 5 4. GNAL DESCRIPTION... 7 4.1 INPUT/OUTPUT

More information

CPE 325: Embedded Systems Laboratory Laboratory #7 Tutorial MSP430 Timers, Watchdog Timer, Timers A and B

CPE 325: Embedded Systems Laboratory Laboratory #7 Tutorial MSP430 Timers, Watchdog Timer, Timers A and B CPE 325: Embedded Systems Laboratory Laboratory #7 Tutorial MSP430 Timers, Watchdog Timer, Timers A and B Aleksandar Milenković Email: milenka@uah.edu Web: http://www.ece.uah.edu/~milenka Objective This

More information

Introduction to ARM LPC2148 Microcontroller

Introduction to ARM LPC2148 Microcontroller Introduction to ARM LPC2148 Microcontroller Dr.R.Sundaramurthy Department of EIE Pondicherry Engineering College Features of LPC2148 in a Nut Shell CPU = ARM 7 Core Word Length = 32 Bit ROM = 512 KB RAM

More information

Atmel SAM L21 picopower Cortex-M0+ Microcontrollers

Atmel SAM L21 picopower Cortex-M0+ Microcontrollers Atmel SAM L21 picopower Cortex-M0+ Microcontrollers 1 2015 Atmel Corporation SAM L21 New Ultra Low Power Cortex-M0+ Based microcontroller family Targeted for Battery powered applications Industries first

More information

CW2013. Low-Cost 1s Fuel Gauge IC with Low-SOC Alert. General Description. Features. Applications. Order Information

CW2013. Low-Cost 1s Fuel Gauge IC with Low-SOC Alert. General Description. Features. Applications. Order Information CW2013 Low-Cost 1s Fuel Gauge IC with Low-SOC Alert Features System Side used Fuel Gauging 3% Maximum Total SOC Measurement Error 14 bit Delta Sigma ADC for Temperature and Cell Voltage Measurement Precision

More information

Section 9. Watchdog Timer and Power-up Timer

Section 9. Watchdog Timer and Power-up Timer Section 9. Watchdog Timer and Power-up Timer HIGHLIGHTS This section of the manual contains the following topics: 9.1 Introduction... 9-2 9.2 Watchdog Timer and Power-up Timer Control Registers... 9-3

More information

Renesas 78K/78K0R/RL78 Family In-Circuit Emulation

Renesas 78K/78K0R/RL78 Family In-Circuit Emulation _ Technical Notes V9.12.225 Renesas 78K/78K0R/RL78 Family In-Circuit Emulation This document is intended to be used together with the CPU reference manual provided by the silicon vendor. This document

More information

Universität Dortmund. MCUs Low-Power Features

Universität Dortmund. MCUs Low-Power Features MCUs Low-Power Features Why Low Power Is so Important for MCUs? Longer battery life Smaller products Simpler power supplies Less EMI simplifies PCB Permanent battery Reduced liability Power as a Design

More information

AT45DB321E. Features. 32-Mbit DataFlash (with Extra 1-Mbits), 2.3V Minimum SPI Serial Flash Memory

AT45DB321E. Features. 32-Mbit DataFlash (with Extra 1-Mbits), 2.3V Minimum SPI Serial Flash Memory 32-Mbit DataFlash (with Extra 1-Mbits), 2.3V Minimum SPI Serial Flash Memory Features Single 2.3V - 3.6V supply Serial Peripheral Interface (SPI) compatible Supports SPI modes 0 and 3 Supports RapidS operation

More information

AT45DB041E. 4-Mbit DataFlash (with Extra 128-Kbits), 1.65V Minimum SPI Serial Flash Memory. Features

AT45DB041E. 4-Mbit DataFlash (with Extra 128-Kbits), 1.65V Minimum SPI Serial Flash Memory. Features 4-Mbit DataFlash (with Extra 128-Kbits), 1.65V Minimum SPI Serial Flash Memory Features Single 1.65V - 3.6V supply Serial Peripheral Interface (SPI) compatible Supports SPI modes 0 and 3 Supports RapidS

More information

AN4311 Application note

AN4311 Application note Application note Assessing STM32L1 Series current consumption Introduction The STMicroelectronics ARM Cortex -M3 based STM32L1 series uses ST s proprietary ultra-low-leakage process technology with an

More information

F²MC-16FX FAMILY ALL SERIES STANDBY MODES & POWER MANAGEMENT 16-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

F²MC-16FX FAMILY ALL SERIES STANDBY MODES & POWER MANAGEMENT 16-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note Fujitsu Microelectronics Europe Application Note MCU-AN-300226-E-V15 F²MC-16FX FAMILY 16-BIT MICROCONTROLLER ALL SERIES STANDBY MODES & POWER MANAGEMENT APPLICATION NOTE Revision History Revision History

More information

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085.

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085. (1) Draw and explain the internal architecture of 8085. The architecture of 8085 Microprocessor is shown in figure given below. The internal architecture of 8085 includes following section ALU-Arithmetic

More information

Wireless Sensor Networks (WSN)

Wireless Sensor Networks (WSN) Wireless Sensor Networks (WSN) Operating Systems M. Schölzel Operating System Tasks Traditional OS Controlling and protecting access to resources (memory, I/O, computing resources) managing their allocation

More information

Frequently Asked Questions

Frequently Asked Questions Product Name: System Basis Chips (SBCs) Date: August 2018 Application: Automotive ECUs Datasheet: TLE926x(-3)BQX Contact Person: Norbert Ulshoefer Mid-Range+ SBC Question 1: Chapter 3 Question 2: Chapter

More information

Hacettepe University

Hacettepe University MSP430 Teaching Materials Week 5 FUNDAMENTALS OF INTERFACING AND TIMERS for MSP430 Hacettepe University Elements in Basic MCU Interface Power Source Feeds CPU and peripherals Clock Oscillators System synchronization

More information