<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Timer nrf24le1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4219/timer-nrf24le1</link><description>Hello, 
 i am currently trying to integrate a timer properly to my project. 
 I want to set a pin to high for a duration of 1msec.
I configured the timer like shown below: 
 //********TIMER STUFF**********
TMOD = (TMOD &amp;amp; 0xF0) | 0x20; /* Set Mode</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Nov 2014 11:44:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4219/timer-nrf24le1" /><item><title>RE: Timer nrf24le1</title><link>https://devzone.nordicsemi.com/thread/15073?ContentTypeID=1</link><pubDate>Fri, 07 Nov 2014 11:44:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56e01689-a1ca-4ca4-9747-395ed28e4503</guid><dc:creator>Heiko</dc:creator><description>&lt;p&gt;Yes it is okay.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer nrf24le1</title><link>https://devzone.nordicsemi.com/thread/15072?ContentTypeID=1</link><pubDate>Mon, 03 Nov 2014 08:44:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40cf5ced-84b4-4f63-aae0-8361099a39a1</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Okay! I&amp;#39;m glad you found the cause. Is it okay that I close the thread then?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer nrf24le1</title><link>https://devzone.nordicsemi.com/thread/15071?ContentTypeID=1</link><pubDate>Thu, 30 Oct 2014 10:34:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:204c5569-17da-4fbb-becf-cd8ec93e68ea</guid><dc:creator>Heiko</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;i think i found the cause of this behavior. I am also using hal_nrf for radio transmission, which blocks quite some time so my programm is running quite slowly. I have to find a workaround for that, but it has nothing to do with the timers or some kind of hardware limitation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer nrf24le1</title><link>https://devzone.nordicsemi.com/thread/15069?ContentTypeID=1</link><pubDate>Thu, 30 Oct 2014 09:07:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3cb427a-7067-4e67-8b4c-eff9808d9404</guid><dc:creator>Heiko</dc:creator><description>&lt;p&gt;Hello,
in this case it doesn&amp;#39;t make any differnce right? 20 -&amp;gt; 100000 and 02 -&amp;gt; 10, but yeah i want to use it in reload mode.
Basically i am setting the pin to high and then i count 10 timer interrupts. After 10 interrupts i set the pin to low again.
The problem is, the pin is only toggeling between high and low for an interrupt count higher than 18.
If i set the toggle time lower, the pin is set to high all the time.
Unfortunately i need i toggle time smaller then 10 interrupts (1 millisec), but i am not sure why it reacts like that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer nrf24le1</title><link>https://devzone.nordicsemi.com/thread/15070?ContentTypeID=1</link><pubDate>Wed, 29 Oct 2014 16:07:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b8d9213-1121-4103-ba15-ade8019270ee</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;In this line:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;TMOD = (TMOD &amp;amp; 0xF0) | 0x20;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You mean &lt;strong&gt;0x02&lt;/strong&gt; right? In order to set the 8 bit mode with auto reload?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>