<?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>nRf52840 ext. pin Counter / Capture input</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21736/nrf52840-ext-pin-counter-capture-input</link><description>hi Dear Engineers! 
 Have a question about external TIMER counter input hw PIN.
as Known, all the MCUs have a timer with external pin as a counter / capturer ability.
how about nRf52840 ? have any int. timers this kind of feature to capture external</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 May 2017 13:41:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21736/nrf52840-ext-pin-counter-capture-input" /><item><title>RE: nRf52840 ext. pin Counter / Capture input</title><link>https://devzone.nordicsemi.com/thread/85374?ContentTypeID=1</link><pubDate>Tue, 02 May 2017 13:41:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:864d424d-bb66-49a7-b82c-4f8a1ded01ee</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You should be able to do this by using the a GPIOTE channel, PPI and a TIMER.&lt;/p&gt;
&lt;p&gt;Configure the GPIOTE to create an event every time the pin toggels/goes high/goes low. Connect this event to the task TASKS_COUNT in the TIMER.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>