<?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>nRF9160 SPI problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68672/nrf9160-spi-problem</link><description>Hi, 
 I have looked at the different post regarding the nRF9160 and SPI, but I can not get it to work on our custom board. 
 
 Attached the board definition files. 
 
 Here is the problem: 
 If the prj.conf looks like above: 
 I will get an python error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Dec 2020 08:44:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68672/nrf9160-spi-problem" /><item><title>RE: nRF9160 SPI problem</title><link>https://devzone.nordicsemi.com/thread/282603?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 08:44:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c38ef928-526d-4290-86f6-3112f9e17b20</guid><dc:creator>dhandzic</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I have found the problem! It is in the q3iot_common.dts. It seems SES or Zephyr or whatever uses this file is very sensitive! One blank too much before nrf-spim!!&lt;/p&gt;
&lt;p&gt;This works:&lt;/p&gt;
&lt;p&gt;&amp;amp;spi3 {&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;compatible = &amp;quot;nordic,nrf-spim&amp;quot;;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;status = &amp;quot;okay&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;sck-pin = &amp;lt;19&amp;gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;mosi-pin = &amp;lt;20&amp;gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;miso-pin = &amp;lt;21&amp;gt;;&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;This does not work:&lt;/p&gt;
&lt;p&gt;&amp;amp;spi3 {&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;compatible = &amp;quot;nordic, nrf-spim&amp;quot;;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;status = &amp;quot;okay&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;sck-pin = &amp;lt;19&amp;gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;mosi-pin = &amp;lt;20&amp;gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;miso-pin = &amp;lt;21&amp;gt;;&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;Case solved!&lt;/p&gt;
&lt;p&gt;Dirk&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 SPI problem</title><link>https://devzone.nordicsemi.com/thread/282126?ContentTypeID=1</link><pubDate>Thu, 26 Nov 2020 14:56:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a732dc-0df3-4b33-8f4a-ed72be93f589</guid><dc:creator>dhandzic</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;here comes the complete folder:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Q3IoT_5F00_project_5F00_folder.zip"&gt;devzone.nordicsemi.com/.../Q3IoT_5F00_project_5F00_folder.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Dirk&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 SPI problem</title><link>https://devzone.nordicsemi.com/thread/282116?ContentTypeID=1</link><pubDate>Thu, 26 Nov 2020 14:35:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34bd6d3e-483e-485c-9bf9-40a462059724</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Could you upload your whole application? There are some source files missing, and I&amp;#39;m not able to compile it.&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>