<?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 set up a simple uart connection between nrf 52840 dongle and a microcontroller (e.g. Arduino)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56406/how-to-set-up-a-simple-uart-connection-between-nrf-52840-dongle-and-a-microcontroller-e-g-arduino</link><description>Hello, 
 I&amp;#39;m searching since days around the DevZone platform to find out how tu use UART and what code I have to use to transmitt data from the nrf 52840 dongle via UART to another microcontroller, in my case an Arduino. 
 I&amp;#39;ve already found how to define</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 May 2023 16:44:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56406/how-to-set-up-a-simple-uart-connection-between-nrf-52840-dongle-and-a-microcontroller-e-g-arduino" /><item><title>RE: how to set up a simple uart connection between nrf 52840 dongle and a microcontroller (e.g. Arduino)</title><link>https://devzone.nordicsemi.com/thread/426669?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 16:44:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81098894-a5af-478d-a34e-3c3f2af55cba</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>[quote user="MrsIoT"]Can this be achieved with the Seed studio XIAO NRF52840?[/quote]
&lt;p&gt;I do not have any experience with this board, but as long as it has exposed GPIOs, I don&amp;#39;t see any reasons you should not be able to output UART to the pins.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to set up a simple uart connection between nrf 52840 dongle and a microcontroller (e.g. Arduino)</title><link>https://devzone.nordicsemi.com/thread/426379?ContentTypeID=1</link><pubDate>Fri, 19 May 2023 20:17:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:530f121c-7081-42dc-8186-40de1a491d42</guid><dc:creator>MrsIoT</dc:creator><description>&lt;p&gt;Can this be achieved with the Seed studio XIAO NRF52840?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to set up a simple uart connection between nrf 52840 dongle and a microcontroller (e.g. Arduino)</title><link>https://devzone.nordicsemi.com/thread/229287?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2020 18:56:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a2e9e87-9868-4e87-85bf-71e57a2898d9</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Yes, that makes a big difference. The paths to the headers and source files are specific to the nRF5 SDK v16.0.0. NCS will have different paths and also use a completely different build system.&lt;/p&gt;
&lt;p&gt;Also, we do not support the nRF52 series in NCS (even though support for the chips are available in Zephyr), NCS is only supported for nRF91 and nRF53 series.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to set up a simple uart connection between nrf 52840 dongle and a microcontroller (e.g. Arduino)</title><link>https://devzone.nordicsemi.com/thread/229275?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2020 18:21:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c6d33c9-c346-4007-a08c-d0c3442107c2</guid><dc:creator>ninchen45ever</dc:creator><description>&lt;p&gt;Hi J&amp;oslash;rgen,&lt;/p&gt;
&lt;p&gt;I tried to use your code with the zephyr central code. But I always get an error: undefined reference to app_error_handler_bare(). Even though I find the function in the file app_error.c . What do I miss? Does it make a difference that I use nRF Connect SDK instead of nRF5 SDK 16?&lt;/p&gt;
&lt;p&gt;Thank you so much for your help!&lt;/p&gt;
&lt;p&gt;best regards,&lt;/p&gt;
&lt;p&gt;Nina&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to set up a simple uart connection between nrf 52840 dongle and a microcontroller (e.g. Arduino)</title><link>https://devzone.nordicsemi.com/thread/228759?ContentTypeID=1</link><pubDate>Mon, 13 Jan 2020 10:24:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d70557c3-f9d2-4fc9-a9f4-d99d5fd8f025</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The UART peripheral example is a good starting point, but since there is no UART to USB bridge on the nRF52840 Dongle, there is no example project for this board. The default UART pins are used for the LEDs on the dongle, meaning you will have to use different pins when initializing the UART peripheral.&lt;/p&gt;
&lt;p&gt;I have created a modified version of the UART peripheral example for running on the nRF52840 Dongle, which uses &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52840_dongle/UG/nrf52840_Dongle/hw_drawings.html?cp=4_0_5_5_0"&gt;P0.29 and P0.31&lt;/a&gt; for the RX and TX pins respectively. The example will send out a predefined static string every 500ms. By connecting TX and RX pins to your Arduino, you should be able to receive this string. I have tested it with a nRF52 DK. The example can be built by extracting it in the examples\peripheral directory in SDK 16.0.0.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-1178be01e58441d7967b7f0733946e39/uart_5F00_external.zip"&gt;devzone.nordicsemi.com/.../uart_5F00_external.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>