<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic I2S data transfer via DMA in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/I2S-data-transfer-via-DMA/m-p/1802718#M3603</link>
    <description>&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;HW: S32K144 eval board&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I am using S32K144 with S32 design studio IDE. I want to transfer I2S(FlexIO) data with the help of DMA but don't know How can I configure. mainly I want to send continuous data on I2S.&lt;BR /&gt;I need help to implement logic for same. I go through example project of DMA but in that only transferring virtual to one buffer to another.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please arrange a call so I can discuss for implementation help or share sample code which can transfer data via DMA over I2S.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohit&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2024 13:57:22 GMT</pubDate>
    <dc:creator>Mohit_Manvar</dc:creator>
    <dc:date>2024-02-06T13:57:22Z</dc:date>
    <item>
      <title>I2S data transfer via DMA</title>
      <link>https://community.nxp.com/t5/S32-SDK/I2S-data-transfer-via-DMA/m-p/1802718#M3603</link>
      <description>&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;HW: S32K144 eval board&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I am using S32K144 with S32 design studio IDE. I want to transfer I2S(FlexIO) data with the help of DMA but don't know How can I configure. mainly I want to send continuous data on I2S.&lt;BR /&gt;I need help to implement logic for same. I go through example project of DMA but in that only transferring virtual to one buffer to another.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please arrange a call so I can discuss for implementation help or share sample code which can transfer data via DMA over I2S.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohit&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 13:57:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/I2S-data-transfer-via-DMA/m-p/1802718#M3603</guid>
      <dc:creator>Mohit_Manvar</dc:creator>
      <dc:date>2024-02-06T13:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: I2S data transfer via DMA</title>
      <link>https://community.nxp.com/t5/S32-SDK/I2S-data-transfer-via-DMA/m-p/1802830#M3604</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/223357"&gt;@Mohit_Manvar&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Hope you are doing well! Please help me with more details about your desired implementation. I see that you added S32 SDK as a label, are you using SDK or RTD for drivers? Please specify the version as well.&lt;/P&gt;
&lt;P&gt;If you are using RTD, there is a chapter on RTD_I2S_UM named&amp;nbsp;&lt;STRONG&gt;3.6.3 I2s over SAI DMA transfer&amp;nbsp;&lt;/STRONG&gt;which include some driver usage and configuration tips for I2S.&lt;/P&gt;
&lt;P&gt;As for the call, I apologize for any inconveniences this may cause, but this o&lt;SPAN&gt;pen forum is only for messages/posts.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;BR /&gt;Julián&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 17:16:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/I2S-data-transfer-via-DMA/m-p/1802830#M3604</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-02-06T17:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: I2S data transfer via DMA</title>
      <link>https://community.nxp.com/t5/S32-SDK/I2S-data-transfer-via-DMA/m-p/1805063#M3609</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm using RTM 4.0.3 for example projects along with S32Design studio v3.4.&lt;BR /&gt;I want to transfer data over DMA but don't know what to be configured exactly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need small helping reply.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Mohit&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 04:00:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/I2S-data-transfer-via-DMA/m-p/1805063#M3609</guid>
      <dc:creator>Mohit_Manvar</dc:creator>
      <dc:date>2024-02-12T04:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: I2S data transfer via DMA</title>
      <link>https://community.nxp.com/t5/S32-SDK/I2S-data-transfer-via-DMA/m-p/1805482#M3611</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/223357"&gt;@Mohit_Manvar&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can look into the I2S Example included in the RTD 4.0.0:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_0-1707770664569.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/262865i9C7E97648CF2E184/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_0-1707770664569.png" alt="Julin_AragnM_0-1707770664569.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The configuration requires for the&amp;nbsp;DMA module has to be initialized prior to usage in DMA mode, as well as&amp;nbsp;being allocated by the application.&lt;/P&gt;
&lt;P&gt;In interrupt mode, if mux line is enabled then user must turn on only one bit in ChannelEnable, which will be the data line to output data. Number of data buffers to be muxed is specified in ChannelCount field.&lt;/P&gt;
&lt;P&gt;In DMA mode, if mux line is enabled then user must turn on number of bits equal to number of data buffers to be muxed. The data lines corresponding to these bits will output the same as each other.&lt;/P&gt;
&lt;P&gt;Also in DMA mode, if a mux mode is selected, ChannelEnable must be turned on from bit 0, and immediately aboves (for example turning on bit 0 and bit 2 is not a correct configuration).&lt;/P&gt;
&lt;P&gt;You can find some pointers for I2S FlexIO DMA transfer in this community post:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/S32K3-S32DS3-5-I2S-demo-by-FlexIO-with-DMA/m-p/1673178" target="_blank"&gt;S32K3 S32DS3.5 I2S demo by FlexIO with DMA - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 20:51:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/I2S-data-transfer-via-DMA/m-p/1805482#M3611</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-02-12T20:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: I2S data transfer via DMA</title>
      <link>https://community.nxp.com/t5/S32-SDK/I2S-data-transfer-via-DMA/m-p/1806308#M3615</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;As I already mentioned that I'm not using RTD. I'm using RTM&amp;nbsp; so I have limited options of examples.&lt;/P&gt;&lt;P&gt;also in parallel can you check for bare-metal code to transmit data via I2S over DMA?&lt;/P&gt;&lt;P&gt;I already gone through following examples but didn't find anything helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohit_Manvar_0-1707892641637.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/263069i51B92F72E792A919/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mohit_Manvar_0-1707892641637.png" alt="Mohit_Manvar_0-1707892641637.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mohit &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 06:37:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/I2S-data-transfer-via-DMA/m-p/1806308#M3615</guid>
      <dc:creator>Mohit_Manvar</dc:creator>
      <dc:date>2024-02-14T06:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: I2S data transfer via DMA</title>
      <link>https://community.nxp.com/t5/S32-SDK/I2S-data-transfer-via-DMA/m-p/1808787#M3619</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/223357"&gt;@Mohit_Manvar&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I apologize for the misunderstanding. Using RTM you can look inside the Design Studio folder path:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;C:\NXP\S32DS.3.4\S32DS\software\S32SDK_S32K1XX_RTM_4.0.3\doc&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;You can look into chapter &lt;STRONG&gt;16.53 FlexIO I2S Driver&amp;nbsp;&lt;/STRONG&gt;where some important notes are explained.&lt;/P&gt;
&lt;P&gt;"&lt;EM&gt;This driver needs two DMA channels for its operation when it is initialized in DMA mode. The DMA channels must be initialized by the application before initializing the driver. Refer to EDMA driver for DMA channels initialization.&lt;/EM&gt;"&lt;/P&gt;
&lt;P&gt;Please look into the document for more notes and pointers to implement the DMA and both Master/Slave for the I2S driver.&lt;/P&gt;
&lt;P&gt;You can also take the flexio_i2s_master/slave examples from the RTM:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_0-1707954899384.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/263229i32EF9B3FDA93ACFF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_0-1707954899384.png" alt="Julin_AragnM_0-1707954899384.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can refer to the EDMA driver for DMA channel initializations.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 23:57:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/I2S-data-transfer-via-DMA/m-p/1808787#M3619</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-02-14T23:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: I2S data transfer via DMA</title>
      <link>https://community.nxp.com/t5/S32-SDK/I2S-data-transfer-via-DMA/m-p/1811443#M3627</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Somehow I figured out use of DMA in RTM. currently I'm facing issue of phase drift like two waveforms should be phase aligned.&lt;/P&gt;&lt;P&gt;I'm using FlexIo I2S for SCLk and LRCK and flexio's time and shifters (not FTM) to generate MCLK. but MCLK is not aligning with LRCK.below are some requirement and snapshots.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Requirement of waveform alignment:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohit_Manvar_0-1708401754256.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/263900i03599F5F0CE7B1B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mohit_Manvar_0-1708401754256.png" alt="Mohit_Manvar_0-1708401754256.png" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohit_Manvar_1-1708401760712.png" style="width: 270px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/263901i9FDDFFDE367C57E3/image-dimensions/270x453?v=v2" width="270" height="453" role="button" title="Mohit_Manvar_1-1708401760712.png" alt="Mohit_Manvar_1-1708401760712.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current waveforms generated:&amp;nbsp;&lt;/P&gt;&lt;P&gt;(we are facing 10ns delay in clocks)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohit_Manvar_2-1708401929785.png" style="width: 330px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/263902i75CC0BA2700E0147/image-dimensions/330x216?v=v2" width="330" height="216" role="button" title="Mohit_Manvar_2-1708401929785.png" alt="Mohit_Manvar_2-1708401929785.png" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohit_Manvar_3-1708401943475.png" style="width: 279px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/263903i08AC1B95DB1BEE8C/image-dimensions/279x158?v=v2" width="279" height="158" role="button" title="Mohit_Manvar_3-1708401943475.png" alt="Mohit_Manvar_3-1708401943475.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;we need solution to generate all clocks on same time and it should generate continuous once we enable them.&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Mohit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 04:09:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/I2S-data-transfer-via-DMA/m-p/1811443#M3627</guid>
      <dc:creator>Mohit_Manvar</dc:creator>
      <dc:date>2024-02-20T04:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: I2S data transfer via DMA</title>
      <link>https://community.nxp.com/t5/S32-SDK/I2S-data-transfer-via-DMA/m-p/1813119#M3629</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/223357"&gt;@Mohit_Manvar&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Could you share your configuration for I2S timers and shifters?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use as reference the following application note for communication emulation and timing peripherals using FlexIO:&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12174.pdf" target="_blank"&gt;AN12174: Using FlexIO to emulate communications and timing peripherals.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Section 7&amp;nbsp;describes how to emulate I2S bus Master, as well as some configurations for shifters and timers.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 20:26:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/I2S-data-transfer-via-DMA/m-p/1813119#M3629</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-02-21T20:26:54Z</dc:date>
    </item>
  </channel>
</rss>

