<?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>Un-Initializing I2C/TWI at runtime on nrf5340 with NCS SDK 1.9.1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90055/un-initializing-i2c-twi-at-runtime-on-nrf5340-with-ncs-sdk-1-9-1</link><description>Hello, 
 I am in the process of optimizing current consumption before we start production.. most things are where they should be. I would like to explore shutting down I2C/TWI when not needed and enable it only when needed.. I use device_get_binding and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Jul 2022 18:11:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90055/un-initializing-i2c-twi-at-runtime-on-nrf5340-with-ncs-sdk-1-9-1" /><item><title>RE: Un-Initializing I2C/TWI at runtime on nrf5340 with NCS SDK 1.9.1</title><link>https://devzone.nordicsemi.com/thread/378985?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2022 18:11:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15753153-222a-496f-98e5-67783b44c012</guid><dc:creator>sshenoy105</dc:creator><description>&lt;p&gt;no worries.. since I didn&amp;#39;t get any answer earlier, i had tried the PM APIs (I should have thought of them earlier) and they seem to work as expected.. thank you for confirming..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Un-Initializing I2C/TWI at runtime on nrf5340 with NCS SDK 1.9.1</title><link>https://devzone.nordicsemi.com/thread/378941?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2022 13:53:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e7b9d59-6f83-49c7-b325-cc2133fb83c5</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Hi, apologies for the late reply, we are always low on staff during July, so slower response times are expected.&lt;/p&gt;
&lt;p&gt;You should be able to add CONFIG_PM_DEVICE=y to your prj.conf and then call the power management api to suspend and resume the i2c:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;pm_device_action_run(i2c0, PM_DEVICE_ACTION_SUSPEND);

pm_device_action_run(i2c0, PM_DEVICE_ACTION_RESUME);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s some documentation on managing device power during runtime: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/zephyr/guides/pm/device_runtime.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/zephyr/guides/pm/device_runtime.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Un-Initializing I2C/TWI at runtime on nrf5340 with NCS SDK 1.9.1</title><link>https://devzone.nordicsemi.com/thread/377722?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2022 18:20:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6e8db3f-d9d3-4c2c-b556-d6ebcc65300c</guid><dc:creator>sshenoy105</dc:creator><description>&lt;p&gt;hello, is there anything else I can do/add to get a response ? thank you in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>