Skip to content

I2C communication with 4 slave devices. how to get data from specific slave device address in Linux #1

@rajmehta28599

Description

@rajmehta28599

Aim: Read data from 4 slave devices using i2c communication on Linux.

Your contribution very helps full for me. So Thank You for your Contribution.

Issue: I am working with Linux base Board (BeagleBone Black) and 4 VL53L0X sensors as I2C Slave Devices. all 4 sensors have the same slave Address.

so I think Ik can be changed by this line: ioctl(file_i2c, I2C_SLAVE, NEW_ADDR1);

then I want to I2C communication with a specific slave address.

So how to begin the I2C communication with a specific device address.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions