At 05:44 PM 4/29/2012, Spehro Pefhany wrote:
>Internal brownout can't be guaranteed to not reset the part below 2.11V
>on the LF32x. (between 1.80 and 2.11V with nominal at 1.90V.
Thanks for that clarification. OK - that means that I can't use brown-out reset at all. However, I *thought* that I had the config word set up to disable the BOR module.
{Quote hidden}>If you have "noise" on the power supply, for example, from operating
>an intermittent load such as a beeper, motor, solenoid, pulsed LED
>or some such load,
>then if that noise causes the power supply voltage to drop below
>1.90 V (nominally)
>for more than a microsecond or thereabouts, then the chip will go
>into reset and not
>begin to operate again until 1.925 to 1.95V, the way I read the data
>sheet. Worst-case it might not come out of BOR until 2.16V. Maybe
>it goes back into reset then if the load starts again.
>
>Does that sound like a possibility? Have you put a decent (>=50MHz bandwidth)
>scope on the power supply rails _right_ at the MCU GND/VDD pins?
Yeah - I had a 200MHz DSO right at the power pins. That helped me fix one problem I was having (my bench supply going into current limit for a couple of microseconds when the PIC went to turn on one of those monstrously-high inrush-current LM2623 DC-DC converters I talked about a few weeks ago). I fixed that by momentarily connecting some nice, stiff NiMh cells in parallel with the power supply during the DC-DC converter startup.
For tracking down this problem, I simply disconnected the enable lines to the DC-DC converters (they have pull-up and pull-down resistors so as to float safely) but was still observing this problem. There was no other load on the power supply except for the PIC chip itself, which wasn't driving any outputs.
I mentioned that I had previously tried adding "_LPBOR_OFF" to the config word without having any effect other than increasing current while the PIC was supposedly in sleep. Unfortunately, I could find no description of what the LPBOR module was or how it was supposed to work in the datasheet, so I removed "_LPBOR_OFF" from the config word. What I don't remember is whether that was when I was using the beta version of the AC244045 Debug Adapter or whether it was with the chip all by itself.
Anyway, I opened a support ticket with Microchip. The first suggestion they gave was to add that "_LPBOR_OFF" bit back into the config word.
This time, it appeared to fix my problem. I'm working with the PIC all by itself at this point and indeed: dropping the supply voltage down to below 2.0V resulted in the chip NOT going into reset - the output pins remained as low-impedance. I didn't go much below 2.0V since I don't expect to be working at that low of a supply voltage.
So: I look to be OK at this point. I did have problems with the beta version of the debug adapter not working at less than about 2.5Vdc but I'm attributing that to the beta nature of the adapter. I see that production versions of the adapter are now available, so I'll order some of those for future work with the 10F32x family. But the LF322 does indeed work down to less than 2.0Vdc.
I appreciate the suggestions that were made.
Many thanks!
dwayne
-- Dwayne Reid <dwayner
KILLspamplanet.eon.net>
Trinity Electronics Systems Ltd Edmonton, AB, CANADA
(780) 489-3199 voice (780) 487-6397 fax
http://www.trinity-electronics.com
Custom Electronics Design and Manufacturing