STM8L+BC26 dual low power consumption, micro ampere

Publisher:未来感知Latest update time:2020-03-09 Source: eefocusKeywords:STM8L Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

I am working on a project that requires STM8L and BC26. To connect to the server after a long disconnection and send the current status, I need to use the low power consumption of STM8L and BC26.


STM8L has low power consumption, so HALT mode is used here, and RTC wakes up at a specified time.


The first step is to turn off all peripherals, set all pins to output, and output low. Set the pins according to the specific environment, and output high level if necessary. After turning off the peripherals, you need to _DeInit first, and then turn off the peripherals. It is important to clear all interrupt flags when entering halt mode, otherwise the RTC wake-up will not work.


The second step is to set some low power configurations.


After the third step configuration is completed, it will enter low power consumption.


The project needs to use external high-speed clock and BC26 communication, so when entering and exiting halt mode, it is necessary to reinitialize the clock and peripherals in active mode. When low power consumption is required, configure it to low power consumption configuration. In this way, switching configurations back and forth can achieve low power consumption. After testing, the low power consumption current is: 10uA.

Keywords:STM8L Reference address:STM8L+BC26 dual low power consumption, micro ampere

Previous article:STM8l151 low power program architecture, debugging experience
Next article:stm8l low power series

Recommended ReadingLatest update time:2024-11-16 18:08

STM8L uses ADC internal reference voltage channel to measure VDD voltage
    The STM8L contains a 12-bit ADC with 25 input channels, including an internal temperature sensor, an internal reference voltage     As can be seen from the figure above, there is an internal reference voltage inside the STM8L. The voltage value of this internal reference voltage is known and accurate. From the d
[Microcontroller]
STM8L uses ADC internal reference voltage channel to measure VDD voltage
Implementing IAP (In Application Programming) on ​​STM8L
1. To download Boot and App to different addresses of FLASH, we need to configure the link script. The default link script of IAR is in the installation directory C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\stm8\config. Find the corresponding chip and open it. You can see the following words: ////////
[Microcontroller]
【STM8L】STM8L timer2 generates PWM
1. Introduction This article introduces how to use timer2 in the STM8L series to generate 38K frequency PWM. Among them, this article uses the first channel (PB0) of timer2. 2. Experimental Platform Compiler software: IAR for STM8 1.42.2 Hardware platform: stm8l101f3p6 development board Emulator: ST-LINK
[Microcontroller]
【STM8L】STM8L timer2 generates PWM
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号