Explain data transfer mechanism in I2C protocol. Compare it with CAN and USB protocol based on bit rate and area of applications.

1 Answer

Answer :

I2C (Inter-Integrated Circuit):

I2C stands for Inter-Integrated Circuit. I2C is a serial protocol. It was developed by Philips Semiconductor. I2C bus have two communication lines. One is serial data (SDA) line and second is serial clock (SCL) line. I2C is synchronous in nature. The clock signal synchronizes the data transfer. I2C protocol have bidirectional data support. The data can flow in any direction. I2C uses a controller called master which communicate with the slave devices. The devices on I2C bus have different addresses. The serial data (SDA) and serial clock(SCL) are connected to VCC via a pull-up resistor. I2C is used by many integrated circuits. I2C bus can communicate with slow devices and also it have a fast mode. I2C defines the features like addressing, word length, master/slave communication, start/stop condition. All devices in I2C are connected to serial data (SDA) and serial clock (SCL) wires. The terms in I2C are a transmitter, receiver, master, and slave. The transmitter is a device which sends data on I2C bus. The receiver is a device which receives data from I2C bus. The master is a device which starts and stops the data transfer and also generates the clock. The slave is a device which is controlled by the master.  Both master and slave can transmit or receive data. In normal mode, data transfer rate is up to 100 kbits/s and addressing is 7 bit. In fast mode, data transfer rate up to 3.4 Mbits/s and addressing is 10 bit. EPROM, watchdog timers, LCD controller, temperature sensors, and microcontrollers etc. devices are capable of interfacing with I2C bus.

image


Comparision of I2with CAN and USB protocol based on bit rate and area of applications:


Controller Area Network (CAN):

CAN is a serial protocol. CAN stands for Controler Area Network. CAN allow microcontrollers and devices to communicate with each other in applications without host computer. Controller Area Network (CAN) is a message based protocol.CAN is an International Standardization Organization (ISO) defined serial communications bus. CAN originally developed for automotive industry.Data transfer rate of CAN is upto 1 Mbit/s and 11-bit addressing. CAN may use in elevator controllers, medical instruments etc.


Universal Serial Bus (USB):

USB is a serial protocol. USB stands for Universal Serial Bus. USB was designed to control standardize the computer peripherals to the computer. USB is for both communicating and supplying electric power. USB have two data rates one have the speed of 12 Mbps this is used for increased bandwidth devices, and second data rate of USB is 1.5 Mbps this is used for lower speed devices. Using USB we can connect upto 127 devices.

Related questions

Description : Calculate the size of memory address space for a 16 bit data and 20 bit address bus. A) 1 MB B) 2 MB C) 3 MB D) 4 MB

Last Answer : Calculate the size of memory address space for a 16 bit data and 20 bit address bus. A) 1 MB B) 2 MB C) 3 MB D) 4 MB

Description : Mention The Steps In The Interrupt Driven Mode Of Data Transfer.?

Last Answer : Answer :The steps followed in this type of transfer are as follows: The peripheral device would request for an interrupt. The request acknowledgement for the transfer is issued at the end of ... coordinates by the ISS. Again the Interrupt system is enabled and the above steps are repeated.

Description : Explain slotted time quick return mechanism with neat sketch. 

Last Answer : The slotted lever quick return mechanism is illustrated in Figs. a and b The crank AB (of adjustable length R) rotates with a uniform angular speed. The crank pin B is in the shape of a die block ... Fig. (b)) and the return stroke is completed in less time which is proportional to angle β.

Description : Is there an alien contact protocol?

Last Answer : Read the fine print and don’t sign anything without a lawyer present. Oops. You said “Contact.”

Description : How do I recover data from my flash drive?

Last Answer : Is there no way to bend it back? A small screwdriver maybe?

Description : What is the likelihood that a USB drive will be usable after having gone through a wash/dry cycle in the pocket of my jeans?

Last Answer : I had one that did, it was one of the retractable Sandisk kind. Still using it these days.

Description : Why won't my LaCie Rikiki USB 2.0 hard drive work on my MacBook OS X?

Last Answer : XOIIO Is there any way to just get this one to work? I don’t want to have to return it and go looking around for something else.

Description : Is there a way to add a usb port to play mp3's to your car radio without having to install a new one that comes with a usb port?

Last Answer : answer:Yeah, my mom uses something that looks like an audio cassette – let me see if I can find it. link edit: I think that’s what she uses…don’t buy it without making sure it’s what you need, heh.

Description : How can I boot from a thumb drive on the IBM ThinkPad a22m?

Last Answer : you can boot from one or the other. I think bootable usb is easier for many reasons, but the bios has to support it. Google how to create a bootable USB and you will find out how to make one

Description : Went home last night and discovered a recent Windows Update has disabled all my USB port. Anyone know how to correct this?

Last Answer : What KB was installed? you can find it in the system log.

Description : How can I make my own USB login key?

Last Answer : What do you mean by “login key”? Are you trying to make a USB drive that automatically logs you in when you insert it into a USB port? That’s definitely possible but will probably require some programming knowledge.

Description : Can you help me map a MIDI/ASIO controller to keyboard or macro?

Last Answer : Are you wondering if you can control buttons on your DAW or other various programs on your computer?

Description : Is there such a thing as a firewire to USB 2.0 adaptor or converter?

Last Answer : Here is a link for a USB 2.0 card. You can also purchase an adapter, but why not have a few fast ports?

Description : Have you heard about the guy who turned his finger into a flash drive?

Last Answer : I’ll tell ya’ what…I am * NOT* going to share this story with my “geek” husband…That is for sure ;)

Description : How does the USB connection on an MP3 player work?

Last Answer : do you need to download some sort of program?

Description : Does the USB symbol look like a little crop circle to you?

Last Answer : answer:Now you’ve really lost it :P Actually, it never did, but now you mentioned it, it probably will from now on…

Description : How many USB devices can I plug into my desktop before I should consider getting a powered hub?

Last Answer : answer:you are not affecting your CPU in any way the amount of electricity that is available for USB devices to draw varies from computer to computer, but generally speaking, you'll know you need a ... plug in too many devices at once. i'm not sure if windows or linux have similar messages.

Description : How To Make A USB Battery

Last Answer : Do you know that you can change a normal 9V battery into a USB one? Here's how. Materials Needed 5.1V zener diode 330-ohm resistor 9V battery connector 9V battery Soldering gun and iron Female USB ... 5-1 step 5-2 Now, you should have your very own USB battery in those times of emergency.

Description : How to Repair a USB Thumbdrive ?

Last Answer : How to Repair a USB Thumbdrive Computer peripherals that run through the Universal Serial Bus (USB) interface are becoming very popular today. USB is especially popular for portable data storage, thanks ... thumbdrive, recover your data, and not have to spend time and money buying a replacement.

Description : How to Format a USB Memory Key ?

Last Answer : How to Format a USB Memory Key USB ports are not just for storing large amounts of data on a flash disk or an external drive. When your computer fails because of an operating system problem, you ... these steps, you can create a USB memory key that can help you recover from serious system crashes.

Description : Why is there so much outrage over the President's "Starbucks salute". Would it have been better to just ignore the Marine Guard's salute since he had both hands full?

Last Answer : I’m pretty sure the U.S. should tap into its large emergency tissue reserve. I’m thinking that maybe 5–6 boxes per month per citizen might be able to mop up the offense-induced tears.

Description : What are u shaped screwdrivers for?

Last Answer : It could be for either spanner drilled/slotted screw heads

Description : Does it have to be a member of the mansion that start's the celebration for someone else getting there?

Last Answer : No – not at all. Whoever notices first, gets to host the party.

Description : Do some people have more than one account?

Last Answer : HA. i’m so interested to see these responses. let’s hope they’re truthful.

Description : Define following : i. Radix ii. Bit iii. Nibble iv. Byte

Last Answer : i. Radix- the base to a given number system is called as radix.  ii. Bit- Single ‗1‘ or ‗0‘ is called as a bit.  iii. Nibble- a group of 4 bits is called as nibble  iv. Byte- a group of 8 bits is called as a byte.

Description : The number of comparators required in a 4 bit comparator type ADC is (A) 16 (B) 15 (C) 17 (D) 12

Last Answer : The number of comparators required in a 4 bit comparator type ADC is 15

Description : How To Make A String Can Telephone

Last Answer : Materials: 2 tin cans with one hole punched in bottom string Instructions: 1) Prior to the meeting, punch a hole in the bottom of each tin can using a nail and a hammer. 2) Thread string through hole in bottom of can and knot. 3) Pull string taut to ‘talk’ over the telephone.

Description : How To Make A Tin Can Luminaria

Last Answer : The night is dark and lonely. You feel how empty your room really is as you stare outside the window. The lights in your room have always been turned off since you find them rather glaring. You want ... observe how it turns your room into a solemn sanctuary. You can even write a few poems about it.

Description : Awesome Ways To Reuse A Pringles Can

Last Answer : Put all those Pringles cans you've emptied into good use and burn some fat and cholesterol along the way. Below are some things you can do with the long cylindrical shape of a Pringles ... re doing the environment some good by reusing aluminum containers. For some people, that's called sacrifice.

Description : How to Open a Can without a Can Opener

Last Answer : How to Open a Can without a Can Opener You're dying to sink your teeth into those canned peaches, but you find yourself without any can opener. At times like this, many people would easily give up ... you'll soon find yourself enjoying the yummy contents of the can. Be careful not to spill the food!

Description : How to Make a Pinhole Camera from a Can

Last Answer : How to Make a Pinhole Camera from a Can Pinhole cameras are an amazing technology that can be made from the most ordinary materials. It's a light-tight camera with a small hole, where the light can pass ... , use a rubber bank to put over the can's cover or use black electric tape to seal it.

Description : How to Build Pop Can Airplanes

Last Answer : How to Build Pop Can Airplanes Model airplanes look beautiful, but you have to admit they aren't very practical because they can cost a lot of money. If you don't want to buy expensive model airplanes ... model airplane project. Don't let kids play with it, though, since the edges are very sharp!

Description : List at least two examples that show how static electricity can be generated.

Last Answer : Examples of how static electricity can be generated include combing your hair, walking across a carpeted room, or sliding two pieces of plastic across each other.

Description : How to Write a Job Transfer Request ?

Last Answer : How to Write a Job Transfer Request No matter which type of industry you are in, there may come a point in your career when you would not want to settle for the current position that you have at ... push that your boss needs to finally take notice of the work that you have been doing in the past.

Description : Heat Transfer Software

Last Answer : The process of heat transfer is used in many industries - the scientific industry, engineering industry and every industry you can possibly think of that uses thermal heat. Because of this, there is a need ... group, so you won't have to go through the hassle of copying information down for others.

Description : Heat Transfer Machines

Last Answer : Heat transfer machines are just the thing you need in order to do heat transfers on your clothing or whatever surface you want to decorate. In order for you to stick designs and precious stones on porous and ... is best. This will also give you an idea of what kind of designs you can choose from.

Description : Heat Transfer Film

Last Answer : Heat transfers are the newest and most fun way of decorating your clothes, bags and what-not. Heat transfers basically allow you to print out a design and press and stick this onto a given ... sequins, prints or other décor on it already as this might ruin the existing design of the clothing.

Description : Heat Transfer Experiments

Last Answer : Heat transfer experiments are basically experiments that deal with temperature, its characteristics and qualities. Heat transfer experiments are done for many purposes, but mainly to do investigations on the ... three are learned, it helps to have a better understanding of heat transfers as well.

Description : Fuel Transfer Pumps

Last Answer : A fuel transfer pump is used to move fuel from one container to another. These pumps are used to fuel cars, planes, agricultural equipment and other devices. They are typically used to transfer diesel and ... for quicker fueling. These models may cost more, but they will make your job a lot easier.

Description : How to transfer an apartment to a non-residential fund?

Last Answer : Can a private entrepreneur use his apartment as an office? The answer to this question depends on the type of activity. To sew, write poetry, fill out accounting documents, engage in tutoring, write ... is unacceptable. If you are not satisfied with this decision, you can appeal it in court.