<?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: Question, i.MX6 UART re-initialization</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX6-UART-re-initialization/m-p/378896#M54402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi AVNET JAPAN FAE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems it may be caused below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/403193"&gt;Re: i.MX6 UART hardware misbehaves on baudrate mismatch&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fixed if bit 7 of UCR3 (ADNIMP in the reference manual) is set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Oct 2014 14:39:38 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2014-10-11T14:39:38Z</dc:date>
    <item>
      <title>Question, i.MX6 UART re-initialization</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX6-UART-re-initialization/m-p/378893#M54399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear TIC team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to ask about re-initializing of i.MX6 UART.&lt;/P&gt;&lt;P&gt;My customer is using i.MX6S UART and they need to change UART settings in their application.&lt;/P&gt;&lt;P&gt;When they implemented the re-initialization software without disabling interrupt, they saw the UART did not work as expected after the re-init due to the behavior of interrupt.&lt;/P&gt;&lt;P&gt;Then they added disabling RX interrupt before the re-init process, and UART worked fine after the re-init.&lt;/P&gt;&lt;P&gt;Could you show me whether the adding disabling RX int right before the re-init is reasonable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Miyamoto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 05:16:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX6-UART-re-initialization/m-p/378893#M54399</guid>
      <dc:creator>Aemj</dc:creator>
      <dc:date>2014-10-09T05:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Question, i.MX6 UART re-initialization</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX6-UART-re-initialization/m-p/378894#M54400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi AVNET JAPAN FAE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what UART bits they changed during "re-init process",&lt;/P&gt;&lt;P&gt;had UARTEN, RXEN changed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 14:18:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX6-UART-re-initialization/m-p/378894#M54400</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2014-10-09T14:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Question, i.MX6 UART re-initialization</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX6-UART-re-initialization/m-p/378895#M54401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Baudrate and length of stop-bit were changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Miyamoto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 00:12:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX6-UART-re-initialization/m-p/378895#M54401</guid>
      <dc:creator>Aemj</dc:creator>
      <dc:date>2014-10-10T00:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Question, i.MX6 UART re-initialization</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX6-UART-re-initialization/m-p/378896#M54402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi AVNET JAPAN FAE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems it may be caused below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/403193"&gt;Re: i.MX6 UART hardware misbehaves on baudrate mismatch&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fixed if bit 7 of UCR3 (ADNIMP in the reference manual) is set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Oct 2014 14:39:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX6-UART-re-initialization/m-p/378896#M54402</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2014-10-11T14:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Question, i.MX6 UART re-initialization</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX6-UART-re-initialization/m-p/378897#M54403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Miyamoto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please tell which OS is your customer using and also:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- The exact steps to reproduce the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- The patch with their fix&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Oct 2014 22:37:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX6-UART-re-initialization/m-p/378897#M54403</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2014-10-11T22:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Question, i.MX6 UART re-initialization</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX6-UART-re-initialization/m-p/378898#M54404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fabio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OS: i-Tron base&lt;/P&gt;&lt;P&gt;Re-init procedure:&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HW_UART_UCR1_CLR(instance,BM_UART_UCR1_RRDYEN);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // disable UART RX interrupt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uart_init( instance, baudrate, PARITY_NONE, stopbits, EIGHTBITS, FLOWCTRL_OFF );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uart_set_FIFO_mode( instance, RX_FIFO, 1, IRQ_MODE );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;Without the 1st step, disabling RX int, the re-init does not work fine. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;Without disabling rx int, interrupt seems to occur repeatedly after the re-init.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;the uart_init() function came from your SDK.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;Miyamoto&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 02:02:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX6-UART-re-initialization/m-p/378898#M54404</guid>
      <dc:creator>Aemj</dc:creator>
      <dc:date>2014-10-14T02:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Question, i.MX6 UART re-initialization</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX6-UART-re-initialization/m-p/378899#M54405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hi Fabio,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The customer wants to clarify whether the disabling interrupt is needed when changing UART settings(baud-rate, stop-bit length change).&lt;/P&gt;&lt;P&gt;Do you think the disabling int is not needed always?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Miyamoto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 08:33:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX6-UART-re-initialization/m-p/378899#M54405</guid>
      <dc:creator>Aemj</dc:creator>
      <dc:date>2014-10-17T08:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Question, i.MX6 UART re-initialization</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX6-UART-re-initialization/m-p/378900#M54406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miyamoto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought initially your customer was using linux, but this issue I have never seen with linux.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not familiar with SDK or i-Tron OS, sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 13:14:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX6-UART-re-initialization/m-p/378900#M54406</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2014-10-17T13:14:47Z</dc:date>
    </item>
  </channel>
</rss>

