<?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>[nRF52832] Not getting the expected results using zephyr SPI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113615/nrf52832-not-getting-the-expected-results-using-zephyr-spi</link><description>Hi, 
 I am using the NRF52832 DK version 3.0.0 with a UWB module: the DWM1000 from Qorvo. 
 I was struggling with the SPI communication to get the Chip ID by sending a simple 0x00 byte through the MOSI line. I have tried with nrfx_spi alone, but 
 no</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Aug 2024 06:03:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113615/nrf52832-not-getting-the-expected-results-using-zephyr-spi" /><item><title>RE: [nRF52832] Not getting the expected results using zephyr SPI</title><link>https://devzone.nordicsemi.com/thread/497720?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 06:03:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4307ad20-3af5-45b9-87fe-99b1860f3b8f</guid><dc:creator>EmbeddedRick</dc:creator><description>&lt;p&gt;Hi, Simonr&lt;/p&gt;
&lt;p&gt;Thank you so much for your rappid reply. Fortunately, I figured out. My first&amp;nbsp;suspicion was related to the code, but then it turns out to be a hardware problem sort to say. I tried connecting the SPI pins to a different port (using &amp;amp;spi1 default pins instead of the ones assigned to &amp;amp;spi2, which are the ones connecting to the board directly). Below I show my set up, it is a total mess but the effort worth it. Now, I am able to communicate succesfully using SPI. For anyone reaching this thread, you can check the example code for communicating with this Qorvo module using zephyr in my github:&amp;nbsp;&lt;a id="" href="https://github.com/EmbeddedRick/NRF52832_deca1000_SPI.git"&gt;https://github.com/EmbeddedRick/NRF52832_deca1000_SPI.git&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1723442243827v1.jpeg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best, regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Rick&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF52832] Not getting the expected results using zephyr SPI</title><link>https://devzone.nordicsemi.com/thread/496819?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2024 13:13:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d638aa9-9a94-4b19-bca2-df3c83b62361</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;It seems like you&amp;#39;re just reading an empty buffer here, so you should enable some logging to first verify that you&amp;#39;re actually able to connect to the Qorvo device serially and initialize it properly. We have various SPI samples available in the NCS for reference: &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples.html&lt;/a&gt;&amp;nbsp;&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>