<?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>Custom board using BT832 and BT832X ...power drain issue.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36649/custom-board-using-bt832-and-bt832x-power-drain-issue</link><description>I am new to Nrf52832.......I have started development of a custom board based on Bt832 and BT832X. 
 I have built 2 proto boards one with BT832F and the other with BT832X except that the HW is identical. 
 I have I prepared a code using AdafruitGLX Nfr</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 01 Sep 2018 01:52:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36649/custom-board-using-bt832-and-bt832x-power-drain-issue" /><item><title>RE: Custom board using BT832 and BT832X ...power drain issue.</title><link>https://devzone.nordicsemi.com/thread/146838?ContentTypeID=1</link><pubDate>Sat, 01 Sep 2018 01:52:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5de58c1c-216b-4aa0-93a5-d6ad0abc9169</guid><dc:creator>Nenik</dc:creator><description>&lt;p&gt;For your RC 32kHz oscillator question: The SoftDevice does support several modes of generating low frequency clock, but it needs to be told so.&lt;/p&gt;
&lt;p&gt;Adafruit/Bluefruit.begin() is responsible for initializinf the SD and it does so (based on the USE_LFXO define) with&amp;nbsp; NRF_CLOCK_LF_SRC_XTAL, that is, it claims there is a 32k xtal.&lt;/p&gt;
&lt;p&gt;This define is pretty much hardcoded in platform.txt in the Arduino integration, though you might be able to override it if you define your own board - since you&amp;#39;re using different hardware than nRF52 Feather, it is a sensible thing to do - I did so for my project, where I use nRF52 Feather mostly for prototyping, then deploy and test on a cusom board (even using different pin assignment).&lt;/p&gt;
&lt;p&gt;But the code in AdafruitBluefruit::begin still misses the case for USE_LFRC, you&amp;#39;d have to add that too.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board using BT832 and BT832X ...power drain issue.</title><link>https://devzone.nordicsemi.com/thread/146817?ContentTypeID=1</link><pubDate>Fri, 31 Aug 2018 15:23:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e1c41a6-22cc-4788-8f62-57e406f5ca4d</guid><dc:creator>pbecchi</dc:creator><description>&lt;p&gt;This behaviour is probably related to a delay(500) statement in main loop().. Delay() is used to put the processor in low power mode , so if there is no delay i will have a 6.4 mA floor level.&lt;/p&gt;
&lt;p&gt;It look like for BT 832 power saving mode is entered only once every 2 cycles!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board using BT832 and BT832X ...power drain issue.</title><link>https://devzone.nordicsemi.com/thread/146816?ContentTypeID=1</link><pubDate>Fri, 31 Aug 2018 15:18:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4120396b-d785-4c74-bfd5-5d292e9e65d8</guid><dc:creator>pbecchi</dc:creator><description>&lt;p&gt;I have run several test this is final result that seam more SW than HW realated.&lt;/p&gt;
&lt;p&gt;I have run same .hex ( a BLE peripheral UART example from Adafruit library) on BT832 and BT832X and I have different results.&lt;/p&gt;
&lt;p&gt;Bt832&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x240/__key/communityserver-discussions-components-files/4/TraceUART-BT832-Serial.png" /&gt;&lt;/p&gt;
&lt;p&gt;Bt832X&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x240/__key/communityserver-discussions-components-files/4/Trace_5F00_Uart_5F00_BT832X_5F00_Serial.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;There is a 500 ms&amp;nbsp; short pulse on BT832X that is much larger (about 500ms) in the BT832.&lt;/p&gt;
&lt;p&gt;Inote:&lt;/p&gt;
&lt;p&gt;1-horizzontal scales are differents&lt;/p&gt;
&lt;p&gt;2-floor (minimum level) is similar 340uA (Serial is on);&lt;/p&gt;
&lt;p&gt;3-pulse level in BT832 is 6.4 mA&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board using BT832 and BT832X ...power drain issue.</title><link>https://devzone.nordicsemi.com/thread/145855?ContentTypeID=1</link><pubDate>Mon, 27 Aug 2018 08:47:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e70141e-ac27-400c-83f9-c00050b6f380</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;It sounds strange indeed.&lt;/p&gt;
&lt;p&gt;Could it be that if you don&amp;#39;t configure the UART pins they are left floating, and due to some solder issue the pins are leaking current? While&amp;nbsp;if you &lt;em&gt;do&lt;/em&gt; configure the UART pins they are tied to the correct logic level and don&amp;#39;t leak?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board using BT832 and BT832X ...power drain issue.</title><link>https://devzone.nordicsemi.com/thread/145722?ContentTypeID=1</link><pubDate>Fri, 24 Aug 2018 17:11:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97737f2d-9bee-4b0f-8239-34c2eb5af39b</guid><dc:creator>pbecchi</dc:creator><description>&lt;p&gt;My application doesn&amp;#39;t use UART, I have made one .hex without UART.init and one with UART.init.&lt;/p&gt;
&lt;p&gt;The .hex with UART.init is the one of the PPK plots. The .hex without UART.init is the one of the first message (abnormal behaviour)!&lt;/p&gt;
&lt;p&gt;I do believe that the difference from one module to another one is HW dependent....soldering of those LGA modules is not easy!&lt;/p&gt;
&lt;p&gt;Anyhow I do not understand why the strange drain show up only if UART.init is not present (it should not be present, since UART lines are not used and there is the addition draw of 470 uA).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board using BT832 and BT832X ...power drain issue.</title><link>https://devzone.nordicsemi.com/thread/145689?ContentTypeID=1</link><pubDate>Fri, 24 Aug 2018 13:10:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45900005-7518-426e-9b1d-37da683f564b</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;If the exact same .hex file produces different results on two different boards you can assume it is a HW or soldering issue:&lt;/p&gt;
&lt;p&gt;If you desolder a misbehaving module from a board, solder it onto another board, and the problem problem persists, then it is likely related to the module.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The UART peripheral uses the HF clock. This clock system draws ~470 uA.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board using BT832 and BT832X ...power drain issue.</title><link>https://devzone.nordicsemi.com/thread/145381?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 20:15:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bc59ea8-5240-4120-95c7-8ee423464064</guid><dc:creator>pbecchi</dc:creator><description>&lt;p&gt;Just to explain and summarise:&lt;/p&gt;
&lt;p&gt;All initial measurements have been done with a multimeter that normally give a inaccurate average measurement.&lt;/p&gt;
&lt;p&gt;All initial test where done with no UART while final ppk plots where both done with UART ac&lt;span style="font-family:inherit;"&gt;tive.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This explain why ppk average reading on BT832X exceed the one performed with the multimeter.&lt;/p&gt;
&lt;p&gt;I am not home now, but as soon as I am back, I will repeats PPK plots with disabled UART on BT832X , BT832 and nRF52DK.&lt;/p&gt;
&lt;p&gt;I have noted that abnormal consumption is related to UART....&lt;/p&gt;
&lt;p&gt;When UART is disabled I have found minimal drain on nRF52Dk and even less on BT832X, while I find abnormal values on BT832(the ones of first message).&lt;/p&gt;
&lt;p&gt;When UART is enabled I find higher drain (300 to 500uA) with similar results for all boards.&lt;/p&gt;
&lt;p&gt;Yes, the problem may be HW related...could be that with a faulty soldering of the BT832 LGA pins ...a UART pin could be grounded.....&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could this explain the UART related behaviour?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board using BT832 and BT832X ...power drain issue.</title><link>https://devzone.nordicsemi.com/thread/145254?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 09:04:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e29816ee-d21f-4d70-bdbb-55bed7bb2b44</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;In your first post you talked about&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;7mA during advertising&lt;/p&gt;
&lt;p&gt;3mA during loop if not connected&lt;/p&gt;
&lt;p&gt;6mA during loop if connected.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Your screenshot looks quite normal and you are drawing 441 uA on average.&lt;/p&gt;
&lt;p&gt;A couple of weeks ago you also mention that &amp;quot;&lt;em&gt;On my last test I have assembled a new BT832X and this time got same high power drain as for BT832&lt;/em&gt;&amp;quot;. Is it so that what module you are using doesn&amp;#39;t matter anymore? That points to a problem with your HW doesn&amp;#39;t it?&lt;/p&gt;
&lt;p&gt;Can you please summarize your current situation and problems?&lt;/p&gt;
&lt;p&gt;Do you know what goes on in the areas I have marked with green here:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-1d73d6a758524d8cbf6cedab952bfe15/pastedimage1534928545384v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Are you toggling on and off an LED for example? It could also be a peripheral (TWI or UART for example) that does some work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board using BT832 and BT832X ...power drain issue.</title><link>https://devzone.nordicsemi.com/thread/144951?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 12:58:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:610d361a-a1e5-4b29-8a37-aac407328969</guid><dc:creator>pbecchi</dc:creator><description>&lt;p&gt;Here you are:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x400/__key/communityserver-discussions-components-files/4/trace_5F00_multiuart_5F00_2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board using BT832 and BT832X ...power drain issue.</title><link>https://devzone.nordicsemi.com/thread/144708?ContentTypeID=1</link><pubDate>Fri, 17 Aug 2018 12:03:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a8c485b-6d95-40ac-a50d-ae48184ffa06</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Can you upload a screenshot showing the current consumption of the bad device?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board using BT832 and BT832X ...power drain issue.</title><link>https://devzone.nordicsemi.com/thread/143267?ContentTypeID=1</link><pubDate>Tue, 07 Aug 2018 19:18:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:203b561c-e1ae-4bf1-ab67-683391a116b3</guid><dc:creator>pbecchi</dc:creator><description>&lt;p&gt;Still waiting your comments......!&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board using BT832 and BT832X ...power drain issue.</title><link>https://devzone.nordicsemi.com/thread/142445?ContentTypeID=1</link><pubDate>Wed, 01 Aug 2018 14:31:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75e3a536-a801-4d48-a8f7-358442437ad8</guid><dc:creator>pbecchi</dc:creator><description>&lt;p&gt;I received it yesterday...... I am probably not able to use it well!&lt;/p&gt;
&lt;p&gt;I have just extracted a trace a power consumption during starting 36s (32 sec advertising+ 4 s central UART waiting for events)&lt;/p&gt;
&lt;p&gt;What else can I do with PPK? There is any way to log data out of it?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What really you would like to see?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;May be you can learn me on how to use better the PPK!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This by the way is the most favorable case ...the one with the lower power consumption!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Probably I may send same plot for the case of higher drain......&lt;/p&gt;
&lt;p&gt;Let me know?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class="align-left" style="float:left;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x600/__key/communityserver-discussions-components-files/4/trace_5F00_multiUart_5F00_1.png" /&gt;&lt;/p&gt;
&lt;div style="border-width:100%;direction:ltr;"&gt;
&lt;div style="direction:ltr;margin-left:0in;margin-top:0in;width:10.8972in;"&gt;
&lt;div style="direction:ltr;margin-left:0in;margin-top:0in;width:10.8972in;"&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;&lt;/p&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;&lt;/p&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;&lt;/p&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;&lt;/p&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board using BT832 and BT832X ...power drain issue.</title><link>https://devzone.nordicsemi.com/thread/142411?ContentTypeID=1</link><pubDate>Wed, 01 Aug 2018 13:01:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:986a3a19-1690-4053-b7d1-458f6a956065</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you get your PPK yet? I think a plot of the current consumption is needed to figure out what goes on. There are too many unknown variables as it is now.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board using BT832 and BT832X ...power drain issue.</title><link>https://devzone.nordicsemi.com/thread/141323?ContentTypeID=1</link><pubDate>Wed, 25 Jul 2018 12:42:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a269f3e-f66c-475c-b0fa-bb6ff2b6c04a</guid><dc:creator>pbecchi</dc:creator><description>&lt;p&gt;Hi Martin, thanks for your reply.&lt;/p&gt;
&lt;p&gt;i did some additional test as i describe&amp;nbsp; answering your question:&lt;/p&gt;
&lt;p&gt;1. adafruit libraries use 11.0.0 SKD.&lt;/p&gt;
&lt;p&gt;2.i had the power profiler kit in order since 2 weeks....waiting for restock......i will order it from elsewhere!&lt;/p&gt;
&lt;p&gt;3.As far as i know, only BT832X has an internal DCDC converter.... I have tested his function in my code and got an important power saving.&lt;/p&gt;
&lt;p&gt;4.I have tried several examples on BT832F BT832X and nRF52 DK. The only board that give always low uA is ddevkit. On my laast test I have assembled a new BT832X and this time got same high power drain as for BT832. I doubt it could be due to a combination of an HW and SW problem. Some results is described at this link:&lt;a href="https://github.com/adafruit/Adafruit_nRF52_Arduino/issues/165"&gt;https://github.com/adafruit/Adafruit_nRF52_Arduino/issues/165&lt;/a&gt;. Fanstell modules are LGA type and since I have solder those myself , I am afraid there could be some short on GPIO locate on the hidden pads that i cannot reach and check. Neverless when I put a Serial.begin statement all strange behaviour is gone.........&lt;/p&gt;
&lt;p&gt;5.I always upload identical .hex files, but i doubt is some chip could be on debug mode....how to check?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board using BT832 and BT832X ...power drain issue.</title><link>https://devzone.nordicsemi.com/thread/141270?ContentTypeID=1</link><pubDate>Wed, 25 Jul 2018 07:59:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:def3f716-e460-4fb6-8aae-85459f84dbc1</guid><dc:creator>MartinBL</dc:creator><description>&lt;ol&gt;
&lt;li&gt;&lt;em&gt;&lt;strong&gt;It should not be possible to run the code on the RC oscillator?&amp;nbsp;&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;Yes, it is possible. How you do it depends on what SDK you are using?&lt;/li&gt;
&lt;li&gt;Do you have any tools to measure and plot current over time? Average currents aren&amp;#39;t very meaningful. 7 mA could e.g. be the CPU running constantly or the radio going haywire. If we could see a plot of the current over time we would probably be able to guess which one it is.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Do you know whether both the BT832X and F module are using the DCDC regulator? After skimming through the datasheets it seems like the BT832F does have the necessary components to use DCDC, while the BT832X doesn&amp;#39;t. Do you somehow deal with this in your code?&lt;/li&gt;
&lt;li&gt;Have you tried to run an example from the SDK just to compare the currents? If you still get high currents, then it could be a HW issue. Did you solder on the crystal? Could there be any accidental solder bridges drawing currents?&lt;/li&gt;
&lt;li&gt;Are you running the exact same .hex-file on both modules?&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>