I dont understand this...
Lee Marshall
Posts: 106
Hi, i was just looking over the datasheet for the propeller, and i cant understand the alternate serial port connection. specifically DTR to RESn.
as i understand it:
DTR 1 = -10v
DTR 0 = 10v
Maximum voltage on all pins with respect to VSS: VDD+0.3v
the capacitor there would mean that a voltage swing of +-20v would be created.
i simulated this in ktechlab, just to make sure i hadnt missed anything(im 15, i miss a lot)
would this not kill the micro?
as i understand it:
DTR 1 = -10v
DTR 0 = 10v
Maximum voltage on all pins with respect to VSS: VDD+0.3v
the capacitor there would mean that a voltage swing of +-20v would be created.
i simulated this in ktechlab, just to make sure i hadnt missed anything(im 15, i miss a lot)
would this not kill the micro?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Post Edited (Paul Baker (Parallax)) : 7/26/2007 10:13:00 PM GMT
You're right that it would kill the micro if it were connected directly and if it could supply enough current. Trouble is there is a capacitor in the way plus all RS-232 drivers are current limited by an internal 300R resistor. So there would be a little current when the dtr level changed but that would be clamped by the internal diode structure which can handle that current especially for a short period.
Trouble with simulations is that you need an accurate model. Hooking up -10v is not an accurate representation of an RS-232 driver.
*Peter*
also i think i read somewhere that you can hook up a 5v input to an input pin, as long as you use a 1k resistor or something.
is this true?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Z80 Rocks!
In a world without walls and fences, who needs windows and gates?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Please read the last thread at top of the forum in darker blue titled
HOW TO SAFELY INTERFACE A 5V SIGNAL TO THE PROPELLER?
for a fairly complete discussion on the 'interfacing' concerns. Yes, it's several pages long, but worth reading once at least.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
h.a.s. designn
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
E3 = Thought
http://folding.stanford.edu/·- Donating some CPU/GPU downtime just might lead to a cure for cancer! My team stats.