<?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>i.MX ProcessorsのトピックRe: i.MX8M Mini UART Port</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-UART-Port/m-p/950797#M142182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Using the same way to add IOMUX for your application.&lt;/P&gt;&lt;P&gt;See the link, please!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/1162311?commentID=1162311#comment-1162311" title="https://community.nxp.com/message/1162311?commentID=1162311#comment-1162311"&gt;https://community.nxp.com/message/1162311?commentID=1162311#comment-1162311&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You usage in linux is no problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Oct 2019 07:27:49 GMT</pubDate>
    <dc:creator>weidong_sun</dc:creator>
    <dc:date>2019-10-23T07:27:49Z</dc:date>
    <item>
      <title>i.MX8M Mini UART Port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-UART-Port/m-p/950796#M142181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a i.MX8M Mini custom board with 4 serial ports. We cannot get one of them (uart1) working either on u-boot or linux kernel. The pinmux in u-boot of uart1 is as follows.&lt;/P&gt;&lt;P&gt;static iomux_v3_cfg_t const uart1_pads[] = {&lt;BR /&gt; IMX8MM_PAD_SAI2_RXFS_UART1_RX | MUX_PAD_CTRL(UART_PAD_CTRL),&lt;BR /&gt; IMX8MM_PAD_SAI2_RXC_UART1_TX | MUX_PAD_CTRL(UART_PAD_CTRL),&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;At u-boot&amp;nbsp;arch/arm/include/asm/arch-imx8m/imx8mm_pins.h file, we saw&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IMX8MM_PAD_SAI2_RXFS_UART1_RX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;nbsp; IOMUX_PAD(0x0418, 0x01B0, 4, 0x04F4, 2, 0),&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IMX8MM_PAD_SAI2_RXC_UART1_TX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;nbsp; IOMUX_PAD(0x041C, 0x01B4, 4, 0x0000, 0, 0),&lt;/P&gt;&lt;P&gt;When study RM of this processor, we cannot see information of&amp;nbsp;&lt;SPAN&gt;SAI2_RXC_UART1_TX, but it is defined in pinmux tool.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;At Linux kernel file&amp;nbsp;include/dt-bindings/pinctrl/pins-imx8mm.h, we manually add the following lines.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define MX8MM_IOMUXC_SAI2_RXFS_UART1_DCE_RX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x1B0 0x418 0x4F4 0x4 0x2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define MX8MM_IOMUXC_SAI2_RXC_UART1_DCE_TX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x1B4 0x41C 0x000 0x4 0x0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The device tree is defined as follows&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; pinctrl_uart1: uart1grp {&lt;BR /&gt; fsl,pins = &amp;lt;&lt;BR /&gt; MX8MM_IOMUXC_SAI2_RXFS_UART1_DCE_RX 0x140&lt;BR /&gt; MX8MM_IOMUXC_SAI2_RXC_UART1_DCE_TX 0x140&lt;BR /&gt; &amp;gt;;&lt;BR /&gt; };&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;amp;uart1 {&lt;BR /&gt; pinctrl-names = "default";&lt;BR /&gt; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_uart1&amp;gt;;&lt;BR /&gt; assigned-clocks = &amp;lt;&amp;amp;clk IMX8MM_CLK_UART1_SRC&amp;gt;;&lt;BR /&gt; assigned-clock-parents = &amp;lt;&amp;amp;clk IMX8MM_SYS_PLL1_80M&amp;gt;;&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any suggestions?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2019 03:45:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-UART-Port/m-p/950796#M142181</guid>
      <dc:creator>eric_lee1</dc:creator>
      <dc:date>2019-10-23T03:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Mini UART Port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-UART-Port/m-p/950797#M142182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Using the same way to add IOMUX for your application.&lt;/P&gt;&lt;P&gt;See the link, please!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/1162311?commentID=1162311#comment-1162311" title="https://community.nxp.com/message/1162311?commentID=1162311#comment-1162311"&gt;https://community.nxp.com/message/1162311?commentID=1162311#comment-1162311&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You usage in linux is no problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2019 07:27:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-UART-Port/m-p/950797#M142182</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2019-10-23T07:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Mini UART Port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-UART-Port/m-p/950798#M142183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Weidong,&lt;/P&gt;&lt;P&gt;I do have problems in my settings. Could you double check again?&lt;/P&gt;&lt;P&gt;-Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2019 07:40:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-UART-Port/m-p/950798#M142183</guid>
      <dc:creator>eric_lee1</dc:creator>
      <dc:date>2019-10-23T07:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Mini UART Port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-UART-Port/m-p/950799#M142184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, see below, please!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/93574iBBA33164B21D4029/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Open IMX8MMRM.pdf, then search SAI2_RXFS, you will find it on page 1245, like above list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2019 09:20:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-UART-Port/m-p/950799#M142184</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2019-10-23T09:20:36Z</dc:date>
    </item>
  </channel>
</rss>

