<?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>SPI vs TWI  current consumption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20060/spi-vs-twi-current-consumption</link><description>Hello,
i am working on Low current consumption project.
i have one question. what will be the good option to use the SPI or TWI ?
who have less current consumption ? 
 i have sensor in both option TWI and SPI.now i need to consider the current consumption</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Mar 2017 12:55:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20060/spi-vs-twi-current-consumption" /><item><title>RE: SPI vs TWI  current consumption</title><link>https://devzone.nordicsemi.com/thread/78072?ContentTypeID=1</link><pubDate>Wed, 01 Mar 2017 12:55:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d008c11e-4759-4690-b36b-72072fb80aa7</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;The active base current should be similar for both TWI and SPI. So then it&amp;#39;s all about how fast you are able to transmit the bytes. SPI can go as fast as 8Mbps, so therefore the total current will be a lot less than with TWI which has a max speed of 400kbps. I guess it then depends on the max speed on the slave you are using.&lt;/p&gt;
&lt;p&gt;Other things you should be aware of is that the active current is also dependent on the pin capacitance, with this formula: &lt;code&gt;I = f * V * C&lt;/code&gt;. Where f is frequency, V is voltage, and C is capacitance. So with an 8 MHz SCK signal the capacitive load will have a significant impact on the current. A good PCB design is therefore critical. However, this will most likely not be more current than what you will gain with the faster speed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>