Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Thread Closed: Drifted off-topic

???
05/18/03 21:22
Read: times


 
#45899 - RE: software filtering advice needed
Responding to: ???'s previous message
Wagar:

Listen to what these people are saying. If you use a pin for an input you must write a "1" to it in the port output latch. That subject has been discussed on this forum 100's of times.

I will repeat what the others have said. If you put a '0' in port output latch bit and then try to pull the pin to a high level via some type of external circuit you will damage either one of or both of the microcontroller and the external circuit.

The 8051 type port pins operate in "open-drain" mode. They pull down to low at output time when the software writes '0' to the latch. They go to high at output when software writes a '1' to the latch. The high level is put there by a weak pullup resistor that is on the part. An external circuit can easily pull this resistor to a low level then the pin is being used as a low input. When the pin is to be used as a high input the external circuit can either pull it high OR can disconnect from the pin and let the weak pullup resistor make the pin go high. In this latter mode the external circuit is operating in open-drain mode or open-collector mode just like the 8051 works. Note that PORT 0 of a standard type 8051 does not have these weak pullup resistors on board the chip and so, depending on how you use PORT 0 it may be necessary to add external pullup resistors on the pins of this port to get valid high levels on these pins.

Michael Karas


List of 87 messages in thread
TopicAuthorDate
DMTF and Pulse Dialing            01/01/70 00:00      
   RE: DMTF and Pulse Dialing            01/01/70 00:00      
      RE: DMTF and Pulse Dialing            01/01/70 00:00      
         RE: DMTF and Pulse Dialing            01/01/70 00:00      
            RE: DTMF and Pulse Dialing            01/01/70 00:00      
               RE: DTMF and Pulse Dialing            01/01/70 00:00      
            RE: DMTF and Pulse Dialing -- IJAZ            01/01/70 00:00      
               RE: DMTF and Pulse Dialing -- Dan            01/01/70 00:00      
   Just one small example            01/01/70 00:00      
   RE: DMTF and Pulse Dialing-Waqar            01/01/70 00:00      
   RE: DMTF and Pulse Dialing -- IJAZ            01/01/70 00:00      
      RE: DMTF and Pulse Dialing -- IJAZ            01/01/70 00:00      
         RE: DMTF and Pulse Dialing -- IJAZ            01/01/70 00:00      
   forum people            01/01/70 00:00      
   only steps i need            01/01/70 00:00      
      RE: only steps i need            01/01/70 00:00      
         RE: only steps i need            01/01/70 00:00      
   RE: DMTF and Pulse Dialing            01/01/70 00:00      
   RE: DMTF and Pulse Dialing            01/01/70 00:00      
      really its not happening            01/01/70 00:00      
         RE: really its not happening            01/01/70 00:00      
            My Objective in Clear Words.Hal Albach..            01/01/70 00:00      
         does it work, or not?!?!            01/01/70 00:00      
   RE: DMTF and Pulse Dialing            01/01/70 00:00      
   other things            01/01/70 00:00      
      RE: other things            01/01/70 00:00      
         RE: other things            01/01/70 00:00      
            RE: other things            01/01/70 00:00      
               RE: other things            01/01/70 00:00      
      RE: other things            01/01/70 00:00      
         RE: a suggested condition for Waquar            01/01/70 00:00      
            For Erik Malund            01/01/70 00:00      
               RE: For Erik Malund            01/01/70 00:00      
   People try to understand            01/01/70 00:00      
   people try to understand            01/01/70 00:00      
      RE: people try to understand            01/01/70 00:00      
         RE: Michael            01/01/70 00:00      
      RE: people try to understand            01/01/70 00:00      
         RE: people try to understand            01/01/70 00:00      
            try to read it with soft heart            01/01/70 00:00      
               RE: Software Filter            01/01/70 00:00      
   RE: DMTF and Pulse Dialing            01/01/70 00:00      
      come on iam doing this            01/01/70 00:00      
         RE: come on iam doing this            01/01/70 00:00      
    where are you sir erik malund            01/01/70 00:00      
      RE: where are you sir erik malund            01/01/70 00:00      
   RE: DMTF and Pulse Dialing            01/01/70 00:00      
      RE: DMTF and Pulse Dialing            01/01/70 00:00      
      suggest some thing about this code            01/01/70 00:00      
         RE: suggest some thing about this code            01/01/70 00:00      
         RE: suggest some thing about this code            01/01/70 00:00      
   RE: Kai            01/01/70 00:00      
      RE: Hans / Kai            01/01/70 00:00      
         RE: Hans / Kai            01/01/70 00:00      
            RE: Hans / Kai            01/01/70 00:00      
               RE: Hans / Kai            01/01/70 00:00      
                  RE: Hans / Kai            01/01/70 00:00      
      RE: Kai            01/01/70 00:00      
         RE: Kai            01/01/70 00:00      
            RE: Kai            01/01/70 00:00      
               RE: Waqar            01/01/70 00:00      
         the most helpful one            01/01/70 00:00      
            RE: the most helpful one            01/01/70 00:00      
            RE: the most helpful one            01/01/70 00:00      
   software filtering advice needed            01/01/70 00:00      
      RE: software filtering advice needed            01/01/70 00:00      
         RE: software filtering advice needed            01/01/70 00:00      
            RE: software filtering advice needed            01/01/70 00:00      
      RE: software filtering advice needed            01/01/70 00:00      
         RE: software filtering advice needed            01/01/70 00:00      
            oh sorry michael            01/01/70 00:00      
         something is happening            01/01/70 00:00      
            RE: something is happening            01/01/70 00:00      
               i got the point            01/01/70 00:00      
                  RE: i got the point            01/01/70 00:00      
                     RE: i got the point            01/01/70 00:00      
                         Kai Klaas oscilloscope            01/01/70 00:00      
                           RE: Kai Klaas oscilloscope            01/01/70 00:00      
                           RE: oscilloscope            01/01/70 00:00      
   He's up to his old tricks again            01/01/70 00:00      
      RE: Waquar, Michael            01/01/70 00:00      
         RE: Waquar, Michael            01/01/70 00:00      
            RE: Waquar, Michael            01/01/70 00:00      
               RE: Waquar, Michael            01/01/70 00:00      
         erik malund..what happen to you            01/01/70 00:00      
      Donald Catto think before speaking            01/01/70 00:00      
         RE: Donald Catto think before speaking            01/01/70 00:00      

Back to Subject List