<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to USE UART1 (dev/ttyLF1) in Linux (A-Core) in S32G</title>
    <link>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1815851#M6043</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;It seems that modifications to the device tree are required. Once we modified the device tree, we are able to ping through UART1:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_0-1708970378832.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265116i11FB7A11CB12F82B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_0-1708970378832.png" alt="DanielAguirre_0-1708970378832.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Since you are working with an RDB2, the following modifications should be done under the "linux\arch\arm64\boot\dts\freescale\s32gxxxa-rdb.dtsi" file:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_1-1708970527046.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265117i20A622F1398E6A64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_1-1708970527046.png" alt="DanielAguirre_1-1708970527046.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_2-1708970548077.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265118iB201896D3684A0AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_2-1708970548077.png" alt="DanielAguirre_2-1708970548077.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Once modified, the image needs to be compiled. Once compiled, the following files need to be replaced under the "boot" partition of your SD card:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Image file &amp;gt;&amp;nbsp;linux\arch\arm64\boot\Image&lt;/LI&gt;
&lt;LI&gt;DTB file &amp;gt;&amp;nbsp;linux\arch\arm64\boot\dts\freescale\s32g274a-rdb2.dtb&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;With that, you should be able to use UART1.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Feb 2024 18:06:17 GMT</pubDate>
    <dc:creator>Daniel-Aguirre</dc:creator>
    <dc:date>2024-02-26T18:06:17Z</dc:date>
    <item>
      <title>How to USE UART1 (dev/ttyLF1) in Linux (A-Core)</title>
      <link>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1814650#M6016</link>
      <description>&lt;P&gt;Hi NXP Community,&lt;/P&gt;&lt;P&gt;I want to use the UART1 on our board (referenced S32G-VNP-RDB2) in Linux System.&lt;/P&gt;&lt;P&gt;As I execute "echo "XXX" &amp;gt; /dev/ttyLF1", I could not probe the signal on UATR1 TXD.&lt;/P&gt;&lt;P&gt;I could not communicate with other PC using minicom through UART1 either(I use BSP_37).&lt;/P&gt;&lt;P&gt;How could I use&amp;nbsp; the UART1 in Linux System?&lt;/P&gt;&lt;P&gt;Solved! Go to Solution.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 12:41:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1814650#M6016</guid>
      <dc:creator>LB666</dc:creator>
      <dc:date>2024-02-23T12:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to USE UART1 (dev/ttyLF1) in Linux (A-Core)</title>
      <link>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1814802#M6019</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We may be misunderstanding, but we understand that this was already solved?&lt;/P&gt;
&lt;P&gt;We do apologize for the inconvenience.&lt;/P&gt;
&lt;P&gt;Please, let us know.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 18:15:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1814802#M6019</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2024-02-23T18:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to USE UART1 (dev/ttyLF1) in Linux (A-Core)</title>
      <link>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1814978#M6022</link>
      <description>&lt;P&gt;No, it's not a solution. I want to use UART1 on the A core, not the M core. For example, I want to communicate with peripherals through UART1 on the A core, but I cannot send or receive messages through UART1 using BSP37 Linux. Could you please provide me with help? Where do I need to modify the code&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2024 03:12:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1814978#M6022</guid>
      <dc:creator>LB666</dc:creator>
      <dc:date>2024-02-25T03:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to USE UART1 (dev/ttyLF1) in Linux (A-Core)</title>
      <link>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1815649#M6037</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback and we apologize for our misunderstanding. We will verify the correct steps (if possible) and update you as soon as we can.&lt;/P&gt;
&lt;P&gt;We apologize for any delay from our side.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 14:18:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1815649#M6037</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2024-02-26T14:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to USE UART1 (dev/ttyLF1) in Linux (A-Core)</title>
      <link>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1815851#M6043</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;It seems that modifications to the device tree are required. Once we modified the device tree, we are able to ping through UART1:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_0-1708970378832.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265116i11FB7A11CB12F82B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_0-1708970378832.png" alt="DanielAguirre_0-1708970378832.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Since you are working with an RDB2, the following modifications should be done under the "linux\arch\arm64\boot\dts\freescale\s32gxxxa-rdb.dtsi" file:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_1-1708970527046.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265117i20A622F1398E6A64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_1-1708970527046.png" alt="DanielAguirre_1-1708970527046.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_2-1708970548077.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265118iB201896D3684A0AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_2-1708970548077.png" alt="DanielAguirre_2-1708970548077.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Once modified, the image needs to be compiled. Once compiled, the following files need to be replaced under the "boot" partition of your SD card:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Image file &amp;gt;&amp;nbsp;linux\arch\arm64\boot\Image&lt;/LI&gt;
&lt;LI&gt;DTB file &amp;gt;&amp;nbsp;linux\arch\arm64\boot\dts\freescale\s32g274a-rdb2.dtb&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;With that, you should be able to use UART1.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 18:06:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1815851#M6043</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2024-02-26T18:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to USE UART1 (dev/ttyLF1) in Linux (A-Core)</title>
      <link>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1819372#M6107</link>
      <description>&lt;P&gt;Thank you very much for your reply. After modifying according to the method you provided, the device ttyLF1 is no longer available. Are you using the BSP37 version of Linux? I will use the BSP37 version of Linux directly, and there will be ttyLF1 as the device, but it cannot communicate。can you give me some help?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 08:11:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1819372#M6107</guid>
      <dc:creator>LB666</dc:creator>
      <dc:date>2024-03-01T08:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to USE UART1 (dev/ttyLF1) in Linux (A-Core)</title>
      <link>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1819658#M6120</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback. As shown under our previous image, we are using BSP37.0 for this modification:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_0-1709306618911.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/266056i1F60BA0DEB4980C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_0-1709306618911.png" alt="DanielAguirre_0-1709306618911.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As for ttyLF1 not being available, since the modifications we shown are only related to pin mapping, the serial1 device should not be affected. Can you help us share the full boot log of your system? Also, help us adding the following command to your log:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;dmesg | grep ttyLF1&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;As a note, we compiled Linux manually then copy the previously mentioned files into the boot partition of our SD card. The base BSP37.0 image we used was the pre-compiled image provided by NXP (under a *.tgz file).&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 15:27:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1819658#M6120</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2024-03-01T15:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to USE UART1 (dev/ttyLF1) in Linux (A-Core)</title>
      <link>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1819862#M6122</link>
      <description>&lt;P&gt;I have noticed a difference. You are using the development board and device tree of s32g274aevb3, while I am using the development board and device tree of s32g274ard2. Could you please provide information on how to modify s32g274ard2?&lt;/P&gt;</description>
      <pubDate>Sat, 02 Mar 2024 00:51:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1819862#M6122</guid>
      <dc:creator>LB666</dc:creator>
      <dc:date>2024-03-02T00:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to USE UART1 (dev/ttyLF1) in Linux (A-Core)</title>
      <link>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1820067#M6128</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have noticed a difference. You are using the development board and device tree of s32g274aevb3, while I am using the development board and device tree of s32g274ard2. Could you please provide information on how to modify s32g274ard2?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 03:13:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1820067#M6128</guid>
      <dc:creator>LB666</dc:creator>
      <dc:date>2024-03-04T03:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to USE UART1 (dev/ttyLF1) in Linux (A-Core)</title>
      <link>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1820598#M6134</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;At this moment, EVB3 is the platform we have available. Still, the steps we provided were on regards of RDB2:&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Since you are working with an &lt;STRONG&gt;RDB2&lt;/STRONG&gt;, the following modifications should be done under the "linux\arch\arm64\boot\dts\freescale\&lt;STRONG&gt;s32gxxxa-rdb.dtsi&lt;/STRONG&gt;" file:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;Once modified, the image needs to be compiled. Once compiled, the following files need to be replaced under the "boot" partition of your SD card:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Image file &amp;gt;&amp;nbsp;linux\arch\arm64\boot\Image&lt;/LI&gt;
&lt;LI&gt;DTB file &amp;gt;&amp;nbsp;linux\arch\arm64\boot\dts\freescale\&lt;STRONG&gt;s32g274a-rdb2.dtb&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P&gt;Are working with Yocto project or are you building the component manually? Can you help us share the respective logs from your setup?&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 13:56:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1820598#M6134</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2024-03-04T13:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to USE UART1 (dev/ttyLF1) in Linux (A-Core)</title>
      <link>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1820973#M6143</link>
      <description>&lt;P&gt;I modified according to the method you provided and working with Yocto project .I used the dmseg | grep ttyTL1 command to search for the log of ttyTL1, but there was no output。As shown in the following figure&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LB666_0-1709603595313.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/266402i0202AF39397E6AAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LB666_0-1709603595313.jpeg" alt="LB666_0-1709603595313.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 01:54:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1820973#M6143</guid>
      <dc:creator>LB666</dc:creator>
      <dc:date>2024-03-05T01:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to USE UART1 (dev/ttyLF1) in Linux (A-Core)</title>
      <link>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1820991#M6144</link>
      <description>&lt;P&gt;Hello, the log of the startup process is attached. Please check if there is any useful information for solving the problem. Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 02:20:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1820991#M6144</guid>
      <dc:creator>LB666</dc:creator>
      <dc:date>2024-03-05T02:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to USE UART1 (dev/ttyLF1) in Linux (A-Core)</title>
      <link>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1821626#M6154</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback. If you are not able to see ttyLF1 being listed, then other changes may have been made. We were able to get our hands on an RDB2 and we can see the same outcome as before:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_0-1709647604780.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/266614i7A434CB9AC7A273A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_0-1709647604780.png" alt="DanielAguirre_0-1709647604780.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 14:07:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-USE-UART1-dev-ttyLF1-in-Linux-A-Core/m-p/1821626#M6154</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2024-03-05T14:07:37Z</dc:date>
    </item>
  </channel>
</rss>

