<?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>1Sec App Timer Consumption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15636/1sec-app-timer-consumption</link><description>Hi,
I am trying to do a GPIO operation every one second repeated in 51822. I am using app timer to get this work done. The current average consumption is 45uA/H. The handler is like this. 
 nrf_gpio_pin_set(21); 
nrf_delay_ms(10); 
nrf_gpio_pin_clear</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Aug 2016 07:52:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15636/1sec-app-timer-consumption" /><item><title>RE: 1Sec App Timer Consumption</title><link>https://devzone.nordicsemi.com/thread/59700?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2016 07:52:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb26ac3c-9b0c-4dec-86b9-6f6119efe6cb</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Toggling a GPIO at 1 sec application timer interrupts should fulfill your needs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 1Sec App Timer Consumption</title><link>https://devzone.nordicsemi.com/thread/59699?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2016 07:50:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33aba72b-d248-4b2f-a6ce-c58c5292e183</guid><dc:creator>Harsha</dc:creator><description>&lt;p&gt;Hi,
My doubt is not app timer. My app timer is working well. In the ISR I have a gpio blinky function using nrf_delay_ms. My objective is to create a single square pulse every 1 sec. The delay function is consuming power. Is there any other way to do this!?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 1Sec App Timer Consumption</title><link>https://devzone.nordicsemi.com/thread/59698?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2016 06:57:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1da45deb-775a-4356-b682-cd6d7c99428e</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can check out the &lt;a href="https://devzone.nordicsemi.com/tutorials/19/"&gt;application timer tutorial&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 1Sec App Timer Consumption</title><link>https://devzone.nordicsemi.com/thread/59697?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2016 06:39:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86336f13-4a94-4df4-a842-5c02453cf467</guid><dc:creator>Harsha</dc:creator><description>&lt;p&gt;Thanks u RK. Can you give me an example snippet to achieve this. My requirement is one square pulse for 5ms on one of the gpio pins without using Delay Function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 1Sec App Timer Consumption</title><link>https://devzone.nordicsemi.com/thread/59696?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2016 05:59:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5753c045-c793-4f8a-82d2-e241e6e461ea</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Using nrf_delay_ms() or any of the other simple delay function gives the worst possible power consumption as it keeps the processor working constantly performing NOPs. It&amp;#39;s also pretty inaccurate, more so the more the processor is doing.&lt;/p&gt;
&lt;p&gt;Use an app_timer or anything else based off the RTC which will allow you to sleep most of the time and only wake when interrupted.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>