<?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>Disabling SPI on Thingy91</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71557/disabling-spi-on-thingy91</link><description>Hey Nordic Team, 
 I am trying to disable the SPI module to optimize my project and reduce flash usage. The Zephyr optimization guide refers to disabling unused peripherals so I attempted to set CONFIG_SPI=n in my project configuration (prj.conf). From</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Feb 2021 20:03:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71557/disabling-spi-on-thingy91" /><item><title>RE: Disabling SPI on Thingy91</title><link>https://devzone.nordicsemi.com/thread/295221?ContentTypeID=1</link><pubDate>Thu, 18 Feb 2021 20:03:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07fc675e-0fed-4c48-ba69-b375253f7005</guid><dc:creator>Cody</dc:creator><description>&lt;p&gt;Thanks for the insight &lt;a href="https://devzone.nordicsemi.com/members/simon"&gt;Simon Ferres&lt;/a&gt;, I think there was something else causing an issue and it appeared as though it was the SPI configuration initially.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disabling SPI on Thingy91</title><link>https://devzone.nordicsemi.com/thread/294577?ContentTypeID=1</link><pubDate>Tue, 16 Feb 2021 10:59:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b6142ec-66c2-4158-978b-5e7aab783f05</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;By the way, unless you already know about it, running&amp;nbsp;&lt;code&gt;ninja rom_report&lt;/code&gt; inside the build folder of your sample gives you a really nice overview of how much memory&amp;nbsp;drivers and libraries of your sample occupies.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disabling SPI on Thingy91</title><link>https://devzone.nordicsemi.com/thread/294456?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2021 16:59:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b223a7e5-67ed-4c3c-b5b0-f59cf0080850</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I&amp;#39;m not able to reproduce this, I set&amp;nbsp;&lt;span&gt;CONFIG_SPI&lt;/span&gt;&lt;span&gt;=n in both the hello_world as well as the blinky example, and they worked&lt;/span&gt;. By the way, the configuration&amp;nbsp;CONFIG_SPI defaults to &amp;#39;n&amp;#39; with an ontouched prj.conf, I confirmed this by checking the file &lt;em&gt;&amp;lt;ncs location&amp;gt;\zephyr\samples\basic\blinky\&amp;lt;build folder&amp;gt;\zephyr\.config.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Could you tell me what sample you&amp;#39;re using?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disabling SPI on Thingy91</title><link>https://devzone.nordicsemi.com/thread/294217?ContentTypeID=1</link><pubDate>Fri, 12 Feb 2021 15:39:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0508d6c-9ba7-4e17-ab4c-66582683c639</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure why this is. I know that the&amp;nbsp;adxl372 and the adxl362 are enabled by default in the Device Tree (see nrf\boards\arm\thingy91_nrf9160\thingy91_nrf9160_common.dts) but I still don&amp;#39;t see why it fails when CONFIG_SPI=n.&lt;/p&gt;
&lt;p&gt;What sample do you use? Are you able to debug the Thingy:91 or &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/71373/thingy91-putty-console-output/293519#293519"&gt;get some logs&lt;/a&gt; to see exactly where it fails?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have access to a 10-pin cable to test the Thingy:91 at the moment, but will get ahold of one and test it on Monday/Tuesday.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>