<?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>Read registers out of npm1300 from nrf sdk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114300/read-registers-out-of-npm1300-from-nrf-sdk</link><description>I have a board with the npm1300 and a nrf58240. I&amp;#39;m trying to read some status registers out of the npm1300 to debug some trouble we are having with it. It doesn&amp;#39;t seem to recover from battery voltages around 2.6V -2.8V so I want to see the errors and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 04 May 2025 17:36:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114300/read-registers-out-of-npm1300-from-nrf-sdk" /><item><title>RE: Read registers out of npm1300 from nrf sdk</title><link>https://devzone.nordicsemi.com/thread/533820?ContentTypeID=1</link><pubDate>Sun, 04 May 2025 17:36:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bb1e959-bb75-40a9-a47b-27e58839af06</guid><dc:creator>cjh39</dc:creator><description>&lt;p&gt;I&amp;#39;m also trying to communicate with the npm1300-CAAA, were you able to get any response from the I2C communications ? We are simply trying to read the status register, the battery voltage, and need to put it into ship mode. Our device is running, so I dont think the npm1300-CAAA is in some sort of low power mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read registers out of npm1300 from nrf sdk</title><link>https://devzone.nordicsemi.com/thread/501095?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2024 08:20:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2928cb8-3bda-4833-9037-17ada0016343</guid><dc:creator>dacr</dc:creator><description>&lt;p&gt;Hi! Is npm1300 powered by anything else apart from battery? If not, as soon as battery voltage goes below POF(2.7V typ), nPM1300 will reset, and will not power back up until VBAT&amp;gt;VBATPOR (2.75V typ), hence any I2C read would return 0 as data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read registers out of npm1300 from nrf sdk</title><link>https://devzone.nordicsemi.com/thread/501035?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2024 17:12:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbbb2a48-21ff-460e-ab63-9c180d45c27a</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Please take a look at &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.6.99-ncs2/drivers/mfd/mfd_npm1300.c"&gt;&lt;code&gt;zephyr/drivers/mfd/mfd_npm1300.c&lt;/code&gt;&lt;/a&gt; for more details.&lt;/p&gt;
&lt;p&gt;For example:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;int mfd_npm1300_reg_write(const struct device *dev, uint8_t base, uint8_t offset, uint8_t data)
{
	const struct mfd_npm1300_config *config = dev-&amp;gt;config;
	uint8_t buff[] = {base, offset, data};

	return i2c_write_dt(&amp;amp;config-&amp;gt;i2c, buff, sizeof(buff));
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And in &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.6.99-ncs2/drivers/regulator/regulator_npm1300.c"&gt;&lt;code&gt;zephyr/drivers/regulator/regulator_npm1300.c&lt;/code&gt;&lt;/a&gt; you can find the list of some offset defines as well.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read registers out of npm1300 from nrf sdk</title><link>https://devzone.nordicsemi.com/thread/500488?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2024 21:51:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1da8004a-92e6-495b-aaaf-b2cb78d8c426</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I will look more into it and get back to you tomorrow. You can also take a look into the PMIC drivers, for example by debugging one of the nPM1300 samples.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>