From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Reitinger, Peter" <preitinger@carl-valentin.de>,
"xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] SPI tx underflow interrupt not available
Date: Tue, 26 Aug 2014 22:29:33 +0200 [thread overview]
Message-ID: <53FCEE2D.20903@xenomai.org> (raw)
In-Reply-To: <c5ed31c30d6a4dcb92fb91e183b38db0@CVEX13.valentin-carl.de>
On 08/26/2014 04:24 PM, Reitinger, Peter wrote:
> Dear Xenomai people,
>
>
> I am currently trying to write an SPI slave rtdm driver with fifo and dma support. I would like to receive an interrupt if there is an underflow in the tx fifo.
>
> Therefore I try to request the related hardware interrupt (which is irq 125 at my emtrion board which has EDMA and 2 McSPI interfaces where I am trying McSPI1).
Are you sure the irq number is 125? If 125 is a "physical" irq number,
it is almost probably not the number you should pass to
rtdm_irq_request. Have you tried requesting it as a Linux interrupt?
>
> Unfortunately it seems that interrupt 125 is reserved by another linux
driver because a list of /proc/irq/125 shows:
>
> root@dimm-am335x:/proc# ls /proc/irq/125
> 53100000.sham spurious
Have you tried grepping "sham" in the kernel sources?
--
Gilles.
next prev parent reply other threads:[~2014-08-26 20:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-26 14:24 [Xenomai] SPI tx underflow interrupt not available Reitinger, Peter
2014-08-26 20:29 ` Gilles Chanteperdrix [this message]
[not found] <mailman.981.1409108395.5713.xenomai@xenomai.org>
2014-08-27 7:48 ` Reitinger, Peter
2014-08-27 7:58 ` Gilles Chanteperdrix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53FCEE2D.20903@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=preitinger@carl-valentin.de \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.