Reply by -jg December 22, 20092009-12-22
On Dec 23, 10:29=A0am, Ulf Samuelsson <u...@a-t-m-e-l.com> wrote:
> > The AVR sleeping BOD combined with the 1.0V power on reset > will allow you, in the PicoPower devices, to reach 0,6 uA > with system level BOD as well as 32 kHz oscillator running.
However, that's not Tiny4 :) Looking at the SiLabs devices, they claim 50nA for LowBat, but digging deeper shows that's just for a 1V level, and the Vcc monitor is 7uA. Separate Vcc Detectors, are under 1uA Problem with the vanilla 1V 'BOD' trip points, is they hit a black hole in the datasheet, as Clock operation is usually completely unspecified there. Try it on some real devices - can be educational... Still leaves the problem of who is watching your watchdog ? -jg
Reply by Ulf Samuelsson December 22, 20092009-12-22
Jon Kirwan skrev:
> On Fri, 18 Dec 2009 22:34:46 +0000, Mike Harrison > <mike@whitewing.co.uk> wrote: > >> On Thu, 17 Dec 2009 18:35:32 -0800, Jon Kirwan <jonk@infinitefactors.org> wrote: >> >>> On Fri, 18 Dec 2009 03:18:37 +0100, Stefan Arentz >>> <stefan@keizer.soze.com> wrote: >>> >>>> I'm trying to get my hands on the new 6-pin SOT-23 Tiny controllers >>>> that were recently announced. But I can't find them anywhere. This is >>>> for hobby use so I just want a small bunch of them. >>>> >>>> Has anyone been able to get them at all? I wonder if they have >>>> actually been released. >>> Yo, what!?!? SOT-23-6 8-bit micros?? Where? >> Microchip have had SOT23 MCUs for ages.... PIC10F > > Yeah. Not with brown out. :( > > Jon
Brown-Out detectors are really simple analog stuff. You have a trade-off between speed and current. A low current Brownout detector will be sloooow. A slow BOD will not trigger until after you have a chance to start overwriting your EEPROM. If you want something to react below 10 us,then you are going to see 10s of uA. The AVR sleeping BOD combined with the 1.0V power on reset will allow you, in the PicoPower devices, to reach 0,6 uA with system level BOD as well as 32 kHz oscillator running. -- Best Regards Ulf Samuelsson These are my own personal opinions, which may or may not be shared by my employer Atmel Nordic AB
Reply by Ulf Samuelsson December 22, 20092009-12-22
-jg skrev:
> On Dec 19, 11:00 pm, Jon Kirwan <j...@infinitefactors.org> wrote: >> I'm looking at 8127C-AVR-10/09 and on page 28 I find that there is >> "vcc monitoring" and a VLM circuit. But for gosh sake that darned >> thing sucks power -- page 146, curve on the page's bottom. Cripes. > > No such thing as a free lunch ;) > > Such brownout monitoring is widely varying in uC, and some fudge > things by sleeping the Monitor on a sub-uA timer. > > One caveat to those contemplating using a Micro as a Watchdog : WHO > is watching your watchdog ? > -jg >
When you are in sleep , you do not neccessarily have to have the Brown-Out detector turned on all the time. The Brownout detector is mainly there to block the CPU from executing those instructions that will mess up the chip, like write to EEPROM or Flash. The behaviour of the part during brownout is depending on current draw, If you are in sleep, very little current is going through the device. I am told that the AVR, in sleep mode, will have a RAM retention/ D-Flip-Flop retention voltage of around 0.4V. The Power On Reset of the AVR will trigger around 1.0V so you *have* something watching your watchdog. -- Best Regards Ulf Samuelsson These are my own personal opinions, which may or may not be shared by my employer Atmel Nordic AB
Reply by Leon December 21, 20092009-12-21
On 21 Dec, 20:32, Jon Kirwan <j...@infinitefactors.org> wrote:
> On Mon, 21 Dec 2009 11:18:46 -0800 (PST), Leon > > > > <leon...@btinternet.com> wrote: > >On 20 Dec, 23:40, Jon Kirwan <j...@infinitefactors.org> wrote: > >> On Sun, 20 Dec 2009 11:19:39 -0800 (PST), Leon > > >> <leon...@btinternet.com> wrote: > >> >On 19 Dec, 21:48, Jon Kirwan <j...@infinitefactors.org> wrote: > >> >> On Sat, 19 Dec 2009 13:31:43 -0800 (PST), -jg > > >> >> <jim.granvi...@gmail.com> wrote: > >> >> >On Dec 19, 11:00=A0pm, Jon Kirwan <j...@infinitefactors.org> wrote=
:
> > >> >> >> I'm looking at 8127C-AVR-10/09 and on page 28 I find that there =
is
> >> >> >> "vcc monitoring" and a VLM circuit. =A0But for gosh sake that da=
rned
> >> >> >> thing sucks power -- page 146, curve on the page's bottom. =A0Cr=
ipes.
> > >> >> > No such thing as a free lunch ;) > > >> >> Especially true with this part. =A0I don't recall _ever_ seeing tha=
t
> >> >> high of current requirement (at voltages I can compare across.) =A0=
I
> >> >> think the PIC12's BOR is half that, or less. > > >> >> > Such brownout monitoring is widely varying in uC, and some fudge > >> >> >things by sleeping the Monitor on a sub-uA timer. > > >> >> Would that be Microchip's XLP variety? =A0(I haven't looked, but I > >> >> remember reading way-too-good-to-be-true figures for the required > >> >> current -- in tens of nanoamp range.) > > >> >They can achieve 20 nA, but the chip isn't actually much use for many > >> >applications in that mode. > > >> At what current level do they become useful? > > >> Jon > > >They retain the RAM contents at 25 nA, typically, which is some use. > >RAM contents are lost at 20 nA. > > >They take 500 nA with the RTC and calendar operational. > > And that's with the BOR operating, I gather. =A0More than acceptable. > > Now if I can get that in SOT23-6. > > Jon
I've got some of the 16-bit XLP chips, but haven't tried them yet. Leon
Reply by Jon Kirwan December 21, 20092009-12-21
On Mon, 21 Dec 2009 11:18:46 -0800 (PST), Leon
<leon355@btinternet.com> wrote:

>On 20 Dec, 23:40, Jon Kirwan <j...@infinitefactors.org> wrote: >> On Sun, 20 Dec 2009 11:19:39 -0800 (PST), Leon >> >> >> >> <leon...@btinternet.com> wrote: >> >On 19 Dec, 21:48, Jon Kirwan <j...@infinitefactors.org> wrote: >> >> On Sat, 19 Dec 2009 13:31:43 -0800 (PST), -jg >> >> >> <jim.granvi...@gmail.com> wrote: >> >> >On Dec 19, 11:00&#4294967295;pm, Jon Kirwan <j...@infinitefactors.org> wrote: >> >> >> >> I'm looking at 8127C-AVR-10/09 and on page 28 I find that there is >> >> >> "vcc monitoring" and a VLM circuit. &#4294967295;But for gosh sake that darned >> >> >> thing sucks power -- page 146, curve on the page's bottom. &#4294967295;Cripes. >> >> >> > No such thing as a free lunch ;) >> >> >> Especially true with this part. &#4294967295;I don't recall _ever_ seeing that >> >> high of current requirement (at voltages I can compare across.) &#4294967295;I >> >> think the PIC12's BOR is half that, or less. >> >> >> > Such brownout monitoring is widely varying in uC, and some fudge >> >> >things by sleeping the Monitor on a sub-uA timer. >> >> >> Would that be Microchip's XLP variety? &#4294967295;(I haven't looked, but I >> >> remember reading way-too-good-to-be-true figures for the required >> >> current -- in tens of nanoamp range.) >> >> >They can achieve 20 nA, but the chip isn't actually much use for many >> >applications in that mode. >> >> At what current level do they become useful? >> >> Jon > >They retain the RAM contents at 25 nA, typically, which is some use. >RAM contents are lost at 20 nA. > >They take 500 nA with the RTC and calendar operational.
And that's with the BOR operating, I gather. More than acceptable. Now if I can get that in SOT23-6. Jon
Reply by Leon December 21, 20092009-12-21
On 20 Dec, 23:40, Jon Kirwan <j...@infinitefactors.org> wrote:
> On Sun, 20 Dec 2009 11:19:39 -0800 (PST), Leon > > > > <leon...@btinternet.com> wrote: > >On 19 Dec, 21:48, Jon Kirwan <j...@infinitefactors.org> wrote: > >> On Sat, 19 Dec 2009 13:31:43 -0800 (PST), -jg > > >> <jim.granvi...@gmail.com> wrote: > >> >On Dec 19, 11:00=A0pm, Jon Kirwan <j...@infinitefactors.org> wrote: > > >> >> I'm looking at 8127C-AVR-10/09 and on page 28 I find that there is > >> >> "vcc monitoring" and a VLM circuit. =A0But for gosh sake that darne=
d
> >> >> thing sucks power -- page 146, curve on the page's bottom. =A0Cripe=
s.
> > >> > No such thing as a free lunch ;) > > >> Especially true with this part. =A0I don't recall _ever_ seeing that > >> high of current requirement (at voltages I can compare across.) =A0I > >> think the PIC12's BOR is half that, or less. > > >> > Such brownout monitoring is widely varying in uC, and some fudge > >> >things by sleeping the Monitor on a sub-uA timer. > > >> Would that be Microchip's XLP variety? =A0(I haven't looked, but I > >> remember reading way-too-good-to-be-true figures for the required > >> current -- in tens of nanoamp range.) > > >They can achieve 20 nA, but the chip isn't actually much use for many > >applications in that mode. > > At what current level do they become useful? > > Jon
They retain the RAM contents at 25 nA, typically, which is some use. RAM contents are lost at 20 nA. They take 500 nA with the RTC and calendar operational. Leon
Reply by Jon Kirwan December 20, 20092009-12-20
On Sun, 20 Dec 2009 11:19:39 -0800 (PST), Leon
<leon355@btinternet.com> wrote:

>On 19 Dec, 21:48, Jon Kirwan <j...@infinitefactors.org> wrote: >> On Sat, 19 Dec 2009 13:31:43 -0800 (PST), -jg >> >> <jim.granvi...@gmail.com> wrote: >> >On Dec 19, 11:00&#4294967295;pm, Jon Kirwan <j...@infinitefactors.org> wrote: >> >> >> I'm looking at 8127C-AVR-10/09 and on page 28 I find that there is >> >> "vcc monitoring" and a VLM circuit. &#4294967295;But for gosh sake that darned >> >> thing sucks power -- page 146, curve on the page's bottom. &#4294967295;Cripes. >> >> > No such thing as a free lunch ;) >> >> Especially true with this part. &#4294967295;I don't recall _ever_ seeing that >> high of current requirement (at voltages I can compare across.) &#4294967295;I >> think the PIC12's BOR is half that, or less. >> >> > Such brownout monitoring is widely varying in uC, and some fudge >> >things by sleeping the Monitor on a sub-uA timer. >> >> Would that be Microchip's XLP variety? &#4294967295;(I haven't looked, but I >> remember reading way-too-good-to-be-true figures for the required >> current -- in tens of nanoamp range.) > >They can achieve 20 nA, but the chip isn't actually much use for many >applications in that mode.
At what current level do they become useful? Jon
Reply by Leon December 20, 20092009-12-20
On 19 Dec, 21:48, Jon Kirwan <j...@infinitefactors.org> wrote:
> On Sat, 19 Dec 2009 13:31:43 -0800 (PST), -jg > > <jim.granvi...@gmail.com> wrote: > >On Dec 19, 11:00=A0pm, Jon Kirwan <j...@infinitefactors.org> wrote: > > >> I'm looking at 8127C-AVR-10/09 and on page 28 I find that there is > >> "vcc monitoring" and a VLM circuit. =A0But for gosh sake that darned > >> thing sucks power -- page 146, curve on the page's bottom. =A0Cripes. > > > No such thing as a free lunch ;) > > Especially true with this part. =A0I don't recall _ever_ seeing that > high of current requirement (at voltages I can compare across.) =A0I > think the PIC12's BOR is half that, or less. > > > Such brownout monitoring is widely varying in uC, and some fudge > >things by sleeping the Monitor on a sub-uA timer. > > Would that be Microchip's XLP variety? =A0(I haven't looked, but I > remember reading way-too-good-to-be-true figures for the required > current -- in tens of nanoamp range.)
They can achieve 20 nA, but the chip isn't actually much use for many applications in that mode. Leon
Reply by Jon Kirwan December 19, 20092009-12-19
On Sat, 19 Dec 2009 13:31:43 -0800 (PST), -jg
<jim.granville@gmail.com> wrote:

>On Dec 19, 11:00&#4294967295;pm, Jon Kirwan <j...@infinitefactors.org> wrote: >> >> I'm looking at 8127C-AVR-10/09 and on page 28 I find that there is >> "vcc monitoring" and a VLM circuit. &#4294967295;But for gosh sake that darned >> thing sucks power -- page 146, curve on the page's bottom. &#4294967295;Cripes. > > No such thing as a free lunch ;)
Especially true with this part. I don't recall _ever_ seeing that high of current requirement (at voltages I can compare across.) I think the PIC12's BOR is half that, or less.
> Such brownout monitoring is widely varying in uC, and some fudge >things by sleeping the Monitor on a sub-uA timer.
Would that be Microchip's XLP variety? (I haven't looked, but I remember reading way-too-good-to-be-true figures for the required current -- in tens of nanoamp range.)
> One caveat to those contemplating using a Micro as a Watchdog : WHO >is watching your watchdog ?
A lot of systems do little other than use the 'free' watchdog that comes with them. It's a little nicer to have something dedicated to the purpose on the outside of all that. And if you don't trust that or feel that cosmic rays might yield a false result, stack them four deep with one having one pin 'lifted' so it knows it is the monitoring one and use it to generate the voting result... maybe? ;) Jon
Reply by -jg December 19, 20092009-12-19
On Dec 19, 11:00=A0pm, Jon Kirwan <j...@infinitefactors.org> wrote:
> > I'm looking at 8127C-AVR-10/09 and on page 28 I find that there is > "vcc monitoring" and a VLM circuit. =A0But for gosh sake that darned > thing sucks power -- page 146, curve on the page's bottom. =A0Cripes.
No such thing as a free lunch ;) Such brownout monitoring is widely varying in uC, and some fudge things by sleeping the Monitor on a sub-uA timer. One caveat to those contemplating using a Micro as a Watchdog : WHO is watching your watchdog ? -jg