Re: a basics question: using input pins, pullup, short to ground vs driven signal.



On Apr 28, 8:46 pm, Muzaffer Kal <k...@xxxxxxxxx> wrote:
On Tue, 28 Apr 2009 17:30:35 -0700 (PDT), jleslie48



<j...@xxxxxxxxxxxxxxxxxx> wrote:
My question is if I want to take my driven output and run it around as
an input signal, how do I do that?

Are you saying you want to connect an output pin to an input pin and
leave the pushbutton connected so that either can drive the input?

Make the output pin so called "open collector" that only drives low and
floats high.

outputpin <= '0' when mysignal = '0' else 'Z;

-Jeff

the part that confuses me, is the 3.3 volts that I see sitting on the
input pin when its not tied to ground. how can I send "in" from the
external wire 3.3 volts when it already has 3.3 volts on it?

If you consider that there is always a connection to the input pin, I
think it would clear up your issue. If you have a pull-up with 3.3V
and the input agrees with it, you are sending in a high signal. If
your external driver disagrees with the pull-up and drives a 0, you're
sending in a low signal. If you had a 3rd state where you didn't know
if a driver is connected then you might need another signal to detect
if there is a driver or only if the pull-up is connected but I don't
think that's your configuration (actually even in that case, with a
true tri-state IO you can detect if a driver is "driving" or not).
Does that help?
--
Muzaffer Kal

DSPIA INC.
ASIC/FPGA Design Services

http://www.dspia.com

ahh! so if I connect these two wires, the input (at a steady 3.3
volts) and the other wire (that changes between 0 and 3.3 volts) that
is a normal thing to do. When both wires are at 3.3 volts I'll get one
signal on the input pin, and when one is at 3.3 (the input pin) and
what its connected to is at 0 volts (the external wire) the external
wire acts just like the closing the switch scenario aka, connecting
the pin to ground, and thus changes the state on the input pin from 0
to 1 (or 1 to 0, whatever.) It that how it works?

.



Relevant Pages

  • Re: custom renderer fails to connect
    ... Your filter is rejecting the connection, most likely somewhere in the media ... Offer media type to input pin ... Ask if the input pin has an allocator - GetAllocator ... when connecting the pins so that in the renderer you only see the types ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: DXVA question
    ... querying the renderer's input pin for a list of supported ... DXVA media subtypes during the pin connection negotiation ... decoder and renderer. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Ive set MEDIATYPE_Video, but renderer always reject?
    ... it always pops-up "These filters cannot agree on a connection. ... type compatibility of input pin and output pin." ... A good idea in situations like this is to find a filter that connects ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Frank van Alstine putz putz putz
    ... >> of course, who are used to 230 volts domestic mains, and 480 volt ... > Dryers and stoves in the US are four wire, ... One, and only one, connection is ... Stewart Pinkerton | Music is Art - Audio is Engineering ...
    (rec.audio.tubes)
  • Re: Frank van Alstine putz putz putz
    ... > of course, who are used to 230 volts domestic mains, and 480 volt ... Dryers and stoves in the US are four wire, ... One, and only one, connection is ... although UK practice is different from US practice in some ways. ...
    (rec.audio.tubes)