Idd Measurement; Run Mode; Low Power Mode - STMicroelectronics STM32L152D-EVAL User Manual

Table of Contents

Advertisement

Hardware layout and configuration
2.20
I
measurement
DD
The built-in I
the STM32L152ZDT6 while the MCU is in Run or Low power saving modes.
For I
measurement the circuit below is implemented on the STM32L152D-EVAL.
DD
Figure 9.
2.20.1

Run mode

In Run mode, I
connected to the 1 Ohm shunt resistor (R62). In this case IDD_CNT_EN remains high
during measurement, so R81 remains in short-circuit during measurement because of
transistor T1 which remains ON permanently. JP10 must be connected between pins 2 & 3.
2.20.2

Low power mode

In Low power modes (Stop or Standby), the operational amplifier MAX9938FEUK+ (U19) is
connected to the 1 KOhm shunt resistor (R81), controlled by the analog switch T1. In this
case the counter 74HC4060 (U15) enabled by IDD_CNT_EN manages the measurement
timing according to
The principle used to measure a current when the STM32L is in Low power mode is:
1.
Configure ADC to measure voltage on the IDD_Measurement pin (PF11).
2.
Configure PA0 to serve as wakeup pin.
3.
Enter Low power mode after setting IDD_CNT_EN (PC13) signal low.
4.
IDD_WAKEUP rising edge wakes up the MCU after around 300 ms.
5.
Start ADC conversion as soon as possible after wakeup in order to measure the
voltage corresponding to Low power mode on capacitor C82.
6.
Reset the counter by programming IDD_CNT_EN high (in less than 70 ms after the
wakeup) to avoid the R81 (1 KOhm) resistor being connected later in Run mode.
In Low power modes, the 1 K resistor is connected when T1 goes off after entering Low
power mode. Q12 output of the counter allows connection of the 1 K resistor when the
current I
DD
24/56
www.BDTIC.com/ST
measurement circuit implemented allows the consumption measurement of
DD
STM32L152D-EVAL I
DD
current is measured using operational amplifier MAX9938FEUK+ (U19)
DD
Figure
10.
becomes very low.
Doc ID 022868 Rev 1
measurement circuit
UM1521

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32L152D-EVAL and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents