<?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>nrf5340 zephyr CONFIG_SPI=y causes increased power consumption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106204/nrf5340-zephyr-config_spi-y-causes-increased-power-consumption</link><description>Hello, 
 I was investigating some sleep power consumption issues and came across CONFIG_SPI=y causing the nrf5340&amp;#39;s sleep current increasing. I was testing this on the nrf7002 DK with code that consisted solely of a infinite loop of __WFI(). Power profiling</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Dec 2023 22:11:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106204/nrf5340-zephyr-config_spi-y-causes-increased-power-consumption" /><item><title>RE: nrf5340 zephyr CONFIG_SPI=y causes increased power consumption</title><link>https://devzone.nordicsemi.com/thread/458839?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2023 22:11:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15bc8ec4-0351-491e-9826-ab03db7f8647</guid><dc:creator>luckyyorange</dc:creator><description>&lt;p&gt;Great, thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 zephyr CONFIG_SPI=y causes increased power consumption</title><link>https://devzone.nordicsemi.com/thread/458255?ContentTypeID=1</link><pubDate>Thu, 30 Nov 2023 10:22:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eba4fb69-d742-41e3-bc4e-a10f981ed400</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You need to reset the SPI pins back to their default state after disabling it to prevent them from floating. Try disabling the SPI and set &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/gpio.html?cp=5_0_0_5_8_1_9#register.PIN_CNF-0-31"&gt;PIN_CNF&lt;/a&gt;[n] to it&amp;#39;s default value of 2, where n is the pin number for SCLK, CS, MISO, and MOSI.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>