PINE64

Full Version: Connect i2c under Remix OS
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi everyone. Could you tell me how can I connect i2c device to pine64 under Remix OS. I plugged pins to pi-2 connector of pine64

Vin -> Pin1 (Vdd)
GND -> Pin6 (Gnd)
SDA -> Pin3 (SDA)
SCL -> Pin5 (SCL)

Wrote some app on Android to detect I2C device, it shows no devices, moreover my i2c device has led which is on when the vdd is plugged, i see that led is off.

I've attached the picture where you can see how my device plugged and its state (led is off)

link
(05-07-2016, 06:03 AM)IlyaM Wrote: [ -> ]Wrote some app on Android to detect I2C device, it shows no devices,

As expected, Allwinner forgot to enable the necessary kernel config bits. I2C in Android/RemixOS can't work.
Hmmm....
Thanks for your reply!
Is there any way how to include I2C in kernel? Maybe rebuild it? You share the link where can I find this config file. Thanks in advance

p.s.: I was wrong, the power pin from pi-2 is working, my device (BMP180) doesn't have a led (forgot about it), so I attached it to +5v of pi-2 and GND of pi-2 and screened logs from arduino (where I use 2 pins of i2c)