<?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>S32KのトピックRe: Send data with flexI2S via continious DMA. (S32K116)</title>
    <link>https://community.nxp.com/t5/S32K/Send-data-with-flexI2S-via-continious-DMA-S32K116/m-p/1629808#M21930</link>
    <description>&lt;P&gt;Yes, you are right. I was able re-trigger the DMA channel when the DMA data send finished for creating a continuous DMA transmission. Result; (blue: clk, yellow: data)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FurkanYildirim_0-1680877774027.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/218240i7507736D512461C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FurkanYildirim_0-1680877774027.png" alt="FurkanYildirim_0-1680877774027.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But it took some time to figure out how to do it. Even the simple process of sending a string continuously requires reading quite a few resources on the minor loop and the major loop. The fact that NXP doesn't do it as simply as in CUBE MX is challenging for NXP beginners.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CubeMX_circular_DMA.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/218238iC27F2610A9F4297B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CubeMX_circular_DMA.png" alt="CubeMX_circular_DMA.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;, Thank you for the reply.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Fri, 07 Apr 2023 14:31:51 GMT</pubDate>
    <dc:creator>Furkan07</dc:creator>
    <dc:date>2023-04-07T14:31:51Z</dc:date>
    <item>
      <title>Send data with flexI2S via continious DMA. (S32K116)</title>
      <link>https://community.nxp.com/t5/S32K/Send-data-with-flexI2S-via-continious-DMA-S32K116/m-p/1621746#M21598</link>
      <description>&lt;P&gt;Hi, I trying data send with dma as a scatter/gather. My purpose is to send data(for example a 120-byte array) with flexI2S.&amp;nbsp;&lt;BR /&gt;I want dma to send the same array again when 120 bytes are finished automatically without any triggering in the loop while.&lt;/P&gt;&lt;P&gt;I reviewed the "edma_transfer_s32k146" project on S32DS. The project was not configured to send data from the flex module.&lt;BR /&gt;I cannot do what I am trying to do by setting the scatterGatherEnable variable to true and giving the scatterGatherNextDescAddr the address of the directory.&lt;/P&gt;&lt;P&gt;What do you think is missing in this program for what I want to do? (Does S32K116 processor have any restrictions to do this? Do you have a sample project that does this? It doesn't matter if it's FlexI2C, FlexSPI or something.)&lt;/P&gt;&lt;P&gt;In addition, I added configuration to flex module, like this:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;flexio_i2s_master_user_config_t&lt;/SPAN&gt; &lt;SPAN&gt;flexio_i2s1_MasterConfig0&lt;/SPAN&gt;&lt;SPAN&gt; = {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; .&lt;/SPAN&gt;&lt;SPAN&gt;driverType&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;FLEXIO_DRIVER_TYPE_DMA&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; .&lt;/SPAN&gt;&lt;SPAN&gt;baudRate&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;725000UL&lt;/SPAN&gt;&lt;SPAN&gt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&lt;SPAN&gt;callback&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;NULL&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; .&lt;/SPAN&gt;&lt;SPAN&gt;callbackParam&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;NULL&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; .&lt;/SPAN&gt;&lt;SPAN&gt;rxDMAChannel&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;1U&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; .&lt;/SPAN&gt;&lt;SPAN&gt;txDMAChannel&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;0U&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, if I send the data with the "FLEXIO_I2S_DRV_MasterSendData" function after checking via FLEXIO_I2S_DRV_MasterGetStatus() in the while loop, the flex module sends the data successfully. But what I need is to create a seamless I2S clock signal.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 15:02:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Send-data-with-flexI2S-via-continious-DMA-S32K116/m-p/1621746#M21598</guid>
      <dc:creator>Furkan07</dc:creator>
      <dc:date>2023-03-24T15:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Send data with flexI2S via continious DMA. (S32K116)</title>
      <link>https://community.nxp.com/t5/S32K/Send-data-with-flexI2S-via-continious-DMA-S32K116/m-p/1625370#M21761</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209045"&gt;@Furkan07&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Although the FlexIO SDK driver does not support it, the DMA channel can be triggered again at the end of the Major loop.&lt;/P&gt;
&lt;P&gt;TCD&lt;STRONG&gt;n&lt;/STRONG&gt;_CSR[MAJORLINKCH] can be set the &lt;STRONG&gt;n&lt;/STRONG&gt; channel.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1680185221412.png" style="width: 716px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/217150i2EA672683275B90D/image-dimensions/716x348?v=v2" width="716" height="348" role="button" title="danielmartynek_0-1680185221412.png" alt="danielmartynek_0-1680185221412.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 14:07:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Send-data-with-flexI2S-via-continious-DMA-S32K116/m-p/1625370#M21761</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-03-30T14:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Send data with flexI2S via continious DMA. (S32K116)</title>
      <link>https://community.nxp.com/t5/S32K/Send-data-with-flexI2S-via-continious-DMA-S32K116/m-p/1629808#M21930</link>
      <description>&lt;P&gt;Yes, you are right. I was able re-trigger the DMA channel when the DMA data send finished for creating a continuous DMA transmission. Result; (blue: clk, yellow: data)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FurkanYildirim_0-1680877774027.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/218240i7507736D512461C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FurkanYildirim_0-1680877774027.png" alt="FurkanYildirim_0-1680877774027.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But it took some time to figure out how to do it. Even the simple process of sending a string continuously requires reading quite a few resources on the minor loop and the major loop. The fact that NXP doesn't do it as simply as in CUBE MX is challenging for NXP beginners.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CubeMX_circular_DMA.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/218238iC27F2610A9F4297B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CubeMX_circular_DMA.png" alt="CubeMX_circular_DMA.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;, Thank you for the reply.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 14:31:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Send-data-with-flexI2S-via-continious-DMA-S32K116/m-p/1629808#M21930</guid>
      <dc:creator>Furkan07</dc:creator>
      <dc:date>2023-04-07T14:31:51Z</dc:date>
    </item>
  </channel>
</rss>

