<?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: DMA Scatter-Gather DBE Error in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/DMA-Scatter-Gather-DBE-Error/m-p/753175#M10567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I guess it could be because of&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4440i5B573285E6FF6EFB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would expect next TCD address there.&lt;/P&gt;&lt;P&gt;Otherwise you could attach the whole DMA code allowing me to look it on thoroughly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same address can be used multiple times, there is no reason against it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Apr 2018 14:08:26 GMT</pubDate>
    <dc:creator>davidtosenovjan</dc:creator>
    <dc:date>2018-04-04T14:08:26Z</dc:date>
    <item>
      <title>DMA Scatter-Gather DBE Error</title>
      <link>https://community.nxp.com/t5/MPC5xxx/DMA-Scatter-Gather-DBE-Error/m-p/753174#M10566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am using &lt;A href="https://community.nxp.com/t5/tag/mpc5674f/tg-p"&gt;#mpc5674f&lt;/A&gt; I am trying to use &lt;A href="https://community.nxp.com/t5/tag/DMA/tg-p"&gt;#DMA&lt;/A&gt; controller and I have to use its Dynamic Programming feature:&amp;nbsp;scatter/gather&amp;nbsp;.&lt;/P&gt;&lt;P&gt;I have prepared the required TCDs: the first &lt;A href="https://community.nxp.com/t5/tag/TCD/tg-p"&gt;#TCD&lt;/A&gt;&amp;nbsp;function and the new /second TCD function (TCD_scattergather that is going to be loaded after first TCD).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run&amp;nbsp; the code with the different Destination Addresses, Scatter-gather works fine and there is no error bit set. Also I can see the data in destination addresses properly.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;But when I give the same destination address in both TCD, when the code runs, Destination Bus Error bit set in EDMA_x_ESR register and there is no current data&lt;/EM&gt;&lt;/STRONG&gt; in the destination address, it doesn't work.&lt;/P&gt;&lt;P&gt;I guess it doesn't load the new TCD because of this error bit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read the &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;"&lt;A href="https://community.nxp.com/t5/tag/0-modulo-32-byte&amp;quot;/tg-p"&gt;#0-modulo-32-byte"&lt;/A&gt; issue but. this problem only happens when I give the same destination addresses to the TCDs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;EM&gt;&lt;STRONG&gt;Doesn't 5674F allow to write to the&lt;/STRONG&gt; &lt;STRONG&gt;same destination addresses in scatter-gather&lt;/STRONG&gt;&lt;STRONG&gt;?&lt;/STRONG&gt;&lt;/EM&gt; Is there a limitation in this area? We have to use the same destination addresses, it's required for our project.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;You can see the TCD functions below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Please, can anyone help?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thank you so much in advance. :smileyhappy:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Ceren.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2tcds.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35064i5ED2F4278E226219/image-size/large?v=v2&amp;amp;px=999" role="button" title="2tcds.PNG" alt="2tcds.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 08:48:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/DMA-Scatter-Gather-DBE-Error/m-p/753174#M10566</guid>
      <dc:creator>salmanc</dc:creator>
      <dc:date>2018-03-30T08:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: DMA Scatter-Gather DBE Error</title>
      <link>https://community.nxp.com/t5/MPC5xxx/DMA-Scatter-Gather-DBE-Error/m-p/753175#M10567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I guess it could be because of&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4440i5B573285E6FF6EFB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would expect next TCD address there.&lt;/P&gt;&lt;P&gt;Otherwise you could attach the whole DMA code allowing me to look it on thoroughly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same address can be used multiple times, there is no reason against it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 14:08:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/DMA-Scatter-Gather-DBE-Error/m-p/753175#M10567</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2018-04-04T14:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: DMA Scatter-Gather DBE Error</title>
      <link>https://community.nxp.com/t5/MPC5xxx/DMA-Scatter-Gather-DBE-Error/m-p/753176#M10568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. :smileyhappy: I guess I have&amp;nbsp;solved&amp;nbsp;the problem, it's about 0-modulo-32-byte issue. I first thought this rule is for the destination address in the scatter-gather-TCD. But then I found out that 0-mo&lt;SPAN&gt;dulo-32-byte issue is for the address that holds the scatter-gather-TCD. I guess I'll need memory mapping in my project, for the scatter-gather-TCDs. Because, after a new variable or array definition, all addresses shift down and 0-modulo-32-byte error happens.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 06:19:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/DMA-Scatter-Gather-DBE-Error/m-p/753176#M10568</guid>
      <dc:creator>salmanc</dc:creator>
      <dc:date>2018-04-05T06:19:27Z</dc:date>
    </item>
  </channel>
</rss>

