Port, Interface and Protocols Confused

Status
Not open for further replies.

tahir4awan

Full Member level 4
Joined
Nov 29, 2010
Messages
208
Helped
16
Reputation
32
Reaction score
17
Trophy points
1,308
Location
Germany
Activity points
3,084
I am confused between interface and port. Suppose USB which is taken as both port and protocol. Now a new term comes interface. See the table in the picture there are different interfaces comparison.
If interface is a physical term then how can I2C and SPI be interfaces? Because these are serial protocols.

The other confusion about RS232. Is it a port or a protocol? Because in PC it is taken as RS232 port but it also used as protocols.

Can someone list types of ports and protocols.
 

Attachments

  • table.JPG
    54.4 KB · Views: 71



Hi Dear,

Your question is valid. I would like clear your doubt.

Protocol : Protocol is rules and regulation or grammar to implement something. protocol is actual format for transmission and reception.
I would like to give one example to you. English is language. grammar is protocol, which defined the actual implementation of English language.

Port is physical term mean with connector and pins. (It can be male or female)

Interface : Interface is media though which communication happens. It may be two wire, 4 wire, or wire less. Interface mean joining or connection of two different things(can be device or other things).

So USB, RS232 is defined protocol. It describe everything to implement it.

A ||-------------|| B 001100110011

Here is A and B is device
|| is PORT
-------------- is interface.
and 001100110011 is protocol.

Thanks,
kapilddit->Bangalore
for more query you can write @kapilddit@gmail.com
 
Thanks for such a great explanation.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…