<?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 with LIS2DH accelerometer not powering up from battery</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35595/nrf52832-with-lis2dh-accelerometer-not-powering-up-from-battery</link><description>We created a custom made board with an nRF52832 and an LIS2DH accelerometer. The board is working fine when it is being powered from a power supply with 3V but when it is connected to a battery it does not power up. I found out that if I do not initialise</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Jun 2018 16:30:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35595/nrf52832-with-lis2dh-accelerometer-not-powering-up-from-battery" /><item><title>RE: nRF52832 with LIS2DH accelerometer not powering up from battery</title><link>https://devzone.nordicsemi.com/thread/137521?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 16:30:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5aa2d5c2-a5a6-4319-807c-4e9fe687463b</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;Trying to run in debug mode on a CR battery is just a mistake so there isn&amp;#39;t any light to shed on it.&lt;/p&gt;
&lt;p&gt;Depending on how you have debug mode configured the nRF can have SWD, RTT and UART software/hardware running.&amp;nbsp; All these consume a lot of power. Even without your accelerometer, in debug mode an nRF either won&amp;#39;t run or won&amp;#39;t run for very long on a CR battery.&lt;/p&gt;
&lt;p&gt;This still doesn&amp;#39;t solve your problem of having too little local capacitance for a CR based design.&amp;nbsp; Yes, you might get it to boot on a fresh battery.&amp;nbsp; Will it boot and run on a 50% depleted battery?&amp;nbsp; I doubt it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also you will forever be plagued by brownout resets of your device during TX/RX cycles.&lt;/p&gt;
&lt;p&gt;You need more capacitance and do a proper current/power consumption audit.&amp;nbsp; It&amp;#39;s standard practice for any design.&lt;/p&gt;
&lt;p&gt;Once you know your peak duty and peak current needs you can then go through and calculate capacitance requirements and keep the ripple from the CR battery in a reasonable range.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 with LIS2DH accelerometer not powering up from battery</title><link>https://devzone.nordicsemi.com/thread/137507?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 15:33:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f392cfa-da67-42cc-95c6-75a2569a4a02</guid><dc:creator>Coz</dc:creator><description>&lt;p&gt;So we&amp;#39;ve been checking everything on the board and also checking the power to the board with the scope, with and without the capacitor. This allowed us to check the difference in the signal when the board was successfully powering up and not, although we have not noticed anything as to why the board had not been powering up.&lt;/p&gt;
&lt;p&gt;We&amp;#39;ve also been trying various things in the settings of the project to see whether that changes anything or not, like delaying the&amp;nbsp;initialisation of the TWI driver etc. One of the other settings we changed was the programming of the board in debugging and release mode. We found out that when programming the board in debug mode the board would not power up with the batteries but if the board is programmed in release mode then the board powers up correctly and the LIS2 works just fine.&lt;/p&gt;
&lt;p&gt;These results are repeatable every time although we are still baffled as to why this is working the way it is. Does anyone have any information on the matter and can shed some light to it? Any help greatly appreciated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 with LIS2DH accelerometer not powering up from battery</title><link>https://devzone.nordicsemi.com/thread/136967?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 20:17:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc799dc9-8a10-445e-9a77-9ca13f4034e5</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;You will never get it to work reliably with just a 4.7uF.&amp;nbsp; Just look at any CR battery spec for confirmation.&lt;/p&gt;
&lt;p&gt;There is plenty of material in the devzone on CR battery designs.&amp;nbsp; Also, TI did a nice whitepaper on the subject which you can find on their website.&lt;/p&gt;
&lt;p&gt;Playing around with your startup might get the board to boot as Turbo noted, but it will never give you a reliable product.&lt;/p&gt;
&lt;p&gt;You need more capacitance on the board and pay close attention to your max TX/RX duty cycle as you write your code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 with LIS2DH accelerometer not powering up from battery</title><link>https://devzone.nordicsemi.com/thread/136950?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 16:13:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5682efaa-05b7-4b24-ac0c-6f56646f6f60</guid><dc:creator>Turbo J</dc:creator><description>[quote userid="27108" url="~/f/nordic-q-a/35595/nrf52832-with-lis2dh-accelerometer-not-powering-up-from-battery"] The board size is about 12mm[/quote]
&lt;p&gt;Those batteries really don&amp;#39;t like the operating current of an NRF52 due to thier high internal resistance. &lt;/p&gt;
&lt;p&gt;You may want to look at the VCC voltage with an oscilloscope...&lt;/p&gt;
&lt;p&gt;A few ideas to try:&lt;/p&gt;
&lt;p&gt;Replacing the 4&amp;micro;7 caps with the largest cap that fits in the footprint.&lt;/p&gt;
&lt;p&gt;Delaying the initialization of LIS2DF and the TWI driver, using a low power (RTC based) timer, for a second or two after POR. This should raise the voltage of the battery that was drained during initialization of the NRF52 - but it also means you cannot simply use nrf_delay(), as this will keep the CPU running and current consumtion high.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>