7. Advanced Energy Monitor
7.1 Introduction
Any embedded developer seeking to make his embedded code spend as little energy as the underlying architecture supports needs
tools to easily and quickly discover inefficiencies in the running application.
This is what the Simplicity Energy Profiler is designed to do. In real-time, the Energy Profiler will graph and log current as a function of
time while correlating this to the actual target application code running on the BGM13P. There are multiple features in the profiler soft-
ware that allows for easy analysis, such as markers and statistics on selected regions of the current graph or aggregate energy usage
by different parts of the application.
7.2 Theory of Operation
The Advanced Energy Monitor (AEM) circuitry on the board is capable of measuring current signals in the range of 0.1 µA to 95 mA,
which is a dynamic range of alomst 120 dB. It can do this while maintaining approximately 10 kHz of current signal bandwidth. This is
accomplished through a combination of a highly capable current sense amplifier, multiple gain stages, and signal processing within the
kit's board controller before the current sense signal is read by a host computer for display and/or storage.
The current sense amplifier measures the voltage drop over a small series resistor, and the gain stage further amplifies this voltage with
two different gain settings to obtain two current ranges. The transition between these two ranges occurs around 250 µA.
The current signal is combined with the target processor's Program Counter (PC) sampling by utilizing a feature of the ARM CoreSight
debug architecture. The Instrumentation Trace Macrocell (ITM) block can be programmed to sample the MCU's PC at periodic intervals
(50 kHz) and output these over SWO pin ARM devices. When these two data streams are fused and correlated with the running appli-
cation's memory map, an accurate statistical profile can be built, that shows the energy profile of the running application in real-time.
At kit power-up or on a power-cycle, an automatic AEM calibration is performed. This calibration compensates for any offset errors in
the current sense amplifiers.
BGM13P
LDO
Peripherals
AEM
Processing
Figure 7.1. Advanced Energy Monitor
Note:
The 3.3 V regulator feedback point is after the 2.35 Ω sense resistor to ensure that the VMCU voltage is kept constant when the
output current changes. Maximum recommended output current is 300 mA.
UG338: BGM13P22 Blue Gecko Module Radio Board User's Guide
Advanced Energy Monitor
silabs.com
| Building a more connected world.
Rev. 1.1 | 25