<?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>S32KのトピックRe: DMA transfer</title>
    <link>https://community.nxp.com/t5/S32K/DMA-transfer/m-p/633120#M332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok it is working ! Now I'm trying to generate the "transfer complete" interrupt. I set the INTMAJOR bit to 1 and the DMA0 interrupt is enabled in the NVIC. I use the DMA to transfer 2 bytes, the transfer is done but the DONE flag is never set and so the interrupt is&amp;nbsp;never generated. Can you help me please ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Oct 2016 13:57:04 GMT</pubDate>
    <dc:creator>stabilo</dc:creator>
    <dc:date>2016-10-18T13:57:04Z</dc:date>
    <item>
      <title>DMA transfer</title>
      <link>https://community.nxp.com/t5/S32K/DMA-transfer/m-p/633114#M326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear support team,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I come to you to know if you have example project of a simple DMA transfer on the microcontroller S32K144 ?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the future, the ADC COCO flag will be used as DMA request, but for the moment I just would like to implement&amp;nbsp; a single 16 bit transfer trigged by software&amp;nbsp;from the source to the destination.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help me ? (I can send you my test code)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 09:43:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/DMA-transfer/m-p/633114#M326</guid>
      <dc:creator>stabilo</dc:creator>
      <dc:date>2016-10-13T09:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: DMA transfer</title>
      <link>https://community.nxp.com/t5/S32K/DMA-transfer/m-p/633115#M327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I posted simple code here: &lt;A href="https://community.nxp.com/docs/DOC-332957"&gt;Example S32K144 DMA memory copy test S32DS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 08:24:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/DMA-transfer/m-p/633115#M327</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2016-10-14T08:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: DMA transfer</title>
      <link>https://community.nxp.com/t5/S32K/DMA-transfer/m-p/633116#M328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 08:49:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/DMA-transfer/m-p/633116#M328</guid>
      <dc:creator>stabilo</dc:creator>
      <dc:date>2016-10-17T08:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: DMA transfer</title>
      <link>https://community.nxp.com/t5/S32K/DMA-transfer/m-p/633117#M329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made a code that read the ADC0 and transfer the data using the DMA channel 0. I can trigger the DMA by software, like in our example code, but now I would like to trigger the DMA channel with the ADC0_COCO flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I've configured the ADC channel to enable the DMA request (DMAEN);&lt;/P&gt;&lt;P&gt;- I've configured the DMAMUX channel with this code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void AdcInitDMAMUX (void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; PCC_DMAMUX0 |= PCC_IP_CGC(1);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;/* Enabling the clock on ADC1 channel */&lt;BR /&gt;&amp;nbsp; DMAMUX_CHCFG0 &amp;amp;= ~ DMAMUX_CHCFG_ENBL(1);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;/* Disabling the DMA channel */&lt;BR /&gt;&amp;nbsp; DMAMUX_CHCFG0 |= DMAMUX_CHCFG_SOURCE(40);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* ADC0 COCO is the source of the DMA0 channel */&lt;BR /&gt;&amp;nbsp; DMAMUX_CHCFG0 |= DMAMUX_CHCFG_ENBL(1);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* Enabling the DMA channel */&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- The configuration of the DMA channel is quite the same as in the example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This&amp;nbsp;is not working, the ADC0_COCO flag is set, but the DMA channel&amp;nbsp;isn't triggered (when I use a software trigger, the DMA transfers the datas).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dit I forget something to use the ADC_COCO to trigger the DMA ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 11:45:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/DMA-transfer/m-p/633117#M329</guid>
      <dc:creator>stabilo</dc:creator>
      <dc:date>2016-10-17T11:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: DMA transfer</title>
      <link>https://community.nxp.com/t5/S32K/DMA-transfer/m-p/633118#M330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you should also enable DMA request signal for the corresponding DMA channel within DMA_ERQ register. Set respective bit in this ERQ register or use the DMA_SERQ register for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 12:21:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/DMA-transfer/m-p/633118#M330</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2016-10-17T12:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: DMA transfer</title>
      <link>https://community.nxp.com/t5/S32K/DMA-transfer/m-p/633119#M331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your fast response, indeed, I forgot to enable the the DMA request signal in DMA_ERQ, but it is still not working. I really don't know what is the problem here ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tkank you for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 13:15:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/DMA-transfer/m-p/633119#M331</guid>
      <dc:creator>stabilo</dc:creator>
      <dc:date>2016-10-17T13:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: DMA transfer</title>
      <link>https://community.nxp.com/t5/S32K/DMA-transfer/m-p/633120#M332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok it is working ! Now I'm trying to generate the "transfer complete" interrupt. I set the INTMAJOR bit to 1 and the DMA0 interrupt is enabled in the NVIC. I use the DMA to transfer 2 bytes, the transfer is done but the DONE flag is never set and so the interrupt is&amp;nbsp;never generated. Can you help me please ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 13:57:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/DMA-transfer/m-p/633120#M332</guid>
      <dc:creator>stabilo</dc:creator>
      <dc:date>2016-10-18T13:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: DMA transfer</title>
      <link>https://community.nxp.com/t5/S32K/DMA-transfer/m-p/633121#M333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I posted DMA example here &lt;A href="https://community.nxp.com/docs/DOC-333054"&gt;https://community.nxp.com/docs/DOC-333054&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 11:36:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/DMA-transfer/m-p/633121#M333</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2016-10-19T11:36:22Z</dc:date>
    </item>
  </channel>
</rss>

