<?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: UART DTE Mode is not working in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/UART-DTE-Mode-is-not-working/m-p/1028322#M151924</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanket&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first may be useful to check uart signals usage in &lt;/P&gt;&lt;P&gt;Table 86. UART I/O Configuration vs. Mode &lt;A href="https://www.nxp.com/docs/en/data-sheet/IMX6SDLCEC.pdf" target="_blank"&gt;&lt;STRONG&gt;i.MX 6Solo/6DualLite Applications Processors for Consumer Products&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;then test it using baremetal uart example&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/RT-Thread/rt-thread/tree/master/bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/uart" title="https://github.com/RT-Thread/rt-thread/tree/master/bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/uart"&gt;rt-thread/bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/uart at master · RT-Thread/rt-thread · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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>Fri, 03 Jan 2020 04:56:17 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2020-01-03T04:56:17Z</dc:date>
    <item>
      <title>UART DTE Mode is not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UART-DTE-Mode-is-not-working/m-p/1028321#M151923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are working on the IMX6DL processor to bring up one of the UART interfaces in DTE mode. (As the UART TX/RX was reversed by mistake in our hardware, basically we want to have EIM_D24 ==&amp;gt; RX and EIM_D25 ==&amp;gt; processor's TX).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have done the following device tree configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device Tree node details:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;pinctrl_uart3: uart3grp {
 fsl,pins = &amp;lt;
 MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
 MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
 &amp;gt;;
 };

&amp;amp;uart3 {
 pinctrl-names = "default";
 pinctrl-0 = &amp;lt;&amp;amp;pinctrl_uart3&amp;gt;;
 fsl,dte-mode;
 status = "okay";
};&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have taken reference from the following&amp;nbsp;UART configuration registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debugging further I have also checked the UART3_UFCR register for DTE mode configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UART3_UFCR results:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN data-dojo-attach-point="messageText"&gt;root@mainboard-sbs:~# devmem2 0x21EC090
/dev/mem opened.
Memory mapped at address 0x76f85000.
Read at address 0x021EC090 (0x76f85090): &lt;STRONG&gt;0x00002349&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above register configuration looks proper according to the datasheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have gone through this link reference as well:&amp;nbsp;&lt;SPAN data-dojo-attach-point="messageText"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-97509" rel="nofollow noopener noreferrer" target="_blank"&gt;https://community.nxp.com/docs/DOC-97509&lt;/A&gt;&amp;nbsp;However this does not seem working for us.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN data-dojo-attach-point="messageText"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN data-dojo-attach-point="messageText"&gt;1) Kindly help us to understand where we are missing anything.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN data-dojo-attach-point="messageText"&gt;2) Please correct our device tree settings if we have made any mistake in device tree pinmux configuration in the above device tree.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2019 14:42:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UART-DTE-Mode-is-not-working/m-p/1028321#M151923</guid>
      <dc:creator>sanketparekh</dc:creator>
      <dc:date>2019-12-30T14:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: UART DTE Mode is not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UART-DTE-Mode-is-not-working/m-p/1028322#M151924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanket&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first may be useful to check uart signals usage in &lt;/P&gt;&lt;P&gt;Table 86. UART I/O Configuration vs. Mode &lt;A href="https://www.nxp.com/docs/en/data-sheet/IMX6SDLCEC.pdf" target="_blank"&gt;&lt;STRONG&gt;i.MX 6Solo/6DualLite Applications Processors for Consumer Products&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;then test it using baremetal uart example&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/RT-Thread/rt-thread/tree/master/bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/uart" title="https://github.com/RT-Thread/rt-thread/tree/master/bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/uart"&gt;rt-thread/bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/uart at master · RT-Thread/rt-thread · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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>Fri, 03 Jan 2020 04:56:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UART-DTE-Mode-is-not-working/m-p/1028322#M151924</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-01-03T04:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: UART DTE Mode is not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UART-DTE-Mode-is-not-working/m-p/1028323#M151925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have configured the UART DTE mode.&lt;/P&gt;&lt;P&gt;Below is the configuration of the UART in DTE mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device Tree node details:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pinctrl_uart3: uart3grp {&lt;BR /&gt; fsl,pins = &amp;lt;&lt;BR /&gt; MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1&lt;BR /&gt; MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1&lt;BR /&gt; &amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;uart3 {&lt;BR /&gt; pinctrl-names = "default";&lt;BR /&gt; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_uart3&amp;gt;;&lt;BR /&gt; fsl,dte-mode;&lt;BR /&gt; status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written one application, that sends the 10 bytes of data on the UART.&lt;/P&gt;&lt;P&gt;I have observed the same behavior using CRO.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So, At the same time, the data is transmitted from both the pins(i.e. RX and TX).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the above-observed behavior is correct for UART DTE mode?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN data-dojo-attach-point="messageText"&gt;1) Kindly help us to understand where we are missing anything.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN data-dojo-attach-point="messageText"&gt;2) Please correct our device tree settings if we have made any mistake in device tree pinmux configuration in the above device tree.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2020 10:38:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UART-DTE-Mode-is-not-working/m-p/1028323#M151925</guid>
      <dc:creator>sanketparekh</dc:creator>
      <dc:date>2020-01-06T10:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: UART DTE Mode is not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UART-DTE-Mode-is-not-working/m-p/1028324#M151926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gentle Reminder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 13:13:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UART-DTE-Mode-is-not-working/m-p/1028324#M151926</guid>
      <dc:creator>sanketparekh</dc:creator>
      <dc:date>2020-01-16T13:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: UART DTE Mode is not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UART-DTE-Mode-is-not-working/m-p/1028325#M151927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please test using baremetal uart example, it will help to narrow down issue&lt;/P&gt;&lt;P&gt;&lt;A class="" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FRT-Thread%2Frt-thread%2Ftree%2Fmaster%2Fbsp%2Fimx6sx%2FiMX6_Platform_SDK%2Fsdk%2Fdrivers%2Fuart" rel="nofollow" target="_blank"&gt;rt-thread/bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/uart at master · RT-Thread/rt-thread · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 13:39:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UART-DTE-Mode-is-not-working/m-p/1028325#M151927</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-01-16T13:39:32Z</dc:date>
    </item>
  </channel>
</rss>

