stm32sleep icon indicating copy to clipboard operation
stm32sleep copied to clipboard

DS3231

Open Phisatho opened this issue 6 years ago • 4 comments

I am not able to use DS3231 RTC along with sleep. Is there a way to avoid the sleep mode messing with DS3231 library?

Phisatho avatar May 22 '18 21:05 Phisatho

To be precise, the RTClock.h is causing the trouble.

Phisatho avatar May 23 '18 10:05 Phisatho

I believe that this library uses the RTC that is inside the STM32F103, not an extern RTC. The board must have the 32768kHz crystal like a BluePill board.

zoomx avatar May 24 '18 10:05 zoomx

I am using Bluepill, but I wanted an accurate RTC like DS3231. I wonder if there is a way to use DS3231 for the same purpose that the internal RTC serves for this library.

Phisatho avatar May 24 '18 10:05 Phisatho

Maybe this library https://github.com/flank1er/DS3231SQW but then you need to sleep and wake up on a pin interrupt

zoomx avatar May 24 '18 12:05 zoomx