<?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>WM8960 I2S + EasyDMA</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85032/wm8960-i2s-easydma</link><description>Hi, 
 I am trying to interface WM8960 CODEC with nRF52832 using (I2S and I2C) . 
 I am able to communicate with IC with TWI 
 I want to transmit the const uint16_t wavedata[] = {...........} which is greater than 50000 data . 
 
 I have tested this file</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Feb 2022 09:41:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85032/wm8960-i2s-easydma" /><item><title>RE: WM8960 I2S + EasyDMA</title><link>https://devzone.nordicsemi.com/thread/354749?ContentTypeID=1</link><pubDate>Thu, 24 Feb 2022 09:41:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee05c573-51f5-4182-a369-e95108d4a7f6</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]&lt;p&gt;I have tested this file with STM using the function &lt;strong&gt;HAL_I2S_Transmit_DMA(&amp;amp;hi2s1,CurrentPos ,(uint16_t)(DMA_MAX(AudioRemSize));&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I want to use I2s transmit in nrf52&lt;/p&gt;
&lt;p&gt;How to enable easyDMA here. and sending the data with the desired size;&lt;/p&gt;[/quote]
&lt;p&gt;Please see &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/i2s_example_loopback.html"&gt;the I2S example for a demonstration&lt;/a&gt; of how to use the I2S peripheral.&lt;br /&gt;I would recommend that you use nrfx I2S driver instead of the HAL functions directly.&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/i2s.html#concept_gq4_jly_vr"&gt;The I2S peripheral always uses easyDMA&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>