Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Differnce Between RS232 And I2c

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
Whats th major difference between I2c And RS232 communication. Both is Serial communication . But in I2c it use SCL and SDA pin . But for RS232 it use Rx Tx & GND. so how the data is shifted serially to COM port.
 

vijaya_narayana

Full Member level 3
Joined
Jun 12, 2007
Messages
172
Helped
11
Reputation
22
Reaction score
1
Trophy points
1,298
Location
India
Activity points
2,158
in rs232 one pin is for transmitting and the other pin is for receiving the data and the gnd is common but in I2C the communication will be made in only one pin that is SDA and SCL is the clock for data clock if u go through the I2C Specifications u will understand it clearly
 

andre_teprom

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,198
Helped
1,142
Reputation
2,303
Reaction score
1,119
Trophy points
1,403
Location
Brazil
Activity points
53,530
I2C, SPI : sincronous ( receiver device need to be externally clocked, 1 master and several slaves )
Serial RS232 : Assincronous ( no clock pin, Both sides transmit and receive data )


+++
 

PaulHolland

Advanced Member level 2
Joined
Jan 15, 2003
Messages
664
Helped
95
Reputation
190
Reaction score
34
Trophy points
1,308
Location
Holland
Activity points
4,841
I2C has one or multiple masters and or one or multiple slaves.
UART (RS232) has only one master DTE and one slave DCE.

I2C is for communication between chips on a board, but UART (RS232) is for communication between devices, like computer and mouse or computer and modem.
 

ship_baba

Member level 4
Joined
Aug 9, 2007
Messages
70
Helped
6
Reputation
12
Reaction score
5
Trophy points
1,288
Activity points
1,592
more over data rate, i2c 400Khz
and uart is more 9200 and more and fast
 

PaulHolland

Advanced Member level 2
Joined
Jan 15, 2003
Messages
664
Helped
95
Reputation
190
Reaction score
34
Trophy points
1,308
Location
Holland
Activity points
4,841
Communication speed is NOT an argument since I2C can work at 4 Mbits/s and RS232 is limited more or less to 1Mbits/s. Bothe I2C and RS232 can work at any speed below the limit.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top