<?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>nRF52832 SDK15.2.0: Direct Logs to UART on Custom Board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43789/nrf52832-sdk15-2-0-direct-logs-to-uart-on-custom-board</link><description>Hi, 
 I have the following lines: 
 
 NRF_LOG_ERROR ( &amp;quot;This is an ERROR message.&amp;quot; ); 
 NRF_LOG_WARNING ( &amp;quot;This is a WARNING message.&amp;quot; ); 
 NRF_LOG_DEBUG ( &amp;quot;This is a DEBUG message.&amp;quot; ); 
 
 Using RTT works fine, when it comes to using UART, it doesn&amp;#39;t</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 02 Mar 2019 01:05:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43789/nrf52832-sdk15-2-0-direct-logs-to-uart-on-custom-board" /><item><title>RE: nRF52832 SDK15.2.0: Direct Logs to UART on Custom Board</title><link>https://devzone.nordicsemi.com/thread/173797?ContentTypeID=1</link><pubDate>Sat, 02 Mar 2019 01:05:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9c84a91-71f2-420f-892b-1237dcea939e</guid><dc:creator>tBStar</dc:creator><description>&lt;p&gt;My intention was not to use UART for debugging purposes while using the ble_app_uart but as a demonstration. I get your point as to if I was using a different example, I should have gotten it to work by enabling the designated macro.&lt;/p&gt;
&lt;p&gt;Thanks for clarifying.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 SDK15.2.0: Direct Logs to UART on Custom Board</title><link>https://devzone.nordicsemi.com/thread/172676?ContentTypeID=1</link><pubDate>Mon, 25 Feb 2019 06:17:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca55920e-5372-448d-aa16-90b6732d1785</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I was unaware that you were using the &lt;strong&gt;ble_app_uart&lt;/strong&gt; example, you don&amp;#39;t need &lt;strong&gt;NRF_LOG_BACKEND_UART_ENABLED&lt;/strong&gt; in the UART example.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 SDK15.2.0: Direct Logs to UART on Custom Board</title><link>https://devzone.nordicsemi.com/thread/172620?ContentTypeID=1</link><pubDate>Sat, 23 Feb 2019 17:57:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:274be191-f049-44e5-913e-d46be6403164</guid><dc:creator>tBStar</dc:creator><description>&lt;p&gt;I don&amp;#39;t see in the sdk_config that came with ble_app_uart example, It looks like all the macros for NRF_LOG_BACKEND_* are not in the sdk_config because when I add your first macro, the build fails due to missing other supporting macros such as&amp;nbsp;NRF_LOG_BACKEND_UART_BAUDRATE,&amp;nbsp;NRF_LOG_BACKEND_UART_TEMP_BUFFER_SIZE etc...&lt;/p&gt;
&lt;p&gt;The closest I could find in my sdk_config is&amp;nbsp;NRFX_UART_CONFIG_LOG_ENABLED,&amp;nbsp;NRFX_UART_ENABLED and&amp;nbsp;NRFX_UART0_ENABLED&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;I am using the latest SDK 15.2, what am I missing?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Thanks&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 SDK15.2.0: Direct Logs to UART on Custom Board</title><link>https://devzone.nordicsemi.com/thread/171552?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 08:21:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bc33743-44f7-472b-b967-38f8d0eb4d0c</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Have you enabled the backend UART in &lt;strong&gt;sdk_config.h?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;e&amp;gt; NRF_LOG_BACKEND_UART_ENABLED - nrf_log_backend_uart - Log UART backend
//==========================================================
#ifndef NRF_LOG_BACKEND_UART_ENABLED
#define NRF_LOG_BACKEND_UART_ENABLED 1
#endif&lt;/pre&gt;&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;To use the different NRF_LOG levels you have to set this in the &lt;strong&gt;sdk_config.h&lt;/strong&gt; also:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;o&amp;gt; NRFX_UART_CONFIG_LOG_LEVEL  - Default Severity level
 
// &amp;lt;0=&amp;gt; Off 
// &amp;lt;1=&amp;gt; Error 
// &amp;lt;2=&amp;gt; Warning 
// &amp;lt;3=&amp;gt; Info 
// &amp;lt;4=&amp;gt; Debug 

#ifndef NRFX_UART_CONFIG_LOG_LEVEL
#define NRFX_UART_CONFIG_LOG_LEVEL 3
#endif
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Setting this as 4 should let you see &lt;strong&gt;NRF_LOG_ERROR&lt;/strong&gt;&lt;span&gt;&lt;/span&gt;, &lt;strong&gt;NRF_LOG_WARNING&lt;/strong&gt;&lt;span&gt;&lt;/span&gt;, and &lt;span&gt;&lt;strong&gt;NRF_LOG_DEBUG&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Andreas&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>