<?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: IMX6 : swap debug uart pin in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-swap-debug-uart-pin/m-p/1581422#M199972</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210623"&gt;@Cécile&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please find the attachments.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;
&lt;P&gt;Dhruvit Vasavada&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2023 06:13:43 GMT</pubDate>
    <dc:creator>Dhruvit</dc:creator>
    <dc:date>2023-01-12T06:13:43Z</dc:date>
    <item>
      <title>IMX6 : swap debug uart pin</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-swap-debug-uart-pin/m-p/1575918#M199362</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I'm trying to invert the Tx and Rx pin of the UART1 debug bus, on the sabresd board.&lt;BR /&gt;I try to change to DTE mode like this :&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;U&gt;mx6sabresd.c&lt;/U&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;static iomux_v3_cfg_t const uart1_pads[] = {
IOMUX_PADS(PAD_CSI0_DAT11__UART1_TX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL)),
IOMUX_PADS(PAD_CSI0_DAT10__UART1_RX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL)),
};&lt;/LI-CODE&gt;&lt;P&gt;&lt;U&gt;imxqdl-sabresd.dtsi&lt;/U&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;pinctrl_uart1: uart1grp {
fsl,pins = &amp;lt;
MX6QDL_PAD_CSI0_DAT11__UART1_TX_DATA 0x1b0b1
MX6QDL_PAD_CSI0_DAT10__UART1_RX_DATA 0x1b0b1
&amp;gt;;
};

[...]

&amp;amp;uart1 {
pinctrl-names = "default";
fsl,dte-mode; 
pinctrl-0 = &amp;lt;&amp;amp;pinctrl_uart1&amp;gt;;
status = "okay";
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it doesn't work...&lt;BR /&gt;What am I missing?&lt;BR /&gt;&lt;BR /&gt;Thank you for your help !&lt;BR /&gt;&lt;BR /&gt;Cécile&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Jan 2023 15:06:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-swap-debug-uart-pin/m-p/1575918#M199362</guid>
      <dc:creator>Cécile</dc:creator>
      <dc:date>2023-01-01T15:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 : swap debug uart pin</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-swap-debug-uart-pin/m-p/1581421#M199971</link>
      <description>&lt;P&gt;&lt;SPAN class="im"&gt;hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210623"&gt;@Cécile&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I hope You are doing well.&lt;BR /&gt;&lt;BR /&gt;-&amp;gt;The chip-level IOMUX modifies the direction and routing of the UART signals based on whether the UART is operating in DCE mode (UARTn_UFCR[DCEDTE]=0) or DTE mode (UARTn_UFCR[DCEDTE]=1). So one should always set DTE Mode.(UARTn_UFCR[DCEDTE] = 1)&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;-&amp;gt;For DTE Mode One has to configure the pin setting of UART1_RX/TX_DATA &amp;amp; UART1_CTS/RTS_B as shown in the attachments. I've attached the attachments for the reference , please find the same.&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards&lt;/DIV&gt;
&lt;DIV&gt;Dhruvit Vasavada&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 Jan 2023 06:12:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-swap-debug-uart-pin/m-p/1581421#M199971</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-01-12T06:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 : swap debug uart pin</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-swap-debug-uart-pin/m-p/1581422#M199972</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210623"&gt;@Cécile&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please find the attachments.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;
&lt;P&gt;Dhruvit Vasavada&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 06:13:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-swap-debug-uart-pin/m-p/1581422#M199972</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-01-12T06:13:43Z</dc:date>
    </item>
  </channel>
</rss>

