<?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>QDEC doesn&amp;#39;t sample fast signals</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48564/qdec-doesn-t-sample-fast-signals</link><description>Hi, 
 I am using mechanical QDEC which doesn&amp;#39;t have LED and simply A and B pins. After going through forum I set the QDEC confguration as follows. 
 
 Then changed function in nrfx_qdec.c 
 
 Now I am getting values only if encoder is moving very slow</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Jun 2019 06:50:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48564/qdec-doesn-t-sample-fast-signals" /><item><title>RE: QDEC doesn't sample fast signals</title><link>https://devzone.nordicsemi.com/thread/193064?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2019 06:50:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8ab9d8c-516c-4233-9bbc-c385d4686ef1</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Ali&lt;/p&gt;
&lt;p&gt;Good to hear it&amp;#39;s working better &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Could you try flipping the input&amp;nbsp;assignments?&lt;br /&gt;Then I assume the direction should be inverted.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QDEC doesn't sample fast signals</title><link>https://devzone.nordicsemi.com/thread/192976?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 16:04:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6742543-beea-4836-b7a0-8748557d134f</guid><dc:creator>Ali Rumane</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/ovrebekk"&gt;ovrebekk&lt;/a&gt;,&lt;/p&gt;
[quote userid="2116" url="~/f/nordic-q-a/48564/qdec-doesn-t-sample-fast-signals/192943"]reduce the sample period[/quote]
&lt;p&gt;Thank you for pointing it out, it is working fine now.&lt;/p&gt;
&lt;p&gt;Can you please let me know about about direction issue? I am geting opposite direction i.e. negative while movement is forward and viceversa.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QDEC doesn't sample fast signals</title><link>https://devzone.nordicsemi.com/thread/192943?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 13:28:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ea38c41-7a13-4193-a8f6-0b72c1f0ec24</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Ali&lt;/p&gt;
&lt;p&gt;Have you tried to reduce the sample period?&lt;/p&gt;
&lt;p&gt;If the sample period is as high as 8192us it is much too slow to sample&amp;nbsp;your signal, if the frequency can go up to 2560Hz.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>