<?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>nRF52832 BT832XE randomly disconnects</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47279/nrf52832-bt832xe-randomly-disconnects</link><description>So, after using my Devkit and everything working OK as far as I can tell, I decided to order up a bare BT832XE module and place it on my PCB. 
 Flashed it with the same firmware inside SEGGER using the Nordic PCA10040 devkit. 
 Seems to connect, everything</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 May 2019 12:15:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47279/nrf52832-bt832xe-randomly-disconnects" /><item><title>RE: nRF52832 BT832XE randomly disconnects</title><link>https://devzone.nordicsemi.com/thread/188255?ContentTypeID=1</link><pubDate>Tue, 21 May 2019 12:15:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:120bab41-ed97-4c46-8962-7067ef2fc789</guid><dc:creator>mbates14</dc:creator><description>&lt;p&gt;Yea, Probably so. I didnt know that. Almost sounds like an anti-glitch, glitch detector of sorts. I even tried adding a nice large capacitor right off the BT module, but it still didnt help.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Once I changed out the power supply completely though, all was fine.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 BT832XE randomly disconnects</title><link>https://devzone.nordicsemi.com/thread/188251?ContentTypeID=1</link><pubDate>Tue, 21 May 2019 12:09:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b369a9e8-0505-4d92-9e37-d018bd72ee37</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;I assume you must have been hitting this: A step increase in supply voltage of 300 mV or more, with rise time of 300 ms or less, within the valid supply range, may result in a system reset. ref: &lt;span&gt;&lt;a title="Power-on reset" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/power.html?cp=3_1_0_17_5_0#unique_535248719"&gt;Power-on reset&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 BT832XE randomly disconnects</title><link>https://devzone.nordicsemi.com/thread/187522?ContentTypeID=1</link><pubDate>Thu, 16 May 2019 11:46:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:892f19bb-a296-4e3f-968c-c57ffbcab9f6</guid><dc:creator>mbates14</dc:creator><description>&lt;p&gt;I think I narrowed it down to the power supply. I used a 6V 300mA that was going through a 3.3V regulator. But I changed it out with a 9V 2A and the problem is gone. Funny thing though, my &amp;quot;power led&amp;quot; stayed green the whole time, but I assume an LED is not going to react to spikes in the DC bus. .&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 BT832XE randomly disconnects</title><link>https://devzone.nordicsemi.com/thread/187460?ContentTypeID=1</link><pubDate>Thu, 16 May 2019 09:01:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e136101-ac3d-4ad9-b75b-d8da65d6dc54</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;I assume the module manufacturer has a reference layout for their module and that you have followed that? You could also check against the reference layout in nRF52832 product specification against the module.&lt;/p&gt;
&lt;p&gt;But are you sure that you everything is soldered correctly and that you do not have additional pieces of wire/shorts or maybe poor soldering connections?&lt;/p&gt;
&lt;p&gt;Just so it is clear, this only happens on the custom board? Not the nordic DK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 BT832XE randomly disconnects</title><link>https://devzone.nordicsemi.com/thread/187319?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 14:30:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5deedcdc-bfd6-4aeb-9598-ac66861b90c6</guid><dc:creator>mbates14</dc:creator><description>&lt;p&gt;Any critical pull-ups or anything that are required that I may have overlooked?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 BT832XE randomly disconnects</title><link>https://devzone.nordicsemi.com/thread/187317?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 14:28:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c1ecca0-eba2-438a-a676-34da671496c9</guid><dc:creator>mbates14</dc:creator><description>&lt;p&gt;Wont work. Not enough output power. the +19 to +20dbm that the BT832XE produces is crucial.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 BT832XE randomly disconnects</title><link>https://devzone.nordicsemi.com/thread/187310?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 14:13:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45590bf7-f6f3-467a-9638-810039f2dca6</guid><dc:creator>Mojo</dc:creator><description>&lt;p&gt;May I suggest to try a different module. &amp;nbsp;Like this one&amp;nbsp;&lt;a href="https://www.crowdsupply.com/i-syst/blyst-nano"&gt;https://www.crowdsupply.com/i-syst/blyst-nano&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 BT832XE randomly disconnects</title><link>https://devzone.nordicsemi.com/thread/187307?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 14:07:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35b8458b-81d6-44d6-8598-e1ee9e0373ba</guid><dc:creator>mbates14</dc:creator><description>&lt;p&gt;Nope, nevermind. Yet another fallacy. I cant track down the problem at all. Its totally random, I disabled the communication error traps, and that fixed my crashing when grounding the RX pin, but it still did NOT fix my problem. I can simply just pickup the PCB and wave it around, and itll disconnect. But I can twist on the board, and it doesnt. I really dont get it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 BT832XE randomly disconnects</title><link>https://devzone.nordicsemi.com/thread/187286?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 13:20:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbf91fa4-316a-43da-abda-99bfeb946f50</guid><dc:creator>mbates14</dc:creator><description>&lt;p&gt;Ok, I got the DevKit doing it. Same exact thing if I mess with the RX pin. This time though, I got an Error Trace:&lt;/p&gt;
&lt;p&gt;&amp;lt;error&amp;gt; app: ERROR 4 [NRF_ERROR_NO_MEM] at Z:\Major\Various\Nordic BT\nRF5_SDK_14.2.0_17b948a\examples\ble_peripheral\ble_serial\main.c:1391&lt;/p&gt;
&lt;p&gt;Fault Handler 4001, with 0x00000004 error handler. All starts at the UARTE0_UART0_IRQ handler.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;(it wont let me copy the stack trace window to bring it in here)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 BT832XE randomly disconnects</title><link>https://devzone.nordicsemi.com/thread/187278?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 13:00:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17550199-a9f7-4d7c-88a5-08b8860ae3e5</guid><dc:creator>mbates14</dc:creator><description>&lt;p&gt;I narrowed it down. if the RX pin on the UART gets grounded, it causes the BT module to crash. This seems like an overlooked bug in the SoftDevice, or something. I found a little piece of copper wire stuck in my pins which is why this was happening.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;if I physically &amp;quot;ground&amp;quot; the RX pin, even for just a second on the BT module, it&amp;#39;ll disconnect. I dont have any pullups or pulldowns on the TX/RX pins, they are connected directly into an xBee module. (its a BT to RF device I made).&lt;/p&gt;
&lt;p&gt;Edit: the copper thing was a fallacy. I removed it, it still happens randomly. especially if I am &amp;quot;handling&amp;quot; it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 BT832XE randomly disconnects</title><link>https://devzone.nordicsemi.com/thread/187262?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 12:17:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cfaac24-ba9d-459c-971b-9f3a5a542ad3</guid><dc:creator>mbates14</dc:creator><description>&lt;p&gt;I think there might be something up with the module itself. if I tap on the metal shield, the connection drops. But if I twist/turn on the board, it wont. Its only when I tap.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 BT832XE randomly disconnects</title><link>https://devzone.nordicsemi.com/thread/187225?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 11:42:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3722c533-d2cd-4342-b231-3d7d021772e7</guid><dc:creator>mbates14</dc:creator><description>&lt;p&gt;I dont know what an air sniffer trace is, and as I mentioned above, the debug logs are no good because the &amp;quot;j-link debugger&amp;quot; in SEGGER is unaware of the crapout/disconnect. HOWEVER. (there is a however), I can hit &amp;quot;pause&amp;quot; in the debugger after this glitch happens, it pauses at 0xDEADBEEF. Then the top says unknown function at -xDEADBEEE. Also all the CPU registers on the right-hand side are all loaded with 0xdeadbeef.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If I physically disconnect, I can see the DISCONNECTED pop up in the debug log. But, nothing pops up when this happens. I can also instantly reconnect until it disconnects again.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 BT832XE randomly disconnects</title><link>https://devzone.nordicsemi.com/thread/187223?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 11:41:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a56f8b8-e669-4a31-b8fd-dd1c0dbe9c6e</guid><dc:creator>mbates14</dc:creator><description>&lt;p&gt;Inductors for What DC/DC? There is a 5V to 3.3V DC/DC on my main host PCB, but thats it. Also my signal strength is strong during the whole period its connected, I am monitoring it while its connected through my App. Besides, I have the device sitting right next to it, AND I am using the XE which has an external antenna.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 BT832XE randomly disconnects</title><link>https://devzone.nordicsemi.com/thread/187122?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 06:26:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be17a2bf-9b24-4662-b8e1-5e4a27d93778</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Also would it be possible to provide debug logs and on air sniffer trace? Are you ending up in any kind of error handler? Can you also check that DEBUG is defined in your debug project?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 BT832XE randomly disconnects</title><link>https://devzone.nordicsemi.com/thread/187084?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 20:44:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b743bc1-a824-4ccf-98b2-79947ac7aba7</guid><dc:creator>Mojo</dc:creator><description>&lt;p&gt;Did you check the require clearance for the antenna ? &amp;nbsp;Also check if it has the inductors for the DC/DC ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>