<?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: imx23 and i2c general issue in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx23-and-i2c-general-issue/m-p/187626#M9040</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe you should change the i2c from DMA mode to poll mode&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Nov 2011 05:31:05 GMT</pubDate>
    <dc:creator>hake</dc:creator>
    <dc:date>2011-11-19T05:31:05Z</dc:date>
    <item>
      <title>imx23 and i2c general issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx23-and-i2c-general-issue/m-p/187625#M9039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo,&lt;/P&gt;&lt;P&gt;maybe this question is very basic, but unfortunately I was not able to find a solution, neither in this forum, nor elsewhere.&lt;/P&gt;&lt;P&gt;My goal is: to let the I2C working on the EVK and on our custom board with iMX23.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have configured ltib in such a way to support I2C as master.&lt;/P&gt;&lt;P&gt;After correctly booting from SD:&lt;/P&gt;&lt;P&gt;1) modprobe i2c-dev:&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; i2c /dev entries driver&lt;/P&gt;&lt;P&gt;2) echo "a" &amp;gt; /dev/i2c-0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and all that i get is that the SCK line toggles correctly while the SDA still remain pulled up to VDDIO.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same behaviour appear also if i run this simple program:&lt;/P&gt;&lt;P&gt;int fds;&lt;/P&gt;&lt;P&gt;char buf[2];&lt;/P&gt;&lt;P&gt;fds = open("/dev/i2c-0", O_RDWR);&lt;/P&gt;&lt;P&gt;ioctl(fds,I2C_SLAVE,0x29);&lt;/P&gt;&lt;P&gt;buf[0] = 0xAA;&amp;nbsp; buf[1] = 0xBB;&lt;/P&gt;&lt;P&gt;write(fds,buf,2);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone can help me to understand what I miss to do or to find an error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Fabio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 15:42:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx23-and-i2c-general-issue/m-p/187625#M9039</guid>
      <dc:creator>Fabio1z</dc:creator>
      <dc:date>2011-11-16T15:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: imx23 and i2c general issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx23-and-i2c-general-issue/m-p/187626#M9040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe you should change the i2c from DMA mode to poll mode&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Nov 2011 05:31:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx23-and-i2c-general-issue/m-p/187626#M9040</guid>
      <dc:creator>hake</dc:creator>
      <dc:date>2011-11-19T05:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: imx23 and i2c general issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx23-and-i2c-general-issue/m-p/187627#M9041</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;Check if your pullup resistor values are correct. You may also try increasing the drive strength of the I2C Lines.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 05:52:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx23-and-i2c-general-issue/m-p/187627#M9041</guid>
      <dc:creator>Balaji_ng</dc:creator>
      <dc:date>2011-11-23T05:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: imx23 and i2c general issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx23-and-i2c-general-issue/m-p/187628#M9042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;thanks for your answers.&lt;/P&gt;&lt;P&gt;The electrical connection were ok (pull-up added, and pins configured correctly). The drive strength 4mA was enough for 4.7k pullup. Anyway I tried also to increase it.&lt;/P&gt;&lt;P&gt;I've definetively checked on the EVK board, using the pin as GPIO, and with the memtool (in the imx test), drive them directy. Unfortunatly the SDA pin was broken. On another board (and on my custom board), everything were ok.&lt;/P&gt;&lt;P&gt;Thanks again for your kind answers.&lt;/P&gt;&lt;P&gt;Fabio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 18:17:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx23-and-i2c-general-issue/m-p/187628#M9042</guid>
      <dc:creator>Fabio1z</dc:creator>
      <dc:date>2011-11-23T18:17:19Z</dc:date>
    </item>
  </channel>
</rss>

