Power Lockup Problem with the SX18
tdodds
Posts: 12
I have recently gotten several SX18s to use in some industrial control applications. The first project I have working is a PWM motor controller. It works just fine, except that I occasionally have been having problems with software lockups during testing. With further investigation, I have found that if the power supply voltage is lowered from normal operaton to between 1.4 and 1 volt and then raised again, the processor will lock up every time. If the voltage is lowered to zero and then back up, the processor resumes operation. This will cause a problem on a power glitch if the duration is just the right width to discharge the power supply capacitor to 1.4 volts but not to zero (I have verified this on four different SX18 chips). This doesn't happen on the SX28, and I don't have any SX20s on-hand to try. It behaves this way on my software or on just a four line LED-blink program.
Has anybody seen this problem before, or know of a simple (cheap) circuit that will knock the voltage to the processor to zero if the voltage drops below 4 volts or so (a workaround)???
Has anybody seen this problem before, or know of a simple (cheap) circuit that will knock the voltage to the processor to zero if the voltage drops below 4 volts or so (a workaround)???
Comments
It's one of the DEVICE parameters.
BOR42 for 5 volts.
BOR26 for 3.3 volts
BOR22 for 2.7 volts.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
Product web site: www.sxvm.com
Available now... SX-Video OSD module $59.95 www.sxvm.com
"Save your money. Pay with cash."
Post Edited (Bean (Hitt Consulting)) : 10/19/2005 9:55:20 PM GMT
One thing though, I had to specify the brownout parameter in a separate DEVICE statement. At first, I just added that parameter to the existing DEVICE statement but it appeared to have no effect.
Anyway, whatever works. Thanks again for putting my project back on track so quickly.