1 Section 10. Power-Saving Features HIGHLIGHTS This section of the manual contains the following major topics: 10.1 Introduction Microcontroller Clock Manipulation Instruction-Based Power-Saving Modes Doze Mode Selective Peripheral Power Control Design Tips Related Application Notes Revision History Power-Saving Features 2006 Microchip Technology Inc. Advance Information DS39698A-page 10-1
2 PIC24F Family Reference Manual 10.1 INTRODUCTION All PIC24F devices offer a number of built-in strategies for reducing power consumption. These can be particularly useful in applications which are both power-constrained (such as battery operation), yet require periods of full-power operation for timing-sensitive routines (such as serial communications). This section discusses the four power-saving features implemented in hardware: Microcontroller Clock Manipulation Instruction-Based Power-Saving Modes (Sleep and Idle) Hardware-Based Doze Mode Selective Peripheral Control 10.2 MICROCONTROLLER CLOCK MANIPULATION In general, reducing the microcontroller clock speed for any application will result in a power saving that is roughly proportional to the clock frequency reduction. PIC24F devices allow for a wide range of clock frequencies to be selected under application control. If the system clock configuration is not locked, users can switch between low-power operation from an internal RC oscillator, or high-speed and high-precision operation from a crystal oscillator, by simply changing the NOSC Configuration bits. In fact, users can choose between up to four different oscillators at any time, allowing a maximum amount of flexibility in configuring application speed, frequency precision and power consumption. The process of changing the system clock during operation, as well as restrictions on clock changes, are discussed in more detail in Section 6. Oscillator INSTRUCTION-BASED POWER-SAVING MODES PIC24F devices have two special Power-Saving modes that can be entered through the execution of a special PWRSAV instruction: Sleep Mode: The CPU, system clock source and any peripherals that operate on the system clock source are disabled. This is the lowest power mode for the device. Idle Mode: The CPU is disabled, but the system clock source continues to operate. Peripherals continue to operate, but can optionally be disabled. The assembly syntax of the PWRSAV instruction is shown in Example Example 10-1: PWRSAV Assembly Syntax PWRSAV #SLEEP_MODE ; Put the device into Sleep mode PWRSAV #IDLE_MODE ; Put the device into Idle mode Note: SLEEP_MODE and IDLE_MODE are constants defined in the assembler include file for the selected device. The Power-Saving modes can be exited as a result of an enabled interrupt, WDT time-out or a device Reset. When the device exits one of these two operating modes, it is said to wake-up. The characteristics of the Power-Saving modes are described in subsequent sections. DS39698A-page 10-2 Advance Information 2006 Microchip Technology Inc.
3 Section 10. Power-Saving Features Sleep Mode The characteristics of Sleep mode are as follows: The system clock source is shut down. If an on-chip oscillator is used, it is turned off. The device current consumption will be at a minimum, provided that no I/O pin is sourcing current. The Fail-Safe Clock Monitor (FSCM) does not operate during Sleep mode since the system clock source is disabled. The LPRC clock will continue to run in Sleep mode if the WDT is enabled. If the on-chip voltage regulator is enabled, its BOR circuit remains operative during Sleep mode. The WDT, if enabled, is automatically cleared prior to entering Sleep mode. Some peripherals may continue to operate in Sleep mode. These peripherals include I/O pins that detect a change in the input signal, or peripherals that use an external clock input. Any peripheral that operates from the system clock source will be disabled in Sleep mode. The processor will exit, or wake-up, from Sleep on one of the following events: On any interrupt source that is individually enabled On any form of device Reset On a WDT time-out CLOCK SELECTION ON WAKE-UP FROM SLEEP The processor will restart the same clock source that was active when Sleep mode was entered DELAY ON WAKE-UP FROM SLEEP The restart delay associated with waking up from Sleep mode for different oscillator modes is shown in Table Table 10-1: Clock Source Delay Times for Exit from Sleep Mode Sleep Exit Delay Oscillator Delay FSCM Delay Notes EC TVREG 1 ECPLL TVREG TLOCK TFSCM 1, 3, 4 XT, HS TVREG TOST TFSCM 1, 2, 4 XTPLL TVREG TOST + TLOCK TFSCM 1, 2, 3, 4 HSPLL TVREG TOST + TLOCK TFSCM 1, 2, 3, 4, 5 SOSC (Off during Sleep) TVREG TOST TFSCM 1, 2, 4 (On during Sleep) TVREG 1 FRC, FRCDIV, LPRC TVREG 1 FRCPLL TVREG TLOCK 1, 3 Note 1: TVREG = Start-up delay, only if on-chip regulator is enabled (10 μs nominal). 2: TOST = Oscillator Start-up Timer; a delay of 1024 oscillator periods before the oscillator clock is released to the system. 3: TLOCK = PLL lock time (20 ms nominal). 4: TFSCM = Fail-Safe Clock Monitor delay (100 μs nominal) if FSCM is enabled. 5: HSPLL mode exceeds PIC24F maximum operating frequency. 10 Note: Please refer to the Electrical Characteristics section of the product data sheet for maximum operating frequency, TVREG, TFSCM and TLOCK specification values. Power-Saving Features 2006 Microchip Technology Inc. Advance Information DS39698A-page 10-3
4 PIC24F Family Reference Manual WAKE-UP FROM SLEEP MODE WITH CRYSTAL OSCILLATOR OR PLL If the system clock source is derived from a crystal oscillator and/or the PLL, the Oscillator Start-up Timer (OST) and/or PLL lock times must be applied before the system clock source is made available to the device. As an exception to this rule, no oscillator delays are necessary if the system clock source is the secondary oscillator and it was running while in Sleep mode. Note that in spite of the TVREG (if the regulator is enabled) and other delays applied, the crystal oscillator (and PLL) may not be up and running FSCM DELAY AND SLEEP MODE When waking from Sleep, a nominal 100 μs delay (TFSCM) is applied (after TVREG, if the regulator is enabled) if both of the following are true: The oscillator was shut down while in Sleep mode The system clock is derived from a crystal oscillator source and/or the PLL In most cases, the FSCM delay provides time for the OST to expire and the PLL to stabilize before device execution resumes. If the FSCM is enabled, it will begin to monitor the system clock source after the FSCM delay expires SLOW OSCILLATOR START-UP The OST and PLL lock times may not have expired when the power-up delays have expired. If the FSCM is enabled, then the device will detect this condition as a clock failure and a clock fail trap will occur. The device will switch to the FRC oscillator and the user can re-enable the crystal oscillator source in the clock failure Trap Service Routine. If FSCM is NOT enabled, the device will not start executing code until the clock is stable. From the user s perspective, the device will appear to be in Sleep until the oscillator clock has started WAKE-UP FROM SLEEP ON INTERRUPT User interrupt sources that are assigned to CPU priority level 0 cannot wake the CPU from Sleep mode because the interrupt source is effectively disabled. To use an interrupt as a wake-up source, the CPU priority level for the interrupt must be assigned to CPU priority level 1 or greater. Any source of interrupt that is individually enabled, using its corresponding IE control bit in the IECx registers, can wake-up the processor from Sleep mode. When the device wakes from Sleep mode, one of two actions may occur: If the assigned priority for the interrupt is less than or equal to the current CPU priority, the device will wake-up and continue code execution from the instruction following the PWRSAV instruction that initiated Sleep mode. If the assigned priority level for the interrupt source is greater than the current CPU priority, the device will wake-up and the CPU exception process will begin. Code execution will continue from the first instruction of the ISR. The SLEEP status bit (RCON<3>) is set upon wake-up WAKE-UP FROM SLEEP ON RESET All sources of device Reset will wake the processor from Sleep mode. Any source of Reset (other than a POR) that wakes the processor will set the SLEEP status bit (RCON<3>) to indicate that the device was previously in Sleep mode. On a Power-on Reset, the SLEEP bit is cleared WAKE-UP FROM SLEEP ON WATCHDOG TIME-OUT If the Watchdog Timer (WDT) is enabled and expires while the device is in Sleep mode, the processor will wake-up. The WDTO and SLEEP status bits (RCON<4:3>) are both set to indicate that the device resumed operation due to the WDT expiration. Note that this event does not reset the device. Operation continues from the instruction following the PWRSAV instruction that initiated Sleep mode. DS39698A-page 10-4 Advance Information 2006 Microchip Technology Inc.
5 Section 10. Power-Saving Features Idle Mode When the device enters Idle mode, the following events occur: The CPU will stop executing instructions. The WDT is automatically cleared. The system clock source will remain active and peripheral modules, by default, will continue to operate normally from the system clock source. Peripherals can optionally be shut down in Idle mode using their Stop in Idle control bit. (See peripheral descriptions for further details.) If the WDT or FSCM is enabled, the LPRC will also remain active. The processor will wake from Idle mode on the following events: On any interrupt that is individually enabled. On any source of device Reset. On a WDT time-out. Upon wake-up from Idle, the clock is reapplied to the CPU and instruction execution begins immediately, starting with the instruction following the PWRSAV instruction, or the first instruction in the ISR WAKE-UP FROM IDLE ON INTERRUPT User interrupt sources that are assigned to CPU priority level 0 cannot wake the CPU from Idle mode because the interrupt source is effectively disabled. To use an interrupt as a wake-up source, the CPU priority level for the interrupt must be assigned to CPU priority level 1 or greater. Any source of interrupt that is individually enabled, using the corresponding IE control bit in the IECx register and exceeds the current CPU priority level, will be able to wake-up the processor from Idle mode. When the device wakes from Idle mode, one of two options may occur: If the assigned priority for the interrupt is less than or equal to the current CPU priority, the device will wake-up and continue code execution from the instruction following the PWRSAV instruction that initiated Idle mode. If the assigned priority level for the interrupt source is greater than the current CPU priority, the device will wake-up and the CPU exception process will begin. Code execution will continue from the first instruction of the ISR. The IDLE status bit (RCON<2>) is set upon wake-up WAKE-UP FROM IDLE ON RESET Any Reset, other than a POR, will wake the CPU from Idle mode. On any device Reset, except a POR, the IDLE status bit is set (RCON<2>) to indicate that the device was previously in Idle mode. In a Power-on Reset, the IDLE bit is cleared WAKE-UP FROM IDLE ON WDT TIME-OUT If the WDT is enabled, then the processor will wake from Idle mode on a WDT time-out and continue code execution with the instruction following the PWRSAV instruction that initiated Idle mode. Note that the WDT time-out does not reset the device in this case. The WDTO and IDLE status bits (RCON<4,2>) will both be set TIME DELAYS ON WAKE FROM IDLE MODE Unlike a wake-up from Sleep mode, there are no time delays associated with wake-up from Idle mode. The system clock is running during Idle mode, therefore, no start-up times are required at wake-up Interrupts Coincident with Power Save Instructions Any interrupt that coincides with the execution of a PWRSAV instruction will be held off until entry into Sleep or Idle mode has completed. The device will then wake-up from Sleep or Idle mode. 10 Power-Saving Features 2006 Microchip Technology Inc. Advance Information DS39698A-page 10-5
6 PIC24F Family Reference Manual 10.4 DOZE MODE Changing clock speed and invoking one of the instruction-based Power-Saving modes are the preferred strategies for reducing power consumption. There may be circumstances, however, where this is not practical. For example, it may be necessary for an application to maintain uninterrupted synchronous communication, even while it is doing nothing else. Reducing system clock speed may introduce communication errors, while using a Power-Saving mode may stop communications completely. Doze mode provides an alternative method to reduce power consumption while the device is still executing code. In this mode, the system clock continues to operate from the same source and at the same speed. Peripheral modules continue to be clocked at the same speed while the CPU clock speed is reduced. Synchronization between the two clock domains is maintained, allowing the peripherals to access the SFRs while the CPU executes code at a slower rate. Doze mode is enabled by setting the DOZEN bit (CLKDIV<11>). The ratio between peripheral and core clock speed is determined by the DOZE2:DOZE0 bits (CLKDIV<14:12>). There are eight possible configurations, from 1:1 to 1:256, with 1:1 being the default Return from Doze on Interrupt Doze mode can be configured to automatically return to full-speed CPU execution on an interrupt event. Enabling the automatic return to full-speed CPU operation on interrupts is enabled by setting the ROI bit (CLKDIV<15>). By default, the ROI bit is cleared, and interrupt events have no effect on Doze mode operation. When an interrupt event occurs in Doze mode and ROI is set, the DOZEN bit is automatically cleared. The return from Doze mode feature allows clock-sensitive functions, such as synchronous communications, to continue without interruption while the CPU executes at a much lower speed, waiting for an event to invoke an interrupt routine and resume processing SELECTIVE PERIPHERAL POWER CONTROL Sleep, Idle and Doze modes allow users to substantially reduce power consumption by slowing or stopping the CPU clock. Even so, peripheral modules still remain clocked and thus consume some amount of power. There may be cases where the application needs what these modes do not provide: the ability to allocate limited power resources to the CPU while eliminating power consumption from the peripherals. PIC24F devices address this requirement by allowing peripheral modules to be selectively enabled or disabled, reducing or eliminating their power consumption Disabling Peripheral Modules Most of the peripheral modules in the PIC24F family architecture can be selectively disabled, reducing or essentially eliminating their power consumption during all operating modes. Two different options are available to users, each with a slightly different effect MODULE ENABLE BIT (XXXEN) Many peripheral modules have a Module Enable bit, generically named, XXXEN, usually located in bit position 15 of their control registers (or primary control registers for more complex modules). Here, XXX represents the mnemonic form for the module of the module name. For example, the enable bit for an SPI module is SPIEN, and so on. The bit is provided for all serial and parallel communications modules and the Real-Time Clock. Clearing this bit disables the module s operation; however, it continues to receive clock signals and draw a minimal amount of current. As with all earlier PICmicro devices, timers continue to be under selective operation and are controlled by their own TON bit, also located in position 15. The A/D Converter also has a legacy enable bit, ADON, that has the same function as the XXXEN bits. I/O ports and features associated with them, such as input change notification and input capture, do not have their own Module Enable bits, since their operation is secondary to other modules. Disabling modules not required for a particular application in this manner allows for the selective and dynamic adjusting power consumption under software control as the application is running. DS39698A-page 10-6 Advance Information 2006 Microchip Technology Inc.
7 Section 10. Power-Saving Features PERIPHERAL MODULE DISABLE BIT (XXXPMD) All peripheral modules (except for I/O ports) also have a second control bit that can disable their functionality. These bits, known as the Peripheral Module Disable (PMD) bits, are generically named XXXPMD (using XXX as the mnemonic version of the module s name, as before). These bits are located in the PMDx Special Function Registers. In contrast to the Module Enable bits, the PMD bit must be set (= 1) to disable the module. While the PMD and Module Enable bits both disable a peripheral s functionality, the PMD bit completely shuts down the peripheral, effectively powering down all circuits and removing all clock sources. This has the additional effect of making any of the module s control and buffer registers, mapped in the SFR space, unavailable for operations. In other words, when the PMD bit is used to disable a module, the peripheral ceases to exist until the PMD bit is cleared. This differs from using the Module Enable bit, which allows the peripheral to be reconfigured and buffer registers preloaded, even when the peripheral s operations are disabled. The PMD bit is most useful in highly power-sensitive applications, where even tiny savings in power consumption can determine the ability of an application to function. In these cases, the bits can be set before the main body of the application to remove those peripherals that will not be needed at all Selective Disabling of Modules in Idle Mode To achieve additional power savings, peripheral modules can be selectively disabled whenever the device enters Idle mode. This is done with the Stop in Idle (SIDL) control bit, which is generally located in bit position 13 of the control register of most peripheral modules. The generic name format is XXXSIDL (using XXX as the mnemonic version of the module s name, as before). The Stop in Idle feature allows further reduction of power consumption during Idle mode, enhancing power savings for extremely power-critical applications. Almost all peripheral modules have a Stop in Idle bit, including modules that lack a module enable bit (e.g., input capture and output compare). The Real-Time Clock module is the exception, as it is assumed that an application involving a Real-Time Clock will need to keep the module running continuously. 10 Power-Saving Features 2006 Microchip Technology Inc. Advance Information DS39698A-page 10-7
8 PIC24F Family Reference Manual Table 10-2: Power-Saving Features Register Map File Name Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 All Resets RCON TRAPR IOPUWR CM VREGS EXTR SWR SWDTEN WDTO SLEEP IDLE BOR POR xxxx (1) CLKDIV ROI DOZE2 DOZE1 DOZE0 DOZEN RCDIV2 RCDIV1 RCDIV PMDx XXMD XXMD XXMD XXMD XXMD XXMD XXMD XXMD XXMD XXMD XXMD XXMD XXMD XXMD XXMD XXMD 0000 Legend: x = unknown value on Reset, = unimplemented, read as 0. Reset values are shown in hexadecimal. Note 1: RCON register Reset values dependent on type of Reset. DS39698A-page 10-8 Advance Information 2006 Microchip Technology Inc.
9 Section 10. Power-Saving Features 10.6 DESIGN TIPS Question 1: What should my software do before entering Sleep or Idle mode? Answer: Make sure that the sources intended to wake the device have their IE bits set. In addition, make sure that the particular source of interrupt has the ability to wake the device. Some sources do not function when the device is in Sleep mode. If the device is to be placed in Idle mode, make sure that the Stop in Idle control bit for each device peripheral is properly set. These control bits determine whether the peripheral will continue operation in Idle mode. See the individual peripheral sections of this manual for further details. Question 2: How do I tell which peripheral woke the device from Sleep or Idle mode? Answer: You can poll the IF bits for each enabled interrupt source to determine the source of wake-up. 10 Power-Saving Features 2006 Microchip Technology Inc. Advance Information DS39698A-page 10-9
10 PIC24F Family Reference Manual 10.7 RELATED APPLICATION NOTES This section lists application notes that are related to this section of the manual. These application notes may not be written specifically for the PIC24F device family, but the concepts are pertinent and could be used with modification and possible limitations. The current application notes related to the Power-Saving Features are: Title Application Note # Low-Power Design using PICmicro Microcontrollers AN606 Note: Please visit the Microchip web site (www.microchip.com) for additional application notes and code examples for the PIC24F family of devices. DS39698A-page Advance Information 2006 Microchip Technology Inc.
11 Section 10. Power-Saving Features 10.8 REVISION HISTORY Revision A (August 2006) This is the initial released revision of this document. 10 Power-Saving Features 2006 Microchip Technology Inc. Advance Information DS39698A-page 10-11
12 PIC24F Family Reference Manual NOTES: DS39698A-page Advance Information 2006 Microchip Technology Inc.
Section 10. Power-Saving Modes HIGHLIGHTS This section of the manual contains the following topics: 10.1 Introduction... 10-2 10.2 Power-Saving Modes Control Registers... 10-3 10.3 Operation of Power-Saving
HIGHLIGHTS Section 7. This section of the manual contains the following topics: 7 7.1 Introduction... 7-2 7.2 CPU Clocking...7-4 7.3 Configuration Registers... 7-5 7.4 Special Function Registers... 7-8
Section 8. Interrupts HIGHLIGHTS This section of the manual contains the following topics: 8.1 Introduction... 8-2 8.2 Non-Maskable Traps... 8-5 8.3 Interrupt Processing Timing... 8-9 8.4 Interrupt Control
Section. HIGHLIGHTS This section of the manual contains the following major topics:.1 Introduction... -2.2 CPU Clocking...-4.3 Oscillator Configuration Registers... -5.4 Special Function Registers (SFRs)...
Hello and welcome to this Renesas Interactive course, that provides an overview of the Clock Generator found on RL78 MCUs. 1 This course provides an introduction to the RL78 Clock Generator. Our objectives
Oscillator Module HIGHLIGHTS This section of the manual contains the following major topics: 1.0 Introduction... 2 2.0 CPU Clocking... 5 3.0 Oscillator Configuration Registers... 6 4.0 Special Function
Hello, and welcome to this presentation of the STM32L4 reset and clock controller. 1 The STM32L4 reset and clock controller manages system and peripheral clocks. STM32L4 devices embed three internal oscillators,
Section 29. Real-Time Clock and Calendar (RTCC) HIGHLIGHTS This section of the manual contains the following topics: 29.1 Introduction... 29-2 29.2 Status and Control Registers... 29-3 29.3 Modes of Operation...
PIC MICROCONTROLLERS FOR DIGITAL FILTER IMPLEMENTATION There are many devices using which we can implement the digital filter hardware. Gone are the days where we still use discrete components to implement
Section 14. Timers HIGHLIGHTS This section of the manual contains the following major topics: 14.1 Introduction... 14-2 14.2 Timer Variants... 14-3 14.3 Control Registers... 14-6 14.4 Modes of Operation...
Chapter 13 PIC Family Microcontroller Lesson 01 PIC Characteristics and Examples PIC microcontroller characteristics Power-on reset Brown out reset Simplified instruction set High speed execution Up to
Power saving in CAN applications Magnus-Maria Hell, Infineon Technologies Ursula Kelling, Infineon Technologies During recent years, the discussion about power saving had and has different aspects. One
M Section 19. Voltage Reference HIGHLIGHTS This section of the manual contains the following major topics: 19.1 Introduction...19-2 19.2 Control Register...19-3 19.3 Configuring the Voltage Reference...19-4
M Section 2. Oscillator HIGHLIGHTS This section of the manual contains the following major topics: 2.1 Introduction...2-2 2.2 Oscillator Configurations...2-2 2.3 Crystal Oscillators / Ceramic Resonators...2-4
Low-Power Design Guide Authors: INTRODUCTION Brant Ivey Microchip Technology Inc. Low-power applications represent a significant portion of the future market for embedded systems. Every year, more designers
APPLICATION NOTE Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer Introduction Atmel AVR 8-bit Microcontroller This application note describes how to implement a real time counter (RTC)
Lecture (4) Computer Hardware Requirements for Real-Time Applications Prof. Kasim M. Al-Aubidy Computer Engineering Department Philadelphia University Summer Semester, 2011 Real-Time Systems, Prof. Kasim
AUTOMATED LIBRARY SYSTEM Fahd Magrey 1, Sourav Banik 2, Sarika Jadhav 3, Smita Kulkarni 4 1,2,3 Student, Electronics and Telecommunication Engineering, MIT Academy Of Engineering,Pune, Maharashtra, India,
Intro to Microprocessors and Microcomputers Content Microprocessor, microcontrollers and microcomputers Communication within microcomputers Registers Process architecture CPU Data and program storage Negative
REAL-TIME CLOCK Real-Time Clock The device is not a clock! It does not tell time! It has nothing to do with actual or real-time! The Real-Time Clock is no more than an interval timer connected to the computer
APPLICATION NOTE HANDLING SUSPEND MODE ON A USB MOUSE by Microcontroller Division Application Team INTRODUCTION All USB devices must support Suspend mode. Suspend mode enables the devices to enter low-power
M Section 27. Device Configuration Bits HIGHLIGHTS This section of the manual contains the following major topics: 27.1 Introduction...27-2 27.2 Configuration Word Bits...27-4 27.3 Program Verification/Code
USART M Section 18. USART HIGHLIGHTS This section of the manual contains the following major topics: 18.1 Introduction...18-2 18.2 Control Registers...18-3 18.3 USART Baud Rate Generator (BRG)...18-5 18.4
Section 49. 10-Bit ADC with 4 Simultaneous Conversions HIGHLIGHTS This section of the manual contains the following major topics: 49.1 Introduction...1-2 49.2 Control Registers...1-4 49.3 Overview of and
APPLICATION NOTE PAC52XX Clock Control Firmware Design TM Marc Sousa Senior Manager, Systems and Firmware www.active-semi.com Copyright 2014 Active-Semi, Inc. TABLE OF CONTENTS APPLICATION NOTE... 1 Table
Section 28. Analog-to-Digital er (ADC) without DMA HIGHLIGHTS This section of the manual contains the following major topics: 28.1 Introduction... 28-2 28.2 Control Registers... 28-4 28.3 Conversion Sequence...
M Section 21. Converter HIGHLIGHTS 21 Convertor This section of the manual contains the following major topics: 21.1 Introduction...21-2 21.2 Control Registers...21-3 21.3 Operation...21-5 21.4 A/D Acquisition
Balancing Performance and Power Efficiency in Embedded Systems Introduction Optimizing embedded systems for low power consumption requires developers to find a balance between performance and power usage.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK Lesson-5: SPI, SCI, SI and SDIO Port/devices for Serial Data Communication 1 Microcontroller internal devices for SPI or SCI or SI Synchronous Peripheral
MICROCONTROLLAR BASED DIGITAL CLOCK WITH ALARM www.microsyssolution.com Page 1 A BRIEF INTRODUCTION TO 8051 MICROCONTROLLER-: When we have to learn about a new computer we have to familiarize about the
CS4101 Introduction to Embedded Systems Lab 6: Low-Power Optimization Prof. Chung-Ta King Department of Computer Science, Taiwan Introduction In this lab, we will learn power optimization of MSP430 LanuchPad
An Introduction to MPLAB Integrated Development Environment 2004 Microchip Technology Incorporated An introduction to MPLAB Integrated Development Environment Slide 1 This seminar is an introduction to
nc. Order this document by MC68328/D Microprocessor and Memory Technologies Group MC68328 MC68328V Product Brief Integrated Portable System Processor DragonBall ΤΜ As the portable consumer market grows
M Section 14. Compare/Capture/PWM (CCP) HIGHLIGHTS This section of the manual contains the following major topics: 14.1 Introduction...14-2 14.2 Control Register...14-3 14.3 Capture Mode...14-4 14.4 Compare
M Section 23. A/D Converter HIGHLIGHTS This section of the manual contains the following major topics: 23.1 Introduction...23-2 23.2 Control Register...23-3 23.3 Operation...23-5 23.4 A/D Acquisition Requirements...23-6
Hardware Reference Manual: Reference Design Application Note AN002 Introduction The Reference Design hardware board demonstrates the hardware s ability to interface between the computer, an 8051 microcontroller,
PIC32 Architecture Overview 2008 Microchip Technology Incorporated. All Rights Reserved. PIC32 Architecture Overview Slide 1 Hello and welcome to the PIC32 Architecture Overview webinar. My name is Nilesh
Hello, and welcome to this presentation of the STM32 Universal Synchronous/Asynchronous Receiver/Transmitter Interface. It covers the main features of this USART interface, which is widely used for serial
USB-to-SPI Protocol Converter with GPIO (Master Mode) Features: Universal Serial Bus (USB) Supports Full-Speed USB (12 Mb/s) Human Interface Device (HID) device 128- Buffer to Handle Data Throughput: -
AVR1003: Using the XMEGA Clock System Features Internal 32 khz, 2 MHz, and 32 MHz oscillators External crystal oscillator or clock input Internal PLL with multiplication factor 1x to 31x Safe clock source
SPI Overview and Use of the PICmicro Serial Peripheral Interface In this presentation, we will look at what the Serial Peripheral Interface, otherwise known as the SPI, is, and how it is used to communicate
C What Happens INTRODUCTION PIC MICROCONTROLLER PRODUCT OVERVIEW SELECTING A DEVICE FOR EXPERIMENTS PIC16F818 Pins and functions Package Clock oscillator Reset Ports Special Features PIC microcontroller
AVR134: Real-Time Clock (RTC) using the Asynchronous Timer Features Real-Time Clock with Very Low Power Consumption (4µA @ 3.3V) Very Low Cost Solution Adjustable Prescaler to Adjust Precision Counts Time,
BELONGS TO THE CYGNUS SOLUTIONS founded about 1989 initiative connected with an idea of free software ( commercial support for the free software ). Recently merged with RedHat. CYGNUS was also the original
How to design and implement firmware for embedded systems Last changes: 17.06.2010 Author: Rico Möckel The very beginning: What should I avoid when implementing firmware for embedded systems? Writing code
Freescale Semiconductor Document Number: AN4478 Rev. 0, 03/2012 Software Real Time Clock Implementation on MC9S08LG32 by: Nitin Gupta Automotive and Industrial Solutions Group 1 Introduction The MC9S08LG32
Chapter 6 PLL and Clock Generator The DSP56300 core features a Phase Locked Loop (PLL) clock generator in its central processing module. The PLL allows the processor to operate at a high internal clock
Application Report SLAA080 - March 2000 The MSP430x3xx Clock System Darren Staples Mixed Signal Products ABSTRACT This application report describes in detail the oscillator system present on the MSP430x3xx
1008121 R01 April 2005 MicroMag3 3-Axis Magnetic Sensor Module General Description The MicroMag3 is an integrated 3-axis magnetic field sensing module designed to aid in evaluation and prototyping of PNI
SECTION 13311 - PROCESS INSTRUMENTATION AND CONTROL SYSTEM PROGRAMMABLE LOGIC CONTROLLERS PART 1 - GENERAL 1.01 WORK INCLUDED A. This Section covers work related to the Programmable Logic Controllers (PLC)
One accelerometer interrupt pin for both wakeup and non-motion detection Jay Esfandyari, Fabio Pasolini - June 10, 2013 One accelerometer interrupt pin for both wakeup and non-motion detection Handheld
CHAPTER 1 Microcomputer Systems 1.1 Introduction The term microcomputer is used to describe a system that includes at minimum a microprocessor, program memory, data memory, and an input-output (I/O) device.
ATMega Development Board Manual V1.0 ATMega Development Board.doc Page 1/9 Introduction Development boards allow a quick implementation of a prototype design and successive downloads of the program directly
Fondamenti su strumenti di sviluppo per microcontrollori PIC MPSIM ICE 2000 ICD 2 REAL ICE PICSTART Ad uso interno del corso Elettronica e Telecomunicazioni 1 2 MPLAB SIM /1 MPLAB SIM is a discrete-event
Data Sheet 28/40/44-Pin, High-Performance, 12 MIPS, Enhanced Flash, USB Microcontrollers with nanowatt Technology 2006 Microchip Technology Inc. Advance Information DS39760A te the following details of
EVAT - Emblitz Varsity Associate Trainee Program - Embedded Systems Design Product Number: EVAT 001 This fully interactive self study course of embedded system design teaches the basic and advanced concepts
Application note Peripheral interconnections on STM32F401 and STM32F411 lines Introduction On top of the highest performance and the lowest power consumption of the STM32F4 family, STM32F401/411 peripherals
Hello, welcome to this presentation of the low power timer, or LPTMR, module for Kinetis MCUs. In this session you ll learn about the LPTMR, it s main features and the application benefits of leveraging
Interrupts Hardware and Software interrupts and event-driven programming References and Resources Introduction to Embedded Programming ASM and C examples http://www.scriptoriumdesigns.com/embedded/interrupts.php
Getting Started with PIC24F/PIC24H Programming and Interfacing in C This series of short articles covers the basics of programming a PIC24FJ32GA002/PIC24H 16-bit microcontroller, using Microchip s free
Atmel AVR 8-bit Microcontroller AVR151: Setup and Use of the SPI APPLICATION NOTE Introduction This application note describes how to set up and use the on-chip Serial Peripheral Interface (SPI) of the
AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System Features 32-bit Real Time Counter (RTC) - 32-bit counter - Selectable clock source 1.024kHz 1Hz - Long overflow time
SETIT 2007 4 th International Conference: Sciences of Electronic, Technologies of Information and Telecommunications March 25-29, 2007 TUNISIA Embedded Software Power Optimization Techniques in Real Time
Hello, and welcome to this presentation of the STM32 Infrared Timer. Features of this interface allowing the generation of various IR remote control protocols will be presented. 1 The Infrared Timer peripheral
Section 45. Data Memory with Extended Data Space (EDS) HIGHLIGHTS This section of the manual contains the following topics: 45.1 Introduction... 45-2 45.2 Data Memory Organization... 45-3 45.3 Extended
ETEC 421 - Digital Controls PIC Lab 10 Pulse Width Modulation Program Definition: Write a program to control the speed of a dc motor using pulse width modulation. Discussion: The speed of a dc motor is
Backup Power Domain AN0041 - Application Note Introduction This application note describes how to use the EFM32 Backup Power Domain and Backup Real Time Counter. An included software example for the Giant
Features Compatible with MCS-51 products On-chip Flash Program Memory Endurance: 1,000 Write/Erase Cycles On-chip EEPROM Data Memory Endurance: 100,000 Write/Erase Cycles 512 x 8-bit RAM ISO 7816 I/O Port
AVR 8-bit Microcontrollers AVR131: Using the AVR s High-speed PWM APPLICATION NOTE Introduction This application note is an introduction to the use of the high-speed Pulse Width Modulator (PWM) available
Section 33. Audio Digital-to-Analog Converter (DAC) HIGHLIGHTS This section of the manual contains the following major topics: 33.1 Introduction... 33-2 33.2 Key Features...33-3 33.3 DAC Registers... 33-3
Keil C51 Cross Compiler ANSI C Compiler Generates fast compact code for the 8051 and it s derivatives Advantages of C over Assembler Do not need to know the microcontroller instruction set Register allocation