<?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: How to use CTIMER DMA correctly on LPC546x? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-CTIMER-DMA-correctly-on-LPC546x/m-p/1034445#M40302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;Hope you are doing well.&lt;/P&gt;&lt;P&gt;1.No, the interrupt needs to be cleared if not the DMA request will not be cleared. Please review section 17.6.1 of the reference manual.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Could you please rephrase your question. I am not sure if I am understanding you correctly. Would you like the match event to trigger a dma transfer from a peripheral to memory such as UART, for example. Or would you like to save information from the CTIMER?&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2020 19:13:09 GMT</pubDate>
    <dc:creator>Sabina_Bruce</dc:creator>
    <dc:date>2020-03-19T19:13:09Z</dc:date>
    <item>
      <title>How to use CTIMER DMA correctly on LPC546x?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-CTIMER-DMA-correctly-on-LPC546x/m-p/1034444#M40301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I am now using CTimer to output a specific digital wave signal on LPC54618, and DMA is used.&lt;BR /&gt;A timing parameter table TimeParmTab[]={A,B,C,D} is defined to be copy to Match Register.&lt;BR /&gt;The transfer type is configured as MemoryToMemory, it works ok when CTimer interrupt is enabled,&lt;BR /&gt;and CTimer interrupt register flags be cleared in the ISR routine.&lt;BR /&gt;But when I disable the CTimer interrupt and don't clear interrupt register flags, the DMA could only be triggered once,&lt;BR /&gt;and can not continue.&lt;BR /&gt;The DMA also can not work when configured as PeripheralToMemory.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;So, I have two question:&lt;BR /&gt;1. Whether the CTimer DMA can work continously without software process(clear CTimer interrupt flags)?&lt;BR /&gt;if yes, then how is the correct method?&lt;BR /&gt;2. Whether the CTimer DMA can work when configured as PeripheralToMemory?&lt;BR /&gt;if yes, then how is the correct method?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thank you!&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2020 09:23:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-CTIMER-DMA-correctly-on-LPC546x/m-p/1034444#M40301</guid>
      <dc:creator>geweilin</dc:creator>
      <dc:date>2020-03-16T09:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CTIMER DMA correctly on LPC546x?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-CTIMER-DMA-correctly-on-LPC546x/m-p/1034445#M40302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;Hope you are doing well.&lt;/P&gt;&lt;P&gt;1.No, the interrupt needs to be cleared if not the DMA request will not be cleared. Please review section 17.6.1 of the reference manual.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Could you please rephrase your question. I am not sure if I am understanding you correctly. Would you like the match event to trigger a dma transfer from a peripheral to memory such as UART, for example. Or would you like to save information from the CTIMER?&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 19:13:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-CTIMER-DMA-correctly-on-LPC546x/m-p/1034445#M40302</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-03-19T19:13:09Z</dc:date>
    </item>
  </channel>
</rss>

