<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="http://forum.robosavvy.com/feed.php?f=17&amp;t=6764" />

<title>RoboSavvy Forum</title>
<subtitle>Robosavvy Forum: The largest online community of Humanoid Robot Builders</subtitle>
<link href="http://forum.robosavvy.com/index.php" />
<updated>2010-11-25T11:55:47+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=17&amp;t=6764</id>
<entry>
<author><name><![CDATA[roboard]]></name></author>
<updated>2010-11-25T11:55:47+01:00</updated>
<published>2010-11-25T11:55:47+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6764&amp;p=28970#p28970</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6764&amp;p=28970#p28970"/>
<title type="html"><![CDATA[I2C problems with ITG-3200 Gyro]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6764&amp;p=28970#p28970"><![CDATA[
Hi,<br /><br />when RoBoard's I2C fails to respond, you can call i2c_Close() and then i2c_Initialize() to reset RoBoard's H/W I2C module.<br /><br />We are also trying ITG-3200 in our lab (for a new 9-axis RoBoard sensor), but not meet your issues. It is possible that your ITG-3200 board's I2C bus or power supply is not very stable; for this issue, you may try a much slower I2C speed (such as 1Kbps or 10Kbps) to see whether the ITG-3200 board works normally. <br /><br /><img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1542">roboard</a> — Thu Nov 25, 2010 11:55 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[veltrop]]></name></author>
<updated>2010-11-24T09:59:11+01:00</updated>
<published>2010-11-24T09:59:11+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6764&amp;p=28944#p28944</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6764&amp;p=28944#p28944"/>
<title type="html"><![CDATA[I2C problems with ITG-3200 Gyro]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6764&amp;p=28944#p28944"><![CDATA[
I removed the 1uf capacitor and things have much improved.  Strange, most i2c devices recommend one on the +v. <br /><br />Unfortunately, the values from the HMC6343 IMU unit float around a little bit more without the capacitor; +/- 0.3 as opposed to +/- 0.1.<br /><br />The bus &quot;doesn't respond&quot; after 260 minutes in the first test, had to cycle power of i2c device.<br /><br />Next test failed after 7 minutes with &quot;arbitration loss&quot; but was able to recover by restarting software.<br /><br />Next test failed after 350 minutes, &quot;doesn't respond&quot;, had to power cycle i2c device. <br /><br />Current test has been running over an hour with no problems yet.<br /><br />So it looks good enough to use.  I would like more stability though, and losing the precision on the other sensor is too bad. <img src="http://forum.robosavvy.com/images/smilies/icon_confused.gif" alt=":?" title="Confused" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1573">veltrop</a> — Wed Nov 24, 2010 9:59 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[veltrop]]></name></author>
<updated>2010-11-23T13:18:40+01:00</updated>
<published>2010-11-23T13:18:40+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6764&amp;p=28936#p28936</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6764&amp;p=28936#p28936"/>
<title type="html"><![CDATA[I2C problems with ITG-3200 Gyro]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6764&amp;p=28936#p28936"><![CDATA[
I recently put an ITG-3200 gyro on the Roboard i2c and am having problems with it.<br />The ITG-3200 is a great gyro sensor, available here: <a href="http://robosavvy.com/store/product_info.php/products_id/941" class="postlink">http://robosavvy.com/store/product_info.php/products_id/941</a><br /><br />Occasionally I get errors:<br /><br />i2c0master_StartN() : &quot;I2C0 module doesn't respond&quot;<br /> <br />Then have to unplug it and plug it back in to make it work.<br /><br />i2c0master_WriteN() : &quot;receive no ACK after transmitting&quot;<br /><br />Can recover from this error by restarting the i2c in the software.<br /><br />i2c0master_WriteN: &quot;arbitration loss for I2C bus&quot;<br /><br />After receiving this error, sometimes I can restart in software and recover, but sometimes I get &quot;I2C0 module doesn't respond&quot; after.<br /><br />The device is powered by 3.3v, and there are 10k pullups to 3.3v on the SDA and SCL lines.  It makes no difference if other devices are plugged into the bus or not.  I have tried 1.8k, 4.7k, 8.2k pullups also. There's a 1uf capacitor on the output of the 3.3v regulator.  I don't have any problems with my other i2c devices.  It doesn't help to lower the baud rate or change i2c speed modes.  And it doesn't make any difference at what rate I probe the registers on the ITG-3200.  Sometimes the device will run for more than 30 minutes or even an hour before problems, sometimes only seconds, but it always eventually dies.<br /><br />After reading a thread here: <br /><a href="http://forum.sparkfun.com/viewtopic.php?f=14&amp;t=24600" class="postlink">http://forum.sparkfun.com/viewtopic.php?f=14&amp;t=24600</a><br />It seems like the problem could be fixed in code, but in the RoBoIO level.  After peeking in the driver code there do indeed seem to be some suspicious workarounds, bugs and tweaks in the RoBoIO/Roboard/VorteX86 i2c implementation.<br /><br />But I've just spent 3 days debugging this and can't dive in any deeper right now.<br /><br />Any help?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1573">veltrop</a> — Tue Nov 23, 2010 1:18 pm</p><hr />
]]></content>
</entry>
</feed>