Changes

Jump to: navigation, search

Fitlet GPIO SDK for Linux

59 bytes added, 08:54, 26 October 2015
== Installation ==
1. Download the custom kernel image and headers ''<LINK_TO_DEB_FILES_HERE> '' to the fitlet.
2. Open the terminal and install the new linux-*.deb packages:
(based on http://droid/mirror/mediawiki/index.php/CM-iGT:_Linux:_Mint#GPIO)
1. GPIO interface on fitlet consists of 9 I/Os provided by AMD FCH (Fusion Controller Hub)<br>2. The responsible kernel module is '''gpio_fch''' <br>3. The kernel modules uses the following pin naming convention: <br>
P-1, GPIO89
P-11, GPIO12
4. The GPIO sysfs interface allows users to manipulate any GPIO from userspace dynamically. <br>5. A basic example of GPIO usage (as root user): <br>
$ modprobe fch_gpio
$ echo 89 > /sys/class/gpio/unexport
6. The source code of '''gpio_fch ''' driver ''<LINK_TO_DIFF_FILE_HERE>'' <br>7. The GPIO framework and GPIO sysfs interface are documented in Linux Kernel Documentation <br>
1,916
edits