From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <307507.12667.qm@domain.hid> Date: Mon, 9 Aug 2010 02:54:55 -0700 (PDT) From: Bob Feretich MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1753008490-1281347695=:12667" Subject: [Xenomai-help] Having trouble with a BeagleBoard GPIO interrupt pin Reply-To: bob.feretich@domain.hid List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org --0-1753008490-1281347695=:12667 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I am converting my second driver to RTDM. This one receives a negativing go= ing edge triggered interrupt on GPIO133 of the OMAP3 chip. I have... ret =3D rtdm_irq_request(&adis_data_rdy_irq_handle, irq,=0D =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0=A0=A0=A0 adis_data_rdy_irq_handler,= =0D =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0=A0=A0=A0 RTDM_IRQTYPE_EDGE,=20 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0=A0=A0=A0 "asuspidvr", ctx); then... ret =3D rtdm_irq_enable(&adis_data_rdy_irq_handle); but the interrupt handler is never invoked. cat /proc/xenomai/irq shows: IRQ=A0=A0=A0=A0=A0=A0=A0=A0 CPU0 =A037:=A0=A0=A0=A0=A0=A0 15815=A0=A0=A0=A0=A0=A0=A0=A0 [timer] =A039:=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0 asuspidvr =A048:=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0 asuspidvr =A091:=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0 asuspidvr 293:=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0 asuspidvr 418:=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0 [virtual] IRQ 293 in the interrupt that should be happening. I can see the pulses on the input pin and the non-rt version of the driver = sees the interrupts, so that excludes hardware issues and u-boot pin config= uration issues. Any suggestions? Regards, Bob Feretich --0-1753008490-1281347695=:12667 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
I am converting my second driver to RTDM. Thi= s one receives a negativing going edge triggered interrupt on GPIO133 of th= e OMAP3 chip.

I have...
ret =3D rtdm_irq_request(&adis_data_r= dy_irq_handle, irq,=0D
          = ;         adis_data_rdy_irq_handler,=0D<= br>              &nb= sp;    RTDM_IRQTYPE_EDGE,
      = ;             "asuspidvr"= , ctx);
then...
ret =3D rtdm_irq_enable(&adis_data_rdy_irq_handle= );

but the interrupt handler is never invoked.

cat /proc/xeno= mai/irq shows:
IRQ         CPU0<= br> 37:       15815         [timer]
 39:=            0  &= nbsp;      asuspidvr
 48:   = ;        0     =     asuspidvr
 91:     &nbs= p;     0        = ; asuspidvr
293:         &n= bsp; 0         asuspidvr
418:&nb= sp;          0  &nbs= p;      [virtual]

IRQ 293 in the interrupt = that should be happening.

I can see the pulses on the input pin and = the non-rt version of the driver sees the interrupts, so that excludes hard= ware issues and u-boot pin configuration issues.

Any suggestions?
Regards,
Bob Feretich

--0-1753008490-1281347695=:12667--