<?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>External count</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82850/external-count</link><description>Hello, I am using 52832. There is an external interrupt count with a maximum frequency of 1kHz. I have two hardware. One I transmit to the mobile phone at an interval of 50ms. Don&amp;#39;t connect another hardware to the mobile phone. Finally, I check that the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Apr 2022 07:29:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82850/external-count" /><item><title>RE: External count</title><link>https://devzone.nordicsemi.com/thread/363112?ContentTypeID=1</link><pubDate>Wed, 13 Apr 2022 07:29:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77ba7f73-5cb6-4fdf-b698-cd61ce2c5443</guid><dc:creator>mad qu</dc:creator><description>&lt;p&gt;我已经处理好了&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External count</title><link>https://devzone.nordicsemi.com/thread/344064?ContentTypeID=1</link><pubDate>Fri, 17 Dec 2021 07:33:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea0f6fde-0d19-407c-b6ef-ad764ddb5857</guid><dc:creator>mad qu</dc:creator><description>&lt;p&gt;Thank you for your reply. I&amp;#39;ll verify it. Give me more feedback.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External count</title><link>https://devzone.nordicsemi.com/thread/344062?ContentTypeID=1</link><pubDate>Fri, 17 Dec 2021 07:27:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e738d8b0-1e34-410d-8e74-693acf7d8ee8</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;There may still be ways to handle this. You could use a timer as counter, and do the counting with a GPIOTE input connected to a TIMER in counter mode. That way, no CPU intervention is needed to count. Then you would only need the CPU for configuration, and to read the counter value&amp;nbsp; (trigger capture task and read captured value). You can even do that from another timer via PPI in order to do this in HW, so that this is accurate even if there are interrupts at the &amp;quot;wrong&amp;quot; times. See an example of that in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/9036/measuring-input-gpio-pin-frequency-with-soft-device-running"&gt;this old thread&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External count</title><link>https://devzone.nordicsemi.com/thread/344028?ContentTypeID=1</link><pubDate>Fri, 17 Dec 2021 00:57:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bfbc94d-fe75-436d-94ed-11ee2783e181</guid><dc:creator>mad qu</dc:creator><description>&lt;p&gt;The external interrupt data source is a motor acceleration pulse output. I start the motor, and the motor will accelerate from 0Hz to 1kHz, and then slow down to 0Hz. This process takes only 5-7s. Once the process is started, I can&amp;#39;t control it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External count</title><link>https://devzone.nordicsemi.com/thread/343919?ContentTypeID=1</link><pubDate>Thu, 16 Dec 2021 13:10:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23c128e8-742b-40be-9745-4f38583c15ee</guid><dc:creator>mad qu</dc:creator><description>&lt;p&gt;I&amp;#39;ll study it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External count</title><link>https://devzone.nordicsemi.com/thread/343889?ContentTypeID=1</link><pubDate>Thu, 16 Dec 2021 12:28:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40e1eb84-9587-4b50-a027-0e89c5572ec1</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you can control when the external interrupts come (for instance if you start a process of some sorts which takes a small amount of time and during that time there are many interrupts), then you can use the &lt;a href="https://infocenter.nordicsemi.com/topic/sds_s132/SDS/s1xx/concurrent_multiprotocol_tsl_api/tsl_usage_examples.html"&gt;timeslot API&lt;/a&gt; for this. With that you can be granted a duration of time where you are guaranteed that there will be no SoftDevice interrupts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>