<?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>uart pin connfiguration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58662/uart-pin-connfiguration</link><description>Hi, I am using nrf52840 DK to create the uart ble app. The starting point is ble_app_uart example from SDK52 15.3. I changed pin configuration for uart so I can have RX and TX pins on one of the external headers. This is the code in the pca10052.h file</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Mar 2020 11:55:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58662/uart-pin-connfiguration" /><item><title>RE: uart pin connfiguration</title><link>https://devzone.nordicsemi.com/thread/238008?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2020 11:55:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dd91cb1-2271-4faf-ab29-d28c36859bcb</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;The APP_ERROR_HANDLER() or the APP_ERROR_CHECK is good for use during development, or if you want to reset the device when an error occurs. In some cases, you may not care about certain events/return values. In that case it is safe to remove them.&lt;/p&gt;
&lt;p&gt;Just know that in this case, you will not get an event when you actually have some communication error, but I don&amp;#39;t think that is a common issue when the pins are connected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart pin connfiguration</title><link>https://devzone.nordicsemi.com/thread/238004?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2020 11:40:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d931c4d-10d8-456f-b756-44f6795eaaf3</guid><dc:creator>Vojislav</dc:creator><description>&lt;p&gt;Commenting out APP_ERROR_HANFLER() worked, thank you.&lt;br /&gt;&lt;br /&gt;Is this safe for code, or should this state be handled somehow?&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart pin connfiguration</title><link>https://devzone.nordicsemi.com/thread/237962?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2020 09:24:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7105ee4e-cfc5-413a-b115-74972dc9d141</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;It is probably the UART event handler receiving some communication error. Try to comment out the APP_ERROR_HANDLER() in the uart communication error event, and see if that changes the behavior.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The issue is that the UART&amp;#39;s RX line is floating, and when the pin floats between 1 and 0 the UART believe that someone has tried to send a message, but it was corrupted.&lt;/p&gt;
&lt;p&gt;&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>