<?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 problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61400/spi-master-problem</link><description>Hi, 
 
 I am using nrf52833 EVB as an SPI master. The data is sent properly and well-received at the slave, however, I have a problem with the data received. 
 The problem is that every second transaction I get the wrong data. For example if the slave</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 May 2020 08:29:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61400/spi-master-problem" /><item><title>RE: SPI master problem</title><link>https://devzone.nordicsemi.com/thread/250110?ContentTypeID=1</link><pubDate>Fri, 15 May 2020 08:29:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fc37ea8-fb8a-479e-ad2a-7296a1edf250</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You can make the nrf_drv_spi driver use legacy SPI by setting&amp;nbsp;&lt;span&gt;SPIx_USE_EASY_DMA&amp;nbsp;config to 0 in your sdk_config.h file:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;q&amp;gt; SPI0_USE_EASY_DMA - Use EasyDMA

#ifndef SPI0_USE_EASY_DMA
#define SPI0_USE_EASY_DMA 0
#endif&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you do this for all the instances, you should be able to remove the nrfx_spim.c file from the project.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI master problem</title><link>https://devzone.nordicsemi.com/thread/250108?ContentTypeID=1</link><pubDate>Fri, 15 May 2020 08:27:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d50e4d7-4d6b-41a0-bae9-2bd4ecef8b3a</guid><dc:creator>awneil</dc:creator><description>[quote userid="90345" url="~/f/nordic-q-a/61400/spi-master-problem/250098"]Can you instruct me on how to use the&amp;nbsp;SPI module and not the SPIM module[/quote]
&lt;p&gt;Have you looked at the SDK examples ?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/spi_master_example.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/spi_master_example.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/nrfx_spim_example.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/nrfx_spim_example.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI master problem</title><link>https://devzone.nordicsemi.com/thread/250098?ContentTypeID=1</link><pubDate>Fri, 15 May 2020 08:11:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edca6b14-fdd4-4aa4-8531-93a8331caca5</guid><dc:creator>amitash</dc:creator><description>&lt;p&gt;I am using the&amp;nbsp;&lt;span&gt;nRF52832 (typo in the message).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you instruct me on how to use the&amp;nbsp;SPI module and not the SPIM module?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I guess that the changes are at the sdk_config.h file in the example but I can not get it to work.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI master problem</title><link>https://devzone.nordicsemi.com/thread/249955?ContentTypeID=1</link><pubDate>Thu, 14 May 2020 12:24:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67aaa32a-46cf-49dd-a7bb-3a910f4f07e8</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you using&amp;nbsp;&lt;span&gt;nRF52833&amp;nbsp;or nRF52832, your description and Tags do not match. If using nRF52832, there is an &lt;a href="https://infocenter.nordicsemi.com/topic/errata_nRF52832_Rev2/ERR/nRF52832/Rev2/latest/anomaly_832_58.html"&gt;errata&lt;/a&gt; that could&amp;nbsp;be relevant.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI master problem</title><link>https://devzone.nordicsemi.com/thread/249942?ContentTypeID=1</link><pubDate>Thu, 14 May 2020 11:59:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bb4c49a-be08-4eb5-95a6-38e0dbc941d6</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;have you used a scope or analyser to see what&amp;#39;s actually happening on the wires? and to compare that against your &amp;quot;working&amp;quot; RPi case?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>