??? 03/30/06 17:18 Read: times |
#113421 - What a shit! Responding to: ???'s previous message |
Prahlad said:
Now I came across this philips appnote,
http://www.standardics.philips.com/support/d...n10184.pdf Hhmmm. Keyboard.C listing of this note tells, that P2.2 and P2.3 are configured as push-pulls. But doing this, then simultaneously pressing K1.0 and K2.0 will short circuit P2.2 by P2.3, or vice versa. This will nicely clean your switch contacts. ;-) What a shit!! How I love these stupid application notes... A much better approach would be to configure P2.2 and P3.2 as quasi-bidirectionals. Prahlad said:
I used these pullup to provide enough current when a contact is read so as to avoid dry contact problem. Are you assumning that the guy who wrote this application note knows what a "dry contact problem" is?? It's true that quasi-bidirectional port topology provides an internal active pull-up, the weak one, which looks like a pull-up resistor of some dozens of kOhm. But this logical 0 input current (when the input gate has skipped), which is only "powered" by the very weak internal active pull-up, is so little (looking like some hundreds of kOhm!), that an old or cheap switch contact can have problems to maintain low impedance. As consequence, the input gate can skip back again, resulting in an oscillation of logical input state... A stable and strong enough external pull-up is definitely the better solution than to trust this weak and very weak internal pull-up. Kai |
Topic | Author | Date |
Pullups for reading marrix keypads. | 01/01/70 00:00 | |
it's a LPC | 01/01/70 00:00 | |
LPC modes. | 01/01/70 00:00 | |
Excellent point, I have, however, not ha | 01/01/70 00:00 | |
No problems != No Bugs. | 01/01/70 00:00 | |
believinf the data sheet | 01/01/70 00:00 | |
Dry Contact is not a condition. | 01/01/70 00:00 | |
Interface Physics | 01/01/70 00:00 | |
Brilliant analysis | 01/01/70 00:00 | |
5µm is better than 1µm | 01/01/70 00:00 | |
What a shit! | 01/01/70 00:00 | |
Maybe ... | 01/01/70 00:00 | |
Maybe ... | 01/01/70 00:00 | |
Poor Appnotes from Philips. | 01/01/70 00:00 | |
true, but not quite![]() | 01/01/70 00:00 |