LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Hardware > Linux - Embedded
User Name
Password
Linux - Embedded This forum is for the discussion of Linux and embedded devices.

Notices

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools Search this Thread
Old 06-11-2009, 04:16 AM   #1
maus
LQ Newbie
 
Registered: Jun 2009
Posts: 14
Thanked: 0
Receive IRQ from a GPIO pin


[Log in to get rid of this advertisement]
Hi,

I'm currently developing on a DMP Vortex86DX cpu board. My next aim is to receive and handle an interrupt if there are new signals from certain GPIO Ports.

The Board is using two 8259 compatible interrupt controllers. In the BIOS I can switch the pins from
GPIO to 8051 PO mode.

My questions:
- How to assign an IRQ in my Linux device driver to a single i/o pin?
- Do I have to program (somehow) the 8259 interrupt controller in order to route an interrupt to a single pin or a bank of pins?
- Do I have to set the pins into 8051 PO mode?
- In General: Does Linux reserves all IRQs for its self on the 8259 and dispatch them to the several device drivers instances?
- How much depends this task on the used hardware. Means: Do I need a solder gun?

thanks for your help.
maus is offline  
Tag This Post , , ,
Reply With Quote
Old 06-22-2009, 11:02 AM   #2
maus
LQ Newbie
 
Registered: Jun 2009
Posts: 14
Thanked: 0

Original Poster
I received an answer from the Vortex producer DMP. The are currently selling Vortex86DX CPUs which are not equiped with IRQs to the GPIOs.
Even if this feature has been advertised for the DX SOC processor since long time, it won't be available for cpus delivered before the fourth quarter of this year.

They are advertising features which aren't implemented currently. "Hope" seems to be still a good sales argument.

Last edited by maus; 06-22-2009 at 11:04 AM..
maus is offline     Reply With Quote

Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using GPIO (from kernel GPIO support) in MY application DannyGilbert Linux - Kernel 2 03-16-2009 08:52 AM
gpio board FrollyC Linux - General 4 02-09-2008 09:38 AM
CPU 12-V power supply: 4-pin or 8-pin? michapma Linux - Hardware 3 07-23-2007 11:13 AM
Gpio rash_f Linux - Newbie 1 08-31-2006 02:14 PM
SCSI Errors when IRQ Shared - How do I not share IRQ MQMan Linux - Hardware 2 01-09-2006 12:42 AM


All times are GMT -5. The time now is 05:51 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration