<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Need I2C implementation</title>
		<link>http://forums.leaflabs.com/topic.php?id=166</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:20:59 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=166" rel="self" type="application/rss+xml" />

		<item>
			<title>poslathian on "Need I2C implementation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=166#post-1192</link>
			<pubDate>Mon, 13 Sep 2010 12:56:50 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">1192@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Let me bang out an alpha version of the Wire library for you to play with before 0.0.7 Ill post later in the day.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kenny9999 on "Need I2C implementation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=166#post-1158</link>
			<pubDate>Fri, 10 Sep 2010 08:42:57 +0000</pubDate>
			<dc:creator>Kenny9999</dc:creator>
			<guid isPermaLink="false">1158@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Well, I'm there now.&#60;/p&#62;
&#60;p&#62;I received my Maple board, and now, I want to start interfacing with my I2C device, I search a bit to find something, even low level, that I can used on the forum but, no luck, or I may be blind! &#60;/p&#62;
&#60;p&#62;I read a bit of&#60;br /&#62;
&#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=121&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=121&#60;/a&#62;&#60;br /&#62;
Imported some of the code in the IDE and was not able to compile it. Then I look at the SPI implementation and find out that was not what I was thinking! I learn what it is actually a bit more. &#34;Like I said, not really a low level guy&#34;&#60;/p&#62;
&#60;p&#62;So, In the documentation:&#60;br /&#62;
&#60;a href=&#34;http://leaflabs.com/docs/maple/i2c/&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/maple/i2c/&#60;/a&#62;&#60;br /&#62;
I have found in this page that the I2C is in development, like written in the previous post. But, it's also written that the interface is available in the I2C branch of libmaple here &#60;a href=&#34;http://github.com/leaflabs&#34; rel=&#34;nofollow&#34;&#62;http://github.com/leaflabs&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I search on the libmaple and did not find any reference to I2C&#60;/p&#62;
&#60;p&#62;Have you something for me that I can play with it? Even those function describe here &#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=28&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=28&#60;/a&#62; would be appreciate! or pin point me to some implementation &#34;compiling on win&#34; that I can use! &#60;/p&#62;
&#60;p&#62;Any help would be appreciate!&#60;/p&#62;
&#60;p&#62;I want to interface 2 ITG3200 gyro and 2 BMA180 accelerometer to do an IMU&#60;/p&#62;
&#60;p&#62;Thank in advance!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "Need I2C implementation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=166#post-1096</link>
			<pubDate>Tue, 07 Sep 2010 21:01:36 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">1096@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;speaking of performance, the hardwarei2c is actually built in to run kind of slow, because thats the i2c spec. Im not sure how much you can overdrive it past 400KHz. However the soft i2c should run in the low MHz, probably 1-3, I had some macro'd fast implementation running at nearly 5MHz, but Im not going to optimize for code size rather than speed in the SoftwareI2C interface.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "Need I2C implementation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=166#post-1095</link>
			<pubDate>Tue, 07 Sep 2010 21:00:07 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">1095@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The I2C hardware is really designed to be used the DMA. At first setting up the DMA was way below i2c on our priority queue, so we tried to setup a HardwareI2C interface without DMA. We failed miserably after two fully fledged attempts. So, were releasing a hold-over soft implementation and moving DMA up the queue to (next!), then well setup the i2c peripheral using DMA. &#60;/p&#62;
&#60;p&#62;tldr: i2c om nom nom
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kenny9999 on "Need I2C implementation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=166#post-1093</link>
			<pubDate>Tue, 07 Sep 2010 19:29:43 +0000</pubDate>
			<dc:creator>Kenny9999</dc:creator>
			<guid isPermaLink="false">1093@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hardware would be nice, but, since it's hard and complicated, A soft one will be enough to start with. I saw the Maple many time in some forum, At least on Aeroquad and DIYDrone. The maple seem a great product and to give it some popularity, a fast implementation of compatible arduino library will help a lot. I'm not really good in micro controller and electronics, but, I manage to do a lot of thing just by copying some code for the arduino and adapt it! It's simple and easy to understand and it is working and fast to get result. &#60;/p&#62;
&#60;p&#62;for nOOb like me, it's cool to get something working fast and easily!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Need I2C implementation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=166#post-1092</link>
			<pubDate>Tue, 07 Sep 2010 19:10:12 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">1092@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;While I2C is quite slow by comparison with e.g. SPI, there are two I2C peripherals on the STM32F103RB, so if it's feasible to get the hardware peripherals working, there would be both better throughput, and potentially lower latency if the I2C devices are well balanced across the two 'buses' (assuming devices are all slaves).&#60;/p&#62;
&#60;p&#62;(I realise this is non-trivial)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kenny9999 on "Need I2C implementation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=166#post-1088</link>
			<pubDate>Tue, 07 Sep 2010 17:34:20 +0000</pubDate>
			<dc:creator>Kenny9999</dc:creator>
			<guid isPermaLink="false">1088@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Great thank! can't wait to see what that baby have to give, but, I'll need the I2C implementation! My need of speed is about 500KHz, but 400 will be enough to start! Just let us know when it will be available!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "Need I2C implementation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=166#post-1078</link>
			<pubDate>Tue, 07 Sep 2010 15:56:58 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">1078@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Im working on porting a soft implementation of the &#34;Wire&#34; library right now! By soft I mean that the i2c is done via bitbanging rather than the hardware i2c driver. This is suboptimal, but i2c is a fairly slow protocol (400KHz in fast mode) so the only real hit is that it will be synchronous rather than async. I will post when this is done so you can use it!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kenny9999 on "Need I2C implementation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=166#post-1064</link>
			<pubDate>Tue, 07 Sep 2010 09:32:10 +0000</pubDate>
			<dc:creator>Kenny9999</dc:creator>
			<guid isPermaLink="false">1064@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Just download the maple-ide-0018 from &#60;a href=&#34;http://code.google.com/p/leaflabs/downloads/list&#34; rel=&#34;nofollow&#34;&#62;http://code.google.com/p/leaflabs/downloads/list&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I see there is some I2C sample but, no luck at compile time&#60;/p&#62;
&#60;p&#62;got that error&#60;br /&#62;
#############################################################################&#60;br /&#62;
Going to build using 'make' (ARM)&#60;br /&#62;
Compiling core arm-none-eabi&#60;/p&#62;
&#60;p&#62;C:\Program Files\maple-ide-0018\hardware\leaflabs\cores\maple\wiring.c: In function 'NVIC_Configuration':&#60;/p&#62;
&#60;p&#62;Compiling any libs with arm-none-eabi&#60;/p&#62;
&#60;p&#62;C:\Program Files\maple-ide-0018\libraries\Wire\utility\twi.c:23: fatal error: avr/io.h: No such file or directory&#60;/p&#62;
&#60;p&#62;compilation terminated.&#60;br /&#62;
########################################################################&#60;/p&#62;
&#60;p&#62;look to me that the porting is not far then to be completed!&#60;/p&#62;
&#60;p&#62;I'm on windows, is there any change to get that working on linux? not real good in linux, but, can give a try!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kenny9999 on "Need I2C implementation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=166#post-1060</link>
			<pubDate>Tue, 07 Sep 2010 08:26:49 +0000</pubDate>
			<dc:creator>Kenny9999</dc:creator>
			<guid isPermaLink="false">1060@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I order my maple and I gone get it this week I thing&#60;/p&#62;
&#60;p&#62;Already have an arduino nano 328 and I need more room for my program, so I check around and found 2 alternative, the maple and the seeeduino mega. But, I'm interested in the power and the 32bit version of the maple over the seeeduino mega. I plan to have a lot of I2C device connected. Just now, I plan to have like 9 device connected to I2C for my project. &#60;/p&#62;
&#60;p&#62;So, just wondering if you guy's are working on I2C and plan to add it in the 0.0.7 version?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
