<?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: External clock timer, problem with prescaler</title>
		<link>http://forums.leaflabs.com/topic.php?id=9463</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:25:12 +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=9463" rel="self" type="application/rss+xml" />

		<item>
			<title>maslo on "External clock timer, problem with prescaler"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9463#post-20856</link>
			<pubDate>Wed, 07 Nov 2012 10:49:19 +0000</pubDate>
			<dc:creator>maslo</dc:creator>
			<guid isPermaLink="false">20856@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi all,&#60;/p&#62;
&#60;p&#62;I am using Olimexino board with STM32 and Maple IDE. I am trying to clock the counter by external TTL pulses (10us long and 3,3V). Unfortunately, I am not able to set the prescaler to 0. Here is how I setuped the timer:&#60;/p&#62;
&#60;p&#62;  TIMER3_BASE-&#38;gt;SMCR = 0x4000;           //enable external input (external clock source mode 2&#60;br /&#62;
  TIMER3_BASE-&#38;gt;CR1 = 0x0001;		//enable the counter&#60;/p&#62;
&#60;p&#62;But when I send the TTL pulses with signal generator every 20ms, every 40ms the counter increase. &#60;/p&#62;
&#60;p&#62;Please, does anyone has any idea where can be the problem? &#60;/p&#62;
&#60;p&#62;Thank you in advance,&#60;br /&#62;
Maslo
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
