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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/21/12 11:16
Modified:
  02/21/12 11:26

Read: times


 
#186094 - It's a feature, actually.
Responding to: ???'s previous message
Oliver Sedlacek said:
The killer bug that you seem to have uncovered is that you need to power cycle your chip rather than just giving it a reset.


Actually, it's a feature (and well documented in the datasheet).

It makes sense if you need a highly accurate slow clock (*) and cannot accept that the chip runs off the internal RC oscillator (which has generous tolerances) for even a few clock cycles, even when it's being reset. Flip the bit once, and the chip will stay on the external clock until you turn off power (**).

The problem only occurs if you don't need the external slow clock and expect the chip to stay on its internal RC oscillator.

(*) The chips real-time timer runs off the slow clock too, and the internal "32 kHz" RC oscillator is actually specified to 20...44 kHz. Not good at all if you expect the chip to count second accurately.

(**) However, I wonder if ESD or similar could then flip the bit that switches between external crystal oscillator and external clock signal - both would be connected to the same pins, and having a clock signal while the chip expects a crystal oscillator would probably mess up the slow clock, too.

List of 44 messages in thread
TopicAuthorDate
Pointless watchdog?            01/01/70 00:00      
   Sounds Like From What You Said...            01/01/70 00:00      
      Didn't want to point fingers.            01/01/70 00:00      
         A?            01/01/70 00:00      
            Don't forget AVR            01/01/70 00:00      
               One more argument ...            01/01/70 00:00      
                  Independently testable            01/01/70 00:00      
                     Slow but critical.            01/01/70 00:00      
                        Yes            01/01/70 00:00      
                           ESD            01/01/70 00:00      
                               You can't            01/01/70 00:00      
                                 You can...            01/01/70 00:00      
                                    But emi-filter, overvoltage protection etc may not be enough            01/01/70 00:00      
                                       ESD ...            01/01/70 00:00      
                                          It's not just ESD, it's "the works"            01/01/70 00:00      
                                             I do not trust the watchdog...            01/01/70 00:00      
                                                The simpler, the more trustworthy.            01/01/70 00:00      
                                                   Less complex does not mean less probable to fail!            01/01/70 00:00      
                                                   WDT and debug breadcrumbs            01/01/70 00:00      
                                                Lightning strikes            01/01/70 00:00      
                                                   A watchdog should never be needed - but should be there            01/01/70 00:00      
                                                   A watchdog isn't a fuse...            01/01/70 00:00      
                                                      correction            01/01/70 00:00      
                                                      I just can not agree with that reasoning            01/01/70 00:00      
                                                         Oh please, don't...            01/01/70 00:00      
                                                            so?            01/01/70 00:00      
                                                Why you need a watchdog            01/01/70 00:00      
                                                   And even if you had perfect software and hardware ...            01/01/70 00:00      
                                                      Reset versus power cycle            01/01/70 00:00      
                                                         Mars Pathfinder            01/01/70 00:00      
                                                         many modern chips            01/01/70 00:00      
                                                            The problem with bidirectional reset pins.            01/01/70 00:00      
                                                               The uC in question            01/01/70 00:00      
                                                            Latchup            01/01/70 00:00      
                                                               ONLY clocked circuits?            01/01/70 00:00      
                                                                  That kitchen exhaust fan ...            01/01/70 00:00      
                                                            link...            01/01/70 00:00      
                                                               Sales talk            01/01/70 00:00      
                                                   certified applications            01/01/70 00:00      
                  Using external watchdog            01/01/70 00:00      
                     It's a feature, actually.            01/01/70 00:00      
               Wet            01/01/70 00:00      
   Featuritis...            01/01/70 00:00      
   Looking at it from another perspective            01/01/70 00:00      

Back to Subject List