I2C adress Jetson AGX Xavier developer kit?

Hi,

Does anybody know the I2C address for the Jetson AGX Xavier developer kit? I can’t find it in the datasheet. Thanks in advance!

Regards,

Teun

You can check device tree to know it.

        aliases {
                serial0 = "/serial@3100000";
                serial1 = "/serial@3110000";
                serial2 = "/serial@c280000";
                serial3 = "/serial@3130000";
                serial4 = "/serial@3140000";
                serial5 = "/serial@3150000";
                serial6 = "/serial@c290000";
                serial7 = "/serial@3170000";
                sdhci3 = "/sdhci@3460000";
                sdhci2 = "/sdhci@3440000";
                sdhci0 = "/sdhci@3400000";
                spi0 = "/spi@3210000";
                spi1 = "/spi@c260000";
                spi2 = "/spi@3230000";
                spi6 = "/spi@3270000";
                spi7 = "/spi@3300000";
                i2c0 = "/i2c@3160000";
                i2c1 = "/i2c@c240000";
                i2c2 = "/i2c@3180000";
                i2c3 = "/i2c@3190000";
                i2c4 = "/bpmp_i2c";
                i2c5 = "/i2c@31b0000";
                i2c6 = "/i2c@31c0000";
                i2c7 = "/i2c@c250000";
                i2c8 = "/i2c@31e0000";
                tegra-camera-rtcpu = "/rtcpu@bc00000";
                rtc0 = "/bpmp_i2c/spmic@3c";
                rtc1 = "/rtc@c2a0000";
        };

Hi thank for the fast response,

What kind of adresses are these? I2C addresses are 7 bit binary numbers or hexadecimal like 0x68. Or am I overlooking something?

What’s kind of address are you looking for?
The address of Jetson as i2c slave device? The check below topic.

I’m looking for the I2C master address of the Jetson AGX Xavier devkit, which is unique for every device. The address is a binary or hexadecimal address. For example; binary; 1001101 or hexadecimal; 0x68. I want to have the Jetson communicate with an MPU9250 gyroscope sensor over I2C, Jetson as the master and the sensor as the slave.

Thanks!

I don’t think i2c master have 7bit address. Only slave device have it as you talk.
I2C master only have bus number for the system identify.

Okay, you may be right. So what do I put at SMBUS in the code here? I2C_SLAVE = 0x68

I2C_SMBUS =

I2C_SMBUS_WRITE = 0

I2C_SMBUS_READ = 1

I2C_SMBUS_BYTE_DATA = 2

Check below to confirm which pin connected to assign the bus number.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.