How to communicate with I2C devices with 2 addresses with the new I2C master driver

brmmm3
Posts: 1
Joined: Sun Feb 16, 2025 9:41 am

How to communicate with I2C devices with 2 addresses with the new I2C master driver

Postby brmmm3 » Sun Feb 16, 2025 9:46 am

Please, can someone post an example code how for setup and communication with I2C devices which have 2 addresses (one for read and one for write) with the new I2C master driver?

MicroController
Posts: 2048
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: How to communicate with I2C devices with 2 addresses with the new I2C master driver

Postby MicroController » Mon Feb 17, 2025 7:36 am

brmmm3 wrote:
Sun Feb 16, 2025 9:46 am
I2C devices which have 2 addresses (one for read and one for write)
Sounds odd. Are you sure that's two addresses and not a single address + R/W bit?
Do you have an example of such a device (datasheet)?

Who is online

Users browsing this forum: Chevelle and 113 guests