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
regards
deepak
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.