<?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 very high power consumption with SDK14.2.0 but low with SDK12.3.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/31236/spi-very-high-power-consumption-with-sdk14-2-0-but-low-with-sdk12-3-0</link><description>Hi, 
 SPI use with SDK14.2.0 leads to very high power consumption (around 400 &amp;#181;A) on nRF52832 (QFAA). The same piece of code running with SDK12.3.0 has much lower power consumption (below 10&amp;#181;A). 
 
 Could you please investigate this issue ? 
 Thanks in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 10 Mar 2018 11:07:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/31236/spi-very-high-power-consumption-with-sdk14-2-0-but-low-with-sdk12-3-0" /><item><title>RE: SPI very high power consumption with SDK14.2.0 but low with SDK12.3.0</title><link>https://devzone.nordicsemi.com/thread/123776?ContentTypeID=1</link><pubDate>Sat, 10 Mar 2018 11:07:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fd066e9-090a-41ff-bb69-6e8113e12c5f</guid><dc:creator>Joris Roussel</dc:creator><description>&lt;p&gt;Happy for having raised a common issue :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI very high power consumption with SDK14.2.0 but low with SDK12.3.0</title><link>https://devzone.nordicsemi.com/thread/123775?ContentTypeID=1</link><pubDate>Sat, 10 Mar 2018 09:44:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd9f3d55-53b8-45c6-83f0-436a019d7ba5</guid><dc:creator>Tarun</dc:creator><description>&lt;p&gt;Thanks Joris.&lt;/p&gt;
&lt;p&gt;This worked for me as well &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI very high power consumption with SDK14.2.0 but low with SDK12.3.0</title><link>https://devzone.nordicsemi.com/thread/123498?ContentTypeID=1</link><pubDate>Thu, 08 Mar 2018 16:33:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f8a474e-7347-4bd0-ab97-76251fe8d2be</guid><dc:creator>Joris Roussel</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;That makes sense. Thanks for handling this case&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI very high power consumption with SDK14.2.0 but low with SDK12.3.0</title><link>https://devzone.nordicsemi.com/thread/123496?ContentTypeID=1</link><pubDate>Thu, 08 Mar 2018 16:24:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93945f7d-7380-4e45-a8f3-624966308ec3</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Seems you have identified the issue then, likely the MISO pin is pulled low by the slave spi in this case, thereby there is a leakage current through the internal pull-up resistor on-chip. The reason the internal pull-up have been introduced on newer SDK is to make sure that the pin doesn&amp;#39;t float, but do have a defined level when not in use. Floating input pins can create a range of excessive current consumption issues over time, so having a pull up (or pull Down is likely better in this case) when not in use is a good idea in general.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI very high power consumption with SDK14.2.0 but low with SDK12.3.0</title><link>https://devzone.nordicsemi.com/thread/123372?ContentTypeID=1</link><pubDate>Thu, 08 Mar 2018 09:07:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cc75ec5-a779-4a90-a23d-e6ad6f16eb7b</guid><dc:creator>Joris Roussel</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;The higher power consumption comes from the pullup on MISO pin. On SDK 12.3.0, the pin is always configured with no pullup. On SDK 14.2.0, the pullup is configurable (NRF_SPI_DRV_MISO_PULLUP_CFG, which was set to 1 in my sdk_config). I set it to 0, power consumption is now below 10&amp;micro;A.&lt;/p&gt;
&lt;p&gt;Why this pullup is drawing so much current ?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Joris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>