This is a cache of https://discuss.96boards.org/t/how-to-get-i2c-working-on-hikey/1231. It is a snapshot of the page at 2024-09-19T05:15:59.212+0000.
How to get <strong>i2c</strong> working on hikey - HiKey - 96Boards Forum

How to get i2c working on hikey

Hi,
I want to register my device with i2c-0/1. I connected my device’s sclk and sda lines to i2c0_SCL & i2c0_SDA lines of 40-pin expansion header respectively. But i am not able to read anything from my device. Later i changed these connections to i2c1_SCL & i2c1_SDA. With these settings also i didn’t get any data. Are these lines disabled by default? If so, could someone help me to enable i2c0/1 in hi-key? How to bring up my device with hikey-i2c?

Thanks.

1 Like

i2c on the expansion header are working :grinning: