<?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>How to configue an external UART from nRF9160 dk ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68810/how-to-configue-an-external-uart-from-nrf9160-dk</link><description>Hi, 
 I use the app &amp;quot;asset-tracker&amp;quot;, and i would like to configure an external uart to connect a sensor to the board. 
 I modifed the code but i can&amp;#39;t detect any new COM from the device manager. 
 
 Here, what i made like modification : 
 in the nrf9160dk_nrf9160ns</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Dec 2020 13:34:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68810/how-to-configue-an-external-uart-from-nrf9160-dk" /><item><title>RE: How to configue an external UART from nRF9160 dk ?</title><link>https://devzone.nordicsemi.com/thread/283102?ContentTypeID=1</link><pubDate>Thu, 03 Dec 2020 13:34:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a2303b1-9d76-41d3-8d12-202d8edb9739</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Well, what pins have you configured the UART to use now, and how is the device connected to this external port?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configue an external UART from nRF9160 dk ?</title><link>https://devzone.nordicsemi.com/thread/283000?ContentTypeID=1</link><pubDate>Thu, 03 Dec 2020 08:59:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c81e18bf-5beb-4745-a180-286782d2eb68</guid><dc:creator>Zita25</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;so i added this in my kcong file :&lt;/p&gt;
&lt;p&gt;&amp;quot;config UART_1_NRF_UARTE&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bool&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; default n&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; select NRF_UARTE_PERIPHERAL&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; depends on UART_NRFX &amp;amp;&amp;amp; SERIAL&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; help&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Enable nRF UART with EasyDMA on port 1.&amp;quot;&lt;/p&gt;
&lt;p&gt;Did I understand right ?&lt;/p&gt;
&lt;p&gt;Now i have no problem to open and reload my project.&lt;/p&gt;
&lt;p&gt;UART1 isn&amp;#39;t see like a port COM now, wich it is a good news but i see nothing in my external port by a terminal Putty. So did i miss something else ?&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;Zita&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configue an external UART from nRF9160 dk ?</title><link>https://devzone.nordicsemi.com/thread/282410?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2020 10:37:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cb6b228-4916-46e5-b1d9-7ae10b8e82af</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Please see this part of your output log: UART_1_NRF_UARTE (defined at drivers(serial/Kconfig.mrfx:94) is assigned in a configuration file, but not user-configurable as it has no prompt. It gets its value indirectly from other symbols. See &amp;quot;&lt;a href="http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_UART_1_NRF_UARTE.html"&gt;&amp;quot;&amp;gt;docs.zephyrproject.org/.../CONFIG_UART_1_NRF_UARTE.html&amp;quot;&amp;#160;&lt;/a&gt; or look up UART_1_NRF_UARTE in the menuconfig/guiconfig interface for more information.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configue an external UART from nRF9160 dk ?</title><link>https://devzone.nordicsemi.com/thread/282300?ContentTypeID=1</link><pubDate>Fri, 27 Nov 2020 14:51:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8d5f265-a728-4baa-9c20-8f5782f5112c</guid><dc:creator>Zita25</dc:creator><description>&lt;p&gt;Yes, here are the erreur log&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/2388.erreur.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;there is 26 characters&lt;/p&gt;
&lt;p&gt;But what il don&amp;#39;t understand is when i don&amp;#39;t have the line &lt;strong&gt;CONFIG_UART_1_NRF_UARTE=y &lt;/strong&gt;in my prj.conf everything is ok except i don&amp;#39;t have an external uart. it is when i has this line than the problems come&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;i put here my prj.conf file part for uart&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6521.z.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;Zita&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configue an external UART from nRF9160 dk ?</title><link>https://devzone.nordicsemi.com/thread/282271?ContentTypeID=1</link><pubDate>Fri, 27 Nov 2020 13:47:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:031cf36c-f391-4966-b636-0edc5781d8df</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;It seems like you&amp;#39;re not using the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_assistant.html"&gt;Toolchain Manager in nRFConnect&lt;/a&gt; for Desktop which is the recommended way to set up NCS in Windows. It also seems like you&amp;#39;re using one of the release&amp;nbsp;&lt;strong&gt;candidates&lt;/strong&gt; for NCS 1.4, and not the actual release. Is there any log in the &amp;quot;Output&amp;quot; panel after you run into this error? And how many characters are there in the build folder path, it might be a path-length problem as well.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configue an external UART from nRF9160 dk ?</title><link>https://devzone.nordicsemi.com/thread/282258?ContentTypeID=1</link><pubDate>Fri, 27 Nov 2020 12:51:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee7a8452-9359-4445-8822-6bc7275f9097</guid><dc:creator>Zita25</dc:creator><description>&lt;p&gt;Ok Thanks&lt;/p&gt;
&lt;p&gt;Yes, it&amp;#39;s that and when modifiy my file prj.conf for enable the uart.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8713.a.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Zita&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configue an external UART from nRF9160 dk ?</title><link>https://devzone.nordicsemi.com/thread/282248?ContentTypeID=1</link><pubDate>Fri, 27 Nov 2020 11:50:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81f7dd22-0c74-4817-b0d0-b6b1a8c4d209</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Yes, there are in total three COM ports from the nRF9160 DK, but only two of these (VCOM0 and VCOM2) are connected to the nRF9160 chip, sorry about the confusion. For details on routing VCOM0 and VCOM2, please see the nRF9160 DK board control on page 19 of the &lt;a href="https://infocenter.nordicsemi.com/pdf/nRF91_DK_User_Guide_v0.7.1.pdf"&gt;nRF9160 DK user guide&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;As for the create_nordic_project.py failed error you are seeing, this is occurring when trying to set up a project in SES, correct? Can you show me a screenshot of the nRF Connect Options window before you press OK and this error occurs?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configue an external UART from nRF9160 dk ?</title><link>https://devzone.nordicsemi.com/thread/282236?ContentTypeID=1</link><pubDate>Fri, 27 Nov 2020 10:26:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a114e6ae-8860-406b-a1ea-e6e0e63432c7</guid><dc:creator>Zita25</dc:creator><description>&lt;p&gt;It crash when I reload the app, i have this message erreur : &amp;quot; create_nordic_project.py failed &amp;quot;. I&amp;#39;m confuse because i always had three ports.&lt;/p&gt;
&lt;div class="QmZWSe"&gt;
&lt;div class="DHcWmd"&gt;Best regards,&lt;/div&gt;
&lt;div class="DHcWmd"&gt;Zita&lt;/div&gt;
&lt;/div&gt;
&lt;div class="oSioSc"&gt;
&lt;div id="tw-target"&gt;
&lt;div class="g9WsWb" id="kAz1tf"&gt;
&lt;div class="tw-ta-container hide-focus-ring tw-nfl" id="tw-target-rmn-container"&gt;
&lt;pre class="tw-data-placeholder tw-text-small tw-ta" style="text-align:left;" id="tw-target-rmn" dir="ltr"&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configue an external UART from nRF9160 dk ?</title><link>https://devzone.nordicsemi.com/thread/282233?ContentTypeID=1</link><pubDate>Fri, 27 Nov 2020 10:19:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:149c5dd9-1a0c-4284-95c3-a9c14c3b735e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;How exactly does the application crash? Are you able to see any error codes what so ever while debugging? A note to the COM port. The nRF91DK should always show two COM ports in the device manager, and you shouldn&amp;#39;t see a &amp;quot;new&amp;quot; COM port popping up. It will always be present, even though the firmware doesn&amp;#39;t use it.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configue an external UART from nRF9160 dk ?</title><link>https://devzone.nordicsemi.com/thread/282125?ContentTypeID=1</link><pubDate>Thu, 26 Nov 2020 14:56:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba831155-3c6d-4d4e-a987-2f7773312cee</guid><dc:creator>Zita25</dc:creator><description>&lt;p&gt;So in my project &lt;strong&gt;BSD_LIBRARy_TRACE_ENABLED&lt;/strong&gt; is not enabled and i have add &lt;strong&gt;CONFIG_UART_1_NRF_UARTE=y&lt;/strong&gt;&amp;nbsp; in mt prj.conf but it crashes when i restart the app. &lt;/p&gt;
&lt;div class="QmZWSe"&gt;
&lt;div class="DHcWmd"&gt;Thanks&lt;/div&gt;
&lt;div class="DHcWmd"&gt;Best Regards&lt;/div&gt;
&lt;div class="DHcWmd"&gt;Zita&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configue an external UART from nRF9160 dk ?</title><link>https://devzone.nordicsemi.com/thread/282086?ContentTypeID=1</link><pubDate>Thu, 26 Nov 2020 13:25:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4e3a823-edf9-4805-8cac-fabf61edee50</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Zita&lt;/p&gt;
&lt;p&gt;For most of the nRF91 applications, the default software settings for UART0 and UART1 are that they are routed to VCOM0 and VCOM2 respectively. UART0 is the &amp;quot;primary&amp;quot; UART where you get the console data as well as data from the AT host library, while UART1 can be used for modem tracing when you have enabled the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/CONFIG_BSD_LIBRARY_TRACE_ENABLED.html?highlight=bsd_library_trace#cmdoption-arg-CONFIG_BSD_LIBRARY_TRACE_ENABLED"&gt;BSD_LIBRARY_TRACE_ENABLED &lt;/a&gt;configuration.&lt;/p&gt;
&lt;p&gt;Please check whether this configuration is enabled in your application or whether UART1 is used for something else. Please also try adding &lt;strong&gt;CONFIG_UART_1_NRF_UARTE=y&lt;/strong&gt; to prj.conf as well.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>