High Idd Range Mode; Low Idd Range Mode - STMicroelectronics UM1079 User Manual

Discovery kits with stm32l152rct6 and stm32l152rbt6 mcus
Table of Contents

Advertisement

UM1079
4.7.1
High I
DD
In high I
DD
MAX9938FEUK+ (U5) connected to the 2 Ω shunt resistor (R21). In this case IDD_CNT_EN
remains high during the measurement. R22 remains in short-circuit during the measurement
because the FET transistor 1 of U20 remains ON permanently.
4.7.2
Low I
DD
In low I
DD
1 KΩ shunt resistor (R22), controlled by the FET transistor 1 of U20. In this case the counter
74HC4060 (U3) enabled by IDD_CNT_EN manages the measurement timing according to
Figure
11.
Low I
DD
The principle used to measure the consumption current when the STM32L152RCT6 is in
low I
range mode is as follows:
DD
1.
Configure ADC to measure voltage on the IDD_Measurement pin.
2.
Configure PA0 to serve as wakeup pin.
3.
Enter low I
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 C13.
6.
Reset the counter by programming IDD_CNT_EN high (in less than 150 ms after the
wakeup) to avoid the R22 1 KΩ resistor being connected later in Run mode.
The measurement timing is given in
connected when the FET transistor 1 of U20 goes OFF, after entering low I
Figure 10. I
range mode
range mode, the I
DD
range mode
range mode, the operational amplifier MAX9938FEUK+ (U5) is connected to the
range measurement principle
range mode after setting IDD_CNT_EN (PC13) signal low.
DD
DocID018789 Rev 4
measurement circuit
DD
current is measured using the operational amplifier
Figure
11. In low I
Hardware and layout
range mode, the 1 KΩ resistor is
DD
DD
range mode.
19/38
37

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UM1079 and is the answer not in the manual?

Table of Contents