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

Similar documents
AN999: WT32i Current Consumption

SMBus. Target Bootloader Firmware. Master Programmer Firmware. Figure 1. Firmware Update Setup

EFM8 Laser Bee Family QSG110: EFM8LB1-SLSTK2030A Quick Start Guide

QSG144: CP2615-EK2 Quick-Start Guide

EFM8 Universal Bee Family EFM8UB2 Errata

EFM32 Pearl Gecko Family QSG118: EFM32PG1 SLSTK3401A Quick- Start Guide

QSG114: CPT007B SLEX8007A Kit Quick- Start Guide

AN976: CP2101/2/3/4/9 to CP2102N Porting Guide

QSG123: CP2102N Evaluation Kit Quick- Start Guide

UG345: Si72xx Eval Kit User's Guide

2. Key Points. F93x F92x F91x F90x. Figure 1. C8051F93x-C8051F90x MCU Family Memory Size Options

EFM32 Happy Gecko Family EFM32HG-SLSTK3400A Quick-Start Guide

EFR32 Mighty Gecko Family EFR32MG1 with Integrated Serial Flash Errata History

Translate HCSL to LVPECL, LVDS or CML levels Reduce Power Consumption Simplify BOM AVL. silabs.com Building a more connected world. Rev. 0.

AN125 INTEGRATING RAISONANCE 8051 TOOLS INTO THE S ILICON LABS IDE. 4. Configure the Tool Chain Integration Dialog. 1. Introduction. 2.

Figure 1. CP2108 USB-to-Quad UART Bridge Controller Evaluation Board

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

EFM8 Busy Bee Family EFM8BB2-SLSTK2021A Quick Start Guide

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

EFM8 Universal Bee Family EFM8UB1 Errata

CP2104-EK CP2104 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup USBXpress Driver Development Kit

CP2103-EK CP2103 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup USBXpress Driver Development Kit

CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup

Date CET Initials Name Justification

8-Bit MCU C8051F85x/86x Errata

UG271: CP2615-EK2 User's Guide

CP2114 Family CP2114 Errata

CP2105-EK CP2105 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup USBXpress Driver Development Kit

C8051F411-EK C8051F411 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Kit Overview. 3. Evaluation Board Interface LCD User Interface

EFM32 Zero Gecko EFM32ZG Errata

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

AN1106: Optimizing Jitter in 10G/40G Data Center Applications

Figure 1. Precision32 AppBuilder

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

UG254: CP2102N-MINIEK Kit User's Guide

Humidity/Temp/Optical EVB UG

C8051F00x/01x-DK C8051F00X/01X DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. 2. Hardware Setup using a USB Debug Adapter

EFM32 Pearl Gecko Family EFM32PG1 Errata

C8051F36x-DK. C8051F36x DEVELOPMENT KIT USER S GUIDE. 1. Relevant Devices. 2. Kit Contents. 3. Hardware Setup Using a USB Debug Adapter

8-bit MCU Family C8051F93x/92x Errata

AN324 ADVANCED ENCRYPTION STANDARD RELEVANT DEVICES. 1. Introduction. 2. Implementation Potential Applications Firmware Organization

WT12 EVALUATION KIT DATA SHEET. Monday, 09 September Version 1.7

QSG119: Wizard Gecko WSTK Quick-Start Guide

Termination Options for Any-Frequency Si51x XOs, VCXOs

UDP UPPI Card UG UDP UPPI CARD USER S GUIDE. 1. Introduction. Figure 1. UPPI Cards with and without Radio

The Si50122-Ax-EVB is used to evaluate the Si50122-Ax. Table 1 shows the device part number and corresponding evaluation board part number.

AN1160: Project Collaboration with Simplicity Studio

EFM8 Busy Bee EFM8BB1 Errata

AN1139: CP2615 I/O Protocol

Figure 1. Traditional Biasing and Termination for LVPECL Output Buffers

Router-E and Router-E-PA Wireless Router PRODUCT MANUAL

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

UG352: Si5391A-A Evaluation Board User's Guide

Software Release Note

USBXpress Family CP2102N Errata

AN888: EZR32 Quick Start Guide

QSG159: EFM32TG11-SLSTK3301A Quick- Start Guide

QSG155: Using the Silicon Labs Dynamic Multiprotocol Demonstration Applications

µc/probe on the Freescale FRDM-KL05Z without an RTOS

EFR32MG13, EFR32BG13 & EFR32FG13 Revision C and Data Sheet Revision 1.0

Also available for purchase separately are socket daughter boards for the QFN-11 and QFN-10 packages.

QSG107: SLWSTK6101A/B Quick-Start Guide

The process also requires the use of the following files found in the Micriµm Quick Start Package for the FRDM-KL46Z:

USB Debug. Adapter USB DEBUG ADAPTER. J4 Silicon Laboratories. Stop Power. Run AC/DC. Adapter. Figure 1. Hardware Setup Using a USB Debug Adapter

UG313: Thunderboard Sense 2 Bluetooth Low Energy Demo User's Guide

AN719 PRECISION32 IDE AND APPBUILDER DETAILED TUTORIAL AND WALKTHROUGH. 1. Introduction. Figure 1. Precision32 IDE and AppBuilder Walkthrough Overview

TS9004 Demo Board FEATURES ORDERING INFORMATION

UG369: Wireless Xpress BGX13P SLEXP8027A Kit User's Guide

UG294: CPT213B SLEXP8019A Kit User's Guide

BRD4300B Reference Manual MGM111 Mighty Gecko Module

QSG153: Micrium s μc/probe Tool Quick- Start Guide

AN0885: EFM8UB Low Energy USB Overview

TS7001 Demo Board. A Micropower, 2-channel, ksps, Serial-Output 12-bit SAR ADC FEATURES

UG322: Isolated CAN Expansion Board User Guide

Wireless Development Suite (WDS) is a software utility used to configure and test the Silicon Labs line of ISM band RFICs.

QSG107: SLWSTK6101A Quick-Start Guide

EFM32 EFM32GG11 Giant Gecko Family QSG149: EFM32GG11-SLSTK3701A Quick-Start Guide

UG365: GATT Configurator User s Guide

AN0018.0: Supply Voltage Monitoring

QSG107: SLWSTK6101A/B Quick-Start Guide

Date CET Initials Name Justification

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

AN1095: What to Do When the I2C Master Does Not Support Clock Stretching

UG274: Isolated USB Expansion Board User Guide

AN1143: Using Micrium OS with Silicon Labs Thread

AN0018.1: Supply Voltage Monitoring

AN0059.1: UART Flow Control

FBOUT DDR0T_SDRAM0 DDR0C_SDRAM1 DDR1T_SDRAM2 DDR1C_SDRAM3 DDR2T_SDRAM4 DDR2C_SDRAM5 DDR3T_SDRAM6 DDR3C_SDRAM7 DDR4T_SDRAM8 DDR4C_SDRAM9 DDR5T_SDRAM10

AN108 IMPLEMENTING A REALTIME CLOCK. Relevant Devices. Introduction. Key Points. Overview

Si7005USB-DONGLE. EVALUATION DONGLE KIT FOR THE Si7005 TEMPERATURE AND HUMIDITY SENSOR. 1. Introduction. 2. Evaluation Kit Description

AN1083: Creating and Using a Secure CoAP Connection with ARM s mbed TLS

EFM32G Product Revision E

Date CET Initials Name Justification

Selector Switch SDA. Pin 1. SCL Pin 2. I2C Bus. Pin 7. Pin 8. Pin 1. Pin 2. Pin 7 Pin 8. Pin 1 Pin 2. Pin 7 Pin 8

AN1006: Differences Between Si534x/8x Revision B and Revision D Silicon

AN0821: Simplicity Studio C8051F85x Walkthrough

QSG126: Bluetooth Developer Studio Quick-Start Guide

Not Recommended for New Designs. Si Data Sheet Errata for Product Revision B

UG334: Si5394 Evaluation Board User's Guide

Transcription:

Power Management Techniques and Calculation 1. Relevant Devices This application note applies to the following devices: C8051F000, C8051F001, C8051F002, C8051F005, C8051F006, C8051F010, C8051F011, C8051F012, C8051F012, C8051F015, C8051F016, C8051F017, C8051F018, and C8051F019. Introduction This application note discusses power management techniques and methods of calculating power in a Silicon Labs C8051F00x and C8051F01x SoC. Many applications will have strict power requirements, and there are several methods of lowering the rate of power consumption without sacrificing performance. Calculating the predicted power use is important to characterize the system s power supply requirements. Key Points Supply voltage and system clock frequency strongly affect power consumption. Silicon Lab s SoC s feature power management modes: IDLE and STOP. Power use can be calculated as a function of system clock frequency, supply voltage, and enabled peripherals. Power Saving Methods CMOS digital logic device power consumption is affected by supply voltage and system clock (SYSCLK) frequency. These parameters can be adjusted to realize power savings, and are readily controlled by the designer. This section discusses these parameters and how they affect power usage. Reducing System Clock Frequency In CMOS digital logic devices, power consumption is directly proportional to system clock (SYSCLK) frequency: power CV 2 f where: C is CMOS load capacitance, V is supply voltage, and f is SYSCLK frequency. The system clock on the C8051Fxxx family of devices can be derived from an internal oscillator or an external source. External sources may be a CMOS clock, RC circuit, capacitor, or crystal oscillator. For information on configuring oscillators, see application note: AN02 - Configuring the Internal and External Oscillators. The internal oscillator can provide four SYSCLK frequencies: 2, 4, 8, and 16 MHz. Many different frequencies can be achieved using the external oscillator. To conserve power, a designer must decide what the fastest needed SYSCLK frequency and required accuracy is for a given application. A design may require a constant SYSCLK frequency during all device operations. In this case, the designer will choose the lowest possible frequency required, and use the oscillator configuration that consumes the least power. Typical applications include serial communications, and periodic sampling with an ADC that must be performed. = Equation 1. CMOS Power Equation Rev. 1.1 12/03 Copyright 2003 by Silicon Laboratories AN116

Some operations may require high speed operation, but only in short, intermittent intervals. This is sometimes referred to as burst operation. In the C8051Fxxx, the SYSCLK frequency can be changed at anytime. Thus, the device can operate at low frequency until a condition occurs that requires high frequency operation. Two examples of alternating between SYSCLK sources are (1) an internal oscillator/external crystal configuration, and (2) an external crystal/rc oscillator configuration. If the device is used for occasional high speed data conversion, and a realtime clock is used for time-stamping the data, a combination internal oscillator and external crystal would be ideal. During sampling operations, the high speed internal oscillator would be used. When sampling is complete, the device could then use an external 32 khz crystal to maintain the real-time clock. Once high speed operations are required again, the device switches to the internal oscillator as necessary (see Figure 1 below). An example of this procedure is illustrated in application note AN008 - Implementing a Real-Time Clock. The crystal oscillator and internal oscillator may be operated simultaneously and each selected as the SYSCLK source in software as desired. To reduce supply current, the crystal may also be shutdown when using the internal oscillator. In this case, when switching from the internal to external oscillator the designer must consider the start-up delay when switching the SYSCLK source. The C8051F0xx devices have a flag that is set when the external clock signal is valid (XTLVLD bit in the OSCXCN register) to indicate the oscillator is running and stable. This flag is polled before switching to the external oscillator. Note that other operations can continue using the internal oscillator during the crystal start-up time. Some applications require intermittent high speed and accuracy (e.g., ADC sampling and data processing), but have lower frequency and accuracy requirements at other times (e.g., waiting for sampling interval), a combination of an external oscillator and RC circuit can be useful. In this case, the external RC oscillator is used to derive the lower frequency SYSCLK source, and the crystal is used for high frequency operations. The RC circuit requires a connection to VDD (voltage source) to operate. Because this connection could load the crystal oscillator circuit while the crystal is in operation, we connect the RC circuit to a general purpose port pin (see Figure 2 below). When the RC circuit is in use, the port pin connection is driven high (to VDD) by selecting its output mode to push-pull and writing a 1 to the port latch. When the crystal oscillator is being used, the port pin is placed in a hi-z condition by configuring the output mode of the port to open-drain and writing a 1 to the port latch. Note the RC circuit C8051F0xx C XTAL1 External Oscillator SYSCLK XTAL2 C Internal Oscillator Figure 1. Internal Oscillator and an External Crystal Source Configuration Rev. 1.1 2

may take advantage of the existing capacitors used for the crystal oscillator. The start-up of the RC-circuit oscillator is nearly instantaneous. However, there is a notable start-up time for the crystal. Therefore, switching from the RC oscillator to the external crystal oscillator using the following procedure: 1. Switch to the internal oscillator. 2. Configure the port pin used for the RC circuit voltage supply as open-drain and write a 1 to the port pin (Hi-Z condition). 3. Start the crystal (Set the XFCN bits). 4. Wait for 1 ms. 5. Poll for the External Crystal Valid Bit (XTLVLD --> 1 ). 6. Switch to the external oscillator. Switch from the external crystal oscillator to the the RC oscillator as follows: 1. Switch to the internal oscillator. 2. Shutdown the crystal (clear the XFCN bits). 3. Drive the voltage supply port pin high (to VDD) by putting the port pin in push-pull mode and writing a 1 to its port latch. 4. Switch back to the external oscillator. Supply Voltage The amount of current used in CMOS logic is directly proportional to the voltage of the power supply. The power consumed by CMOS logic is proportional the power supply voltage squared (See Equation 1). Thus, power consumption may be reduced by lowering the supply voltage to the device. The C8051Fxxx family of devices require a supply voltage of 2.7-3.6 Volts. Thus, to save power, it is recommended to use a 3.0 volt regulator instead of a 3.3 volt regulator for power savings. CIP-51 Processor Power Management Modes The C8051 processor has two modes which can be used for power management. These modes are IDLE and STOP. IDLE Mode In IDLE Mode, the CPU and FLASH memory are taken off-line. All peripherals external to the CPU remain active, including the internal clocks. The CPU exits IDLE Mode when an enabled interrupt R General Purpose Port Pin XTAL1 C8051F0xx C XTAL2 External Oscillator C Figure 2. External RC and Crystal Oscillator Configuration Rev. 1.1 3

or reset occurs. The CPU is placed in IDLE Mode by setting the Idle Mode Select Bit (PCON.0) to 1. When the IDLE Mode Select Bit is set to 1, the CPU enters IDLE Mode once the instruction that sets the bit has executed. An asserted interrupt will clear the IDLE Mode Select Bit and the CPU will vector to service the interrupt. After a return from interrupt (RETI), the CPU will return to the next instruction following the one that had set the IDLE Mode Select Bit. If a reset occurs while in IDLE Mode, the normal reset sequence will occur and the CPU will begin executing code at memory location 0x0000. As an example, the CPU can be placed in IDLE while waiting for a Timer 2 overflow to initiate a sample/conversion in the ADC. Once the conversion and sample processing is complete, the ADC end-of-conversion interrupt wakes the CPU from IDLE Mode and processes the sample. After the sample processing is complete, the CPU is placed back into IDLE Mode to save power while waiting for the next interrupt. As another example, the CPU may wait in IDLE Mode to save power until an external interrupt signal is used to wake up the CPU as needed. Upon receiving an external interrupt, the CPU will exit IDLE Mode and vector to the corresponding interrupt vector (e.g., /INT0 or /INT1). STOP Mode The C8051 STOP Mode is used to shut down the CPU and oscillators. This will effectively shut down all digital peripherals as well. All analog peripherals must be shutdown by software prior to entering STOP Mode. The processor exits STOP Mode only by an internal or external reset. Thus, STOP Mode saves power by reducing the SYSCLK frequency to zero. Note that the Missing Clock Detector will cause an internal reset (if enabled) that will terminate STOP Mode. Thus, the Missing Clock Detector should be disabled prior to entering STOP Mode if the CPU is to be in STOP Mode longer than the Missing Clock Detector time-out (100 s). The C8051 processor is placed in STOP Mode by setting the STOP Mode Select Bit (PCON.1) to 1. Upon reset, the CPU performs the normal reset sequence and begins executing code at 0x0000. Any valid RESET source will exit STOP Mode. Sources of reset to exit STOP Mode are External Reset (/RST), Missing Clock Detector, Comparator 0, and the External ADC Convert Start (/CNVSTR). As an example, the CPU may be placed in STOP Mode for a period to save power when no device operation is required. When the device is needed, Comparator 0 reset could be used to wake up the device. Generally, a power conscious design will use the lowest voltage supply, lowest SYSCLK frequency, and will use Power Management Modes when possible to maximize power savings. Most of these can be implemented or controlled in software. Calculating Power Consumption There are two components of power consumption in Silicon Lab s C8051F00x and C8051F01x family of devices: analog and digital. The analog component of power consumption is nearly constant for all SYSCLK frequencies. The digital component of power consumption changes considerably with SYSCLK frequency. The digital and analog components are added to determine the total power consumption. The current use calculations presented in this application note apply to the C8051F00x and C8051F01x ( F000, 01, 02, 03, 05, 06, 10, 11, 12, 15, and 16) family of Silicon Labs devices. 4 Rev. 1.1

The data sheet section, Global DC Electrical Characteristics contains various supply current values for different device conditions. The current values are separated into digital (at three example frequencies) and analog components. The analog numbers presented are values with all analog peripherals active. Supply current values for each analog peripheral can be found in the data sheet section for the peripheral. For convenience, the Global DC Electrical Characteristics for the C8051F00x and C8051F01x family of devices are presented in the table below. Table 1. C8051F0xx Global DC Electrical Characteristics PARAMETER CONDITIONS Min Typ Max UNITS Analog Supply Voltage 2.7 3.0 3.6 V Analog Supply Current Analog Supply Current with Analog Subsystems inactive Analog-to-Digital supply delta ( VDD - AV+ ) Internal REF, ADC, DAC, Comparators all active Internal REF, ADC, DAC, Comparators all inactive; oscillator disabled 1 2 ma 6 20 A 0.5 V Digital Supply Voltage 2.7 3.0 3.6 V Digital Supply Current with CPU active VDD=2.7V; CLK=20 MHz VDD=2.7V; CLK=1 MHz VDD=2.7V; CLK=32 khz 10 90 10 ma A A Digital Supply Current with CPU inactive (IDLE Mode) VDD=2.7V; CLK=20 MHz VDD=2.7V; CLK=1 MHz VDD=2.7V; CLK=32 khz 9 0.6 10 ma ma A Digital Supply Current (STOP Mode) Digital Supply RAM Data Retention Voltage Specified Operating Temp Range Oscillator not running 5 A 1.5 V -40 +85 degrees C Internal vs. External Oscillator Besides using lower SYSCLK frequencies, the designer can realize power savings by making smart SYSCLK source choices. The internal oscillator will typically consume 200 A of current supplied from the digital power supply. The current used to drive an external oscillator can vary. The drive current (supplied from the analog power supply) for an external source, such as a crystal, is set in software by configuring the XFCN bits in the External Oscillator Control Register (OSCXCN). Thus, at higher drive currents the user may save power by using the internal oscillator. However, at the lowest XFCN setting the external oscillator will use less than 1 A which is less current than used by the internal oscillator. Some typical measured current values are listed below. These measurements may vary from device to device. This drive level is kept as low as possible to minimize power consumption, but must be high enough to start the external oscillator. The following table lists the cur- Rev. 1.1 5

rent vs. External Oscillator Frequency Control Bit settings. Table 2. Typical Current Use vs. External Oscillator Frequency Control Bit Settings XFCN Digital Peripherals Current ( A) 000 0.6 001 2.0 010 5.8 011 17 100 50 101 140 110 630 111 2900 For rough calculations, a good rule of thumb is to assume a 1 ma/mhz of operating current (digital) + 1 ma if the analog components (ADC, comparators, DAC, VREF, etc.) are enabled. This rule of thumb assumes a 3.6 V supply voltage. A lower supply voltage will reduce power consumption. At 2.7 V, the rule of thumb is 0.5 ma/mhz (in NOR- MAL mode). The rules of thumb for rough calculations are presented in the table below: Table 3. Digital Current Consumption (typical) Power Mode VDD=2.7 V VDD=3.6 V NORMAL 0.5 ma/mhz 1.0 ma/mhz IDLE 0.33 ma/ MHz 0.65 ma/mhz Note that digital supply current is independent of how many digital peripherals are in use. Supply current is proportional to SYSCLK frequency and power supply voltage. Analog Peripherals The individual supply current values for each analog peripheral are posted in the data sheet section for that component (typically near the end of the section). It is recommended to disable all peripherals not in use to save power. For convenience, the C8051F00x and C8051F10x analog peripherals supply current values are listed below: Table 4. C8051F0xx Analog Supply Current Use by Component Analog Peripheral VDD monitor (always enabled) ADC 450 VREF (internal) Temp Sensor 10 Comparators DAC Internal Oscillator (uses digital power supply) Note the analog power consumption is relatively independent of by SYSCLK frequency. Calculating Total Current When the required SYSCLK frequency, supply voltage, and peripherals have been determined, the total supply current can be estimated. To calculate the total supply current, the analog peripheral current use (found by adding the currents of each of the enabled analog peripherals) is added to the digital current use (calculated for a given frequency, power mode, and supply voltage). If all of the analog peripherals are enabled, analog current use is about 1 ma. Example Calculations Current (Typical) in A 8 (VDD=2.7 V) 15 (VDD=3.6 V) 50 (bandgap ref. and driver) 1.5 (each) 110 (each) 200 The following are examples of supply current calculations. Each application may use different 6 Rev. 1.1

power modes, SYSCLK frequencies, and peripherals at different times. Thus, power management specifications may require several different supply current calculations. The digital component and analog components of current use are found separately, and then added together for the total. Example 1 The C8051F000 device is being used in a system with VDD=3.6 V. An ADC is sampling a parameter and processing the sample for an output to one DAC. Because of the sampling and processing requirements of the application, SYSCLK frequency is 16 MHz using the internal oscillator. Table 5. Analog Components Peripheral ADC 450 VREF (internal) 50 Internal Osc. 200 one DAC 110 VDD monitor 15 Total Analog 825 Table 6. Digital Component Table 7. Supply Current ( A) In NORMAL Mode @ 16 MHz; 1 ma/mhz * 16 MHz = 16 ma Table 8. Total Table 9. 825 A (analog) + 16 ma (digital)= 16.8 ma Example 2 Assume we are still estimating the supply current in the same application in Example 1. If the sample processing is a burst operation (i.e., intermittent need for sampling and conversions), we may choose to place the CIP-51 in IDLE Mode to allow a Timer to wake-up the CIP-51 after a specified interval. In this case, the average supply current can be calculated in order to estimate power requirements. The device will switch between NORMAL Mode (for sampling and data conversion) and IDLE Mode (between sample processing operations). The switch between IDLE and NOR- MAL Modes (and supply current values) will happen in a cycle with a period equal to the sampling rate. (See Figure 3 below). This will allow us to calculate average supply current, after we calculate the supply current in IDLE Mode. Table 10. Analog Component Table 11. Data Sample and Conversion (NORMAL Mode) 16.8mA Current IDLE Mode 10.4mA Sample Period Time Figure 3. Supply Current Modulation to Lower Average Power Rev. 1.1 7

Analog peripherals are disabled during the IDLE Mode period between sample processing and output. Thus, analog current consumption is just: VDD monitor = 15 A. Table 12. Digital Component Table 13. In IDLE Mode @ 16 MHz; 0.65 ma/mhz * 16 MHz = 10.4 ma Table 14. Total Table 15. The analog component would be considered negligible in most applications, thus, the total is just the digital component: 50 A (analog) + 10.4 ma (digital) = 10.4 ma Now that we have calculated IDLE Mode supply current and NORMAL Mode supply current (in Example 1), we must calculate the time we spend in each mode to find the average current the device will use. Assuming the ADC is in low-power tracking mode and at the maximum SAR conversion clock of 2 MHz (ADC set for SAR clock = SYSCLK/8), and we desire a 10 khz sampling rate. The period of the power cycle in Figure 3 is 1/10,000 (sample rate) = 100 s. The time in NORMAL Mode will be the ADC tracking/conversion time, and the time to store the value in memory. In low-power tracking mode, it will take 3 SAR clocks for tracking, and 16 SAR clocks for conversion. 19 SAR clocks at 2 MHz will take 9.5 s. To store the number will take to system clock cycles, or 0.125 s. To enter NOR- MAL Mode, a mov instruction is executed, taking 3 SYSCLK cycles which takes 0.188 s. Thus, the total time in NORMAL Mode is 9.5 s+0.125 s+0.188 s = 9.8 s. Because the ADC sample period is 100 s, the time we may be in IDLE Mode during the power cycle is 100 s - 9.8 s (time in NORMAL Mode) = 90.2 s. By integrating the area under the curve in Figure 3 for one period (100 s), and dividing that number by the period, the average supply current is 11 ma. Example 3 If the oscillator frequency were lowered while in IDLE Mode (in Example 2) to 32 khz using an external crystal for additional power savings, the current use would be: The external oscillator control bits will be set to XFCN = 000. This uses 0.6 A of analog current. (0.65 ma *.032 MHz) + 0.6 A = 21 A This is a dramatic difference from Example 2 s IDLE Mode at 16 MHz, by simply reducing oscillator frequency. Continuing with the average supply current calculation in Example 2 (with 6 extra SYSCLK cycles in NORMAL Mode to lower the frequency), the average supply current would be 1.7 ma! Example 4 In this application, the C8051F000 is being used to sample a parameter using the ADC and store samples in memory, with high accuracy timing of samples required. For more accurate timing, the SYSCLK is derived from an external 18.432 MHz crystal oscillator. To save power, the designer has decided to use a supply voltage of 3.0 V. Timer 2 is used to time the ADC sampling intervals. Table 16. Analog Components Peripheral ADC 450 External Osc Driver (XFCN=111) 2900 Current ( A) 8 Rev. 1.1

Table 16. Analog Components Peripheral VDD Monitor 11 Total Analog 3361 Table 17. Digital Component Table 18. In NORMAL Mode @ 18.432 MHz; 0.8 ma/mhz * 18.432 MHz = 14.7 ma Table 19. Total Current Use Table 20. 3.4 ma (analog)+14.7 ma (digital)= 18.1 ma Example 4 in IDLE Mode Current ( A) Placing the application in IDLE Mode with the ADC disabled during intervals that sampling is not required (no CIP-51 operations are needed; digital peripherals continue to operate) will save power if the sampling operation is a burst operation. In IDLE Mode, the digital current consumption is only 0.6 ma/mhz, with no ADC, thus the current consumption at 18.432 MHz =11.1 ma. Calculating the average supply current for one sample period (similarly to Example 2, assuming a 10 khz sampling rate and low-power tracking mode), the average current is estimated to be 11.9 ma. Rev. 1.1 9

Simplicity Studio One-click access to MCU and wireless tools, documentation, software, source code libraries & more. Available for Windows, Mac and Linux! IoT Portfolio www.silabs.com/iot SW/HW Quality Support and Community www.silabs.com/simplicity www.silabs.com/quality community.silabs.com Disclaimer Silicon Labs intends to provide customers with the latest, accurate, and in-depth documentation of all peripherals and modules available for system and software implementers using or intending to use the Silicon Labs products. Characterization data, available modules and peripherals, memory sizes and memory addresses refer to each specific device, and "Typical" parameters provided can and do vary in different applications. Application examples described herein are for illustrative purposes only. Silicon Labs reserves the right to make changes without further notice and limitation to product information, specifications, and descriptions herein, and does not give warranties as to the accuracy or completeness of the included information. Silicon Labs shall have no liability for the consequences of use of the information supplied herein. This document does not imply or express copyright licenses granted hereunder to design or fabricate any integrated circuits. The products are not designed or authorized to be used within any Life Support System without the specific written consent of Silicon Labs. A "Life Support System" is any product or system intended to support or sustain life and/or health, which, if it fails, can be reasonably expected to result in significant personal injury or death. Silicon Labs products are not designed or authorized for military applications. Silicon Labs products shall under no circumstances be used in weapons of mass destruction including (but not limited to) nuclear, biological or chemical weapons, or missiles capable of delivering such weapons. Trademark Information Silicon Laboratories Inc., Silicon Laboratories, Silicon Labs, SiLabs and the Silicon Labs logo, Bluegiga, Bluegiga Logo, Clockbuilder, CMEMS, DSPLL, EFM, EFM32, EFR, Ember, Energy Micro, Energy Micro logo and combinations thereof, "the world s most energy friendly microcontrollers", Ember, EZLink, EZRadio, EZRadioPRO, Gecko, ISOmodem, Precision32, ProSLIC, Simplicity Studio, SiPHY, Telegesis, the Telegesis Logo, USBXpress and others are trademarks or registered trademarks of Silicon Labs. ARM, CORTEX, Cortex-M3 and THUMB are trademarks or registered trademarks of ARM Holdings. Keil is a registered trademark of ARM Limited. All other products or brand names mentioned herein are trademarks of their respective holders. Silicon Laboratories Inc. 400 West Cesar Chavez Austin, TX 78701 USA http://www.silabs.com