<?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>i2c_nrfx_twim power management in NCS 2.7.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119374/i2c_nrfx_twim-power-management-in-ncs-2-7-0</link><description>NCS 2.7.0 nrf52840 
 I noticed in i2c_nrfx_twim.c there are some calls to pm_device_runtime_get, while in another thread ( thread ) it was mentioned that Nordic is no longer supporting CONFG_PM_DEVICE. 
 The git history for i2c_nrfx_twim.c mentions that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Feb 2025 13:25:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119374/i2c_nrfx_twim-power-management-in-ncs-2-7-0" /><item><title>RE: i2c_nrfx_twim power management in NCS 2.7.0</title><link>https://devzone.nordicsemi.com/thread/525282?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2025 13:25:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f93d900-66a3-408f-9626-776fe39b9eff</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;The 110uW (30uA ?) is in System on or System OFF ? The current consumption in System ON depends on the peripheral and the activity. But I doubt that accessing the registers directly (nrfx) can save a few uA.&amp;nbsp;&lt;br /&gt;My suggestion is to use a &lt;a href="https://www.nordicsemi.com/Products/Development-hardware/Power-Profiler-Kit-2"&gt;PPK2 &lt;/a&gt;to check the actual idle current.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i2c_nrfx_twim power management in NCS 2.7.0</title><link>https://devzone.nordicsemi.com/thread/525169?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2025 23:00:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd56222e-fd1b-4ae4-81de-dcdbd0a7485e</guid><dc:creator>Anthony Ambuehl</dc:creator><description>&lt;p&gt;I tried PM_DEVICE_RUNTIME but it caused gpio-keys to break.&amp;nbsp; I think it was disabling the gpiote module during sleep.&amp;nbsp; For now I have replaced pm_device_runtime_get/put calls with nrfx_twim_enable/disable and appear to save around ~2uW of power.&lt;/p&gt;
&lt;p&gt;Our standby power is currently around 110 uW which is acceptable but I&amp;#39;m always looking for ways to shave a bit more off.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i2c_nrfx_twim power management in NCS 2.7.0</title><link>https://devzone.nordicsemi.com/thread/525050?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2025 12:43:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b12ef9a-1e9b-4f2f-9931-65eb0cb312d6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Anthony,&lt;/p&gt;
&lt;p&gt;My understanding is that what depreciated is the PM module not PM_DEVICE.&amp;nbsp;&lt;br /&gt;You can find CONFIG_PM_DEVICE is still used in our nrf samples in NCS v2.9 (for example in&amp;nbsp;\zephyr\samples\boards\nordic\system_off sample) and&amp;nbsp;&lt;span&gt;pm_device_* is used there.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Could you tell what&amp;#39;s the current consumption you have when you enter System ON idle and System OFF in your test (with pm_device APIs) ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>