<?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>As to micro second control with timer of 82532</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28672/as-to-micro-second-control-with-timer-of-82532</link><description>Hi, 
 I would like to control gpio pins in micro seconds with timer,
I know that it is very difficult to implement with only timer owing to soft device (interrupt handing), so need maybe to use PPI driver... is it right ? 
 I update my code, it can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Dec 2017 16:41:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28672/as-to-micro-second-control-with-timer-of-82532" /><item><title>RE: As to micro second control with timer of 82532</title><link>https://devzone.nordicsemi.com/thread/113636?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2017 16:41:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2fb1247-63a4-4ef3-b2ae-2e740c5e5b49</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;Also, you might find that you will get more responses on your work if you put the time into writing better code.
As an example, your first function is a single case, switch statement. You do not write a single case, switch statement.  That is just an &amp;quot;if&amp;quot; statement.&lt;/p&gt;
&lt;p&gt;However, I will endeavor to help you out.  I noticed you haven&amp;#39;t received a lot of help on the your other posts on this subject.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: As to micro second control with timer of 82532</title><link>https://devzone.nordicsemi.com/thread/113635?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2017 16:18:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:720ad449-5ef0-4b5c-9ebe-40d428f8dabd</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;Where is tcs_on_count defined? It needs to be global static.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: As to micro second control with timer of 82532</title><link>https://devzone.nordicsemi.com/thread/113637?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2017 15:35:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3a4e8bf-9b14-420c-9de3-f12b95925f90</guid><dc:creator>edmond.yun</dc:creator><description>&lt;p&gt;hello, thankful for your positive concern,... let me explain what I do, I would like to control gpio in micro second(minimum 5 us), but when trying to do it, the pin is shaking, not stable,....
please help me...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: As to micro second control with timer of 82532</title><link>https://devzone.nordicsemi.com/thread/113634?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2017 15:24:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d332956e-28cc-4905-a25e-4bec2dde398e</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;You are correct that using PPI/GPIOTE is the only way to effectively handle microsecond timing of GPIO.  What I see wrong in your code is that you seem to be handling the events in interrupt handlers.&lt;/p&gt;
&lt;p&gt;What exactly is the purpose of the microsecond timing?  What function is it providing in your code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: As to micro second control with timer of 82532</title><link>https://devzone.nordicsemi.com/thread/113633?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2017 13:23:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:333202de-dccd-41fa-a52a-08a578f0ead1</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;This question is a real mess.
Try reformatting your question so the code is actually readable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>