??? 02/26/08 12:04 Read: times |
#151480 - ports1-3 vs. port0 Responding to: ???'s previous message |
Lynn Reed said:
The 8051 ports require a peak current of 660uA to force a zero on an input. You can't do that with a 100K series resistor. You need a resistor below 3K to make it work.
Absolutely. Brian, please note that there3 is a huge difference between port0 and port1-3 structure. JW PS. I have encountered a similar design error in a device I inherited and had to write firmware for. The quick-n-dirty fix was to put a short zero pulse on the pin before reading in its status. |