Hello, I am trying to get the Udoo to talk to my PCA9685 board. I am running Fedora 25 and have the I2C tools and such installed. i2cdetect -y 0 {to 11} doesnt detect the board. I've connect SDA/SCL pins to the following: CN14 - GPIO pins 8 and 9 CN13 - GPIO pins 14 and 15 CN14 - pins 35 and 34 For each connection I ran i2cdetect from 0 to 11. Nothing. I know the PCA9685 board works as I have used it with my Rasberry Pi 3. Any ideas? Thank you, K Murphy
Firstly check that the PCA9685 can accept 1.8v as a HIGH-level input voltage. Secondly you try enabling the kernel driver although from reviewing the driver source it needs to be bound to the correct i2c port which on the rpi is done through the dts file.
Ok. Re-read the docs for the Braswell. So my PCA9685 is a 3.3v device. It looks like I need a bidirectional level shifter. Thats problem 1. Problem 2 is I guess bound the correct i2c port as you mentioned. I don't have a dts file. Kinda at a loss on that part.
You could also try to use the Arduino i2c bus to control your board (with Arduino sketch). That is already 3.3v compliant.
Although that is possible, it does defeat the purpose of the exposing the i2c ports on the x86 side if they can't be used.
According the following section I2C on Braswell is enabled by default through the UEFI/Bios: https://www.udoo.org/docs-x86/Hardware_Reference/Pinout_Braswell.html
[QUOTE="ChaoticMachinery, post: 31152, member: 41485" Problem 2 is I guess bound the correct i2c port as you mentioned. I don't have a dts file. Kinda at a loss on that part.[/QUOTE] There is a ACPI Id "INT3492", that the kernel driver can use to determine if it needs to be activated however I don't think this will set by the BIOS. Anyway once you have the level shifters it should be visible through i2cdetect.
Still bagging my head on this one. I've made sure the kernel has the pinctrl_cherryview module install. Hence: # lsmod | grep cherry pinctrl_cherryview 36864 3 But I have no /sys/class/gpio directory. Any ideas what I am missing? A i2cdetect shows the following: # i2cdetect -y -l i2c-3 i2c i915 gmbus vga I2C adapter i2c-1 i2c Synopsys DesignWare I2C adapter I2C adapter i2c-11 smbus SMBus I801 adapter at 2040 SMBus adapter i2c-8 i2c DPDDC-B I2C adapter i2c-6 i2c i915 gmbus dpb I2C adapter i2c-4 i2c i915 gmbus panel I2C adapter i2c-2 i2c i915 gmbus ssc I2C adapter i2c-0 i2c Synopsys DesignWare I2C adapter I2C adapter i2c-9 i2c DPDDC-C I2C adapter i2c-10 i2c DPDDC-D I2C adapter i2c-7 i2c i915 gmbus dpd I2C adapter i2c-5 i2c i915 gmbus dpc I2C adapter Thank you for any help.