5xx Active & Low Power Mode Operation

Size: px
Start display at page:

Download "5xx Active & Low Power Mode Operation"

Transcription

1 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 Management Module (PMM) Unified Clock System (UCS) Run, study and measure the configuration and consumption of 5 x Active & LPM3 scenarios: 8 MHz (Study: Working with the FLL) 25 MHz (Study: PMM core voltage settings) LPM3 REFO (Study: UCS and default settings) LPM3 LFXT1 (Study: 32 khz oscillator and fail-safe behavior) LPM3 VLO (Study: Ultra-low power tradeoffs) 39

2 ULP Operation Best Practices Power-efficient MSP430 apps: Minimize instantaneous current draw Maximize time spent in low power modes The MSP430 is inherently low-power But your design has a big impact on power efficiency! Proper low-power design techniques make the difference 40 ULP Operation Best Practices Power draw increases with Vcc CPU clock speed (MCLK) Temperature Slowing MCLK reduces instantaneous power, but usually increases active duty cycle Power savings can be nullified The ULP sweet spot that maximizes performance for the minimum current consumption per MIPS: 8 MHz MCLK Full operating range (down to 1.8V) 5xx has integrated LDO with variable output voltage Optimize core voltage for chosen MCLK speed 41

3 ULP Operation Best Practices When P- and N- channels are on simultaneously, result is shoot-through current. 42 ULP Operation Best Practices Digital input pins subject to shoot-through current Input voltages between VIL and VIH cause shootthrough if input is allowed to float (left unconnected) Port I/Os should Driven as outputs Be driven at Vcc/ground by an external device Have a pull-up/down resistor 43

4 ULP Clock Control: UCS Defaults FLLREFCLK = XT1CLK ACLK = XT1CLK MCLK = DCOCLKDIV SMCLK = DCOCLKDIV DCOCKLDIV = DCOCLK / 2 DCO_freq ~= 2 MHz, so MCLK_freq ~= 1 MHz SMCLK_freq ~= 1MHz 44 ULP Clock Control: The 5xx FLL FLLREFCLK sources: 32 khz internal REFO LFXT1 / XT1 crystal oscillator XT2 crystal oscillator DCO frequency equation f DCO = (f FLLREFCLK / n) * (N + 1) * D n = FLLREFDIV N = FLLN D = FLLD 45

5 ULP Clock Control: The 5xx DCO DCO ranges from 200 khz 60 MHz RSEL bits select the range DCO bits set one of 32 taps in each range MOD bits mix two frequencies f DCO and f DCO+1 to produce DCOCLK 46 Lab 2: Import CCS Projects Select Project > Import Existing CCS/CCE Project Click Browse Point to the ~/5xx_ODW folder Ensure Lab_2 - Lab_5 are selected Select Copy projects into workspace Click Finish 47

6 Lab 2: 8 MHz Lab Goals: Learn how to initialize the FLL Measure a typical average current 8 MHz Lab Steps: Select Lab 2 as Active Project [Right-click project name then Select as Active Project ] Select ACTIVE_8_MHZ as Active Build Config Download, run, then terminate Disconnect 14-pin JTAG cable Switch Power Selector to BATT powered Disconnect USB cable Remove 430 PWR Jumper and connect multimeter across the leads to read current (set multimeter to >= 10 ma setting) Connect the red lead to the pin closest to the edge of the board Should see between 1.9 ma 2.1 ma 48 Study: The ACTIVE_8_MHz.c Example halboardinit( ) Initializes the GPIO for ULP operation Init_FLL_Settle( ) Selection of RSEL Selection of DCO taps Delay for FLL to settle MCLK, SMCLK, ACLK source selection How to use in the future #include hal_ucs.h Check MSP430 application notes for hal_ucs and hal_pmm library descriptions 49

7 Study: The ACTIVE_8_MHz.c Example while(1)!= real world active current consumption CPU executes a 32-bit fetch while(1) jmp $ can result in very different current consumption depending on alignment << 230 ua/mhz >> 230 ua/mhz 32-bits jmp $ nop 32-bits nop jmp $ Only a single fetch! A fetch on every cycle! 50 Study: The ACTIVE_8_MHz.c Example Why ACTIVE_MODE_TEST( )?.text ACTIVE_MODE_TEST MOV MOV MOV ADD SWPB MOV IDD_AM_L1 XOR DEC JNZ JMP #0x2000, R4 #0x4, 0(R4) &0x2000, 2(R4) &0x2020 R5 IDD_AM_L1 ACTIVE_MODE_TEST.end Good mix of MSP430 instruction and access types - Code mixes with types of instructions: type I,II, JMP, emu - Code mixes with address modes - Type of Instruction # of instructions: 6+8*3 = 30 ALU inst: 2+2*8 = 18-60% Data Read inst: 4+1*8 = 12-40% Data Write inst: -40% Control/Jump : 8-26% 51 STOP

8 But what if we want to go faster than 8 MHz? 52 Power Management Module Integrated LDO: V CC V CORE V CORE programmable to four levels BOR always on PMM is password protected Unlock: PMMCTL_H = 0xA5 Lock: PMMCTL_H = 0x00 Integrated Supervision and Monitoring Monitoring provides interrupts on low voltage condition Supervision generates POR on low voltage condition Vcc domain is referred to as the high-side (SVSH, SVMH) Core voltage domain is referred to as the low-side (SVSL, SVML) Accurate voltage supervision 200nA - Normal Performance Mode (20 us response time) 2 ua - Fast Performance Mode (2 us response time) 53

9 Changing V CORE Increasing the Core Voltage 1) Change the low-side monitor threshold 2) Change the core voltage level 3) Wait until the core voltage level is reached 4) Change supervisor threshold to match the monitor level Decreasing the Core Voltage 5) Decrease supervisor and monitor levels 6) Decrease the core voltage level 54 Voltage Supervision & Monitoring SVS / SVM disabled SVS / SVM disabled Zero-power BOR protection is ALWAYS ON 5 us wakeup from LPM2,3,4 +0 ua active & LPM2,3,4 current consumption High-side Full Performance Mode High-side Full Performance Mode Low-side SVS / SVM disabled +4uA active current consumption +0uA LPM2,3,4 current consumption Automatic high-side protection when CPU is active Maximum Robustness Fast Performance Mode 5 us wakeup from LPM2,3,4 +8 ua active & LPMx current consumption 5 us wakeup from LPMx Default Normal Performance Mode +800 na active current consumption 0 na LPM2,3,4 current consumption 150 us wakeup from LPM2,3,4 High-side Fast Performance Mode High-side Fast Performance Mode Low-side SVS / SVM disabled 5 us wakeup from LPM2,3,4 +4 ua active & LPM2,3,4 current consumption Automatic high-side protection when CPU is active 150 us wakeup from LPMx Current 55

10 Lab 2: 25 MHz Lab Goals: Learn how to change COREV levels for > 8 MHz operation Measure a typical average current 25 MHz Lab Steps: Reconnect 14-pin JTAG cable, 430 PWR jumper & USB FET Select ACTIVE_25_MHZ as Active Build Config Download, run, then terminate Disconnect 14-pin JTAG cable Remove 430 PWR Jumper and connect multimeter across the leads to read current (set multimeter to >= 10 ma setting) Connect the red lead to the pin closest to the edge of the board Should see between 7.1 ma 8.3 ma 56 Study: The ACTIVE_25_MHz.c Example SetVCore(PMMCOREV_3) One level at a time! //****************************************************************************// // Set VCore //****************************************************************************// unsigned int SetVCore (unsigned char level) { unsigned int actlevel; unsigned int status = 0; level &= PMMCOREV_3; // Set Mask for Max. level actlevel = (PMMCTL0 & PMMCOREV_3); // Get actual VCore while (((level!= actlevel) && (status == 0)) (level < actlevel)) // step by step increase or decrease { if (level > actlevel) status = SetVCoreUp(++actlevel); else status = SetVCoreDown(--actlevel); } return status; } SVSx & SVMx management Turns off SVSL and SVML Leaves SVSH in Full Performance Mode Delivers fast-wake-up (5 us) time with SVS protection on DVcc STOP 57

11 But what if we want to enter low power mode? 58 Entering Low Power Modes 59

12 Interrupts, the Stack, and LPMx Entering Interrupts Any currently executing instruction is completed. The PC, which points to the next instruction, is pushed onto the stack. The SR is pushed onto the stack. The interrupt with the highest priority is selected The interrupt request flag resets automatically on single-source flags. Multiple source flags remain set for servicing by software. The SR is cleared. This terminates any low-power mode. Because the GIE bit is cleared, further interrupts are disabled. The content of the interrupt vector is loaded into the PC; the program continues with the interrupt service routine at that address. 60 Using Intrinsic Functions to Edit SR Intrinsic Functions: bic_sr_register(lpm3_bits); bic_sr_register_on_exit(lpm3_bits); bis_sr_register(lpm3_bits + GIE); bis_sr_register_on_exit(unsigned short a); get_sr_register(void); get_sr_register_on_exit(void); enable_interrupts( ); disable_interrupts( ); Other useful intrinsics: no_operation(); delay_cycles( ); bcd_add_short( short, short ); bcd_add_long( long, long ); even_in_range( ); Refer to intrinsics.h or compiler documentation 61

13 Lab 2: LPM3 REFO Lab Goals: Learn how to enter LPM3 with default ACLK settings Measure a typical average current scenario in LPM3 when the internal 32 khz REFO sources ACLK Lab Steps: Reconnect 14-pin JTAG cable, 430 PWR jumper & USB FET Select LPM3_REFO as Active Build Config Download, run, then terminate Disconnect 14-pin JTAG cable Remove 430 PWR Jumper and connect multimeter across the leads to read current (set multimeter to <= 200 ua setting) Connect the red lead to the pin closest to the edge of the board LED will blink on/off (P1.0) if program is running correctly Should see 4.3 ua 4.9 ua when LED is OFF (~3 seconds) 62 Study: The LPM3_REFO.c Example Watchdog triggers interrupt every ~3 seconds /* Initialize WDT to interval timer mode, triggering every 3-4 seconds */ WDTCTL = WDTPW+WDTSSEL VLO+WDTTMSEL+WDTCNTCL+WDTIS2+WDTSSEL0; SFRIE1 = WDTIE; // Enable WDT interrupt Entering LPM3 using intrinsic functions bis_sr_register(lpm3_bits + GIE); // Enter LPM3, enable interrupts no_operation(); // For debugger Return from ISR using intrinsic function // Watchdog Timer interrupt service routine #pragma vector = WDT_VECTOR } Note the ISR declaration!! interrupt void WDT_ISR(void) { bic_sr_register_on_exit(lpm3_bits); } STOP 63

14 But I thought the LPM3 value was 2.1 ua, not 4.5 ua What could be the reasons I don t see 2.1 ua? Can I run RTC in this mode? 64 Fail-Safe Behavior & Clock Requests LFXT1 reverts to REFO HFXT1 & XT2 revert to DCO On startup, LFXT1 will fail because quartz crystals are not instant-on! Clearing the fault flags allows expected default operation Modules place clock requests to the system clocks LPM3 entry can be prevented if a module requires SMCLK to operate properly! Must be very conscious of the clocks required in the system. 65

15 ULP Review of Available Oscillators Clock Frequency Precision Current Draw Crystal Required DCO 100kHz 60MHz High-Frequency Low 60uA HFXT1/ XT2 4-32MHz High 12MHz X MODOSC 5MHz n/a n/a Low-Frequency LFXT1 RTC 32kHz High 300nA X VLO ~10kHz Low 60nA REFO 32kHz Medium/High 3uA 66 Lab 2: LPM3 LFXT1 Lab Goals: Learn how to handle oscillator faults to set LFXT1 ACLK Measure a typical average current scenario in LPM3 when the external 32 khz crystal on the LFXT1 oscillator sources ACLK Lab Steps: Reconnect 14-pin JTAG cable, 430 PWR jumper & USB FET Select LPM3_LFXT1 as Active Build Config Download, run, then terminate Disconnect 14-pin JTAG cable Remove 430 PWR Jumper and connect multimeter across the leads to read current (set multimeter to <= 200 ua setting) Connect the red lead to the pin closest to the edge of the board LED will blink on/off (P1.0) if program is running correctly Should see ua 67

16 Study: The LPM3_LFXT1.c Example Initializing crystal pins & LFXT_Start ( ); /* Initialize LFXT1 */ P7SEL = BIT0+BIT1; // Enable crystal pins LFXT_Start (XT1DRIVE_0); // Set lowest power crystal drive LFXT_Start (XT1DRIVE_0); void LFXT_Start(unsigned int xtdrive) { UCSCTL6_L = XT1DRIVE1_L+XT1DRIVE0_L; // Highest drive setting for XT1 startup while ((SFRIFG1 & OFIFG)){ // check OFIFG fault flag UCSCTL7 &= ~(DCOFFG+XT1LFOFFG+XT1HFOFFG+XT2OFFG); // Clear OSC fault Flags SFRIFG1 &= ~OFIFG; // Clear OFIFG fault flag } UCSCTL6 = (UCSCTL6 & ~(XT1DRIVE_3)) (xtdrive); // set Drive mode } STOP 68 But what if we don t need RTC and just want the lowest power available? 69

17 ULP Review of Available Oscillators Clock Frequency Precision Current Draw Crystal Required DCO 100kHz 60MHz High-Frequency Low 60uA HFXT1/ XT2 4-32MHz High 12MHz X MODOSC 5MHz n/a n/a Low-Frequency LFXT1 RTC 32kHz High 300nA X VLO ~10kHz Low 60nA REFO 32kHz Medium/High 3uA 70 Lab 2: LPM3 VLO Lab Goals: Learn the tradeoffs for oscillators at VLO ACLK Measure a typical average current scenario in LPM3 when the VLO sources ACLK Lab Steps: Reconnect 14-pin JTAG cable, 430 PWR jumper & USB FET Select LPM3_VLO as Active Build Config Download, run, then terminate Disconnect 14-pin JTAG Cable Remove 430 PWR Jumper and connect multimeter across the leads to read current (set multimeter to <= 200 ua setting) Connect the red lead to the pin closest to the edge of the board LED will blink on/off (P1.0) if program is running correctly Should see between ua 71

18 Study: The LPM3_VLO.c Example ACLK Clock Source Selection SELECT_ACLK(SELA VLOCLK); // Select VLO_CLOCK to source ACLK Other UCS_Library macros SELECT_FLLREF(source) SELECT_MCLK(source) SELECT_SMCLK(source) SELECT_MCLK_SMCLK(source) XT1_TO_MCLK XT2_TO_MCLK XT1_TO_SMCLK XT2_TO_SMCLK ACLK_DIV(x) MCLK_DIV(x) SMCLK_DIV(x) Check MSP430 application notes for hal_ucs and hal_pmm library descriptions STOP 72 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 Management Module (PMM) Unified Clock System (UCS) Run, study and measure the configuration and consumption of 5 x Active & LPM3 scenarios: 8 MHz (Study: Working with the FLL) 25 MHz (Study: PMM core voltage settings) LPM3 REFO (Study: UCS and default settings) LPM3 LFXT1 (Study: 32 khz oscillator and fail-safe behavior) LPM3 VLO (Study: Ultra-low power tradeoffs) 73

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

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

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

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

Lab 1: I/O, timers, interrupts on the ez430-rf2500

Lab 1: I/O, timers, interrupts on the ez430-rf2500 Lab 1: I/O, timers, interrupts on the ez430-rf2500 UC Berkeley - EE 290Q Thomas Watteyne January 25, 2010 1 The ez430-rf2500 and its Components 1.1 Crash Course on the MSP430f2274 The heart of this platform

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

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

ECE2049: Embedded Computing in Engineering Design C Term Spring Lecture #11: More Clocks and Timers

ECE2049: Embedded Computing in Engineering Design C Term Spring Lecture #11: More Clocks and Timers ECE2049: Embedded Computing in Engineering Design C Term Spring 2018 Lecture #11: More Clocks and Timers Reading for Today: Davie's Ch 8.3-8.4, 8.9-8.10, User's Guide Ch. 17 Reading for Next Class: User's

More information

CPE/EE 421 Microcomputers

CPE/EE 421 Microcomputers CPE/EE 421 Microcomputers Instructor: Dr Aleksandar Milenkovic Lecture Note S13 *Material used is in part developed by Dr. D. Raskovic and Dr. E. Jovanov CPE/EE 421/521 Microcomputers 1 MSP430 Documentation

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

CPE/EE 323 Introduction to Embedded Computer Systems Homework V

CPE/EE 323 Introduction to Embedded Computer Systems Homework V CPE/EE 323 Introduction to Embedded Computer Systems Homework V 1(15) 2(15) 3(25) 4(25) 5(20) Total Problem #1 (15 points) Power, Low power systems A sensor platform features a microcontroller, a sensor,

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

// Conditions for 9600/4=2400 Baud SW UART, SMCLK = 1MHz #define Bitime_5 0x05*4 // ~ 0.5 bit length + small adjustment #define Bitime 13*4//0x0D

// Conditions for 9600/4=2400 Baud SW UART, SMCLK = 1MHz #define Bitime_5 0x05*4 // ~ 0.5 bit length + small adjustment #define Bitime 13*4//0x0D /****************************************************************************** * * * 1. Device starts up in LPM3 + blinking LED to indicate device is alive * + Upon first button press, device transitions

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

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

Timers and Clocks CS4101 嵌入式系統概論. Prof. Chung-Ta King. Department of Computer Science National Tsing Hua University, Taiwan

Timers and Clocks CS4101 嵌入式系統概論. Prof. Chung-Ta King. Department of Computer Science National Tsing Hua University, Taiwan CS4101 嵌入式系統概論 Timers and Clocks Prof. Chung-Ta King Department of Computer Science, Taiwan Materials from MSP430 Microcontroller Basics, John H. Davies, Newnes, 2008 Recall the Container Thermometer Container

More information

Texas Instruments Mixed Signal Processor Tutorial Abstract

Texas Instruments Mixed Signal Processor Tutorial Abstract Texas Instruments Mixed Signal Processor Tutorial Abstract This tutorial goes through the process of writing a program that uses buttons to manipulate LEDs. One LED will be hard connected to the output

More information

Reading: Davies , 8.3-4, , MSP430x55xx User's Guide Ch. 5,17

Reading: Davies , 8.3-4, , MSP430x55xx User's Guide Ch. 5,17 ECE2049 Homework #3 Clocks & Timers (Due Tuesday 9/19/17 At the BEGINNING of class) Your homework should be neat and professional looking. You will loose points if your HW is not properly submitted (by

More information

Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015.

Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015. Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015. Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015. Copyright 2015 by Stephen

More information

Alex Milenkovich 1. CPE/EE 421 Microcomputers. Course Administration. Review: Outline. Getting Started with EasyWeb2. Review: MSP bit RISC

Alex Milenkovich 1. CPE/EE 421 Microcomputers. Course Administration. Review: Outline. Getting Started with EasyWeb2. Review: MSP bit RISC CPE/EE 421 Microcomputers Instructor: Dr Aleksandar Milenkovic Lecture Note S12 Course Administration Instructor: URL: TA: Labs: Test I: Text: Review: Today: Aleksandar Milenkovic milenka@ece.uah.edu www.ece.uah.edu/~milenka

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

Embedded Systems. 3. Hardware Software Interface. Lothar Thiele. Computer Engineering and Networks Laboratory

Embedded Systems. 3. Hardware Software Interface. Lothar Thiele. Computer Engineering and Networks Laboratory Embedded Systems 3. Hardware Software Interface Lothar Thiele Computer Engineering and Networks Laboratory Do you Remember? 3 2 3 3 High Level Physical View 3 4 High Level Physical View 3 5 What you will

More information

CPE 323: MSP430 Timers

CPE 323: MSP430 Timers CPE 323: MSP430 Timers Aleksandar Milenkovic Electrical and Computer Engineering The University of Alabama in Huntsville milenka@ece.uah.edu http://www.ece.uah.edu/~milenka Outline Watchdog Timer TimerA

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

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

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

Lecture 5: MSP430 Interrupt

Lecture 5: MSP430 Interrupt ECE342 Intro. to Embedded Systems Lecture 5: MSP430 Interrupt Ying Tang Electrical and Computer Engineering Rowan University 1 How A Computer React to Inputs? Polling: the processor regularly looks at

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

CPE/EE 421 Microcomputers

CPE/EE 421 Microcomputers CPE/EE 421 Microcomputers Instructor: Dr Aleksandar Milenkovic Lecture Note S11 MSP430 Documentation MSP430 home page (TI) www.ti.com/msp430 User s manual http://www.ece.uah.edu/~milenka/cpe421-05s/manuals/slau049c.pdf

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

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

ECE PRACTICE EXAM #2 Clocks, Timers, and Digital I/O

ECE PRACTICE EXAM #2 Clocks, Timers, and Digital I/O ECE2049 -- PRACTICE EXAM #2 Clocks, Timers, and Digital I/O Study HW3, Class Notes, Davies Ch 2.6, 5.8, 8, 9.2-3, 9.7, MSP43F5529 User's Guide Ch 5, 17, 28 Work all problems with your note sheet first

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 04 Timer Interrupts Goals: Learn about Timer Interrupts. Learn how to

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 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

Reading: Davies , 8.3-4, , MSP430x55xx User's Guide Ch. 5,17, MSP430F5529 Launchpad User's Guide

Reading: Davies , 8.3-4, , MSP430x55xx User's Guide Ch. 5,17, MSP430F5529 Launchpad User's Guide ECE2049 Homework #3 Clocks & Timers (Due Thursday 2/8/18 At the BEGINNING of class) Your homework should be neat and professional looking. You will loose points if your HW is not properly submitted (by

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

Embedded Technosolutions

Embedded Technosolutions MSP430 Tutorial Very Important Low Power Processor For Embedded Systems Applications Introduction Although there are many resources dedicated to teaching microcontrollers and the MSP430 in particular,

More information

Timer Module Timer A. ReadMeFirst

Timer Module Timer A. ReadMeFirst Timer Module Timer A ReadMeFirst Lab Folder Content 1) ReadMeFirst 2) TimerModule Lecture material 3) PinOutSummary 4) InterruptsVectorTable 5) Source code for screencast Interrupt Review Overview A Timer

More information

ECE 492 WINTER 2015 GROUP 2. Texas Instruments MSP430-FR Bit ADC Setup Guide

ECE 492 WINTER 2015 GROUP 2. Texas Instruments MSP430-FR Bit ADC Setup Guide APPLICATION NOTE MIKE PAPPAS ECE 492 WINTER 2015 GROUP 2 Texas Instruments MSP430-FR5969 12-Bit ADC Setup Guide March 2015 Table of Contents Preface... 3 Pin Assignments... 4 Configuring the ADC... 4 Sampling

More information

What is an Interrupt?

What is an Interrupt? MSP430 Interrupts What is an Interrupt? Reaction to something in I/O (human, comm link) Usually asynchronous to processor activities interrupt handler or interrupt service routine (ISR) invoked to take

More information

The 16-bit timer/counter register, TAR, increments or decrements (depending on mode of operation) with each rising edge of the clock signal.

The 16-bit timer/counter register, TAR, increments or decrements (depending on mode of operation) with each rising edge of the clock signal. Timer & Real Time Clock (RTC), PWM control, timing generation and measurements. Analog interfacing and data acquisition: ADC and Comparator in MSP430, data transfer using DMA. Case Study: MSP430 based

More information

CPE 323 Introduction to Embedded Computer Systems: ADC12 and DAC12. Instructor: Dr Aleksandar Milenkovic Lecture Notes

CPE 323 Introduction to Embedded Computer Systems: ADC12 and DAC12. Instructor: Dr Aleksandar Milenkovic Lecture Notes CPE 323 Introduction to Embedded Computer Systems: ADC12 and DAC12 Instructor: Dr Aleksandar Milenkovic Lecture Notes Outline MSP430: System Architecture ADC12 Module DAC12 Module CPE 323 2 ADC12 Introduction

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

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

RL78 Ultra Low Power MCU Lab

RL78 Ultra Low Power MCU Lab RL78 Ultra Low Power MCU Lab Michael Clodfelter Sr. Staff Application Engineer Class ID: CL07I Renesas Electronics America Inc. Mike Clodfelter Sr. Staff Application Engineer for Renesas Electronics 16bit

More information

Analog Peripherals. Introduction. Objectives

Analog Peripherals. Introduction. Objectives Analog Peripherals Introduction In this section we ll take a look at the MSP430 analog peripherals. It s not possible in this limited amount of time to give you a complete overview of the possible analog

More information

CPE 323 Introduction to Embedded Computer Systems: MSP430 System Architecture An Overview

CPE 323 Introduction to Embedded Computer Systems: MSP430 System Architecture An Overview CPE 323 Introduction to Embedded Computer Systems: MSP430 System Architecture An Overview Aleksandar Milenkovic Electrical and Computer Engineering The University of Alabama in Huntsville milenka@ece.uah.edu

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

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

Microcontroller Basics

Microcontroller Basics Microcontroller Basics Gabe Cohn CSE 599U February 6, 2012 www.gabeacohn.com/teaching/micro Outline Overview of Embedded Systems What is a Microcontroller? Microcontroller Features Common Microcontrollers

More information

Interrupts CS4101 嵌入式系統概論. Prof. Chung-Ta King. Department of Computer Science National Tsing Hua University, Taiwan

Interrupts CS4101 嵌入式系統概論. Prof. Chung-Ta King. Department of Computer Science National Tsing Hua University, Taiwan CS4101 嵌入式系統概論 Interrupts Prof. Chung-Ta King Department of Computer Science, Taiwan Materials from MSP430 Microcontroller Basics, John H. Davies, Newnes, 2008 Inside MSP430 (MSP430G2551) 1 Introduction

More information

MICROPROCESSOR BASED SYSTEM DESIGN

MICROPROCESSOR BASED SYSTEM DESIGN MICROPROCESSOR BASED SYSTEM DESIGN Lecture 5 Xmega 128 B1: Architecture MUHAMMAD AMIR YOUSAF VON NEUMAN ARCHITECTURE CPU Memory Execution unit ALU Registers Both data and instructions at the same system

More information

2.996/6.971 Biomedical Devices Design Laboratory Lecture 6: Microprocessors II

2.996/6.971 Biomedical Devices Design Laboratory Lecture 6: Microprocessors II 2.996/6.971 Biomedical Devices Design Laboratory Lecture 6: Microprocessors II Instructor: Dr. Hong Ma Oct. 1, 2007 Structure of MSP430 Program 1. Declarations 2. main() 1. Watch-dog timer servicing 2.

More information

Getting Started with the Texas Instruments ez430

Getting Started with the Texas Instruments ez430 1 of 6 03.01.2009 01:33 HOME Running Your Code>> Getting Started with the Texas Instruments ez430 Working with the Workbench Software Step 1: Each program needs an associated project. The project includes

More information

Getting Started with the MSP430 LaunchPad

Getting Started with the MSP430 LaunchPad Getting Started with the MSP430 LaunchPad Student Guide and Lab Manual Revision 2.01 February 2012 Technical Training Organization Important Notice Important Notice Texas Instruments and its subsidiaries

More information

Hacettepe University

Hacettepe University www.msp430.ubi.pt MSP430 Teaching Materials Introductory Overview Week2 Hacettepe University Outline Microcontrollers Versus Microprocessors Central Processing Unit System Buses Memory Organization I/O

More information

Chapter 1 MSP430 Microcontroller Family

Chapter 1 MSP430 Microcontroller Family Chapter 1 1-1 Introduction 1.1 Introduction The MSP430 is a 16-bit microcontroller that has a number of special features not commonly available with other microcontrollers: Complete system on-a-chip includes

More information

CPE 325: Embedded Systems Laboratory Laboratory #11 Tutorial Analog-to-Digital Converter and Digital-to-Analog Converter

CPE 325: Embedded Systems Laboratory Laboratory #11 Tutorial Analog-to-Digital Converter and Digital-to-Analog Converter CPE 325: Embedded Systems Laboratory Laboratory #11 Tutorial Analog-to-Digital Converter and Digital-to-Analog Converter Aleksandar Milenković Email: milenka@uah.edu Web: http://www.ece.uah.edu/~milenka

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

Module Introduction. PURPOSE: The intent of this module is to explain MCU processing of reset and interrupt exception events.

Module Introduction. PURPOSE: The intent of this module is to explain MCU processing of reset and interrupt exception events. Module Introduction PURPOSE: The intent of this module is to explain MCU processing of reset and interrupt exception events. OBJECTIVES: - Describe the difference between resets and interrupts. - Identify

More information

Interrupts, Low Power Modes

Interrupts, Low Power Modes Interrupts, Low Power Modes Registers Status Register Interrupts (Chapter 6 in text) A computer has 2 basic ways to react to inputs: 1) polling: The processor regularly looks at the input and reacts as

More information

6. General purpose Input/Output

6. General purpose Input/Output Chapter 6 6. General purpose Input/Output This chapter starts with a description of one of the simplest integrated peripherals of the MSP430 the General Purpose 8-bit Input Output (GPIO). The Input/Output

More information

Introduction to the Texas Instruments ez430. By: Naren Anand

Introduction to the Texas Instruments ez430. By: Naren Anand Introduction to the Texas Instruments ez430 By: Naren Anand Introduction to the Texas Instruments ez430 By: Naren Anand Online: C O N N E X I O N S Rice University,

More information

AVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director

AVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director AVR XMEGA TM A New Reference for 8/16-bit Microcontrollers Ingar Fredriksen AVR Product Marketing Director Kristian Saether AVR Product Marketing Manager Atmel AVR Success Through Innovation First Flash

More information

Lecture 2 MSP430 Architecture. Atul Lele Ramakrishna Reddy

Lecture 2 MSP430 Architecture. Atul Lele Ramakrishna Reddy Lecture 2 MSP430 Architecture Atul Lele Ramakrishna Reddy About me Education B.E. in Electronics and Telecommunication, PICT, Pune (2000) Professional experience Working with Texas Instruments India Pvt

More information

Timer 32. Last updated 8/7/18

Timer 32. Last updated 8/7/18 Last updated 8/7/18 Basic Timer Function Delay Counter Load a value into a counter register The counter counts Down to zero (count down timer) Up from zero (count up timer) An action is triggered when

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

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang,

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang, Network Embedded Systems Sensor Networks Fall 2013 Hardware Marcus Chang, mchang@cs.jhu.edu 1 Embedded Systems Designed to do one or a few dedicated and/or specific functions Embedded as part of a complete

More information

EMBEDDED SOFTWARE DEVELOPMENT. George Hadley 2017, Images Property of their Respective Owners

EMBEDDED SOFTWARE DEVELOPMENT. George Hadley 2017, Images Property of their Respective Owners EMBEDDED SOFTWARE DEVELOPMENT George Hadley 2017, Images Property of their Respective Owners OUTLINE Embedded vs. General Purpose Programming Layers of Abstraction (Hardware, Interface, Application) Embedded

More information

ECE 492 WINTER 2015 GROUP 2. Texas Instruments MSP430-FR Bit ADC Setup Guide

ECE 492 WINTER 2015 GROUP 2. Texas Instruments MSP430-FR Bit ADC Setup Guide APPLICATION NOTE MIKE PAPPAS ECE 492 WINTER 2015 GROUP 2 Texas Instruments MSP430-FR5969 12-Bit ADC Setup Guide March 2015 Table of Contents Preface... 3 Pin Assignments... 4 Configuring the ADC... 4 Sampling

More information

80C51 Block Diagram. CSE Overview 1

80C51 Block Diagram. CSE Overview 1 80C51 Block Diagram CSE 477 8051 Overview 1 80C51 Memory CSE 477 8051 Overview 3 8051 Memory The data width is 8 bits Registers are 8 bits Addresses are 8 bits i.e. addresses for only 256 bytes! PC is

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

MSP430 Interface to LMP91000 Code Library

MSP430 Interface to LMP91000 Code Library Application Note 2230 Vishy Viswanathan July 13, 2012 MSP430 Interface to LMP91000 Code 1.0 Abstract The MSP430 is an ideal microcontroller solution for low-cost, low-power precision sensor applications

More information

Block diagram of processor (Harvard)

Block diagram of processor (Harvard) Block diagram of processor (Harvard) Register transfer view of Harvard architecture Separate busses for instruction memory and data memory Example: PIC 16 load path OP REG AC 16 16 store path rd wr data

More information

Embedded programming, AVR intro

Embedded programming, AVR intro Applied mechatronics, Lab project Embedded programming, AVR intro Sven Gestegård Robertz Department of Computer Science, Lund University 2017 Outline 1 Low-level programming Bitwise operators Masking and

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

MSP430 Interrupts. Change value of internal variable (count) Read a data value (sensor, receive) Write a data value (actuator, send)

MSP430 Interrupts. Change value of internal variable (count) Read a data value (sensor, receive) Write a data value (actuator, send) MSP430 Interrupts What is an Interrupt? Reaction to something in I/O (human, comm link) Usually asynchronous to processor activities interrupt handler or interrupt service routine (ISR) invoked to take

More information

embos Real Time Operating System CPU & Compiler specifics for Texas Instruments MSP430 CPUs and Rowley compiler for MSP430 Document Rev.

embos Real Time Operating System CPU & Compiler specifics for Texas Instruments MSP430 CPUs and Rowley compiler for MSP430 Document Rev. embos Real Time Operating System CPU & Compiler specifics for Texas Instruments MSP430 CPUs and Rowley compiler for MSP430 Document Rev. 1 A product of Segger Microcontroller Systeme GmbH www.segger.com

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

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

ECSE-426. Microprocessor Systems. 2: Assembly + C 1

ECSE-426. Microprocessor Systems. 2: Assembly + C 1 ECSE-426 Microprocessor Systems 2: Assembly + C 1 Today s Lecture Theory Tutorial Appendix Multi-level machines Problem-oriented language layer Language Choice Machine Architecture Introduction to the

More information

10. Battery Backup System

10. Battery Backup System 10. Battery Backup System 10.1 Features Integrated battery backup system ensuring continuos, real-time clock during main power failure Battery backup power supply from dedicated V BAT pin to power: One

More information

MSP430 Interface to LMP91000 Code Library

MSP430 Interface to LMP91000 Code Library MSP430 Interface to LMP91000 Code Library 1.0 Abstract The MSP430 is an ideal microcontroller solution for low-cost, low-power precision sensor applications because it consumes very little power. The LMP91000

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

Create and Add the Source File

Create and Add the Source File IAR Kickstart Procedure Create and Add the Source File 8. Create the Source File From the IAR Embedded Workbench menu bar, select File New File. In the untitled editor window that appears, type the following

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

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

MSP430F20xx Device Erratasheet

MSP430F20xx Device Erratasheet Errata MSP430F20xx Device Erratasheet 1 Current Version Devices Rev: BCL12 CPU4 FLASH16 SDA3 TA12 TA16 TA22 USI4 USI5 XOSC5 XOSC8 MSP430F2001 D ü ü ü ü ü ü ü ü MSP430F2011 D ü ü ü ü ü ü ü ü MSP430F2002

More information

嵌入式微處理機 Embedded Microprocessors

嵌入式微處理機 Embedded Microprocessors 嵌入式微處理機 Embedded Microprocessors Text Book: TI's Teaching ROMs References: MSP 430 family data sheets and user's guides http://www.ti.com/ww/eu/university/r oms.html Info Time:Mon. 6, 7, 8 (EE 501) Evaluation:

More information

Getting Started with the MSP430 LaunchPad

Getting Started with the MSP430 LaunchPad Getting Started with the MSP430 LaunchPad Student Guide and Lab Manual Revision 1.0 October 2010 Technical Training Organization Important Notice Important Notice Texas Instruments and its subsidiaries

More information

FAE Summit Interfacing the ADS8361 to the MSP430F449 Low Power Micro Controller

FAE Summit Interfacing the ADS8361 to the MSP430F449 Low Power Micro Controller FAE Summit February 2004 FAE Summit 2004 - Interfacing the ADS8361 to the MSP430F449 Low Power Micro Controller Tom Hendrick High Performance Analog - Data Acquisition Products Group LAB OBJECTIVES This

More information

USB-4303 Specifications

USB-4303 Specifications Specifications Document Revision 1.0, February, 2010 Copyright 2010, Measurement Computing Corporation Typical for 25 C unless otherwise specified. Specifications in italic text are guaranteed by design.

More information

Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop. Version 1.05

Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop. Version 1.05 Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop Version 1.05 Agenda Introduction to ARM Cortex Cortex -M4F M4F and Peripherals Code Composer Studio Introduction to StellarisWare, I iti

More information

IAR PowerPac RTOS for Texas Instruments MSP430 Microcontroller Family

IAR PowerPac RTOS for Texas Instruments MSP430 Microcontroller Family IAR PowerPac RTOS for Texas Instruments MSP430 Microcontroller Family CPU and compiler specifics COPYRIGHT NOTICE Copyright 2008 IAR Systems. All rights reserved. No part of this document may be reproduced

More information

ECE2049: Embedded Computing in Engineering Design A Term Fall 2017 Lecture #16: Interrupts and Event Driven Code

ECE2049: Embedded Computing in Engineering Design A Term Fall 2017 Lecture #16: Interrupts and Event Driven Code ECE2049: Embedded Computing in Engineering Design A Term Fall 2017 Lecture #16: Interrupts and Event Driven Code Reading for Today: Example code Reading for Next Class: Review all since exam 1 HW #4 (on

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

Three criteria in Choosing a Microcontroller

Three criteria in Choosing a Microcontroller The 8051 Microcontroller architecture Contents: Introduction Block Diagram and Pin Description of the 8051 Registers Some Simple Instructions Structure of Assembly language and Running an 8051 program

More information

SH67K93/90 EVB ROM H ROM L. Application Notices for SH67K93/90 EVB SH69V93 SH67K93/90 EVB J2 GND. Port & CID interface Tele Line Plug.

SH67K93/90 EVB ROM H ROM L. Application Notices for SH67K93/90 EVB SH69V93 SH67K93/90 EVB J2 GND. Port & CID interface Tele Line Plug. Application Notices for The (Evaluation Board) is used to evaluate the SH67K93/90 chip's functions for the development application program. It contains of a SH69V93 chip to evaluate the functions of SH67K93/90

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

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