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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/27/06 17:30
Modified:
  08/27/06 17:36

Read: times


 
#123141 - You should see the connection...
Responding to: ???'s previous message
Ashwin said:
But i don't see the connection, what is that got to do with the code not comming out of the delay loop?

Without pull-ups and with deactivated open-drain outputs (remember, Port 0 does only provide open-drain outputs, but no internal active pull-ups, and can only turn-off the open-drain outputs when emitting high state!) the potential at the column inputs can drift to low state, which would result in a leaving of your scanning routine "KONFIRM_KEY_PRESS", just what you observe... Means, the micro assumes that some key is pressed all the time, although it is not.

What did you write into P0, earlier?

Kai

List of 20 messages in thread
TopicAuthorDate
problem with delays            01/01/70 00:00      
   Omitted pull-ups at Port 0?            01/01/70 00:00      
      No, it's pulled high            01/01/70 00:00      
         You should see the connection...            01/01/70 00:00      
   could it be your approach?            01/01/70 00:00      
   p0 initialised as input port            01/01/70 00:00      
   post the WHOLE code            01/01/70 00:00      
   WHOLE code            01/01/70 00:00      
      Try this            01/01/70 00:00      
   WHOLE code            01/01/70 00:00      
      Assuming that the external pullups are not working            01/01/70 00:00      
         why is the delay not being excecuted?            01/01/70 00:00      
            HOW DO YOU KNOW            01/01/70 00:00      
               Through debugging            01/01/70 00:00      
                  I know nothing about keil debugger            01/01/70 00:00      
                     make code that resembles the flowchart and you wil            01/01/70 00:00      
      whole?            01/01/70 00:00      
         Ashwins stack handling is totally unsuited!            01/01/70 00:00      
      to generate tone of octave(8keys)with 89c51            01/01/70 00:00      
         sandy please start a new thread            01/01/70 00:00      

Back to Subject List