# I2C2 not working with i2cdetect

**URL:** <https://forums.developer.nvidia.com/t/i2c2-not-working-with-i2cdetect/67922>\
**Category:** Jetson TX2\
**Created:** [November 28, 2018, 10:52pm UTC](https://forums.developer.nvidia.com/t/i2c2-not-working-with-i2cdetect/67922 "2018-11-28T22:52:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrestifo](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jrestifo](https://forums.developer.nvidia.com/u/jrestifo)\
**Post date:** [November 28, 2018, 10:52pm UTC](https://forums.developer.nvidia.com/t/i2c2-not-working-with-i2cdetect/67922/1 "2018-11-28T22:52:06Z")

</div>

```auto
nvidia@tegra-ubuntu:~$ sudo i2cdetect -y -r 2
     0 1 2 3 4 5 6 7 8 9 a b c d e f
00: [716.360607] tegra-i2c 3180000.i2c: pio xfer timed out addr: 0x3
[716.367343] tegra-i2c 3180000.i2c: --- register dump for debugging ----
[716.374915] tegra-i2c 31800�rJ2c: I2C_CNFG - 022c00
[716.380666] tegra-i2c 3180000.i2c: I2C_PACKET_TRANSFER_STATUS - 0x10001
[716.388046] tegra-i2� 3180000.i2c: I2C_FIFO_CONTROL - 0xe0
[716.394318] tegra-i2c 3180000.i2c: I2C_FIFO_STATUS - 0x800080
[716.400716] tegra-i2c 3180000.i2c: I2C_INT_MASK - 0x7d
[716.406427] tegra-i2c 3180000.i2c: I2C_INT_STATUS - 0x2
[716.412249] tegra-i2c 3180000.i2c: i2c transfer timed out addr: 0x3
-- [718.416594] tegra-i2c 3180000.i2c: pio xfer timed out addr: 0x4
[718.423858] tegra-i2c 3180000.i2c: --- register dump for debugging ----
[718.431922] tegra-i2c 3180000.i2c: I2C_CNFG - 0x22c00
[718.438038] tegra-i2c 3180000.i2c: I2C_PACKET_TRANSFER_STATUS - 0x10001
[718.445843] tegra-i2c 3180000.i2c: I2C_FIFO_CONTROL - 0xe0
[718.452913] tegra-i2c 3180000.i2c: I2Ce%=}MQQUM�- 0x800080
[718.460321] tegra-i2c 3180000.i2c: I2C_INT_MASK - 0x7d
[718.466416] tegra-i2c 31����rJ�c: I2C_INT_STATUS - 0x2
[718.472615] tegra-i2c 3180000.i2c: i2c transfer timed out addr: 0x4
-- [720.480591] tegra-i2c 3180000.i2c: pio xfer timed out addr: 0x5
[720.488315] tegra-i2c 3180000.i2c: --- register dump for debugging ----
[720.496867] tegra-i2c 3180000.i2c: I2C_CNFG - 0x22c00
[720.503341] tegra-i2c 3180000.i2c: I2C_PACKET_TRANSFER_STATUS - 0x10001
[720.511434] tegra-i2c 3180000.i2c: I2C_FIFO_CONTROL - 0xe0
[720.518404] tegra-i2c 3180000.i2c: I2C_FIFO_STATUS - 0x800080
[720.525333] tegra-i2c 3180000.i2c: I2C_INT_MASK - 0x7d
[720.531691] tegra-i2c 3180000.i2c: I2C_INT_STATUS - 0x2
[720.537965] tegra-i2c 3180000.i2c: i2c transfer timed out addr: 0x5

```

When I try i2cdetect on i2c2 I get these time outs. I2cget and set also time out when trying to talk to my device (a camera from e-consystems).

This is on a custom carrier board. i2c0 works fine, I have a device hooked up there talking. Its this i2c2 that is causing me a problem, and unfortunately it is quite important, as I can’t rewire the connection to the econ camera.

Is there a regulator I have to turn on, or additional dtb node I need to add or something to get i2c2 working?

---

<div class="post-metadata">

**Author:** ![ShaneCCC](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/shaneccc/32/14043_2.png) [@ShaneCCC](https://forums.developer.nvidia.com/u/ShaneCCC)\
**Post date:** [November 29, 2018, 2:42am UTC](https://forums.developer.nvidia.com/t/i2c2-not-working-with-i2cdetect/67922/2 "2018-11-29T02:42:58Z")

</div>

@jrestifo  
You can’t just detect the device from i2c bus without power on the sensor.  
You should contact with e-con to help to know how to power on this sensor.

---

<div class="post-metadata">

**Author:** ![jrestifo](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jrestifo](https://forums.developer.nvidia.com/u/jrestifo)\
**Post date:** [November 29, 2018, 7:45pm UTC](https://forums.developer.nvidia.com/t/i2c2-not-working-with-i2cdetect/67922/3 "2018-11-29T19:45:02Z")

</div>

> [@ShaneCCC](#):
>
> @jrestifo  
> You can’t just detect the device from i2c bus without power on the sensor.  
> You should contact with e-con to help to know how to power on this sensor.

Device is powered. Strange thing is I get the same problem even without the camera connected. I2C2 having time outs. I don’t have this issue in the dev kit. According to the design guide, these have internal pull-ups. So I should be fine without any, right? Just trying to verify if this is a design issue or manufacturing defect. Thanks.
