Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 9 months ago.
How can I do if I connect 2 or more device on one I2C port on mbed?
How can I do if I connect 2 or more device on one I2C port? Because different thread should access the I2C at the same time. Thanks
1 Answer
9 years, 9 months ago.
You can not access two devices on one I2C port at the same time. There are two solutions for this problem. 1. Use two I2C ports and connect two devices to different ports. 2. Use two devices in arbitrated fashon, like round-robin scheduling.