??? 02/16/06 17:35 Read: times |
#110174 - Answers Responding to: ???'s previous message |
Suresh said:
port pin in this mode is used to switch 'ON' a PNP Tr
example code: clr p1.x We had agreed some weeks ago, that we shouldn't talk about 'modes'. Say instead: "If port is emitting logic low state." Or: "If port output is logic low." Or something similar. Suresh said:
Doubt:
This shows different o/p high voltage rating. i need to know what does this signify in connecting a Transistor(NPN) to it. Can this negative current drive the NPN transistors with presence of external pullups. This negative current means, it's flowing outside of package, right what you need to turn-on a NPN transistor. Unfortunately this output current is not strong enough to fully turn-on a NPN, especially if its load current is rather high. Assume NPN must turn-on a load of 20mA. Then, as base current should be 1/20 of load current, about 1mA should flow into the base of NPN. A standard 80C51 output cannot deliver this current. An additional pull-up is needed. Suresh said:
Logical 0 Input Current(IIL) (Ports 1,2,3) = -50 µA when VIN = 0.45V
I would like to know what the above statement describes, having described the source and sink currents in 1 & 2. It simply means, what it states: If you force the port pin, which was programmed as input by writing '1s' into according SFR, to logic low, then up to 50µA will flow out of the pin. Suresh said:
Logical 1 to 0 Transition Current(ITL) (Ports 1,2,3) = -650 µA when VIN = 2V, VCC = 5V ± 10%
HOw this should be taken care of while connecting the driver circuit to the port. This means, that if you want to force a port pin, which was programmed as input by writing '1s' into according SFR, to logic low, that you must take care that source impedance is not too high. Here, less than 2V / 650µA = ca. 3kOhm. Otherwise the potential at port pin will never fall down to less than 2V, which is needed to detect logic low state. You should read the according 'bible' chapters, to learn how the port topology with its three active pull-ups works. Kai |
Topic | Author | Date |
AT89s52 Port pin clarifications: | 01/01/70 00:00 | |
nice copy, where is the question | 01/01/70 00:00 | |
output characteristics | 01/01/70 00:00 | |
most confusing post | 01/01/70 00:00 | |
Answers | 01/01/70 00:00 | |
Logic 1 to 0 transition | 01/01/70 00:00 | |
You haven't read the 'bible' chapter... | 01/01/70 00:00 | |
no details about transition from logic 1 | 01/01/70 00:00 | |
other way 'round | 01/01/70 00:00 | |
There ARE!! | 01/01/70 00:00 | |
pFET2 | 01/01/70 00:00 | |
Weak and very weak pull-ups | 01/01/70 00:00 | |
maintaining low source impedence? | 01/01/70 00:00 | |
by making thje driver a sink............ | 01/01/70 00:00 | |
Pull-downs create problems | 01/01/70 00:00 | |
Maximum IOL per port pin: 10 mA ? | 01/01/70 00:00 | |
IOL | 01/01/70 00:00 | |
IOL = 10mA or 1.6mA? in port 1 | 01/01/70 00:00 | |
Depends on load | 01/01/70 00:00 |