<?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>i.MX RT Crossover MCUsのトピックFlexIO DMA</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FlexIO-DMA/m-p/1618721#M24187</link>
    <description>&lt;P&gt;I'm using FLEXIO2 to send out 4-bit values.&amp;nbsp; &amp;nbsp;I have all of the shifters (7:0) linked together, so a "minor loop" traversal (one DMA burst) fills all 8 32-bit shiftbufs (32 bytes or 64 of my 4-bit values).&lt;/P&gt;&lt;P&gt;The DMA destination address is SHIFTBUF0 and the Destination Modulo is 32 bytes (so the second transfer should also load into SHIFTBUF0-7).&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;The source address is an array of uint_32_t (sendData) and the Source Modulo is 0.&lt;/P&gt;&lt;P&gt;So the intent is for each DMA transfer to copy 32 bytes (64 4-bit values) from successive 8 32-bit words of "sendData" to the 8 ShiftBufs.&amp;nbsp; &amp;nbsp;When the shifting starts, the Shiftbufs are transferred to the Shifters and shifting begins.&amp;nbsp; &amp;nbsp;Presumably, the DMA fills the Shiftbufs with the next 8 32-bit words from the "sendData" array.&lt;/P&gt;&lt;P&gt;I'm seeing the first 64 4-bit values shift out as expected, but the next 64 are a repeat of the first 64, and the 64 following that are also a repeat of the first 64, etc.&amp;nbsp; &amp;nbsp; &amp;nbsp; I'm assuming that additional DMA requests are being issued after the first set of data (first 8 32-bit words) are loaded into the Shifter registers from the ShiftBuf registers that received the first DMA transfer.&lt;/P&gt;&lt;P&gt;It's as though the source DMA address goes back to the beginning of the array instead of marching through the uint_32_t array...&amp;nbsp; OR...&amp;nbsp; &amp;nbsp;No new DMA requests are generated, and the shifters are reloading values from the ShiftBuf registers (that still have the same data).&lt;/P&gt;&lt;P&gt;Did I miss a setting?&amp;nbsp; &amp;nbsp; Not sure how to debug this...&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2023 20:40:39 GMT</pubDate>
    <dc:creator>CktDesigner</dc:creator>
    <dc:date>2023-03-20T20:40:39Z</dc:date>
    <item>
      <title>FlexIO DMA</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FlexIO-DMA/m-p/1618721#M24187</link>
      <description>&lt;P&gt;I'm using FLEXIO2 to send out 4-bit values.&amp;nbsp; &amp;nbsp;I have all of the shifters (7:0) linked together, so a "minor loop" traversal (one DMA burst) fills all 8 32-bit shiftbufs (32 bytes or 64 of my 4-bit values).&lt;/P&gt;&lt;P&gt;The DMA destination address is SHIFTBUF0 and the Destination Modulo is 32 bytes (so the second transfer should also load into SHIFTBUF0-7).&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;The source address is an array of uint_32_t (sendData) and the Source Modulo is 0.&lt;/P&gt;&lt;P&gt;So the intent is for each DMA transfer to copy 32 bytes (64 4-bit values) from successive 8 32-bit words of "sendData" to the 8 ShiftBufs.&amp;nbsp; &amp;nbsp;When the shifting starts, the Shiftbufs are transferred to the Shifters and shifting begins.&amp;nbsp; &amp;nbsp;Presumably, the DMA fills the Shiftbufs with the next 8 32-bit words from the "sendData" array.&lt;/P&gt;&lt;P&gt;I'm seeing the first 64 4-bit values shift out as expected, but the next 64 are a repeat of the first 64, and the 64 following that are also a repeat of the first 64, etc.&amp;nbsp; &amp;nbsp; &amp;nbsp; I'm assuming that additional DMA requests are being issued after the first set of data (first 8 32-bit words) are loaded into the Shifter registers from the ShiftBuf registers that received the first DMA transfer.&lt;/P&gt;&lt;P&gt;It's as though the source DMA address goes back to the beginning of the array instead of marching through the uint_32_t array...&amp;nbsp; OR...&amp;nbsp; &amp;nbsp;No new DMA requests are generated, and the shifters are reloading values from the ShiftBuf registers (that still have the same data).&lt;/P&gt;&lt;P&gt;Did I miss a setting?&amp;nbsp; &amp;nbsp; Not sure how to debug this...&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 20:40:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FlexIO-DMA/m-p/1618721#M24187</guid>
      <dc:creator>CktDesigner</dc:creator>
      <dc:date>2023-03-20T20:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: FlexIO DMA</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FlexIO-DMA/m-p/1620197#M24222</link>
      <description>&lt;P&gt;Solved in &lt;A href="https://community.nxp.com/t5/MCUXpresso-Config-Tools/Issue-when-using-Config-Tool-to-set-up-FlexIO/td-p/1616320" target="_self"&gt;MCUXpresso-Config-Tools/Issue-when-using-Config-Tool-to-set-up-FlexIO&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 19:41:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FlexIO-DMA/m-p/1620197#M24222</guid>
      <dc:creator>CktDesigner</dc:creator>
      <dc:date>2023-03-22T19:41:28Z</dc:date>
    </item>
  </channel>
</rss>

