<?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 communication failed</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-communication-failed/m-p/1947629#M9448</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;Please forgive me as I am a beginner.&lt;/P&gt;&lt;P&gt;Can you tell me how to &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;create a new clock&lt;/STRONG&gt;&lt;/FONT&gt; which is AIPS_SLOW_CLK?&lt;/P&gt;&lt;P&gt;I also want to know how to &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;enable the corresponding peripheral clock&lt;/STRONG&gt;&lt;/FONT&gt; in the MCU tab and how to configure IRQ interrupts (&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;LPUART0_IRQn &amp;amp; LPUART_UART_IP_0_IRQHander&lt;/FONT&gt;&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 05 Sep 2024 01:13:49 GMT</pubDate>
    <dc:creator>SuperBeginner</dc:creator>
    <dc:date>2024-09-05T01:13:49Z</dc:date>
    <item>
      <title>UART communication failed</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-communication-failed/m-p/1947111#M9444</link>
      <description>&lt;P&gt;Dear NXP,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use example project "s32k3xx_uart_buffer_s32ct", which can work normally.&lt;/P&gt;&lt;P&gt;I need use &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;the other UART pin&lt;/FONT&gt;&lt;/STRONG&gt;, so I config the other pins.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn’t change the block structure.&lt;/P&gt;&lt;P&gt;Just only added the UART channel2 I needed and applied it.&lt;/P&gt;&lt;P&gt;When I use it, that project can't trigger interrupt.&lt;/P&gt;&lt;P&gt;I guess It wasn’t assigned to an interrupt.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 473px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297062iE100E2418B027DD7/image-dimensions/473x256?v=v2" width="473" height="256" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.PNG" style="width: 479px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297063i4095E20101717496/image-dimensions/479x251?v=v2" width="479" height="251" role="button" title="2.PNG" alt="2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you help me to solve, please?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;#UART #CommunicationFailed&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 09:31:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-communication-failed/m-p/1947111#M9444</guid>
      <dc:creator>SuperBeginner</dc:creator>
      <dc:date>2024-09-04T09:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: UART communication failed</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-communication-failed/m-p/1947151#M9446</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;To change the LPUART instance used, &lt;STRONG&gt;LPUART_0&lt;/STRONG&gt; in your case, the following steps need to be followed:&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;Make sure that the pins are available, not being used by another peripheral, and are correctly configured in the &lt;STRONG&gt;Port&lt;/STRONG&gt; tab and in the &lt;STRONG&gt;Pins&lt;/STRONG&gt; tab.&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;Make sure that the instance you want to configure is correctly referenced to the clock value. You have selected &lt;STRONG&gt;UART_CLK&lt;/STRONG&gt;, which is set to&amp;nbsp;&lt;STRONG&gt;AIPS_SLOW_CLK.&amp;nbsp;&lt;/STRONG&gt;Based on the following table from the&amp;nbsp;S32K3xx Reference Manual, the &lt;STRONG&gt;LPUART_0&lt;/STRONG&gt; is clocked by&amp;nbsp;&lt;STRONG&gt;AIPS_PLAT_CLK.&amp;nbsp;&lt;/STRONG&gt;So you should either create a new clock, or modify the current value, but take into account this aspect of the clock at which each instance operates.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_0-1725444444515.png" style="width: 713px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297068i3A96371FE87175DF/image-dimensions/713x97?v=v2" width="713" height="97" role="button" title="dragostoma_0-1725444444515.png" alt="dragostoma_0-1725444444515.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;- You should enable the corresponding peripheral clock in the &lt;STRONG&gt;Mcu&lt;/STRONG&gt; tab, in this case&amp;nbsp;&lt;STRONG&gt;LPUART_0&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;- Make sure that the interrupt is enabled for the corresponding instance, in this case&amp;nbsp;&lt;STRONG&gt;LPUART0_IRQn&lt;/STRONG&gt;, and set the Handler accordingly (&lt;STRONG&gt;LPUART_UART_IP_0_IRQHandler&lt;/STRONG&gt;).&lt;/P&gt;
&lt;P&gt;With these aspects in mind, you should successfully use the newly configured LPUART instance.&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;</description>
      <pubDate>Wed, 04 Sep 2024 10:16:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-communication-failed/m-p/1947151#M9446</guid>
      <dc:creator>dragostoma</dc:creator>
      <dc:date>2024-09-04T10:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: UART communication failed</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-communication-failed/m-p/1947629#M9448</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;Please forgive me as I am a beginner.&lt;/P&gt;&lt;P&gt;Can you tell me how to &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;create a new clock&lt;/STRONG&gt;&lt;/FONT&gt; which is AIPS_SLOW_CLK?&lt;/P&gt;&lt;P&gt;I also want to know how to &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;enable the corresponding peripheral clock&lt;/STRONG&gt;&lt;/FONT&gt; in the MCU tab and how to configure IRQ interrupts (&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;LPUART0_IRQn &amp;amp; LPUART_UART_IP_0_IRQHander&lt;/FONT&gt;&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 01:13:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-communication-failed/m-p/1947629#M9448</guid>
      <dc:creator>SuperBeginner</dc:creator>
      <dc:date>2024-09-05T01:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: UART communication failed</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-communication-failed/m-p/1947896#M9449</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;&lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;1. MCU Clock Reference&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;To create a new clock reference or modify the already existing ones, you should access the following path in the configuration tool:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Mcu&lt;/STRONG&gt; tab -&amp;gt; &lt;STRONG&gt;McuModuleConfiguration&lt;/STRONG&gt; tab -&amp;gt; &lt;STRONG&gt;McuClockSettingConfig&lt;/STRONG&gt; tab -&amp;gt; &lt;STRONG&gt;McuClockReferencePoint&lt;/STRONG&gt; tab&lt;/P&gt;
&lt;P&gt;Here you will find all the references of the clocks:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_0-1725516691886.png" style="width: 844px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297266iCFFEB11DE5480866/image-dimensions/844x384?v=v2" width="844" height="384" role="button" title="dragostoma_0-1725516691886.png" alt="dragostoma_0-1725516691886.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As mentioned in the Reference Manual,&amp;nbsp;&lt;STRONG&gt;S32K312&lt;/STRONG&gt; has only &lt;STRONG&gt;LPUART_0&lt;/STRONG&gt; that uses &lt;STRONG&gt;AIPS_PLAT_CLK&lt;/STRONG&gt;, the rest of the instances use &lt;STRONG&gt;AIPS_SLOW_CLK&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-1725516848303.png" style="width: 684px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297267iC33262E43BA18592/image-dimensions/684x93?v=v2" width="684" height="93" role="button" title="dragostoma_0-1725516848303.png" alt="dragostoma_0-1725516848303.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So to make sure that the other instances can still be used successfully, you can create a new reference for the UART, clocked by &lt;STRONG&gt;AIPS_PLAT_CLK&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-1725517017728.png" style="width: 734px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297269iD68BA40515FB9894/image-dimensions/734x204?v=v2" width="734" height="204" role="button" title="dragostoma_1-1725517017728.png" alt="dragostoma_1-1725517017728.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After that, you should make sure that the UART channel you want to use, which has the &lt;STRONG&gt;LPUART_0&lt;/STRONG&gt; instance set, uses the correct clock reference,&amp;nbsp;the one we just created:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_2-1725517095566.png" style="width: 739px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297270i7976C0E9C0990A6C/image-dimensions/739x403?v=v2" width="739" height="403" role="button" title="dragostoma_2-1725517095566.png" alt="dragostoma_2-1725517095566.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;2. MCU Clock Enablement&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;To enable the clock of the peripheral you want to use, you should access the following path in the configuration tool:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Mcu&lt;/STRONG&gt; tab -&amp;gt; &lt;STRONG&gt;McuModuleConfiguration&lt;/STRONG&gt; tab -&amp;gt; &lt;STRONG&gt;McuModeSettingConf&amp;nbsp;&lt;/STRONG&gt;tab -&amp;gt; &lt;STRONG&gt;McuPeripheral&amp;nbsp;&lt;/STRONG&gt;tab&lt;/P&gt;
&lt;P&gt;Here you will find the list with all the available peripheral clocks.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_3-1725517403942.png" style="width: 738px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297272iD9B1A324C2EA9A80/image-dimensions/738x563?v=v2" width="738" height="563" role="button" title="dragostoma_3-1725517403942.png" alt="dragostoma_3-1725517403942.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;To be able to use the new instance of LPUART, the related peripheral clock must be enabled.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_4-1725517453669.png" style="width: 567px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297273iCEDD16B4EC6BCAA2/image-dimensions/567x302?v=v2" width="567" height="302" role="button" title="dragostoma_4-1725517453669.png" alt="dragostoma_4-1725517453669.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;3. Interrupts Configuration&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;To be able to use the interrupt handlers, they must be enabled in the &lt;STRONG&gt;Platform&lt;/STRONG&gt; tab, which can be found at the following path:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Platform&amp;nbsp;&lt;/STRONG&gt;tab -&amp;gt; &lt;STRONG&gt;Interrupt Controller&amp;nbsp;&lt;/STRONG&gt;tab&lt;/P&gt;
&lt;P&gt;Here you will find the list with all the available interrupt handlers.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_5-1725518066149.png" style="width: 736px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297274iA855AF773B07CC67/image-dimensions/736x563?v=v2" width="736" height="563" role="button" title="dragostoma_5-1725518066149.png" alt="dragostoma_5-1725518066149.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In order to be able to use the interrupt handler related to the &lt;STRONG&gt;LPUART_0&lt;/STRONG&gt; instance, it must be enabled, a priority must be set and it must be named based on the definition and implementation in the drivers&amp;nbsp;&lt;SPAN&gt;MBDT generates code on top of&lt;/SPAN&gt;. In this case will be&amp;nbsp;&lt;STRONG&gt;LPUART_UART_IP_0_IRQHandler.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_6-1725518167978.png" style="width: 749px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297275i801229393E361F95/image-dimensions/749x281?v=v2" width="749" height="281" role="button" title="dragostoma_6-1725518167978.png" alt="dragostoma_6-1725518167978.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this information clarifies the configuration and use of a new instance of LPUART.&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, 05 Sep 2024 06:46:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-communication-failed/m-p/1947896#M9449</guid>
      <dc:creator>dragostoma</dc:creator>
      <dc:date>2024-09-05T06:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: UART communication failed</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-communication-failed/m-p/1950921#M9460</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 suggestions and configured the newly added UART, but it still doesn't work. Attached is my file. Could you please help me check what might be the problem?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 09:18:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-communication-failed/m-p/1950921#M9460</guid>
      <dc:creator>SuperBeginner</dc:creator>
      <dc:date>2024-09-10T09:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: UART communication failed</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-communication-failed/m-p/1951010#M9461</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 the archive sent by you and, with some small changes, I managed to use the configured &lt;STRONG&gt;LPUART_0&lt;/STRONG&gt; instance to send and receive data in the loopback model.&lt;/P&gt;
&lt;P&gt;What I noticed and some small mentions:&lt;/P&gt;
&lt;P&gt;- The model uses an older version of RTD (&lt;STRONG&gt;3.0.0&lt;/STRONG&gt;) and it was necessary to migrate to the new RTD (&lt;STRONG&gt;4.0.0&lt;/STRONG&gt;). I suppose that this aspect may come from the prior use of the previous toolbox (&lt;STRONG&gt;1.4.0&lt;/STRONG&gt;). This is where the problems you previously mentioned can also appear. So as a recommendation, try to use only one version of Toolbox in the MATLAB path.&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;After the migration was done successfully, I was able to generate code based on the configuration. The configuration is done correctly, so there was no need to make any changes to it.&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;Taking into account that the &lt;STRONG&gt;LPUART_6&lt;/STRONG&gt; instance used in the default configuration has the &lt;STRONG&gt;Rx&lt;/STRONG&gt; and &lt;STRONG&gt;Tx&lt;/STRONG&gt; pins directly connected to &lt;STRONG&gt;OpenSDA&lt;/STRONG&gt;, so no additional connection is needed to use this LPUART instance, once &lt;STRONG&gt;OpenSDA&lt;/STRONG&gt; is used.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_4-1725962774604.png" style="width: 733px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298252iD291675857EF9BF0/image-dimensions/733x22?v=v2" width="733" height="22" role="button" title="dragostoma_4-1725962774604.png" alt="dragostoma_4-1725962774604.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_3-1725962709947.png" style="width: 792px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298251iFD99CF30F2AB62DB/image-dimensions/792x243?v=v2" width="792" height="243" role="button" title="dragostoma_3-1725962709947.png" alt="dragostoma_3-1725962709947.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;Instead, to use another instance of LPUART, an additional connection of the configured Rx and Tx pins is needed. An &lt;STRONG&gt;USB2Serial Converter&lt;/STRONG&gt; can be used for this procedure. The Tx pin on the board connects to the Rx pin on the USB2Serial Converter, and the Rx pin on the board connects to the Tx pin on the USB2Serial Converter.&lt;/P&gt;
&lt;DIV id="tinyMceEditordragostoma_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_2-1725962572568.png" style="width: 455px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298250i06FBC1E45C597693/image-dimensions/455x389?v=v2" width="455" height="389" role="button" title="dragostoma_2-1725962572568.png" alt="dragostoma_2-1725962572568.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;- So TXD pin 4 in the image above connects to &lt;STRONG&gt;PTA28&lt;/STRONG&gt; pin on the board (&lt;STRONG&gt;J412.23&lt;/STRONG&gt;), and RXD pin 5 in the image above connects to &lt;STRONG&gt;PTA27&lt;/STRONG&gt; pin on the board (&lt;STRONG&gt;J3.20&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-1725962886204.png" style="width: 738px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298253iB72591671A84E265/image-dimensions/738x24?v=v2" width="738" height="24" role="button" title="dragostoma_5-1725962886204.png" alt="dragostoma_5-1725962886204.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;After the connections are made successfully and the model is downloaded to the board, in the serial communication tool (for example &lt;STRONG&gt;RealTerm&lt;/STRONG&gt;) connect the port corresponding to the &lt;STRONG&gt;USB2Serial Convert&lt;/STRONG&gt;, &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;NOT&lt;/STRONG&gt; &lt;/FONT&gt;the board port, these ports being separate, but since we want the communication to be carried out using this converter, will connect to the port related to the converter.&lt;/P&gt;
&lt;P&gt;After all these connections made successfully, you should be able to successfully communicate using the &lt;STRONG&gt;LPUART_0&lt;/STRONG&gt; instance.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_6-1725963196476.png" style="width: 664px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298256i4B48CA0BE049D9E1/image-dimensions/664x430?v=v2" width="664" height="430" role="button" title="dragostoma_6-1725963196476.png" alt="dragostoma_6-1725963196476.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I am attaching the updated model configuration for reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dragos&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 10:16:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-communication-failed/m-p/1951010#M9461</guid>
      <dc:creator>dragostoma</dc:creator>
      <dc:date>2024-09-10T10:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: UART communication failed</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-communication-failed/m-p/1951569#M9462</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;Thanks for your help, I solved my problem.&lt;/P&gt;&lt;P&gt;But what I don’t understand is why if I add uart0 myself, I need to configure the freeMaster block to make my uart0 operate normally.&lt;/P&gt;&lt;P&gt;This is really confusing!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 02:03:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-communication-failed/m-p/1951569#M9462</guid>
      <dc:creator>SuperBeginner</dc:creator>
      <dc:date>2024-09-11T02:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: UART communication failed</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-communication-failed/m-p/1951806#M9467</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'm glad to hear that you managed to solve the problem.&lt;/P&gt;
&lt;P&gt;I hope I have correctly understood the confusion you have regarding the LPUART instance set in FreeMASTER, indeed, in order for the serial communication to work correctly, the LPUART instance on which the communication is to be carried out must be chosen. Since LPUART6 was set as the default instance for communication with FreeMASTER, having the Rx and Tx pins connected directly to OpenSDA and not needing additional connections, now if you want to use the newly configured instance, LPUART0, it must be set in the FreeMASTER Config block to ensure that the connection is made on the desired instance.&lt;/P&gt;
&lt;P&gt;I hope I understood your problem correctly and I hope this clarifies the situation.&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>Wed, 11 Sep 2024 07:04:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/UART-communication-failed/m-p/1951806#M9467</guid>
      <dc:creator>dragostoma</dc:creator>
      <dc:date>2024-09-11T07:04:33Z</dc:date>
    </item>
  </channel>
</rss>

