In protocols (I2c,SPI,CAN) which one is best?

Answers were Sorted based on User's Feedback



In protocols (I2c,SPI,CAN) which one is best?..

Answer / shivakumar

CAN is the best protocol.

Is This Answer Correct ?    153 Yes 6 No

In protocols (I2c,SPI,CAN) which one is best?..

Answer / shivakumar

Controller Area Network (CAN) is the best protocol.

Is This Answer Correct ?    104 Yes 7 No

In protocols (I2c,SPI,CAN) which one is best?..

Answer / sudheer thota

Depends on your requirement :)-

we can separate them based on Clock in the following way.
1) I2C & SPI are Synchronous Interfaces & used on PCB
2) CAN is Asyncronus Interface & uses wires for long
distence communications.

Diff B/W I2C & SPI:
1) a)I2C is invented by Philips
b)Invented by Mototola

2) a) Used to interface with Audio/Video Devices as the
philips is expertise.
b) Access High Data trnsmission deives like EEPROMS

3) a) I2C Supports Speed is :100Kbps(Standard)
:400Kbps(Fast)
:3.4Mbps(High Speed)
b) SPI Supports : 3Mbps to 10Mbps

4) a) I2C is multi-master, Address based Communication
b) SPI is Master Slave, With Slave select(SS) based
Communication

5) a) I2C needs 2 pins
b) SPI needs 3+n pins (n is no.of devices)

6) a) I2C supports 127 devices
b) limited by avilable Chip slects

Coming To CAN:

invented by Robert Bosh

supports 127 devices , multimaster , Message based
comminications, Reliable, supports 40kbps to 1Mbps

Is This Answer Correct ?    93 Yes 5 No

In protocols (I2c,SPI,CAN) which one is best?..

Answer / smarty

Sudheer has given good explaination,just to add on it :-
1)I2C is half duplex as there are only two lines(SCL and
SDA).
2)SPI is Full Duplex as between a Master and a dedicated
slave as selected by slave_select signal; there are 4 lines
(Spi_clk,Spi_datain,Spi_dataout and slave_select).So,at any
given time data can be sent and received by the master on
two seperate lines.

Is This Answer Correct ?    43 Yes 1 No

In protocols (I2c,SPI,CAN) which one is best?..

Answer / sudheer thota

yes, still to support my answer.

I2C supports 127(2pow7 - 1) devices in which 16 address are
reserved(8 with 1 and other 8 with 0 mbs).

Hope this calrify the above confusion.

Is This Answer Correct ?    31 Yes 5 No

In protocols (I2c,SPI,CAN) which one is best?..

Answer / sachin

Answer posted by Sudheer is very good and useful but small
correction
I2C supports maz 112 devices and not 127 devices

Is This Answer Correct ?    36 Yes 28 No

Post New Answer

More Electronics Communications Interview Questions

What is a stage?

0 Answers  


Synaptic conduction is mostly orthodromic because

0 Answers   BEL,


what is ISDN 1:2or 1:8 ? what is bandwidth allocation? how to the design small network with 4 router?

0 Answers   CMS,


why the hysteresis is necessary?

0 Answers   Patni, TCS,


send me cutoff of surat nit for m.tech

0 Answers   NIT,






no. of interrupts of 8051 excluding reset.

10 Answers   CBIT, ONGC,


Explain what is a truth table?

0 Answers  


Definition of power electronics?

0 Answers  


draw the fig of bridge rectifier?

0 Answers  


the three lamps are connected in series 40w 60w 100w at 230mains which lamp glow brightly....

6 Answers   IIT,


what is SDH and PDH relate the differences between them?

3 Answers   Ericsson, Tata Teleservices,


How micro processor works without internal memory?

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4452)
  • Electrical Engineering Interview Questions Electrical Engineering (16638)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)