Dirk
Dirk

Reputation: 233

Accessing multiple I2C devices

I have multiple I2C devices on my bus and want to access (read or write) them one by one. What is the correct way?

Open and close the bus for each device or keep the bus open and only change the device address for each device?

Upvotes: 0

Views: 1162

Answers (1)

Alexander Amelkin
Alexander Amelkin

Reputation: 778

I believe, there is no point in closing and re-opening the bus driver node for each access. Use the second strategy.

Upvotes: 1

Related Questions