MSP430 2011 Ultra-Low Power | High Integration | Easy-to-Use “How To” Series: Clock System.

Slides:



Advertisements
Similar presentations
Introduction to PIC Microcontrollers
Advertisements

BASICS OF MSP430 & INTERFACING MICRO-SD CARD WITH IT.
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
The Industry’s Smallest 16 Bit ADC’s
ECE 382 Lesson 14 Lesson Outline Polling Multiplexing Intro to Logic Analyzer Debouncing Software Delay Routines Admin Assignment 3b due BOC today Assignment.
Chung-Ta King National Tsing Hua University
ECE 447 Fall 2009 Lecture 9: TI MSP430 Interrupts & Low Power Modes.
Instructor: Dr Aleksandar Milenkovic Lecture Notes
Introduction of Holtek HT-46 series MCU
HT46 A/D Type MCU Series Data Memory (Byte) Program Memory HT46R22 (OTP) HT46C22 (Mask) 2Kx Kx16 4Kx HT46R23 (OTP) HT46C23 (Mask) HT46R24.
MSP432™ MCUs Training Part 3: Power System
Ultra-Low Power | High Integration | Easy-to-Use
CS4101 嵌入式系統概論 Timers and Clocks 金仲達教授 國立清華大學資訊工程學系 Materials from MSP430 Microcontroller Basics, John H. Davies, Newnes, 2008.
The Cortex-M3 Embedded Systems: LM3S9B96 Microcontroller – System Control Refer to Chapter 6 in the reference book “Stellaris® LM3S9B96 Microcontroller.
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
Chung-Ta King National Tsing Hua University
ATMEL AVR 8 bit RISC MICROCONTROLLERS
3-1 System peripherals & Bus Structure Memory map of the LPC2300 device is one contiguous 32-bit address range. However, the device itself is made up of.
MSP430F5xx TI’s New Ultra-Low-Power MCU Generation.
MSP432™ MCUs Training Part 4: Clock System & Memory
Introduction to the Orbit Edu Board Ahmad Rahmati Teaching Assistant, ELEC424 Rice Efficient Computing Group Sep 12, 2007.
MSP432™ MCUs Training Part 5: Digital Peripherals
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 Clock Generator.
System Clocks.
MSP430 Mixed Signal Microcontroller – Parte 2 Afonso Ferreira Miguel Source: slau056d – Texas instruments.
Clock Options and Sleep Modes. Clock Sources Flash Fuse bits can be programmed to choose one of the following Clock sources: 1. External RC Osc. f = 1/(3RC).
SIGMA-DELTA ADC SD16_A Sigma-Delta ADC Shruthi Sujendra.
Prepared by Eng. Musa Alyaman1 Chapter Seven Chapter Seven PIC16F87x.
Week 16.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an overview of the CPU architecture.
Lecture 11 Low Power Modes & Watchdog Timers
Renesas Electronics America © 2011 Renesas Electronics Corporation. All rights reserved. V850/Jx4 Series Ultra Low Power 32 bit MCUs March 2012.
ELE22MIC Lecture 18 The AVR Sleep Modes The ATMEGA128’s Timer System
ATMEL AVR 8 bit RISC MICROCONTROLLERS a general comparison.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
IO Subsystem IV Ports and peripherals. IO Subsystem (1) All devices connected to the system buses, other than memory and CPU – Input and output ports.
TI MSP430 MICROCONTROLLERS BY ADITYA PATHAK. THE MSP FAMILY Ultra-low power; mixed signal processors Widely used in battery operated applications Uses.
AT91 Products Overview. 2 The Atmel AT91 Series of microcontrollers are based upon the powerful ARM7TDMI processor. Atmel has taken these cores, added.
© 2009, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose:  This course provides an overview of the serial communication.
Network and Systems Laboratory nslab.ee.ntu.edu.tw.
Presented by Sadhish Prabhu
Device Overview 1.  The advantages of all PIC18Fxxxx microcontrollers:  High computational performance  High-endurance  Enhanced Flash program memory.
Chapter 12 Some PIC Microcontroller Advances The aims of this chapter are to introduce: To introduce in overview two microcontrollers which show some enhanced.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
Chapter 3 Parallel Ports, Power Supply and the Clock Oscillator The aims of this chapter are to introduce: Why we need parallel input/output; How simple.
“ELECTRICAL POWER THEFT MONITORING SYSTEAM ” Name : Dange Kumarsagar M. Roll No: Under the guidance: Prof. R.T. Patil.
Components of a typical full-featured microcontroller.
AT91 Hardware and Power considerations. Power Supply considerations.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 AD converter.
STM32 및 개발보드 소개 Jang Hyunsung Embedded Systems Lab. Dept. of CSE, PNU
UNIT 2. CPUXV2 20-bit addressing User-definable Boot Strap Loader RAM starts at 0x1C00 Beginning of MAIN flash moves according to RAM Vector table starts.
16F877A.
C. K. Pithawalla College of Engineering and Technology, Surat
VersaClock® 5 Family Programmable Clock Generator With Integrated Crystal 5P49V5933 5P49V5935 May, 2015 Baljit Chandhoke Product Line Manager
Code review: GPIO, timer, and ISR
Microcontrollers & GPIO
CS4101 Introduction to Embedded Systems Lab 6: Low-Power Optimization
Refer to Chapter 5 in the reference book
UNIT – Microcontroller.
Microcontroller Based Digital Code Lock
ECE 3430 – Intro to Microcomputer Systems
MSP430 Design Workshop.
Introduction to the Orbit Edu Board
Subject Name: Microcontroller Subject Code: 10ES42
I/O PORTS : MSP430x5xx devices have up to 12 digital I/O ports :
Getting the Most Out of Low Power MCUs
Introducing the PIC Mid-Range Family and the 16F84A
Lecture 9: TI MSP430 Interrupts & Low Power Modes
MSP432™ MCUs Training Part 6: Analog Peripherals
MSP430 Clock System and Timer
Presentation transcript:

MSP Ultra-Low Power | High Integration | Easy-to-Use “How To” Series: Clock System

Agenda  Purpose –Provide a brief but informative technical overview in “HOW-TO” use the MSP430 clock system  Objectives –Clock system basics & ULP –Clocking & MSP430 generations –Design considerations

Why is the clock system important?  The clock system is fundamental to enabling the ULP feature set of the MSP430  Careabouts:  CPU Clock –High frequency –Low power –Stable & Flexible –Fast wake-up  Peripheral Clock –High frequency –Low power –Stable & Flexible –Fast wake-up –Independent from CPU  Standby Clock –Ultra-low power –Low frequency –Accurate (RTC) –Reliable (WDT) MSP430 Ultra-Low Power Ultra-Low Power Active Mode Up to 7 Low Power Modes (LPMx) Instant Wakeup Autonomous peripheral operation in low power modes

MSP430 Clock System Basics  All ULP MSP430 devices have a fundamental clocking architecture –On-chip, high frequency, instant-on oscillator (DCO) –ULP, low frequency, kHz crystal oscillator (LFXT1)  Enables ULP embedded operation DCO for fast, low power active CPU processing LFXT1 Ultra-low power standby clock for timer wakeup DCO Instant-on ablity to service interrupts ~250uA ~1uA Always-on On demand

Breaking down the terminology  LFXT1 –This is the ULP low frequency crystal oscillator in every MSP430 device –Typical usage is with a kHz watch crystal for RTC –In some devices (2xx, 5xx, 6xx) it is also possible to source a digital clock directly to the LFXT1 input –Most devices also support a high frequency mode (see XT1) that can interface with MHz-range crystals & resonator  VLO –Extremely ULP on-chip oscillator, fixed to ~10kHz –Useful for standby clocking where power is more critical than accuracy  REFO –On-chip ULP kHz oscillator for crystal-less operation at more accurate frequencies that via the VLO  DCO –Digitally Controlled Oscillator built into every MSP430 device –Capable of 100’s kHz to 10’s MHz & is user programmable  FLL –Feature in some devices (4xx, 5xx, 6xx) that will automatically adjust the DCO frequency based on a provided reference clock  MODOSC –5MHz on-chip oscillator for automatic use with select peripherals  XT1 & XT2 –Oscillator circuit for crystals & resonators –(HF)XT1 on almost all MSP430s (except the F20xx and some G2xx devices –XT2 present only on larger pin count MSP430s (64+) –High frequency support only

Clocking & MSP430 generations Clock/ Feature Frequency Range Relative Precision Application/Devices Supported High-Frequency DCO 100kHz to 25MHz+ Low (2xx: Medium) ALL MSP430s: High frequency source for CPU & peripherals 2xx only: Integrates a high stability DCO over temp & Vcc w/ calibrated constants stored in flash for common freqs +ROSCBetter 1xx, some 2xx: Can help stabilize DCO drift over temperature using external precision resistor +FLLBest 4xx,5xx,6xx: Auto-tunes DCO based on reference clock such as 32kHz xtal HFXT1/ XT2 100’s kHz to 10’s MHz High Most MSP430s: use when high accuracy/frequency is required. Higher current than DCO. Typically, smaller devices do not support XT2 ’20xx & some G2xx devices do not support HF mode at all MODOSC5MHzMedium 5xx, 6xx: Integrate osc for auto-on use with FLASH, ADC & other modules Low-Frequency LFXT132kHzHighALL MSP430s: standard use in LPM3/3.5 & RTC applications VLO~10kHzLow 2xx, 5xx, 6xx: Integrated low freq osc consuming lowest current of any clock option REFO32kHz Medium/ High 5xx, 6xx: Integrated 32kHz osc for crystal-less applications providing reasonable accuracy

Design considerations  MSP430 has 3 clock trees –ACLK: typical use as low frequency, low power LPMx peripheral clock –MCLK: active CPU clock –SMCLK: high or low frequency peripheral clock  Design for robust 32kHz crystal operation if needed –As with any ULP oscillator, proper crystal selection, loading & PCB layout are key factors in achieving a reliable 32KHz XTAL design –Check oscillation allowance BEFORE production to address any weakness  Know the differences in device family features –Basics are the same, however a lot of variation in feature set exists –Understanding what is possible is key to realizing ULP operation  Understand device/family-specific behavior: –Active WDT: sourced from the DCO at power up/reset: handle the WDT first in your software! –Clock failsafe: crystal fault detection means safe & reliable operation but may result in incorrect frequencies. Take care to configure clocks and properly handle osc fault conditions. –Clock requests: some clocks may or may not automatically remain active when entering LPMx modes, resulting in unexpected halting of peripherals or higher than expected LPMx current consumption

References  MSP430F5xx and MSP430F6xx Core Libraries MSP430F5xx and MSP430F6xx Core Libraries –Provides functions that implement the most common operations using the PMM, UCS, PMAP and Flash modules, such as changing the core voltage to operate at higher frequencies, crystal/clock initialization, mapping port I/O, and write/erase flash operations.  MSP kHz Crystal Oscillators MSP kHz Crystal Oscillators –Describes selection of the right crystal, correct load circuit, and proper board layout key to stable crystal oscillator performance. Information regarding recommended PCB desing and possible oscillator tests to ensure stable oscillator operation in mass production are included.  MSP430 LFXT1 Oscillator Accuracy MSP430 LFXT1 Oscillator Accuracy –Details the factors that influence achievable accuracy of the low frequency oscillator, specifically for real-time clock (RTC) applications in 1xx & 4xx devices.  Microcrystal Recommendations for kHz crystals Microcrystal Recommendations  Epson Toyocom Recommendations for kHz crystals Epson Toyocom Recommendations  Your specific MSP430 device’s datasheet & Family User’s Guide

Thank you!