<?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: iMX6ULL UART in DCE-Mode is not working.</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX6ULL-UART-in-DCE-Mode-is-not-working/m-p/800900#M123766</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Sections 55.4.3.10 and 55.4.3.11 of the i.MX6ULL Reference Manual Rev.1 document clearly say that the functionality of the UART_TX and UART_RX signals remains the same regardless of the mode - DTE or DCE - the UART module operates in. So, there is no way to swap the functionality of these signals by register settings.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Artur&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Aug 2018 12:12:45 GMT</pubDate>
    <dc:creator>art</dc:creator>
    <dc:date>2018-08-27T12:12:45Z</dc:date>
    <item>
      <title>iMX6ULL UART in DCE-Mode is not working.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6ULL-UART-in-DCE-Mode-is-not-working/m-p/800899#M123765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using &lt;STRONG&gt;Toradex Colibri iMX6ULL System-on-Module (MCIMX6Y2CVM08AA)&lt;/STRONG&gt; with our custom designed PCB. We found out we have accidentally swapped Tx and Rx lines in the PCB and the on-board peripherals won't work for us. By default, imx6ull colibri is configured in DTE-MODE (in imx6ull-colibri.dtsi file). We have our board level dts file which includes `imx6ull-colibri.dtsi` file. The UARTs which needs to be swapped (or configured in DCE Mode) are UART5 and UART2. Whenever in my board level dts file, I delete the property &lt;STRONG&gt;dte-mode&lt;/STRONG&gt; defined in imx6ull-colibri.dtsi file and redefine&amp;nbsp;&lt;STRONG&gt;pinctrl-0&lt;/STRONG&gt; property to point to right pinctrl node (&lt;STRONG&gt;pinctrl_uart5_own&lt;/STRONG&gt;) having right configuration for DCE mode, then UART5 doesn't work. If I use&amp;nbsp;pinctrl_uart5_own pinctrl node with dte-mode property defined, then UART5 works perfectly. Same happens with UART2. Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My top level (board level) dts is given below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/dts-v1/;&lt;/P&gt;&lt;P&gt;#include "imx6ull-colibri-nonwifi.dtsi"&lt;BR /&gt; #include "imx6ull-colibri-eval-v3.dtsi"&lt;/P&gt;&lt;P&gt;/ {&lt;BR /&gt; model = "Toradex Colibri iMX6ULL 256MB on Colibri Evaluation Board V3";&lt;BR /&gt; compatible = "toradex,colibri_imx6ull-eval", "fsl,imx6ull";&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; gpio_additional {&lt;BR /&gt; pinctrl-name = "default";&lt;BR /&gt; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_additionalgpio&amp;gt;;&lt;BR /&gt; status = "okay";&lt;BR /&gt; };&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;amp;iomuxc {&lt;BR /&gt; imx6ull-colibri {&lt;BR /&gt; pinctrl_additionalgpio: additionalgpios {&lt;BR /&gt; fsl,pins = &amp;lt;&lt;BR /&gt; MX6UL_PAD_UART2_RTS_B__GPIO1_IO23 0x14 // Pin 34 =&amp;gt; GPS SafeBoot&lt;BR /&gt; MX6UL_PAD_CSI_DATA00__GPIO4_IO21 0x14 // Pin 101 =&amp;gt; 1V8 Power Supply Enable&lt;BR /&gt; MX6UL_PAD_LCD_ENABLE__GPIO3_IO01 0x14 // Pin 44 =&amp;gt; GPS EXINT&lt;BR /&gt; MX6UL_PAD_LCD_DATA07__GPIO3_IO12 0x14 // Pin 46 =&amp;gt; GPS RST&lt;BR /&gt; MX6UL_PAD_LCD_DATA09__GPIO3_IO14 0x14 // Pin 48 =&amp;gt; UNUSED&lt;BR /&gt; MX6UL_PAD_LCD_DATA06__GPIO3_IO11 0x14 // Pin 80 =&amp;gt; SX1301 RST&lt;BR /&gt; &amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;pinctrl_uart5_their: uart5grp_their {&lt;BR /&gt; fsl,pins = &amp;lt;&lt;BR /&gt; MX6UL_PAD_GPIO1_IO04__UART5_DTE_RX 0x1b0b1&lt;BR /&gt; MX6UL_PAD_GPIO1_IO05__UART5_DTE_TX 0x1b0b1&lt;BR /&gt; &amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;pinctrl_uart5_own: uart5grp_own {&lt;BR /&gt; fsl,pins = &amp;lt;&lt;BR /&gt; MX6UL_PAD_GPIO1_IO04__UART5_DCE_TX 0x0b0b0&lt;BR /&gt; MX6UL_PAD_GPIO1_IO05__UART5_DCE_RX 0x0b0b0&lt;BR /&gt; &amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;};&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;amp;uart1 {&lt;BR /&gt; status = "okay";&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&amp;amp;uart2 {&lt;BR /&gt; status = "okay";&lt;BR /&gt; /delete-property/fsl,dte-mode;&lt;BR /&gt; fsl,dce-mode;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&amp;amp;uart3 {&lt;BR /&gt; status = "disabled";&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&amp;amp;uart4 {&lt;BR /&gt; status = "disabled";&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&amp;amp;uart5 {&lt;BR /&gt; status = "okay";&lt;/P&gt;&lt;P&gt;pinctrl-names = "default";&lt;BR /&gt; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_uart5_own&amp;gt;;&lt;/P&gt;&lt;P&gt;/delete-property/fsl,dte-mode;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;amp;ecspi1 {&lt;BR /&gt; status = "okay";&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&amp;amp;i2c1 {&lt;BR /&gt; status = "okay";&lt;/P&gt;&lt;P&gt;/* M41T0M6 real time clock on carrier board */&lt;BR /&gt; rtc: m41t0m6@68 {&lt;BR /&gt; status = "disabled";&lt;BR /&gt; };&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;amp;pwm1 {&lt;BR /&gt; status = "okay";&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&amp;amp;pwm2 {&lt;BR /&gt; status = "okay";&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;amp;lcdif {&lt;BR /&gt; status = "disabled";&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&amp;amp;ecspi1 {&lt;BR /&gt; status = "okay";&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&amp;amp;mcp258x0 {&lt;BR /&gt; status = "disabled";&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&amp;amp;spidev0 {&lt;BR /&gt; status = "okay";&lt;BR /&gt; };&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 03:31:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6ULL-UART-in-DCE-Mode-is-not-working/m-p/800899#M123765</guid>
      <dc:creator>iohertz</dc:creator>
      <dc:date>2018-08-20T03:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6ULL UART in DCE-Mode is not working.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6ULL-UART-in-DCE-Mode-is-not-working/m-p/800900#M123766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Sections 55.4.3.10 and 55.4.3.11 of the i.MX6ULL Reference Manual Rev.1 document clearly say that the functionality of the UART_TX and UART_RX signals remains the same regardless of the mode - DTE or DCE - the UART module operates in. So, there is no way to swap the functionality of these signals by register settings.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Artur&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 12:12:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6ULL-UART-in-DCE-Mode-is-not-working/m-p/800900#M123766</guid>
      <dc:creator>art</dc:creator>
      <dc:date>2018-08-27T12:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6ULL UART in DCE-Mode is not working.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6ULL-UART-in-DCE-Mode-is-not-working/m-p/800901#M123767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It is possible. Please have a look at this question to understand what I am trying to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/468696"&gt;https://community.nxp.com/thread/468696&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 12:22:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6ULL-UART-in-DCE-Mode-is-not-working/m-p/800901#M123767</guid>
      <dc:creator>iohertz</dc:creator>
      <dc:date>2018-08-27T12:22:32Z</dc:date>
    </item>
  </channel>
</rss>

