[MinnowBoard] I2C start and stop condition

Jesus Velazquez jjvema at gmail.com
Thu Sep 7 16:19:09 UTC 2017


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 <mcoterot at 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 at lists.elinux.org
> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elinux.org/pipermail/elinux-minnowboard/attachments/20170907/fab82ccc/attachment.html>


More information about the elinux-MinnowBoard mailing list