Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What is the difference between I2C and CAN

Status
Not open for further replies.

elec-eng

Full Member level 5
Joined
Nov 16, 2006
Messages
243
Helped
20
Reputation
40
Reaction score
5
Trophy points
1,298
Activity points
2,926
difference between can and i2c

please i want to know the difference between I2C and CAN

i know that both are used to interconnect microcontrollers

but also both of them has two wires

so what is the difference
 

deepu_ttc

Member level 5
Joined
Jun 10, 2006
Messages
89
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,288
Activity points
1,893
different between i2c,spi and can protocol

both are same method of sending data except CAN is priorty based and it has data read back facility.
--pradeep
 

ariyan

Member level 5
Joined
Aug 24, 2006
Messages
81
Helped
4
Reputation
8
Reaction score
2
Trophy points
1,288
Activity points
1,804
difference between can and i2c ppt

I2C is a simple, well known, universally accepted, cost effective inter IC communication protocol. It has also plug & play feature with large portfolio and but main disadvantage is Limited speed.
Where CAN is a secure and FAST communication protocol. But CAN is expensive and a bit complex protocol. It is mainly automotive oriented with limited portfolio.
 

ShuklaS

Member level 1
Joined
Jul 13, 2005
Messages
34
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,462
difference between i2c and can

hi,
I2c and CAN both are use for serial communication this is only common thing,
the CAN is genraly used for device net (different device at different location)where as the I2c is genraly used in same PCB.
 

nitigon

Member level 1
Joined
Dec 19, 2002
Messages
36
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
125
difference between i2c and can protocols

hi hwo have good book for i2c program for picbasic
 

btbass

Advanced Member level 5
Joined
Jul 20, 2001
Messages
1,897
Helped
438
Reputation
880
Reaction score
287
Trophy points
1,363
Location
Oberon
Activity points
12,863
difference between i2c and ethernet

To use CAN you need a tranceiver to convert the can tx and rx to a terminated low voltage differential signal pair. Termination is 120R at each end of the bus. CAN is a broadcast protocol, all nodes receive all messages. The messages can be filtered and masked by the hardware.
At the transport level it is fairly easy to use. Arbitration, priority, collision detection ect. is all taken care of by the hardware. Messages contain an ID, message type and up to 8 bytes of data.
But on top of this simple message structure have been built some complex and powerfull protocols used by the automotive industry.
 

nitigon

Member level 1
Joined
Dec 19, 2002
Messages
36
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
125
difference between i2c bus and can bus

can i2c communication mcu and mcu
 

kender

Advanced Member level 4
Joined
Jun 19, 2005
Messages
1,422
Helped
138
Reputation
276
Reaction score
39
Trophy points
1,328
Location
Stanford, SF Bay Peninsula, California, Earth, Sol
Activity points
9,968
comparison between i2c and can

nitigon said:
can i2c communication mcu and mcu
That's often, but not always the case. There are some automotive sensors that communicate over CAN. There are Serialli Linked I/O (SLIO) devices that act like ADC, DAC, I/O expanders and PWMs that are linked to the host inteligence via CAN.

Besides, I2C is used to communicate between uCs as well.
 

rachid77

Newbie level 6
Joined
Jun 24, 2006
Messages
11
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,281
Activity points
1,321
diffrence between can and i2c protocal

hello
the first one is for output for signal ana/num
the seconde one is for trensfer for data.
regards.
 

funnynypd

Banned
Joined
May 9, 2007
Messages
437
Helped
48
Reputation
100
Reaction score
25
Trophy points
1,308
Location
USA & Canada
Activity points
0
difference between can bus & i2c bus

One is from Phillips, and one is from BOSCH. Both are European company.
 

mImoto

Full Member level 4
Joined
Feb 21, 2002
Messages
211
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,298
Activity points
1,746
differences between can and i2c

I2c it is mainly for intraboard PCB communication. Micro to I2C ADC, etc.

CAN is for communication between different equipment.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top