<?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 connect 6 nrf52840 boards on a board as central and send data via serial UART?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41764/how-to-connect-6-nrf52840-boards-on-a-board-as-central-and-send-data-via-serial-uart</link><description>Good afternoon. I need to make a network 5 or 6 nrf52840 boards connected as peripherals on a single central board, also of nrf52840. Each board will read a sensor, and send the data by BLE to the central. The data received by the exchange will be passed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 23 Dec 2018 12:51:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41764/how-to-connect-6-nrf52840-boards-on-a-board-as-central-and-send-data-via-serial-uart" /><item><title>RE: How to connect 6 nrf52840 boards on a board as central and send data via serial UART?</title><link>https://devzone.nordicsemi.com/thread/162915?ContentTypeID=1</link><pubDate>Sun, 23 Dec 2018 12:51:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1dbaffc-85fc-470c-b2c4-bf472579c512</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Ricardo,&lt;/p&gt;
&lt;p&gt;You need to follow the instructions listed &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/ble_sdk_app_nus_eval?1503#project_uart_nus_eval_test"&gt;here&lt;/a&gt; to test the example. You need to flash the ble_app_uart example to your DK, not the blinky example.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect 6 nrf52840 boards on a board as central and send data via serial UART?</title><link>https://devzone.nordicsemi.com/thread/162745?ContentTypeID=1</link><pubDate>Thu, 20 Dec 2018 19:43:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ed82cd0-e16a-4f13-bbfd-29f1ad95e98f</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Your screenshot shows two &lt;strong&gt;Nordic_Blinky&lt;/strong&gt; peripherals.&lt;/p&gt;
&lt;p&gt;As the linked documentation says,&amp;nbsp;the NUS example should appear as&amp;nbsp;&lt;span&gt;&lt;strong&gt;Nordic_UART&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
[quote userid="75980" url="~/f/nordic-q-a/41764/how-to-connect-6-nrf52840-boards-on-a-board-as-central-and-send-data-via-serial-uart/162743"]I need a simple script. A file version to write to the central, which receives several simultaneous connections and sends through a UART interface, and a version for the peripherals to connect to the central.[/quote]
&lt;p&gt;&lt;span&gt;It is your job to develop that.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As already explained, the Nordic UART examples give you a &lt;em&gt;starting point&lt;/em&gt; from which to work - but they are not ready-made solutions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect 6 nrf52840 boards on a board as central and send data via serial UART?</title><link>https://devzone.nordicsemi.com/thread/162743?ContentTypeID=1</link><pubDate>Thu, 20 Dec 2018 19:13:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15b0588f-1ded-4da6-8b04-cd5a195716b4</guid><dc:creator>RicardoFranco</dc:creator><description>&lt;p&gt;I&amp;#39;m using nRF Connect v2.6.1.&lt;br /&gt;Yes, I recorded the Softdevice correctly.&lt;br /&gt;My question is:&lt;br /&gt;Is the BLE -&amp;gt; UART link visible on the automatically generated COM port, or should I use a USB / Serial adapter on a couple of devKit pins?&lt;br /&gt;I can establish the link, but I can not see the data I send.&lt;br /&gt;I need a simple script. A file version to write to the central, which receives several simultaneous connections and sends through a UART interface, and a version for the peripherals to connect to the central.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1545332921576v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect 6 nrf52840 boards on a board as central and send data via serial UART?</title><link>https://devzone.nordicsemi.com/thread/162742?ContentTypeID=1</link><pubDate>Thu, 20 Dec 2018 19:04:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f97d3fe-58df-486f-8e9d-46e116698e43</guid><dc:creator>awneil</dc:creator><description>[quote userid="6462" url="~/f/nordic-q-a/41764/how-to-connect-6-nrf52840-boards-on-a-board-as-central-and-send-data-via-serial-uart/162741"]Debugging is a key part of development[/quote]
&lt;p&gt;Also, following what happens in the debugger is a good way to understand what the code is doing.&lt;/p&gt;
&lt;p&gt;This will help you enormously when it comes to adapting the code to send your own data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect 6 nrf52840 boards on a board as central and send data via serial UART?</title><link>https://devzone.nordicsemi.com/thread/162741?ContentTypeID=1</link><pubDate>Thu, 20 Dec 2018 19:00:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed6fd39d-4103-4aab-92b2-c4b145a9ba57</guid><dc:creator>awneil</dc:creator><description>[quote userid="75980" url="~/f/nordic-q-a/41764/how-to-connect-6-nrf52840-boards-on-a-board-as-central-and-send-data-via-serial-uart/162738"]I&amp;#39;m not using a debug interface[/quote]
&lt;p&gt;Why not?&lt;/p&gt;
&lt;p&gt;Debugging is a key part of development - you are going to need it ... !&lt;/p&gt;
&lt;p&gt;Unanswered questions:&lt;/p&gt;
&lt;p&gt;[quote userid="6462" url="~/f/nordic-q-a/41764/how-to-connect-6-nrf52840-boards-on-a-board-as-central-and-send-data-via-serial-uart/162736"][/quote]&lt;/p&gt;
&lt;p&gt;Have you remembered to program the SoftDevices?&lt;/p&gt;
&lt;p&gt;Are you using the correct newline character?&lt;/p&gt;
&lt;p&gt;Have you tested the peripheral with nRF Connect?&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 connect 6 nrf52840 boards on a board as central and send data via serial UART?</title><link>https://devzone.nordicsemi.com/thread/162740?ContentTypeID=1</link><pubDate>Thu, 20 Dec 2018 18:29:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6644cd12-f145-428e-96de-c7f9cc792ec4</guid><dc:creator>RicardoFranco</dc:creator><description>&lt;p&gt;I&amp;#39;m running the examples provided in nRF5_SDK_15.2.0_9412b96. I am using emStudio to compile and write the code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect 6 nrf52840 boards on a board as central and send data via serial UART?</title><link>https://devzone.nordicsemi.com/thread/162738?ContentTypeID=1</link><pubDate>Thu, 20 Dec 2018 18:28:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f4fdd18-079d-4feb-b9c2-b35adcb94cfe</guid><dc:creator>RicardoFranco</dc:creator><description>&lt;p&gt;I recorded both boards using a J-link, and then I used the created COM port to try to perform the communication.&lt;br /&gt;I&amp;#39;m not using a debug interface, just trying to bridge the BLE to UART as suggested in the Nordic documentation.&lt;br /&gt;Do I need to set a special parameter in my terminal to send and receive this data?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect 6 nrf52840 boards on a board as central and send data via serial UART?</title><link>https://devzone.nordicsemi.com/thread/162737?ContentTypeID=1</link><pubDate>Thu, 20 Dec 2018 18:24:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbf0cb28-88da-4b4e-aa72-5db5e7bd0153</guid><dc:creator>RicardoFranco</dc:creator><description>&lt;p&gt;&lt;span&gt;I tried to communicate using a BLE as a UART, 1 to 1, but I did not succeed. The boards send the default messages on the reset, but do not send the characters written to the terminal.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect 6 nrf52840 boards on a board as central and send data via serial UART?</title><link>https://devzone.nordicsemi.com/thread/162736?ContentTypeID=1</link><pubDate>Thu, 20 Dec 2018 18:23:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a39c5910-6eb2-43e7-87ad-3cacdb03c580</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Please give details of what, exactly, you tried.&lt;/p&gt;
&lt;p&gt;Have you remembered to program the SoftDevices?&lt;/p&gt;
&lt;p&gt;The screenshots show that the code is, at least, starting - as it has sent messages to your terminals.&lt;/p&gt;
&lt;p&gt;Have you used the &lt;strong&gt;debugger&lt;/strong&gt; to see if the nRF is actually receiving anything from the terminal?&lt;/p&gt;
&lt;p&gt;The documentation (linked above) describes what should happen.&lt;/p&gt;
&lt;p&gt;Are you using the correct newline character?&lt;/p&gt;
&lt;p&gt;Have you tested the peripheral with nRF Connect?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect 6 nrf52840 boards on a board as central and send data via serial UART?</title><link>https://devzone.nordicsemi.com/thread/162735?ContentTypeID=1</link><pubDate>Thu, 20 Dec 2018 18:17:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88896d90-9a4c-4d4d-8c3f-075595750e89</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Yes - that is exactly what &lt;a href="https://devzone.nordicsemi.com/members/marjeris-romero"&gt;Marjeris Romero&lt;/a&gt; and I described.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect 6 nrf52840 boards on a board as central and send data via serial UART?</title><link>https://devzone.nordicsemi.com/thread/162734?ContentTypeID=1</link><pubDate>Thu, 20 Dec 2018 18:16:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77857276-75f1-469b-af26-d3ca518038b5</guid><dc:creator>RicardoFranco</dc:creator><description>&lt;p&gt;Hi awneil,&lt;/p&gt;
&lt;p&gt;I need an example that does this:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1545329744644v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect 6 nrf52840 boards on a board as central and send data via serial UART?</title><link>https://devzone.nordicsemi.com/thread/162733?ContentTypeID=1</link><pubDate>Thu, 20 Dec 2018 17:56:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c24123fc-d60a-4f3d-a5d6-e9d7274227d6</guid><dc:creator>RicardoFranco</dc:creator><description>&lt;p&gt;Hi msromero,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried to do this, but i can&amp;#39;t communicate using a simple terminal.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1545328598616v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect 6 nrf52840 boards on a board as central and send data via serial UART?</title><link>https://devzone.nordicsemi.com/thread/162677?ContentTypeID=1</link><pubDate>Thu, 20 Dec 2018 14:01:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e2b9fa2-0ce9-4c58-9eb8-c6a550014936</guid><dc:creator>awneil</dc:creator><description>[quote userid="73427" url="~/f/nordic-q-a/41764/how-to-connect-6-nrf52840-boards-on-a-board-as-central-and-send-data-via-serial-uart/162659"]start out taking a look at the UART/Serial port emulation over BLE[/quote]
&lt;p&gt;+1&lt;/p&gt;
&lt;p&gt;That will show you how to do &lt;em&gt;&lt;strong&gt;one&lt;/strong&gt; &lt;/em&gt;peripheral to the Central.&lt;/p&gt;
&lt;p&gt;Once you have got familiar with that, and got it&amp;nbsp; working, look at the &lt;strong&gt;Multi-link&lt;/strong&gt; example for how to get the Central to support multiple peripherals simultaneously.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect 6 nrf52840 boards on a board as central and send data via serial UART?</title><link>https://devzone.nordicsemi.com/thread/162659?ContentTypeID=1</link><pubDate>Thu, 20 Dec 2018 13:05:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77952d0d-9579-40db-a78b-33540b18feab</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Ricardo,&lt;/p&gt;
&lt;p&gt;I will recommend you to download our&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-Tools/Software/nRF5-SDK"&gt;nRF5 SDK&lt;/a&gt; and start out taking a look at the UART/Serial port emulation over BLE example for peripheral devices &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/ble_sdk_app_nus_eval"&gt;here&lt;/a&gt;, and the for central devices, &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/ble_sdk_app_nus_c"&gt;here&lt;/a&gt;. The examples are in the SDK folder under the following paths&amp;nbsp;&lt;code&gt;&amp;lt;InstallFolder&amp;gt;\examples\ble_peripheral\ble_app_uart&lt;/code&gt; for the peripheral devices and &lt;code&gt;&amp;lt;InstallFolder&amp;gt;\examples\ble_central\ble_app_uart_c&lt;/code&gt;&amp;nbsp; for the central device.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>