<?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: MCUXpresso generates invalid eDMA code when &amp;quot;Submit transfer&amp;quot; is enabled (MCXN547  ) in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/MCUXpresso-generates-invalid-eDMA-code-when-quot-Submit-transfer/m-p/2385509#M5564</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thnaks for the fast responds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I have v26.03 of the tool&lt;/P&gt;&lt;P&gt;Processors:&lt;BR /&gt;MCXN547 (26.03.20) - MCX MCXN&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;MCUXpresso SDK&lt;/SPAN&gt; version 25.13.00&lt;/P&gt;&lt;P&gt;Package: mcuxsdk-core&lt;BR /&gt;Version: 2.0.0&lt;/P&gt;&lt;P&gt;The 'Loop all transfeer' in the DMA0- Transfeer Configuration ad this code to&amp;nbsp;DMA0_init()&lt;/P&gt;&lt;P&gt;/* DMA0 loop transfer submit */&lt;BR /&gt;status = EDMA_SubmitLoopTransfer(&amp;amp;DMA0_CH0_Handle, DMA0_CH0_Transfers_config, 1U);&lt;BR /&gt;assert(status == kStatus_Success);&lt;/P&gt;&lt;P&gt;Where 'status' is not declared anywhere.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jun 2026 06:46:06 GMT</pubDate>
    <dc:creator>tjo_dk</dc:creator>
    <dc:date>2026-06-24T06:46:06Z</dc:date>
    <item>
      <title>MCUXpresso generates invalid eDMA code when "Submit transfer" is enabled (MCXN547  )</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/MCUXpresso-generates-invalid-eDMA-code-when-quot-Submit-transfer/m-p/2384996#M5559</link>
      <description>&lt;P class=""&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;I am using MCUXpresso Config Tools v26.x with an MCXN547 project and configuring an ADC -&amp;gt; eDMA transfer using the eDMA peripheral component.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Configuration:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;eDMA Channel API mode: Transactional (transfer configuration)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;eDMA request: ADC1 FIFO A request&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Submit transfer: Enabled&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Auto stop request: Enabled&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Peripheral request: Enabled&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;SPAN&gt;The generated code in &lt;/SPAN&gt;&lt;SPAN&gt;peripherals.c&lt;/SPAN&gt;&lt;SPAN&gt; contains:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;status = EDMA_SubmitTransfer(&amp;amp;DMA0_CH0_Handle,
                             DMA0_CH0_Transfers_config,
                             1U);
assert(status == kStatus_Success);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN&gt;However, no declaration for &lt;/SPAN&gt;&lt;SPAN&gt;status&lt;/SPAN&gt;&lt;SPAN&gt; is generated. As a result, the project fails to compile with:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;error: 'status' undeclared (first use in this function)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN&gt;Expected generated code would be either:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;status_t status;
status = EDMA_SubmitTransfer(...);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN&gt;or:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;assert(kStatus_Success ==
       EDMA_SubmitTransfer(...));&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN&gt;Has anyone seen this issue before?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Is this a known code-generation bug in Config Tools, or is there an additional configuration option required when using "Submit transfer"?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;I can provide the generated &lt;/SPAN&gt;&lt;SPAN&gt;peripherals.c&lt;/SPAN&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;SPAN&gt;.mex&lt;/SPAN&gt;&lt;SPAN&gt; configuration if needed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2026 10:50:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/MCUXpresso-generates-invalid-eDMA-code-when-quot-Submit-transfer/m-p/2384996#M5559</guid>
      <dc:creator>tjo_dk</dc:creator>
      <dc:date>2026-06-23T10:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso generates invalid eDMA code when "Submit transfer" is enabled (MCXN547  )</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/MCUXpresso-generates-invalid-eDMA-code-when-quot-Submit-transfer/m-p/2385272#M5562</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/264030"&gt;@tjo_dk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your post!&lt;/P&gt;
&lt;P&gt;Could you please share the which package of MCXN547 are you using?&lt;/P&gt;
&lt;P&gt;Which version of Config tools are you using? is it 26.03?&lt;/P&gt;
&lt;P&gt;Which SDK version do you have installed?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please share this information to replicate the setup on my end.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2026 19:11:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/MCUXpresso-generates-invalid-eDMA-code-when-quot-Submit-transfer/m-p/2385272#M5562</guid>
      <dc:creator>carlos_o</dc:creator>
      <dc:date>2026-06-23T19:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso generates invalid eDMA code when "Submit transfer" is enabled (MCXN547  )</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/MCUXpresso-generates-invalid-eDMA-code-when-quot-Submit-transfer/m-p/2385509#M5564</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thnaks for the fast responds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I have v26.03 of the tool&lt;/P&gt;&lt;P&gt;Processors:&lt;BR /&gt;MCXN547 (26.03.20) - MCX MCXN&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;MCUXpresso SDK&lt;/SPAN&gt; version 25.13.00&lt;/P&gt;&lt;P&gt;Package: mcuxsdk-core&lt;BR /&gt;Version: 2.0.0&lt;/P&gt;&lt;P&gt;The 'Loop all transfeer' in the DMA0- Transfeer Configuration ad this code to&amp;nbsp;DMA0_init()&lt;/P&gt;&lt;P&gt;/* DMA0 loop transfer submit */&lt;BR /&gt;status = EDMA_SubmitLoopTransfer(&amp;amp;DMA0_CH0_Handle, DMA0_CH0_Transfers_config, 1U);&lt;BR /&gt;assert(status == kStatus_Success);&lt;/P&gt;&lt;P&gt;Where 'status' is not declared anywhere.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2026 06:46:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/MCUXpresso-generates-invalid-eDMA-code-when-quot-Submit-transfer/m-p/2385509#M5564</guid>
      <dc:creator>tjo_dk</dc:creator>
      <dc:date>2026-06-24T06:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso generates invalid eDMA code when "Submit transfer" is enabled (MCXN547  )</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/MCUXpresso-generates-invalid-eDMA-code-when-quot-Submit-transfer/m-p/2385903#M5567</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/264030"&gt;@tjo_dk&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I tried to replicate the issue using the same configuration you are using. However, on my side, the code preview already includes the declaration of the status variable in the DMA0_init function.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="carlos_o_0-1782316035555.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/390037iC3628C27E4D071CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="carlos_o_0-1782316035555.png" alt="carlos_o_0-1782316035555.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2026 15:48:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/MCUXpresso-generates-invalid-eDMA-code-when-quot-Submit-transfer/m-p/2385903#M5567</guid>
      <dc:creator>carlos_o</dc:creator>
      <dc:date>2026-06-24T15:48:37Z</dc:date>
    </item>
  </channel>
</rss>

