This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I2C & SPI

Hi,

If i have option of using either a I2C or a SPI serial EEPROM with microcontroller then which of these two standards is better one ?

Any suggestion will be appreciated.

Regards,
Dravid.

Parents
  • Hi,

    I would say in part it depends on the micro you are using, for example the ATMEL 89C51RD2 has SPI support so it may make sense to use the built in h/w to tx/rx data, but having said that if you are more familair with I2C then it may be the better choice (especially if you hit problems) and it is not to difficult to write bit bashing routines.
    From what I have read, the programming times for SPI and I2C devices is much the same (at about 5ms) so I dont think that this is the deciding factor but rather you familiarity with the two protocols.

    Mark.

Reply
  • Hi,

    I would say in part it depends on the micro you are using, for example the ATMEL 89C51RD2 has SPI support so it may make sense to use the built in h/w to tx/rx data, but having said that if you are more familair with I2C then it may be the better choice (especially if you hit problems) and it is not to difficult to write bit bashing routines.
    From what I have read, the programming times for SPI and I2C devices is much the same (at about 5ms) so I dont think that this is the deciding factor but rather you familiarity with the two protocols.

    Mark.

Children
No data