<?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: S32K DMA</title>
    <link>https://community.nxp.com/t5/S32K/S32K-DMA/m-p/693574#M1237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petr,&lt;/P&gt;&lt;P&gt;Thanks for your response,&lt;/P&gt;&lt;P&gt;I&amp;nbsp; looked at your example, just a few questions please:&lt;/P&gt;&lt;P&gt;&amp;nbsp;In the following statement&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; DMAMUX-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;CHCFG&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;[0] |= DMAMUX_CHCFG_SOURCE(40); &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;// ADC0 COCO is the source of the DMA0 channel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;There is a spread sheet attached to Reference manual that actually&amp;nbsp;list the&amp;nbsp;slot number as 42 .&amp;nbsp;Do we need to change 40 to 42?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;back to back&amp;nbsp; PDB indicates&amp;nbsp; TRIGERS&amp;nbsp; take place back to back?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;Sorry this is my first attempt to do DMA in this Micro.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;Koorosh Hajiani&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 May 2017 15:38:18 GMT</pubDate>
    <dc:creator>hajianik</dc:creator>
    <dc:date>2017-05-26T15:38:18Z</dc:date>
    <item>
      <title>S32K DMA</title>
      <link>https://community.nxp.com/t5/S32K/S32K-DMA/m-p/693572#M1235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is it possible to do a DMA transfer of the ADC result register on The COCO bit?&lt;/P&gt;&lt;P&gt;Not talking about hardware triggering(PDB or TRGMUX), I'm not there yet. Just start a conversion and use DMA transfer complete or MAJOR&amp;nbsp;LOOP interrupt to move the result&amp;nbsp;.&amp;nbsp;just initialize the DMA_TCR properly and enable DMA transfer in&amp;nbsp;the ADC module, Is this all there is to it?&lt;/P&gt;&lt;P&gt;How do I link the COCO bit with the DMA channel?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Koorosh Hajiani&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 21:26:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-DMA/m-p/693572#M1235</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2017-05-25T21:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: S32K DMA</title>
      <link>https://community.nxp.com/t5/S32K/S32K-DMA/m-p/693573#M1236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Koorosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can refer to this example &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>Fri, 26 May 2017 06:40:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-DMA/m-p/693573#M1236</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2017-05-26T06:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: S32K DMA</title>
      <link>https://community.nxp.com/t5/S32K/S32K-DMA/m-p/693574#M1237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petr,&lt;/P&gt;&lt;P&gt;Thanks for your response,&lt;/P&gt;&lt;P&gt;I&amp;nbsp; looked at your example, just a few questions please:&lt;/P&gt;&lt;P&gt;&amp;nbsp;In the following statement&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; DMAMUX-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;CHCFG&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;[0] |= DMAMUX_CHCFG_SOURCE(40); &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;// ADC0 COCO is the source of the DMA0 channel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;There is a spread sheet attached to Reference manual that actually&amp;nbsp;list the&amp;nbsp;slot number as 42 .&amp;nbsp;Do we need to change 40 to 42?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;back to back&amp;nbsp; PDB indicates&amp;nbsp; TRIGERS&amp;nbsp; take place back to back?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;Sorry this is my first attempt to do DMA in this Micro.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;Koorosh Hajiani&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 15:38:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-DMA/m-p/693574#M1237</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2017-05-26T15:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: S32K DMA</title>
      <link>https://community.nxp.com/t5/S32K/S32K-DMA/m-p/693575#M1238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Koorosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It depends which MCU version do you have. There was changes in DMA request mapping across MCU revisions. The Excel sheet mentions this too. Thus use&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Slot # 40 … for MCU rev 1 (mask 0N77P)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Slot # 42 … for MCU rev 2 (mask 0N47T) or rev2.1 (0N57U)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The back-to-back operation enables the ADC conversions complete to trigger the next PDB channel pre-trigger and trigger output.&amp;nbsp; In other words, next PDB trigger is started automatically once previous conversion is completed.&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, 29 May 2017 06:51:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-DMA/m-p/693575#M1238</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2017-05-29T06:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32K DMA</title>
      <link>https://community.nxp.com/t5/S32K/S32K-DMA/m-p/693576#M1239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petr,&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;Just one last question,&lt;/P&gt;&lt;P&gt;Why are we assigning the same input to 4 different channels?&lt;/P&gt;&lt;P&gt;for instance if we were doing 4 back to back conversions on 4 different inputs (&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;ADC0_SE12&lt;/SPAN&gt;,&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;ADC0_SE13,ADC0_SE14,ADC0_SE15)&lt;/SPAN&gt;, It would look something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; ADC0-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;SC1&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;[0] = ADC_SC1_ADCH(12); &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* Select AD12 (ADC0_SE12) */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; ADC0-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;SC1&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;[1] = ADC_SC1_ADCH(13); &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* Select AD13 (ADC0_SE13) */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; ADC0-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;SC1&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;[2] = ADC_SC1_ADCH(14); &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* Select AD12 (ADC0_SE14) */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; ADC0-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;SC1&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;[3] = ADC_SC1_ADCH(15); &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* Select AD12 (ADC0_SE15) */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;Is that correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 14:50:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-DMA/m-p/693576#M1239</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2017-05-30T14:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: S32K DMA</title>
      <link>https://community.nxp.com/t5/S32K/S32K-DMA/m-p/693577#M1240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the same channel was used in the example, but you can select whatever channel.&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>Thu, 01 Jun 2017 08:43:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-DMA/m-p/693577#M1240</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2017-06-01T08:43:21Z</dc:date>
    </item>
  </channel>
</rss>

