<?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: DMA Priority in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/DMA-Priority/m-p/1353127#M4858</link>
    <description>&lt;P&gt;mk64f12&lt;/P&gt;</description>
    <pubDate>Sun, 10 Oct 2021 11:50:01 GMT</pubDate>
    <dc:creator>AsafTv</dc:creator>
    <dc:date>2021-10-10T11:50:01Z</dc:date>
    <item>
      <title>DMA Priority</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/DMA-Priority/m-p/1350465#M4851</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;i use ADC with DMA linked to other DMA that control MUX.&lt;/P&gt;&lt;P&gt;the Multiplexer use to connect 16 input to the ADC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i use it not work:&lt;/P&gt;&lt;P&gt;const edma_channel_Preemption_config_t ADC_preemption_config = {&lt;BR /&gt;.enableChannelPreemption = false,&lt;BR /&gt;.enablePreemptAbility = true,&lt;BR /&gt;.channelPriority = 15U&lt;BR /&gt;};&lt;BR /&gt;const edma_channel_Preemption_config_t Channel_preemption_config = {&lt;BR /&gt;.enableChannelPreemption = false,&lt;BR /&gt;.enablePreemptAbility = true,&lt;BR /&gt;.channelPriority = 14U&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;channel = EDMA_SetChannelPreemptionConfig(DMA0, 0, &amp;amp;ADC_preemption_config);&lt;/P&gt;&lt;P&gt;Linked channel = EDMA_SetChannelPreemptionConfig(DMA0, 4, &amp;amp;Channel_preemption_config);&lt;/P&gt;&lt;P&gt;can i set DMA priority when configure as scatter gatter mode?&lt;/P&gt;&lt;P&gt;advice&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 08:49:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/DMA-Priority/m-p/1350465#M4851</guid>
      <dc:creator>AsafTv</dc:creator>
      <dc:date>2021-10-05T08:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: DMA Priority</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/DMA-Priority/m-p/1352770#M4856</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;AsafTv&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Please let us know your chip part number thus we can assign right engineer to support you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;'Jun Zhang&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 14:40:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/DMA-Priority/m-p/1352770#M4856</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2021-10-08T14:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: DMA Priority</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/DMA-Priority/m-p/1353114#M4857</link>
      <description>&lt;P&gt;mk64f12&lt;/P&gt;</description>
      <pubDate>Sun, 10 Oct 2021 07:36:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/DMA-Priority/m-p/1353114#M4857</guid>
      <dc:creator>AsafTv</dc:creator>
      <dc:date>2021-10-10T07:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: DMA Priority</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/DMA-Priority/m-p/1353127#M4858</link>
      <description>&lt;P&gt;mk64f12&lt;/P&gt;</description>
      <pubDate>Sun, 10 Oct 2021 11:50:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/DMA-Priority/m-p/1353127#M4858</guid>
      <dc:creator>AsafTv</dc:creator>
      <dc:date>2021-10-10T11:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: DMA Priority</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/DMA-Priority/m-p/1354708#M4864</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188636"&gt;@AsafTv&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Yes, I think preemption function does not conflict with scatter-gather mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 07:13:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/DMA-Priority/m-p/1354708#M4864</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2021-10-13T07:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: DMA Priority</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/DMA-Priority/m-p/1354739#M4865</link>
      <description>&lt;P&gt;what can be the reason that the DMA is not start to work when configure priority and it work properly when not configure priority.&lt;/P&gt;&lt;P&gt;the priority configuration exhibit in&amp;nbsp; the upper message.&lt;/P&gt;&lt;P&gt;advice&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 07:41:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/DMA-Priority/m-p/1354739#M4865</guid>
      <dc:creator>AsafTv</dc:creator>
      <dc:date>2021-10-13T07:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: DMA Priority</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/DMA-Priority/m-p/1354742#M4866</link>
      <description>&lt;P&gt;what can be the reason that the DMA is not start to work when configure priority and it work properly when not configure priority.&lt;/P&gt;&lt;P&gt;the priority configuration exhibit in&amp;nbsp; the upper message.&lt;/P&gt;&lt;P&gt;advice&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 07:42:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/DMA-Priority/m-p/1354742#M4866</guid>
      <dc:creator>AsafTv</dc:creator>
      <dc:date>2021-10-13T07:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: DMA Priority</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/DMA-Priority/m-p/1355673#M4873</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188636"&gt;@AsafTv&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Look into your code, I think this should because the DMA is pending by a&amp;nbsp;Channel Priority Error. Each of the priority register has a default priority value, from 0 to 15.&amp;nbsp; When you change any one of them, it will conflict with other DCHPRIn register. For example, if you change the DCHPRI0[CHPRI] field to 14, it will conflict with DCHPRI14. You can modify your code like this&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;    const edma_channel_Preemption_config_t Channel_preemption_config = {
    .enableChannelPreemption = false,
    .enablePreemptAbility = true,
    .channelPriority = 14U
    };
    const edma_channel_Preemption_config_t Channel14_preemption_config = {
    .enableChannelPreemption = false,
    .enablePreemptAbility = true,
    .channelPriority = 0U
    };

    EDMA_SetChannelPreemptionConfig(EXAMPLE_DMA, 0, &amp;amp;Channel_preemption_config);
    EDMA_SetChannelPreemptionConfig(EXAMPLE_DMA, 14, &amp;amp;Channel14_preemption_config);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 07:59:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/DMA-Priority/m-p/1355673#M4873</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2021-10-14T07:59:39Z</dc:date>
    </item>
  </channel>
</rss>

