stm32 standby mode

Publisher:灵感发电站Latest update time:2019-01-04 Source: eefocusKeywords:stm32 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Low Power Mode

Reduce the system clock speed. 
When APBx and AHB peripherals are not used, turn off the corresponding peripheral clocks.

Sleep mode (Cortex™-M3 core is stopped, all peripherals including the peripherals of the Cortex-M3 core, such as NVIC, system clock (SysTick), etc. are still running) 
Stop mode (all clocks are stopped) 
Standby mode (1.8V core power is turned off)


1


Standby Mode Configuration Steps

1. Enable the power clock 
2. Set the WKUP pin as the wake-up source 
3. Enter standby mode


Example

void WKUP_init()
{
    RCC_APB1PeriphClockCmd(RCC_APB1Periph_PWR, ENABLE); //Enable power clock

    PWR_WakeUpPinCmd(ENABLE); //Set WKUP pin as wakeup source

    PWR_EnterSTANDBYMode(); //Enter standby mode}12345678


When entering standby mode, the emulator cannot download the program again. You can use USB to download the update


Keywords:stm32 Reference address:stm32 standby mode

Previous article:stm32 rtc real time clock
Next article:stm32 timer general timer

Recommended ReadingLatest update time:2024-11-16 14:38

STM32 Series Chapter 12 - Principle of Capacitive Touch Button
principle: R: External capacitor charging and discharging resistor.  Cs: Stray capacitance between TPAD and PCB.  Cx: Capacitance between finger and TPAD when finger is pressed.  Switch: Capacitor discharge switch, replaced by STM32 IO port.  When not pressed, the charging time is T1 (default). When TPAD is pressed,
[Microcontroller]
STM32 Series Chapter 12 - Principle of Capacitive Touch Button
stm32 microcontroller detects 12V circuit
1. First, use the sampling circuit to divide the voltage to get a 3.3V voltage 2. Then use a voltage follower to convert the 3.3V high impedance signal voltage into a 3.3V low impedance drive voltage, which can be directly connected to the ADC pin of stm32 3. Note: The supply voltage of the op amp chip LM358 must be a
[Microcontroller]
stm32 microcontroller detects 12V circuit
STM32 external interrupt study notes
Interrupt Classification The STM32's EXTI controller supports 19 external interrupt/event requests. Each interrupt has a status bit, and each interrupt/event has independent trigger and mask settings. The 19 external interrupts of the STM32 correspond to 19 interrupt lines, EXTI_Line0-EXTI_Line18: Line 0~15:
[Microcontroller]
STM32 external interrupt study notes
ST MP34DT01 and STM32 digital MEMS microphone solution
The MP34DT01 of ST is an ultra-small, low-power, omnidirectional digital MEMS microphone with capacitive sensing elements and IC interface, single-power operation, acoustic overload point 120 dBSPL, signal-to-noise ratio 63dB, omnidirectional sensitivity, sensitivity -26dBFC, PDM output, mainly used in mobile phones
[Microcontroller]
ST MP34DT01 and STM32 digital MEMS microphone solution
STM32 uC/OS_II practice of task scheduling process understanding and query events
First paste the entry function main, starting from here, from the file main.c /******************************************************************************* * Function Name : main * Description : Main function, initialize the system and hardware, establish the main function and start the system * Input : None
[Microcontroller]
STM32 learning six
EXTI key interrupt:  EXTI interrupt:   Note:    1. EXTI interrupt is an external interrupt, and related interrupt management devices need to be configured.    2. If it is an event interrupt, there is no need to configure and manage this register.    3. Pay special attention to this relationship: the relationship b
[Microcontroller]
STM32 PWM input mode
This program uses the PWM input mode, which is a special case of the input capture mode. Except for the following differences, the program works the same as the input capture mode. Two ICx signals are mapped to the same TIxl input (here CH1 and CH2). Both ICx signals are edge-active but have opposite polarities.
[Microcontroller]
Design and implementation of GSM SMS alarm system based on STM32
Introduction With the rapid development of China's economic construction and the great improvement of people's living standards, people pay more and more attention to whether their environment is safe. Especially when there is no one at home or only the elderly and children, the safety of family members' l
[Microcontroller]
Design and implementation of GSM SMS alarm system based on STM32
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号