<?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>MCUXpresso Config Tools中的主题 Should the eDMA API mode Non-transactional (API functions) support channel linking?</title>
    <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Should-the-eDMA-API-mode-Non-transactional-API-functions-support/m-p/1007591#M907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/martinstano"&gt;martinstano&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another question to the DMA.&lt;/P&gt;&lt;P&gt;When using the Channel API mode Non-transactional (API functions) with checkbox Channel link initialization, Enable transfer configuration and Initialize transfer enabled the following lines of code will be included in peripherals.c:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;/* DMA channel linking initialization */&lt;BR /&gt;&amp;nbsp; EDMA_SetChannelLink(DMA0_DMA_BASEADDR, DMA0_CH0_DMA_CHANNEL, kEDMA_MinorLink, DMA0_CH1_DMA_CHANNEL);&lt;BR /&gt;&amp;nbsp; /* DMA0 transfer initialization */&lt;BR /&gt;&amp;nbsp; EDMA_SetTransferConfig(DMA0_DMA_BASEADDR, DMA0_CH0_DMA_CHANNEL, &amp;amp;DMA0_CH0_transfer_config, NULL);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;First function will set the ELINK and channel bits in CITER and BITER registers.&lt;/P&gt;&lt;P&gt;The second function will set up the transfer but overwrite the complete CITER and BITER settings for the channel link&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;// FROM FILE fsl_edma.c function EDMA_TcdSetTransferConfig&lt;/P&gt;&lt;P&gt;/* Current major iteration count */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tcd-&amp;gt;CITER = (uint16_t)config-&amp;gt;majorLoopCounts;&lt;/P&gt;&lt;P&gt;/* Starting major iteration count */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tcd-&amp;gt;BITER = (uint16_t)config-&amp;gt;majorLoopCounts;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Is the Channel API mode Non-transactional (API functions) not meant to be used with channel linking?&lt;/P&gt;&lt;P&gt;If yes it should be greyed out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think a possible workaround would be to to first set up the Transfer configuration and then call SetChannelLink (swap the above function calls in peripherals.c).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the MEX file to this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Feb 2020 15:43:06 GMT</pubDate>
    <dc:creator>imxrtuser</dc:creator>
    <dc:date>2020-02-10T15:43:06Z</dc:date>
    <item>
      <title>Should the eDMA API mode Non-transactional (API functions) support channel linking?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Should-the-eDMA-API-mode-Non-transactional-API-functions-support/m-p/1007591#M907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/martinstano"&gt;martinstano&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another question to the DMA.&lt;/P&gt;&lt;P&gt;When using the Channel API mode Non-transactional (API functions) with checkbox Channel link initialization, Enable transfer configuration and Initialize transfer enabled the following lines of code will be included in peripherals.c:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;/* DMA channel linking initialization */&lt;BR /&gt;&amp;nbsp; EDMA_SetChannelLink(DMA0_DMA_BASEADDR, DMA0_CH0_DMA_CHANNEL, kEDMA_MinorLink, DMA0_CH1_DMA_CHANNEL);&lt;BR /&gt;&amp;nbsp; /* DMA0 transfer initialization */&lt;BR /&gt;&amp;nbsp; EDMA_SetTransferConfig(DMA0_DMA_BASEADDR, DMA0_CH0_DMA_CHANNEL, &amp;amp;DMA0_CH0_transfer_config, NULL);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;First function will set the ELINK and channel bits in CITER and BITER registers.&lt;/P&gt;&lt;P&gt;The second function will set up the transfer but overwrite the complete CITER and BITER settings for the channel link&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;// FROM FILE fsl_edma.c function EDMA_TcdSetTransferConfig&lt;/P&gt;&lt;P&gt;/* Current major iteration count */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tcd-&amp;gt;CITER = (uint16_t)config-&amp;gt;majorLoopCounts;&lt;/P&gt;&lt;P&gt;/* Starting major iteration count */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tcd-&amp;gt;BITER = (uint16_t)config-&amp;gt;majorLoopCounts;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Is the Channel API mode Non-transactional (API functions) not meant to be used with channel linking?&lt;/P&gt;&lt;P&gt;If yes it should be greyed out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think a possible workaround would be to to first set up the Transfer configuration and then call SetChannelLink (swap the above function calls in peripherals.c).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the MEX file to this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 15:43:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Should-the-eDMA-API-mode-Non-transactional-API-functions-support/m-p/1007591#M907</guid>
      <dc:creator>imxrtuser</dc:creator>
      <dc:date>2020-02-10T15:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Should the eDMA API mode Non-transactional (API functions) support channel linking?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Should-the-eDMA-API-mode-Non-transactional-API-functions-support/m-p/1007592#M908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Thank you for your feedback, as you mentioned, there might be problem with function order call. I will check all the API functions and prepare the update of the component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2020 07:03:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Should-the-eDMA-API-mode-Non-transactional-API-functions-support/m-p/1007592#M908</guid>
      <dc:creator>martin_stano</dc:creator>
      <dc:date>2020-02-11T07:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Should the eDMA API mode Non-transactional (API functions) support channel linking?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Should-the-eDMA-API-mode-Non-transactional-API-functions-support/m-p/1007593#M909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the stated issue is resolved in hotfix posted&amp;nbsp;in this thread:&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/524259" style="color: #0052cc; background-color: #ffffff; text-decoration: none;" title="Follow link"&gt;https://community.nxp.com/thread/524259&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2020 14:24:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Should-the-eDMA-API-mode-Non-transactional-API-functions-support/m-p/1007593#M909</guid>
      <dc:creator>martin_stano</dc:creator>
      <dc:date>2020-02-17T14:24:34Z</dc:date>
    </item>
  </channel>
</rss>

