<?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: iMX8M Mini Serial Port (UART 3)</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-Serial-Port-UART-3/m-p/918756#M138219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maneesh,&lt;/P&gt;&lt;P&gt;If using Android, you may see permission issues when accessing to the regular serial terminal. As a glance, you could try enabling the serial terminal from ADB, and launching the commands with root access from the ADB serial terminal.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this will be useful for you.&lt;BR /&gt;Best regards!&lt;BR /&gt;/Carlos&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jun 2019 19:33:08 GMT</pubDate>
    <dc:creator>CarlosCasillas</dc:creator>
    <dc:date>2019-06-20T19:33:08Z</dc:date>
    <item>
      <title>iMX8M Mini Serial Port (UART 3)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-Serial-Port-UART-3/m-p/918752#M138215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-top: 0; margin-bottom: 0;"&gt;Hi Sir, &lt;BR /&gt;I have iMX8M mini EVK and I am able to connect my iMX8M mini to my laptop via USB Micro B debug port of iMX8 Mini. and i am bale to see the console output in putty / minicom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from the documents i came to know that &lt;BR /&gt;The iMX8M has &lt;SPAN&gt;four independent UART Ports (UART1 – UART4).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0; margin-bottom: 0;"&gt;&lt;SPAN&gt;But On the EVK board, only UART3 is available and the UART2 is used for Cortex-A53 core, and UART4 is used for Cortex-M4 core. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0; margin-bottom: 0;"&gt;&lt;SPAN&gt;The Pin details for UART 3 is - &lt;BR /&gt; TXD &amp;nbsp; - &amp;nbsp; Pin 8&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0; margin-bottom: 0;"&gt;&lt;SPAN&gt;RXD&amp;nbsp;&amp;nbsp; - &amp;nbsp; Pin 10&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0; margin-bottom: 0;"&gt;&lt;SPAN&gt;&lt;BR /&gt;Now i want to test UART3 of iMX8M Mini.&amp;nbsp;&lt;BR /&gt;I mean to say - &lt;BR /&gt;1. I want to connect iMX8M mini&amp;nbsp; USB Micro B debug port to my laptop and see the console. &lt;BR /&gt;2. Then I want to connect iMX8M mini UART3 to my laptop via some USB to serial convertor &lt;BR /&gt;3. Now I want to send some data say "Hello" to UART3 from my laptop and want to see this string in console / putty. &lt;BR /&gt;&lt;BR /&gt;so basically i want to test UART3 TX and RX.&lt;BR /&gt;Please suggest me how can i do this or test UART3 . &lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0; margin-bottom: 0;"&gt;&lt;SPAN&gt;Maneesh Singh&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2019 10:23:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-Serial-Port-UART-3/m-p/918752#M138215</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2019-06-13T10:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Mini Serial Port (UART 3)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-Serial-Port-UART-3/m-p/918753#M138216</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;BR /&gt;Is there anyone or any NXP person who can reply to my above questions ?&lt;BR /&gt;I am using iMX8M Mini EVK with Android 9.0 running on it. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Maneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2019 06:36:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-Serial-Port-UART-3/m-p/918753#M138216</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2019-06-17T06:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Mini Serial Port (UART 3)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-Serial-Port-UART-3/m-p/918754#M138217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maneesh,&lt;/P&gt;&lt;P&gt;As you already mentioned, on i.MX8M Mini, UART2 is used for A53 debug and UART4 for M4 debug, while UART1 is connected to the Wi-Fi/Bluetooth, so, only UART3 is available, and it is physically accessible on header J4 (pins 2, 4, 6 and 10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if you want to test it, &lt;SPAN style="font-size: 11.0pt;"&gt;if using Linux, &lt;/SPAN&gt;you could try with an echo, or with a terminal application (like Python miniterm), like the implementation of accessing to ttyMCC on the following Community document:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-331330"&gt;Controlling a robotic arm over Wi-Fi with UDOO NEO&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For connection of the UART3 to the computer or other devices, you could use the access on header J4 using for example an external USB to UART converter, like the usage of a EVBUSB2SER board on the following Community document:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-104269"&gt;https://community.nxp.com/docs/DOC-104269&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this will be useful for you.&lt;BR /&gt;Best regards!&lt;BR /&gt;/Carlos&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 01:20:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-Serial-Port-UART-3/m-p/918754#M138217</guid>
      <dc:creator>CarlosCasillas</dc:creator>
      <dc:date>2019-06-20T01:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Mini Serial Port (UART 3)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-Serial-Port-UART-3/m-p/918755#M138218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;CarlosCasillas&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply and suggestions.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am using iMX8M Mini board on which &lt;STRONG&gt;Android 9.0 (pre-build image from NXP)&lt;/STRONG&gt; is running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I connected UART of iMX8M Board to my PC using USB to serial connector. &lt;BR /&gt;and open it in Putty terminal software &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. But when i do echo on ttymxc&amp;nbsp; i get permission denied error.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="left: 562.717px; top: 1076.95px; font-size: 16.6px; font-family: monospace; transform: scaleX(1);"&gt;&lt;STRONG style="transform: scaleX(1); top: 1187.55px; left: 232.633px; font-size: 16.6px; font-family: monospace; "&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;SPAN style="left: 232.633px; top: 1187.55px; font-size: 16.6px; font-family: monospace; transform: scaleX(1);"&gt;ech&lt;/SPAN&gt;&lt;SPAN style="left: 262.633px; top: 1187.55px; font-size: 16.6px; font-family: monospace; transform: scaleX(1);"&gt;o "testing" &amp;gt; /dev/ttymxc2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="left: 562.717px; top: 1076.95px; font-size: 16.6px; font-family: monospace; transform: scaleX(1);"&gt;NOTE : I tested for all the ttymxc and with su and sudo also. But nothing works&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. In this below link to Add the required permission to UART it is suggested to do changes in Android app's manifest file &lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developer.android.com/things/sdk/pio/uart" title="https://developer.android.com/things/sdk/pio/uart"&gt;https://developer.android.com/things/sdk/pio/uart&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it's for Android APP and i don't want to use any android app. &lt;BR /&gt;I want to test echo and cat from Android console like how we do in linux.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please suggest me how can add permission to iMX8M Mini UART and how can we test it using &lt;STRONG&gt;echo&lt;/STRONG&gt; and &lt;STRONG&gt;cat&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 06:20:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-Serial-Port-UART-3/m-p/918755#M138218</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2019-06-20T06:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Mini Serial Port (UART 3)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-Serial-Port-UART-3/m-p/918756#M138219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maneesh,&lt;/P&gt;&lt;P&gt;If using Android, you may see permission issues when accessing to the regular serial terminal. As a glance, you could try enabling the serial terminal from ADB, and launching the commands with root access from the ADB serial terminal.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this will be useful for you.&lt;BR /&gt;Best regards!&lt;BR /&gt;/Carlos&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 19:33:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-Serial-Port-UART-3/m-p/918756#M138219</guid>
      <dc:creator>CarlosCasillas</dc:creator>
      <dc:date>2019-06-20T19:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Mini Serial Port (UART 3)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-Serial-Port-UART-3/m-p/1275295#M173895</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I'm&amp;nbsp;also dealing with the&amp;nbsp;same problem and&amp;nbsp;I am using iMX8M Mini board on IAR Embedded IDE.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am modifying the examples program path:SDK_EVK-MIMX8MM\boards\driver_examples.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to know how can I change UART4 to UART3. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any&amp;nbsp;suggestion?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Many thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Robert Tseng.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 03:05:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-Serial-Port-UART-3/m-p/1275295#M173895</guid>
      <dc:creator>Roberttt</dc:creator>
      <dc:date>2021-05-12T03:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Mini Serial Port (UART 3)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-Serial-Port-UART-3/m-p/1275588#M173927</link>
      <description>&lt;P&gt;It is very easy to test uart3 on i.MX8MM evk.&amp;nbsp; Just short the pin 8 and pin 10 on J1003&lt;/P&gt;
&lt;P&gt;You can do the loop back test.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 444px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144560i1AC6E7E0B924094A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[ 34.579352] type=1400 audit(1554575978.284:3643): avc: denied { dac_read_search } for pid=3875 comm="main" capability=2 scontext=u:r:zygote:s0 tcontext=u:r:zygote:s0 tclass=capability permissive=0&lt;BR /&gt;[ 34.601700] type=1400 audit(1554575984.088:3655): avc: denied { dac_read_search } for pid=3946 comm="main" capability=2 scontext=u:r:zygote:s0 tcontext=u:r:zygote:s0 tclass=capability permissive=0&lt;BR /&gt;[ 34.603662] audit: audit_lost=3544 audit_rate_limit=5 audit_backlog_limit=64&lt;BR /&gt;[ 34.620139] type=1400 audit(1554575984.092:3658): avc: denied { dac_read_search } for pid=3946 comm="main" capability=2 scontext=u:r:zygote:s0 tcontext=u:r:zygote:s0 tclass=capability permissive=0 duplicate messages suppressed&lt;BR /&gt;[ 34.627334] audit: rate limit exceeded&lt;BR /&gt;[ 34.647937] type=1400 audit(1554575984.112:3659): avc: denied { dac_read_search } for pid=3962 comm="main" capability=2 scontext=u:r:zygote:s0 tcontext=u:r:zygote:s0 tclass=capability permissive=0&lt;/P&gt;
&lt;P&gt;evk_8mm:/ $ su&lt;BR /&gt;evk_8mm:/ # stty -F /dev/ttymxc2 -echo&lt;BR /&gt;evk_8mm:/ # cat /dev/ttymxc2 &amp;amp;&lt;BR /&gt;[1] 4151&lt;BR /&gt;evk_8mm:/ # echo abcdef &amp;gt; /dev/ttymxc2 &lt;BR /&gt;evk_8mm:/ # abcdef&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;evk_8mm:/ # ec[ 75.021722] healthd: battery l=85 v=3 t=35.0 h=2 st=2 c=400 fc=4000000 cc=32 chg=a&lt;BR /&gt;ho[ 76.603789] healthd: battery l=85 v=3 t=35.0 h=2 st=2 c=400 fc=4000000 cc=32 chg=a&lt;BR /&gt;fadsfasf13123432 &amp;gt; /et dev/ttym&lt;BR /&gt;ttymxc0 ttymxc1 ttymxc2&lt;BR /&gt;evk_8mm:/ # echo fadsfasf13123432 &amp;gt; /dev/ttymxc 2 &lt;BR /&gt;evk_8mm:/ # fadsfasf13123432&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;evk_8mm:/ #&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 11:01:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-Serial-Port-UART-3/m-p/1275588#M173927</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2021-05-12T11:01:25Z</dc:date>
    </item>
  </channel>
</rss>

