<?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 send data with 52840Dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40532/how-to-send-data-with-52840dongle</link><description>Hi, 
 I want to know how to send data with 52840Dongle with ble to the mobile, I tried to use the &amp;quot;ble_uart&amp;quot; program of 52840DK, I followed a tutorial, performed a full erase, then follow the steps, after successfully downloading with SES, LED1 is not</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Nov 2018 08:00:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40532/how-to-send-data-with-52840dongle" /><item><title>RE: How to send data with 52840Dongle</title><link>https://devzone.nordicsemi.com/thread/157646?ContentTypeID=1</link><pubDate>Fri, 16 Nov 2018 08:00:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90e50637-4da6-46fb-bbc5-a075283cc066</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;VDD must be &amp;gt;3V for the LEDs to work properly. The following code change will ensure that UICR.REGOUT0 gets set:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="diff"&gt;diff --git a/examples/peripheral/usbd_ble_uart/main.c b/examples/peripheral/usbd_ble_uart/main.c
index 57396f2..91018f1 100644
--- a/examples/peripheral/usbd_ble_uart/main.c
+++ b/examples/peripheral/usbd_ble_uart/main.c
@@ -613,8 +613,10 @@ static void advertising_init(void)
 /** @brief Function for initializing buttons and LEDs. */
 static void buttons_leds_init(void)
 {
-    uint32_t err_code = bsp_init(BSP_INIT_LEDS, bsp_event_handler);
+    uint32_t err_code = bsp_init(BSP_INIT_BUTTONS, bsp_event_handler);
     APP_ERROR_CHECK(err_code);
+
+    bsp_board_init(BSP_INIT_LEDS); // Sets UICR.REGOUT to 3V
 }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Also, to get the correct pinout, replace the BOARD_PCA10056 flag with BOARD_PCA10059 before you build. You can use Keil, SES or GCC.&lt;/p&gt;
&lt;p&gt;usb uart example with softdevice compiled for the dongle (SDK v.15.2.0):&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/usbd_5F00_ble_5F00_uart_5F00_w_5F00_sd.hex"&gt;devzone.nordicsemi.com/.../usbd_5F00_ble_5F00_uart_5F00_w_5F00_sd.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send data with 52840Dongle</title><link>https://devzone.nordicsemi.com/thread/157619?ContentTypeID=1</link><pubDate>Fri, 16 Nov 2018 02:45:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9928dd9-6b75-4f73-a8b7-ea18ef32b972</guid><dc:creator>JYx</dc:creator><description>&lt;p&gt;First of all, thank you for your answer.&lt;br /&gt; I still failed. I found in the specific details of the USBD BLE UART Example that I need to use the nRF UART application when I want to send data. I would like to ask where this application can be found. And I have a Jlink, so I can program Dongle, I downloaded Softdevice and downloaded the USBD BLE UART, but my LED light still didn&amp;#39;t respond. （However,Softdevice,I use the Keil5,and the program,I use the SES,it&amp;rsquo;s OK?）I found this example to be only PCA10056, not 10059, so I tried to rewrite the previous definition, i change the number of LED,0,1,2,3 become 0,0,1,1,but it still didn&amp;#39;t respond after completion. Where is my problem?&lt;br /&gt; thank you very much.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8738.2.png" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8507.3.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send data with 52840Dongle</title><link>https://devzone.nordicsemi.com/thread/157505?ContentTypeID=1</link><pubDate>Thu, 15 Nov 2018 12:49:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aada9ea8-2b31-4676-a5cc-3c9ecd430c72</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You need an application that communicates over the USB interface instead of UART if you want to use the dongle. I&amp;#39;d suggest to try the&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/usbd_ble_uart_example.html?cp=4_0_0_4_5_50_1"&gt;&amp;nbsp;&lt;span&gt;USBD BLE UART Example&lt;/span&gt;&lt;/a&gt;. The programmer app in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.tools/dita/tools/nRF_Connect/nRF_Connect_framework_intro.html?cp=5_3"&gt;nRF connect Desktop&lt;/a&gt;&amp;nbsp;can be used to upload application code to the dongle through the USB interface as long as the original pre-programmed bootloader is intact. If not you need to program it through the debug interface.&lt;/p&gt;
&lt;p&gt;Important:&amp;nbsp;the&amp;nbsp;VDD&lt;span&gt;&amp;nbsp;&lt;/span&gt;voltage defaults to 1.8 V after a full erase, please refer to this thread for more details:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38205/flashing-pca10059/"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/38205/flashing-pca10059/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>