GPIO Support on pcm043

Eric Bénard eric at eukrea.com
Fri May 20 09:14:46 EDT 2011


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



More information about the barebox mailing list