<?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>Turn off TWI and GPIO</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70121/turn-off-twi-and-gpio</link><description>Hi, 
 How do I configure Zephyr to turn off TWI and GPIO while in sleep mode? Once I enable those, idle power consumption doubles. I tried using device_pm_enable() on initialization , and then device_pm_get_sync() and device_pm_put() every time i use</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Jan 2021 15:19:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70121/turn-off-twi-and-gpio" /><item><title>RE: Turn off TWI and GPIO</title><link>https://devzone.nordicsemi.com/thread/287557?ContentTypeID=1</link><pubDate>Tue, 05 Jan 2021 15:19:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acda3428-4168-450b-b5f5-3dcaf89e66c0</guid><dc:creator>plotkin1996</dc:creator><description>&lt;p&gt;Never mind, it did turn off automatically, but my interval between TWI usage events was too small (5 seconds) and it looks like Zephyr doesn&amp;#39;t enter full power save if a timer event is expected so soon. Increasing the interval brought consumption down right after the timer event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>