Engineer-to-Engineer Note a EE-297 Technical notes on using Analog Devices DSPs, processors and development tools Visit our Web resources http://www.analog.com/ee-notes and http://www.analog.com/processors or e-mail processor.support@analog.com or processor.tools.support@analog.com for technical support. Estimating Power for ADSP-BF534/BF536/BF537 Blackfin® Processors Contributed by Joe B. Rev. 3 – November 21, 2007 Introduction This EE-Note discusses the methodology for estimating total average power consumption of ADSPBF534, ADSP-BF536, and ADSP-BF537 Blackfin® embedded processors. The ADSP-BF536 Blackfin processor is a low-power derivative of the ADSP-BF537 processor and is referred to as a “low-power processor” in this document. The ADSP-BF537 processors can run at faster internal clock speeds and are referred to as “high-performance processors” in this document. The ADSP-BF534 processor can be either low-power (400 MHz models) or high-performance (500 MHz models). The term Blackfin refers to all variations of processors addressed by this document. Power estimates are based on characterization data measured over power supply voltage, core frequency (CCLK), and junction temperature (TJ). The intent of this document is to assist board designers in estimating their power budget for power supply design and thermal relief designs using Blackfin processors. These processors feature dynamic power management control, allowing the regulation of applied core voltage (VDDINT) from an external I/O source (VDDEXT). The ranges for these supplies differ depending on the part being used. The total power consumption of the Blackfin processor is the sum of the power consumed for both of the power supply domains, VDDINT and VDDEXT. Please consult the following sections of the ADSP-BF534/ADSP-BF536/ADSP-BF537 Blackfin Embedded Processor Data Sheet[1] for details specific to discussions throughout this EE-Note: • See the Recommended Operating Conditions section for details regarding VDDINT and VDDEXT ranges. • See the Timing Specifications section for details regarding required VDDINT values to support the desired CCLK. • See the Ordering Guide section for a comprehensive list of the various speed and temperature grade models available for ADSP-BF534, ADSP-BF536, and ADSP-BF537 Blackfin processors. Copyright 2007, Analog Devices, Inc. All rights reserved. Analog Devices assumes no responsibility for customer product design or the use or application of customers’ products or for any infringements of patents or rights of others which may result from Analog Devices assistance. All trademarks and logos are property of their respective holders. Information furnished by Analog Devices applications and development tools engineers is believed to be accurate and reliable, however no responsibility is assumed by Analog Devices regarding technical accuracy and topicality of the content provided in Analog Devices’ Engineer-to-Engineer Notes. a Estimating Internal Power Consumption The total power consumption due to internal circuitry (on the VDDINT supply) is the sum of the static power component and dynamic power component of the processor’s core logic. The dynamic portion of the internal power depends on the instruction execution sequence, the data operands involved, and the instruction rate. The static portion of the internal power is a function of temperature and voltage; it is not related to processor activity. Analog Devices provides current consumption figures and scaling factors for discrete dynamic activity levels. System application code can be mapped to these discrete numbers to estimate the dynamic portion of the internal power consumption for Blackfin processors in a given application. Internal Power Vector Definitions The following power vector definitions define the dynamic activity levels that apply to the internal power vectors shown in Table 1. IDD-IDLE - VDDINT supply current for idle activity. Idle activity is the core executing the IDLE instruction only, with no core memory accesses, no DMA, and no interrupts. IDD-NOP - VDDINT supply current for no-op activity. No-op activity is the core executing the NOP instruction only, with no core memory accesses, no DMA, and no interrupts. This is a useful measurement for software-implemented delay loops. IDD-APP - VDDINT supply current for a specific application’s activity. This activity is the core executing an application comprised of 30% dual-MAC instructions and 70% load-store and no-op instructions. All instructions and data are located in L1 SRAM, and peripherals are not enabled. IDD-TYP - VDDINT supply current for typical activity. Typical activity is the core executing an application comprised of 75% dual-MAC instructions and 25% dual-ALU instructions. All instructions and data are located in L1 SRAM, and peripherals are not enabled. This is the test vector used for the dissipation numbers found in the data-sheet. IDD-HIGH - VDDINT supply current for high activity. High activity is the core executing an application comprised entirely of dual-MAC instructions. All instructions and data are located in L1 SRAM, and peripherals are disabled. IDD-PEAK - VDDINT supply current for peak activity. Peak activity is the core executing 100% dual-MAC instructions fetched from internal memory, with memory DMA moving a data pattern from L1 Data A memory to L1 Data B memory. The bit pattern toggles all bits in each access. The test code used to measure IDD-PEAK represents worst-case processor operation. This activity level is not sustainable under normal application conditions. Estimating IDDINT Dynamic Current, IDD-DYN There are two steps required to estimate dynamic power consumption due to internal circuitry (i.e., on the VDDINT supply). The first step is to determine the dynamic baseline current, and the second step is to determine the percentage of activity for each discrete power vector with respect to the entire application. Estimating Power for ADSP-BF534/BF536/BF537 Blackfin® Processors (EE-297) Page 2 of 15 a IDD Baseline Dynamic Current, IDD-BASELINE-DYN The graph for the Blackfin processors’ baseline dynamic current (IDD-BASELINE-DYN) is shown in Figure 1. The IDD-BASELINE-DYN value is derived using the IDD-TYP dynamic activity level vs. core frequency. Each curve in the graph represents a baseline IDDINT dynamic current for a specified power supply setting. Using the curve specific to the application, IDD-BASELINE-DYN for the VDDINT power supply domain can be estimated at the CCLK of the processor in the application. For example, with VDDINT at 1.2 V and CCLK at 400 MHz, the corresponding IDD-BASELINE-DYN for the VDDINT power supply domain would be approximately 120 mA. ADSP-BF534/6/7 Idd Dynamic Typical (I DD-BASELINE-DYN ) 250.00 1.40V 1.35V 1.30V 1.25V 1.20V 1.15V 1.10V 1.05V 1.00V 0.95V 0.90V 0.85V 0.80V Current (mA) 200.00 150.00 100.00 50.00 0.00 0 100 200 300 400 500 600 700 Core Clock Frequency (MHz) Figure 1. Baseline IDDINT Dynamic Current Estimating Power for ADSP-BF534/BF536/BF537 Blackfin® Processors (EE-297) Page 3 of 15 a IDD Dynamic Current Running Your Application Table 1 lists the scaling factors for each activity level, which are used to estimate the dynamic current for each specific application. With knowledge of the program flow and an estimate of the percentage of time spent at each activity level, system developers can use IDD-BASELINE-DYN values shown in Figure 1 and the corresponding activity scaling factors (ASF) from Table 1 to determine the dynamic portion of the internal current (IDD-DYN) for each Blackfin processor in a system. Power Vector Activity Scaling Factor (ASF) IDD-PEAK 1.33 IDD-HIGH 1.29 IDD-TYP 1.00 IDD-APP 0.88 IDD-NOP 0.72 IDD-IDLE 0.43 Table 1. Internal Power Vectors and Dynamic Scaling Factors The dynamic current consumption for a Blackfin processor in a specific application is calculated according to Equation 1, where “%” is the percentage of the overall time that the application spends in that state: ( % Peak activity level ( % High activity level ( % Typ. activity level ( % App. activity level ( % NOP activity level + ( % Idle activity level x IDD-PEAK ASF x IDD-BASELINE-DYN) x IDD-HIGH ASF x IDD-BASELINE-DYN) x IDD-TYP ASF x IDD-BASELINE-DYN) x IDD-APP ASF x IDD-BASELINE-DYN) x IDD-NOP ASF x IDD-BASELINE-DYN) x IDD-IDLE ASF x IDD-BASELINE-DYN) Total Dynamic Current for VDDINT (IDD-DYN) Equation 1. Internal Dynamic Current (IDD-DYN) For example, after profiling the application code for a particular system, activity is determined to be proportioned as shown in Figure 2. (10% Peak Activity Level) (20% High Activity Level) (50% Typ. Activity Level) (10% App. Activity Level) (10% NOP Activity Level) + (0% Idle Activity Level) 100% Activity Figure 2. Internal System Activity Levels Estimating Power for ADSP-BF534/BF536/BF537 Blackfin® Processors (EE-297) Page 4 of 15 a Using the ASF provided for each activity level in Table 1 (and with VDDINT at 1.2 V and CCLK at 400 MHz), a value for the dynamic portion of the internal current consumption of a single processor can be estimated as follows: (10% x 1.33 x 120) (20% x 1.29 x 120) (50% x 1.00 x 120) (10% x 0.88 x 120) (10% x 0.72 x 120) + (0% x 0.43 x 120) IDD-DYN = 112.82 mA = ~113 mA Figure 3. Internal Dynamic Current Estimation The total estimated dynamic current on the VDDINT supply in this example is ~113 mA. Estimating IDDINT Static Current, IDD-DEEPSLEEP Deep Sleep mode for Blackfin processors is when power is applied to the core and L1 memories, but all clocks are turned off. In this mode, the static current (IDD-DEEPSLEEP) measurement can be taken, which is the static component of overall average dissipation. Graphs for IDD-DEEPSLEEP for the Blackfin processors are shown in Figure 4 (high-performance processors) and in Figure 5 (low-power processors). Static current on the VDDINT power supply domain is a function of junction temperature (TJ) and voltage, but it is not a function of frequency or activity level. Therefore, unlike the dynamic portion of the internal current, IDD-DEEPSLEEP need not be calculated for each discrete activity level or power vector. Using the IDD-DEEPSLEEP curve corresponding to the application (i.e., at specific VDDINT), IDD-DEEPSLEEP can be estimated vs. TJ of the Blackfin processor. Appendix A discusses the methodology for estimating TJ. This process involves knowing the total power profile for the processor; therefore, this process will be iterative to arrive at a final calculation for expected power dissipation. For example, in an application with VDDINT at 1.2 V and a high-performance Blackfin processor at a TJ of +100oC, the corresponding IDD-DEEPSLEEP for the VDDINT power supply domain would be approximately 375 mA. Similarly, in an application with VDDINT at 1.2 V and a low-power Blackfin processor at a TJ of +100oC, the corresponding IDD-DEEPSLEEP for the VDDINT power supply domain would be approximately 100 mA. The static power of the Blackfin processor is constant for a given voltage and temperature. Therefore, it is simply added to the total estimated dynamic current when calculating the total power consumption due to the internal circuitry of the Blackfin processor. Note that the IDD-DEEPSLEEP currents shown in Figure 4 and Figure 5 represent the worse-case static current as measured across the wafer fabrication process for highperformance and low-power devices, respectively. Estimating Power for ADSP-BF534/BF536/BF537 Blackfin® Processors (EE-297) Page 5 of 15 a Figure 4. High-Performance IDD_DEEPSLEEP Static Current Estimating Power for ADSP-BF534/BF536/BF537 Blackfin® Processors (EE-297) Page 6 of 15 a Figure 5. Low-Power IDD_DEEPSLEEP Static Current Estimating Power for ADSP-BF534/BF536/BF537 Blackfin® Processors (EE-297) Page 7 of 15 a Estimating Total IDDINT Current The total current consumption due to the internal core circuitry (IDDINT) is the sum of the dynamic current component and the static current component, as shown in Equation 2. IDDINT = IDD-DYN + IDD-DEEPSLEEP Equation 2. Internal Core Current (IDDINT) Calculation Continuing with the example of the Blackfin processor operating at 1.2 V and 400 MHz (and with the code as profiled), assume that the resulting TJ is estimated to be +100oC. The total IDDINT consumed by the high-performance processor core under these conditions would be: IDDINT = 113 + 379 = 492 mA Equation 3. IDDINT Estimation (High-Performance) The same estimate for the low-power processor core would be: IDDINT = 113 + 141 = 254 mA Equation 4. IDDINT Estimation (Low-Power) Total Estimated Internal Power, PDDINT The resulting internal power consumption (PDDINT) is given by Equation 5. PDDINT = VDDINT x IDDINT Equation 5. Internal Power (PDDINT) Calculation Using Equation 5, the total estimated internal power consumed by the high-performance processor in the application described in this example would be: PDDINT = 1.20V x 492 mA = 590 mW Equation 6. PDDINT Estimation (High-Performance) The same estimate for the low-power processor would be: PDDINT = 1.20V x 254 mA = 305 mW Equation 7. PDDINT Estimation (Low-Power) Estimating Power for ADSP-BF534/BF536/BF537 Blackfin® Processors (EE-297) Page 8 of 15 a Estimating External Power Consumption External power consumption (on the VDDEXT supply) is dependent on the enabled peripherals in a given system. Each unique group of peripheral pins contributes to a piece of the overall external power, based upon several parameters: • O - The number of output pins that switch during each cycle • f - The maximum frequency at which the output pins can switch • VDDEXT - The voltage swing of the output pins • CL - The load capacitance of the output pins • U - The utilization factor (the percentage of time that the peripheral is on and running) In addition to the input capacitance of each device connected to an output, the total capacitance (CL) should include the capacitance of the processor pin itself (COUT), which is driving the load. Equation 8 shows how to calculate the average external current (IDDEXT) using the above parameters: IDDEXT = O x f/2 x VDDEXT x CL x U Equation 8. External Current (IDDEXT) Calculation The worst-case external pin power scenario occurs when the load capacitor charges and discharges continuously, requiring the pin to toggle each cycle. Since the state of the pin can change only once per cycle, the maximum toggling frequency is f/2. In terms of supply power, the worst-case VDDEXT value is 3.6 V. Table 2 contains data for a realistic example of a PPI application, which runs several peripherals simultaneously. Actual results may vary, but again, the intent of this document is to help designers size the power supplies. Estimated average external power consumption (PDDEXT) can be calculated as follows. PDDEXT = VDDEXT x IDDEXT Equation 9. External Power (PDDEXT) Calculation Using the sample Blackfin system configuration in Figure 6, the external current and, therefore, the external power consumption can be estimated. Estimating Power for ADSP-BF534/BF536/BF537 Blackfin® Processors (EE-297) Page 9 of 15 a Figure 6. Blackfin System Sample Configuration IDDEXT (Equation 8) can be calculated for each class of pins that can drive, as shown in Table 2. Peripheral Freq (Hz) # of pins C/pin (F) Toggle Ratio Util Vddext (V) Pout @ 3.6V (mW) PPI 27.00E+06 9 30.00E-12 1 1.00 3.6 47.24 SPORT0 4.00E+06 2 30.00E-12 1 1.00 3.6 1.56 SPORT1 4.00E+06 2 30.00E-12 1 1.00 3.6 1.56 UART 115.00E+03 2 30.00E-12 1 0.25 3.6 0.01 SDRAM 133.33E+06 36 30.00E-12 0.25 0.50 3.6 116.35 Total External Power Dissipation @ 3.6 V (est. mW) 166.71 Table 2. Sample Calculation for Total Average External Power In the above example, the total average external power consumption is estimated to be ~165 mW. This number was obtained with the parameters listed in Table 2 by applying Equation 10. The chosen operating frequencies are reasonable for each of the peripherals, including the maximum allowed SDRAM frequency of 133.33 MHz. This model assumes that each output pin changes state every clock cycle, which is a worst-case model, except in the case of the SDRAM (because the number of output pins transitioning each clock cycle will be less than the maximum number of output pins). Table 2 was taken from the External Power Spreadsheet[2], which is associated with this EE-Note. It contains calculations for four sample systems. The reader can tailor this spreadsheet to the application, adding or deleting rows as necessary. Since the equation provides results in Watts (W), an additional multiplier of 1000 in the spreadsheet converts results into mW. Estimating Power for ADSP-BF534/BF536/BF537 Blackfin® Processors (EE-297) Page 10 of 15 a This equation is a more theoretically accurate version of the one used in the spreadsheet: P ext = VDDext ⋅ 2 ∑C ⋅f L All −Output − Pins Equation 10. Alternate External Power (PDDEXT) Calculation Rather than estimating average external power dissipated in each peripheral, the estimate applies to each individual output pin, based on the pin’s load capacitance and average toggling frequency. The voltage swing is uniform across all output pins within the VDDEXT supply domain, so it is multiplied by the summation of the dynamic charge changes on each output. Using the PPI data in Table 2, nine output pins change every cycle at an average frequency of 27 MHz. Since toggling between on-to-off and off-to-on requires two cycles, FAVG (13.5 MHz) is half the PPI clock. Since each pin changes at the same rate and the pin capacitance is presumed to be the same, the summation is simply nine times the value of any one PPI pin. Applying Equation 10: PEXT_AVG = VDDEXT2 * 9 pins * (FAVG * CL) = (3.6)2 * 9 * 13.5e6 * 30e-12 = 12.96 * 0.003645 = 0.047239W = 47.239mW As can be seen, the value derived using this equation is the same as the value estimated in Table 2. This model obtains the same estimate on a per-pin basis rather than a per-peripheral basis. In addition to the peripheral pins, there is one other output pin on Blackfin processors that will contribute to the VDDEXT supply domain power profile if the system uses a crystal to provide the CLKIN signal to the processor. In this case, the processor drives the XTAL output pin when the PLL is active. The output drive frequency will be exactly the CLKIN rate, and the pin capacitance value can be obtained from the appropriate data-sheet. Note that the voltage swing will likely be less than VDDEXT for most crystals, and using VDDEXT in computations would be a worst-case model in terms of profiling power dissipation. Finally, designers must be mindful of power supply efficiency when sizing the VDDEXT supply. Switching Regulator Design Considerations for ADSP-BF533 Blackfin Processors (EE-228)[3] describes the internal voltage regulator. Real-Time Clock (RTC) Power Consumption The final source of total power consumption comes from the optional third power domain, the Real-Time Clock (RTC) power domain (VDDRTC), which is a specified value. The RTC can be powered between 2.25 V and 3.6 V. For a worst-case analysis, a supply voltage of 3.6 V yields a current draw, IDDRTC, of 30 to 50 μA for a range of ambient temperature from 25 oC to 85 oC. For the sake of including this number in the final power consumption estimate, the power dissipated in the RTC domain, PDDRTC is: PDDRTC = VDDRTC x IDDRTC Equation 11. Total Power (PDDRTC) Calculation Estimating Power for ADSP-BF534/BF536/BF537 Blackfin® Processors (EE-297) Page 11 of 15 a Knowing this value helps in selecting a battery as a potential power source for the RTC. The RTC can be used to take the Blackfin processor out of any low-power operating mode. Having a battery supply VDDRTC allows the removal of the VDDINT and VDDEXT supplies, thus significantly reducing total average power consumption. As a worst-case example, PDDRTC is 180 μW, which is the product of the maximized VDDRTC (3.6 V) and the high end of the IDDRTC range (50 μA) provided in the data sheet. Total Power Consumption For a given system, total power consumption is the sum of its individual components - power consumed by internal circuitry, power consumed due to switching I/O pins, and power consumed by the RTC circuitry, as follows: PTOTAL = PDDINT + PDDEXT + PDDRTC Equation 12. Total Power (PTOTAL) Calculation Where: PDDINT = Internal power consumption as defined by Equation 5 PDDEXT = External power consumption as defined by Equation 9 PDDRTC = RTC power consumption as defined by Equation 11 For example, assuming that the processor in Figure 6 is operating under the conditions detailed in the example (the processor operating at 1.2 V, 400 MHz, and code as profiled in Figure 2), and also assuming that the resulting TJ has been estimated to be +100oC (see Appendix A for estimating TJ), the total estimated power consumed for the high-performance processor would be: PTOTAL = 590 mW + 166.71 mW + 0.18 mW = ~757 mW Figure 7. Total Power (PTOTAL) Calculation for Sample Shown in Figure 6 While Running Code Described in Equation 6 for High-Performance Processors Similarly, the total estimated internal power consumed by the low-power processor under these same conditions would be: PTOTAL = 305 mW + 166.71 mW + 0.18 mW = ~472 mW Figure 8. Total Power (PTOTAL) Calculation for Sample Shown in Figure 6 While Running Code Described in Equation 7 for Low-Power Processors Estimating Power for ADSP-BF534/BF536/BF537 Blackfin® Processors (EE-297) Page 12 of 15 a Conclusion Several variables affect the power requirements of an embedded system. Measurements published in the Blackfin processor data sheets are indicative of typical parts running under typical conditions. However, these numbers do not reflect the actual numbers that may occur for a given processor under non-typical conditions. In addition to the type of silicon that the customer could have, the ambient temperature, core and system frequencies, supply voltages, pin capacitances, power modes, application code, and peripheral utilization contribute to the average total power that may be dissipated. The average power estimates obtained from methods described in this EE-Note indicate how much the Blackfin processor loads a power source over time. These estimates are useful in terms of expected power dissipation within a system, but designs must support worst-case conditions under which the application can be run. Do not use this calculation to size the power supply, as the power supply must support peak requirements. Estimating Power for ADSP-BF534/BF536/BF537 Blackfin® Processors (EE-297) Page 13 of 15 a Appendix A For Blackfin processors, the total power budget is limited by the maximum allowed junction temperature (TJ) of the device. Please see the processor data sheet for the maximum TJ specification. To guarantee correct operation, ensure that TJ does not exceed the maximum TJ specification. Use the following equation to determine TJ of the device while on the application’s printed circuit board (PCB): TJ = TT + (PTOTAL x ψJT) Equation 13. Junction Temperature (TJ ) Calculation Where: TT = Package temperature (°C) measured at the top center of the package PTOTAL = Total power consumption (W) as defined in Equation 12 ψJT Junction-to-top (of package) characterization parameter (°C/W) = Under natural convection, ψJT for a thin plastic package is relatively low. This means that under natural convection conditions, the typical TJ is just a little higher than the temperature at the top-center of the package (TT). The die is physically separated from the surface of the package by only a thin region of plastic mold compound. Unless the top of the package is forcibly cooled by significant airflow, there will be very little difference between TT and TJ. However, note that ψJT is affected by airflow and values for ψJT under various airflow conditions, and PCB design configurations are listed in the Thermal Characteristics section of the Blackfin processor data sheets for the 182-ball mini-BGA and the 208-ball sparse miniBGA packages. The Thermal Characteristics section of the respective data sheet also provides thermal resistance (θJA) values for all available packages. Data sheet values for θJA are provided for package comparison and PCB design considerations only and are not recommended for verifying TJ on an actual application PCB. Industrial applications of the mini-BGA package require thermal vias to an embedded ground plane on the PCB. Refer to JEDEC standard JESD51-9 for printed circuit board thermal ball land and thermal via design information. Estimating Power for ADSP-BF534/BF536/BF537 Blackfin® Processors (EE-297) Page 14 of 15 a References [1] ADSP-BF534/ADSP-BF536/ADSP-BF537 Blackfin Embedded Processor Data Sheet. Rev. D, September 2007. Analog Devices, Inc. [2] External Power Spreadsheet. Associated file with Estimating Power for ADSP-BF534/ADSP-BF536/ADSP-BF537 Blackfin Processors (EE-297). Rev 3, November 2007. Analog Devices, Inc. [3] Switching Regulator Design Considerations for ADSP-BF533 Blackfin Processors (EE-228). Rev 1, February 2005. Analog Devices, Inc. Document History Revision Description Rev 3 – November 21, 2007 by Joe B. Clarified ADSP-BF534 processor offering as either low-power or highperformance Rev 2 – May 18, 2007 by Joe B. Updated to include full power characterization data Rev 1 – September 6, 2006 by Joe B. Initial Release Estimating Power for ADSP-BF534/BF536/BF537 Blackfin® Processors (EE-297) Page 15 of 15

- Similar pages
- EE-229: Estimating Power for ADSP-BF531/BF532/BF533 Blackfin® Processors (Rev. 4) PDF
- EE-298: Estimating Power for ADSP-BF538/BF539 Blackfin® Processors (Rev. 2) PDF
- EE-339: Using External Switching Regulators with Blackfin® Processors (Rev. 1) PDF
- AD ADSP-BF537KBCZ-6AV
- AD ADSP-BF537KBCZ-6B
- MAXIM MAX3202EETT
- AD ADSP
- ETC SST-MELODY-DAP
- AAT2512_202022B.pdf
- SKYWORKS AAT2512