Skip to contentSkip to conversation

PCMCIA polling!?!

DISCUSSION [email protected] 2 participants 2 messages Jun 12, 2003

lore
Share & tools
lore
#0 lore raw

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

Quoted 25 lines

Dear Jmouro,

Quoted 2 lines · in message <[email protected]> you wrote:

I'm working on a embedded system with a TQM860L, and a I have a

doubt that perhaps you might answer.

Quoted 1 line

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.

Quoted 10 lines

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] Overdrawn? But I still have checks left!

** Sent via the linuxppc-embedded mail list. See =
http://lists.linuxppc.org/

#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

in fact the system I'm working in,
uses the PCMCIA input ports as general purpose input ports.

I see.

Quoted 2 lines

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:

Quoted 3 lines
Quoted 3 lines

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: [email protected] 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/