<?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>Getting started with npm1300 and an RP2040 microcontroller</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113312/getting-started-with-npm1300-and-an-rp2040-microcontroller</link><description>Hi! 
 Absolute beginner here. I&amp;#39;m trying to use npm1300 (using the evaluation kit for now) with an RP2040 microcontroller (also using RPi Pico dev board). I am powering RP2040 (which requires a 3.3v supply) from VOUT2, which is configured with a resistor</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Jul 2024 08:17:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113312/getting-started-with-npm1300-and-an-rp2040-microcontroller" /><item><title>RE: Getting started with npm1300 and an RP2040 microcontroller</title><link>https://devzone.nordicsemi.com/thread/495566?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2024 08:17:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edf78253-2bd4-4878-a15b-b0b7cb7b028b</guid><dc:creator>Andy Sinclair</dc:creator><description>&lt;p&gt;Yes, all production devices&amp;nbsp;have a 500mA limit by default.&lt;br /&gt;Glad you got it working :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting started with npm1300 and an RP2040 microcontroller</title><link>https://devzone.nordicsemi.com/thread/495508?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2024 19:12:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b089fd3-9233-47ac-a6f4-572ed24e81c5</guid><dc:creator>artfwo</dc:creator><description>&lt;p&gt;That seems to solve it, thanks! After setting VBUSINILIM via nPM PowerUP to 0.5A, I can cold boot my Pico board without the battery.&lt;/p&gt;
&lt;p&gt;I guess it shouldn&amp;#39;t be a problem with the production PMIC on a custom PCB if the new default is 500 mA. Thanks again for your support!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting started with npm1300 and an RP2040 microcontroller</title><link>https://devzone.nordicsemi.com/thread/495348?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2024 07:59:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2adc2a30-9d97-40e4-8041-a3e9a0ec74f9</guid><dc:creator>Andy Sinclair</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;The default&amp;nbsp;was 100mA (older devices, including some EKs), but was changed to 500mA for production.&lt;br /&gt;You can check the default on your&amp;nbsp;PMIC by reading the VBUSINILIM register.&lt;br /&gt;&lt;br /&gt;This sounds very much like the inrush on powering up the Pi board is&amp;nbsp;hitting the current limit and collapsing the output.&amp;nbsp;&lt;br /&gt;Especially as the problem only occurs when cold booting from USB.&lt;br /&gt;&lt;br /&gt;Andy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting started with npm1300 and an RP2040 microcontroller</title><link>https://devzone.nordicsemi.com/thread/495343?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2024 07:39:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19e71c2c-94ad-411d-95ca-3704e135d1c9</guid><dc:creator>artfwo</dc:creator><description>&lt;p&gt;It&amp;#39;s only 60 mA, what&amp;#39;s the default VBUSINILIM? It might be worth mentioning, that I can safely unplug the battery later and the microcontroller will keep running with no issues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting started with npm1300 and an RP2040 microcontroller</title><link>https://devzone.nordicsemi.com/thread/495342?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2024 07:38:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a74c9b60-8101-4bd4-9923-40dd49e669e2</guid><dc:creator>Andy Sinclair</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;This sounds like the USB current limit,&amp;nbsp;how high is the load?&lt;br /&gt;You can configure the limit using VBUSINILIM.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Andy&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting started with npm1300 and an RP2040 microcontroller</title><link>https://devzone.nordicsemi.com/thread/495331?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2024 06:59:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8bff68d-90b3-465a-8cda-f599bff4e41b</guid><dc:creator>ketiljo</dc:creator><description>[quote userid="2125" url="~/f/nordic-q-a/113312/getting-started-with-npm1300-and-an-rp2040-microcontroller/495197"]The buck convertets are powered from VSYS. You need to set the default voltage with RVSET2&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_npm1300/page/chapters/core_components/buck/doc/frontpage.html"&gt;https://docs.nordicsemi.com/bundle/ps_npm1300/page/chapters/core_components/buck/doc/frontpage.html&lt;/a&gt;[/quote]
&lt;p&gt;Thanks for the reply, I should have mentioned that I have RSET connected as follows:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/3173.Untitled1.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;With no load on VOUT2 I&amp;#39;m getting the following readings from the voltmeter (VSYS is 5V):&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:320px;max-width:240px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/480x640/__key/communityserver-discussions-components-files/4/1030.Untitled2.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;With the load it drops down to ~0.9V (VSYS is ~2.5V)&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:320px;max-width:240px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/480x640/__key/communityserver-discussions-components-files/4/6710.Untitled3.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;And with the battery plugged in the voltage on VOUT2 goes back to 3.3v. After unplugging the battery later I still see +3.3v on VOUT2. Is there anything wrong with the way I&amp;#39;m using the PMIC here? Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting started with npm1300 and an RP2040 microcontroller</title><link>https://devzone.nordicsemi.com/thread/495282?ContentTypeID=1</link><pubDate>Tue, 23 Jul 2024 16:54:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c1f2b73-6edb-417e-8836-14d4c1f44988</guid><dc:creator>artfwo</dc:creator><description>[quote userid="2125" url="~/f/nordic-q-a/113312/getting-started-with-npm1300-and-an-rp2040-microcontroller/495197"]The buck convertets are powered from VSYS. You need to set the default voltage with RVSET2&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_npm1300/page/chapters/core_components/buck/doc/frontpage.html"&gt;https://docs.nordicsemi.com/bundle/ps_npm1300/page/chapters/core_components/buck/doc/frontpage.html&lt;/a&gt;[/quote]
&lt;p&gt;Thanks for the reply, I should have mentioned that I have RSET connected as follows:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/2364.Untitled1.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;With no load on VOUT2 I&amp;#39;m getting the following readings from the voltmeter (VSYS is 5V):&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:320px;max-width:240px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/480x640/__key/communityserver-discussions-components-files/4/1768.Untitled2.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;With the load it drops down to ~0.9V (VSYS is ~2.5V)&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:320px;max-width:240px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/480x640/__key/communityserver-discussions-components-files/4/Untitled3.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;And with the battery plugged in the voltage on VOUT2 goes back to 3.3v. After unplugging the battery later I still see +3.3v on VOUT2. Is there anything wrong with the way I&amp;#39;m using the PMIC here? Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting started with npm1300 and an RP2040 microcontroller</title><link>https://devzone.nordicsemi.com/thread/495197?ContentTypeID=1</link><pubDate>Tue, 23 Jul 2024 12:14:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:886e8ecf-08e7-457a-8b60-fc0be6266172</guid><dc:creator>ketiljo</dc:creator><description>[quote user=""]1. Can I use standard I2C protocol to request battery charge data from npm1300? Or should I rather use the npmx driver from &lt;a href="https://github.com/NordicSemiconductor/npmx"&gt;https://github.com/NordicSemiconductor/npmx&lt;/a&gt; ? Does npmx driver work with RPi Pico SDK? Are there any resources on using it with 3rd party SDKs?[/quote]
&lt;p&gt;Not sure how easy it is to use the npmx driver on anything else. The fuel gauge algorithm is running on the MCU so the driver is needed for this to work.&lt;/p&gt;
[quote user=""]2. With the battery unplugged, connecting USB power to npm1300-EK board won&amp;#39;t immediately supply power on VOUT2. If a battery is connected and disconnected later, VOUT2 would continue to power up RP2040. Does npm1300 require any extra settings to power the load from USB if a battery is disconnected or discharged?[/quote]
&lt;p&gt;The buck converters are powered from VSYS. You need to set the default voltage with RVSET2&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_npm1300/page/chapters/core_components/buck/doc/frontpage.html"&gt;https://docs.nordicsemi.com/bundle/ps_npm1300/page/chapters/core_components/buck/doc/frontpage.html&lt;/a&gt;&lt;/p&gt;
[quote user=""]3. Can I use SHPHLD as a trigger input for powering on/off the load completely? For my project I would like to have a single switch to power it off completely no matter if there&amp;#39;s still USB or battery power. Can I use any npm1300 features such as SHPHLD to implement this?[/quote]
&lt;p&gt;The nPM1300 will exit shipmode when VBUS is applied:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_npm1300/page/chapters/core_components/ship/doc/ship-mode.html"&gt;https://docs.nordicsemi.com/bundle/ps_npm1300/page/chapters/core_components/ship/doc/ship-mode.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can use the load switch for this:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_npm1300/page/chapters/core_components/loadsw/doc/frontpage.html#d172e41"&gt;https://docs.nordicsemi.com/bundle/ps_npm1300/page/chapters/core_components/loadsw/doc/frontpage.html#d172e41&lt;/a&gt;&amp;nbsp;max 100 mA though. You can control the load switch with a GPIO.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>