<?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>I want to set up a serial communication between arduino and nrf52840 ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29516/i-want-to-set-up-a-serial-communication-between-arduino-and-nrf52840</link><description>i have programmed a arduino to send data(int value) on tx ,rx pin .How shoul i set up the nrf52 (the pin no of rxd and txd on nrf are p0.6 and p0.8).Which example should i begin with? Is ther a tutorial for serial commmunication to read and store it in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Mar 2018 13:55:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29516/i-want-to-set-up-a-serial-communication-between-arduino-and-nrf52840" /><item><title>RE: I want to set up a serial communication between arduino and nrf52840 ?</title><link>https://devzone.nordicsemi.com/thread/125973?ContentTypeID=1</link><pubDate>Mon, 26 Mar 2018 13:55:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5de86b3-9c9e-4ffb-8a1f-2cff680432f3</guid><dc:creator>Saffiq</dc:creator><description>&lt;p&gt;Can you provide the coding that u used to read the data from arduino&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to set up a serial communication between arduino and nrf52840 ?</title><link>https://devzone.nordicsemi.com/thread/117309?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2018 15:36:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f10cf03-7386-4295-9455-df94acd77b57</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;app_uart can only send/receive a single byte at the time. You need to call app_uart_get() the number of bytes you receive and put the data into an array. Unfortunately, the IoT components is &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/index.html?cp=4_0_0_0"&gt;not supported&lt;/a&gt; for nRF52840 in SDK 14.2. You will have to port the CoAP server example to the nRF52840 board, and then modify it to return the value received on UART on the GET command.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to set up a serial communication between arduino and nrf52840 ?</title><link>https://devzone.nordicsemi.com/thread/117311?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2018 08:17:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d31a3e29-23f6-4058-ad9f-7c0b1615c41b</guid><dc:creator>Liverpool007</dc:creator><description>&lt;p&gt;And how do i receive the data sent all together.The current uart example in sdk receives one byte and prints one byte per time So i cannot store the data in a variable.
.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to set up a serial communication between arduino and nrf52840 ?</title><link>https://devzone.nordicsemi.com/thread/117310?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2018 08:09:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed572265-6b7a-4061-a3d1-4374789f8d9b</guid><dc:creator>Liverpool007</dc:creator><description>&lt;p&gt;Thanks, i can read the data send from arduino to the nrf52840 dk and display it on the terminal(putty)I have used P0.06 and P0.08 only.Now i want to read the same data on a coap cupper client.Can u provide a code to  read the data on cupper coap client ?(i have the set a 6lowpan test environment).I only need to read the data using the get command.&lt;/p&gt;
&lt;p&gt;Thanks
Best Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to set up a serial communication between arduino and nrf52840 ?</title><link>https://devzone.nordicsemi.com/thread/117308?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2018 13:50:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5812f6d-9e06-4b03-b8a2-2cb12cfefd95</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would recommend that you start with the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/uart_example.html?cp=4_0_0_4_6_44"&gt;UART peripheral example&lt;/a&gt; in the SDK, to learn the basics of how to use the UART peripheral. After that, you can integrate UART into the exaple of your choice, for instance to upload the value to cloud. Note that GPIO P0.06 and P0.08 is connected to the interface MCU on the nRF52840 PDK. I would recommend that you &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/development/nrf52840_pdk/nrf_only_mode.html?cp=2_0_3_5_3_1"&gt;disconnect the interface MCU&lt;/a&gt;, or use other pins when interfacing an external device, to avoid data crashes. Any of the GPIOs of the nRF52840 can be used with the UART module, but you should choose some that is not used for anything else, as noted on the back of the PDK.&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>