Output of one pin feeding into input of another pin on same Prop - any need for
ElectricAye
Posts: 4,561
Hi,
I'm using one cog to output a signal on pin 15, which I want another cog to read on pin 20. This is my way of using the Propeller to test itself. Question is, do I need to put a resistor between the two pins to limit current? I don't think I do... but rather than unintentionally create a signal smoke generator out of my masterpiece, I thought I'd ask if there's some little known taboo about feeding one pin into another.
Thanks,
Mark
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
It might be the Information Age but the Eon of Ignorance has yet to end.
I'm using one cog to output a signal on pin 15, which I want another cog to read on pin 20. This is my way of using the Propeller to test itself. Question is, do I need to put a resistor between the two pins to limit current? I don't think I do... but rather than unintentionally create a signal smoke generator out of my masterpiece, I thought I'd ask if there's some little known taboo about feeding one pin into another.
Thanks,
Mark
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
It might be the Information Age but the Eon of Ignorance has yet to end.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter, E.I.
www.brilldea.com·- Prop Blade, LED Painter, RGB LEDs, uOLED-IOC, eProto fo SunSPOT, BitScope
www.sxmicro.com - a blog·exploring the SX micro
www.tdswieter.com
You can either trust that the output circuitry on the Prop chip will limit the fault current to something that the Prop chip can sustain without damage or you can put in an external resistor that will limit the current or you can trust that you'll never make a mistake like this in your program.
Post Edited (Mike Green) : 8/21/2008 7:45:59 PM GMT
I guess I'm trying to simulate an incoming signal, so to my mechanically-oriented mind, reading a register... um... uh, is that the same thing as reading a square wave signal from the outside world? I just don't know.
Mike,
Okay, I see the danger now. Best to put in the resistors and play on the safe side.
You guys are great. Thanks very much!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
It might be the Information Age but the Eon of Ignorance has yet to end.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.