<?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: LPC82x DMA ch trigger and behavor after trigger  in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC82x-DMA-ch-trigger-and-behavor-after-trigger/m-p/557430#M15409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by S.Kojima on Sun May 08 21:23:50 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Dear fellows,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A little progress.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My "unexpected" behavior reported in my previous post seems like...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as if I made a mistake to program a DMA transfer behavior as BUSRT.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just as a stupid trial, I set TRIGBURST bit opposite as the user manual expains.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, I found it works as I expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The actual implementation of DMA block seems to be made wrong....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, it would be an errata.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I set TRIGBURST as 1 (not cleared as 0) to get non-burst (trigger-by-trigger) transfer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did not tested neither in the other application nor the family MCU chip with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the same DMAC, such as LPC11U6x.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to ask an NXP staff to check and confirm the actial implemeation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of this DMAC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And, I would like to wait for the official report for this issue by NXP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:59:27 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:59:27Z</dc:date>
    <item>
      <title>LPC82x DMA ch trigger and behavor after trigger</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC82x-DMA-ch-trigger-and-behavor-after-trigger/m-p/557429#M15408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by S.Kojima on Sun May 08 19:36:33 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Dear fellows,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to use LPC824's DMAC triggered by SCT's DREQ signal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But, no in success yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The description for the DMAC channel is ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Destination is one of SCT's MATCHREL[n].L, a fixed address&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Source in ROM two different values to update MATCH value alternatively by those two values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, SRCINC=1 while DSTINC=0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To repeat this update sequence, the next field of the descriptor points back itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course, PERIPHREQEN=0, HWTRIGEN=1 to accept trigger, disabling peripheral request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TRIGBURST=0 for step-by-step sequence at every trigger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unexpected behavior that I'm watching now is...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;once the DMA ch is triggered, it starts updating sequence, but at unexpected update timing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;regardless of the hardware trigger timing and sequence never stops until the DMA channel is disabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Before supplying hardware trigger, I tested software triggering thru uVision debuger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PERIPHREQEN=0, HWTRIGEN=0 to disable any hardware req and trig.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Descriptor setting is as same as above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After enabling that DMA ch, I give a trigger to that DMA ch thru SETTRIG register.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, that DMA ch starts working thru the descriptor sequence. But, never stops.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The descriptor execution and each DMA transactions are correctly made as I coded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The only strange thing is the response after accepting the first trigger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That DMA ch seems doing the transfer activity at full-speed even I gave just one trigger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe, this is the essential cause that I've experienced with HW-trigger by SCT.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I should solve this simpler one first, before I go forth with HW-triggering.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But, I have no idea what is wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:59:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC82x-DMA-ch-trigger-and-behavor-after-trigger/m-p/557429#M15408</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPC82x DMA ch trigger and behavor after trigger</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC82x-DMA-ch-trigger-and-behavor-after-trigger/m-p/557430#M15409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by S.Kojima on Sun May 08 21:23:50 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Dear fellows,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A little progress.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My "unexpected" behavior reported in my previous post seems like...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as if I made a mistake to program a DMA transfer behavior as BUSRT.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just as a stupid trial, I set TRIGBURST bit opposite as the user manual expains.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, I found it works as I expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The actual implementation of DMA block seems to be made wrong....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, it would be an errata.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I set TRIGBURST as 1 (not cleared as 0) to get non-burst (trigger-by-trigger) transfer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did not tested neither in the other application nor the family MCU chip with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the same DMAC, such as LPC11U6x.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to ask an NXP staff to check and confirm the actial implemeation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of this DMAC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And, I would like to wait for the official report for this issue by NXP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:59:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC82x-DMA-ch-trigger-and-behavor-after-trigger/m-p/557430#M15409</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: LPC82x DMA ch trigger and behavor after trigger</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC82x-DMA-ch-trigger-and-behavor-after-trigger/m-p/557431#M15410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 01:10:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC82x-DMA-ch-trigger-and-behavor-after-trigger/m-p/557431#M15410</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-19T01:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC82x DMA ch trigger and behavor after trigger</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC82x-DMA-ch-trigger-and-behavor-after-trigger/m-p/557432#M15411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi S. Kojima,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As discussed by email with &lt;SPAN style="font-size: 11.0pt;"&gt;Yoshinari Kohara &lt;/SPAN&gt;,&amp;nbsp;there are no know problems with &lt;STRONG&gt;TRIGBURST&lt;/STRONG&gt; bit so the behavior might be related with the DMA configuration. I would recommend you to use the &lt;STRONG&gt;Example_DMA_UART&lt;/STRONG&gt; project, this example is intended to demonstrate the usage of the DMA controller with linked descriptors, peripheral DMA requests and triggers. It also provides a clear framework upon which more complex configurations of the DMA controller can be built.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It can be downloaded from the LPC82x example package from this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/community/lpc/blog/2016/09/02/lpc8xx-family-code-example-bundles"&gt;https://community.nxp.com/community/lpc/blog/2016/09/02/lpc8xx-family-code-example-bundles&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if there is any doubt or question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Carlos Mendoza&lt;BR /&gt;Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 21:31:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC82x-DMA-ch-trigger-and-behavor-after-trigger/m-p/557432#M15411</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2016-12-06T21:31:17Z</dc:date>
    </item>
  </channel>
</rss>

