<?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: imx53  i2c-1  busy , in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx53-i2c-1-busy/m-p/292830#M35946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-size: 26px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/H1&gt;&lt;H1 style="font-size: 26px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;hello.weidong&lt;/H1&gt;&lt;H1 style="font-size: 26px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/337130#337130" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7; text-decoration: underline;"&gt;in&amp;nbsp; imx53&amp;nbsp; , sometimes when android system boot up,&amp;nbsp;&amp;nbsp; kernel hung up in mxcuart_rx_chars&amp;nbsp; function.&amp;nbsp; i&lt;/A&gt; don't why when irq function read uart rxd register ,linux kernel hung up.could you help me?&lt;/H1&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jun 2013 07:57:35 GMT</pubDate>
    <dc:creator>潘紫东</dc:creator>
    <dc:date>2013-06-27T07:57:35Z</dc:date>
    <item>
      <title>imx53  i2c-1  busy ,</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx53-i2c-1-busy/m-p/292825#M35941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello everyone,i have a problem in i2c1 in&amp;nbsp; imx53.&lt;/P&gt;&lt;P&gt;when i operation i2c bus , i2sr_ibb&amp;nbsp;&amp;nbsp; alway&amp;nbsp;&amp;nbsp; is detect&amp;nbsp;&amp;nbsp; ibb=1;&amp;nbsp;&amp;nbsp; i do not why ?&lt;/P&gt;&lt;P&gt;i don't know this is a&amp;nbsp; software problem or hardware problem ?&amp;nbsp;&amp;nbsp; i need help.&lt;/P&gt;&lt;P&gt;root@freescale ~$ hwclock -w&lt;BR /&gt;rtc-pcf8563 1-0051: pcf8563_set_datetime: secs=13, mins=11, hours=11, mday=1, mon=0, year=70, wday=4&lt;BR /&gt;i2c i2c-1: master_xfer[0] W, addr=0x51, len=2&lt;BR /&gt;i2c i2c-1: &amp;lt;i2c_imx_xfer&amp;gt;&lt;BR /&gt;i2c i2c-1: &amp;lt;i2c_imx_start&amp;gt;&lt;BR /&gt;i2c i2c-1: &amp;lt;i2c_imx_bus_busy&amp;gt;&lt;BR /&gt;i2c i2c-1: &amp;lt;i2c_imx_bus_busy&amp;gt; I2C bus is busy&lt;BR /&gt;i2c i2c-1: &amp;lt;i2c_imx_stop&amp;gt;&lt;BR /&gt;i2c i2c-1: &amp;lt;i2c_imx_bus_busy&amp;gt;&lt;BR /&gt;i2c i2c-1: &amp;lt;i2c_imx_xfer&amp;gt; exit with: error: -110&lt;BR /&gt;rtc-pcf8563 1-0051: pcf8563_set_datetime: err=-110 addr=02, data=13&lt;BR /&gt;hwclock: RTC_SET_TIME: Input/output error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i2c devices addr is&amp;nbsp; right,and&amp;nbsp;&amp;nbsp;&amp;nbsp; i use eim_d16&amp;nbsp; and&amp;nbsp; eim_eb2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as i2c-1&amp;nbsp;&amp;nbsp; pin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MX53_PAD_EIM_D16__I2C2_SDA,&lt;BR /&gt; &lt;BR /&gt;#define MX53_PAD_EIM_D16__I2C2_SDA&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; (_MX53_PAD_EIM_D16__I2C2_SDA | MUX_PAD_CTRL(MX53_I2C_PAD_CTRL_1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;#define _MX53_PAD_EIM_D16__I2C2_SDA&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IOMUX_PAD(0x460, 0x118, 5, 0x820, 1, 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MX53_PAD_EIM_EB2__I2C2_SCL,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;#define MX53_PAD_EIM_EB2__I2C2_SCL&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; (_MX53_PAD_EIM_EB2__I2C2_SCL | MUX_PAD_CTRL(MX53_I2C_PAD_CTRL_1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;#define _MX53_PAD_EIM_EB2__I2C2_SCL&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IOMUX_PAD(0x45C, 0x114, 5 | IOMUX_CONFIG_SION, 0x81C, 1, 0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 03:57:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx53-i2c-1-busy/m-p/292825#M35941</guid>
      <dc:creator>潘紫东</dc:creator>
      <dc:date>2013-06-17T03:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: imx53  i2c-1  busy ,</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx53-i2c-1-busy/m-p/292826#M35942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hello,Zidong,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; It seems that you connected a RTC IC on I2C2 bus, Please measure 32.768k crystal for RTC by oscilloscope, I feel this crystal doesn't work ! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if the waveform is OK, we can check others .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Weidong&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 12:56:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx53-i2c-1-busy/m-p/292826#M35942</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2013-06-17T12:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: imx53  i2c-1  busy ,</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx53-i2c-1-busy/m-p/292827#M35943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,Pan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Did you resolve your quesions ?&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 08:17:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx53-i2c-1-busy/m-p/292827#M35943</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2013-06-20T08:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: imx53  i2c-1  busy ,</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx53-i2c-1-busy/m-p/292828#M35944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Pan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; How about your RTC ?&lt;/P&gt;&lt;P&gt;weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 03:38:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx53-i2c-1-busy/m-p/292828#M35944</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2013-06-25T03:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: imx53  i2c-1  busy ,</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx53-i2c-1-busy/m-p/292829#M35945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you,sir i had solve the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 07:38:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx53-i2c-1-busy/m-p/292829#M35945</guid>
      <dc:creator>潘紫东</dc:creator>
      <dc:date>2013-06-27T07:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: imx53  i2c-1  busy ,</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx53-i2c-1-busy/m-p/292830#M35946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-size: 26px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/H1&gt;&lt;H1 style="font-size: 26px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;hello.weidong&lt;/H1&gt;&lt;H1 style="font-size: 26px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/337130#337130" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7; text-decoration: underline;"&gt;in&amp;nbsp; imx53&amp;nbsp; , sometimes when android system boot up,&amp;nbsp;&amp;nbsp; kernel hung up in mxcuart_rx_chars&amp;nbsp; function.&amp;nbsp; i&lt;/A&gt; don't why when irq function read uart rxd register ,linux kernel hung up.could you help me?&lt;/H1&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 07:57:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx53-i2c-1-busy/m-p/292830#M35946</guid>
      <dc:creator>潘紫东</dc:creator>
      <dc:date>2013-06-27T07:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: imx53  i2c-1  busy ,</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx53-i2c-1-busy/m-p/292831#M35947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;I have a problem with I2C on imx6Solo.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Here is my environment: Processor: imx6Solo, OS: Windows embedded compact 2013. Board: Custom.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;imx6solo is connected with a touch controller via I2C. When the device boots, everything seems ok but after first touch on the screen (which means after first I2C read or write operation) I2C hangs.(apparently, device hangs).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;My observations are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;1. ) Interrupt coming from screen touch can be detected. I can see this fact on the console output. (Every touch IRQ is logged to serial trace)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;2. )After single touch on the screen, read and write requests are seen periodically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;3.) The I2C protocol flow is here:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Grant Bus Master -&amp;gt; change to receive mode -&amp;gt; Ensure the Start operation is DONE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;To ensure the start operation is done, check if IBB bit is set to 1(which means I2C is busy). The problem arised here. IBB bit is never set to 1!! &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;in other words stucks at ZERO. &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;I am checking this case several times and after a while &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;gives such an error &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;"I2C Generate Start can't launch".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;4.) Second finding is SDA line. I probed the I2C lines and observed that when the device wake up, both I2C line states seem ok.(both stay high) but after first touch SDA stucks at ZERO!!! When the line is observed for a while, sometimes it gets high for a short time but then goes back to low which does not make sense.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;I believe that the problem should not be too hard and i am missing a point. Could you all please help me for this issue&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;?&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;What can the reason of this problem be?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Thanks in advanced,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 08:29:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx53-i2c-1-busy/m-p/292831#M35947</guid>
      <dc:creator>vipermania</dc:creator>
      <dc:date>2015-01-21T08:29:09Z</dc:date>
    </item>
  </channel>
</rss>

