<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>RE: SPI, I2C</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<P><FONT SIZE=2>The drivers for these do exist (see git.xilinx.com). I suppose as a 'control' bus, they might actually be useful inside an FPGA, but why not just use dcr? Part of the value of i2c is minimizing wires (including power wires), but that's hardly a design constraint in an FPGA compared to conserving logic.<BR>
<BR>
I also got fed up with the i2c core at one point and wrote a bitbang version for the gpio. It might be a bit slower, but it's dirt simple. I can send it do you, if you're interested.<BR>
<BR>
Steve<BR>
<BR>
-----Original Message-----<BR>
From: linuxppc-embedded-bounces+stephen=neuendorffer.name@ozlabs.org on behalf of David H. Lynch Jr.<BR>
Sent: Sun 11/25/2007 1:44 AM<BR>
To: linuxppc-embedded<BR>
Subject: SPI, I2C<BR>
<BR>
<BR>
I have been asked to do SPI and I2C drivers for Pico cards.<BR>
<BR>
I am trying to grasp what the practical use of either could be in an<BR>
environment where neither SPI nor I2C are going to be able to<BR>
communicate outside the FPGA.<BR>
<BR>
I am guessing that SPI and I2C implementations already exist for<BR>
Xilinx FPGA's - any chance that drivers might already exist ?<BR>
<BR>
I would prefer not to charge a client to reinvent something that<BR>
exists, or that can not serve a useful purpose.<BR>
<BR>
I am not trying to imply that SPI or I2C are not useful, just that<BR>
they are communications channels, and unless they have outside I2C or<BR>
SPI hardware to talk to what purpose might they serve ?<BR>
<BR>
<BR>
<BR>
--<BR>
Dave Lynch DLA Systems<BR>
Software Development: Embedded Linux<BR>
717.627.3770 dhlii@dlasys.net <A HREF="http://www.dlasys.net">http://www.dlasys.net</A><BR>
fax: 1.253.369.9244 Cell: 1.717.587.7774<BR>
Over 25 years' experience in platforms, languages, and technologies too numerous to list.<BR>
<BR>
"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."<BR>
Albert Einstein<BR>
<BR>
_______________________________________________<BR>
Linuxppc-embedded mailing list<BR>
Linuxppc-embedded@ozlabs.org<BR>
<A HREF="https://ozlabs.org/mailman/listinfo/linuxppc-embedded">https://ozlabs.org/mailman/listinfo/linuxppc-embedded</A><BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>