<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Maple Real-time clock implementation</title>
		<link>http://forums.leaflabs.com/topic.php?id=1499</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:18:18 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=1499" rel="self" type="application/rss+xml" />

		<item>
			<title>gbulmer on "Maple Real-time clock implementation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1499#post-20412</link>
			<pubDate>Mon, 22 Oct 2012 12:35:43 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">20412@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;aaronmatt - your post contained a link to an irrelevant site, and hence looks like spam, so it has been deleted. &#60;/p&#62;
&#60;p&#62;Further, your comment is incorrect. The Real-Time clock described on this thread is built into the STM32F1xx, and is not external on a computer motherboard.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Maple Real-time clock implementation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1499#post-20408</link>
			<pubDate>Mon, 22 Oct 2012 05:15:09 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">20408@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;A real-time clock  is a battery-powered clock that is included in a microchip  in a computer motherboard.. This project can be used to set and read the RTC.. Thanks for this nice post..&#60;br /&#62;
___________________________________________&#60;/p&#62;
&#60;p&#62;Edit: removed spam-like link
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Maple Real-time clock implementation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1499#post-10064</link>
			<pubDate>Mon, 02 Apr 2012 06:39:13 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">10064@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;There has been quite a lot of discussion about external real time clocks. I think this talked about some advantages of external RTC &#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=103&#38;amp;page=2#post-816&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=103&#38;amp;page=2#post-816&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;IIRC the issues were:&#60;br /&#62;
1. Products like DS1307/DS3231 are accurately calibrated for time and temperature drift at the factory,&#60;br /&#62;
2. The calibration procedure described by ST in their application note for the RTC on the STM32F103's needed expensive equipment, or a long time.&#60;br /&#62;
3. The RTC on the STM32F103 only gives a seconds count, and is not a 'full calendar' like the Maxim products (the STM32F4 has a better RTC)&#60;br /&#62;
4. The ST application note on using the RTC on STM32 provided a 'constant time' mechanism to get the date and time (it woke up every second and calculated everything), but that seems less than ideal for low-power. Also if it were a low-priority interrupt, it may 'jitter' when it is used (gets blocked by higher priority interrupts). If it were high-priority, it might block events.&#60;br /&#62;
5. People hadn't found an Open Source way to convert seconds into date/time as it is needed, so it seemed hard to use unless by applying the ST app note (there are functions in newlib to help, so IMHO this was lack of knowledge, not a fundamental problem)&#60;br /&#62;
6. Maybe people hadn't found an Open Source way to set the RTC conveniently (e.g. to a reference date/time like 1st Jan 1970 midnight), given the date/time *NOW*. Without that timestamps are harder to compare nicely. (there are functions in newlib to help)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bubulindo on "Maple Real-time clock implementation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1499#post-10060</link>
			<pubDate>Mon, 02 Apr 2012 02:39:03 +0000</pubDate>
			<dc:creator>bubulindo</dc:creator>
			<guid isPermaLink="false">10060@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Meanwhile STM32F4 discovery came in the way, then work, then house painting and I haven't ran any conclusive test regarding the accuracy of the different clock sources.&#60;br /&#62;
I have read that LSI is not that accurate, but found no info on HSE. :\
&#60;/p&#62;</description>
		</item>
		<item>
			<title>samtal on "Maple Real-time clock implementation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1499#post-10056</link>
			<pubDate>Mon, 02 Apr 2012 01:39:54 +0000</pubDate>
			<dc:creator>samtal</dc:creator>
			<guid isPermaLink="false">10056@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks.&#60;br /&#62;
The STM32 RTC is a real one, having full power backup under sleep or standby modes, and need no external clock device (except a 32378 Hz crystal or line frequency).&#60;br /&#62;
I can see no good reason to use external clock, but to be honest, I did not fully finished my implementation and have no experience yet with its use.&#60;br /&#62;
I will try and post my conclusions.&#60;br /&#62;
One thing I found out:&#60;br /&#62;
The RTClock.h file somehow collides with the delay function, making it unrecognized. (see my post about it).&#60;br /&#62;
samtal
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bubulindo on "Maple Real-time clock implementation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1499#post-9884</link>
			<pubDate>Sun, 25 Mar 2012 14:05:20 +0000</pubDate>
			<dc:creator>bubulindo</dc:creator>
			<guid isPermaLink="false">9884@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Well,&#60;br /&#62;
Accuracy when comparing between the external low frequency clock with the internal. &#60;/p&#62;
&#60;p&#62;Between the HSE and LSE clock, I guess the difference is  the low power modes. The LSE clock remains active and clocking the RTC whilst the HSE can be stopped in low power modes.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>samtal on "Maple Real-time clock implementation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1499#post-9881</link>
			<pubDate>Sun, 25 Mar 2012 10:56:46 +0000</pubDate>
			<dc:creator>samtal</dc:creator>
			<guid isPermaLink="false">9881@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks bubulindo  !!&#60;/p&#62;
&#60;p&#62;I was not aware of the files.&#60;br /&#62;
I wonder why people still use external RTC for the Maple ???&#60;br /&#62;
Any idea?&#60;/p&#62;
&#60;p&#62;samtal
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bubulindo on "Maple Real-time clock implementation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1499#post-9880</link>
			<pubDate>Sun, 25 Mar 2012 05:28:02 +0000</pubDate>
			<dc:creator>bubulindo</dc:creator>
			<guid isPermaLink="false">9880@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;If you follow this post: &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=1058&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=1058&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You'll get to the github page (&#60;a href=&#34;https://github.com/bubulindo/MapleRTC&#34; rel=&#34;nofollow&#34;&#62;https://github.com/bubulindo/MapleRTC&#60;/a&#62;) of an RTC clock implementation that takes the external and internal crystals. &#60;/p&#62;
&#60;p&#62;You can either use the .c functions or the class.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>samtal on "Maple Real-time clock implementation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1499#post-9879</link>
			<pubDate>Sun, 25 Mar 2012 02:08:26 +0000</pubDate>
			<dc:creator>samtal</dc:creator>
			<guid isPermaLink="false">9879@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
The ST32F1XX has a full built-in RTC with all necessary registers and calibration features, as well as off-power operation.&#60;br /&#62;
There are also nice ST application notes on how to implement such RTC.&#60;br /&#62;
Yet, TTBOMK, Maple does not support that RTC, and no Maple rtc.h or rtc.c files exist.&#60;/p&#62;
&#60;p&#62;I have seen an old form discussion regarding the RTC, (&#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=1043#post-6370&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=1043#post-6370&#60;/a&#62;) but to my surprise users suggest the use of external RTC, ignoring the built-in one.&#60;/p&#62;
&#60;p&#62;Has anyone successfully implemented the internal RTC and can help in implementing it?&#60;br /&#62;
Thanks&#60;br /&#62;
samtal
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
