![]() They use a 7-bit addressing scheme, so up to 128 slaves can be on one I2C bus. Slave devices do have an address, and this address needs to be unique on the bus. The master devices do not have an address assigned to them. There can be more than one master device on the bus but only one can be the active master at any given moment. It requests data from the slaves individually. The Master device controls the bus and supplies the clock signal. There are two types of devices that can be interfaced to the I2C bus – Masters and Slaves. We will discuss this more in a future article when I show you how to interface a Raspberry Pi (3.3-volt logic) with an Arduino Uno (5-volt logic). This difference in supply voltages can cause issues when you are interfacing I2C devices that use different logic levels. It can also be a lower voltage for some high-speed I2C implementations. Note that the supply voltage is not standard, it can be either 3.3 or 5-volts. There are two pull-up resistors attached to each signal line, they pull the bus up to the supply voltage when it is inactive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |