Should Reset pin be tied high with resistor?
Don M
Posts: 1,652
I'm making a board that will have the familiar 4 pin header to plug in the Prop Plug (only for programming). Is it a good idea to tie the Reset pin high through a 10K resistor to try and avoid any inadvertent resets?
Comments
If you want to create a board for developement work, the reset it handy. You might provide it and also provide a second circuit to tie it high for situations where it seems to be triggered for mysterious reasons.
If you are building a board as a final project, you may just want to tie it high if the environment is noisy (like an automotive application) and if it is easy to do a 'hard reset' by powering down and then powering up again.
Parallax left it optional as there are reasons to do both.
++++++
At times, the Forum gets postings asserting that the Reset on the Propeller is no good. But the reality is that the situation is causing sudden resets, the Propeller is not the problem.
There are even chips made to control reset sensitivity in problem situations. But I don't think it is necessary to use them. If you don't have any reset problems, having the reset button is handy if your program locks up due to a code error. You can easily start over and see that the problem repeats itself at the same point in the program.
Yes it can be powered down/up for reset if necessary. No reset button provided or necessary.
The environment is not necessarily noisey and pins will be covered from human touch.
I'll make room for a resistor...
Was just wondering if anyone else uses one for the above reasons.
Thanks.
In general a 10K resister to +3.3V works well.
In addition I like a 10nF capacitor from the reset pin to +3.3V.
This allows one to still have the reset pin operational, not that you need to use it.
Duane J
An aside, the 5kΩ internal pullup is connected not directly to Vdd, but to the output of the internal brownout circuit, which is normally high. If the power supply voltage falls below brownout and BOE is tied low, the external reset pin pulls low (through 5kΩ). That will form a voltage divider with any external pullup resistor you have attached to rstn.
see post below. @kuroneko got me there... sorry.
Enjoy!
Mike
Marty
-Phil
autsch, kalt erwischt.
sorry - pulled LOW. to prevent running before the loading prop.
will correct above post
Enjoy!
Mike
Here is the thread where I ran some experiments to verify the brownout pullup/pulldown action. You had suggested potential logic circuits in post #23. I think circuit #3 there is closest to observed behavior.
Also this earlier thread.
Not having the reset go completely low is not really a problem if you happen to have a 10K pullup on the reset line for instance. It seems to have hysteresis and with a 3.3V rail the low threshold is 1.3V and it requires the voltage to go back up to 1.8V to come out of reset. So any capacitor across the reset should be taken into account along with the thresholds. As Phil mentioned a cap could be a potential problem in a brownout condition but in practical terms I can't really see it causing a problem.
EDIT: however it would not be wise to use a pullup of less than 10K it seems. I have yet to check the thresholds for when the supply rail is falling.
Long time ago, Chip suggested 1K and 10nF, both from the resN pin to VDD.
Might be an old idea, or still valid reference. Sadly cannot find the post at the moment - certainly in these forums though...
Reset problems are mostly caused by outside influences. Because automobiles have a rather limited amount of circuitry with heavy loads (inductive and lighting) being switched on and off at random times, it may be where most of us would encounter a reset problem.
But as I said before, it is all about context and if you don't need or want the reset button --- you don't have to include it. Then a variety of solutions can be accommodated in your printed circuit board if you are fearful that one might not work.
If you look inside a lot of electronics these days, you will see empty pads for alternative solutions. It is economical to build a board that has all the possible fixed, and then to populate it with whatever proves to be the least expensive reliable alternative.
Why not do the same?
Duane J
I put a short pulse at the top of the program, then the 1Hz oscillation starts.
Thanks for that Tracy, that makes more sense to run the reset internally and just output the status on the reset pin. So we can use a much smaller value resistor and a capacitor even without compromising the brown-out reset. The thresholds that I measured would still hold true but are only really useful when the supply is steady at 3.3V.