Page 1 of 1

Wiring Pi I2C not working on Nano Pi Neo 2

Posted: Mon Aug 05, 2019 6:16 am
by kishoreS
Hi guys,
I am trying to access the I2C lines using Wiring Pi . I am using Linux kernel version 4.4 , Ubuntu 16.04 LTS on Nano Pi Neo2
I have enabled I2C port 0 using npi-config .
Whenver I run the command sudo gpio load i2c I get the error .

modprobe: FATAL: Module i2c-sunxi not found in directory /lib/modules/4.xx.yy-sunxi64
gpio: Unable to load i2c-sunxi

I have tried i2cdetect -y 0 and it gives me nothing . There is no signal on SCLK lines when seen on the oscilloscope .
What am I doing wrong ? Do I have to recompile the kernel after enabling i2c-sunxi module ?