<?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>Input timer capture function development using PPI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56071/input-timer-capture-function-development-using-ppi</link><description>Hi, 
 
 I want to measure the pulse length of sqauare wave (accuracy in ms) using PPI. 
 
 I have counted the number of pulses occurring in particular time period using PPI successfully. For that I used one timer as in count mode, and another timer as</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Jan 2020 06:44:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56071/input-timer-capture-function-development-using-ppi" /><item><title>RE: Input timer capture function development using PPI</title><link>https://devzone.nordicsemi.com/thread/229515?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2020 06:44:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f24fa1a0-835a-4ba3-98e7-74a5ec4e0c1f</guid><dc:creator>Pooja Uchagaonkar</dc:creator><description>&lt;p&gt;Yes, I can use nrfx_gpiote directly as well. But it creates problem for interrupt handler.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Pooja&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Input timer capture function development using PPI</title><link>https://devzone.nordicsemi.com/thread/228462?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2020 04:37:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:214986df-e3f6-4f03-81be-5868dd414e7a</guid><dc:creator>Tim</dc:creator><description>&lt;p&gt;Glad your issue is resolved. I speculate that you could use nrfx_gpiote and access GPIOTE peripheral directly at the same time.&amp;nbsp;I think I&amp;#39;d lean towards just accessing GPIOTE directly.&amp;nbsp;Not sure if there are pros/cons to either. Perhaps a Nordic support engineer will offer advice here.&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;Tim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Input timer capture function development using PPI</title><link>https://devzone.nordicsemi.com/thread/228254?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2020 06:33:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2e0ad5c-bdaa-420d-a05b-9fd8b031bbb5</guid><dc:creator>Pooja Uchagaonkar</dc:creator><description>&lt;p&gt;Hi Tim,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks a lot for solution.&lt;/p&gt;
&lt;p&gt;I accessed GPIOTE peripheral directly as per you referred and the issue is resolved. Now I can measure the any input pulse width using PPI timer capture development. But one another thing is, I also want to use GPIOTE peripheral driver file &lt;strong&gt;nrfx_gpiote &lt;/strong&gt;in my application&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;for&amp;nbsp;simply handling another GPIO&amp;#39;s interfaces.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there any another alternative solution for this?&amp;nbsp;&lt;strong&gt;OR&lt;/strong&gt; I have to use it directly for all.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Pooja Uchagaonkar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Input timer capture function development using PPI</title><link>https://devzone.nordicsemi.com/thread/227145?ContentTypeID=1</link><pubDate>Tue, 31 Dec 2019 16:36:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:015a3368-8ea3-472c-b69b-63a2ffd2aec9</guid><dc:creator>Tim</dc:creator><description>&lt;p&gt;I had the same need. I have a sensor attached to a GPIO pin and periodically it goes from hi to low, remains low for a short time period (200-500ms), then returns to hi. On HiToLo, I want to start a timer, then on LoToHi, stop the timer, all using GPIOTE and PPI. The solution is to directly access the GPIOTE peripheral rather than using the driver. See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/53187/direct-manipulation-of-peripherals-timer-gpiote-ppi" rel="noopener noreferrer" target="_blank"&gt;this post&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>