<?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 Re: SDMA1 -&amp;gt; FlexSPI -&amp;gt; QSPIB in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDMA1-gt-FlexSPI-gt-QSPIB/m-p/1718081#M4452</link>
    <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/157514"&gt;@christoph_fauck&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good day. I have the same situation on IMX8MP. Did you resolve your issue?&lt;/P&gt;&lt;P&gt;Regards, Stanislav.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Sep 2023 14:10:01 GMT</pubDate>
    <dc:creator>Stan88</dc:creator>
    <dc:date>2023-09-06T14:10:01Z</dc:date>
    <item>
      <title>SDMA1 -&gt; FlexSPI -&gt; QSPIB</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDMA1-gt-FlexSPI-gt-QSPIB/m-p/1398276#M3519</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to feed the FlexSPI/QSPIB with data using a SDMA channel and still have some trouble with it.&lt;/P&gt;&lt;P&gt;My program runs on the CM4 core of a MIMX8MM6 SoC.&lt;/P&gt;&lt;P&gt;I started with the memory_to_memory SDMA example which works fine. Then I adapted to FlexSPI looking in the ecspi sdma_loopback_transfer example.&lt;/P&gt;&lt;P&gt;But after starting the FlexSPI I see the output of the Command byte, but then the transfer stops, keeping CSn low. The Interrupt callback from SDMA is beeing called.&lt;/P&gt;&lt;P&gt;FlexSPI by filling TFDR manually works. Then I changed IPTXFCR[TXDMAEN] = 1 and IPTXFCR_TXWMRK&amp;nbsp;= 0&lt;/P&gt;&lt;P&gt;I am using in SDMA_PrepareTransfer():&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;sdmaChannel = 1&lt;BR /&gt;sdmaEventSource = 36 // for qspi1/DMA tx request&lt;BR /&gt;sdmaPriority = 2&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;srcAddr = (uint32_t) u8array&lt;BR /&gt;dstAddr =&amp;nbsp;(uint32_t) FLEXSPI-&amp;gt;TFDR&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;srcWidth = 4&lt;BR /&gt;dstWidth = 4&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;bytesEachRequest = ( IPTXFCR_TXWMRK + 1) * 8&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;kSDMA_MemoryToPeripheral and&amp;nbsp;kSDMA_PeripheralNormal&lt;/P&gt;&lt;P&gt;Is this possible in that way?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;BR /&gt;Christoph&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 17:10:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/SDMA1-gt-FlexSPI-gt-QSPIB/m-p/1398276#M3519</guid>
      <dc:creator>christoph_fauck</dc:creator>
      <dc:date>2022-01-12T17:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: SDMA1 -&gt; FlexSPI -&gt; QSPIB</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDMA1-gt-FlexSPI-gt-QSPIB/m-p/1398278#M3520</link>
      <description>&lt;P&gt;... and I am using&amp;nbsp;SDMAARM1.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 17:11:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/SDMA1-gt-FlexSPI-gt-QSPIB/m-p/1398278#M3520</guid>
      <dc:creator>christoph_fauck</dc:creator>
      <dc:date>2022-01-12T17:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: SDMA1 -&gt; FlexSPI -&gt; QSPIB</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDMA1-gt-FlexSPI-gt-QSPIB/m-p/1400435#M3533</link>
      <description>&lt;P&gt;Hello christoph&lt;/P&gt;
&lt;P&gt;scripts are run by sdma core which has own memory map,&lt;/P&gt;
&lt;P&gt;so correct is section 2.4, DMA Memory Map. Also may be useful to look at&lt;/P&gt;
&lt;P&gt;some sdma examples in Github SDK&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2Fbackenklee%2Fswp-report%2Ftree%2Fmaster%2FiMX6_Platform_SDK" target="_blank" rel="noopener"&gt;https://github.com/backenklee/swp-report/tree/master/iMX6_Platform_SDK&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;MX6UL&amp;nbsp; FreeRTOS&amp;nbsp; SDK2.2&lt;BR /&gt;Board Support Packages (7) &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 18:11:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/SDMA1-gt-FlexSPI-gt-QSPIB/m-p/1400435#M3533</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2022-01-17T18:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: SDMA1 -&gt; FlexSPI -&gt; QSPIB</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDMA1-gt-FlexSPI-gt-QSPIB/m-p/1400901#M3535</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks. I am working on i.MX8, so looking to the i.MX6 projects didn't help, because the FlexSPI is different.&lt;/P&gt;&lt;P&gt;BR Christoph&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 10:42:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/SDMA1-gt-FlexSPI-gt-QSPIB/m-p/1400901#M3535</guid>
      <dc:creator>christoph_fauck</dc:creator>
      <dc:date>2022-01-18T10:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: SDMA1 -&gt; FlexSPI -&gt; QSPIB</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDMA1-gt-FlexSPI-gt-QSPIB/m-p/1718081#M4452</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/157514"&gt;@christoph_fauck&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good day. I have the same situation on IMX8MP. Did you resolve your issue?&lt;/P&gt;&lt;P&gt;Regards, Stanislav.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 14:10:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/SDMA1-gt-FlexSPI-gt-QSPIB/m-p/1718081#M4452</guid>
      <dc:creator>Stan88</dc:creator>
      <dc:date>2023-09-06T14:10:01Z</dc:date>
    </item>
  </channel>
</rss>

