<?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>Using RTT with internal Clock</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34824/using-rtt-with-internal-clock</link><description>Hello, 
 I am currently experiencing some problems, when i try using RTT output and the internal clock. 
 When using an external crystal, everything is working. 
 The following two code snippets are the configurations i use respectively. 
 
 
 
 I couldn</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 May 2018 07:39:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34824/using-rtt-with-internal-clock" /><item><title>RE: Using RTT with internal Clock</title><link>https://devzone.nordicsemi.com/thread/133954?ContentTypeID=1</link><pubDate>Wed, 30 May 2018 07:39:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98da5a96-6958-49c4-84cc-3fb8cc511ec7</guid><dc:creator>Niclas Heitz</dc:creator><description>&lt;p&gt;Ok i got the example running and it worked.&lt;/p&gt;
&lt;p&gt;After reviewing the code again i found the error that caused the problem in our code.&lt;/p&gt;
&lt;p&gt;Seems to have been a combination of include order and precompile if statements, which resulted in Debug output beeing disabled.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your help,&lt;/p&gt;
&lt;p&gt;Niclas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using RTT with internal Clock</title><link>https://devzone.nordicsemi.com/thread/133807?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 12:14:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d9b016b-327a-49c3-92a9-716e449f6f64</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Yes, make sure that the Log module is enabled and configured for RTT logging in sdk_config.h, see screenshot below.&amp;nbsp; No, I think the precompiled hex&amp;nbsp; enables the UART backend or has logging disabled.&lt;br /&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-0a81c7a834a848f8b9c7971871eb385a/sdk_5F00_config_5F00_ble_5F00_app_5F00_hrs_5F00_sdk_5F00_12.2.PNG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using RTT with internal Clock</title><link>https://devzone.nordicsemi.com/thread/133802?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 11:55:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce96ba4d-22cf-4ce9-9a82-38862059c168</guid><dc:creator>Niclas Heitz</dc:creator><description>&lt;p&gt;I tried modifying the ble_app_hrs example myself, but i don&amp;#39;t see any RTT output.&lt;/p&gt;
&lt;p&gt;I only replaced the NRF_CLOCK_LFCLKSRC with the NRF_CLOCK_LFCLKSRC_RC i posted above.&lt;/p&gt;
&lt;p&gt;Is there something else i need to change?&lt;/p&gt;
&lt;p&gt;I also tried the ble_app_hrs_pca10040_s132.hex for reference, but there was no RTT ouput either.&lt;/p&gt;
&lt;p&gt;Is RTT not enabled in the precompiled hex?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using RTT with internal Clock</title><link>https://devzone.nordicsemi.com/thread/133607?ContentTypeID=1</link><pubDate>Mon, 28 May 2018 09:23:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3213470-6472-45ce-a6d5-bdd8dda68fd6</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I also see the RTT log output in RTT Viewer if I do the same in the ble_app_hrs example in&amp;nbsp; SDK v12.2.0. SO in other words this should work fine. Are you able to reproduce it with a SDK example? I assume that you&amp;#39;re seeing this issue with a custom application.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using RTT with internal Clock</title><link>https://devzone.nordicsemi.com/thread/133606?ContentTypeID=1</link><pubDate>Mon, 28 May 2018 09:18:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d2ac04b-3d3f-4f81-a6c2-84f670707721</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;From a previous question I see that you&amp;#39;re migrating from SDK 12.2.0 to SDK v14.0.0.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I did a quick test in SDK v14.0.0 by modifying the ble_app_hrs example to use the internal RC and not the LFXO and enabling RTT logging I am seeing RTT output in Segger RTT Viewer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using RTT with internal Clock</title><link>https://devzone.nordicsemi.com/thread/133604?ContentTypeID=1</link><pubDate>Mon, 28 May 2018 09:17:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db607374-6a10-439d-a1d9-11560fd9e01d</guid><dc:creator>Niclas Heitz</dc:creator><description>&lt;p&gt;Hi Bj&amp;oslash;rn,&lt;/p&gt;
&lt;p&gt;I am using SDK12.2.0.&lt;/p&gt;
&lt;p&gt;I tested it on our custom board and also with the nRF52 DK&amp;nbsp; PCA10040 V1.1.0.&lt;/p&gt;
&lt;p&gt;The results were identical.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Niclas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using RTT with internal Clock</title><link>https://devzone.nordicsemi.com/thread/133602?ContentTypeID=1</link><pubDate>Mon, 28 May 2018 09:12:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2811180-f943-45d1-9773-9e0f70743ada</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Niclas,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;which SDK version are you using? Are you using a nRF52 DK or a custom nRF52823 board when you&amp;#39;re seeing this issue?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>