<?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 multi ch with DMA on KL27 in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/ADC-multi-ch-with-DMA-on-KL27/m-p/701975#M7520</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I have finally fixed the problem. I needed to change parameters for sc1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, DMA doesn't work again after merging "usb cdc vcom lite" sample into the project but It should be another issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Oct 2017 08:31:10 GMT</pubDate>
    <dc:creator>shuichiy</dc:creator>
    <dc:date>2017-10-16T08:31:10Z</dc:date>
    <item>
      <title>ADC multi ch with DMA on KL27</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/ADC-multi-ch-with-DMA-on-KL27/m-p/701973#M7518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm now working on KL27Z256 with KSDK2.0.&lt;/P&gt;&lt;P&gt;My goal is to get 5ch data via ADC with DMA transfer.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think 5*16bit ADC0-RA data should be stored in memory in a row, and ADC0-&amp;gt;SC1 is switched automatically.&lt;/P&gt;&lt;P&gt;In my codes attached, only the first 16bit data is stored in memory even if ADC0-&amp;gt;SC1 seems to be changed.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately I haven't found any sample codes&amp;nbsp; on the SDK and here.&lt;/P&gt;&lt;P&gt;Is there something wrong ?&lt;/P&gt;&lt;P&gt;Your any advice will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338579"&gt;dma_peripheral_to_memory.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 06:19:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/ADC-multi-ch-with-DMA-on-KL27/m-p/701973#M7518</guid>
      <dc:creator>shuichiy</dc:creator>
      <dc:date>2017-10-11T06:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: ADC multi ch with DMA on KL27</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/ADC-multi-ch-with-DMA-on-KL27/m-p/701974#M7519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Shuichiy,&lt;/P&gt;&lt;P&gt;I think the solution is okay to use ADC to trigger DMA_CH0, then use channel link(DMA_CH1) to transfer adctable[] to ADC_SC1A to start another ADC conversion.&lt;/P&gt;&lt;P&gt;I think you have to use debugger to display the DMA register setting, especially&amp;nbsp;DMA_DCR0 reg,the LINKCC bits should be 2b'10, the LCH1 bits should be 2b'01.&lt;/P&gt;&lt;P&gt;Pls paste the DMA register setting so that we can have a review.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 04:34:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/ADC-multi-ch-with-DMA-on-KL27/m-p/701974#M7519</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-10-16T04:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: ADC multi ch with DMA on KL27</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/ADC-multi-ch-with-DMA-on-KL27/m-p/701975#M7520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I have finally fixed the problem. I needed to change parameters for sc1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, DMA doesn't work again after merging "usb cdc vcom lite" sample into the project but It should be another issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 08:31:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/ADC-multi-ch-with-DMA-on-KL27/m-p/701975#M7520</guid>
      <dc:creator>shuichiy</dc:creator>
      <dc:date>2017-10-16T08:31:10Z</dc:date>
    </item>
  </channel>
</rss>

