zhaolei / WiringOP

This is a GPIO access library for OrangePi. It is based on the original WiringPi for Raspberry Pi.
GNU Lesser General Public License v3.0
353 stars 135 forks source link

I2C Throws Communication Error After Install #12

Closed msi-matthew closed 5 years ago

msi-matthew commented 6 years ago

Before installing Wiring Pi I tested a I2C device and it was working well.

After install I am getting a communication error on send error.

Does something need to be reconfigured on the I2C channel to restore usability?

armen181 commented 6 years ago

Pins don't have ESD protection and it possible to burn I2C pins, can you try reinstall system and check if I2C pins work as before,

msi-matthew commented 6 years ago

Yes. They connect to the device after a clean install.

armen181 commented 6 years ago

In which Orange board you use ? do you use Armbian? and also please check i2cdetect work?

msi-matthew commented 6 years ago

It is an Orange Pi PC Plus.

Running Armbian the i2cdetect never doesn't properly identify the devices.

I'm using an Ubuntu build that is linked from the Orange Pi site, which properly identifies the I2C device, but doesn't work harmoniously with the Wiring port.

armen181 commented 6 years ago

you can try write on Armbian forum, on my side i2cdetect work w/o any problem, and this WirnigOP build too, try old or newer version of Armbian too