<?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 Master is  broken in SDK v1.4.x</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70104/spi-master-is-broken-in-sdk-v1-4-x</link><description>Hello, 
 After a long investigation I got to the conclusion that SPI master (spi3) has been broken in the SDK version 1.4.1. 
 It is working fine in V1.3.1 
 I have an application that communicates with Analog Devices MEMS, ADXL335, via SPI. 
 The application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Jan 2021 14:15:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70104/spi-master-is-broken-in-sdk-v1-4-x" /><item><title>RE: SPI Master is  broken in SDK v1.4.x</title><link>https://devzone.nordicsemi.com/thread/289247?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 14:15:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6432c51f-2a02-4765-be66-803c541261bf</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Sorry, I forgot to press enter between the uploads, and the naming wasn&amp;#39;t too good either, but spi_test.zip should contain the SPI master:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1280x640/__key/communityserver-discussions-components-files/4/pastedimage1610633678906v1.png" /&gt;&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: SPI Master is  broken in SDK v1.4.x</title><link>https://devzone.nordicsemi.com/thread/289241?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 14:02:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8f536bd-a5ce-482b-8635-38666d4b0f6b</guid><dc:creator>Danny Zadok</dc:creator><description>&lt;p&gt;Thanks Simon&lt;/p&gt;
&lt;p&gt;I do not see the master side, but only the salve in this example.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Danny&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI Master is  broken in SDK v1.4.x</title><link>https://devzone.nordicsemi.com/thread/288816?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2021 07:42:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82b99dfe-9331-4df6-85c6-7bd04396b482</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;The reason I linked to the sample&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/3366927a54986ad0ddf060d0e08ecc578adf11f0/samples/sensor/adxl362"&gt;samples/sensor/adxl362&lt;/a&gt;, is because it seems to use SPI CS and the SPI driver. It may seem like the sample doesn&amp;#39;t use the SPI driver, is because it is not the top layer, however if you look at the image under &lt;a href="https://devzone.nordicsemi.com/nordic/b/archives/posts/nrf-connect-sdk-tutorial---part-3-temporary#h68sk0f700b38zohpp166hdx31y30tjd"&gt;NCS Tutorial part 3--&amp;gt;Use the sensor drivers--&amp;gt;How it works--&amp;gt;The call stack&lt;/a&gt;, you can see that it does.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;However, a colleague just made an SPIM sample using SPI CS, he made an SPIS sample as well that you could test it with. I&amp;#39;ll upload both.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/spis_5F00_thread_5F00_test.zip"&gt;devzone.nordicsemi.com/.../spis_5F00_thread_5F00_test.zip&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7585.spi_5F00_test.zip"&gt;devzone.nordicsemi.com/.../7585.spi_5F00_test.zip&lt;/a&gt;&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: SPI Master is  broken in SDK v1.4.x</title><link>https://devzone.nordicsemi.com/thread/288411?ContentTypeID=1</link><pubDate>Mon, 11 Jan 2021 13:56:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c7d9d02-f3e6-48c3-b587-f0f2616df436</guid><dc:creator>Danny Zadok</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;How don&amp;#39;t know how this sample helps me. This sample based on a different driver not SPI.&lt;/p&gt;
&lt;p&gt;My claim is that SPI CS is not working in version 1.41 but it is working in version 1.3.1.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Danny&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI Master is  broken in SDK v1.4.x</title><link>https://devzone.nordicsemi.com/thread/288350?ContentTypeID=1</link><pubDate>Mon, 11 Jan 2021 10:57:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a90ace92-13a0-4950-a5c9-cfa9e7ce585f</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I don&amp;#39;t have any sensors with SPI at hand right now that I can test with, but have you looked at the sensor samples in &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/master/samples/sensor"&gt;ncs\v1.4.1\zephyr\samples\sensor&lt;/a&gt;, and use them as a reference how to&amp;nbsp;go about it. E.g. look at &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/3366927a54986ad0ddf060d0e08ecc578adf11f0/samples/sensor/adxl362"&gt;samples/sensor/adxl362&lt;/a&gt;, which comes with an &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/3366927a54986ad0ddf060d0e08ecc578adf11f0/samples/sensor/adxl362/boards/nrf52dk_nrf52832.overlay"&gt;nrf52832dk overlay file&lt;/a&gt; as well.&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: SPI Master is  broken in SDK v1.4.x</title><link>https://devzone.nordicsemi.com/thread/288079?ContentTypeID=1</link><pubDate>Fri, 08 Jan 2021 06:40:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41bc1d96-6779-4eda-9fce-d26ebf0bdab2</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Aah, okay. I was too quick. I&amp;#39;ll look into it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI Master is  broken in SDK v1.4.x</title><link>https://devzone.nordicsemi.com/thread/288075?ContentTypeID=1</link><pubDate>Fri, 08 Jan 2021 06:23:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acfb4d54-50d3-440b-884a-c6c4c12366be</guid><dc:creator>Danny Zadok</dc:creator><description>&lt;p&gt;Hi Simon&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;The loopback application is working. I already tested it in the past. This simple application uses MISO and MOSI lines only.&lt;/p&gt;
&lt;p&gt;It does not use GPIO as CS line. The problem is with the CS line as I wrote in my original ticket.&lt;/p&gt;
&lt;p&gt;Danny&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI Master is  broken in SDK v1.4.x</title><link>https://devzone.nordicsemi.com/thread/288074?ContentTypeID=1</link><pubDate>Fri, 08 Jan 2021 05:57:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2478fc4-2b8d-4623-a256-43c012720563</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I just tested an SPI loopback example in NCS v1.4.1 using SPI3 and nRF91 DK. It worked without problems, can you test it out and see if it works for you?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/spi_5F00_loopback.zip"&gt;devzone.nordicsemi.com/.../spi_5F00_loopback.zip&lt;/a&gt;&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>