<?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>ble app uart communication between nrf52832 peripheral and nrf52840 Central</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51812/ble-app-uart-communication-between-nrf52832-peripheral-and-nrf52840-central</link><description>Dear community members 
 I have end nodes with nrf52832 (Soft device s132) that can communicate to a central nrf52832 DK in Connection mode based on ble app uart and multiple peripheral examples. The central DK board currently connects to a raspberry</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Sep 2019 10:58:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51812/ble-app-uart-communication-between-nrf52832-peripheral-and-nrf52840-central" /><item><title>RE: ble app uart communication between nrf52832 peripheral and nrf52840 Central</title><link>https://devzone.nordicsemi.com/thread/208441?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2019 10:58:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78721d7d-ff8a-480d-8589-21b3f05c5f4b</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Yes and yes. Thank you,&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/awneil"&gt;awneil&lt;/a&gt;. I meant to say the Dongle doesn&amp;#39;t have the on board debugger. The DK does have it. (corrected in first reply).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And as awneil also said, yes, you can use the debugger on the DK to program the Dongle. However, please note that you need to solder on a 10 pin debugging connector to the P1 output on the dongle. There are also some things you should consider if you erase the bootloader that is located on the dongle, which set the correct voltage level. I have not looked too much into the details, but there is a good blogpost about it &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial" rel="noopener noreferrer" target="_blank"&gt;here&lt;/a&gt;. Please read through it before you decide to erase what is already programmed on the dongle.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As mentioned, the dongle has a preprogrammed bootloader, so if you have an application which you want to use on the dongle, you can easily program it via the programmer app in nRF Connect for Desktop, but if something is wrong in the application, it is difficult to pinpoint without a debugger.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble app uart communication between nrf52832 peripheral and nrf52840 Central</title><link>https://devzone.nordicsemi.com/thread/208305?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2019 16:42:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eaa11283-0bce-4909-b2db-3440a895e9cb</guid><dc:creator>awneil</dc:creator><description>[quote userid="78626" url="~/f/nordic-q-a/51812/ble-app-uart-communication-between-nrf52832-peripheral-and-nrf52840-central/208303"]Please let me know if I can program the dongle using the&lt;span style="font-family:inherit;"&gt;&amp;nbsp;onboard debugger available on nrf52832-dk.&lt;/span&gt;[/quote]
&lt;p&gt;Yes.&lt;/p&gt;
[quote userid="78626" url="~/f/nordic-q-a/51812/ble-app-uart-communication-between-nrf52832-peripheral-and-nrf52840-central/208303"] I just want to know if I can run NUS service between nrf52840 dongle as Central&amp;nbsp; and nrf52832 device as peripheral.[/quote]
&lt;p&gt;Yes, of course - the whole point of standards like BLE is that they are not locked to particular hardware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble app uart communication between nrf52832 peripheral and nrf52840 Central</title><link>https://devzone.nordicsemi.com/thread/208303?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2019 16:28:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:598d60fc-25eb-4b26-95ea-03114429d852</guid><dc:creator>vigneshms</dc:creator><description>&lt;p&gt;Hi edvin&lt;/p&gt;
&lt;p&gt;Thanks for the quick response. As &lt;a href="https://devzone.nordicsemi.com/members/awneil"&gt;awneil&lt;/a&gt; had mentioned in the comment, I hope you mean that dongle doesn&amp;#39;t have debugger and external IO lines. I&amp;#39;m totally fine with it as I need it to only operate as Central node with just uart enabled. Please let me know if I can program the dongle using the&lt;span style="font-family:inherit;"&gt;&amp;nbsp;onboard debugger available on nrf52832-dk.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I have no intentions to upgrade to nrf52840. I just want to know if I can run NUS service between nrf52840 dongle as Central&amp;nbsp; and nrf52832 device as peripheral.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble app uart communication between nrf52832 peripheral and nrf52840 Central</title><link>https://devzone.nordicsemi.com/thread/208299?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2019 16:14:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:150861d0-75bb-417a-8fb0-7389a605c0af</guid><dc:creator>awneil</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/51812/ble-app-uart-communication-between-nrf52832-peripheral-and-nrf52840-central/208293"]The nRF52840 DK &lt;i&gt;(sic)&lt;/i&gt; doesn&amp;#39;t have ... a debugger on board. [/quote]
&lt;p&gt;You mean the &lt;em&gt;&lt;strong&gt;Dongle&lt;/strong&gt;&lt;/em&gt; doesn&amp;#39;t have these.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/vigneshms"&gt;vigneshms&lt;/a&gt;:&amp;nbsp;The &lt;strong&gt;DK&lt;/strong&gt; &lt;em&gt;does&lt;/em&gt; have them - which is why it&amp;#39;s the better option for developing (the clue is in the name!)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble app uart communication between nrf52832 peripheral and nrf52840 Central</title><link>https://devzone.nordicsemi.com/thread/208293?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2019 15:46:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a2126a9-a24d-48b9-828c-323ca4748106</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The nRF52840 Dongle doesn&amp;#39;t have regular IOs on the USB part, and it doesn&amp;#39;t have a debugger on board. This means that it will not be able to get UART communication out of this port.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you intend to buy a lot of these, you can consider to invest in one nRF52840 DK to create an application that uses the USB port instead of UART to transmit the NUS messages. There is an example that does this located in SDK\examples\peripheral\usbd_ble_uart&lt;/p&gt;
&lt;p&gt;It uses does basically the same as ble_app_uart, but uses the USB peripheral instead of UART. (the nRF52832 doesn&amp;#39;t have a USB peripheral).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Once your application for the nRF52840 is up and running, you can port it to the nRF52840 dongle.&lt;/p&gt;
&lt;p&gt;The reason I recommend you to go with the nRF52840 DK first is that the dongle doesn&amp;#39;t have an on board programmer, so it is a bit difficult to develop applications on the dongle itself, and since only the nRF52840 has the USB peripheral, I recommend you to use the nRF52840 DK to write your application.&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>