215 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
58
views
How to wake up to resume execution on an ARM Cortex M0+ processor?
I have an Arduino MKR Wifi 1010, which has an ARM Cortex M0+ processor, and try to implement sleep correctly.
What happens is that an interrupt is registered, and then __WFI (Wait for interrupt) is ...
0
votes
0
answers
98
views
ATtiny85 software latch with button hold for running / sleeping state change
I'm making a software latch with following features:
ATtiny85 @ 1 MHz, BOD disabled
PB0 = LED, PB3 = Button (with internal pull-up) Interrupt on change
Deep sleep until button press
Change state with ...
2
votes
0
answers
155
views
Light Sleep Wakeup Fails on ESP32-C6-Super Mini Board (Works on ESP32-WROOM)
I'm having trouble getting my ESP32-C6-Super Mini board to wake up from light sleep using a button (and even with a timer). My project works fine on an ESP32-WROOM board, but when I switch to the C6-...
0
votes
1
answer
215
views
Light Sleep with GPIO Wakeup for ESP8266
I am trying to achieve a light sleep on ESP8266 with a GPIO wakeup. Everything is working fine except that if after wakeup the GPIO stays in a state opposite to the WAKEUP trigger level then the ESP ...
1
vote
1
answer
554
views
nRF52840 DK deep sleep using Zephyr
I used nRF52840 DK module with Zephyr with J-link programmer. The issue is the deep sleep does not work, and also not wake up using GPIO rising edge where interrupt is coming I see on data logger. ...
1
vote
0
answers
119
views
Why unable to flash the code when MCU(stm32u575) is in Stop2 Low power mode?
This is the method I am using below method to put on sleep mode which is working and wakeup also working based on configuration, but when I try to flash using jlink in when MCU is in sleep mode it is ...
3
votes
0
answers
229
views
Turn off all monitors with Windows API
I want to turn off all monitors programmatically, as if the screen off time in Windows Settings had elapsed. This means, that any user input (e.g., keypress or mouse move) would turn the monitors back ...
0
votes
0
answers
61
views
cordova method to add app to Androids battery "never auto sleep apps"?
On Android, is there any config.xml or androidManifest.xml setting that allows my app to automatically be added to Androids Battery "never auto sleep apps" section? I can't seem to find any ...
0
votes
1
answer
541
views
Why does my ESP32 never wake from deep sleep?
My deep sleep call never restarts the ESP32 and I don't know why. This is my code:
#define uS_TO_S_FACTOR 1000000ULL
void deepSleep(long seconds) {
loggerMain->info("entering deep sleep ...
0
votes
0
answers
403
views
Mac LaunchAgent with full disk access and caffeinate
I have a script that I would like to run every day at 4 AM. It downloads data to my user folder, fits some models, and saves files within my user directory. The script is a shell script, with one ...
0
votes
1
answer
3k
views
RTC_NOINIT_ATTR vs RTC_DATA_ATTR (slow vs fast memory)
I am trying to understand the difference between RTC_NOINIT_ATTR vs RTC_DATA_ATTR (slow vs fast memory) but cannot see a clear definition and examples when to use which - not even on the original ...
-2
votes
1
answer
132
views
Check If Computer On Network Is Asleep Without Waking It Up (Python)
I want a quick way to check if a computer on the LAN is awake or not given its IP address (on Windows) without waking it up. I wrote the following, which works:
def is_awake(ipOrName, timeout=0.05):
...
0
votes
0
answers
87
views
Mac slowing down / working in burst mode at night (while running Python script)
This question concerns a MacBook Pro 2021, MacOS 13.6.3.
I am running a python script that reads data from a file on the hard disc, makes a 8192*8192 matrix, finds its eigenvalues and saves some of ...
0
votes
1
answer
95
views
Psoc Cypress Capsense to Wake Up Sleep Mode
I want to use sleep mode because of the power consumption of the MCU. My aim is basic, but I can not use the process.
I want to use Capsense to wake up my Psoc from sleep mode but ı do not have any ...
user avatar
user22269571
0
votes
1
answer
686
views
How can I use STM32 sleep mode with UART
I want to use sleep mode because of the power consumption of the MCU. My aim is basic, but I can not use the process.
I will get data from another MCU via UART. If one of my data is 6, I want to wake-...
user avatar
user22269571