<?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 KV58 HSADC with eDMA transfer in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV58-HSADC-with-eDMA-transfer/m-p/1555315#M64313</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am trying to setup a DMA transfer of HSADC readings with a minor and major loop with the KV58.&lt;BR /&gt;End goal is to move the result buffer at the end of every scan and then trigger dma interrupt after X number of scans.&lt;BR /&gt;&lt;BR /&gt;I have setup the HSADC and it's reading correctly and the ISR is triggering at end of scan.&lt;BR /&gt;&lt;BR /&gt;I can manually start the transfer with an always on channel and everything works as expected.&lt;BR /&gt;However when I switch to HSADC_Endofconversion nothing occurs. I am not clearing the interrupt flag.&lt;BR /&gt;&lt;BR /&gt;Am I missing how DMA should work with a trigger from a peripheral? Is there some examples for peripheral driven DMA.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2022 00:05:51 GMT</pubDate>
    <dc:creator>nelson18</dc:creator>
    <dc:date>2022-11-17T00:05:51Z</dc:date>
    <item>
      <title>KV58 HSADC with eDMA transfer</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV58-HSADC-with-eDMA-transfer/m-p/1555315#M64313</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am trying to setup a DMA transfer of HSADC readings with a minor and major loop with the KV58.&lt;BR /&gt;End goal is to move the result buffer at the end of every scan and then trigger dma interrupt after X number of scans.&lt;BR /&gt;&lt;BR /&gt;I have setup the HSADC and it's reading correctly and the ISR is triggering at end of scan.&lt;BR /&gt;&lt;BR /&gt;I can manually start the transfer with an always on channel and everything works as expected.&lt;BR /&gt;However when I switch to HSADC_Endofconversion nothing occurs. I am not clearing the interrupt flag.&lt;BR /&gt;&lt;BR /&gt;Am I missing how DMA should work with a trigger from a peripheral? Is there some examples for peripheral driven DMA.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 00:05:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV58-HSADC-with-eDMA-transfer/m-p/1555315#M64313</guid>
      <dc:creator>nelson18</dc:creator>
      <dc:date>2022-11-17T00:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: KV58 HSADC with eDMA transfer</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV58-HSADC-with-eDMA-transfer/m-p/1555986#M64318</link>
      <description>&lt;P&gt;The issue was I was not matching the correct channel with the peripheral group. Some channels are not connected to Group1.&lt;BR /&gt;&lt;BR /&gt;Still having an issue where ISR is triggered after minor loop and not on exhausting major.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 19:32:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV58-HSADC-with-eDMA-transfer/m-p/1555986#M64318</guid>
      <dc:creator>nelson18</dc:creator>
      <dc:date>2022-11-17T19:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: KV58 HSADC with eDMA transfer</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV58-HSADC-with-eDMA-transfer/m-p/1557341#M64333</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/197729"&gt;@nelson18&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you so much for your interest in our products and for using our community.&lt;/P&gt;
&lt;P&gt;I am sorry to inform you that so far we do not have that specific example code of HSADC with eDMA transfer.&lt;/P&gt;
&lt;P&gt;However, the closest SDK example to what you need is twrkv58f220m_adc16_continuous_edma. Which demonstrates the usage of the ADC and eDMA peripheral while in a continuous mode.&lt;/P&gt;
&lt;P&gt;Hope it helps you.&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 20:32:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV58-HSADC-with-eDMA-transfer/m-p/1557341#M64333</guid>
      <dc:creator>_Leo_</dc:creator>
      <dc:date>2022-11-21T20:32:31Z</dc:date>
    </item>
  </channel>
</rss>

