<?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 (Nordic UART Service) example not working as expected</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37082/ble_app_uart-nordic-uart-service-example-not-working-as-expected</link><description>Hello, 
 I&amp;#39;m working on Keil with SDK 15.0 and Softdevice S132 6.0. I&amp;#39;m trying to run the Nordic UART Service example. I have two nRF52832 boards (the BMD-300 Evaluation Kit and the SparkFun nRF52832 Breakout ). 
 When I run the peripheral example ble_app_uart</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Aug 2018 07:55:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37082/ble_app_uart-nordic-uart-service-example-not-working-as-expected" /><item><title>RE: BLE_APP_UART (Nordic UART Service) example not working as expected</title><link>https://devzone.nordicsemi.com/thread/142947?ContentTypeID=1</link><pubDate>Mon, 06 Aug 2018 07:55:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5144a8f-86ba-4912-bcca-e5ad8de621bd</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Yes, you can enable pull with&amp;nbsp;&lt;code&gt;nrf_gpio_cfg_input()&lt;/code&gt;. It does not go in sdk_config.h, but in your implementation (some .c file), for example right after you have initialize the UART driver using &lt;code&gt;nrf_drv_uart_init()&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_APP_UART (Nordic UART Service) example not working as expected</title><link>https://devzone.nordicsemi.com/thread/142879?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 17:55:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27bb8558-5590-43ac-aed4-31497a610b56</guid><dc:creator>Watermelon</dc:creator><description>&lt;p&gt;Yes the UART Rx pin is floating!&lt;/p&gt;
&lt;p&gt;Would I enable the internal pullup like this?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrf_gpio_cfg_input(8, NRF_GPIO_PIN_PULLUP);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Where should I put this line of code? In sdk_config.h?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_APP_UART (Nordic UART Service) example not working as expected</title><link>https://devzone.nordicsemi.com/thread/142739?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 07:40:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a78a484e-c3da-4bf7-b896-cf60b05330aa</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I see.&amp;nbsp;Can you hook up a debugger and see if any&amp;nbsp;APP_ERROR_CHECK has been hit? It could for instance be that you are getting a&amp;nbsp;NRF_DRV_UART_EVT_ERROR or similar if you have a floating UART RX pin. If that is the case, then a pull-up might be a good idea (either by enabling the internal pull-up resistor on that GPIO pin or by using a external pull-up resistor).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_APP_UART (Nordic UART Service) example not working as expected</title><link>https://devzone.nordicsemi.com/thread/142678?ContentTypeID=1</link><pubDate>Thu, 02 Aug 2018 15:45:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4bbd300-a237-448e-8789-e9aaaaead4c1</guid><dc:creator>Watermelon</dc:creator><description>&lt;p&gt;The LF xtal is connected. I tried changing&amp;nbsp;&lt;span&gt;NRF_SDH_CLOCK_LF_SRC&lt;/span&gt;&amp;nbsp;1 and&amp;nbsp;NRF_SDH_CLOCK_LF_ACCURACY 1 in the sdk_config.h file anyway but it didn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;I am taking into account the that the LEDs and buttons are connected to different GPIO pins on the SparkFun board. The ble_app_hrs and ble_app_hrs_c codes work fine, but not the ble_app_uart and ble_app_uart_c.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_APP_UART (Nordic UART Service) example not working as expected</title><link>https://devzone.nordicsemi.com/thread/142553?ContentTypeID=1</link><pubDate>Thu, 02 Aug 2018 09:05:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a03ff19-1c5e-4a70-b8c3-6cc6e4294236</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The precompiled .hex files in the SDK may not work on the&amp;nbsp;SparkFun nRF52832 Breakout, for a few reasons:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Referring to the &lt;a href="https://cdn.sparkfun.com/assets/learn_tutorials/5/4/9/sparkfun-nrf52832-breakout-schematic-v10.pdf"&gt;schematics of the board&lt;/a&gt;, you need to make sure that you have the JP4 and JP5 enabled so that the LF xtal is connected. If not, the precompiled firmware from the SDK will hang when initializing the SoftDevice, waiting for the crystal to start. (Alternatively, you can modify the projects sdk_config.h so that you set&amp;nbsp;&lt;code&gt;NRF_SDH_CLOCK_LF_SRC&lt;/code&gt; to&amp;nbsp;&lt;code&gt;NRF_CLOCK_LF_SRC_RC&lt;/code&gt;.)&lt;/li&gt;
&lt;li&gt;Additionally, the LEDs and buttons etc. are connected to different GPIO pins on the&amp;nbsp;SparkFun&amp;nbsp;board than on the nRF52 DK. You need to adjust this so that it reflects the HW you are using. You can for example make a board file for your board, as instructed &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/sdk_for_custom_boards.html?cp=4_0_0_1_6_2#custom_board_support"&gt;here&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>