<?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>Configuring nRF52840 to Use SPI without DMA on Zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116182/configuring-nrf52840-to-use-spi-without-dma-on-zephyr</link><description>Dear Nordic Support Team, 
 I am working with the nRF52840 and need to configure the SPI peripheral in Zephyr to operate without DMA. 
 I’ve encountered a few problems: 
 
 To disable DMA, I tried setting compatible = &amp;quot;nordic,nrf-spi&amp;quot; for the spi3 node</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Nov 2024 08:10:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116182/configuring-nrf52840-to-use-spi-without-dma-on-zephyr" /><item><title>RE: Configuring nRF52840 to Use SPI without DMA on Zephyr</title><link>https://devzone.nordicsemi.com/thread/510031?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2024 08:10:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c684a15d-b7ce-4240-adaf-62a8680becda</guid><dc:creator>noy_e</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for clarifying I was curious why it didn&amp;#39;t compile!&lt;/p&gt;
&lt;p&gt;The reason for me asking was that I needed to lower the power consumption that is caused by&amp;nbsp;the EasyDMA,&lt;/p&gt;
&lt;p&gt;but I realized I can also solve it by using PM and disable the spi instance when it&amp;#39;s not in use.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Noy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring nRF52840 to Use SPI without DMA on Zephyr</title><link>https://devzone.nordicsemi.com/thread/509897?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2024 13:28:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d497e50-9220-407f-9aec-11fe434129e1</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Okay, so the issue seems to be because you&amp;#39;re using the SPIM3 instance without EasyDMA. Please note that it&amp;#39;s only the SPI0-SPI2 instances that can be used without EasyDMA. The last instance only exists as SPIM3.&lt;/p&gt;
&lt;p&gt;But please note that these SPI0-SPI2 instances are also deprecated. Is there a specific reason you don&amp;#39;t want to use EasyDMA in your application?&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: Configuring nRF52840 to Use SPI without DMA on Zephyr</title><link>https://devzone.nordicsemi.com/thread/509776?ContentTypeID=1</link><pubDate>Sun, 10 Nov 2024 05:56:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0295e43-b839-49b4-bd7f-b3ddcc77c6f6</guid><dc:creator>noy_e</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;It says&amp;nbsp;/soc/spi@4002f000 (it&amp;#39;s spi3)&lt;/p&gt;
&lt;p&gt;Thank you for your help,&lt;/p&gt;
&lt;p&gt;Noy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring nRF52840 to Use SPI without DMA on Zephyr</title><link>https://devzone.nordicsemi.com/thread/509625?ContentTypeID=1</link><pubDate>Fri, 08 Nov 2024 09:20:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ce170b1-f2ca-4c77-8217-858a72ffdc53</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The undefined reference to&amp;nbsp;&lt;span&gt;&lt;strong&gt;__device_dts_ord_139&lt;/strong&gt; will have a reference point in&amp;nbsp;&lt;strong&gt;build\zephyr\include\generated\devicetree_generated.h.&lt;/strong&gt; In there, you should see a long list of drivers. What does it say next to 139? It could be SPI3, but not necessarily.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>