[NUC970/N9H30] GPIO control

Post Reply
pseudonym
Posts: 7
Joined: 25 Mar 2020, 08:31

08 Apr 2020, 08:42

Q: I am trying to access gpio from userspace using /sys/class/gpio entry. But getting following error

Code: Select all

# echo 0 > /sys/class/gpio/export
Please Check GPIOA00's multi-function = 0x2 
sh: write error: Invalid argument
# echo 1 > /sys/class/gpio/export
Please Check GPIOA01's multi-function = 0x2 
sh: write error: Invalid argument
A: It's because PA0 and PA1 is configured as LCD pin (multi-function = 0x2) in kernel configuration, not GPIO.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests