Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
learn:fundamentals:communication-protocols:i2c:start [2016/07/11 20:39] Sam Klearn:fundamentals:communication-protocols:i2c:start [2021/10/14 00:11] (current) Arthur Brown
Line 1: Line 1:
 ====== I²C ====== ====== I²C ======
-Inter-integrated-circuit, more commonly known as I²C (generally pronounced I-squared-C), is a communication style originally developed by Phillips Semiconductor (now NXP Semiconductor). In this protocol, originally intended to be part of the [[http://blog.digilentinc.com/index.php/digilent-pmods-an-introduction/|"Imod Series"]], only two communication pins are used: a serial data line (SDA) which is shared by both the "master" and "slave" devices and a serial clock line (SCK) which the master controls. Both of these lines are natively held in a logic high position through the use of pull-up resistors.+Inter-integrated-circuit, more commonly known as I²C (generally pronounced I-squared-C), is a communication style originally developed by Phillips Semiconductor (now NXP Semiconductor). In this protocol, originally intended to be part of the [[https://digilent.com/blog/digilent-pmods-an-introduction/|"Imod Series"]], only two communication pins are used: a serial data line (SDA) which is shared by both the "master" and "slave" devices and a serial clock line (SCK) which the master controls. Both of these lines are natively held in a logic high position through the use of pull-up resistors.
  
 I²C with its 7 or 10-bit addressing scheme offers the advantage of placing numerous devices on the single data and clock lines. A lone master is then able to start a communication session with a device by issuing a start condition and then submitting the address, as well as an indicator if it wants to read from or write to the device, on the SDA line to all of the listening devices. If the device that the host board is calling is on the line (pun intended), that device will respond with an acknowledge (ACK) bit leaving it to listen for the next command while the rest of the devices wait for another start condition before listening for their address again. I²C with its 7 or 10-bit addressing scheme offers the advantage of placing numerous devices on the single data and clock lines. A lone master is then able to start a communication session with a device by issuing a start condition and then submitting the address, as well as an indicator if it wants to read from or write to the device, on the SDA line to all of the listening devices. If the device that the host board is calling is on the line (pun intended), that device will respond with an acknowledge (ACK) bit leaving it to listen for the next command while the rest of the devices wait for another start condition before listening for their address again.