<?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>How to continuously toggle pin using a timer?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17521/how-to-continuously-toggle-pin-using-a-timer</link><description>I want to accomplish something very simple: use a timer to output a continuous square wave on a certain pin, at 30-60kHz or more. It doesn&amp;#39;t have to be PWM or anything fancy, just a fixed frequency would do. 
 I cobbled together some code from examples</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Nov 2016 10:59:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17521/how-to-continuously-toggle-pin-using-a-timer" /><item><title>RE: How to continuously toggle pin using a timer?</title><link>https://devzone.nordicsemi.com/thread/67363?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2016 10:59:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd02ea91-5c9a-4e53-8672-a80520250e32</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Great that it worked. If I answered your question I would appreciate if you would accept my answer by clicking the grey circle next to it. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to continuously toggle pin using a timer?</title><link>https://devzone.nordicsemi.com/thread/67362?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2016 10:28:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:815cacb3-f860-4e2f-aeb2-d8c6c7686619</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Petter - That worked, thank you.  I think part of the issue was that I was using examples written for older SDK which had nrf_gpiote_task_config() instead of nrf_gpiote_task_configure(), I assumed the two are identical but apparently not.  Looks like the (old) config == (new) configure + enable&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to continuously toggle pin using a timer?</title><link>https://devzone.nordicsemi.com/thread/67361?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2016 12:26:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac610ef5-8c5d-41ea-8a64-85e24a6b058d</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What if you add nrf_gpiote_task_enable(0);?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>