Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

GPIO and I2C with Emdebian

Status
Not open for further replies.

yohanevindra

Newbie level 5
Newbie level 5
Joined
Aug 20, 2009
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Australia
Activity points
1,349
I am using the **broken link removed** which is very similar to the Mini6410 and OK6410 boards.

I created an Emdebian system on the board, using the tutorial given here.

I want to be able to access the GPIO ports, I2C and possibly even the keys. I will be writing my program in C.

How d I access the different ports on the board?

The debian system on the board does not have "/sys/class/gpio" however when looking at the tarball for the kernel, I can see that there is a gpio.h in the include folder and also a gpio.c file in the vendor specific folder. How do I read and write to these GPIO ports and how do I access the I2C system?

If there are any websites or books you can point me to, that even would be much appreciated.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top