??? 01/13/07 18:17 Read: times |
#130776 - No, you're wrong ... Responding to: ???'s previous message |
Purushottam Dayama said:
... There are millions of devices working with open collector and/or open drains and port0 is not different. If you have to connect some critical rise time devices then pullup resistor should be lowest possible as per port0 current sinking capacity. A generalization that is not entirely correct. Most micros are TTL compatible and thus can sink about 4.8mA which is required for TTL. Therefore 1Kohm is near resistor. 1.2K better. 4.7K is recommended for rise time upto 300nS which almost all TTL/LSTTL/CMOS devices can tolerate. ... Most micros are NOT TTL compatible. They require more Vih than the Voh that TTL provides. Further, the output current from most "TTL" devices was on the order of 12-16 mA, and Iih was not relevant, since the input is really an emitter. On LSTTL devices the Iih is lower, but still on the order of 0.6 mA. Ioh is still the same, but for LSTTL or TTL was irrelevant since the driven load was an emitter or, at best, a diode pair from a resistor to Vcc. CMOS, OTOH, required essentially no current as either sink or source to drive its inputs, but it does require that the voltage be adequate. Not all micros have a sufficiently high Voh to satisfy CMOS input Vih requirements. Most micros can source at least 0.6 mA, and will sink at least 1.2 mA, but beyond that, you can't make any assumptions. Many can do more, but you've got to read the datasheet to be sure. A lot depends on the specifics of the devices you've chosen to apply. You've got to use data that applies to those particular devices. If you don't you'll be disappointed. RE |