<?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>TWI/TWIM enable time on nRF52xxx</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42687/twi-twim-enable-time-on-nrf52xxx</link><description>Hi, 
 
 I would like to disable TWIM peripheral when not needed to save some power and enable it just before it&amp;#39;s needed. Is there any delay after writing to NRF_TWIMx-&amp;gt;ENABLE register which can be significant when enabling/disabling TWIM frequently or</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Jan 2019 09:10:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42687/twi-twim-enable-time-on-nrf52xxx" /><item><title>RE: TWI/TWIM enable time on nRF52xxx</title><link>https://devzone.nordicsemi.com/thread/166414?ContentTypeID=1</link><pubDate>Fri, 18 Jan 2019 09:10:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a334009e-7e11-45b6-bddc-2ce6fe6aa8aa</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;&amp;quot;&lt;span&gt;I would like to disable TWIM peripheral when not needed to save some power and enable it just before it&amp;#39;s needed. Is there any delay after writing to NRF_TWIMx-&amp;gt;ENABLE register which can be significant when enabling/disabling TWIM frequently or it does not matter?&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I do not think there&amp;#39;s more than a few clock cycles of latency from the time you set the ENABLE register until you can use the peripheral.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&amp;quot;&lt;span&gt;Does it actually make sense to use TWIM in such way for power saving?&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yes. From PS v1.4:&lt;br /&gt;&lt;br /&gt;33.6 Low power&lt;br /&gt;When putting the system in low power and the peripheral is not needed, lowest possible power consumption&lt;br /&gt;is achieved by stopping, and then disabling the peripheral.&lt;br /&gt;The STOP task may not be always needed (the peripheral might already be stopped), but if it is sent,&lt;br /&gt;software shall wait until the STOPPED event was received as a response before disabling the peripheral&lt;br /&gt;through the ENABLE register.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>