Customer Stories
Blog
How to Buy
Contact Us
About Digi
Leadership
Locations
Awards
Export Policy
Environment
Careers
Investor Relations
IoT Products and Services
Embedded Systems
Digi XBee Ecosystem
Digi XBee RF Modules
Digi XBee Cellular Modems
Digi XBee Gateways
Digi XBee Tools
System-on-Modules
Single Board Computers
IoT Development Kits
Networking
Cellular Routers
Gateways
Infrastructure Management
Console Servers
Serial Connectivity
USB Connectivity
IoT Software and Services
Digi Remote Manager
Wireless Design Services
Professional Services
TrustFence Security Framework
Featured
5G
FirstNet
Private LTE/CBRS
Zigbee
USB Over IP/AnywhereUSB
XCTU
Digi TrustFence
/
Built-in security framework for the IoT
SmartSense
Solutions
Solutions by Application
Public Transit
Traffic Management
Remote Worker
Kiosks and Digital Signage
Branch Networking
Positive Train Control (PTC)
More Applications
Solutions by Technology
The Journey to 5G
Cellular Failover
FirstNet
Private LTE Based on CBRS
SD-WAN
Smart Out-of-Band Management
Zigbee Wireless Mesh Networking
More Technologies
Solutions by Industry
Energy
Smart Cities
Medical
Industrial
Retail
Transportation
Resources
Resource Library
Events
Webinars
Videos
Examples and Guides
Project Gallery
More Resources
Recent News
Press Releases
News Coverage
Security Center
Certifications
Support
Support Services
Support Forum
Product Returns (RMA)
Warranty Registration
Expert Support Login
Knowledge Base
Drivers
Firmware Updates
Documentation
Diagnostics, Utilities & MIBS
Embedded Patches
Sample Applications
Search
Remember
Register
Home
/
Support
/
Support Forum
/
GPIO on 9210 EL - looking for steps on how to access GPIO 1 - not visible when using GPIO Module
Digi Forum
All Activity
Q&A
Questions
Hot!
Unanswered
Tags
Categories
Users
Ask a Question
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.
All categories
Digi Remote Manager
(353)
Python
(964)
RF Solutions and XBee
(8,014)
Digi TransPort
(730)
Digi Connect Cellular
(410)
DAL
(2)
Embedded Devices
(4,058)
Android
(42)
NET+OS
(2,420)
Linux
(897)
Windows CE
(84)
Plug N' Play
(462)
Rabbit
(3,144)
Console Servers
(340)
Modbus and Industrial Automation
(235)
Realport
(580)
Serial Servers
(807)
Satellite Modules
(24)
USB
(1,218)
Serial Cards
(712)
ConnectPort Display
(54)
Feedback/Wish List
(86)
Other/Legacy
(332)
GPIO on 9210 EL - looking for steps on how to access GPIO 1 - not visible when using GPIO Module
0
votes
gpio
embedded-linux
asked
May 8, 2018
in
Embedded Devices
by
pernsdorff
New to the Community
(
0
points)
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1 Answer
0
votes
If you can not access the pin it is probably taken by one of the enabled peripherals. In this case problably UART
0CTS UART A
Change your Uart to 2 wire only in kernel config and the pin should become free as GPIO
answered
May 8, 2018
by
LeonidM
Veteran of the Digi Community
(
3,863
points)
Thanks for the info.
I did finally do better reading of the documentation and realized I needed to correctly edit the makedevs.d resources.
I am having trouble trying to find appropriate examples of how to handle a pin to be interrupt driven. How to define the callback function.
There are two ways to work with GPIO
1) using GPIO example app & sample gpio kernel module.
Example app shows how to use interrupts.
2) using sysfs (recommended):
https://elinux.org/EBC_Exercise_11_gpio_Polling_and_Interrupts
With actual C example here:
https://developer.ridgerun.com/wiki/index.php?title=Gpio-int-test.c
Another good article here:
http://derekmolloy.ie/kernel-gpio-programming-buttons-and-leds/#Interrupts
Please
log in
or
register
to add a comment.
...