<?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>Issue with charging/battery detection on nPM1300</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123751/issue-with-charging-battery-detection-on-npm1300</link><description>i built a small breakout board for npm1300 (QEAAD0 2516AA) to experiment with it. the twi pins are wired to the i2c ports of a raspberry pi 4 to control it, and i have attached it to a 1200mAh 3.7v lipo battery pack from adafruit (LP503562) with a 2-pin</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Aug 2025 15:02:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123751/issue-with-charging-battery-detection-on-npm1300" /><item><title>RE: Issue with charging/battery detection on nPM1300</title><link>https://devzone.nordicsemi.com/thread/546228?ContentTypeID=1</link><pubDate>Wed, 20 Aug 2025 15:02:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb660472-2dd6-41b0-891e-5afd6e13415c</guid><dc:creator>Tharaka</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thanks for the update. It sounds like the issue is not coming from the PMIC or the battery pack.&lt;br /&gt;&lt;br /&gt;I asked our HW design experts to review the PCB design, it looks like your PCB design&amp;nbsp;could potentially be a major contributor to the issues you highlighted.&lt;/p&gt;
&lt;p&gt;Yes, the 4.8 V you are seeing on the battery terminal is definitely concerning. VOUT2 also doesn&amp;rsquo;t look correct from your measurements.&lt;/p&gt;
&lt;p&gt;The high-current traces are very narrow and spread across the board in a way that can cause large voltage drops and noise. In addition, there doesn&amp;rsquo;t seem to be a solid GND plane. Without a low-impedance GND reference, it&amp;rsquo;s hard to predict how current flows, and this can easily lead to level shifting/bouncing that makes comparator thresholds behave unpredictably.&lt;/p&gt;
&lt;p&gt;For a 2-layer board, it is critical to dedicate one layer as a solid GND plane. In your current layout this is essentially missing. If possible, I would also recommend moving to at least a 4-layer board, which will allow you to have a solid GND plane and make the routing much cleaner.&lt;/p&gt;
&lt;p&gt;As a reference, please take a look at:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.nordicsemi.com/Products/nPM1300/Downloads"&gt;nPM1300 reference layout&lt;/a&gt;&amp;nbsp;( under Downloads)&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.nordicsemi.com/bundle/nwp_050/page/WP/nwp_050/intro.html"&gt;nPM1300 HW design guideline&lt;br /&gt;&lt;/a&gt;Specially this section &lt;a href="https://docs.nordicsemi.com/bundle/nwp_050/page/WP/nwp_050/end_product_hw.html"&gt;End product hardware design&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We&amp;nbsp;strongly suggest reworking the PCB layout based on these resources.&lt;br /&gt; &lt;br /&gt;Once you have reworked the layout based on the guidelines, feel free to share it here before moving forward with manufacturing. We&amp;rsquo;ll be happy to review it again.&lt;br /&gt;&lt;br /&gt;Regards&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Tharaka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with charging/battery detection on nPM1300</title><link>https://devzone.nordicsemi.com/thread/545973?ContentTypeID=1</link><pubDate>Mon, 18 Aug 2025 21:03:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e6c818a-f642-41b9-84ae-a32c15ab51bd</guid><dc:creator>scottjg</dc:creator><description>&lt;p&gt;hey tharaka-- really appreciate your advice here. i checked the two charger status registered you suggested. they are both zero while the&amp;nbsp;light is dim and the charge status is flapping (battery unplugged or plugged in is the same):&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;pre&gt;$ i2cset -y 1 0x6b 0x03 0x36; i2cget -y 1 0x6b&lt;br /&gt;0x00&lt;br /&gt;$ i2cset -y 1 0x6b 0x03 0x37; i2cget -y 1 0x6b&lt;br /&gt;0x00&lt;/pre&gt;
&lt;p&gt;i also am frequently resetting the device to try new parameters and take more measurements, so i don&amp;#39;t think i&amp;#39;ve ever continuously had the charger running for 7 hours anyway.&lt;/p&gt;
&lt;p&gt;for your next suggestion, i tried raising the charge current before starting&amp;nbsp;the charger. here are the commands i&amp;#39;m using now:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;$&amp;nbsp;&lt;span&gt;i2cset -y &lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x6b&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x00&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x01&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x01&lt;/span&gt;&lt;span&gt; i &amp;nbsp;&lt;/span&gt;&lt;span&gt;# reset&lt;br /&gt;&lt;/span&gt;&lt;span&gt;$ i2cset -y &lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x6b&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x03&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x06&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x02&lt;/span&gt;&lt;span&gt; i &amp;nbsp;# disable ntc&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;$&lt;/b&gt;&lt;/span&gt;&lt;span&gt; i2cset -y 1 0x6b 0x02 0x01; i2cget -y 1 0x6b &amp;nbsp;# check initial vbus limit&lt;br /&gt;&lt;/span&gt;&lt;span&gt;0x01 &lt;br /&gt;$ # ^ it&amp;#39;s 100mA&lt;br /&gt;&lt;/span&gt;&lt;span&gt;$ i2cset -y 1 0x6b 0x02 0x01 0x08 i &amp;nbsp;# set vbus limits to 800mA&amp;nbsp;&lt;br /&gt;$ i2cset -y 1 0x6b 0x02 0x02 0x08 i &amp;nbsp;# set vbus limits to 800mA&lt;br /&gt;$ i2cset -y 1 0x6b 0x02 0x00 0x01 i &amp;nbsp;#&amp;nbsp;commit vbus limits&lt;br /&gt;$&amp;nbsp;&lt;/span&gt;&lt;span&gt;i2cset -y &lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x6b&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x03&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x08&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x7d&lt;/span&gt;&lt;span&gt;&amp;nbsp;i &amp;nbsp;&lt;/span&gt;&lt;span&gt;# &lt;/span&gt;&lt;span&gt;set&lt;/span&gt;&lt;span&gt; charge current to 500mA&lt;br /&gt;&lt;/span&gt;$&amp;nbsp;&lt;span&gt;i2cset -y &lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x6b&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x03&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x0a&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0xcf&lt;/span&gt;&lt;span&gt; i &amp;nbsp;# set discharge current to 1A&lt;br /&gt;&lt;/span&gt;&lt;span&gt;$ i2cset -y &lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x6b&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x03&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x0b&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x01&lt;/span&gt;&lt;span&gt; i &amp;nbsp;# set discharge current to 1A&lt;br /&gt;$&amp;nbsp;&lt;/span&gt;&lt;span&gt;i2cset -y &lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x6b&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x03&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x0C&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x08&lt;/span&gt;&lt;span&gt; i # &lt;/span&gt;&lt;span&gt;set&lt;/span&gt;&lt;span&gt; term voltage to 4.2V&lt;br /&gt;&lt;/span&gt;&lt;span&gt;$ i2cset -y &lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x6b&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x03&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x0D&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x08&lt;/span&gt;&lt;span&gt; i # &lt;/span&gt;&lt;span&gt;set&lt;/span&gt;&lt;span&gt; term voltage to 4.2V&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;$ i2cset -y &lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x6b&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x03&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x04&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x01&lt;/span&gt;&lt;span&gt; i # enable charging&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;at this point i don&amp;#39;t really see a change in behavior. the device continues to flap charging status and the led stays dimly lit.&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;i&amp;#39;m less concerned about the&amp;nbsp;case where the battery is disconnected, but just to test, i also removed the 10uF cap on the VBAT line and it did not appear to change the behavior in either case of the battery being connected or disconnected.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;after messing with everything a bit more, i did discover one potential issue (though i&amp;#39;m still not sure of the cause).&amp;nbsp;even though i am setting the battery term voltage to 4.2, i find that&amp;nbsp;if i&amp;nbsp;measure the voltage on the battery terminals during this charge flapping (or even with the battery unplugged), i get 4.8v. curiously, i&amp;nbsp;if i lower the term voltage setting to&amp;nbsp;3.5v,&amp;nbsp;i see that it now measures around 4.3v and after a few seconds of charging, the led turns off (no error status is set). the charge status says that the battery charge is completed (this might even be correct, as i can measure 4.2v across the battery when unplugged):&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;b&gt;$&lt;/b&gt;&lt;/span&gt;&lt;span&gt; i2cset -y 1 0x6b 0x03 0x34; i2cget -y 1 0x6b&lt;br /&gt;&lt;/span&gt;&lt;span&gt;0x03&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;at this point&amp;nbsp;the charge led is fully turned off, so it seems if the charger is operating as intended, and there does not appear to be a leakage current issue with the LED.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;upon&amp;nbsp;re-measuring the breakout pins, i notice that the measurements seem off:&lt;br /&gt;- VBUSOUT 4.98V (probably ok)&lt;br /&gt;- VOUT1 1.94 (should be 1.8v)&lt;br /&gt;- VOUT2 3.29&amp;nbsp;(should be 3.0v)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;i guess +/- 10% isn&amp;#39;t crazy but given how far off the charge voltage seems to be, i wonder if there&amp;#39;s something wrong with my pcb design that would&amp;nbsp;create these kind of issues?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with charging/battery detection on nPM1300</title><link>https://devzone.nordicsemi.com/thread/545883?ContentTypeID=1</link><pubDate>Mon, 18 Aug 2025 08:29:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3eeef58-28f5-452c-a94f-091de54f6189</guid><dc:creator>Tharaka</dc:creator><description>&lt;p&gt;Hi&lt;br /&gt;&lt;br /&gt;It looks like your issue might be related to the &lt;a href="https://docs.nordicsemi.com/bundle/ps_npm1300/page/chapters/charger.html#ariaid-title7"&gt;safety timer&lt;/a&gt;. The nPM1300 has a tOUTCHARGE = 7 h limit for the CC+CV phases. At 34 mA with a 1200 mAh cell, a full charge would take &amp;gt;40 h, so the safety timer will expire and stop charging. There is also a trickle charging timeout of 10 minutes.&lt;br /&gt;&lt;br /&gt;If you want to keep such a low charge current, you&amp;rsquo;ll need to periodically clear the safety timer (TASKCLEARSAFETYTIMER),otherwise increase the charge current so the battery finishes within 7 h.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;d suggest: Check the charger error registers to confirm if the stop was due to a safety timeout or something else.&lt;br /&gt;For ex.&amp;nbsp; when charging stops, check &lt;a href="https://docs.nordicsemi.com/bundle/ps_npm1300/page/chapters/charger.html#ariaid-title46"&gt;BCHGERRREASON &lt;/a&gt;(0x36) &amp;mdash; if CHARGETIMEOUT is set, that confirms it. Also check&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_npm1300/page/chapters/charger.html#ariaid-title47"&gt;BCHGERRSENSOR &lt;/a&gt;(0x37) for context to rule out sensor/threshold faults.&lt;/p&gt;
&lt;p&gt;Do you still see the state flapping when you try with a higher charge current (e.g. &amp;gt;500 mA setting)?&lt;br /&gt;&lt;br /&gt;Even a few &amp;micro;A of leakage through the nPM1300 LED driver or PCB can forward-bias a sensitive LED and make it glow dimly when it&amp;rsquo;s supposed to be off. Bleed resistor in parallel could help ?&lt;br /&gt;&lt;br /&gt;With&amp;nbsp;no battery, the nPM1300 could still charges and discharges the VBAT input capacitor in a loop, making the status flap and the LED glow faintly.&lt;br /&gt;&lt;br /&gt;Also note that battery detection functionality will no longer be available from D00 version onwards.&amp;nbsp;&lt;br /&gt;See the Product Change Notification (PCN) :&lt;a href="https://docs.nordicsemi.com/bundle/PCN/resource/pcn_213_v1.0.pdf"&gt; //docs.nordicsemi.com/bundle/PCN/resource/pcn_213_v1.0.pdf&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;Regards&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Tharaka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with charging/battery detection on nPM1300</title><link>https://devzone.nordicsemi.com/thread/545847?ContentTypeID=1</link><pubDate>Mon, 18 Aug 2025 01:25:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72198620-345d-4c3c-b1ea-5e49888453d9</guid><dc:creator>scottjg</dc:creator><description>&lt;p&gt;also attaching front/back of pcb here&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2025_2D00_08_2D00_17-at-6.21.42_2F20_PM.png" alt=" " /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2025_2D00_08_2D00_17-at-6.21.31_2F20_PM.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>