Hi Mathieu, Yo can check if the PIN number is the correct, according LSE layout ( https://minnowboard.org/minnowboard-max/board-layout ), and your kernel support for GPIOs, too.
Can you to enable another GPIO? P.E. 509 (PIN 26) Regards 2017-09-07 5:48 GMT-05:00 Mathieu COTEROT <mcote...@implantrack.com>: > Hi, > > > I'm currently trying to control a pwm generator through the I2C port. I > get a problem with the start and stop condition of I2C, under Linux OS. > > If I'm correctly understand tutorial , I should modify SDA and SCL port > (as detailed in this tutorial : http://www.robot-electronics.c > o.uk/i2c-tutorial) for initiate a communication with the slave (pwm > generator). > > However, I'm not able to access the I2C port through gpio pin. > > For example, this command : (with root user) > > echo 498 > /sys/class/gpio/export > > Return : > > bash: echo: write error: Invalid argument > > May I misunderstood something ? > > Thanks by advance for your help. > > Regards > > Mathieu > _______________________________________________ > elinux-MinnowBoard mailing list > elinux-MinnowBoard@lists.elinux.org > http://lists.elinux.org/mailman/listinfo/elinux-minnowboard >
_______________________________________________ elinux-MinnowBoard mailing list elinux-MinnowBoard@lists.elinux.org http://lists.elinux.org/mailman/listinfo/elinux-minnowboard