??? 11/08/10 20:41 Read: times |
#179518 - many pull-ups Responding to: ???'s previous message |
Karan Verma said: Your software ties it to GND or makes it High Impedance by writing a 0 or a 1. When High Impedance the pull-up can pull it up to 5V. When tied to GND the pull-up loses the fight and it is at 0V.
I will use a 10-K-ohm pull up between the C8051F120(3.6 V) and JHD162A(5 V), to make the pins swing till +5V, i will have to define the pins as Open-Drain. For configuring the output state of a pin, it's PnMDOUT should be cleared and corresponding Port data bit set to 0 to tie it to the ground, or set to 1 to put it in high impedence.
1. How would a pin tied to GND or High Impedence affect it's output state when it is open - drain ? 2. Should a pull up resistor be between, Vcc and input, because if the pin is tied to the GND, how would it work ? 3. Will i have to connect all the 11 lines ( DB0 - DB7 & EN, R/W, RS) to the pull up resistor ? |