<?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 How to use DMA Scatter/Gather? in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/How-to-use-DMA-Scatter-Gather/m-p/659727#M7192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I want to use &amp;nbsp;DMA&amp;nbsp;Scatter/Gather function of MPC5444P,but some&amp;nbsp;&lt;SPAN data-aligning="#blng_src_2_1,#blng_tran_2_1"&gt;experiment&lt;/SPAN&gt; &lt;SPAN&gt;phenomenon&lt;/SPAN&gt;&amp;nbsp;Confused me,the following is my DMA configurations information:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="177821_177821.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122907i0755F3E8C89EAE6E/image-size/large?v=v2&amp;amp;px=999" role="button" title="177821_177821.png" alt="177821_177821.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="123.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14208i6A79DB2D7A3F9951/image-size/large?v=v2&amp;amp;px=999" role="button" title="123.png" alt="123.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: rgba(255, 255, 255, 0.8); color: #666666; font-size: 12px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="177822_177822.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122908i80F75D85DCF56E5F/image-size/large?v=v2&amp;amp;px=999" role="button" title="177822_177822.png" alt="177822_177822.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="321.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14249iDA46BFF29D5F0C26/image-size/large?v=v2&amp;amp;px=999" role="button" title="321.png" alt="321.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Problem phenomenon：when the major loop completed,the value of&amp;nbsp;DMA_0.TCD[18].DLASTSGA.B.DLASTSGA was&amp;nbsp;added to the&amp;nbsp;DMA_0.TCD[18].DADDR.B.DADDR rather than &amp;nbsp;&lt;SPAN&gt;the contents of&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;TCD_SG1[]&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;is loaded into the TCD register&lt;/SPAN&gt;, then a DMA Destination Bus Error&amp;nbsp;occurred.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Can anyone tell me how can i do&amp;nbsp;to make the&amp;nbsp;contents of&amp;nbsp;TCD_SG1[] be loaded into the TCD register ?&lt;/P&gt;&lt;P&gt;here is the&amp;nbsp;reference:&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcache.nxp.com%2Fassets%2Fdocuments%2Fdata%2Fen%2Fapplication-notes%2FAN4765.pdf%3Ffromsite%3Dzh-Hans" rel="nofollow" target="_blank"&gt;http://cache.nxp.com/assets/documents/data/en/application-notes/AN4765.pdf?fromsite=zh-Hans&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Feb 2017 07:29:13 GMT</pubDate>
    <dc:creator>liujinhang</dc:creator>
    <dc:date>2017-02-22T07:29:13Z</dc:date>
    <item>
      <title>How to use DMA Scatter/Gather?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-use-DMA-Scatter-Gather/m-p/659727#M7192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I want to use &amp;nbsp;DMA&amp;nbsp;Scatter/Gather function of MPC5444P,but some&amp;nbsp;&lt;SPAN data-aligning="#blng_src_2_1,#blng_tran_2_1"&gt;experiment&lt;/SPAN&gt; &lt;SPAN&gt;phenomenon&lt;/SPAN&gt;&amp;nbsp;Confused me,the following is my DMA configurations information:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="177821_177821.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122907i0755F3E8C89EAE6E/image-size/large?v=v2&amp;amp;px=999" role="button" title="177821_177821.png" alt="177821_177821.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="123.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14208i6A79DB2D7A3F9951/image-size/large?v=v2&amp;amp;px=999" role="button" title="123.png" alt="123.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: rgba(255, 255, 255, 0.8); color: #666666; font-size: 12px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="177822_177822.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122908i80F75D85DCF56E5F/image-size/large?v=v2&amp;amp;px=999" role="button" title="177822_177822.png" alt="177822_177822.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="321.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14249iDA46BFF29D5F0C26/image-size/large?v=v2&amp;amp;px=999" role="button" title="321.png" alt="321.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Problem phenomenon：when the major loop completed,the value of&amp;nbsp;DMA_0.TCD[18].DLASTSGA.B.DLASTSGA was&amp;nbsp;added to the&amp;nbsp;DMA_0.TCD[18].DADDR.B.DADDR rather than &amp;nbsp;&lt;SPAN&gt;the contents of&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;TCD_SG1[]&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;is loaded into the TCD register&lt;/SPAN&gt;, then a DMA Destination Bus Error&amp;nbsp;occurred.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Can anyone tell me how can i do&amp;nbsp;to make the&amp;nbsp;contents of&amp;nbsp;TCD_SG1[] be loaded into the TCD register ?&lt;/P&gt;&lt;P&gt;here is the&amp;nbsp;reference:&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcache.nxp.com%2Fassets%2Fdocuments%2Fdata%2Fen%2Fapplication-notes%2FAN4765.pdf%3Ffromsite%3Dzh-Hans" rel="nofollow" target="_blank"&gt;http://cache.nxp.com/assets/documents/data/en/application-notes/AN4765.pdf?fromsite=zh-Hans&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 07:29:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-use-DMA-Scatter-Gather/m-p/659727#M7192</guid>
      <dc:creator>liujinhang</dc:creator>
      <dc:date>2017-02-22T07:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to use DMA Scatter/Gather?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-use-DMA-Scatter-Gather/m-p/659728#M7193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Do you have you scatter/gather descriptor 32bytes aligned in memory?&lt;/P&gt;&lt;P&gt;This is mandatory.&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 13:16:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-use-DMA-Scatter-Gather/m-p/659728#M7193</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2017-02-22T13:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use DMA Scatter/Gather?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-use-DMA-Scatter-Gather/m-p/659729#M7194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It maybe the problem,The addresses of TCD_SG0[] and&amp;nbsp;TCD_SG1[]&amp;nbsp;are really not 32bytes aligned in memory &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.&lt;/SPAN&gt;&amp;nbsp;I&amp;nbsp;misunderstood &amp;nbsp;the meaning of "0-modulo-32-byte",&amp;nbsp;&amp;nbsp;thank you for your&amp;nbsp;reminding!&lt;/P&gt;&lt;P&gt;but I do not know how to make the&amp;nbsp;scatter/gather descriptor&amp;nbsp;32bytes aligned&amp;nbsp; in memory. Can you give me an example?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;t&lt;/SPAN&gt;&lt;SPAN&gt;hanks very much!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 02:10:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-use-DMA-Scatter-Gather/m-p/659729#M7194</guid>
      <dc:creator>liujinhang</dc:creator>
      <dc:date>2017-02-23T02:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to use DMA Scatter/Gather?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-use-DMA-Scatter-Gather/m-p/659730#M7195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, Peter&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did it ,thanks for your reply.&lt;/P&gt;&lt;P&gt;Best Wishes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 02:59:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-use-DMA-Scatter-Gather/m-p/659730#M7195</guid>
      <dc:creator>liujinhang</dc:creator>
      <dc:date>2017-02-23T02:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to use DMA Scatter/Gather?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-use-DMA-Scatter-Gather/m-p/659731#M7196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, we have same problem with scatter-gather method. Can u give more details about how to solve this problem.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 20:24:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-use-DMA-Scatter-Gather/m-p/659731#M7196</guid>
      <dc:creator>enes</dc:creator>
      <dc:date>2018-03-29T20:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to use DMA Scatter/Gather?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-use-DMA-Scatter-Gather/m-p/659732#M7197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Just align your TCD in memory for 32bytes. Otherwise DMA will load incomplete or incorrect TCD.&lt;/P&gt;&lt;P&gt;PEter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 06:44:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-use-DMA-Scatter-Gather/m-p/659732#M7197</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2018-04-04T06:44:19Z</dc:date>
    </item>
  </channel>
</rss>

