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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/04/09 20:39
Read: times


 
#168732 - /INT0 : write 1 to config as i/p pin ?
Responding to: ???'s previous message
Hi All,

Thanks for the reply, but I guess I need still more guidance

http://www.keil.com/dd/docs/d...v51rd2.pdf

Page:8; Table:3; Row:2
Port 3 is an 8-bit bidirectional I/O port with
internal pull-ups. Port 3 pins are pulled HIGH by the
internal pull-ups when ‘1’s are written to them and can
be used as inputs in this state. As inputs, Port 3 pins that
are externally pulled LOW will source current (IIL)
because of the internal pull-ups.

Does it mean that I should write 1 to /INT0, so that it can be used as input port, for reading PIR module correctly...

My issue is that interrupt is being called randomely, even when PIR module shows no activity (PIR tested OK); in other words P89V51RD2 wakes up even when its suppose to be sleeping.

List of 7 messages in thread
TopicAuthorDate
Is pull-up needed for INT0 / INT1            01/01/70 00:00      
   Is the PIR output open collector?            01/01/70 00:00      
      PIR is inverted using a BC547            01/01/70 00:00      
         Use a base-emitter resistor            01/01/70 00:00      
   /INT0 : write 1 to config as i/p pin ?            01/01/70 00:00      
      Of course you should be an input            01/01/70 00:00      
         Don't think that way!            01/01/70 00:00      

Back to Subject List