<?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>Outputting 32MHZ clock on TRACECLK pin</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42466/outputting-32mhz-clock-on-traceclk-pin</link><description>In the nRF52832 Product Spec v1.4 th the ere are discussions in sections 16.5 and 19.3.10 about being able able to output a divided down version 
 of the 32MHZ clock on the TRACECLK pin. We feel we have it setup correctly but we are NOT getting anything</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Jan 2019 15:11:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42466/outputting-32mhz-clock-on-traceclk-pin" /><item><title>RE: Outputting 32MHZ clock on TRACECLK pin</title><link>https://devzone.nordicsemi.com/thread/165530?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 15:11:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fe02465-a282-49f1-925a-50ebda4bb8fd</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;I think there&amp;#39;s some misunderstanding here. The TRACECLK is only enabled when a TRACE enabled debugger is connected, and your device is properly configured by the debugger to output this signal.&lt;/p&gt;
&lt;p&gt;Do you want to use TRACE when debugging your project, or do you want to generate a pulse train on a specific GPIO?&lt;/p&gt;
&lt;p&gt;If you want to generate a clock pulse on a given GPIO, you can use GPIOTE+PPI+TIMER to obtain this, like this example for the nRF51-series devices:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicPlayground/nrf51-8-mhz-gpio-clock/blob/master/main.c"&gt;https://github.com/NordicPlayground/nrf51-8-mhz-gpio-clock/blob/master/main.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Outputting 32MHZ clock on TRACECLK pin</title><link>https://devzone.nordicsemi.com/thread/165526?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 14:56:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23bc1f32-1cd3-4605-b90f-271ce8c256e4</guid><dc:creator>Patrick</dc:creator><description>&lt;p&gt;These app notes show using the TRACECLK pin in debugging mode.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What we would like to do is on a GPIO (In this case P0_20) output a divided down version of the&amp;nbsp;&lt;/p&gt;
&lt;p&gt;32MHZ input clock.&amp;nbsp; Ideally 16MHZ but can be slower if the part does NOT support that speed on a GPIO.&lt;/p&gt;
&lt;p&gt;How can we setup a GPIO to this?&lt;/p&gt;
&lt;p&gt;Thanks.&amp;nbsp; Pat&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Outputting 32MHZ clock on TRACECLK pin</title><link>https://devzone.nordicsemi.com/thread/165520?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 14:44:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b017e52d-d391-4021-8876-9eb601cd1afc</guid><dc:creator>Patrick</dc:creator><description>&lt;p&gt;Thanks.&amp;nbsp; I will provide this to the SW team and let you know the results.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Outputting 32MHZ clock on TRACECLK pin</title><link>https://devzone.nordicsemi.com/thread/165516?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 14:37:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:606350ff-a86c-4337-bc40-3caff1607bbd</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There&amp;#39;s a post on this in the blog section:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/debugging-nrf52-series-devices-using-trace"&gt;https://devzone.nordicsemi.com/b/blog/posts/debugging-nrf52-series-devices-using-trace&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And one from Keil as well:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/nrf52-tutorial-etm-instruction-trace-with-keil-mdk"&gt;https://devzone.nordicsemi.com/b/blog/posts/nrf52-tutorial-etm-instruction-trace-with-keil-mdk&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you are still getting errors, could you post the output from your IDE?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>