This is a multi-part message in MIME format.
------=_NextPart_000_0006_01C62D84.19AA9320
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi everyone, I am working with a pxa27x and I also have a fpga that =
doing background tasks that could raise an interrupt on a gpio pin of =
the pxa27x. I have implemented the functions for managing the interrupt =
requests. But I am experiencing this problem : my driver's thread =
doesn't get his event signaled when I return the associated sysintr =
with the event in the function BspIntrActiveIrq.
Here's what I do :
- In BspIntrInit I do a mapping of the sysintr with =
OALIntrStaticTranslate( sysintr, sysintr).
- In BspIntrEnableIrq I set the corresponding register of my fpga for =
enabling the interruption and return OAL_INTR_IRQ_UNDEFINED .
- In BspIntrDisableIrq about the same of BspIntrDisableIrq
- In BspIntrActiveIrq I read the the fpga status register to know which =
sysintr to return, clearing the status bit of the gpio and return the =
sysintr.
If you need more details so you can help me out, let me know.
Regards,
Keaven
------=_NextPart_000_0006_01C62D84.19AA9320
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DCourier size=3D1>Hi everyone, I am working with a =
pxa27x and I=20
also have a fpga that doing background tasks that could raise an =
interrupt on a=20
gpio pin of the pxa27x. I have implemented the functions for =
managing the=20
interrupt requests. But I am experiencing this problem : my =
driver's thread=20
doesn't get his event signaled when I return the associated =
sysintr with=20
the event in the function BspIntrActiveIrq.</FONT></DIV>
<DIV><FONT face=3DCourier size=3D1></FONT> </DIV>
<DIV><FONT face=3DCourier size=3D1>Here's what I do :</FONT></DIV>
<DIV><FONT face=3DCourier size=3D1>- In BspIntrInit I do a mapping of =
the sysintr=20
with OALIntrStaticTranslate( sysintr, sysintr).</FONT></DIV>
<DIV><FONT face=3DCourier size=3D1>- In BspIntrEnableIrq I set the =
corresponding=20
register of my fpga for enabling the interruption and return=20
OAL_INTR_IRQ_UNDEFINED .</FONT></DIV>
<DIV><FONT face=3DCourier size=3D1>- In BspIntrDisableIrq about the same =
of=20
BspIntrDisableIrq</FONT></DIV>
<DIV><FONT face=3DCourier size=3D1>- In BspIntrActiveIrq I read the the =
fpga status=20
register to know which sysintr to return, clearing the status bit of the =
gpio=20
and return the sysintr.</FONT></DIV>
<DIV><FONT face=3DCourier size=3D1></FONT> </DIV>
<DIV><FONT face=3DCourier size=3D1>If you need more details so you can =
help me out,=20
let me know.</FONT></DIV>
<DIV><FONT face=3DCourier size=3D1></FONT> </DIV>
<DIV><FONT face=3DCourier size=3D1>Regards,</FONT></DIV>
<DIV><FONT face=3DCourier size=3D1>Keaven</FONT></DIV></BODY></HTML>
------=_NextPart_000_0006_01C62D84.19AA9320--