??? 01/24/07 02:58 Modified: 01/24/07 03:06 Read: times |
#131344 - Just tie all the SDAs and all the SCLs together Responding to: ???'s previous message |
Shruthi Kumar said:
Hi,
I am using Silabs C8051F310 to communicate with a CODEC through an I2C port. I need to connect another I2C device to the same micro-controller. Please can someone give me some insight into how to connect another I2C device? The devices have different chip addresses. Thanks in advance. Shruthi By definition, I2C is a bus. Thus, you just tie the SDA lines of all the devices on the bus together, and similarly, tie all the SCL lines of the devices on the bus together. So long as you do not violate the specifications of the bus (e.g., have multiple devices with the same address, exceed the capacitive load limit, etc.), things should work nicely. See The I2C-Bus Specification for the comprehensive list of rules. But, barring aggravating, yet still feasible scenarios (multiple masters, devices with different operating voltages on the bus, etc.), it is relatively straightforward. --Sasha Jevtic |
Topic | Author | Date |
How to communcate with 2 devices using C8051F310 | 01/01/70 00:00 | |
Just tie all the SDAs and all the SCLs together | 01/01/70 00:00 | |
By definition | 01/01/70 00:00 | |
Are codec for audio purpose | 01/01/70 00:00 | |
Start with the usual suspects | 01/01/70 00:00 | |
I am using Cirrus CODEC | 01/01/70 00:00 | |
audio CODEC | 01/01/70 00:00 | |
More audio codecs![]() | 01/01/70 00:00 |