<?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>nrf52840 Dongle - Uart communication fails</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111302/nrf52840-dongle---uart-communication-fails</link><description>Hi, 
 I am using the nrf52840 dongle board just to startup a project. I connected to the dongle a UART-USB converter to the dongle... but when I enable the UART into the firmware, nothing works (I don&amp;#39;t have the debugger, so I don&amp;#39;t know exactly what</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 May 2024 07:20:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111302/nrf52840-dongle---uart-communication-fails" /><item><title>RE: nrf52840 Dongle - Uart communication fails</title><link>https://devzone.nordicsemi.com/thread/485296?ContentTypeID=1</link><pubDate>Wed, 22 May 2024 07:20:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e5a44c5-c3be-44ac-a2c2-8ff2e71b838e</guid><dc:creator>warcomeb-am</dc:creator><description>&lt;p&gt;Hello Edvin,&lt;/p&gt;
&lt;p&gt;Yesterday I received the nrf52-dk board and I flash into the same code... and it works as I want without any change!&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f914.svg" title="Thinking"&gt;&amp;#x1f914;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t understand why, but &amp;nbsp;it doesn&amp;#39;t matter... I&amp;#39;ll continue with the dk!&lt;/p&gt;
&lt;p&gt;Best&lt;/p&gt;
&lt;p&gt;Marco&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 Dongle - Uart communication fails</title><link>https://devzone.nordicsemi.com/thread/485234?ContentTypeID=1</link><pubDate>Tue, 21 May 2024 22:17:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:888bf50f-210b-426a-abf9-ed58c72c4293</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Marco,&lt;/p&gt;
[quote user="warcomeb-am"]but I realy don&amp;#39;t understand why a simple&amp;nbsp;thing like sending some chars on uart doesn&amp;#39;t work![/quote]
&lt;p&gt;Setting up a peripheral and getting it to work without a debugger can be a struggle. There are lot&amp;#39;s of things that can happen, and without a debugger it is difficult to say what the issue is. I could ask for a copy of your application and run it on a DK, but you will probably run into many similar issues along the way, so it will be a lot quicker when you have the possibility to see the debug output yourself, instead of waiting for me to replicate all the issues that you encounter along the way.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For example all the fault handlers will use UART0, and these will not be posted properly without a debugger. This means that as long as your application is working as intended, you will be able to see &amp;quot;logs&amp;quot; that you print from your application, but once something crashes, the application will not be able to handle printing that without a debugger.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 Dongle - Uart communication fails</title><link>https://devzone.nordicsemi.com/thread/485081?ContentTypeID=1</link><pubDate>Tue, 21 May 2024 11:38:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5c689ae-2d15-471b-a151-e7df7e9d4a88</guid><dc:creator>warcomeb-am</dc:creator><description>&lt;p&gt;Hello &lt;a href="https://devzone.nordicsemi.com/members/edvin-holmseth"&gt;Edvin&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks for your reply. If I remove CONFIG_SERIAL the&amp;nbsp;CONFIG_UART_ASYNC_API told me that serial support is missing. Now, on my application there is only a led that blink... it is very simple and when I&amp;nbsp;enable the uart the LED stops blinking.&lt;/p&gt;
&lt;p&gt;I also try to use uart0, but the result is the same.&lt;/p&gt;
&lt;p&gt;Yesterday I bought a DK board for the next tests, but I realy don&amp;#39;t understand why a simple&amp;nbsp;thing like sending some chars on uart doesn&amp;#39;t work!&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;Marco&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 Dongle - Uart communication fails</title><link>https://devzone.nordicsemi.com/thread/485019?ContentTypeID=1</link><pubDate>Tue, 21 May 2024 09:12:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77cef198-35e8-44e5-a1f0-e47f82a41de6</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Marco,&lt;/p&gt;
&lt;p&gt;I am not sure what the issue is, but it could be that you are trying to use the&amp;nbsp;CONFIG_SERIAL, which uses the UART0 backend, which is probably not connected to anything in your case. So you could try to either set CONFIG_SERIAL=n, (this is the UART terminal used by zephyr to print logs etc), or you can try to use UART0 instead of UART1 in your application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Either way, you will probably run into other issues while developing, and doing so without a debugger can be extremely time consuming. I suggest that you get hold of a proper development kit sooner rather than later. When you are done with your application, you can port it over to the dongle.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>