Joachim Franek wrote:
> Hello.
>
> Where is the information about the pin
> multiplexing? 
>
>   
It is all described in the 1700 (!!) page manual on the chip, which is 
linked
to from the beagle Board site.  But, it is a poorly indexed manual, and
will drive you nuts.  Also, you have to work around random GPIO
pads on the ports that are used for important system functions.  If
you alter the settings for one of those pads, the beagle crashes.

Here is a short TCP server program that initializes a bunch of pins
of GPIO 5 as needed, then binds a TCP service to port 2020, and
when it gets a packet, it does some I/O to the GPIO pins to control
an attached device.  Perhaps the way it configures and accesses the
GPIO from user space may be helpful.  This program is owned
by root and has the s privilege bit set with chmod so it can access
the I/O space.
http://pico-systems.com/codes/server.c

Jon

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to