<?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 ide power save functions</title>
		<link>http://forums.leaflabs.com/topic.php?id=922</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:17:30 +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=922" rel="self" type="application/rss+xml" />

		<item>
			<title>poslathian on "maple ide power save functions"</title>
			<link>http://forums.leaflabs.com/topic.php?id=922#post-5760</link>
			<pubDate>Tue, 26 Jul 2011 14:19:09 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">5760@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;You can save power by using any one of the three sleep modes - which are engaged with special instructions (see the programming manual for the cortexm3 &#60;a href=&#34;http://leaflabs.com/docs/hardware/maple.html#recommended-reading&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/hardware/maple.html#recommended-reading&#60;/a&#62; ). So far we dont have libmaple support for this. &#60;/p&#62;
&#60;p&#62;You can also save power by changing the clock configuration - either running slower, or using the internal RC oscillator rather than the external clock. This also doesnt have general library support, but since we initialize the clocks for you in libmaple, you can certainly start hacking away that these files in your own maple-ide-install/hardware/leaflabs/cores/maple/ directory to get the desired effect. &#60;/p&#62;
&#60;p&#62;for example in: &#60;a href=&#34;https://github.com/leaflabs/libmaple/blob/master/wirish/boards.cpp&#34; rel=&#34;nofollow&#34;&#62;https://github.com/leaflabs/libmaple/blob/master/wirish/boards.cpp&#60;/a&#62;&#60;br /&#62;
you can see that the init() function (called on the front of every sketch) calls some clock setup functions (rcc_clk_init and rcc_set_prescaler). You can modify the arguments to lower the clock speed. &#60;/p&#62;
&#60;p&#62;You can also add an &#34;#include rcc.h&#34; to your sketch and calls these rcc_* functions directly to muck with the clock speed. &#60;/p&#62;
&#60;p&#62;Be careful though, screwing with the clock will probably break things. For example, USB requires the clock be at least 48MHz, and other peripherals are all biased against the clock speed as well.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>house91320 on "maple ide power save functions"</title>
			<link>http://forums.leaflabs.com/topic.php?id=922#post-5727</link>
			<pubDate>Sun, 24 Jul 2011 01:21:08 +0000</pubDate>
			<dc:creator>house91320</dc:creator>
			<guid isPermaLink="false">5727@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;is there a way run it at a lower clock speed i am working on a very low power application.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "maple ide power save functions"</title>
			<link>http://forums.leaflabs.com/topic.php?id=922#post-5724</link>
			<pubDate>Sat, 23 Jul 2011 20:06:49 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">5724@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;house91320 - the STM32F103 can certainly do that, but so far there are no library functions to make it straightforward.&#60;/p&#62;
&#60;p&#62;What sort of level of shutdown are you thinking you might need?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>house91320 on "maple ide power save functions"</title>
			<link>http://forums.leaflabs.com/topic.php?id=922#post-5714</link>
			<pubDate>Sat, 23 Jul 2011 02:59:34 +0000</pubDate>
			<dc:creator>house91320</dc:creator>
			<guid isPermaLink="false">5714@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;is there an ability to dynamic clock the maple and to shutdown parts of the core.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
