<?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>MCUXpresso GeneralのトピックRe: How to Configure a Channel Trigger for DMA</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-Configure-a-Channel-Trigger-for-DMA/m-p/1066814#M3575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We do have DMA drivers and examples in the MCUXpresso SDK. You can download EDMA demos from the below link. &lt;A href="https://mcuxpresso.nxp.com/en/select"&gt;https://mcuxpresso.nxp.com/en/select&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the DMA_ConfigureChannelTrigger() function, this API is included in some LPC microcontrollers drivers. The DMA module is different so this API is not implemented for K66 MCU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored.&lt;/P&gt;&lt;P&gt;- Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2020 21:10:23 GMT</pubDate>
    <dc:creator>FelipeGarcia</dc:creator>
    <dc:date>2020-05-26T21:10:23Z</dc:date>
    <item>
      <title>How to Configure a Channel Trigger for DMA</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-Configure-a-Channel-Trigger-for-DMA/m-p/1066813#M3574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I am learning dma on MCUXpresso IDE, using MK66SDK and there is no DMA driver any longer. The example code is as follows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DMAMUX_Init(EXAMPLE_DMAMUX);&lt;BR /&gt; DMAMUX_EnableChannel(EXAMPLE_DMAMUX, 0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDMA_GetDefaultConfig(&amp;amp;userConfig);&lt;BR /&gt; EDMA_Init(EXAMPLE_DMA, &amp;amp;userConfig);&lt;BR /&gt; EDMA_CreateHandle(&amp;amp;g_EDMA_Handle, EXAMPLE_DMA, 0);&lt;BR /&gt; EDMA_SetCallback(&amp;amp;g_EDMA_Handle, EDMA_Callback, NULL);&lt;BR /&gt; EDMA_PrepareTransfer(&amp;amp;transferConfig, srcAddr, sizeof(srcAddr[0]), destAddr, sizeof(destAddr[0]),&lt;BR /&gt; sizeof(srcAddr[0]), sizeof(srcAddr), kEDMA_MemoryToMemory);&lt;BR /&gt; EDMA_SubmitTransfer(&amp;amp;g_EDMA_Handle, &amp;amp;transferConfig);&lt;BR /&gt; EDMA_StartTransfer(&amp;amp;g_EDMA_Handle);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've learned that there used to be a function called&amp;nbsp;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;DMA_ConfigureChannelTrigger().&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;I wonder how do I configure a trigger for DMA now. For example, if I want the DMA to transfer data only&amp;nbsp;when it receives a rising edge of a gpio input, how do I accomplish that?&lt;/P&gt;&lt;P&gt;By the way, I am trying to convey camera sigals to OLED through DMA. So I need the DMA triggered by PCLK, but I don't know how.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need some MCUXpresso IDE examples::(&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2020 09:12:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/How-to-Configure-a-Channel-Trigger-for-DMA/m-p/1066813#M3574</guid>
      <dc:creator>lessiffy</dc:creator>
      <dc:date>2020-05-23T09:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to Configure a Channel Trigger for DMA</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-Configure-a-Channel-Trigger-for-DMA/m-p/1066814#M3575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We do have DMA drivers and examples in the MCUXpresso SDK. You can download EDMA demos from the below link. &lt;A href="https://mcuxpresso.nxp.com/en/select"&gt;https://mcuxpresso.nxp.com/en/select&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the DMA_ConfigureChannelTrigger() function, this API is included in some LPC microcontrollers drivers. The DMA module is different so this API is not implemented for K66 MCU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored.&lt;/P&gt;&lt;P&gt;- Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 21:10:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/How-to-Configure-a-Channel-Trigger-for-DMA/m-p/1066814#M3575</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2020-05-26T21:10:23Z</dc:date>
    </item>
  </channel>
</rss>

