In protocols (I2c,SPI,CAN) which one is best?
Answers were Sorted based on User's Feedback
Answer / shivakumar
Controller Area Network (CAN) is the best protocol.
Is This Answer Correct ? | 104 Yes | 7 No |
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 |
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 |
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 |
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 |
What is harmonic distortion?how it minimise?
what is the difference between stack pointer and program counter in 8085 microprocessor
any from electronics proffesional i want to generate 12v automotive voltage regulator in the latest technology plz provide me some technical notes on it.
Lamps in street lighting are all connected in a) Series b) Parallel c) Series parallel d) End to End
9 Answers Indian Ordnance Factory, Indian Railways, JE, NTPC, Ralson, RRB, Steel Plant, Vizag Steel,
Explain the construction and application of a jfet.
I went to Germany for my masters and stayed there for 1.5 months. Due to personal reasons I came back to india and I want to apply for student visa for USA..will there be any issues?
pitch frequency of female?
what is mean by GT?what is the purpose og GT?what is uses of GT?
why we don't use photodiode in forward-bias?
what is the operation involved in tubelight?
0 Answers College School Exams Tests,
being an ece student why you choose a software company?
8 Answers Cognizant, Pluto, Wipro,
Define nyquist criteria.