Re: parallel eeproms and 8051

From: Tim Wescott (tim_at_wescottnospamdesign.com)
Date: 12/29/04


Date: Wed, 29 Dec 2004 09:45:40 -0800

funkymunky wrote:

> okay okay...i got that..another question:
>
> out of i2c and spi, which standard is more popular? any specific
> reasons for it?
>
No, because they address different concerns. Depending on the project
one may have occasion to use SPI, I2C or both.

If you want to hook up a small, fixed number of peripherals to a
microprocessor then SPI is much simpler to use. If you want to hook up
a large number, or an unknown number, of peripherals to a microprocessor
then I2C can't be beat.

Of course sometimes you have a peripheral that you must use that only
comes with one interface, and then you're stuck.

-- 
Tim Wescott
Wescott Design Services
http://www.wescottdesign.com


Relevant Pages

  • Re: DC Motor Control: H-Bridge +5A, 48v
    ... I would really like to find something with these capabilities that uses SPI to communicate with a microprocessor. ... Wescott Design Services ...
    (sci.electronics.design)
  • Re: i2c physical interface?
    ... >> This isn't necessarily true. ... My plan was to take an i2c bus from my master (a JStamp) ... > connect these peripherals to the i2c hub in the power supply? ... my JStamp looks like it does SPI as easily/more easily than i2c. ...
    (comp.robotics.misc)
  • Re: Luminary Micro cut the price of their dev boards from $775 to $249.
    ... Since M3 standardizes many peripherals (eg. timers, ... but are the M3 peripherals ... I have seen timers that were not so easy to use... ... and find this for SPI: ...
    (comp.sys.arm)
  • Re: i2c physical interface?
    ... If your going to be using, say, 8 spi evices, you can multiplex the CS lines. ... The active pullup circuits are all voer the web, and they're basically all the same. ... I was referring to the longest "point to point" connection. ... My point is I am not intending to daisy-chain peripherals.) ...
    (comp.robotics.misc)
  • Re: why not just say I2C?
    ... Or to put it another way, SPI is to Motorola as I2C is to ... note that "I2C-like" peripherals are in no way guaranteed to be ...
    (comp.arch.embedded)