<?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>My Timer-GPIO program doesn&amp;#39;t run, could someone please advise?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22759/my-timer-gpio-program-doesn-t-run-could-someone-please-advise</link><description>&amp;gt; /** @file
&amp;gt; * @brief Example template project.
&amp;gt; * @defgroup nrf_templates_example Example Template
&amp;gt; *
&amp;gt; */
&amp;gt; 
&amp;gt; #include &amp;lt;stdbool.h&amp;gt;
&amp;gt; #include &amp;lt;stdint.h&amp;gt;
&amp;gt; 
&amp;gt; #include &amp;quot;nrf.h&amp;quot;
&amp;gt; #include &amp;quot;nrf_gpio.h&amp;quot;
&amp;gt; #include &amp;quot;nrf_drv_config.h&amp;quot;
&amp;gt; #include</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Jun 2017 11:49:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22759/my-timer-gpio-program-doesn-t-run-could-someone-please-advise" /><item><title>RE: My Timer-GPIO program doesn't run, could someone please advise?</title><link>https://devzone.nordicsemi.com/thread/89476?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2017 11:49:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb065ca3-6ba6-4673-bd64-ecc66bece326</guid><dc:creator>Abhishek Satish</dc:creator><description>&lt;p&gt;I tried it out! The nrf_drv_gpiote_out_task_enable(..) is not necessary for this, but moving it out worked! Thank you so much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My Timer-GPIO program doesn't run, could someone please advise?</title><link>https://devzone.nordicsemi.com/thread/89475?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2017 11:45:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8dcd1305-c4df-4f06-941e-bb0847d00f3f</guid><dc:creator>Abhishek Satish</dc:creator><description>&lt;p&gt;Alright! I&amp;#39;ll try it. I have another question, since I&amp;#39;m not using tasks and just GPIOTE_CONFIG_OUT_SIMPLE(false), do I still need to use nrf_drv_gpiote_out_task_enable(..)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My Timer-GPIO program doesn't run, could someone please advise?</title><link>https://devzone.nordicsemi.com/thread/89474?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2017 11:40:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b7e0d19-5351-4783-a349-9e6a4207df87</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;First, all the setup should be done before and outside of the &lt;code&gt;while(true)&lt;/code&gt;-loop. In the code-snippet above, the &lt;code&gt;while(true)&lt;/code&gt;-loop can be left empty.&lt;/p&gt;
&lt;p&gt;To make gpiote work, it needs to be enabled: &lt;code&gt;nrf_drv_gpiote_out_task_enable(..)&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My Timer-GPIO program doesn't run, could someone please advise?</title><link>https://devzone.nordicsemi.com/thread/89471?ContentTypeID=1</link><pubDate>Tue, 13 Jun 2017 18:52:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68fd77e5-932c-406c-819e-f94f4f21f5f3</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Well then I would suggest to go back to working project and do little steps;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My Timer-GPIO program doesn't run, could someone please advise?</title><link>https://devzone.nordicsemi.com/thread/89470?ContentTypeID=1</link><pubDate>Tue, 13 Jun 2017 18:30:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49a2918e-df23-48b8-a8ac-a51e72423cfb</guid><dc:creator>Abhishek Satish</dc:creator><description>&lt;p&gt;Tried that. The previous one was basically the blinky application. I&amp;#39;ve more or less replicated it in this program, just without the application timer and the BSP API&amp;#39;s. Thanks for the suggestion, but yeah. It hasn&amp;#39;t worked for me yet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My Timer-GPIO program doesn't run, could someone please advise?</title><link>https://devzone.nordicsemi.com/thread/89469?ContentTypeID=1</link><pubDate>Tue, 13 Jun 2017 18:28:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb79b245-0254-4104-a334-f05dd74ae386</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Then probably roll back to last working version and move forward in smaller steps, that should lead to sure success!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My Timer-GPIO program doesn't run, could someone please advise?</title><link>https://devzone.nordicsemi.com/thread/89473?ContentTypeID=1</link><pubDate>Tue, 13 Jun 2017 18:26:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7a1adff-a1be-4608-89e8-051296ea44f7</guid><dc:creator>Abhishek Satish</dc:creator><description>&lt;p&gt;Eclipse complains that it can&amp;#39;t be resolved, but the console shows a successful compile action. It also compiles in command prompt outside of eclipse when I call make flash. I have compiled into Hex&amp;#39;s before and uploaded it to the board. And it has worked. I started this program from scratch and can&amp;#39;t seem to find why it isn&amp;#39;t working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My Timer-GPIO program doesn't run, could someone please advise?</title><link>https://devzone.nordicsemi.com/thread/89472?ContentTypeID=1</link><pubDate>Tue, 13 Jun 2017 18:23:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ca0357a-c0f2-41f9-91d1-7034509fe09e</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Why flashing Soft Device when you don&amp;#39;t use it? Also how do you compile if Eclipse complains that some symbol cannot be resolved? Have your code ever compiled into HEX file and worked on nRF51 board? I would start from some SDK example which is 100% working by simply recompiling it, flashing to the board and testing...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>