This makes it very easy to have all I2C devices on the bus with a unique I2C address. Some devices have fixed I2C addresses while others have few address lines which determine lower bits of the I2C address. Each I2C slave device has a 7-bit address that needs to be unique on the bus. I☬ Addressīasic I2C communication is using transfers of 8 bits or bytes. There are also I2C level shifters that can be used to connect to two I2C buses with different voltages. I2C bus specification describes four operating speed categories for bidirectional data transfer: Standard-mode (Sm)īoth need to be pulled up with a resistor to +Vdd. You only need 2 free I/O pins and few simple i2C routines to send and receive commands. All these simple requirements make it very simple to implement the I2C interface even with cheap microcontrollers that have no special I2C hardware controller. Transfer from and to the master device is serial and it is split into 8-bit packets.
0 Comments
Leave a Reply. |