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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/28/08 15:14
Read: times


 
#151598 - one simple way
Responding to: ???'s previous message
That would imply that once the '1' is established, the strong pull-up is not reactivated if the pin is pulled low externally.
correct
If you look in "the bible" you will see that the "strong pull-up (P1)" is operated from the port latch. Whatever external sources do to the pin does not affect the port latch.

For purposes of input to a port there is one simple way to do it" "always make port pin input happen from a push-pull CMOS source" e.g. HC/HCT, memory, FPGA ...

I would revise the design so that the speed sensor was connected to the input of a schmitt trigger (e.g. HC14 [two in a row?]) because
a) the HC(T) chips can take a lot more abuse (+-20mA) than a uC pin.
b) you will have the noise resistance of a schmitt where the uC has none
c) a RC filter to a schmitt input is stable, to an uC input it is questionable
d) the characteristics of a HC(T) input are well specified (1uA max), the characteristics for input use of a quasi-bidirectional port are, at best, fuzzy. One example: what happens if your input is held low by some undercharacterized device and the pulsed strong pullup blows the "undercharacterized device".

just a footnote which may and may not apply to your chip:
I got 'caught' by a derivative that did not have the "pulsed strong pullup" and had to add external pullups to get a reasonable response for a port that had to be quasi-bidirectional (the excuse for no starng pullup was that the port in question could be configured as push-pull)

Erik

List of 40 messages in thread
TopicAuthorDate
P3.5 input problem            01/01/70 00:00      
   100k is way too large            01/01/70 00:00      
      Yup            01/01/70 00:00      
      ports1-3 vs. port0            01/01/70 00:00      
      a small correction            01/01/70 00:00      
   Page 4 datasheet says            01/01/70 00:00      
      Calculating the maximum resistor            01/01/70 00:00      
         Calculating the ...            01/01/70 00:00      
   80uA is not a maximum specification            01/01/70 00:00      
      re:resistor            01/01/70 00:00      
   Resistor            01/01/70 00:00      
      I would not            01/01/70 00:00      
         Resistor            01/01/70 00:00      
            Resistor ... again ...            01/01/70 00:00      
      basic troubleshooting first            01/01/70 00:00      
         the sensor and its application            01/01/70 00:00      
            Oh, max frequency is ~4kHz :-)            01/01/70 00:00      
         Please ignore the "basic troubleshooting"            01/01/70 00:00      
         pray tell why            01/01/70 00:00      
            Capacitance problems ...            01/01/70 00:00      
   You have totally misunderstood the situation            01/01/70 00:00      
      thank you Kai            01/01/70 00:00      
         maybe it is            01/01/70 00:00      
            Link in original post            01/01/70 00:00      
            datasheet            01/01/70 00:00      
         Being paranoid is a good attitude...            01/01/70 00:00      
            Paranoia medicine            01/01/70 00:00      
               Yes, perfect, i also thought about this...            01/01/70 00:00      
                  the "industrial strength" 485 transciever            01/01/70 00:00      
                     But they gaurantee this            01/01/70 00:00      
      But the micro port shouldn't be driving anything            01/01/70 00:00      
         Missing the boat.            01/01/70 00:00      
            Waving at the boat.....            01/01/70 00:00      
               wrong place (in some instances)            01/01/70 00:00      
            More about the P3.5 pull-up issue            01/01/70 00:00      
               one simple way            01/01/70 00:00      
               AT89S8252            01/01/70 00:00      
         Please read this...            01/01/70 00:00      
   ABS & Safety            01/01/70 00:00      
      safety concerns            01/01/70 00:00      

Back to Subject List