Hi everyone.
I'm currently building a battery-powered device, so it's only natural that I started exploring STOP MODE. Due to issues with the buttons in the simulator (they don't trigger the EXTI interrupt), I wanted to create a component with multiple checkboxes to indicate which STM32 blocks can be turned off and which events trigger the wake-up.
I believe this feature will be important and useful for use with various battery-powered devices.
Power saving mode
-
TheShadowOfTriumph
- Posts: 21
- http://meble-kuchenne.info.pl
- Joined: Wed Feb 08, 2023 3:33 pm
-
chipfryer27
- Valued Contributor
- Posts: 1826
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 404 times
- Been thanked: 627 times
Re: Power saving mode
Hi
Further to a previous reply I changed the target to a 32F030Nucleo64 and can simulate the interrupt. Which target are you using?
Regards
Further to a previous reply I changed the target to a 32F030Nucleo64 and can simulate the interrupt. Which target are you using?
Regards
- Attachments
-
- IOC_Example_Nucleo64.fcfx
- (13.37 KiB) Downloaded 22 times
-
TheShadowOfTriumph
- Posts: 21
- Joined: Wed Feb 08, 2023 3:33 pm
Re: Power saving mode
The update arrived now and the program works. I don't want to roll back.
The target is STM32F030F4P6.
Now, how about the STOP MODE?
The target is STM32F030F4P6.
Now, how about the STOP MODE?
-
BenR
- Matrix Staff
- Posts: 2093
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 554 times
- Been thanked: 740 times
Re: Power saving mode
Hello,
You could try calling these using a C icon.
Some information on it here.
https://deepbluembedded.com/stm32-stop- ... op1-stop2/
You could try calling these using a C icon.
Code: Select all
HAL_SuspendTick();
HAL_PWREx_EnterSTOP0Mode(PWR_SLEEPENTRY_WFI);https://deepbluembedded.com/stm32-stop- ... op1-stop2/
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel