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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/06/12 07:19
Read: times


 
#188970 - That's what disturbs me greatly
Responding to: ???'s previous message
With positive-going reset signals, especially with signals pegged to a concurrently changing positive supply, to which it's referenced, there will never be a precisely defined point at which everything will work. There can be a point at which it probably works, but never better than that.

Further, even with the help of a supervisor, all bets are off during the generally quite long decay of the positive supply once primary power is turned off. With CMOS circuitry that doesn't require much power, the on-board capacitance can hold the supply value in limbo for several seconds, and even for several minutes (remember the bit about that clock/calendar board that was misrouted in the mail for two weeks, yet still kept good time?) or longer. This condition occurs at a time when the on-chip charge pump for FLASH write and erase functions are in full operation.

If the MCU continues to operate external signals, which it should NOT when RESET is asserted, then the internal signals certainly also are able to do that. I'm persuaded that the power-down portion of the power cycle is the most likely to cause trouble, precisely because the positive supply, against which the RESET is compared, and on which both the oscillator and the brownout sensors rely, is wandering around. That's why I'm thinking it would be desirable to pull Vdd down to 0.5 volts or less within less than one machine cycle of determining that power has been shut off.

What I don't know is how, exactly, to make this (Vdd, RESET, oscillator) all work properly without requiring too complex a circuit. The same conditions, i.e. changing Vdd while trying to generate a reasonable RESET and getting the oscillator to start during the power-ON cycle does, in light of what Kai has said, give me some pause. The supervisor seems capable of managing the power-ON portion of the power cycle quite adequately, but I'm concerned about what it can do to help with the power-down portion, which, to my mind, is more likely to allow for some damage to "nonvolatile" memory, whether FLASH or BBRAM, internal or external. Once the MCU is doing things we don't want, it's likely to be doing damage. If we don't see to it that it can't, we're in trouble.

I've considered stopping the oscillator, which could easily be done with a gate or a transistor. Starting it back up is another thing, though.

That's why I was thinking a MOSFET half-bridge might be the way to pull down the positive supply quickly enough to avoid any run-on, and that same half-bridge could turn on the positive supply with enough energy to kick-start the oscillator. I am, however, concerned about the fact that pulling the Vdd pin down below the on-chip Vdd might do irreparable harm to the MCU. That's why I've been concerned about the lack of specifications on the behavior of Vdd.

The obvious thing to do is to give it a try, break a few MCU's, perhaps, and then try to draw some conclusions with long repetitive cycles under control of a test environment. Manufacturers have been unwilling to do this and publish the results because it really doesn't help them. They bought the core license and don't want to take responsibility for an already-established product. Perhaps that also explains the longevity of that 10 uF Cap and 8k2 resistor as a RESET generator that we see in many datasheets and app-notes.

RE




List of 33 messages in thread
TopicAuthorDate
C8051F231 experiences            01/01/70 00:00      
   another solution            01/01/70 00:00      
   The probabilities are low...            01/01/70 00:00      
      think about what happens when you add a finger            01/01/70 00:00      
         The point is ...            01/01/70 00:00      
            Yes ... the underlying issue is the flash ...             01/01/70 00:00      
               Out of my office, but...            01/01/70 00:00      
                  Don't think in Vcc, ESD or hum...            01/01/70 00:00      
   Apparently several C8051F2xx parts have the same pinout            01/01/70 00:00      
   Characteristic for in system programmable flash micros...            01/01/70 00:00      
      All too true ... sadly ...             01/01/70 00:00      
         Power-on slope rate...            01/01/70 00:00      
            Sorry, my post should be here, no up there...            01/01/70 00:00      
            Have you any basis for that rate?            01/01/70 00:00      
               Vdd ramp time            01/01/70 00:00      
               Some datasheets show numbers...            01/01/70 00:00      
                  Those aren't the "usual" 805x-core MCU's            01/01/70 00:00      
                     There aren't many "usual" 8051-cores anymore...            01/01/70 00:00      
                        How dangerous power ups can be...            01/01/70 00:00      
                           I believe it            01/01/70 00:00      
                              (dV/dt) examples            01/01/70 00:00      
                                 They don't know it either...            01/01/70 00:00      
                                    dV/dT etc             01/01/70 00:00      
                                       reset request...            01/01/70 00:00      
                                          That's what disturbs me greatly            01/01/70 00:00      
                                             It IS disturbing!            01/01/70 00:00      
                                                Where this began ... at least for me ...             01/01/70 00:00      
                                                   So, you took the hard road...            01/01/70 00:00      
                                                      We've all had that experience             01/01/70 00:00      
   probable cause            01/01/70 00:00      
      Brent, this is very nice            01/01/70 00:00      
         forum no longer down            01/01/70 00:00      
      Thank you!            01/01/70 00:00      

Back to Subject List