<?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>LayerscapeのトピックRe: ls1021a custom board: using lpuart issue</title>
    <link>https://community.nxp.com/t5/Layerscape/ls1021a-custom-board-using-lpuart-issue/m-p/1688553#M12886</link>
    <description>&lt;P&gt;Yes, I did it. But the result is the same.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jul 2023 13:12:02 GMT</pubDate>
    <dc:creator>evgeniyMatskevich</dc:creator>
    <dc:date>2023-07-14T13:12:02Z</dc:date>
    <item>
      <title>ls1021a custom board: using lpuart issue</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1021a-custom-board-using-lpuart-issue/m-p/1676941#M12724</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;We have a custom board with ls1021a processor.&lt;BR /&gt;Currently we need to communicate with the external serial device via lpuart interface.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We have settings for lpuart in dtsi file:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;lpuart2: serial@2970000 {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; compatible = "fsl,ls1021a-lpuart";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; reg = &amp;lt;0x0 0x2970000 0x0 0x1000&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; interrupts = &amp;lt;GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; clocks = &amp;lt;&amp;amp;clockgen 4 1&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; clock-names = "ipg";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; status = "disabled";&lt;BR /&gt;};&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and added it to dts as follows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;amp;lpuart2 {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; status = "okay";&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;Here is the RCW that is shown in the U-Boot booting log:&lt;BR /&gt;&lt;BR /&gt;Reset Configuration Word (RCW):&lt;BR /&gt;00000000: 0608000c 00000000 00000000 00000000&lt;BR /&gt;00000010: 20000000 08447900 e0105a00 21046000&lt;BR /&gt;00000020: 00000000 00000000 00000000 000b0300&lt;BR /&gt;00000030: 20000000 2486b340 00000000 00000000&lt;BR /&gt;&lt;BR /&gt;The problem is that currently we have "ttyLP2" under /dev directory, but we can't communicate through it.&amp;nbsp;&lt;BR /&gt;If we try to use it with "microcom" utility we have an error:&lt;BR /&gt;# microcom /dev/ttyLP2&lt;BR /&gt;microcom: can't tcsetattr for /dev/ttyLP2: I/O error&lt;BR /&gt;Also:&lt;BR /&gt;# echo test &amp;gt; /dev/ttyLP2&lt;BR /&gt;ash: write error: I/O error&lt;BR /&gt;&lt;BR /&gt;Could you advice a solution to resolve the issue?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 10:25:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1021a-custom-board-using-lpuart-issue/m-p/1676941#M12724</guid>
      <dc:creator>evgeniyMatskevich</dc:creator>
      <dc:date>2023-06-27T10:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: ls1021a custom board: using lpuart issue</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1021a-custom-board-using-lpuart-issue/m-p/1677684#M12739</link>
      <description>&lt;P&gt;Please configure RCW[SDHC_EXT] as 001&lt;/P&gt;
&lt;P&gt;001 LPUART3_SOUT, LPUART3_SIN,&lt;BR /&gt;LPUART2_RTS_B, LPUART2_CTS_B,&lt;BR /&gt;LPUART3_RTS_B, LPUART3_CTS_B&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 08:32:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1021a-custom-board-using-lpuart-issue/m-p/1677684#M12739</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-06-28T08:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: ls1021a custom board: using lpuart issue</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1021a-custom-board-using-lpuart-issue/m-p/1677810#M12741</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;I&amp;nbsp;reconfigured RCW.&lt;BR /&gt;Here is the RCW that is shown in the U-Boot booting log:&lt;BR /&gt;&lt;BR /&gt;Reset Configuration Word (RCW):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;00000000: 0608000c 00000000 00000000 00000000&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;00000010: 20000000 08447900 e0105a00 21046000&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;00000020: 00000000 00000000 00000000 00070300&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;00000030: 20000000 2486b340 00000000 00000000&lt;/P&gt;&lt;P&gt;But I still&amp;nbsp;can't communicate through&amp;nbsp;"ttyLP2".&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 10:55:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1021a-custom-board-using-lpuart-issue/m-p/1677810#M12741</guid>
      <dc:creator>evgeniyMatskevich</dc:creator>
      <dc:date>2023-06-28T10:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: ls1021a custom board: using lpuart issue</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1021a-custom-board-using-lpuart-issue/m-p/1684801#M12836</link>
      <description>&lt;P&gt;Have you enabled&amp;nbsp;CONFIG_SERIAL_FSL_LPUART in your Linux Kernel configuration file?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 10:27:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1021a-custom-board-using-lpuart-issue/m-p/1684801#M12836</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-07-10T10:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: ls1021a custom board: using lpuart issue</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1021a-custom-board-using-lpuart-issue/m-p/1688553#M12886</link>
      <description>&lt;P&gt;Yes, I did it. But the result is the same.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 13:12:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1021a-custom-board-using-lpuart-issue/m-p/1688553#M12886</guid>
      <dc:creator>evgeniyMatskevich</dc:creator>
      <dc:date>2023-07-14T13:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: ls1021a custom board: using lpuart issue</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1021a-custom-board-using-lpuart-issue/m-p/1688868#M12889</link>
      <description>&lt;P&gt;Please also add “CONFIG_FSL_LPUART=y” in your u-boot configuration file.&lt;/P&gt;
&lt;P&gt;I have verified this feature on ls1021atwr, there is no problem to execute "echo test &amp;gt; /dev/ttyLP2" and "microcom /dev/ttyLP2" on my target board.&lt;/P&gt;
&lt;P&gt;If your problem remains, please check the probable hardware problem on your custom board.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 05:07:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1021a-custom-board-using-lpuart-issue/m-p/1688868#M12889</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-07-20T05:07:32Z</dc:date>
    </item>
  </channel>
</rss>

