<?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>SPIM DMA LIST MAXCNT change</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70549/spim-dma-list-maxcnt-change</link><description>Hi all, I am using SPIM with dma list triggered by gpiote. A gpio low-to-high event starts spim reading, and it works fine. However, I need to read different length at different spi register address. 
 The dma list examples I found always use constant</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Feb 2021 13:32:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70549/spim-dma-list-maxcnt-change" /><item><title>RE: SPIM DMA LIST MAXCNT change</title><link>https://devzone.nordicsemi.com/thread/293567?ContentTypeID=1</link><pubDate>Tue, 09 Feb 2021 13:32:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:333aa73a-0453-4954-a0b5-f85840a7d581</guid><dc:creator>June6</dc:creator><description>&lt;p&gt;Hi, squwal&lt;/p&gt;
&lt;p&gt;At present, I also have a project that needs to use SPI DMA to ensure the continuity of SPI receiving data. Gpiote interrupt is also used to trigger SPI read / write. Can you briefly provide the partial code of PPI connecting SPI and gpiote, and the partial code of setting SPI DMA read-write cache.&lt;/p&gt;
&lt;p&gt;Now I have finished the part of using PPI to connect SPI and gpiote. When gpiote is interrupted, an SPI callback can be generated.&lt;/p&gt;
&lt;p&gt;But I don&amp;#39;t know if my method is correct or not, and how to make MCU not participate in SPI reading and writing automatically by hardware DMA. I don&amp;#39;t know how to set it.&lt;/p&gt;
&lt;p&gt;I hope you can give me some advice to help me understand and solve this problem.&lt;/p&gt;
&lt;p&gt;Best regards！&lt;/p&gt;
&lt;p&gt;June6&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM DMA LIST MAXCNT change</title><link>https://devzone.nordicsemi.com/thread/289746?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 13:18:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c38c9867-48cf-4d83-a76b-68a0f5d3c5b2</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]I wonder how to change the maxcnt&amp;nbsp;&lt;span&gt;dynamicly&lt;/span&gt;&amp;nbsp;without CPU &lt;span&gt;intervention&lt;/span&gt;? [/quote]
&lt;p&gt;You cannot adjust the size without CPU intervention. ArrayList is a linear feature:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/easydma.html?cp=4_0_0_3_5_1#arraylist"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52840/easydma.html?cp=4_0_0_3_5_1#arraylist&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>