<?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>Target resetting when initalizing UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10570/target-resetting-when-initalizing-uart</link><description>I have a strange problem on my target nRF51822. When I try and use the UART interface between my nRF51 and my host MCU, it causes the nRF51 to reset and the RTT terminal to freeze. See the RTT log window capture attached. 
 rttsession.JPG 
 www.dropbox</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Dec 2015 15:17:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10570/target-resetting-when-initalizing-uart" /><item><title>RE: Target resetting when initalizing UART</title><link>https://devzone.nordicsemi.com/thread/39323?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 15:17:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99cb5e8f-2a5f-4b79-a51a-2e39b2367a92</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Normal configuration for &lt;code&gt;APP_ERROR_CHECK(...)&lt;/code&gt; is to reset the chip, most of the times this is the case of periodic resets. If you define DEBUG in the preprocessor symbols &lt;code&gt;APP_ERROR_CHECK(...)&lt;/code&gt; will go into while(1) loop instead. If this happens check the variables in &lt;code&gt;app_error_handler(...)&lt;/code&gt; (either in debug mode or with RTT).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Target resetting when initalizing UART</title><link>https://devzone.nordicsemi.com/thread/39325?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 09:51:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:537cb0d9-2a9e-4c88-b86d-415742d18f0a</guid><dc:creator>Doug_H</dc:creator><description>&lt;p&gt;It looks like the problem is the target board UART pins are not initialized correctly. If the nRF51 senses incorrect signals on it&amp;#39;s UART Pins it will reset. At least, that&amp;#39;s what I suspect. Doing some more testing to confirm...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Target resetting when initalizing UART</title><link>https://devzone.nordicsemi.com/thread/39324?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 07:53:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ac1bd4d-2fbd-43d9-94eb-275aae2c0ee7</guid><dc:creator>Doug_H</dc:creator><description>&lt;p&gt;Doing some more testing. If I change the pins for TX and RX to two unused pins on my target nRF51822, the application no longer resets, so the question is, what kind of hardware signal issue would cause a reset?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>