<?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>How to stop I2S transfer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81328/how-to-stop-i2s-transfer</link><description>Hi! 
 When reading the documentation of the I2S peripheral of the nRF52840, I don&amp;#39;t see how to stop the transfer after the last data block. Figure 2 only shows how to start it. Do I have to temporarily connect EVENTS_TXPTRUPD to TASKS_STOP using PPI?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Nov 2021 11:27:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81328/how-to-stop-i2s-transfer" /><item><title>RE: How to stop I2S transfer</title><link>https://devzone.nordicsemi.com/thread/337245?ContentTypeID=1</link><pubDate>Wed, 03 Nov 2021 11:27:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea191597-a6c8-42e3-8353-134036571284</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]Do I have to temporarily connect&amp;nbsp;EVENTS_TXPTRUPD to TASKS_STOP using PPI?[/quote]
&lt;p&gt;If you want the transfer to stop after the buffer has been filled then this is correct. Note, that you don&amp;#39;t have to stop the transfer to process the data as you can just ready the next buffer . See the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/i2s_example_loopback.html?cp=8_1_4_6_15"&gt;I2S example &lt;/a&gt;in the SDK.&lt;/p&gt;
[quote user=""]Additional question: Is&amp;nbsp;RXTXD.MAXCNT also double buffered and can be written together with TXD.PTR? This would make it possible to send data blocks of varying size.[/quote]
&lt;p&gt;No, only the TX and RX are double buffered.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>