<?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>nrf51822 gpiote and timer capture pulse width</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11036/nrf51822-gpiote-and-timer-capture-pulse-width</link><description>Hi:
I want to capture the parameter of a digital wave like this, I want to get every &amp;#39;t&amp;#39; value. The wave is same in a period of time, but the 51822 capture value of &amp;#39;t&amp;#39; is shaking(the right value is 1500us,and 51822 capture value is 1400 to 1600us random</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Jun 2018 03:36:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11036/nrf51822-gpiote-and-timer-capture-pulse-width" /><item><title>RE: nrf51822 gpiote and timer capture pulse width</title><link>https://devzone.nordicsemi.com/thread/137352?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 03:36:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1203ae7-6291-4cdc-91bd-c4959aaf4511</guid><dc:creator>AxisRobotics</dc:creator><description>&lt;p&gt;Anyone ever put up a more complete example using PPI and GPIOTE to measure pulse width with SD enabled?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 gpiote and timer capture pulse width</title><link>https://devzone.nordicsemi.com/thread/41262?ContentTypeID=1</link><pubDate>Tue, 29 Dec 2015 00:40:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddd23155-3241-4202-8609-346177c769f6</guid><dc:creator>xtting</dc:creator><description>&lt;p&gt;I think may it&amp;#39;s relay on what you config your timer, dont use any prescalor in your code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 gpiote and timer capture pulse width</title><link>https://devzone.nordicsemi.com/thread/41260?ContentTypeID=1</link><pubDate>Sat, 26 Dec 2015 05:59:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3d6628f-2e28-4705-86ba-4b7923bcbc7c</guid><dc:creator>chenyu</dc:creator><description>&lt;p&gt;I get the timer value in GPIOTE EVENT handler, So I think maybe something disturb the gpiote IRQ.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 gpiote and timer capture pulse width</title><link>https://devzone.nordicsemi.com/thread/41261?ContentTypeID=1</link><pubDate>Sat, 26 Dec 2015 05:57:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3ae4970-11f3-4386-aecf-fe926e2650eb</guid><dc:creator>chenyu</dc:creator><description>&lt;p&gt;I add the ppi function in my code, Fortunately,the capture value error be cut off 50%(50us shaking).  But, Is there anyway to thorough solve the program. Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 gpiote and timer capture pulse width</title><link>https://devzone.nordicsemi.com/thread/41259?ContentTypeID=1</link><pubDate>Fri, 25 Dec 2015 09:39:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7088c9f-18c1-4e26-849e-530dfd705d0b</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Don&amp;#39;t know about gazelle - if it has a high enough priority then it could certainly disturb the timing&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 gpiote and timer capture pulse width</title><link>https://devzone.nordicsemi.com/thread/41258?ContentTypeID=1</link><pubDate>Fri, 25 Dec 2015 09:30:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5815298d-c4d3-4e92-a323-a129e5dd909b</guid><dc:creator>chenyu</dc:creator><description>&lt;p&gt;I havn&amp;#39;t use softdevice. the other mcu hardware  I use is gazell/uart/adc. Can gazell disturb gpiote interrupt?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 gpiote and timer capture pulse width</title><link>https://devzone.nordicsemi.com/thread/41257?ContentTypeID=1</link><pubDate>Fri, 25 Dec 2015 09:27:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe421078-add1-4e98-b457-598990b7aeff</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;If you have the softdevice running it won&amp;#39;t work doing it with timer interrupts. Use PPI and a GPIOTE task to capture the timer each edge and then measure it afterw&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>