<?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>Logging over UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32658/logging-over-uart</link><description>Hi 
 I am working with the twi_scanner_pca10056 example found in the SDK. Using a oscilloscope I can detect the logging messages on pin P0.01, even though sdt_config.h defines 
 #ifndef UART_CONFIG_LOG_ENABLED #define UART_CONFIG_LOG_ENABLED 0 #endif</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Apr 2018 14:19:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32658/logging-over-uart" /><item><title>RE: Logging over UART</title><link>https://devzone.nordicsemi.com/thread/126886?ContentTypeID=1</link><pubDate>Wed, 04 Apr 2018 14:19:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0d66d8b-145a-4aef-bdd5-fa3bcd5dd562</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Try to set &lt;strong&gt;NRF_LOG_BACKEND_UART_ENABLED&lt;/strong&gt; to 0, in order to turn off logging over UART.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging over UART</title><link>https://devzone.nordicsemi.com/thread/126882?ContentTypeID=1</link><pubDate>Wed, 04 Apr 2018 14:07:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d54f88b1-6811-4ca0-b064-f653ebd9a118</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Check out &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52%2Fdita%2Fnrf52%2Fdevelopment%2Fnrf52840_pdk%2Fvir_com_port.html&amp;amp;anchor=vir_com_port" target="_blank" rel="noopener noreferrer"&gt;this&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Also could you try to &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/" target="_blank" rel="noopener noreferrer"&gt;debug &lt;/a&gt;and also check that the signals are correct according to what you have programmed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging over UART</title><link>https://devzone.nordicsemi.com/thread/125932?ContentTypeID=1</link><pubDate>Mon, 26 Mar 2018 11:02:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8815a7bd-6e89-465c-adb9-e5bc681093dc</guid><dc:creator>felixgattiker@xrite.com</dc:creator><description>&lt;p&gt;Sorry, the P0.01 was I typing error. I meant pin P0.06, where I could correctly decode the logging messages with an oscilloscope. As I have written in my initial post, I expected logging messages to only appear on the above mentioned pin if&amp;nbsp;&lt;span&gt;UART_CONFIG_LOG_ENABLED&amp;nbsp;is set to 1.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging over UART</title><link>https://devzone.nordicsemi.com/thread/125689?ContentTypeID=1</link><pubDate>Fri, 23 Mar 2018 09:53:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0624608-d01a-4b18-86a9-399dfe761842</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hello Felix,&lt;/p&gt;
&lt;p&gt;It is not strange that you can see activity on pin&amp;nbsp;&lt;strong&gt;P0.01&lt;/strong&gt; since that pin is for the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52%2Fdita%2Fnrf52%2Fdevelopment%2Fnrf52840_pdk%2Fhw_32khz_crystal.html&amp;amp;cp=2_0_3_7_7" target="_blank" rel="noopener noreferrer"&gt;32.768kHz crystal.&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52%2Fdita%2Fnrf52%2Fdevelopment%2Fnrf52840_pdk%2Fconnector_if.html&amp;amp;cp=2_0_3_7_5" target="_blank" rel="noopener noreferrer"&gt;Connector interface&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Please take a look in the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v14.2.0%2Fnrf_log.html&amp;amp;cp=4_0_0_3_25" target="_blank" rel="noopener noreferrer"&gt;Logger module&lt;/a&gt; documentation on how to correctly initialize logging.&lt;/p&gt;
&lt;p&gt;Similar &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/21189/how-to-enable-uart-or-rtt-logging-in-examples" target="_blank" rel="noopener noreferrer"&gt;thread&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>