<?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>UART comms. with nRF51-DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23219/uart-comms-with-nrf51-dk</link><description>I have been developing a program for the nRF51-DK that reads an input value from an analogue input pin and displays this on PuTTY(terminal emulator software) using the UART. Now, I want to design a PCB with the nRF51422 chip on it. If I connect this PCB</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Jul 2017 14:50:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23219/uart-comms-with-nrf51-dk" /><item><title>RE: UART comms. with nRF51-DK</title><link>https://devzone.nordicsemi.com/thread/91335?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 14:50:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02a32305-8ea9-4d51-b108-be66eb7238db</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I&amp;#39;m not aware of any examples in the SDK that use RTT, but it should be sufficient to set the defines in &lt;em&gt;sdk_config.h&lt;/em&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define NRF_LOG_BACKEND_SERIAL_USES_UART 0
#define NRF_LOG_BACKEND_SERIAL_USES_RTT 1
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART comms. with nRF51-DK</title><link>https://devzone.nordicsemi.com/thread/91334?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 14:33:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ab54afc-876c-413e-84e2-7ba0dbde904b</guid><dc:creator>Ehsan</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;Are there any relevant examples that use RTT for such communications? Also, would it be as simple as changing the selected logging sink in the sdk_config header file? Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART comms. with nRF51-DK</title><link>https://devzone.nordicsemi.com/thread/91333?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 14:17:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1ffa840-94d0-408f-8277-a98c5b597bc7</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi Ehsan,&lt;/p&gt;
&lt;p&gt;If you want to send data on the UART interface from your custom board to your computer, you will need a UART connection from your board to the computer. The programming interface does not provide any UART connection. On the nRF5x DK, the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/development/nrf52_dev_kit/interf_mcu.html?cp=2_1_3_4"&gt;interface MCU&lt;/a&gt; emulates a &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/development/nrf52_dev_kit/PLUGINS_ROOT/com.nordic.infocenter.welcome/dita/common/liability_disclaimer.html?cp=2_1_3_6"&gt;USB to UART interface&lt;/a&gt; and relays data between nRF5x chip and USB interface.&lt;/p&gt;
&lt;p&gt;Another alternative is to use &lt;a href="https://www.segger.com/products/debug-probes/j-link/technology/real-time-transfer/general-information/"&gt;RTT&lt;/a&gt; for sending data to the computer. RTT runs over the SWD interface (same interface used to program the chip), and can be used without additional wiring. &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/nrf_log.html?cp=4_0_0_3_20"&gt;NRF_LOG module&lt;/a&gt; support RTT as the backend for logging data.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>