Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Configuring Edison Arduino Pins for Analog input Ai0

Manish_P_
Beginner
867 Views

I am running an Intel edison arduino board with Yocto, edison updated to libmraa 0.6.0. 

When I try to set up for analog in, I get the error message below.

# echo 214 > /sys/class/gpio/export

sh: write error: No such device

(e.g. as in page 28/section 11.5 of  http://download.intel.com/support/edison/sb/edisonarduino_hg_331191007.pdf)

 I have a 12V 2A supply connected to the system. I have rebooted the board, but the error persists. 

Any suggestions on how to fix this problem?

 

0 Kudos
3 Replies
Manish_P_
Beginner
867 Views

Intel, any solutions to this problem?

 

0 Kudos
rzr
Beginner
867 Views

Isnt GPIO 214 already exported ?

 

can you try to reboot and just ls  /sys/class/gpio/ ?

 

0 Kudos
NagaVenkat_K_Intel
867 Views

Yes as rzr says try reboot the board and check if gpio214 is already exported by using command ls  /sys/class/gpio/.

If it is not found then try to export and # echo 214 > /sys/class/gpio/export and check the result.

0 Kudos
Reply