<?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>how to reduce power after enable twi?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55934/how-to-reduce-power-after-enable-twi</link><description>nRF51822 
 S130 
 SDK11.0 
 The power consumption immediately going up high to 1MAH once I enable TWI using this code: 
 NRF_TWI0-&amp;gt;ENABLE = TWI_ENABLE_ENABLE_Enabled &amp;lt;&amp;lt; TWI_ENABLE_ENABLE_Pos; 
 
 Our product requires the power consumption under 0.5MAH</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Jan 2020 16:12:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55934/how-to-reduce-power-after-enable-twi" /><item><title>RE: how to reduce power after enable twi?</title><link>https://devzone.nordicsemi.com/thread/231481?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 16:12:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be526ed2-1b47-43cf-b69c-ce267eee828e</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, you need to stop the transaction after the data is sent, you do not need to uninitialize the TWI driver. This simple example shows how to transmit a single byte, and then stop the transaction. The current will be 1mA during the transaction, and drop down to normal idle current afterwards.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;int main(void)
{
    NRF_TWI0-&amp;gt;PSELSCL = 2;
    NRF_TWI0-&amp;gt;PSELSDA = 1;
    NRF_TWI0-&amp;gt;FREQUENCY = 0x01980000;
    NRF_TWI0-&amp;gt;ADDRESS = 0x54;
    NRF_TWI0-&amp;gt;ENABLE = TWI_ENABLE_ENABLE_Enabled &amp;lt;&amp;lt; TWI_ENABLE_ENABLE_Pos;
    NRF_TWI0-&amp;gt;TASKS_STARTTX = 1;
    NRF_TWI0-&amp;gt;TXD = 0xA1;
    nrf_delay_ms(1000);
    NRF_TWI0-&amp;gt;TASKS_STOP =1;
    while (true)
    {
        __WFE();
    }
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to reduce power after enable twi?</title><link>https://devzone.nordicsemi.com/thread/229741?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2020 04:39:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b45bec20-8ca6-4ad5-8e04-a3371746d4de</guid><dc:creator>kfcube</dc:creator><description>&lt;p&gt;But I do need use TWI. My question is, how to reduce current when using TWI? Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to reduce power after enable twi?</title><link>https://devzone.nordicsemi.com/thread/229422?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2020 13:43:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3799c83-d419-4d58-a690-7a63f042a996</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, you can disable the TWI from the driver. Please have a look here: &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/hardware_driver_twi.html?cp=7_5_11_2_16_0#hardware_driver_twi_init"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/hardware_driver_twi.html?cp=7_5_11_2_16_0#hardware_driver_twi_init&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>