Measuring the consumption of electronic devices is a difficult and sensitive task. Data AcQuisition (DAQ) systems are often used to determine such consumption. In theory, measuring energy consumption is straightforward, just by acquiring current and voltage signals we can determine the consumption. However, a number of issues arise when a ne analysis is required. The main problem is that sampling frequencies have to be high enough to detect variations in the assessed signals over time. In that regard, some popular DAQ systems are based on RISC ARM processors for microcontrollers combined with Analog-Digital Converters (ADC) to meet the frequency acquisition requirements. The efficient use of the Direct Memory Access (DMA) modules combined with pipelined processing in the microcontroller allows to improve the sample rate overcoming the processing time and the internal communication protocol limitations. This paper presents a novel approach for high frequency energy measurement composed of a DMA rate improvement (data acquisition logic), a data processing logic and a low-cost hardware. The contribution of the paper is the combination of a double buffered signal acquisition mechanism and an algorithm that computes the device's energy consumption using parallel data processing. The combination of these elements enables a high-frequency (continuous) energy consumption measurement of an electronic device, improving the accuracy and reducing the cost of existing systems. We have validated our approach by measuring the energy consumed by basic circuits and Wireless Sensors Networks (WSNs) motes. The results indicate that the energy measurement error is less than 5%, and that the proposed method is suitable to measure WSN motes even during sleep cycles, enabling a better characterization of their consumption pro le.