<?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>Problem with UART Communication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73097/problem-with-uart-communication</link><description>Hi, I am trying to test the uart exemple on nrf52840 using external debugging as shown in figure but it doesn&amp;#39;t function !!!! 
 are there any modifications that need to be added compared to the internal debugging mode or is it the same thing?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Apr 2021 11:46:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73097/problem-with-uart-communication" /><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/304792?ContentTypeID=1</link><pubDate>Wed, 14 Apr 2021 11:46:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c46dcb97-e26f-42e2-8144-9856090af943</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It seems like the project is looking for the log folder in the wrong place. Right now it&amp;#39;s looking for a&amp;nbsp;component folder that lies in the Desktop folder? Is this correct according to your setup? Normally it would have looked after a component folder inside the SDK.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/304731?ContentTypeID=1</link><pubDate>Wed, 14 Apr 2021 08:12:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:272b3198-cb77-46b2-9a25-b5a6d48898dd</guid><dc:creator>nikola </dc:creator><description>&lt;p&gt;I am trying with this example and it dosen&amp;#39;t function :&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1618387938824v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/304332?ContentTypeID=1</link><pubDate>Mon, 12 Apr 2021 14:32:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59f7ffe4-9b22-40c9-87bc-c54be941234b</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried downloading and opening the project and didn&amp;#39;t see any issues.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try copying the contents of the files into the UART example. You also need to include the files to the build as previously mentioned. Does it build successfully now?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/303942?ContentTypeID=1</link><pubDate>Fri, 09 Apr 2021 09:36:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbfdcd34-efd8-4d10-993c-4a393959070f</guid><dc:creator>nikola </dc:creator><description>&lt;p&gt;yes I am using this version of SDK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/303917?ContentTypeID=1</link><pubDate>Fri, 09 Apr 2021 08:26:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04e01fd3-434b-48a0-89bf-07726b8f98c7</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you using SDK v17.02? The example has been made with that SDK version&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/303804?ContentTypeID=1</link><pubDate>Thu, 08 Apr 2021 13:43:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21fc6fa4-b47a-4eec-888b-8c5efe3019dd</guid><dc:creator>nikola </dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1617889426241v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/303776?ContentTypeID=1</link><pubDate>Thu, 08 Apr 2021 12:47:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:125b9cf3-6be8-4c47-be02-9a64a4cbd7ad</guid><dc:creator>nikola </dc:creator><description>&lt;p&gt;yes I just open this file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/303775?ContentTypeID=1</link><pubDate>Thu, 08 Apr 2021 12:45:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20438ca0-814d-4d5c-b176-eb54d1d4d47e</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;&lt;span&gt;Strange, I tried downloading the file and was able to open it just fine. Are you sure that you&amp;#39;re opening&amp;nbsp;the correct file?&amp;nbsp;You should open the SEGGER Embedded Studio Project File:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8787.pastedimage1617885941752v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/303730?ContentTypeID=1</link><pubDate>Thu, 08 Apr 2021 11:09:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe200c8a-3c8f-41bd-bb44-3064edc27373</guid><dc:creator>nikola </dc:creator><description>&lt;p&gt;I cannot open this file with segger&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1617880144675v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/303471?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 11:50:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5c6659f-78d9-40a5-bfce-cec9962a1592</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I forgot to add that you need to include the SEGGER RTT files that is located in SDK_ROOT/external/segger_rtt/&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve attached an UART example that prints out the data that is received over RTT by using the logger module. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/uart_5F00_RTT_5F00_Log.7z"&gt;devzone.nordicsemi.com/.../uart_5F00_RTT_5F00_Log.7z&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/302183?ContentTypeID=1</link><pubDate>Fri, 26 Mar 2021 14:55:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39e81bd5-7b74-4fa6-8d05-f6fd42a7713b</guid><dc:creator>nikola </dc:creator><description>&lt;p&gt;I have already performed all these steps but&amp;nbsp; it dosen&amp;#39;t work&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/302178?ContentTypeID=1</link><pubDate>Fri, 26 Mar 2021 14:51:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bc90af6-18aa-45a0-9c6c-51670bd2a50a</guid><dc:creator>Jared</dc:creator><description>[quote user="nikola "]&lt;p&gt;I want to use RTT as a backend for logger and the UART for the application it is not in the same time .&lt;/p&gt;
&lt;p&gt;It is possible to use the UART for the application only?&lt;/p&gt;[/quote]
&lt;p&gt;&amp;nbsp;You need to include the logger module in the application:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="ui-code" data-mode="c_cpp"&gt;#include &amp;quot;nrf_log.h&amp;quot;
#include &amp;quot;nrf_log_ctrl.h&amp;quot;
#include &amp;quot;nrf_log_default_backends.h&amp;quot;&lt;/pre&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Initialize the module:&lt;/div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    ret_code_t err_code = NRF_LOG_INIT(NULL);
    APP_ERROR_CHECK(err_code);

    NRF_LOG_DEFAULT_BACKENDS_INIT();&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Enable it in the config file with RTT as backend:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;h&amp;gt; nRF_Log 

//==========================================================
// &amp;lt;e&amp;gt; NRF_LOG_BACKEND_RTT_ENABLED - nrf_log_backend_rtt - Log RTT backend
//==========================================================
#ifndef NRF_LOG_BACKEND_RTT_ENABLED
#define NRF_LOG_BACKEND_RTT_ENABLED 1
#endif
// &amp;lt;o&amp;gt; NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE - Size of buffer for partially processed strings. 
// &amp;lt;i&amp;gt; Size of the buffer is a trade-off between RAM usage and processing.
// &amp;lt;i&amp;gt; if buffer is smaller then strings will often be fragmented.
// &amp;lt;i&amp;gt; It is recommended to use size which will fit typical log and only the
// &amp;lt;i&amp;gt; longer one will be fragmented.

#ifndef NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE
#define NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE 64
#endif

// &amp;lt;o&amp;gt; NRF_LOG_BACKEND_RTT_TX_RETRY_DELAY_MS - Period before retrying writing to RTT 
#ifndef NRF_LOG_BACKEND_RTT_TX_RETRY_DELAY_MS
#define NRF_LOG_BACKEND_RTT_TX_RETRY_DELAY_MS 1
#endif

// &amp;lt;o&amp;gt; NRF_LOG_BACKEND_RTT_TX_RETRY_CNT - Writing to RTT retries. 
// &amp;lt;i&amp;gt; If RTT fails to accept any new data after retries
// &amp;lt;i&amp;gt; module assumes that host is not active and on next
// &amp;lt;i&amp;gt; request it will perform only one write attempt.
// &amp;lt;i&amp;gt; On successful writing, module assumes that host is active
// &amp;lt;i&amp;gt; and scheme with retry is applied again.

#ifndef NRF_LOG_BACKEND_RTT_TX_RETRY_CNT
#define NRF_LOG_BACKEND_RTT_TX_RETRY_CNT 3
#endif

// &amp;lt;/e&amp;gt;

// &amp;lt;e&amp;gt; NRF_LOG_ENABLED - nrf_log - Logger
//==========================================================
#ifndef NRF_LOG_ENABLED
#define NRF_LOG_ENABLED 1
#endif
// &amp;lt;h&amp;gt; Log message pool - Configuration of log message pool

//==========================================================
// &amp;lt;o&amp;gt; NRF_LOG_MSGPOOL_ELEMENT_SIZE - Size of a single element in the pool of memory objects. 
// &amp;lt;i&amp;gt; If a small value is set, then performance of logs processing
// &amp;lt;i&amp;gt; is degraded because data is fragmented. Bigger value impacts
// &amp;lt;i&amp;gt; RAM memory utilization. The size is set to fit a message with
// &amp;lt;i&amp;gt; a timestamp and up to 2 arguments in a single memory object.

#ifndef NRF_LOG_MSGPOOL_ELEMENT_SIZE
#define NRF_LOG_MSGPOOL_ELEMENT_SIZE 20
#endif

// &amp;lt;o&amp;gt; NRF_LOG_MSGPOOL_ELEMENT_COUNT - Number of elements in the pool of memory objects 
// &amp;lt;i&amp;gt; If a small value is set, then it may lead to a deadlock
// &amp;lt;i&amp;gt; in certain cases if backend has high latency and holds
// &amp;lt;i&amp;gt; multiple messages for long time. Bigger value impacts
// &amp;lt;i&amp;gt; RAM memory usage.

#ifndef NRF_LOG_MSGPOOL_ELEMENT_COUNT
#define NRF_LOG_MSGPOOL_ELEMENT_COUNT 8
#endif

// &amp;lt;/h&amp;gt; 
//==========================================================

// &amp;lt;q&amp;gt; NRF_LOG_ALLOW_OVERFLOW  - Configures behavior when circular buffer is full.
 

// &amp;lt;i&amp;gt; If set then oldest logs are overwritten. Otherwise a 
// &amp;lt;i&amp;gt; marker is injected informing about overflow.

#ifndef NRF_LOG_ALLOW_OVERFLOW
#define NRF_LOG_ALLOW_OVERFLOW 1
#endif

// &amp;lt;o&amp;gt; NRF_LOG_BUFSIZE  - Size of the buffer for storing logs (in bytes).
 

// &amp;lt;i&amp;gt; Must be power of 2 and multiple of 4.
// &amp;lt;i&amp;gt; If NRF_LOG_DEFERRED = 0 then buffer size can be reduced to minimum.
// &amp;lt;128=&amp;gt; 128 
// &amp;lt;256=&amp;gt; 256 
// &amp;lt;512=&amp;gt; 512 
// &amp;lt;1024=&amp;gt; 1024 
// &amp;lt;2048=&amp;gt; 2048 
// &amp;lt;4096=&amp;gt; 4096 
// &amp;lt;8192=&amp;gt; 8192 
// &amp;lt;16384=&amp;gt; 16384 

#ifndef NRF_LOG_BUFSIZE
#define NRF_LOG_BUFSIZE 1024
#endif

// &amp;lt;q&amp;gt; NRF_LOG_CLI_CMDS  - Enable CLI commands for the module.
 

#ifndef NRF_LOG_CLI_CMDS
#define NRF_LOG_CLI_CMDS 0
#endif

// &amp;lt;o&amp;gt; NRF_LOG_DEFAULT_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 NRF_LOG_DEFAULT_LEVEL
#define NRF_LOG_DEFAULT_LEVEL 3
#endif

// &amp;lt;q&amp;gt; NRF_LOG_DEFERRED  - Enable deffered logger.
 

// &amp;lt;i&amp;gt; Log data is buffered and can be processed in idle.

#ifndef NRF_LOG_DEFERRED
#define NRF_LOG_DEFERRED 1
#endif

// &amp;lt;q&amp;gt; NRF_LOG_FILTERS_ENABLED  - Enable dynamic filtering of logs.
 

#ifndef NRF_LOG_FILTERS_ENABLED
#define NRF_LOG_FILTERS_ENABLED 0
#endif

// &amp;lt;q&amp;gt; NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED  - Enable use of critical region for non deffered mode when flushing logs.
 

// &amp;lt;i&amp;gt; When enabled NRF_LOG_FLUSH is called from critical section when non deffered mode is used.
// &amp;lt;i&amp;gt; Log output will never be corrupted as access to the log backend is exclusive
// &amp;lt;i&amp;gt; but system will spend significant amount of time in critical section

#ifndef NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED
#define NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED 0
#endif

// &amp;lt;o&amp;gt; NRF_LOG_STR_PUSH_BUFFER_SIZE  - Size of the buffer dedicated for strings stored using @ref NRF_LOG_PUSH.
 
// &amp;lt;16=&amp;gt; 16 
// &amp;lt;32=&amp;gt; 32 
// &amp;lt;64=&amp;gt; 64 
// &amp;lt;128=&amp;gt; 128 
// &amp;lt;256=&amp;gt; 256 
// &amp;lt;512=&amp;gt; 512 
// &amp;lt;1024=&amp;gt; 1024 

#ifndef NRF_LOG_STR_PUSH_BUFFER_SIZE
#define NRF_LOG_STR_PUSH_BUFFER_SIZE 128
#endif

// &amp;lt;o&amp;gt; NRF_LOG_STR_PUSH_BUFFER_SIZE  - Size of the buffer dedicated for strings stored using @ref NRF_LOG_PUSH.
 
// &amp;lt;16=&amp;gt; 16 
// &amp;lt;32=&amp;gt; 32 
// &amp;lt;64=&amp;gt; 64 
// &amp;lt;128=&amp;gt; 128 
// &amp;lt;256=&amp;gt; 256 
// &amp;lt;512=&amp;gt; 512 
// &amp;lt;1024=&amp;gt; 1024 

#ifndef NRF_LOG_STR_PUSH_BUFFER_SIZE
#define NRF_LOG_STR_PUSH_BUFFER_SIZE 128
#endif

// &amp;lt;e&amp;gt; NRF_LOG_USES_COLORS - If enabled then ANSI escape code for colors is prefixed to every string
//==========================================================
#ifndef NRF_LOG_USES_COLORS
#define NRF_LOG_USES_COLORS 0
#endif
// &amp;lt;o&amp;gt; NRF_LOG_COLOR_DEFAULT  - ANSI escape code prefix.
 
// &amp;lt;0=&amp;gt; Default 
// &amp;lt;1=&amp;gt; Black 
// &amp;lt;2=&amp;gt; Red 
// &amp;lt;3=&amp;gt; Green 
// &amp;lt;4=&amp;gt; Yellow 
// &amp;lt;5=&amp;gt; Blue 
// &amp;lt;6=&amp;gt; Magenta 
// &amp;lt;7=&amp;gt; Cyan 
// &amp;lt;8=&amp;gt; White 

#ifndef NRF_LOG_COLOR_DEFAULT
#define NRF_LOG_COLOR_DEFAULT 0
#endif

// &amp;lt;o&amp;gt; NRF_LOG_ERROR_COLOR  - ANSI escape code prefix.
 
// &amp;lt;0=&amp;gt; Default 
// &amp;lt;1=&amp;gt; Black 
// &amp;lt;2=&amp;gt; Red 
// &amp;lt;3=&amp;gt; Green 
// &amp;lt;4=&amp;gt; Yellow 
// &amp;lt;5=&amp;gt; Blue 
// &amp;lt;6=&amp;gt; Magenta 
// &amp;lt;7=&amp;gt; Cyan 
// &amp;lt;8=&amp;gt; White 

#ifndef NRF_LOG_ERROR_COLOR
#define NRF_LOG_ERROR_COLOR 2
#endif

// &amp;lt;o&amp;gt; NRF_LOG_WARNING_COLOR  - ANSI escape code prefix.
 
// &amp;lt;0=&amp;gt; Default 
// &amp;lt;1=&amp;gt; Black 
// &amp;lt;2=&amp;gt; Red 
// &amp;lt;3=&amp;gt; Green 
// &amp;lt;4=&amp;gt; Yellow 
// &amp;lt;5=&amp;gt; Blue 
// &amp;lt;6=&amp;gt; Magenta 
// &amp;lt;7=&amp;gt; Cyan 
// &amp;lt;8=&amp;gt; White 

#ifndef NRF_LOG_WARNING_COLOR
#define NRF_LOG_WARNING_COLOR 4
#endif

// &amp;lt;/e&amp;gt;

// &amp;lt;e&amp;gt; NRF_LOG_USES_TIMESTAMP - Enable timestamping

// &amp;lt;i&amp;gt; Function for getting the timestamp is provided by the user
//==========================================================
#ifndef NRF_LOG_USES_TIMESTAMP
#define NRF_LOG_USES_TIMESTAMP 0
#endif
// &amp;lt;o&amp;gt; NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY - Default frequency of the timestamp (in Hz) or 0 to use app_timer frequency. 
#ifndef NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY
#define NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY 0
#endif

// &amp;lt;/e&amp;gt;

// &amp;lt;h&amp;gt; nrf_log module configuration 
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=t-kh1EbesvI"&gt;Also, remember to include the path to the source files.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/302144?ContentTypeID=1</link><pubDate>Fri, 26 Mar 2021 13:30:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11227c2b-68bc-45ce-b276-cbeb6449069d</guid><dc:creator>nikola </dc:creator><description>&lt;p&gt;I want to use RTT as a backend for logger and the UART for the application it is not in the same time .&lt;/p&gt;
&lt;p&gt;It is possible to use the UART for the application only?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/302060?ContentTypeID=1</link><pubDate>Fri, 26 Mar 2021 08:17:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ecb11cf-155d-4b21-9ca2-da89a6a12d4e</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;So I&amp;#39;m not sure how I was able to miss this but using UART as a backend for the logger and at the same time using it in the application is not possible. You would therefore have to use RTT as the backend. I&amp;#39;m very sorry that I didn&amp;#39;t realize this before.&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/301855?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2021 10:37:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f40e6218-5b81-4d79-b90d-958ef007e78c</guid><dc:creator>nikola </dc:creator><description>&lt;p&gt;I disable the RTT backend but it doesn&amp;#39;t work in putty&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/301852?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2021 10:33:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:104140a5-cce3-4a4c-8223-afc6e54d5c95</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you try to disable the RTT backend and see if the log output is displayed on PuTTY. Set&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;NRF_LOG_BACKEND_RTT_ENABLED&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;in the config file.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;regards&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Jared&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/301830?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2021 09:31:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7b0c7c4-748e-43b9-9259-dc573143568c</guid><dc:creator>nikola </dc:creator><description>&lt;hr /&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5277.sdk_5F00_config.h"&gt;devzone.nordicsemi.com/.../5277.sdk_5F00_config.h&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/301816?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2021 08:40:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3189034-577c-4a7d-9428-807ae9ec14b8</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
[quote user="nikola "]Yes I need to test the UART example with external debug that means on the red board[/quote]
&lt;p&gt;&amp;nbsp;Ok. I&amp;#39;m still a bit confused over what the image was supposed to show.&amp;nbsp;&lt;/p&gt;
[quote user="nikola "]and it works in the segger terminal using RTT but the serial communication does not take place, &lt;span&gt;that is to say&lt;/span&gt; when I try to test with putty it does not work[/quote]
&lt;p&gt;&amp;nbsp;Seems that you&amp;#39;re referring to the log outputs. How is the logger configured in your sdk_config.h file? Can you upload your config file?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/301666?ContentTypeID=1</link><pubDate>Wed, 24 Mar 2021 12:24:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8ac95be-c90d-47bd-a5b1-96083172f0f2</guid><dc:creator>nikola </dc:creator><description>[quote userid="73165" url="~/f/nordic-q-a/73097/problem-with-uart-communication/301662#301662"]&lt;p&gt;&lt;font style="vertical-align:inherit;"&gt;&lt;font style="vertical-align:inherit;"&gt;Si je vous comprends bien: vous faites clignoter le tableau rouge qui a un nRF52840 avec l&amp;#39;exemple UART du SDK. &lt;/font&gt;&lt;font style="vertical-align:inherit;"&gt;Vous flashez également le nRF52 DK avec l&amp;#39;exemple et essayez de connecter les deux. &lt;/font&gt;&lt;font style="vertical-align:inherit;"&gt;Ma compréhension est-elle correcte?&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Yes I need to test the UART example with external debug that means on the red board&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/301665?ContentTypeID=1</link><pubDate>Wed, 24 Mar 2021 12:21:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a04eb76e-79fe-4608-8bc0-5936915479ef</guid><dc:creator>nikola </dc:creator><description>&lt;pre class="tw-data-text tw-text-large XcVN5d tw-ta" id="tw-target-text" dir="ltr"&gt;&lt;span lang="en"&gt;yes I have already modified the pins as follows&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1616588447019v1.png" alt=" " /&gt;
and it works in the segger terminal using RTT but the serial communication does not take place, &lt;span&gt;that is to say&lt;/span&gt; when I try to test with putty it does not work&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/301662?ContentTypeID=1</link><pubDate>Wed, 24 Mar 2021 12:11:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92e6b08d-63b6-4863-8088-63dd85dee7dc</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If I understand you correctly.: You are flashing the red board which has a nRF52840 with the UART example from the SDK. You also flash the a nRF52 DK with the example, and try to connect the two. Is my understanding correct?&lt;/p&gt;
&lt;p&gt;The image that you shared shows that you have connected the nRF52840 based board to the P20 header on the nRF52 DK. The P20 header can not be used for UART, they are used to debug an external board.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Pin 23, 22, 20 is located on the header over P20.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/301495?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 15:02:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9787857-7319-4b0f-8db0-eb3c29d59956</guid><dc:creator>nikola </dc:creator><description>&lt;p&gt;I am flashing the example on the board&amp;nbsp;nrf52832 and I put the connection of pins as following&lt;/p&gt;
&lt;p&gt;Rx==&amp;gt; P08 (Pins of nrf52840)&lt;/p&gt;
&lt;p&gt;Tx==&amp;gt;P06&lt;/p&gt;
&lt;p&gt;CTS==&amp;gt;P07&lt;/p&gt;
&lt;p&gt;RTS==&amp;gt;P05&lt;/p&gt;
&lt;p&gt;then I put modification on the file pca10040.h to get the correspendant pin of nrf52840 but it doesn&amp;#39;t function .&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1616511751547v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART Communication</title><link>https://devzone.nordicsemi.com/thread/301483?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 14:38:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb4727e4-112b-46f7-acff-6c9e4b1e97e9</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What board are you&amp;#39;re flashing the UART example on?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]&lt;p&gt;are there any modifications that need to be added compared to the internal debugging mode or is it the same thing?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/sdk_for_custom_boards.html?cp=7_1_1_5_2#custom_board_support"&gt;&amp;nbsp;Yes, you need to change the board map file so that the pins on fits the board that you&amp;#39;re using.&amp;nbsp;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>