<?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>Model-Based Design Toolbox (MBDT)のトピックRe: UART DMA &amp;amp; SPI DMA</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1956309#M9507</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199423"&gt;@dragostoma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I think I still need help.&lt;/P&gt;&lt;P&gt;I referred to the link and configured these in my S32 config tool, but I can't tell if this is correct for the UART DMA configuration.&lt;/P&gt;&lt;P&gt;1. MCU-&amp;gt; MCL General Congiuration -&amp;gt; Enable DMA&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1_MCL_EnableDMA.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299606iBEA21D27648D81E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="1_MCL_EnableDMA.PNG" alt="1_MCL_EnableDMA.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;MCU-&amp;gt; MCL Specific Congiuration -&amp;gt; Dma Logic Instance&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2_MCL_DMA_Logic_Instance.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299604iF3F3CEE4323FD430/image-size/large?v=v2&amp;amp;px=999" role="button" title="2_MCL_DMA_Logic_Instance.PNG" alt="2_MCL_DMA_Logic_Instance.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;MCU-&amp;gt; MCL Specific Congiuration -&amp;gt; Dma Logic Channel&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3_MCL_DMA_Callback.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299605iA4389A348C78A694/image-size/large?v=v2&amp;amp;px=999" role="button" title="3_MCL_DMA_Callback.PNG" alt="3_MCL_DMA_Callback.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;4. Uart-&amp;gt; General Congiuration -&amp;gt; Uart DMA Enable&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4_UART_DMA_Enabled.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299607iD42DE24AD8240299/image-size/large?v=v2&amp;amp;px=999" role="button" title="4_UART_DMA_Enabled.PNG" alt="4_UART_DMA_Enabled.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;5. Uart-&amp;gt; UartGlobal Config -&amp;gt; Tx DMA channel &amp;amp; Rx DMA channel config&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5_UART_DMA_Interrupt.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299608iCF0F69EAF8730101/image-size/large?v=v2&amp;amp;px=999" role="button" title="5_UART_DMA_Interrupt.PNG" alt="5_UART_DMA_Interrupt.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I know that I can initialize functions in Simulink through &lt;STRONG&gt;Model Header&lt;/STRONG&gt;&amp;nbsp;and &lt;STRONG&gt;System Initialize&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;However, I don't know how to implement DMA. I think I need a&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;example project&lt;/STRONG&gt;&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;By the way, I can't find any documentation explaining what each function does.&lt;/P&gt;&lt;P&gt;I don't know what function I should use to achieve what I want.&lt;/P&gt;&lt;P&gt;Could you please provide it?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Sep 2024 06:58:20 GMT</pubDate>
    <dc:creator>SuperBeginner</dc:creator>
    <dc:date>2024-09-18T06:58:20Z</dc:date>
    <item>
      <title>UART DMA &amp; SPI DMA</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1951629#M9463</link>
      <description>&lt;P&gt;Dear NXP,&lt;/P&gt;&lt;P&gt;I want to develop &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;SPI&lt;/STRONG&gt; &lt;/FONT&gt;and &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;UART&lt;/FONT&gt; &lt;/STRONG&gt;communication functions using &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;DMA in MBDT&lt;/STRONG&gt;&lt;/FONT&gt;, but I can't find any relevant tutorials or examples.&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="MBDT" id="MBDT"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;LI-PRODUCT title="S32K312EVB-Q172" id="S32K312EVB-Q172"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;#DMA #SPI #UART&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 03:10:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1951629#M9463</guid>
      <dc:creator>SuperBeginner</dc:creator>
      <dc:date>2024-09-11T03:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA &amp; SPI DMA</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1951820#M9468</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239656"&gt;@SuperBeginner&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Currently, the S32K3 Toolbox does not include support for Direct Memory Access (&lt;STRONG&gt;DMA&lt;/STRONG&gt;) component.&amp;nbsp;&lt;SPAN&gt;The DMA support will be included in the upcoming&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;MBDT S32K3xx version 1.6.0&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;release.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Since we provide the complete RTD driver package, you may still implement the &lt;STRONG&gt;DMA&lt;/STRONG&gt; functions (which are part of the &lt;STRONG&gt;MCL&lt;/STRONG&gt; block)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in our toolbox and access the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;DMA&lt;/STRONG&gt;'s API using custom code blocks.&lt;/P&gt;
&lt;P&gt;Moreover, you have some examples in our toolbox (&lt;STRONG&gt;s32k3xx_isr_custom_code_ebt&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;s32k344_mc_bldc_ebt&lt;/STRONG&gt;) where the application is using custom code. Beside the custom code examples, you should also check the following threads related to custom code usage:&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PWM-Capture-for-S32K3-in-Simulink/m-p/1732894#M8564" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PWM-Capture-for-S32K3-in-Simulink/m-p/1...&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SENT-Protocol-Support-in-S32K3-MBDT/m-p/1783542#M8737" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SENT-Protocol-Support-in-S32K3-MBDT/m-p...&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can also check the following topic&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/How-to-use-your-own-C-code-in-our-Toolbox-Battery-Management/ta-p/1119004" target="_self"&gt;How to use your own C code in our Toolbox (Battery Management System example)&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp;Here you will find an additional method of using custom code inside our toolbox.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Until the next version of the toolbox is released, you can use custom code to use the DMA functionality. You will find a thread that can help you related to &lt;STRONG&gt;DMA enabling in MBDT&lt;/STRONG&gt; at the following link:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/DMA-enabling-in-MBDT/m-p/1819674" target="_blank"&gt;https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/DMA-enabling-in-MBDT/m-p/1819674&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this helps you for now.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Dragos&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 07:17:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1951820#M9468</guid>
      <dc:creator>dragostoma</dc:creator>
      <dc:date>2024-09-11T07:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA &amp; SPI DMA</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1956309#M9507</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199423"&gt;@dragostoma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I think I still need help.&lt;/P&gt;&lt;P&gt;I referred to the link and configured these in my S32 config tool, but I can't tell if this is correct for the UART DMA configuration.&lt;/P&gt;&lt;P&gt;1. MCU-&amp;gt; MCL General Congiuration -&amp;gt; Enable DMA&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1_MCL_EnableDMA.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299606iBEA21D27648D81E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="1_MCL_EnableDMA.PNG" alt="1_MCL_EnableDMA.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;MCU-&amp;gt; MCL Specific Congiuration -&amp;gt; Dma Logic Instance&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2_MCL_DMA_Logic_Instance.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299604iF3F3CEE4323FD430/image-size/large?v=v2&amp;amp;px=999" role="button" title="2_MCL_DMA_Logic_Instance.PNG" alt="2_MCL_DMA_Logic_Instance.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;MCU-&amp;gt; MCL Specific Congiuration -&amp;gt; Dma Logic Channel&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3_MCL_DMA_Callback.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299605iA4389A348C78A694/image-size/large?v=v2&amp;amp;px=999" role="button" title="3_MCL_DMA_Callback.PNG" alt="3_MCL_DMA_Callback.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;4. Uart-&amp;gt; General Congiuration -&amp;gt; Uart DMA Enable&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4_UART_DMA_Enabled.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299607iD42DE24AD8240299/image-size/large?v=v2&amp;amp;px=999" role="button" title="4_UART_DMA_Enabled.PNG" alt="4_UART_DMA_Enabled.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;5. Uart-&amp;gt; UartGlobal Config -&amp;gt; Tx DMA channel &amp;amp; Rx DMA channel config&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5_UART_DMA_Interrupt.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299608iCF0F69EAF8730101/image-size/large?v=v2&amp;amp;px=999" role="button" title="5_UART_DMA_Interrupt.PNG" alt="5_UART_DMA_Interrupt.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I know that I can initialize functions in Simulink through &lt;STRONG&gt;Model Header&lt;/STRONG&gt;&amp;nbsp;and &lt;STRONG&gt;System Initialize&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;However, I don't know how to implement DMA. I think I need a&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;example project&lt;/STRONG&gt;&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;By the way, I can't find any documentation explaining what each function does.&lt;/P&gt;&lt;P&gt;I don't know what function I should use to achieve what I want.&lt;/P&gt;&lt;P&gt;Could you please provide it?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 06:58:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1956309#M9507</guid>
      <dc:creator>SuperBeginner</dc:creator>
      <dc:date>2024-09-18T06:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA &amp; SPI DMA</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1956444#M9509</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239656"&gt;@SuperBeginner&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The documentation you need, with explanations of each function and how to use them, can be found at the following path:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;toolbox_root/S32K3_RTD/SW32K3_S32M27x_RTD_R21-11_4.0.0_P19/eclipse/plugins/Mcl_TS_T40D34M40I0R0&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;At this location you can find the following:&lt;/P&gt;
&lt;P&gt;- in&amp;nbsp;&lt;STRONG&gt;doc&lt;/STRONG&gt; folder you can find&amp;nbsp;&lt;STRONG&gt;RTD_MCL_UM.pdf&lt;/STRONG&gt; file, which is the User Manual for the &lt;STRONG&gt;MCL driver&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;- in &lt;STRONG&gt;include&lt;/STRONG&gt; folder you can find&amp;nbsp;&lt;STRONG&gt;CDD_Mcl.h&lt;/STRONG&gt; file, which is the main header file for the &lt;STRONG&gt;MCL driver&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;- in &lt;STRONG&gt;src&lt;/STRONG&gt; folder you can find&amp;nbsp;&lt;STRONG&gt;CDD_Mcl.c&lt;/STRONG&gt; file, which is the main source file for the &lt;STRONG&gt;MCL driver.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Based on the documentation above, you can understand the functionalities of each function, what parameters it has and how to use it in your application using custom code.&lt;/P&gt;
&lt;P&gt;Now related to your application, until the next version of the toolbox is released, which will contain example models using &lt;STRONG&gt;DMA&lt;/STRONG&gt;, I can guide you with the application you are trying to implement.&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4" color="#008000"&gt;&lt;STRONG&gt;1. RM tab&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;In order to implement a DMA transfer, it will be necessary to add the &lt;STRONG&gt;RM&amp;nbsp;&lt;/STRONG&gt;(Resource Manager) component,&amp;nbsp;to be able to set the DMA source.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_1-1726644685588.png" style="width: 724px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299626i55198F8F425344C2/image-dimensions/724x381?v=v2" width="724" height="381" role="button" title="dragostoma_1-1726644685588.png" alt="dragostoma_1-1726644685588.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_0-1726644653570.png" style="width: 722px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299625i0101CB825B72D7BE/image-dimensions/722x414?v=v2" width="722" height="414" role="button" title="dragostoma_0-1726644653570.png" alt="dragostoma_0-1726644653570.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Let's assume that we chose the &lt;STRONG&gt;LPUART 3&lt;/STRONG&gt; instance.&amp;nbsp;We will create a configuration each for TX and RX, to ensure that we set the DMA MUX Source based on the chosen LPUART instance.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_2-1726645487993.png" style="width: 720px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299632i4097A9C29A1E7210/image-dimensions/720x523?v=v2" width="720" height="523" role="button" title="dragostoma_2-1726645487993.png" alt="dragostoma_2-1726645487993.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It should be noted that this newly added Rm component must be initialized in the &lt;STRONG&gt;Board&lt;/STRONG&gt; &lt;STRONG&gt;initialization.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_3-1726645763122.png" style="width: 699px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299635iFEDC03DEEC3C2C8D/image-dimensions/699x262?v=v2" width="699" height="262" role="button" title="dragostoma_3-1726645763122.png" alt="dragostoma_3-1726645763122.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_4-1726645799467.png" style="width: 698px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299636iFE9F209B925305D5/image-dimensions/698x506?v=v2" width="698" height="506" role="button" title="dragostoma_4-1726645799467.png" alt="dragostoma_4-1726645799467.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_5-1726645831948.png" style="width: 688px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299637i331754F4FC3505EA/image-dimensions/688x28?v=v2" width="688" height="28" role="button" title="dragostoma_5-1726645831948.png" alt="dragostoma_5-1726645831948.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4" color="#008000"&gt;&lt;STRONG&gt;2. MCL tab&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The &lt;STRONG&gt;MclDma&lt;/STRONG&gt; must be enabled.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_6-1726646037213.png" style="width: 713px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299638i044081BD0DB35AE6/image-dimensions/713x440?v=v2" width="713" height="440" role="button" title="dragostoma_6-1726646037213.png" alt="dragostoma_6-1726646037213.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;A logic instance must be assigned.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_7-1726646096767.png" style="width: 710px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299639i0FC295882CD4A1EC/image-dimensions/710x309?v=v2" width="710" height="309" role="button" title="dragostoma_7-1726646096767.png" alt="dragostoma_7-1726646096767.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And the logic channels must be set, for both TX and RX.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_8-1726646191963.png" style="width: 714px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299641iD2F333BAB33573F9/image-dimensions/714x396?v=v2" width="714" height="396" role="button" title="dragostoma_8-1726646191963.png" alt="dragostoma_8-1726646191963.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_9-1726646262026.png" style="width: 714px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299642i7D5876F288F616AE/image-dimensions/714x396?v=v2" width="714" height="396" role="button" title="dragostoma_9-1726646262026.png" alt="dragostoma_9-1726646262026.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The &lt;STRONG&gt;Hardware Channel&lt;/STRONG&gt; must be the same as the one set in the Rm component, at &lt;STRONG&gt;Dma Hardware Channel&amp;nbsp;&lt;/STRONG&gt;(DMA_CHANNEL_16 and DMA_CHANNEL_17).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For UART using DMA, the interrupt callbacks are already defined based on the LPUART instance, so in this case must be used&amp;nbsp;&lt;STRONG&gt;Lpuart_3_Uart_Ip_DmaTxCompleteCallback&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;Lpuart_3_Uart_Ip_DmaRxCompleteCallback&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;The &lt;STRONG&gt;Enable Global Config&lt;/STRONG&gt; check enabled the &lt;STRONG&gt;Global&lt;/STRONG&gt; tab usage, where it should be enabled the &lt;STRONG&gt;DMA Request&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_10-1726646523326.png" style="width: 718px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299645i572476D57A04FBF4/image-dimensions/718x393?v=v2" width="718" height="393" role="button" title="dragostoma_10-1726646523326.png" alt="dragostoma_10-1726646523326.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4" color="#008000"&gt;&lt;STRONG&gt;3. MCU tab&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The corresponding peripheral clocks must be enabled.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_12-1726646864226.png" style="width: 720px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299652iE7FAC11BEE023CC8/image-dimensions/720x448?v=v2" width="720" height="448" role="button" title="dragostoma_12-1726646864226.png" alt="dragostoma_12-1726646864226.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_11-1726646802040.png" style="width: 518px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299651iADF8B7D92C107EED/image-dimensions/518x48?v=v2" width="518" height="48" role="button" title="dragostoma_11-1726646802040.png" alt="dragostoma_11-1726646802040.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_13-1726646924745.png" style="width: 514px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299653i30596FCED386EFC7/image-dimensions/514x27?v=v2" width="514" height="27" role="button" title="dragostoma_13-1726646924745.png" alt="dragostoma_13-1726646924745.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_15-1726646992733.png" style="width: 515px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299655iD35A964C3F88F1EA/image-dimensions/515x30?v=v2" width="515" height="30" role="button" title="dragostoma_15-1726646992733.png" alt="dragostoma_15-1726646992733.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_16-1726647019259.png" style="width: 522px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299656i801159F1E2E4C004/image-dimensions/522x30?v=v2" width="522" height="30" role="button" title="dragostoma_16-1726647019259.png" alt="dragostoma_16-1726647019259.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4" color="#008000"&gt;&lt;STRONG&gt;4. PORT tab&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The RX and TX pins must be enabled for the LPUART 3 instance.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_17-1726647268934.png" style="width: 726px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299659i32C5DE00E9B80D72/image-dimensions/726x595?v=v2" width="726" height="595" role="button" title="dragostoma_17-1726647268934.png" alt="dragostoma_17-1726647268934.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_18-1726647300601.png" style="width: 727px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299660iADE84FD85BE44F4E/image-dimensions/727x358?v=v2" width="727" height="358" role="button" title="dragostoma_18-1726647300601.png" alt="dragostoma_18-1726647300601.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4" color="#008000"&gt;&lt;STRONG&gt;5. PLATFORM tab&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The corresponding interrupts must be enabled.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_19-1726647420028.png" style="width: 720px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299663iE23A4860265952E6/image-dimensions/720x540?v=v2" width="720" height="540" role="button" title="dragostoma_19-1726647420028.png" alt="dragostoma_19-1726647420028.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It should be mentioned that the interrupt corresponding to &lt;STRONG&gt;LPUART 3&lt;/STRONG&gt; should &lt;STRONG&gt;not&lt;/STRONG&gt; be enabled, because the data transfer will be done through DMA, and the interrupts will be triggered based on the chosen TCDs and RX and TX callbacks.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_20-1726647473983.png" style="width: 532px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299664iE7A18E9DEDE9B292/image-dimensions/532x24?v=v2" width="532" height="24" role="button" title="dragostoma_20-1726647473983.png" alt="dragostoma_20-1726647473983.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4" color="#008000"&gt;&lt;STRONG&gt;6. UART tab&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The DMA must be enabled.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_21-1726647610648.png" style="width: 721px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299665i84448029227FEECB/image-dimensions/721x391?v=v2" width="721" height="391" role="button" title="dragostoma_21-1726647610648.png" alt="dragostoma_21-1726647610648.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You should check also the&lt;STRONG&gt;&amp;nbsp;Uart Timeout Duration&lt;/STRONG&gt; according to your application.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_22-1726647802791.png" style="width: 723px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299669i32DCB8377229C1CE/image-dimensions/723x598?v=v2" width="723" height="598" role="button" title="dragostoma_22-1726647802791.png" alt="dragostoma_22-1726647802791.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It should be mentioned that for this demonstration we chose &lt;STRONG&gt;LPUART 3&lt;/STRONG&gt; arbitrarily, and that any other instance can be used. Keep in mind that a &lt;STRONG&gt;USB2Serial Converter&lt;/STRONG&gt; is needed for this instance, because the &lt;STRONG&gt;RX&lt;/STRONG&gt; and &lt;STRONG&gt;TX&lt;/STRONG&gt; pins are not directly connected to &lt;STRONG&gt;OpenSDA&lt;/STRONG&gt;, as in the case of &lt;STRONG&gt;LPUART 6&lt;/STRONG&gt;.&amp;nbsp;If you want to use LPUART 6, the UBS2Serial Converter is no longer needed.&lt;/P&gt;
&lt;P&gt;You can use the Simulink model from the &lt;STRONG&gt;Async UART&lt;/STRONG&gt; example and it should work correctly for the previously configured LPUART instance. For the Hardware Interrupt Callback part, the model will use the same UART callback that will manage the data transfer through DMA.&lt;/P&gt;
&lt;P&gt;Let me know if you managed to configure the UART using DMA.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Dragos&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 08:30:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1956444#M9509</guid>
      <dc:creator>dragostoma</dc:creator>
      <dc:date>2024-09-18T08:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA &amp; SPI DMA</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1956495#M9511</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199423"&gt;@dragostoma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I have a question during the setting process, which is about the setting of DMA Hardware Channel.&lt;/P&gt;&lt;P&gt;Referring to the picture you provided, you selected ch16 and ch17.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DMA_HardwareChannel_Example.PNG" style="width: 588px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299681iCE784AC53AE9971C/image-dimensions/588x348?v=v2" width="588" height="348" role="button" title="DMA_HardwareChannel_Example.PNG" alt="DMA_HardwareChannel_Example.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But I don't see the channel in the s32config tool.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rm_DMA_Channel.png" style="width: 579px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299680i79993DB49B457C17/image-dimensions/579x342?v=v2" width="579" height="342" role="button" title="Rm_DMA_Channel.png" alt="Rm_DMA_Channel.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I'm worried that this channel setting will be related to the selected uart, but I didn't see the relevant guidance in the user manual.&lt;/P&gt;&lt;P&gt;Do you have any suggestions?&lt;/P&gt;&lt;P&gt;In addition, can you provide me with an example of using this dma setting on simulink?&lt;/P&gt;&lt;P&gt;I have been researching for a long time and still have no clue.&lt;/P&gt;&lt;P&gt;I just need to simply blink the LED when receiving characters.&lt;/P&gt;&lt;P&gt;I'll work on the rest by myself, thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 09:15:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1956495#M9511</guid>
      <dc:creator>SuperBeginner</dc:creator>
      <dc:date>2024-09-18T09:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA &amp; SPI DMA</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1956518#M9512</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239656"&gt;@SuperBeginner&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The reason why the number of channels differs is because in my example I used a different hardware board, namely S32K344. The number of channels differs depending on each hardware board. I chose to use in the presented example an instance and some arbitrarily chosen DMA channels, just for demonstration purposes, but you can choose any instance available on the hardware board you own.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_1-1726651962565.png" style="width: 635px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299687i38AB1AE10D846DC8/image-dimensions/635x591?v=v2" width="635" height="591" role="button" title="dragostoma_1-1726651962565.png" alt="dragostoma_1-1726651962565.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Dma Hardware Instances&lt;/STRONG&gt; are divided so that either &lt;STRONG&gt;Dma Mux Source 0&lt;/STRONG&gt; or &lt;STRONG&gt;Dma Mux Source 1&lt;/STRONG&gt; can be used. In the example shown, &lt;STRONG&gt;Dma Mux Source 1&lt;/STRONG&gt; is used. You can also use the same source, choosing hardware channels from the second half of the list .&lt;/P&gt;
&lt;P&gt;The LPUART instances available for each individual source differ and depending on your application and the availability of the LPUART instances, you can choose &lt;STRONG&gt;Dma Mux Source&lt;/STRONG&gt; accordingly:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;DMA MUX 0&lt;/STRONG&gt;: LPUART_0, LPUART_1&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_3-1726652311267.png" style="width: 707px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299690iE07AC94AD65AB0AF/image-dimensions/707x320?v=v2" width="707" height="320" role="button" title="dragostoma_3-1726652311267.png" alt="dragostoma_3-1726652311267.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;DMA MUX 1&lt;/STRONG&gt;: LPUART_2, LPUART_3, LPUART_4, LPUART_5, LPUART_6, LPUART_7&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_2-1726652188366.png" style="width: 702px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299688i227DDD0D998DD8D0/image-dimensions/702x335?v=v2" width="702" height="335" role="button" title="dragostoma_2-1726652188366.png" alt="dragostoma_2-1726652188366.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Whichever instance and channels you choose, make sure you maintain consistency with regards to the DMA configuration.&lt;/P&gt;
&lt;P&gt;Based on the information provided, you should be able to configure the UART data transmission functionality using DMA.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dragos&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 09:42:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1956518#M9512</guid>
      <dc:creator>dragostoma</dc:creator>
      <dc:date>2024-09-18T09:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA &amp; SPI DMA</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1957339#M9516</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199423"&gt;@dragostoma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I followed your instructions and tried to configure DMA, but was unable to refresh the program.&lt;/P&gt;&lt;P&gt;It always show this error message.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rm_DMA_ErrorMessage.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299909iDE64D57C26904E91/image-size/large?v=v2&amp;amp;px=999" role="button" title="Rm_DMA_ErrorMessage.PNG" alt="Rm_DMA_ErrorMessage.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Currently, I am using the sample project "&lt;STRONG&gt;s32k3xx_uart_buffer_s32ct&lt;/STRONG&gt;" to try to set up the &lt;STRONG&gt;DMA&lt;/STRONG&gt; of &lt;STRONG&gt;LPUART 3&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I found that just adding "&lt;STRONG&gt;Rm_tab&lt;/STRONG&gt;" in the S32 configuration tool and updating the code caused the error to occur.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rm_Step.PNG" style="width: 591px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299911iD48080B14E96C251/image-dimensions/591x726?v=v2" width="591" height="726" role="button" title="Rm_Step.PNG" alt="Rm_Step.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Although I did not configure anything in Rm_tab and Borad was not initialized when it was initialized, the above error message popped up immediately.&lt;/P&gt;&lt;P&gt;Of course, this also happens if I follow the Borad initialization steps you provided.&lt;/P&gt;&lt;P&gt;Can you give me some advice?&lt;/P&gt;&lt;P&gt;In addition, I want to apologize because English is not my native language. I have some questions about your suggestion&lt;/P&gt;&lt;P&gt;I saw you mentioned &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;"You can use the Simulink model from theAsync UARTexample and it should work correctly for the previously configured LPUART instance. For the Hardware Interrupt Callback part, the model will use the same UART callback that will manage the data transfer through DMA."&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Do you mean that I just follow the Example project to complete the block configuration?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;For example, enable the uart channel of&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt; lpuart 3&lt;/STRONG&gt; &lt;/FONT&gt;in the initialize function.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UART_DMA_InitializeFunction.PNG" style="width: 990px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299915i9E800F5EE114AA01/image-size/large?v=v2&amp;amp;px=999" role="button" title="UART_DMA_InitializeFunction.PNG" alt="UART_DMA_InitializeFunction.PNG" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Than, change all uart channels to lpuart 3. I can implement DMA.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UART_Example.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299914i18C99C07F8153186/image-size/large?v=v2&amp;amp;px=999" role="button" title="UART_Example.PNG" alt="UART_Example.PNG" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Is this your meaning? &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thank you for your reply.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 07:30:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1957339#M9516</guid>
      <dc:creator>SuperBeginner</dc:creator>
      <dc:date>2024-09-19T07:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA &amp; SPI DMA</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1959323#M9541</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199423" target="_blank"&gt;@dragostoma&lt;/A&gt;&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/100054" target="_blank" rel="noopener"&gt;&lt;FONT&gt;@Irina_Costachescu&lt;/FONT&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Can you help me resolve the above error message -&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"Build process stopped because two files have the same filename in the list of source files"&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;and&amp;nbsp;the above questions about UART DMA in MBDT config?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 01:18:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1959323#M9541</guid>
      <dc:creator>SuperBeginner</dc:creator>
      <dc:date>2024-09-23T01:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA &amp; SPI DMA</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1959661#M9547</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239656"&gt;@SuperBeginner&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;First of all, I would recommend that you initially configure the application using the &lt;STRONG&gt;s32k3xx_uart_async_s32ct&lt;/STRONG&gt; model, being simpler, transferring a single character, compared to the model you mentioned &lt;STRONG&gt;s32k3xx_uart_buffer_s32ct&lt;/STRONG&gt;, which uses a buffer with which you can transmit several characters.&lt;/P&gt;
&lt;P&gt;Secondly, related to the error that mentions that there are two files with the same filename in the list of source files, I recommend you try to delete the files generated next to the model, namely the &lt;STRONG&gt;&lt;EM&gt;model_name&lt;/EM&gt;_Config&lt;/STRONG&gt; folder and try to open and build from new model. Also, make sure that you don't have multiple Config folders generated in different locations in the toolbox, because they may interfere with each other. If the error persists during the build, your model and configuration could help us to try to figure out the problem.&lt;/P&gt;
&lt;P&gt;Moreover, related to the activation of the &lt;STRONG&gt;RM&lt;/STRONG&gt; component, I do not understand exactly how you achieved the enablement of this component, try to follow the described steps and configure in the RM component to be able to use the DMA functionality.&lt;/P&gt;
&lt;P&gt;Related to your final question, if you select in the Simulink blocks the UART channel corresponding to the instance that is configured to use DMA, and if you correctly followed all the steps previously described, you should have an application that successfully transmits using DMA. In the Hardware Interrupt Callback block, &lt;STRONG&gt;MBDT_Uart_Callback&lt;/STRONG&gt; must be enabled, for this it calls the interrupt callbacks configured for TX and RX.&lt;/P&gt;
&lt;P&gt;So, in conclusion, try the previous recommendations and let us know how it works and if you encounter any other problems.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dragos&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 08:31:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1959661#M9547</guid>
      <dc:creator>dragostoma</dc:creator>
      <dc:date>2024-09-23T08:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA &amp; SPI DMA</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1959750#M9549</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199423"&gt;@dragostoma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I followed your suggestion and tried configuring again using the example project - &lt;STRONG&gt;"s32k3xx_uart_async_s32ct"&lt;/STRONG&gt;, but still got the error.&lt;/P&gt;&lt;P&gt;I also tried deleting the file produced by the model after the error occurred, namely &lt;STRONG&gt;"model_name_Config".&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I tried my best to screenshot the steps from s32CT configuration to Build &amp;amp; Deploy.&lt;/P&gt;&lt;P&gt;Can you help me check if I'm missing anything that causes this error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 09:30:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1959750#M9549</guid>
      <dc:creator>SuperBeginner</dc:creator>
      <dc:date>2024-09-23T09:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA &amp; SPI DMA</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1959977#M9550</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239656"&gt;@SuperBeginner&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The steps you followed, at first glance, seem correct, with a small exception that I don't know if it's just from the screenshot, but make sure you don't have any spaces in the name of the interrupt handlers, because that's what it looks like from the picture sent.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_0-1727102083501.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300722i1219B77CDF2D1D89/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dragostoma_0-1727102083501.png" alt="dragostoma_0-1727102083501.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The model and its configuration could also help us to test and see if the error is reproduced in our case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dragos&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 14:36:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1959977#M9550</guid>
      <dc:creator>dragostoma</dc:creator>
      <dc:date>2024-09-23T14:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA &amp; SPI DMA</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1960327#M9556</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199423"&gt;@dragostoma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Regarding the space in the interrupt handler name, this was a misunderstanding caused by my screenshot.&lt;/P&gt;&lt;P&gt;I made sure it has&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt; no spaces&lt;/STRONG&gt;&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;I've attached my model file here to hopefully give you a better idea of ​​my configuration and situation.&lt;/P&gt;&lt;P&gt;Also, I noticed that the full error message is not shown in the screenshot, so I'm attaching it here as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;### Invoking Target Language Compiler on s32k3xx_uart_async_s32ct.rtw
### Using System Target File: C:\Program Files\MATLAB\R2021a\rtw\c\ert\ert.tlc
### Loading TLC function libraries
.......
### Generating TLC interface API for custom data
...
### Initial pass through model to cache user defined code
..
### Caching model source code
........................................................
    ### Writing header file s32k3xx_uart_async_s32ct_types.h
    ### Writing header file s32k3xx_uart_async_s32ct.h
    ### Writing source file s32k3xx_uart_async_s32ct.c
.
    ### Writing header file rtwtypes.h
    ### Writing header file s32k3xx_uart_async_s32ct_private.h
    ### Writing source file s32k3xx_uart_async_s32ct_data.c
    ### Writing header file rtmodel.h
    ### Writing source file ert_main.c
.
### TLC code generation complete.
### Evaluating PostCodeGenCommand specified in the model
### Using toolchain: S32DS GCC
### Build procedure for s32k3xx_uart_async_s32ct aborted due to an error.

Build Summary

Top model targets built:

Model                     Action  Rebuild Reason                                    
====================================================================================
s32k3xx_uart_async_s32ct  Failed  Code generation information file does not exist.  

0 of 1 models built (0 models already up to date)
Build duration: 0h 0m 34.942s
Error using coder.make.internal.getMakeDependencies&amp;gt;locGetModules (line 225)
Build process stopped because two files have the same filename in the list of source files:

 "ert_main.c s32k3xx_uart_async_s32ct.c s32k3xx_uart_async_s32ct_data.c Siul2_Port_Ip_Cfg.c Tspc_Port_Ip_Cfg.c mbdt_board_init.c s32k3_trigger_config.c exceptions.c nvic.c startup.c
 sys_init.c system.c Vector_Table.s startup_cm7.s Adc.c Adc_Ipw.c Adc_Ipw_Irq.c Adc_Sar_Ip.c Adc_Sar_Ip_Irq.c Axbs_Ip.c Bctu_Ip.c Bctu_Ip_Irq.c CDD_Mcl.c CDD_Mcl_Ipw.c CDD_Rm.c
 CDD_Rm_Ipw.c CDD_Uart.c Cache_Ip.c Cache_Ip_HwAcc_ArmCoreMx.c Can_43_FLEXCAN.c Can_43_FLEXCAN_Ipw.c Can_43_FLEXCAN_Irq.c Clock_Ip.c Clock_Ip_Data.c Clock_Ip_Divider.c
 Clock_Ip_DividerTrigger.c Clock_Ip_ExtOsc.c Clock_Ip_FracDiv.c Clock_Ip_Frequency.c Clock_Ip_Gate.c Clock_Ip_IntOsc.c Clock_Ip_Irq.c Clock_Ip_Monitor.c Clock_Ip_Pll.c
 Clock_Ip_ProgFreqSwitch.c Clock_Ip_Selector.c Clock_Ip_Specific.c Cmp_Ip.c DSPSS_Api.c Det.c Det_stub.c Dio.c Dio_Ipw.c Dma_Ip.c Dma_Ip_Driver_State.c Dma_Ip_Hw_Access.c
 Dma_Ip_Irq.c Dma_Ip_Multicore.c Dma_Mux_Ip.c EcuM.c Emios_Gpt_Ip.c Emios_Icu_Ip.c Emios_Icu_Ip_Irq.c Emios_Mcl_Ip.c Emios_Mcl_Ip_Irq.c Emios_Pwm_Ip.c Emios_Pwm_Ip_Irq.c FlexCAN_Ip.c
 FlexCAN_Ip_HwAccess.c FlexCAN_Ip_Irq.c FlexPwm_Ip.c FlexPwm_Ip_Irq.c Flexio_Lin_Ip.c Flexio_Mcl_Ip.c Flexio_Mcl_Ip_HwAccess.c Flexio_Mcl_Ip_Irq.c Flexio_Pwm_Ip.c Flexio_Pwm_Ip_Irq.c
 Flexio_Spi_Ip.c Flexio_Spi_Ip_Irq.c Flexio_Uart_Ip.c Flexio_Uart_Ip_Irq.c Gpt.c Gpt_Ipw.c Icu.c Icu_Ipw.c IntCtrl_Ip.c Lcu_Ip.c Lcu_Ip_Hw_Access.c Lcu_Ip_Irq.c Lcu_Ip_Multicore.c
 Lin_43_LPUART_FLEXIO.c Lin_43_LPUART_FLEXIO_ASRExt.c Lin_43_LPUART_FLEXIO_Ipw.c Lin_Ip_Common.c Lpspi_Ip.c Lpspi_Ip_Irq.c Lpuart_Lin_Ip.c Lpuart_Lin_Ip_Hw_Access.c
 Lpuart_Lin_Ip_Irq.c Lpuart_Uart_Ip.c Lpuart_Uart_Ip_Irq.c Mcu.c Mcu_Dem_Wrapper.c Mcu_Ipw.c Mpu_M7_Ip.c Mscm_Ip.c OsIf_Interrupts.c OsIf_Timer.c OsIf_Timer_System.c
 OsIf_Timer_System_Internal_Systick.c Os_counter_api.c Os_multicore.c Pflash_Ip.c Pit_Ip.c Platform.c Platform_Ipw.c Port.c Port_Ipw.c Power_Ip.c Power_Ip_AEC.c Power_Ip_CortexM7.c
 Power_Ip_DCM_GPR.c Power_Ip_FLASH.c Power_Ip_MC_ME.c Power_Ip_MC_RGM.c Power_Ip_MC_RGM_Irq.c Power_Ip_PMC.c Power_Ip_PMC_Irq.c Power_Ip_Private.c Pwm.c Pwm_Ipw.c Pwm_Ipw_Irq.c
 Ram_Ip.c Rtc_Ip.c SchM_Adc.c SchM_Ae.c SchM_Can.c SchM_CanTrcv_43_AE.c SchM_Can_43_FLEXCAN.c SchM_Crc.c SchM_Crypto.c SchM_Dio.c SchM_Dpga.c SchM_Eep.c SchM_Eth.c
 SchM_EthSwt_43_SJA11XX.c SchM_EthTrcv_43_PHY.c SchM_Eth_43_GMAC.c SchM_Fee.c SchM_Fls.c SchM_Gdu.c SchM_Gpt.c SchM_I2c.c SchM_I2s.c SchM_Icu.c SchM_Ipcf.c SchM_Iseled.c
 SchM_Lin_43_LPUART_FLEXIO.c SchM_Mc12xs6.c SchM_Mcl.c SchM_Mcu.c SchM_MemAcc.c SchM_Mem_43_Eep.c SchM_Mem_43_ExFls.c SchM_Mem_43_InFls.c SchM_Ocotp.c SchM_Ocu.c SchM_Platform.c
 SchM_Port.c SchM_Pwm.c SchM_Rm.c SchM_Sbc_fs26.c SchM_Sent.c SchM_Spi.c SchM_Uart.c SchM_Wdg.c SchM_Wdg_43_fs26.c SchM_Zipwire.c Sdadc_Ip.c Sdadc_Ip_Irq.c Sema42_Ip.c Siul2_Dio_Ip.c
 Siul2_Icu_Ip.c Siul2_Icu_Ip_Irq.c Siul2_Port_Ip.c Spi.c Spi_Ipw.c Stm_Ip.c System_Ip.c Trgmux_Ip.c Trgmux_Ip_HwAcc.c Tspc_Port_Ip.c Uart_Ipw.c Virt_Wrapper_Ip.c Wkpu_Ip.c
 Wkpu_Ip_Irq.c Xbic_Ip.c Xrdc_Ip.c Adc_Cfg.c Adc_Ipw_MBDT_PBcfg.c Adc_MBDT_PBcfg.c Adc_Sar_Ip_MBDT_PBcfg.c Axbs_Ip_MBDT_PBcfg.c Bctu_Ip_MBDT_PBcfg.c CDD_Mcl_Cfg.c
 CDD_Mcl_MBDT_PBcfg.c CDD_Rm_Cfg.c CDD_Rm_Ipw_MBDT_PBcfg.c CDD_Rm_MBDT_PBcfg.c CDD_Uart_MBDT_PBcfg.c CanIf_Cfg.c CanIf_MBDT_PBcfg.c Can_43_FLEXCAN_Ipw_MBDT_PBcfg.c
 Can_43_FLEXCAN_MBDT_PBcfg.c Clock_Ip_Cfg.c Clock_Ip_MBDT_PBcfg.c Cmp_Ip_MBDT_PBcfg.c Dio_Cfg.c Dma_Ip_Cfg.c Dma_Ip_MBDT_PBcfg.c Dma_Mux_Ip_MBDT_PBcfg.c Emios_Gpt_Ip_MBDT_PBcfg.c
 Emios_Icu_Ip_MBDT_PBcfg.c Emios_Mcl_Ip_MBDT_PBcfg.c Emios_Pwm_Ip_MBDT_PBcfg.c FlexCAN_Ip_MBDT_PBcfg.c FlexPwm_Ip_MBDT_PBcfg.c Flexio_Lin_Ip_MBDT_PBcfg.c Flexio_Mcl_Ip_MBDT_PBcfg.c
 Flexio_Pwm_Ip_MBDT_PBcfg.c Flexio_Spi_Ip_MBDT_PBcfg.c Flexio_Uart_Ip_MBDT_PBcfg.c Gpt_Cfg.c Gpt_Ipw_MBDT_PBcfg.c Gpt_MBDT_PBcfg.c Icu_Cfg.c Icu_DmaNotification.c
 Icu_Ipw_MBDT_PBcfg.c Icu_MBDT_PBcfg.c Igf_Port_Ip_MBDT_PBcfg.c IntCtrl_Ip_Cfg.c Lcu_Ip_Cfg.c Lcu_Ip_MBDT_PBcfg.c Lin_43_LPUART_FLEXIO_Cfg.c Lin_43_LPUART_FLEXIO_Ipw_MBDT_PBcfg.c
 Lin_43_LPUART_FLEXIO_MBDT_PBcfg.c Lpspi_Ip_MBDT_PBcfg.c Lpuart_Lin_Ip_MBDT_PBcfg.c Lpuart_Uart_Ip_MBDT_PBcfg.c Mcu_Cfg.c Mcu_MBDT_PBcfg.c Mpu_M7_Ip_Cfg.c Mscm_Ip_MBDT_PBcfg.c
 OsIf_Cfg.c Pflash_Ip_Cfg.c Pflash_Ip_MBDT_PBcfg.c Pit_Ip_MBDT_PBcfg.c Platform_Cfg.c Platform_Ipw_Cfg.c Port_Cfg.c Port_MBDT_PBcfg.c Power_Ip_Cfg.c Power_Ip_MBDT_PBcfg.c
 Pwm_MBDT_PBcfg.c Ram_Ip_Cfg.c Ram_Ip_MBDT_PBcfg.c Rtc_Ip_MBDT_PBcfg.c Sdadc_Ip_MBDT_PBcfg.c Siul2_Icu_Ip_MBDT_PBcfg.c Siul2_Port_Ip_Cfg.c Siul2_Port_Ip_MBDT_PBcfg.c
 Spi_Ipw_MBDT_PBcfg.c Spi_MBDT_PBcfg.c Stm_Ip_MBDT_PBcfg.c Trgmux_Ip_Cfg.c Trgmux_Ip_MBDT_PBcfg.c Tspc_Port_Ip_Cfg.c Tspc_Port_Ip_MBDT_PBcfg.c Uart_Ipw_MBDT_PBcfg.c
 Virt_Wrapper_Ip_MBDT_PBcfg.c Wkpu_Ip_MBDT_PBcfg.c Xbic_Ip_MBDT_PBcfg.c Xrdc_Ip_Cfg.c Xrdc_Ip_MBDT_PBcfg.c"

Error in coder.make.internal.getMakeDependencies (line 31)
    srcDeps = locGetModules(lBuildInfo,ext,incGrps,excGrps);

Error in coder.make.Builder.getDependencyInfo (line 18)
[dependencyTree, sysLibsPaths] = coder.make.internal.getMakeDependencies...

Error in coder.make.Builder (line 114)
            [h.DependencyTree, h.SysLibPaths] = coder.make.Builder.getDependencyInfo...

Error in coder.make.invokeBuilder (line 24)
builder = feval(builderName, buildInfo, lBuildConfiguration, ...

Error in RTW.genMakefileAndBuild (line 441)
        coder.make.invokeBuilder...

Error in codebuild (line 213)
    lMakeResult = RTW.genMakefileAndBuild...

Error in coder.internal.ModelBuilder/buildProcedure (line 1513)
                    compileResult = codebuild(lBuildInfoUpdated, compileBuildOptsUpdated);

Error in coder.internal.ModelBuilder/make_rtw (line 168)
                [buildResult, mainObjFolder] = buildProcedure...

Error in coder.internal.ModelCodegenMgr/make_rtw (line 8)
    [buildResult, mainObjFolder] = obj.make_rtw(varargin);

Error in make_rtw (line 20)
[buildResult, mainObjFolder] = h.make_rtw(buildArgs, varargin{:});

Error in build_target

Error in build_target

Error in build_standalone_rtw_target

Error in slbuild_private

Error in slbuild_private

Error in sl

Error in slbuild

Error in rtwbuild&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 03:34:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1960327#M9556</guid>
      <dc:creator>SuperBeginner</dc:creator>
      <dc:date>2024-09-24T03:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA &amp; SPI DMA</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1960474#M9557</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239656"&gt;@SuperBeginner&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I downloaded your archive and tried to open the model. First of all, I notice that you mention that you are using toolbox version &lt;STRONG&gt;1.5.0&lt;/STRONG&gt; which uses RTD version &lt;STRONG&gt;4.0.0 P19&lt;/STRONG&gt;. When I try to open the model, the model migration pop-up appears, notifying me that the version of RTD has changed from &lt;STRONG&gt;3.0.0&lt;/STRONG&gt; (corresponding to toolbox version &lt;STRONG&gt;1.4.0&lt;/STRONG&gt;) to &lt;STRONG&gt;4.0.0&lt;/STRONG&gt; (corresponding to the latest version of toolbox, &lt;STRONG&gt;1.5.0&lt;/STRONG&gt;).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_0-1727159213953.png" style="width: 593px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300842i1C1346EF203EA51F/image-dimensions/593x384?v=v2" width="593" height="384" role="button" title="dragostoma_0-1727159213953.png" alt="dragostoma_0-1727159213953.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This indicates that there is a problem somewhere and you are actually using an earlier version of the toolbox. As I mentioned before, various problems can arise from here if the toolbox versions interfere with each other.&lt;/P&gt;
&lt;P&gt;The same thing can be seen from the settings you are trying to configure in Hardware Settings, which denotes the use of a previous toolbox version (&lt;STRONG&gt;1.4.0&lt;/STRONG&gt;&lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;
&lt;P&gt;- &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;your settings:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_1-1727159393708.png" style="width: 756px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300844i4CFC0DD213E581F5/image-dimensions/756x329?v=v2" width="756" height="329" role="button" title="dragostoma_1-1727159393708.png" alt="dragostoma_1-1727159393708.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;- &lt;STRONG&gt;&lt;FONT color="#339966"&gt;the 1.5.0 toolbox settings:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_2-1727159458384.png" style="width: 736px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300845i695F212CB5F640DE/image-dimensions/736x367?v=v2" width="736" height="367" role="button" title="dragostoma_2-1727159458384.png" alt="dragostoma_2-1727159458384.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;your settings:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_3-1727159560412.png" style="width: 735px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300846iE5C324A330D1DF49/image-dimensions/735x577?v=v2" width="735" height="577" role="button" title="dragostoma_3-1727159560412.png" alt="dragostoma_3-1727159560412.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;- &lt;STRONG&gt;&lt;FONT color="#339966"&gt;the 1.5.0 toolbox settings:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_4-1727159619748.png" style="width: 736px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300847i19608C6EBF0194E5/image-dimensions/736x561?v=v2" width="736" height="561" role="button" title="dragostoma_4-1727159619748.png" alt="dragostoma_4-1727159619748.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;your settings:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_5-1727159650146.png" style="width: 739px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300848iF38F9B78F9937379/image-dimensions/739x493?v=v2" width="739" height="493" role="button" title="dragostoma_5-1727159650146.png" alt="dragostoma_5-1727159650146.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;- &lt;STRONG&gt;&lt;FONT color="#339966"&gt;the 1.5.0 toolbox settings:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_7-1727160157131.png" style="width: 740px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300850i78C9A4B0C1AA5816/image-dimensions/740x497?v=v2" width="740" height="497" role="button" title="dragostoma_7-1727160157131.png" alt="dragostoma_7-1727160157131.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, the general idea and the conclusion we can draw is that you are actually using an older version of the toolbox, which can cause the problems you encounter. Or if that's what you want, to use version &lt;STRONG&gt;1.4.0&lt;/STRONG&gt;, that's what you have to mention, just like the version of MATLAB you're using and that caused us problems in previous threads. It is important to mention because the workflows differ according to each version. The steps I presented are for the latest version of toolbox, &lt;STRONG&gt;1.5.0&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Let us know about the progress made.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dragos&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 06:43:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1960474#M9557</guid>
      <dc:creator>dragostoma</dc:creator>
      <dc:date>2024-09-24T06:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA &amp; SPI DMA</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1961206#M9559</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199423"&gt;@dragostoma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I made sure to correct my Matlab environment to &lt;STRONG&gt;R2021a&lt;/STRONG&gt; and &lt;STRONG&gt;MBDT&lt;/STRONG&gt; version is &lt;STRONG&gt;1.4.0&lt;/STRONG&gt; now.&lt;/P&gt;&lt;P&gt;I recently changed my computer and currently unable to install any files from external websites, so I didn't update the MBDT version to 1.5.0.&lt;/P&gt;&lt;P&gt;I'm very sorry. I didn't tell you clearly which version of the toolbox I'm using.&lt;/P&gt;&lt;P&gt;I didn't know it had that effect on DMA config.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;If possible, can I configure DMA using mbdt 1.4.0?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Because I should not be possible to install the MBDT 1.5.0 in a short period of time.&lt;/P&gt;&lt;P&gt;Also, I thought the major version difference between 1.5.0 and 1.4.0 is the different block functions available on simulink.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Could you describe why there is such an error due to different versions, please?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 02:17:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1961206#M9559</guid>
      <dc:creator>SuperBeginner</dc:creator>
      <dc:date>2024-09-25T02:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA &amp; SPI DMA</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1962648#M9566</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239656"&gt;@SuperBeginner&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Each version of the toolbox has its own peculiarities, with possible major changes to the workflow or configuration of the settings. A new toolbox version not only means different functions in Simulink blocks, but different versions of tools, such as S32 Configuration Tools, which can change the way some settings are configured. For example, a major difference between toolbox versions&lt;STRONG&gt; 1.4.0&lt;/STRONG&gt; and &lt;STRONG&gt;1.5.0&lt;/STRONG&gt; is the way the pins are configured in the S32 Configuration Tools. I recommend this &lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pin-configuration-on-the-new-MBDT-version-1-5-0/m-p/1923803/highlight/true#M9351" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;thread&lt;/STRONG&gt; &lt;/A&gt;to understand the peculiarities and differences compared to version &lt;STRONG&gt;1.4.0&lt;/STRONG&gt; that you are currently using.&lt;/P&gt;
&lt;P&gt;In the steps I detailed for you regarding the DMA configuration, I used the latest version, i.e. &lt;STRONG&gt;1.5.0&lt;/STRONG&gt;, where the &lt;STRONG&gt;Port&lt;/STRONG&gt; component is used. In the previous version, &lt;STRONG&gt;1.4.0&lt;/STRONG&gt;, the approach was different, the pins were configured directly in the &lt;STRONG&gt;Pins&lt;/STRONG&gt; tool, the &lt;STRONG&gt;Port&lt;/STRONG&gt; component was not needed, but the &lt;STRONG&gt;Siul2_Port&lt;/STRONG&gt; component was needed instead. The fact that you also enabled the &lt;STRONG&gt;Port&lt;/STRONG&gt; component led to the problems you encountered when trying to configure your application.&lt;/P&gt;
&lt;P&gt;I recommend that in the future you specify more exactly which versions you are trying to use, because this way we will get to solving the problems much faster.&lt;/P&gt;
&lt;P&gt;I leave attached the version of your model that can be built, with the changes mentioned above, that is, the deletion of the &lt;STRONG&gt;Port&lt;/STRONG&gt; component and its initialization from the board init.&lt;/P&gt;
&lt;P&gt;I hope that now you can successfully configure your application.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dragos&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 11:37:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1962648#M9566</guid>
      <dc:creator>dragostoma</dc:creator>
      <dc:date>2024-09-26T11:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA &amp; SPI DMA</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1963253#M9568</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199423"&gt;@dragostoma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for explaining the version differences between MBDT 1.4 and 1.5.0.&lt;/P&gt;&lt;P&gt;I will definitely explain my environment in detail in the future.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, regarding &lt;STRONG&gt;DMA configuration&lt;/STRONG&gt; issues,&amp;nbsp;I can't open the model you provided.&lt;/P&gt;&lt;P&gt;It always shows this error message.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error Message.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/301624i47527BBF715C8DA1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error Message.PNG" alt="Error Message.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, I followed your instructions to configure the S32 Config Tool, that is, the deletion of the Port component and its initialization from the board init.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I can successfully building the program to s32k312evb-q172.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Than, I used the USB2Seraial Converter and connected it to the TX and RX pins on the board.&lt;/P&gt;&lt;P&gt;That is, &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;USB_Converter_TX&lt;/STRONG&gt; &lt;/FONT&gt;is connected to &lt;STRONG&gt;PTE15 PIN (&lt;FONT color="#FF0000"&gt;J3.21&lt;/FONT&gt;)&lt;/STRONG&gt;, &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;USB_Converter_RX&lt;/STRONG&gt; &lt;/FONT&gt;is connected to &lt;STRONG&gt;PTE15 PIN (&lt;FONT color="#FF0000"&gt;J3.18&lt;/FONT&gt;)&lt;/STRONG&gt;, &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;USB_Converter_GND&lt;/STRONG&gt; &lt;/FONT&gt;is connected to &lt;STRONG&gt;GND (&lt;FONT color="#FF0000"&gt;J39.19&lt;/FONT&gt;)&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;After establishing these connections, I communicated using the serial communication tool (for example &lt;STRONG&gt;PuTTY&lt;/STRONG&gt;), but &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;the UART communication failed&lt;/STRONG&gt;&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;No characters from LPUART 3 will appear in my monitor window.&lt;/P&gt;&lt;P&gt;I've attached my program here, could you figure out the problem, please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 06:18:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1963253#M9568</guid>
      <dc:creator>SuperBeginner</dc:creator>
      <dc:date>2024-09-27T06:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA &amp; SPI DMA</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1966109#M9592</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199423" target="_blank"&gt;@dragostoma&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Do you have any suggestions for solutions regarding&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&amp;nbsp;UART DMA&amp;nbsp;configuration&lt;/STRONG&gt;&lt;/FONT&gt;?&lt;/P&gt;&lt;P&gt;Could you help me, please?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 06:18:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-DMA-amp-SPI-DMA/m-p/1966109#M9592</guid>
      <dc:creator>SuperBeginner</dc:creator>
      <dc:date>2024-10-03T06:18:22Z</dc:date>
    </item>
  </channel>
</rss>

