<?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>nRF51822 doesn&amp;#39;t start if UART RX pin is connected</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18531/nrf51822-doesn-t-start-if-uart-rx-pin-is-connected</link><description>Iam using softdivice 110 and sdk 10.0.0, when i connect UART RX pin to TX of STN1110 the processor doesn&amp;#39;t start until I remove connection between RX of nRF51822 and TX of STN1110(TX of nRF51822 and RX of STN1110 are connected), once i remove the connection</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Jan 2017 10:06:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18531/nrf51822-doesn-t-start-if-uart-rx-pin-is-connected" /><item><title>RE: nRF51822 doesn't start if UART RX pin is connected</title><link>https://devzone.nordicsemi.com/thread/71534?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 10:06:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38dd4928-9e29-4774-95b4-cc17a2bd071e</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;It is normally not compulsory with a pull-up on the UART RX pin, but looking at the datasheet of the STN1110 it is in this case:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;UART_TX
UART transmit output. Open drain – requires a pull-up
to VDD or +5V (4 mA max). Pull-up value depends on
UART baud rate and the trace length (higher resistor
values can be used with lower baud rates and shorter
traces); typical value is 4.7 kΩ.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This is probably to support multiple voltage levels.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 doesn't start if UART RX pin is connected</title><link>https://devzone.nordicsemi.com/thread/71533?ContentTypeID=1</link><pubDate>Tue, 27 Dec 2016 05:10:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:945882f6-c884-4ad1-8d6c-d2b84f7c1bf5</guid><dc:creator>sunil kumar</dc:creator><description>&lt;p&gt;It is working with no code change, but i added a 10K pullup resistor at RX of nRF51822, is it compulsory to connect a pullup resistor at RX of uart?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 doesn't start if UART RX pin is connected</title><link>https://devzone.nordicsemi.com/thread/71532?ContentTypeID=1</link><pubDate>Fri, 23 Dec 2016 11:09:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45b042c7-1565-41ad-a227-45cdb229c4ad</guid><dc:creator>sunil kumar</dc:creator><description>&lt;p&gt;@Ole Bauck As u have answered &lt;a href="https://devzone.nordicsemi.com/question/58241/how-to-handle-app_uart_communication_error/"&gt;here&lt;/a&gt; i tried the modified app_uart_fifo.c but still didn&amp;#39;t fixed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 doesn't start if UART RX pin is connected</title><link>https://devzone.nordicsemi.com/thread/71531?ContentTypeID=1</link><pubDate>Fri, 23 Dec 2016 10:58:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49c9dd7a-ffab-4d7a-986f-0f131c3a122f</guid><dc:creator>sunil kumar</dc:creator><description>&lt;p&gt;In uart handler in event APP_UART_COMMUNICATION_ERROR there is a error handler(APP_ERROR_HANDLER) macro this macro is making difference, if i comment this macro the device starts advertising and the program runs fine, but the problem is i  cant receive data at uart rx, if i keep that macro the program restarts after calling function sd_softdevice_enable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 doesn't start if UART RX pin is connected</title><link>https://devzone.nordicsemi.com/thread/71527?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2016 11:26:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6481c211-ecf3-4477-9e2b-af39bb8944cf</guid><dc:creator>sunil kumar</dc:creator><description>&lt;p&gt;error code is 0x0C not 0x04.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 doesn't start if UART RX pin is connected</title><link>https://devzone.nordicsemi.com/thread/71526?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2016 11:07:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b887eee6-ff15-419e-8441-d06aa30cd899</guid><dc:creator>sunil kumar</dc:creator><description>&lt;p&gt;the processor restarts immediately after calling sd_softdevice_enable, breakpoint hit will not occur at line where the return value of sd_softdevice_enable is checked.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 doesn't start if UART RX pin is connected</title><link>https://devzone.nordicsemi.com/thread/71525?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2016 11:01:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ed3de76-c100-4de7-84e4-c9cfca7cea5b</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;If sd_softdevice_enable returns , what is the error code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 doesn't start if UART RX pin is connected</title><link>https://devzone.nordicsemi.com/thread/71524?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2016 10:55:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44bf5e0f-ae9b-4f4b-9b3c-03adc67bfb68</guid><dc:creator>sunil kumar</dc:creator><description>&lt;p&gt;I found the error parameters. error code is 0x04, m_line_num is 0x01F3 and m_p_file_name is 0x01E6B4&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 doesn't start if UART RX pin is connected</title><link>https://devzone.nordicsemi.com/thread/71523?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2016 10:33:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8c3eba7-5def-4214-827d-45ef94758ae7</guid><dc:creator>sunil kumar</dc:creator><description>&lt;p&gt;Yes iam using uart driver from SDK, uart code is same has that of ble_app_uart example code. What causes that error. how should i overcome it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 doesn't start if UART RX pin is connected</title><link>https://devzone.nordicsemi.com/thread/71530?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2016 09:43:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8431ba5e-b2d4-4c15-9648-50623e3e7a99</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;The default configuration for the SDK examples is that they will reset when the code meets an error condition, see &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/"&gt;here&lt;/a&gt;. So probably the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s110.api.v8.0.0/group___n_r_f___s_d_m___f_u_n_c_t_i_o_n_s.html#ga26ecfde6eee7363f88bed8a8b711122a"&gt;sd_softdevice_enable&lt;/a&gt; function returns an error. Check if this is the case and what the error code is.&lt;/p&gt;
&lt;p&gt;Are you using the uart driver from the SDK (app_uart_fifo)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 doesn't start if UART RX pin is connected</title><link>https://devzone.nordicsemi.com/thread/71529?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2016 05:32:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd66900a-b8d8-4e89-9c6e-05830d240031</guid><dc:creator>sunil kumar</dc:creator><description>&lt;p&gt;for calling SOFTDEVICE_HANDLER_INIT iam using &amp;quot;NRF_CLOCK_LFCLKSRC_XTAL_20_PPM&amp;quot; as clock source.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 doesn't start if UART RX pin is connected</title><link>https://devzone.nordicsemi.com/thread/71528?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2016 05:30:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00c7f642-25c3-4d4c-a938-2343f3b1cba8</guid><dc:creator>sunil kumar</dc:creator><description>&lt;p&gt;I correct myself, the processor starts but it restarts while initializing softdevice, in softdevice_handler_init() function the breakpoint at function sd_softdevice_enable() will hit, after this function the processor will restart. The voltage at Tx of STN1110 is 0.7V and at PSU for nRF is 3.3V.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 doesn't start if UART RX pin is connected</title><link>https://devzone.nordicsemi.com/thread/71522?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2016 15:19:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d19b4040-4a9d-4e83-b1cd-cc5f128af49b</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;When disconnected, what is the voltage on Tx of STN1110 and what is voltage of PSU for nRF?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>