<?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>handler event synchronous</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26675/handler-event-synchronous</link><description>Hi 
 I am making a speed cadence sensor.
I am using the gpio event handler to check the cumulative wheel revolutions and send the recorded value to the app as a time handler.
But I wonder if there is a synchronization problem between the two events</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Nov 2017 00:05:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26675/handler-event-synchronous" /><item><title>RE: handler event synchronous</title><link>https://devzone.nordicsemi.com/thread/104931?ContentTypeID=1</link><pubDate>Fri, 10 Nov 2017 00:05:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0abb9004-2d94-461b-b607-05d9cb65e2a6</guid><dc:creator>hongpal</dc:creator><description>&lt;p&gt;Thanks for the reply&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: handler event synchronous</title><link>https://devzone.nordicsemi.com/thread/104935?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2017 16:05:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d75048e-5054-4088-8baf-8a47d614c763</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;No, you need to use one extra timer. So say TIMER1 you use as normal timer, trigger every 1 second, and TIMER2 use it as the counter and connect it to GPIO.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: handler event synchronous</title><link>https://devzone.nordicsemi.com/thread/104934?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2017 12:28:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38af6180-7f13-4e1d-9495-42cc9eed0906</guid><dc:creator>hongpal</dc:creator><description>&lt;p&gt;Are the two events sharing the same counter value and not having synchronization issues?
gpio events can occur from time to time and timeouts occur every second.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: handler event synchronous</title><link>https://devzone.nordicsemi.com/thread/104933?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2017 11:35:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30f3936b-cfff-4aaf-95b4-bf36d7e3a3bc</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Yes, but what is the problem ? I don&amp;#39;t see any problem here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: handler event synchronous</title><link>https://devzone.nordicsemi.com/thread/104932?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2017 02:27:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8279af16-0ff6-455d-90e3-86e469a75ffd</guid><dc:creator>hongpal</dc:creator><description>&lt;p&gt;Yes, that&amp;#39;s right. You understand exactly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: handler event synchronous</title><link>https://devzone.nordicsemi.com/thread/104930?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2017 14:18:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:318f2906-0281-4893-a06c-b4be8dfe446a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What exactly the issue you are thinking of ? My understanding is you use the GPIO event and trigger a counter (you can do it with PPI without CPU needed). And then you send the value of the counter on each timer timeout event ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>