| 数据搜索系统,热门电子元器件搜索 |
|
AN3269 数据表(PDF) 7 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3269 数据表(HTML) 7 Page - STMicroelectronics |
|
7 / 19 page ![]() AN3269 Application description Doc ID 17904 Rev 1 7/19 then is connected to an analog input of the MCU (PF0 IDD Measurement) that finally converts the resulting voltage, image of the consumption current. In low power modes only, a counter enabled by STM8L (PC4 pin) manages the measurement timing while the microcontroller is idle. The microcontroller is woken-up after a 150 ms delay controlled by the K2 switch. While the microcontroller is in one of the power saving modes, a capacitor (C) is able to store the measurement charge so that the microcontroller can later give the value of Low power mode current consumption early on in the microcontroller wake-up phase (in the first 50 ms). Switch S is opened at device start-up in order to keep the charge collected in capacitor (C) intact while the microcontroller is in low power mode. The current measurement precision is enhanced by taking into account the I bias current of its own operational amplifier. When JP1 is placed in OFF position (IDD measurement circuitry disabled), a special test invoked by the user at device start-up measures this current value and stores it in the non-volatile memory. Once this value is stored in the device, it is deducted from the next IDD measurement to compensate errors due to I bias current (see Section 1.5.2: Bias current record). For additional information related to the IDD measurement feature, please refer to STM8L- DISCOVERY evaluation board user manual (UM0970). 1.5 Getting started with the application This STM8L-DISCOVERY example application has 3 application modes that can be run: ● Demo mode (IDD measurement) ● Bias current record ● Manufacturing test Demo mode is available at application power-up while the two other ones are called by the user according to a specific procedure that is detailed later in this chapter. However, for best performance, it is recommended to control and record the Bias current before starting precise IDD measurement displays. 1.5.1 Demo mode (IDD measurement) Once the application is powered-up via the USB cable (or by external power supply), it starts displaying a welcoming message and then, after a few seconds, the value of the VDD voltage applied to the STM8L device. LD3 (green LED) and LD4 (blue LED) blink alternately. As soon as IDD consumption values are displayed, both LEDs are turned off. The User push-button allow you to change the functions as described in the state diagram in Figure 3. Each function consists of configuring the device with any required settings and then measuring and displaying the result on the LCD panel. |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |