<?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 Using DMA on the MCUexpressoIDE with K64F in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-DMA-on-the-MCUexpressoIDE-with-K64F/m-p/2189355#M67979</link>
    <description>&lt;P&gt;Good day to you all,&lt;BR /&gt;&lt;BR /&gt;I am currently working on a project that needs high sampling rate for the ADC channels. I intended to use direct memory acces to avoid interrupts at all costs. So far, Ive set a hardware trigger for the ADC and configured only 2 channels for it to read.&lt;BR /&gt;Its the DMA part that's making me thug my hair, it seems overcomplicated on MCU expresso. Can somebody help me set a loop to do continuos sampling of the "n" AD channels. I've been taking the&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4590.pdf" target="_blank"&gt;AN4590&lt;/A&gt; document as base, but the functions are behaving a lot diferent from what is in the source material.&lt;BR /&gt;&lt;BR /&gt;The EDMA version I am ussing is 2.4.0.&lt;BR /&gt;The board is the K64F.&lt;BR /&gt;&lt;BR /&gt;I'd aprecciate if some light could be shed onto this. Thanx&lt;/P&gt;</description>
    <pubDate>Mon, 20 Oct 2025 18:59:09 GMT</pubDate>
    <dc:creator>GabrielChies</dc:creator>
    <dc:date>2025-10-20T18:59:09Z</dc:date>
    <item>
      <title>Using DMA on the MCUexpressoIDE with K64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-DMA-on-the-MCUexpressoIDE-with-K64F/m-p/2189355#M67979</link>
      <description>&lt;P&gt;Good day to you all,&lt;BR /&gt;&lt;BR /&gt;I am currently working on a project that needs high sampling rate for the ADC channels. I intended to use direct memory acces to avoid interrupts at all costs. So far, Ive set a hardware trigger for the ADC and configured only 2 channels for it to read.&lt;BR /&gt;Its the DMA part that's making me thug my hair, it seems overcomplicated on MCU expresso. Can somebody help me set a loop to do continuos sampling of the "n" AD channels. I've been taking the&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4590.pdf" target="_blank"&gt;AN4590&lt;/A&gt; document as base, but the functions are behaving a lot diferent from what is in the source material.&lt;BR /&gt;&lt;BR /&gt;The EDMA version I am ussing is 2.4.0.&lt;BR /&gt;The board is the K64F.&lt;BR /&gt;&lt;BR /&gt;I'd aprecciate if some light could be shed onto this. Thanx&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2025 18:59:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-DMA-on-the-MCUexpressoIDE-with-K64F/m-p/2189355#M67979</guid>
      <dc:creator>GabrielChies</dc:creator>
      <dc:date>2025-10-20T18:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using DMA on the MCUexpressoIDE with K64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-DMA-on-the-MCUexpressoIDE-with-K64F/m-p/2189383#M67980</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/228437"&gt;@GabrielChies&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can find an ADC + eDMA example code on the&amp;nbsp;FRDM-K64F SDK called "adc16_continuous_edma". I highly recommend you use this as reference for your application.&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2025 20:14:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-DMA-on-the-MCUexpressoIDE-with-K64F/m-p/2189383#M67980</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2025-10-20T20:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using DMA on the MCUexpressoIDE with K64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-DMA-on-the-MCUexpressoIDE-with-K64F/m-p/2189386#M67981</link>
      <description>&lt;P&gt;Hello Edwin, thanks for the reply.&lt;BR /&gt;&lt;BR /&gt;I've already looked into the example you have mentioned. It does not use the Peripherals tools and also some functions seem to be different (not compatible) with the version of the SDK i am running.&lt;BR /&gt;Should I abbandon the peripherals tool and do the coding by hand? I rather avoid it since the tool is meant to prevent any mistakes if correctly used. Eaguer to listen to your opinion.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2025 20:20:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-DMA-on-the-MCUexpressoIDE-with-K64F/m-p/2189386#M67981</guid>
      <dc:creator>GabrielChies</dc:creator>
      <dc:date>2025-10-20T20:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using DMA on the MCUexpressoIDE with K64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-DMA-on-the-MCUexpressoIDE-with-K64F/m-p/2190157#M67984</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/228437"&gt;@GabrielChies&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;What version of the SDK are you using? The latest one is SDK v2.11.0, and I highly recommend you upgrade to that version if you are using an older one.&lt;/P&gt;
&lt;P&gt;You should be able to continue development with the Peripherals Tool, although implementing the DMA is not a trivial task to do without a base example. I recommend you check the example code I shared previously and base your Peripherals Tool settings to match the ones from the example code.&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 18:01:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-DMA-on-the-MCUexpressoIDE-with-K64F/m-p/2190157#M67984</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2025-10-21T18:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using DMA on the MCUexpressoIDE with K64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-DMA-on-the-MCUexpressoIDE-with-K64F/m-p/2190212#M67985</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/40607"&gt;@Edwin&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Yes, the SDK currently in use is v2.11.0. I’ve been following your recommendation and using the provided example to configure the DMA peripheral. I’ve hit a bit of a snag — the code is getting stuck in a while loop — and I haven’t had the time to fully investigate it yet. I plan to debug it tomorrow to understand what’s happening. My initial guess is that it’s related to FreeRTOS concurrency, or more likely, an issue in the code itself.&lt;BR /&gt;&lt;BR /&gt;For context, my goal is to place the process sample function inside a periodic task that reads and filters all ADC data from the output buffer that the DMA conveniently fills. It’s important to avoid interruptions, since there will be many channels being read at a relatively high sampling rate.&lt;BR /&gt;&lt;BR /&gt;Thanks for the input — I really appreciate your help.&lt;BR /&gt;Best regards, Gabriel.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 19:59:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-DMA-on-the-MCUexpressoIDE-with-K64F/m-p/2190212#M67985</guid>
      <dc:creator>GabrielChies</dc:creator>
      <dc:date>2025-10-21T19:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using DMA on the MCUexpressoIDE with K64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-DMA-on-the-MCUexpressoIDE-with-K64F/m-p/2190916#M67989</link>
      <description>&lt;P&gt;Hi, good day,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Update:&lt;BR /&gt;I've abbandoned the operational system for now and got it to work as I wanted. For anyone facing the same issues, following the attached PDF is a pretty good place to start in order to understan the way edma works. Once it's working it should not be dificult to place the code on the RTOS system.&lt;BR /&gt;&lt;BR /&gt;Also, thank you Edwin, for the support.&lt;BR /&gt;&lt;BR /&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 17:25:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-DMA-on-the-MCUexpressoIDE-with-K64F/m-p/2190916#M67989</guid>
      <dc:creator>GabrielChies</dc:creator>
      <dc:date>2025-10-22T17:25:42Z</dc:date>
    </item>
  </channel>
</rss>

