real-time-clock Questions

3

I am having problem with RTC alarm interrupt of STM32L151. I want my program to go to RTC alarm interrupt every second but it does not work. My main funtion: int main(void) { HAL_Init(); SystemC...
Sarcocarp asked 6/9, 2016 at 9:33

3

My MacBook spontaneously wakes up from sleep mode with high fan activity. I want to do a investigate this in RTC or power settings? Or by strace-ing of processes, etc (using some process/kernel ma...

2

Solved

I was coding a program using Java for a clock that is able to "tick" but there are problems with it. I assume it has something to do with the getter and setters, or the toString() method. counter ...
Halona asked 31/5, 2017 at 4:16

2

Solved

The real-time clock /dev/rtc can be read using hwclock -r but only as root. >hwclock -r --debug hwclock from util-linux 2.23.2 hwclock: cannot open /dev/rtc: Permission denied No usable clock int...
Lapoint asked 26/4, 2017 at 12:6

1

Solved

I am trying to initialize the RTC on a STM32F469I-DISCO board. Since I am still learning, I tried to play with the HAL API that allow me to achieve some projects till the day I'll get enough unders...
Hassiehassin asked 4/4, 2017 at 14:41

1

Solved

I am programming STM32L051R8 and have next problem. I'm trying use standby mode in most part of time, and sometimes wake up by RTC, it is an auto wake-up. If I work without sleep - all works perfec...
Dropper asked 13/2, 2017 at 14:5

3

How to wakeup android phone from sleep (suspend to mem) programmably? I don't want to acquire any wakelock, which means the phone goes into "real" sleep with the cpu disabled. I guess I can use som...
Brigandine asked 14/4, 2014 at 0:32

1

Solved

I am directly reading/writing the RTC through the port 0x70 and 0x71. As per the manual the weekday byte will hold the day of the week with Sunday=1 and values range from 1 to 7. When I read the by...
Anaya asked 10/1, 2013 at 7:24

1

I wrote a little widget for Android devices. The widget uses AlarmManager to set recurring updates. I'm using the RTC clock for the AlarmManager. According to the documentation, if the device is ...
Colchis asked 25/8, 2010 at 12:9
1

© 2022 - 2024 — McMap. All rights reserved.