I2C controller getting timed out

Hi all

I am trying to learn device drivers following tutorials from free-electrons on BBB rev 4C

I followed their tutorial trying to enable i2c1 and connecting it to a Nintendo Nunchuk,

My pinmux configuration

i2c1_pins: pinmux_i2c1_pins {
pinctrl-single,pins = <
0x158 0x32 /* SPI0_D1 */

0x15C 0x32 /* SPI0_CS0 */


I also enabled I2C-1 by

&i2c1 {

pinctrl-names = “default”;
pinctrl-0 = <&i2c1_pins>;

status = “okay”;
clock-frequency = <100000>;

nunchuk: nunchuk@52 {
compatible = “nintendo, nunchuk”;
reg = <0x52>;

While running $i2detect -r 1, I get connection timed out error on the expected address (0x52)

I was using the Nunchuk before, so I believe there is no problem with slave device

Can someone help by pointing out what error I am doing


Hi Deepak,

Did you solve your problem?

Even I am facing same issue, is there any solution you have to solve this issue?

Thanks & regards,