SPI vs I2C


Closed Thread
Results 1 to 2 of 2

Thread: SPI vs I2C

  1. #1

    Default SPI vs I2C

    Whats better to use with a PIC? I have been using a STAMP and two-axis MEMSIC accel that uses PWM. Now I am updating hardware to a PIC and all three-axis accels I find are either SPI, I2C or analogue out. I am familiar with doing the A2D. I am not familiar with either SPU or I2C. Any input/suggestions are greatly appreciated.
    Thanks
    Toby

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    I2C use 2 I/O, use the sensor resolution
    SPI use 3,4 I/O, use the sensor resolution
    ADC 1 I/0 10 bit resolution MAX

    It's up to you, it's only different way. Tell us more about your whole hardware. Maybe there's some advantage to prefer SPI, I2C or A/D.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. I2C Master/Slave 16F88/16F767 working code
    By DanPBP in forum Code Examples
    Replies: 2
    Last Post: - 23rd October 2012, 22:31
  2. HARDWARE I2C SAMPLE CODE question
    By Michael Wakileh in forum Code Examples
    Replies: 2
    Last Post: - 16th June 2009, 21:07
  3. I2C Master Slave issues.
    By cpayne in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 29th March 2008, 19:33
  4. Please help with i2cslave i2c slave
    By cycle_girl in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 1st December 2005, 13:55
  5. help about f57 i2c spi
    By fumac in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 1st November 2005, 16:05

Members who have read this thread : 2

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts