<?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 is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28642/ble-is-getting-disconnected-when-the-motor-is-turned-on-in-nrf52832-circuit</link><description>Hello,
I have designed a custom board with NRF52832 IC which controls vibration motors. And I am turing on vibration motor from n-channel mosfet as shown in the image below.Gate Signal to mosfet is set by NRF52832 IC. I observed when motor is switched</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 23 Dec 2017 17:06:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28642/ble-is-getting-disconnected-when-the-motor-is-turned-on-in-nrf52832-circuit" /><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113546?ContentTypeID=1</link><pubDate>Sat, 23 Dec 2017 17:06:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c7c081b-e30a-48b2-9124-74a10905fcfa</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;In mixed signal design it is not uncommon to have separate digital and analog grounds. It is one method of solving the EMI/EMC issues which I pointed out earlier.&lt;/p&gt;
&lt;p&gt;The nRF doesn&amp;#39;t provide for separate grounds, however Sweety may have isolated grounds for other devices in their custom design.&lt;/p&gt;
&lt;p&gt;Generally I don&amp;#39;t like separate grounds.  I have been called in to fix many products where the original design team chose to isolate grounds inappropriately.&lt;/p&gt;
&lt;p&gt;Sweety should really be approaching this as an EMI/EMC problem.  All the indications are as such. If they are truly running separate grounds then they should also post their schematic and layout artwork so that the problem can be debugged properly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113545?ContentTypeID=1</link><pubDate>Fri, 22 Dec 2017 19:35:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b99491b4-624b-4de7-b850-8eb4c746b8a0</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;I guess I&amp;#39;m on shaky grounds here... there should only be 1 &amp;quot;ground&amp;quot; in your circuit, correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113547?ContentTypeID=1</link><pubDate>Fri, 22 Dec 2017 14:21:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:804a951c-8332-485a-887f-4cd4a0d358ec</guid><dc:creator>Sweety</dc:creator><description>&lt;p&gt;Is there anything to do with analog ground and digital ground?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113544?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2017 14:08:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45f38c7f-bfd4-4eb4-b252-b5adb7734151</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Can you ask Sandeep to take a look then?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113543?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2017 14:00:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc61eafe-3ecf-4f8d-8f98-23e0d1a06400</guid><dc:creator>Sweety</dc:creator><description>&lt;p&gt;I am using Arduino Core for Nordic Semiconductor nRF5 based boards written by sandeep mistry.
Link:
&lt;a href="https://github.com/sandeepmistry/arduino-nRF5"&gt;github.com/.../arduino-nRF5&lt;/a&gt;
I am using the above-mentioned firmware for NRF52DK and my custom board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113542?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2017 13:56:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b502d61-9173-441d-b7cf-3b3d851d3518</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Are you running the same firmware in your custom board and in the nRF52 DK? Don&amp;#39;t you define your own custom_board.h to replace the bsp.h and remove all the button and led code specific to the DK? Also, are you using the UART in your custom board? If so, can it be the interrupt handler there causing the issues?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113541?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2017 13:54:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f003c423-728b-455f-8510-c265577a1d0a</guid><dc:creator>Sweety</dc:creator><description>&lt;p&gt;Yes, your understanding is correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113540?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2017 13:51:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf0ba85c-c071-42bb-ba55-0dce2a341a1c</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;So the current situation is (a) with custom board, when the motor is turned on, the BLE connection is disconnected within 1 minute (b) with nRF52 DK, when the motor is turned on, the BLE connection is fine, and stays fine after 1 minute of motor running.&lt;/p&gt;
&lt;p&gt;No EMI/EMC fixed has been applied to either (a) or (b).&lt;/p&gt;
&lt;p&gt;Is my understanding here correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113539?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2017 12:49:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b58084ad-c592-4ed1-84e3-9e1c66106fd1</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;Ok, so you are back to your EMI/EMC problem.  Are you actually going to fix it now?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113538?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2017 07:10:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab9ed058-dd82-4805-a2a3-04d5a2affd9d</guid><dc:creator>Sweety</dc:creator><description>&lt;p&gt;I used led Indications for resetting and ble connection. With this, I confirmed that ble is disconnecting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113537?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2017 12:37:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8397202-96aa-45ea-8f4e-ade7fca58aa8</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;You cannot &amp;quot;agree&amp;quot; that nRF is resetting until you verify it is truly resetting, and one way to &amp;quot;verify&amp;quot; that is to add debug trace into your main() and see if that trace message repeats again and again. You can use the serial debug (debug message pumped out through uart), or use jlink real time trace (RTT) in which the debug message is sent out through the SWD interface. You can still use the RTT with your custom board, you just need to use the nRF52DK as the JLink to connect to your custom board (or just use your stand alone Segger JLink if you already have one). Search in this forum &amp;quot;RTT&amp;quot; and you&amp;#39;ll find code examples that you can use in your project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113535?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2017 04:22:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6010a07-f745-42be-a6eb-264b428da217</guid><dc:creator>Sweety</dc:creator><description>&lt;p&gt;For nRF52DK, I am using external 3.3V power supply. I am using similar power supply with my custom board.
I agree that nRF is resetting, only ble is disconnecting. Can we eradicate that? What do you mean by adding rtt to my custom board image ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113534?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2017 04:15:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62021dc8-6cb3-4bc3-b965-7cdc2f76dc2e</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;For the nRF52 DK are you using CR2032 as the power source? Also if you have some spare cycles I suggest you add some simple rtt to your custom board image, just to convince yourself the nRF is not resetting when it&amp;#39;s disconnected...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113533?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2017 04:00:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:718d86f7-cb1a-42c8-912c-991224d39caf</guid><dc:creator>Sweety</dc:creator><description>&lt;p&gt;Thank you for your valuable suggestions.
I tried the same vib motor setup with nRF52DK. Ble Connection is not getting disconnected on starting vibe motor with nRF52DK. What might be the reason for this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113532?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 17:57:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ada517c2-ab11-4599-9ad1-3d38914a3be2</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;The schematic for the LC network is on the first page of the doc.  Please actually read it thoroughly before commenting.
See here: &lt;a href="https://www.precisionmicrodrives.com/sites/default/files/styles/watermarked_full_width/public/inline-images/nokia-noise-filtering-example.original.png?itok=DgllBsQS"&gt;www.precisionmicrodrives.com/.../nokia-noise-filtering-example.original.png&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113531?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 17:54:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5705797d-9783-445c-ab2d-864dc3ec2b9d</guid><dc:creator>Sweety</dc:creator><description>&lt;p&gt;In the best practices guide, he mentions to place a capacitor across motor terminals to counter attack radiate and conductor noise. But he didn&amp;#39;t tell any thing about LC filter. Is it required to put LC filter or a capacitor is sufficient?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113530?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 17:35:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aab5adff-6021-4560-aa57-9dcd39a772ab</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;Yes, just follow the guidance in the best practice article.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113529?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 17:29:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:262e4134-fbcb-435a-b9f5-4ab1b6021133</guid><dc:creator>Sweety</dc:creator><description>&lt;p&gt;Okay.
I have to connect LC network across motor terminals. Did I understand correctly ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113528?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 17:20:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:615c7fad-541a-4664-9afb-3b92c01f9988</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;No, RC is first order network LC is second order network.  You need a second order network fully isolating the vibe motor.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113527?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 17:09:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a47e5afa-ad6e-4128-90c5-f720c3a0b0d8</guid><dc:creator>Sweety</dc:creator><description>&lt;p&gt;Thank you for your valuable suggestions.
So, to eradicate radiated noise, I have to put a filter across motor terminals. Am I right?
Can I go with RC filter rather than LC filter.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113526?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 16:53:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f1092c1-0f1e-4138-9212-4524d8057ca0</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;Steppers have similar EMI/EMC problems but a more complicated drive mechanism. Since they sit more than they move and don&amp;#39;t have brushes, likely you are dealing with a low frequency problem.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sure you can apply it conceptually, but the final solution will look different due to how steppers work. I would start with guidance on filter designs from the stepper manufacturer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113525?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 16:46:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5d74ede-7336-4b23-8a44-6085157f7b9e</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Thanks for that best practice article! Should we follow the same practice for driving a stepping motor?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113524?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 16:42:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be1bf70b-8676-468e-8968-74f816b8ce23</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;And, your comment on using &amp;quot;strong decoupling&amp;quot; caps is rather erroneous.  There is no one &amp;quot;strong&amp;quot; decoupling cap.  A single cap covers a narrow band of frequencies around its SRF and forms a first order network based on the source resistance.  In this case the source resistance is really low since it is a LiPo, so I doubt they are doing much.&lt;/p&gt;
&lt;p&gt;You need a comprehensive EMC/EMI solution not just a decoupling cap.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113536?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 16:08:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6cbfe04-82d4-4112-92c4-14f9f32a3794</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;A comprehensive LC plan will solve all of it.  But don&amp;#39;t forget the zener and series resistance.  The turn off spike from the motor could fry the LiPo and FET over time and turn on surge from lack of a series resistance could fry your vibe motor quickly.&lt;/p&gt;
&lt;p&gt;You can use a spectrum analyzer and an o-scope to figure out precisely what noise is the worst to guide your LC filter design.&lt;/p&gt;
&lt;p&gt;If you wanted to really engineer the turn on/off side of things, put an RC network on the FET gate and treat the nRF control signal as a PWM.  Then you can have a soft turn on/off which will eliminate the surge and spike.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is getting disconnected when the motor is turned on in NRF52832 circuit.</title><link>https://devzone.nordicsemi.com/thread/113523?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 16:04:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12d1d439-9842-4a74-854a-7cc9f76e18e8</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;As I said the noise could be radiated and/or conducted.  Radiated (ie, off of power lines running between motor and LiPo) would likely be a 2.4GHz problem, conducted through power, gnd and switchers could be anything from mid megahertz (affecting the low IF in nRF, causing NVIC chaos through false pin asserts) through to 2.4GHz.&lt;/p&gt;
&lt;p&gt;You should be able to easily come up with an LC solution that covers that range. Just make sure it covers both legs of the power connection.&lt;/p&gt;
&lt;p&gt;This is a nice, though dated, article on the subject: &lt;a href="https://www.precisionmicrodrives.com/application-notes/ab-008-vibration-motor-best-practices-from-mobile-cell-phones"&gt;www.precisionmicrodrives.com/.../ab-008-vibration-motor-best-practices-from-mobile-cell-phones&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>