<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Core2 RTC]]></title><description><![CDATA[<p dir="auto">Hello,<br />
the library RTC control then BM8563. It is possible to get and set time and date.</p>
<p dir="auto">If I set the time, the display on the screen was correct, but the RTC stopped running.<br />
I used these lines to setup time and date:</p>
<pre><code>    RTC_DateTypeDef RTC_DateStruct;
    RTC_DateStruct.WeekDay = 3;
    RTC_DateStruct.Month   = 9;
    RTC_DateStruct.Date    = 23;
    RTC_DateStruct.Year    = 2020;
    M5.Rtc.SetData(&amp;RTC_DateStruct);
    RTC_TimeTypeDef RTC_TimeStruct;
    RTC_TimeStruct.Seconds = 0;
    RTC_TimeStruct.Minutes = 0;
    RTC_TimeStruct.Hours   = 12;
    M5.Rtc.SetTime(&amp;RTC_TimeStruct);
</code></pre>
<p dir="auto">There is a stop bit at BM8563 but how can I set it correct with the M5Core2 RTC-library?</p>
]]></description><link>https://community.m5stack.com/topic/2322/core2-rtc</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 11:29:34 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2322.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 23 Sep 2020 15:09:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Core2 RTC on Fri, 26 Feb 2021 12:01:12 GMT]]></title><description><![CDATA[<p dir="auto">Try to replace</p>
<p dir="auto">M5.Rtc.SetData(&amp;RTC_DateStruct);<br />
with<br />
M5.Rtc.SetDate(&amp;RTC_DateStruct);</p>
<p dir="auto">it worked for me.</p>
]]></description><link>https://community.m5stack.com/post/12688</link><guid isPermaLink="true">https://community.m5stack.com/post/12688</guid><dc:creator><![CDATA[sirpenrose]]></dc:creator><pubDate>Fri, 26 Feb 2021 12:01:12 GMT</pubDate></item><item><title><![CDATA[Reply to Core2 RTC on Sat, 19 Dec 2020 14:47:39 GMT]]></title><description><![CDATA[<p dir="auto">I have the same problem, the time is right but the date is wrong. please a solution</p>
]]></description><link>https://community.m5stack.com/post/11290</link><guid isPermaLink="true">https://community.m5stack.com/post/11290</guid><dc:creator><![CDATA[vgamlc]]></dc:creator><pubDate>Sat, 19 Dec 2020 14:47:39 GMT</pubDate></item></channel></rss>