Abstract
Table B-1 provides the I/O mappings and Muxing for Intel Galileo Gen 2. This table was created by Emutex, one of Intel's partners (see www.emutexlabs.com).
You have full access to this open access chapter, Download chapter PDF
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
Table B-1 provides the I/O mappings and Muxing for Intel Galileo Gen 2. This table was created by Emutex, one of Intel's partners (see www.emutexlabs.com).
The follow are acronyms listed in the column “Pin Mux 1 GPIO” and “Pin Mux 2 GPIO” of table B-1 means:
-
L: GPIO configured as OUPUT and level LOW (0)
-
H: GPIO configured as OUTPUT and level HIGH (1)
The following are acronyms listed in the column “Interrupt Modes” of Table B-1:
-
L: low-level
-
H: high-level
-
R: rising-edge
-
F: falling-edge
-
B: both edges
The following commands demonstrated some examples how to use the table using Linux terminal shell:
-
Setting IO1 as GPIO output:
echo -n "28" > /sys/class/gpio/export
echo -n "29" > /sys/class/gpio/export
echo -n "12" > /sys/class/gpio/export
echo 0 > /sys/class/gpio/gpio28/value
echo 0 > /sys/class/gpio/gpio29/value
echo out > /sys/class/gpio/gpio12/direction
echo 0 > /sys/class/gpio/gpio12/value # will set OUTPUT as LOW
echo 1 > /sys/class/gpio/gpio12/value # will set OUTPUT as HIGH
-
Setting IO1 as GPIO input (no pull-up):
echo -n "28" > /sys/class/gpio/export
echo -n "29" > /sys/class/gpio/export
echo -n "12" > /sys/class/gpio/export
echo -n "45" > /sys/class/gpio/export
echo 0 > /sys/class/gpio/gpio45/value
echo 1 > /sys/class/gpio/gpio28/value
echo 0 > /sys/class/gpio/gpio29/value
echo 12 > /sys/class/gpio/export
echo in > /sys/class/gpio/gpio12/direction
cat /sys/class/gpio/gpio12/value
-
Setting IO1 as GPIO input (with pull-up):
echo -n "29" > /sys/class/gpio/export
echo -n "12" > /sys/class/gpio/export
echo 1 > /sys/class/gpio/gpio29/value
cat /sys/class/gpio/gpio12/value
Author information
Authors and Affiliations
Rights and permissions
Open Access This chapter is licensed under the terms of the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License (http://creativecommons.org/licenses/by-nc-nd/4.0/), which permits any noncommercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this chapter or parts of it.
The images or other third party material in this chapter are included in the chapter’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the chapter’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.
Copyright information
© 2014 Manoel Carlos Ramon
About this chapter
Cite this chapter
Ramon, M.C. (2014). Intel Galileo Gen 2 I/O and Muxing. In: Intel® Galileo and Intel® Galileo Gen 2. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6838-3_14
Download citation
DOI: https://doi.org/10.1007/978-1-4302-6838-3_14
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-6839-0
Online ISBN: 978-1-4302-6838-3
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)