* Re: PCMCIA polling!?!
@ 2003-06-12 9:15 jmouro
2003-06-12 10:09 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: jmouro @ 2003-06-12 9:15 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: linuxppc-embedded
Hi,
in fact the system I'm working in,
uses the PCMCIA input ports as general purpose input ports.
Some signals are used to configure an Altera FPGA device, and 2 signals =
are connected to a power supply unit(PSU). The PSU must signal the PPC =
when a power fail occurs, and this is done by those 2 signals.
Can the system use edge detection and interrupt capability (on those 2 =
lines - IPA6 IPA7) or shall it perform a polling.
Thanks for your attention
Jo=E3o Mouro
> Dear Jmouro,
>
> in message <5bf7b05c1bab.5c1bab5bf7b0@iol.pt> you wrote:
> >
> > I'm working on a embedded system with a TQM860L, and a I have a
> doubt that perhaps you might answer.
> > I've 2 signals related with system defects (power supply
> defects) connected to PCMCIA channel II (IPBx). Is there a way to
> check if those signals where triggered without polling them? Like
> in interrupt lines? In that way I could
>
> Maybe you can explain what exactly you are trying to do? Actually
> there are 4 voltage detect lines: CBVS1/2 (Voltage Sense 1 and 2) and
> CBBVD1/2 (Battery Voltage Detect 1 and 2). Interrupts can be abled
> individualy for each of the 4 pins in the PCMCIA Interface Enable
> Register.
>
> But normally you don't have to care about this stuff - if you want to
> use a PCMCIA Card with the system the PCMCIA Card Services package
> will handle all such events. PCMCIA Card Service support for the
> TQM8xxL modules / STK8xxL starter kit is ready available - don't
> re-invent the wheel.
>
>
>
> Best regards,
>
> Wolfgang Denk
>
> --
> Software Engineering: Embedded and Realtime Systems, Embedded Linux
> Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
> Overdrawn? But I still have checks left!
>
>
** Sent via the linuxppc-embedded mail list. See =
http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PCMCIA polling!?!
2003-06-12 9:15 PCMCIA polling!?! jmouro
@ 2003-06-12 10:09 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2003-06-12 10:09 UTC (permalink / raw)
To: jmouro; +Cc: linuxppc-embedded
In message <5f23aa5f1089.5f10895f23aa@iol.pt> you wrote:
>
> in fact the system I'm working in,
> uses the PCMCIA input ports as general purpose input ports.
I see.
> Can the system use edge detection and interrupt capability (on those 2 li
> nes - IPA6 IPA7) or shall it perform a polling.
I already answered this question:
> > CBBVD1/2 (Battery Voltage Detect 1 and 2). Interrupts can be abled
> > individualy for each of the 4 pins in the PCMCIA Interface Enable
> > Register.
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
The one who says it cannot be done should never interrupt the one who
is doing it.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* PCMCIA polling!?!
@ 2003-06-11 14:51 jmouro
2003-06-11 20:31 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: jmouro @ 2003-06-11 14:51 UTC (permalink / raw)
To: linuxppc-embedded
Hello,
I'm working on a embedded system with a TQM860L, and a I have a doubt that perhaps you might answer.
I've 2 signals related with system defects (power supply defects) connected to PCMCIA channel II (IPBx). Is there a way to check if those signals where triggered without polling them? Like in interrupt lines? In that way I could
Thanks for your attention.
jmouro
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PCMCIA polling!?!
2003-06-11 14:51 jmouro
@ 2003-06-11 20:31 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2003-06-11 20:31 UTC (permalink / raw)
To: jmouro; +Cc: linuxppc-embedded
Dear Jmouro,
in message <5bf7b05c1bab.5c1bab5bf7b0@iol.pt> you wrote:
>
> I'm working on a embedded system with a TQM860L, and a I have a doubt that perhaps you might answer.
> I've 2 signals related with system defects (power supply defects) connected to PCMCIA channel II (IPBx). Is there a way to check if those signals where triggered without polling them? Like in interrupt lines? In that way I could
Maybe you can explain what exactly you are trying to do? Actually
there are 4 voltage detect lines: CBVS1/2 (Voltage Sense 1 and 2) and
CBBVD1/2 (Battery Voltage Detect 1 and 2). Interrupts can be abled
individualy for each of the 4 pins in the PCMCIA Interface Enable
Register.
But normally you don't have to care about this stuff - if you want to
use a PCMCIA Card with the system the PCMCIA Card Services package
will handle all such events. PCMCIA Card Service support for the
TQM8xxL modules / STK8xxL starter kit is ready available - don't
re-invent the wheel.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
Overdrawn? But I still have checks left!
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-06-12 10:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-12 9:15 PCMCIA polling!?! jmouro
2003-06-12 10:09 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2003-06-11 14:51 jmouro
2003-06-11 20:31 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).