<?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>High frequency clock output from PCA10040</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51161/high-frequency-clock-output-from-pca10040</link><description>Hello, 
 I am using the PCA10040 DK, and I want to get a 8 MHz OR 4 MHz clock output from one of the GPIOs. 
 I&amp;#39;ve followed the instructions from here 
 and it works.. however I do not understand what is going on because I am new to this, and such low</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Aug 2019 07:23:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51161/high-frequency-clock-output-from-pca10040" /><item><title>RE: High frequency clock output from PCA10040</title><link>https://devzone.nordicsemi.com/thread/205189?ContentTypeID=1</link><pubDate>Wed, 21 Aug 2019 07:23:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b7b9b62-94ce-49c7-a2e8-f9f3690534e0</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Basically it&amp;nbsp;configure the timer to auto clear counter value when reaching the set&amp;nbsp;cc_value value. In this case it looks like you have set&amp;nbsp;&lt;span&gt;cc_value to&lt;/span&gt; &amp;#39;1&amp;#39;, which I assume you intend the timer to clear and&amp;nbsp;generate&amp;nbsp;an event every 1/16MHz.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High frequency clock output from PCA10040</title><link>https://devzone.nordicsemi.com/thread/205140?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2019 19:50:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c9f9049-686c-411b-af06-7ff5c70a2c97</guid><dc:creator>Kasraa</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;Thank you for your response. The code you suggested differs from mine by only the following line:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;     nrf_drv_timer_extended_compare(&amp;amp;XCLK_TIMER, (nrf_timer_cc_channel_t)0, 1UL, NRF_TIMER_SHORT_COMPARE0_CLEAR_MASK, false);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;However, I do not understand what this does. Would you be able to guide me towards something that may explain this to me?&lt;/p&gt;
&lt;p&gt;I appreciate your time.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Kasra&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High frequency clock output from PCA10040</title><link>https://devzone.nordicsemi.com/thread/204928?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2019 07:53:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbe861c3-ecc0-4644-88ee-7299ca394fc9</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;So, with PPI you can connect an event from one peripheral to trigger a task of another peripheral, for instance a compare0 event from a timer to toggle a pin controlled by the GPIOTE peripheral.&lt;/p&gt;
&lt;p&gt;In your case it seems that you are trying to do the same as found in:&lt;br /&gt;\nRF5_SDK_15.3.0_59ac345\examples\peripheral\gpiote&lt;/p&gt;
&lt;p&gt;Have you tried that example?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>