<?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: iMX28 application UART</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-application-UART/m-p/164479#M4128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also faced similar problem. I was getting the error code as 52080. Searched&amp;nbsp;a lot in various documents, but could not find.&lt;/P&gt;&lt;P&gt;Practically I foound that these error codes are for parity error, framing error etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2012 01:44:14 GMT</pubDate>
    <dc:creator>AvinashGodbole</dc:creator>
    <dc:date>2012-05-30T01:44:14Z</dc:date>
    <item>
      <title>iMX28 application UART</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-application-UART/m-p/164478#M4127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am writing some C code to set up and use AUART_0. &amp;nbsp;through /dev/ttySP0. I am opening the port successfully and, when I write the port I am am actually getting data on the TX pin but then I get the following error: "mxs-auart mxs-auart.0: Unhandled status 52028d".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas are greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 21:17:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-application-UART/m-p/164478#M4127</guid>
      <dc:creator>nick33</dc:creator>
      <dc:date>2012-05-29T21:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28 application UART</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-application-UART/m-p/164479#M4128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also faced similar problem. I was getting the error code as 52080. Searched&amp;nbsp;a lot in various documents, but could not find.&lt;/P&gt;&lt;P&gt;Practically I foound that these error codes are for parity error, framing error etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 01:44:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-application-UART/m-p/164479#M4128</guid>
      <dc:creator>AvinashGodbole</dc:creator>
      <dc:date>2012-05-30T01:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28 application UART</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-application-UART/m-p/164480#M4129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you write your code for open the com port?&lt;BR /&gt;I use this:&lt;/P&gt;&lt;P&gt;/* open UART */&lt;BR /&gt; if ((I_uart_file = ::open(device, O_RDWR | O_NOCTTY | O_NDELAY)) == -1) {&lt;BR /&gt; /*&lt;BR /&gt; * Could not open the port.&lt;BR /&gt; */&lt;BR /&gt; I_isOpen = P_Error;&lt;BR /&gt;return;&lt;BR /&gt; }&lt;BR /&gt; /* set BAUDRATE */&lt;BR /&gt; tcgetattr(I_uart_file, &amp;amp;termios_old);&lt;BR /&gt; termios_mxc = termios_old;&lt;BR /&gt; termios_mxc.c_lflag &amp;amp;= ~(ICANON | ECHO | ISIG);&lt;BR /&gt; cfsetospeed(&amp;amp;termios_mxc,B115200);&lt;BR /&gt; cfsetispeed(&amp;amp;termios_mxc,B115200);&lt;BR /&gt; retval = tcsetattr(I_uart_file, TCSANOW, &amp;amp;termios_mxc);&lt;BR /&gt; line_val = LOOPBACK;&lt;BR /&gt;ioctl(I_uart_file, TIOCMSET, &amp;amp;line_val);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;and I don't have any problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 07:17:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-application-UART/m-p/164480#M4129</guid>
      <dc:creator>katte</dc:creator>
      <dc:date>2012-05-30T07:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28 application UART</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-application-UART/m-p/164481#M4130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it working! Avinash is right, these error codes appear to be associated with parity errors, framing errors, etc and I cannot find them documented anywhere either. My code is similar to Marcos except I'm not calling ioctl().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I was not sending an LFCR after the string I was trying to send to my modem i.e. "ATZ\r\n" so now wonder I wasn't getting anything back!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 20:09:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-application-UART/m-p/164481#M4130</guid>
      <dc:creator>nick33</dc:creator>
      <dc:date>2012-05-31T20:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: iMX28 application UART</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX28-application-UART/m-p/164482#M4131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also faced similar problem, the errors messages was printed when I use parity, it would no appears if I didn't&amp;nbsp; use parity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 06:26:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX28-application-UART/m-p/164482#M4131</guid>
      <dc:creator>___myir</dc:creator>
      <dc:date>2014-08-04T06:26:40Z</dc:date>
    </item>
  </channel>
</rss>

