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 Btn I2c and Serial communication

Status
Not open for further replies.

Prabakaran

Full Member level 3
Joined
Jan 22, 2007
Messages
168
Helped
9
Reputation
18
Reaction score
3
Trophy points
1,298
Location
Chennai(India)
Activity points
2,273
i2c is which type of communication?

Hi all,

Can i know what is the Major Difference between I2c and Serial communication. actually both protocols transmitting the data - bit by bit . In serial communication where is the toggling of clock occurring . At what maximum speed does I2c works without dataloss.

Thanks
M.Prabakaran
 

rikie_rizza

Full Member level 6
Joined
Aug 5, 2006
Messages
339
Helped
29
Reputation
58
Reaction score
9
Trophy points
1,298
Location
Bikini Bottom, between a rock and a pineapple
Activity points
3,173
whats faster i2c or serial?

I2C is one of several type of serial communication. There are: SPI, QSPI, Microwire, Maxim's 1-wire, for inter component serial communication or UART type like RS232, USB, Modbus, Ethernet, and so many more for inter system communication.

Depending from the device spec, I2C can communicate up to 40MHz or even more.
 

arnarendra

Junior Member level 2
Joined
Mar 6, 2007
Messages
24
Helped
6
Reputation
12
Reaction score
1
Trophy points
1,283
Activity points
1,449
qspi i2c difference

I just wanted to add one more point to what Rikie has put.
I2C is two wire bus with one clock line (driven by master device) and the other data line (bidirectional)
 

Joined
Sep 3, 2007
Messages
853
Helped
66
Reputation
132
Reaction score
16
Trophy points
1,298
Activity points
0
difference between serial and i2c

I2C is a 2 wired serial bus. Its maximum bandwidth is 0.1 Mbaud/s.
 

alexz

Full Member level 5
Joined
Nov 19, 2004
Messages
283
Helped
6
Reputation
12
Reaction score
3
Trophy points
1,298
Location
UK
Activity points
2,246
max speed i2c clock

The main difference is that I2C devices can be connected in the I2C network, like in CAN unlike other peer-to-peer serial comms (UART,SPI,USB...)
 

yousafzai

Full Member level 5
Joined
Jun 1, 2006
Messages
244
Helped
15
Reputation
30
Reaction score
8
Trophy points
1,298
Activity points
2,295
you can achieve a max speed of 400 kps in i2c. Although there is a more faster version of i2c which is being evolved...
 

adi87

Newbie level 6
Joined
Jan 24, 2007
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
sinusoidal cusp's peak
Activity points
1,350
OK..
i wanna ask tht if i implement an I2C master controller in FPGA with VHDL, how can i determine the speed of the whole thing ??
On wht factors will it depend upon ?? Wil the designing of i2c slave be factor ???
 

sn_burki

Full Member level 5
Joined
Feb 18, 2003
Messages
260
Helped
16
Reputation
32
Reaction score
11
Trophy points
1,298
Location
Pakistan
Activity points
1,623
I think all the friends have already given you answer, I would like to add in simple way that communication of RTC is slower than serial communication. In serial communication you have Rx and Tx on different wires but in RTC you have one wire for both Rx and Tx while the other wire is for clocking or toggling.
 

ldanielrosa

Member level 4
Joined
Feb 24, 2007
Messages
71
Helped
8
Reputation
16
Reaction score
2
Trophy points
1,288
Activity points
1,722
In serial communication where is the toggling of clock occurring

The clock is implied. Both both devices "know" how fast it's supposed to go.


At what maximum speed does I2c works without dataloss

That depends on a lot of things. IIC was designed for several chips in the same device to communicate with each other. The range is fairly short because the power use is low. If you want to use it over long cables, you'll probably have to decrease the speed to allow for parasitic capacitance. 100 or 400 kbps is not the hardline limit, only what was engineered into it. You can go faster if you like, but the available hardware is not guaranteed to work with it.
 

joby16

Member level 3
Joined
Oct 23, 2006
Messages
63
Helped
13
Reputation
26
Reaction score
3
Trophy points
1,288
Activity points
1,615
Hi,

In serial communication (Rs232, RS485 etc.) the data transmission will be in asynchronous format. It can communicate in different buad rates. There should be some error checking methods used for ensuring the accuracy of the received data. It can be used for medium (15ft. RS232) or long (1.2KM RS485) distance communications.
In contrast, the I2C is a synchronous communication protocol invented by Phillips. The specification can be obtained from Phillips website. This protocol is mainly used for small distance(less than 1ft.) applications. It uses only 2 lines called sda & scl. Please refer the I2C specification for complete details.

Regards,
Joby
 

simrantogether

Member level 1
Joined
Sep 11, 2007
Messages
41
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,527
Simple..

I2c means ' Inter Integrated Circuit ' communication...

Serial means just to transfer data serially... Serial transfer can be synchronous or asynchronous ... but I2C always have serial clock line... hence it is always synchronous...

Regards,

Simran..
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top