Re: GPIO Support on pcm043

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tim,

On 20/05/2011 14:07, Tim Sander wrote:
I just tried (for i in `seq 0 96`)
gpio_set_direction $i 1
and
gpio_set_direction $i 0

on a barebox for pcm043 with gpio support compiled in.
But no LED was lighting up.

Is there some obvious error on my side or is there no gpio
support for pcm043? At least there seems to be support for
the gpio ports on imx?

Any hints?

you first need to configure the mux of the pins to GPIO mode, then you can use them as gpio.

Eric

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux