From: Steven Brydon <steven.brydon@vi...> - 2006-04-26 22:28:11
Does anyone know what the following message means?
"Can't set the level of a GPIO line which is not in GPIO OUT mode"
I get this message when I:
echo "AF1 out set" > /proc/gpio/GPIO48
echo "AF1 in set" > /proc/gpio/GPIO49
*Steven Brydon* - Application Developer
Virtual Spectator International
Mob: +64 29 712 1790
Ph: +64 9 913 6890
Fax: +64 9 913 6899
* Notice of confidentiality: * This communication contains information
that is confidential and may
also be privileged. It is for the exclusive use of the intended
recipient. If you are not the
intended recipient, please note that any form of distribution, copying
or use of this or the
information in it is strictly prohibited. If you have received this
communication in error
please delete the email and all other electronic or hard copies of it.
From: Dave Hylands <dhylands@gm...> - 2006-04-26 22:41:51
> I get this message when I:
> echo "AF1 out set" > /proc/gpio/GPIO48
> echo "AF1 in set" > /proc/gpio/GPIO49
You can't specify "set" in conjunction with AF1 or AF2, only with GPIO.
i.e. here are some valid combinations:
echo "GPIO out set" > /proc/gpio/GPIO48
echo "GPIO out clear" > /proc/gpio/GPIO48
echo "GPIO in" > /proc/gpio/GPIO48
echo "AF1 out" > /proc/gpio/GPIO48
echo "AF1 in" > /proc/gpio/GPIO49
Vancouver, BC, Canada