<?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: ADC insert values in wrong variables throught DMA in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-insert-values-in-wrong-variables-throught-DMA/m-p/1282618#M60628</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186948"&gt;@darkWarrior735&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;In the following &lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/PIT-ADC-DMA-Example-for-FRDM-KL25z-FRDM-K64F-TWR-K60D100-and-TWR/ta-p/1107325" target="_self"&gt;link&lt;/A&gt; there's an example that uses the DMA ADC, also, in the &lt;A href="https://mcuxpresso.nxp.com/en/select" target="_self"&gt;SDK&lt;/A&gt; there's an example in demo_apps examples.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Alexis Andalon&lt;/P&gt;</description>
    <pubDate>Wed, 26 May 2021 14:26:26 GMT</pubDate>
    <dc:creator>Alexis_A</dc:creator>
    <dc:date>2021-05-26T14:26:26Z</dc:date>
    <item>
      <title>ADC insert values in wrong variables throught DMA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-insert-values-in-wrong-variables-throught-DMA/m-p/1279925#M60583</link>
      <description>&lt;P&gt;I'm using MKL25Z4 in order to use ADC to make 1024 samples that wiil go to an array in memory by using the DMA. After that I press a button and change it so that the DMA will send the samples for DAC and I encounter some problems:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For some reason it stops filling the array with samples after cell number 911 even thought I configured it for circular buffer of 2KB, why it stopped after cell 912 ?&lt;/LI&gt;&lt;LI&gt;It looks like after the cell 911 changes the DMA insert a sample from the ADC to one off my global variables, one named state which defines if I need the ADC or the DAC, all the other global variables are untouched, which effect my program, how can it be?&lt;/LI&gt;&lt;LI&gt;I see that some configurations make the CPU work while the DMA work , like the Auto-Aligened, why?&lt;BR /&gt;I will appricate every answer or tip&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 20 May 2021 19:07:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-insert-values-in-wrong-variables-throught-DMA/m-p/1279925#M60583</guid>
      <dc:creator>darkWarrior735</dc:creator>
      <dc:date>2021-05-20T19:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: ADC insert values in wrong variables throught DMA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-insert-values-in-wrong-variables-throught-DMA/m-p/1282618#M60628</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186948"&gt;@darkWarrior735&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;In the following &lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/PIT-ADC-DMA-Example-for-FRDM-KL25z-FRDM-K64F-TWR-K60D100-and-TWR/ta-p/1107325" target="_self"&gt;link&lt;/A&gt; there's an example that uses the DMA ADC, also, in the &lt;A href="https://mcuxpresso.nxp.com/en/select" target="_self"&gt;SDK&lt;/A&gt; there's an example in demo_apps examples.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Alexis Andalon&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 14:26:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADC-insert-values-in-wrong-variables-throught-DMA/m-p/1282618#M60628</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2021-05-26T14:26:26Z</dc:date>
    </item>
  </channel>
</rss>

