<?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>LPC MicrocontrollersのトピックRe: DMA re-enable question</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/DMA-re-enable-question/m-p/685065#M27596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="285148" data-objecttype="3" href="https://community.nxp.com/people/mtenw"&gt;mtenw&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I'd like to exemplify the register change between the two break points, then you can figure out the root cause of the issue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2017-05-25_15-46-21.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19227i821C4AB312FC23DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-05-25_15-46-21.jpg" alt="2017-05-25_15-46-21.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2017-05-25_15-24-09.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19267iD559CDC6E4A8213A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-05-25_15-24-09.jpg" alt="2017-05-25_15-24-09.jpg" /&gt;&lt;/span&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fig 1&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2017-05-25_15-24-09.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19273i2D72CDEC11140ABA/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-05-25_15-24-09.jpg" alt="2017-05-25_15-24-09.jpg" /&gt;&lt;/span&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fig 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 May 2017 07:54:02 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2017-05-25T07:54:02Z</dc:date>
    <item>
      <title>DMA re-enable question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/DMA-re-enable-question/m-p/685060#M27591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a question about re-enabling a DMA memory to memory copy on LPC4370.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have successfully set up the DMA controller to do a one time memory to memory copy using the scatter/gather method (user manual 21.8.5). If I would like to do the copy from the same source address to the destination address again, do I need to program all the same registers again?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If re-programming the registers is not needed, how is the re-enabling DMA transfer achieved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help! Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 22:15:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/DMA-re-enable-question/m-p/685060#M27591</guid>
      <dc:creator>mtenw</dc:creator>
      <dc:date>2017-05-18T22:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: DMA re-enable question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/DMA-re-enable-question/m-p/685061#M27592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="285148" data-username="mtenw" href="https://community.nxp.com/people/mtenw"&gt;mtenw&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: inherit; font-size: small; line-height: 1.5; font-family: Arial,sans-serif;"&gt;T&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial,sans-serif; font-size: small;"&gt;hank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 微软雅黑, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.5; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;the opportunity to serve you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 微软雅黑, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.5; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;I'd highly recommend you to create a sort of function which includes some parameters to setup the Scatter/gather mode and call this function every time to utilize the feature.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 微软雅黑, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.5; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 03:05:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/DMA-re-enable-question/m-p/685061#M27592</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-05-22T03:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: DMA re-enable question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/DMA-re-enable-question/m-p/685062#M27593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have a function to set up the scatter/gather mode, and another function to start the DMA transfer. My question is if the destination and source address is the same, saving the time of setting up DMA is beneficial. Can I just call "setup" once, then call "start" for the subsequent transfers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your answer suggests calling "setup" and "start" every time is necessary. Is there any way to save the "setup" time for the subsequent transfers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 15:53:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/DMA-re-enable-question/m-p/685062#M27593</guid>
      <dc:creator>mtenw</dc:creator>
      <dc:date>2017-05-22T15:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: DMA re-enable question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/DMA-re-enable-question/m-p/685063#M27594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="285148" data-username="mtenw" href="https://community.nxp.com/people/mtenw"&gt;mtenw&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Recalling the function is the safest way, however I think your idea is feasibly.&lt;/P&gt;&lt;P&gt;I was wondering if you can share the demo code and let me to do some investigations.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 03:12:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/DMA-re-enable-question/m-p/685063#M27594</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-05-23T03:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: DMA re-enable question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/DMA-re-enable-question/m-p/685064#M27595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please refer to the .c file. The first DMA transfer is successful. But without calling the "init" function again, the second one DMA transfer failed.&lt;/P&gt;&lt;P&gt;Also, can you share the demo code in main() to check if DMA transfer is completed? Can we assume the transfer is completed right after dma_start() in the .c file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for you help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 22:51:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/DMA-re-enable-question/m-p/685064#M27595</guid>
      <dc:creator>mtenw</dc:creator>
      <dc:date>2017-05-24T22:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: DMA re-enable question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/DMA-re-enable-question/m-p/685065#M27596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="285148" data-objecttype="3" href="https://community.nxp.com/people/mtenw"&gt;mtenw&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I'd like to exemplify the register change between the two break points, then you can figure out the root cause of the issue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2017-05-25_15-46-21.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19227i821C4AB312FC23DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-05-25_15-46-21.jpg" alt="2017-05-25_15-46-21.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2017-05-25_15-24-09.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19267iD559CDC6E4A8213A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-05-25_15-24-09.jpg" alt="2017-05-25_15-24-09.jpg" /&gt;&lt;/span&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fig 1&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2017-05-25_15-24-09.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19273i2D72CDEC11140ABA/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-05-25_15-24-09.jpg" alt="2017-05-25_15-24-09.jpg" /&gt;&lt;/span&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fig 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 07:54:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/DMA-re-enable-question/m-p/685065#M27596</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-05-25T07:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: DMA re-enable question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/DMA-re-enable-question/m-p/685066#M27597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;I figured out the problem, the channel configuration register must be re-initialized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 16:52:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/DMA-re-enable-question/m-p/685066#M27597</guid>
      <dc:creator>mtenw</dc:creator>
      <dc:date>2017-05-25T16:52:19Z</dc:date>
    </item>
  </channel>
</rss>

