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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/13/07 02:49
Modified:
  01/13/07 03:22

Read: times


 
#130761 - Hair-raising...
Responding to: ???'s previous message
Purushottam said:
The 89C2051 datasheet says Iol is limited to 10mA per port.

This statement is entirely ridiculous! There's no such built-in current limitation. Just the opposite is true: YOU must guarantee, that this limit is not exceeded, for instance by the help of current limiting resistors!!


Purushottam said:
From TB62726 datasheet I found following Input specifications:
...
Max clock rise time = 5uS.
...
Hazman has pullup resistor of 1Kohm so risetime is
1x10^3 x 30 x 10^-12 = 30 x 10^-9 i.e. 30nS. where 30pf
is assumed of micro + TB pin capacitance.

Your calculation is questionable:

1. I cannot see, that the clock line sees a 1k pull-up. I can assume it, but I don't see it from the "schematic".

2. What you calculated is the time constant, not the rise time.

3. It's a well known and well proven fact, that a clock line must always be driven by a low ohmic source and by a signal providing steep edges. Rise time of clock signal of up to 5µsec MIGHT work, with a proper set-up, means a properly routed printed circuit board containing a solid ground plane AND by using a low ohmic clock signal driver. But in combination with an assumed bread board design and a true open drain driver like port0, this is the best way to make the project fail.

In opposite to port0, port1/2/3 have strong internal active pull-ups (making the output drivers appear as stiff push-pulls), being activated for two oscillator periods whenever the port lines have to toggle, and guaranteeing very steep edges. Port0, on the other hand, in this critical moment presents the relative high source impedance of external pull-up resistor, which is about 1000 / 50 = 20 times (!) higher than the strong internal active pull-up, making the rising edge of clock signal especially susceptible to capacitive cross coupling (charge injection via stray capacitance). The result can be the develop of a certain ringing superimposed to clock signal. This can mean, that multiple clock edges will arrive. This IS an important failure mode of CMOS circuits and was observed and described in the literature many many times! The 4k7 pull-up you propose will result in an even higher source impedance, which is about 100 times (!!!) higher than the strong internal active pull-up of port1/2/3 lines!

Read what Texas Instruments wrote about capacitive cross coupling of adjacent lines in combination with CMOS and you will see, that this is not only a theoretical weak point.

I repeat, what I originally stated: Port0 lines, which consist of true open drain outputs are not at all suited to drive clock lines of shift registers and similar, unless impractically low external pull-ups are used. Use instead a port1/2/3 line, because the briefly activated strong internal active pull-up guarantees fast and clean edges.


Kai

List of 62 messages in thread
TopicAuthorDate
how can i use port 0 as output            01/01/70 00:00      
   read            01/01/70 00:00      
      not quite understand            01/01/70 00:00      
         READ            01/01/70 00:00      
            i'm blur            01/01/70 00:00      
               it is a \'1\', but not a \'high\'            01/01/70 00:00      
         Port 0 is open drain            01/01/70 00:00      
            connection between u-c with pull up?            01/01/70 00:00      
               Basics            01/01/70 00:00      
                  typo            01/01/70 00:00      
                     Doh!            01/01/70 00:00      
               The answer is...            01/01/70 00:00      
                  Sinking and Sourcing            01/01/70 00:00      
                     Correct!            01/01/70 00:00      
                  sending data using port 0?            01/01/70 00:00      
                     Yes            01/01/70 00:00      
                        LED display driver            01/01/70 00:00      
                           Port1 is better than port0 for this            01/01/70 00:00      
                              is it right like this?            01/01/70 00:00      
                                 NO            01/01/70 00:00      
                                 Where is the TB62726 in your circuit??            01/01/70 00:00      
                                    stiil stuck with port0            01/01/70 00:00      
                                       help me plz            01/01/70 00:00      
                                          drop the cute stuff            01/01/70 00:00      
                                    connections right or not?            01/01/70 00:00      
                                       Hallelujah!!            01/01/70 00:00      
                                          I already did            01/01/70 00:00      
                                          sorry            01/01/70 00:00      
                                       No            01/01/70 00:00      
                                 Looks like a point of confusion            01/01/70 00:00      
                                    It is not Right            01/01/70 00:00      
                                    Looks like total confusion!            01/01/70 00:00      
                                       looks like?            01/01/70 00:00      
                                    confused..            01/01/70 00:00      
                                       That is Right            01/01/70 00:00      
                                       the schematic is fine, BUT            01/01/70 00:00      
                                       You have damaged the micro!!            01/01/70 00:00      
                                    my assumption right now            01/01/70 00:00      
                                       basics            01/01/70 00:00      
                                          Deja Vu            01/01/70 00:00      
                                          Wyh not?            01/01/70 00:00      
                                             the difference is            01/01/70 00:00      
                                       See my recent post.            01/01/70 00:00      
                                          why not ?            01/01/70 00:00      
                                          No, you're wrong ...            01/01/70 00:00      
   Don't remove your earlier schematics!!            01/01/70 00:00      
      RightO            01/01/70 00:00      
         a good way to burn the port pin (and the LED)            01/01/70 00:00      
            Sorry Datasheet is different for what I am saying            01/01/70 00:00      
               NO, nada, niente, never, nie, non,, aldrig            01/01/70 00:00      
               Hair-raising...            01/01/70 00:00      
               Completely Incorrect!            01/01/70 00:00      
                  In practice..            01/01/70 00:00      
                     Please read specs properly            01/01/70 00:00      
                        What has survived your "tests" must be correct?            01/01/70 00:00      
      diagram attached            01/01/70 00:00      
         Connections are not correct!            01/01/70 00:00      
   Modifications            01/01/70 00:00      
      PWM without using 8051-Timer            01/01/70 00:00      
         New Topic; New Thread            01/01/70 00:00      
         Yes, but...            01/01/70 00:00      
         the usual question            01/01/70 00:00      

Back to Subject List