Implementation Guide to the I2C Protocol Summary This document describes the main aspects of the I2C communication with Sensirion's Liquid Flow Sensors and provides instructions on how to implement the protocol on a controller system (master) for the communication with a sensor as the I2C device (slave). I2C is a serial communication protocol, so data is transferred bit by bit along a single wire (the SDA line). Like SPI, I2C is synchronous, so the output of bits is synchronized to the sampling of bits by a clock signal shared between the master and the slave. The clock signal is always controlled by the master. How I2C Works I2C is termed as the abbreviated form of Inter-Integrated Circuit. This is a type of communication bus which is mainly designed and developed to establish inter-chip communication. This protocol is a bus interface connection that is embedded into multiple devices to set up serial connections. The I2C protocol has been established as an official standard, which provides for good compatibility among I2C implementations and good backward compatibility. I2C Signals The I2C Protocol uses only two bi-directional signal lines to communicate with all of the devices on the I2C bus. The two signals used are: x Serial Data Line (SDL) I2C stands for Inter-Integrated Circuit. It is a bus interface connection protocol incorporated into devices for serial communication. It was originally designed by Philips Semiconductor in 1982. Recently, it is a widely used protocol for short-distance communication. It is also known as Two Wired Interface (TWI). I2C is a synchronous protocol that allows a master device to initiate communication with a slave device. Data is exchanged between these devices. Since I2C is synchronous, it has a clock pulse along with the data. RS232 and other asynchronous protocols do not use a clock pulse, but the data must be timed very accurately. • The completely integrated I 2C-bus protocol eliminates the need for address decoders and other 'glue logic'. • The multi-master capability of the I2C-bus allows rapid testing and alignment of end-user equipment via external connections to an assembly-line. • The availability of I2C-bus compatible ICs in a variety of leadless Hardware Communication Protocols: UART, I2C and SPI Electronics (Engn/Phys 208), winter 2019. Last modified: 25 Feb 2019 Serial/UART: What two hardware lines required to implement serial communication? What is synchronous vs. asynchronous communication? What is the data frame? What are the start bit and stop bit used for? What is the purpose of the parity bit? I2C is a serial protocol for a two-wire interface to connect low-speed devices like microcontrollers, EEPROMs, A/D and D/A converters, I/O interfaces, and other similar peripherals in embedded systems. It was invented by Philips and now it is used by almost all major IC manufacturers. AN10216-01 I2C Manual operation well above 100 kHz with the P82B96. The theoretical round-trip delay on 100 m of cable is only approx 1 µs and the maximum allowed delay, assuming zero delays in ICs, is about 3 µs at 100 kHz. The figures for CAN are not quite as conservative; they are the 'often quoted values'. Unfortunatelly the recent I²C-bus Specification, NXP document Version 6.0, 4th of April 2014 is not available for public on the NXP site anymore. It had been located at. If you are lucky to have an NXP account you still can download it right here. Anyway you might find the NXP application note AN10216-01 "I2C MANUAL" q
© 2024 Created by ZOE MOON ASTROLOGY. Powered by
You need to be a member of zoemoon to add comments!
Join zoemoon